JPH0331960A - System for detecting command sequence abnormality - Google Patents

System for detecting command sequence abnormality

Info

Publication number
JPH0331960A
JPH0331960A JP1167856A JP16785689A JPH0331960A JP H0331960 A JPH0331960 A JP H0331960A JP 1167856 A JP1167856 A JP 1167856A JP 16785689 A JP16785689 A JP 16785689A JP H0331960 A JPH0331960 A JP H0331960A
Authority
JP
Japan
Prior art keywords
command
sequence
group identification
identification code
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1167856A
Other languages
Japanese (ja)
Inventor
Tomoyoshi Fukushima
福島 知善
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1167856A priority Critical patent/JPH0331960A/en
Publication of JPH0331960A publication Critical patent/JPH0331960A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To speedily inform an operator that the input sequence of a command is different by checking the input sequence of a series of commands to combine plural commands from an operator console. CONSTITUTION:A command group identification code and the input sequence of the individual command of the command group, namely, the command sequence are inputted and stored in a command sequence storage means 3 beforehand. When the command group having one of command group identification codes is inputted from an operator console 1, the command sequence corresponding to the received command group identification code is outputted to a command sequence comparing means 7, and it is compared with the command to be temporarily stored in a command temporary storage means 6. In the case of the non-coincidence, the fact that the input command sequence is wrong is reported from a processing part 8 to the operator console 1. Thus, when the input sequence of a series of commands is different from the sequence to be specified beforehand, the operator can be speedily informed of it.

Description

【発明の詳細な説明】 〔1既  要〕 オペレータ・コンソールより処理装置に入力する一i1
のコマンドの入力111i序の誤りを検出するコマンド
・シーケンス異常検出方式に関し、オペレータ・コンソ
ールよりの一連のコマンドの入力順序が予め定められた
シーケンスと異なる場合に速やかにオペレータに知らせ
るコマンド・シーケンス異常検出方式を提供することを
目的とし、 オペレータ・コンソールと1亥オペレータ・コンソール
との間で情報を送受信して処理を行なう処理装置からな
る処理システムにおいて、処理装置内に、オペレータ・
コンソールから入力される一連のコマンド群ごとに予め
コマンド群識別符号を付与し、コマンド群識別符号別に
コマンド・シーケンスを記憶しておくコマンド・シーケ
ンス記憶手段と、オペレータ・コンソールから前記コマ
ンド群識別符号が付加された入力情報を受信したとき、
該入力情報よりコマンド群識別符号とコマンドを検出し
て出力するコマンド検出手段と、該コマンド検出手段よ
り出力されるコマンド群識別符号を一時記憶してコマン
ド・シーケンス記憶手段に出力するコマンド群識別符号
一時記憶手段と、前記コマンド検出手段より出力される
コマンドを入力順に一時記憶するコマンド一時記憶手段
と、前記コマンド一時記憶手段にコマンドが入力される
都度、該コマンド一時記憶手段より一時記憶されている
コマンドのシーケンスを入力するとともに前記コマンド
・シーケンス記憶手段よす該コマンド・シーケンス記憶
手段がコマンド群識別符号一時記憶手段より受信したコ
マンド群識別符号に対応するコマンド・シーケンスを受
信して比較し、比較結果を処理部に出力するコマンド・
シーケンス比較手段と、該コマンド・シーケンス比較手
段よりコマンド・シーケンス比較結果を受信し、比較結
果が一致しない場合に異常検出情報をオペレータ・コン
ソールに送出する処理部を備えるように構成する。
[Detailed Description of the Invention] [1 Required] Input to the processing device from the operator console -i1
Regarding the command sequence abnormality detection method that detects errors in the input order of commands, the command sequence abnormality detection method immediately informs the operator when the input order of a series of commands from the operator console differs from a predetermined sequence. In a processing system consisting of a processing device that performs processing by transmitting and receiving information between an operator console and an operator console, an operator
a command sequence storage means for assigning a command group identification code in advance to each series of command groups inputted from the console and storing the command sequence for each command group identification code; When the added input information is received,
a command detection means for detecting and outputting a command group identification code and a command from the input information; and a command group identification code for temporarily storing the command group identification code output from the command detection means and outputting it to the command sequence storage means. a temporary storage means; a temporary command storage means for temporarily storing commands output from the command detection means in the order of input; each time a command is input to the temporary command storage means, the command is temporarily stored from the temporary storage means; A sequence of commands is input, and the command sequence storage means receives and compares a command sequence corresponding to the command group identification code received from the command group identification code temporary storage means. Command to output the result to the processing section
The apparatus is configured to include a sequence comparison means and a processing section that receives a command sequence comparison result from the command sequence comparison means and sends abnormality detection information to an operator console if the comparison results do not match.

〔産業上の利用分野〕[Industrial application field]

本発明は、オペレータ・コンソールより処理装置に入力
する一連のコマンドの入力順序の誤りを検出するコマン
ド・シーケンス異常検出方式に関する。
The present invention relates to a command sequence abnormality detection method for detecting errors in the input order of a series of commands input to a processing device from an operator console.

従来、処理装置と接続して該処理装置の内部情報の設定
或いは読取りを行なうオペレータ・コンソールは、比較
的単純な機能のものが主体となっていた。かかるオペレ
ータ・コンソールにおいては、処理すべき内容に応じて
コマンドを処理装置に個別に入力する方法が用いられて
おり、例えば、レジスタの読取りを行なう場合には、オ
ペレータ・コンソールより処理装置に特定のレジスタの
読取コマンドを入力することにより、処理装置内の該当
レジスタの内容が読取られてオペレータ・コンソールに
送られていた。
Conventionally, operator consoles that are connected to a processing device to set or read internal information of the processing device have mainly had relatively simple functions. Such operator consoles use a method of individually inputting commands to the processing device depending on the content to be processed. For example, when reading a register, the operator console inputs a specific command to the processing device. By inputting a read register command, the contents of the corresponding register in the processing unit were read and sent to the operator console.

ところが、近来になって、オペレータ・コンソールの高
機能化が進み、オペレータ・コンソールより複数のコマ
ンドを組合せて処理装置に入力し、得られた情報をオペ
レータ・コンソール側で編集し直す、というような処理
が行なわれるようになってきた。
However, in recent years, operator consoles have become more sophisticated, and it is now possible to combine multiple commands from the operator console, input them to the processing device, and then edit the obtained information again on the operator console side. Processing has begun.

しかし、上記の如く複数のコマンドを入力した場合にお
いても、従来の方式では、異常検出を複数のコマンドを
総合して行なわず、個々のコマンド対してのみ行なうよ
うになっているため、コマンドの入力順序、即ち、コマ
ンド・シーケンスに誤りがあっても誤りの検出が行なわ
れなかったり、処理が進んだのちに誤りが発見されるこ
とがあった。
However, even when multiple commands are input as described above, conventional methods do not perform abnormality detection on multiple commands comprehensively, but only on individual commands. Even if there is an error in the order, that is, the command sequence, the error may not be detected or may be discovered after processing has proceeded.

このため、コマンド・シーケンスに誤りがあった場合に
速やかに異常検出を行ない、オペレータ・コンソールに
誤りを知らせるコマンド・シーケンス異常検出方式が必
要となっている。
Therefore, there is a need for a command sequence abnormality detection method that promptly detects the abnormality when there is an error in the command sequence and notifies the operator console of the error.

〔従来の技術〕[Conventional technology]

第4図は従来方式の構成図、第5図は従来方式のシーケ
ンスの一例である。
FIG. 4 is a block diagram of the conventional system, and FIG. 5 is an example of a sequence of the conventional system.

第4図において、オペレータ・コンソール21より処理
装置内部従来方式の設定あるいは読取りを行なう場合、
該オペレータ・コンソールは処理すべき内容に応じたコ
マンドを処理装置22に個別に入力する。例えば、特定
のレジスタの読取りを行なう場合、オペレータ・コンソ
ール21より処理装置22にレジスタ番号の指定を含む
読取コマンドを入カスる。該コマンドはオペレータ・コ
ンソール21の転送制御部22より処理装置23の転送
制御部24に送られてデータ・ビットの直並列変換など
が行なわれたのち、処理部25に転送される。処理部2
5においては入力されたコマンドを解読し、レジスタの
読取りであれば、指定された番号のレジスタ(図示省略
)の内容を読取って前記転送制御部24に送り、該転送
制御部24においてデータ・ビットの直並列変換、デー
タ伝送制御などを行なってオペレータ・コンソール21
の転送制御部22にデータを送る。
In FIG. 4, when setting or reading the conventional method inside the processing device from the operator console 21,
The operator console individually inputs commands to the processing device 22 according to the content to be processed. For example, when reading a specific register, the operator console 21 inputs a read command to the processing device 22 that includes designation of the register number. The command is sent from the transfer control section 22 of the operator console 21 to the transfer control section 24 of the processing device 23, where the data bits are subjected to serial/parallel conversion, etc., and then transferred to the processing section 25. Processing section 2
In step 5, the input command is decoded, and if it is a register read, the contents of the register with the designated number (not shown) are read and sent to the transfer control unit 24, where the data bits are read. Operator console 21 performs serial/parallel conversion, data transmission control, etc.
The data is sent to the transfer control unit 22 of.

第5図は上記の如きレジスタ読取り処理を複数のレジス
タについて行なう場合のオペレータ・コンソール21と
処理装置23の間のコマンド及びデータの送受信シーケ
ンスを示す。第5図に示す如く、各レジスタの読取り処
理はそれぞれ独立して行なわれており、例えばオペレー
タ・コンソール21側において受信したデータを処理す
る上でレジスタの読取り順序に一定の順序づけを行なう
必要があった場合に、読取り順序を誤って入力しても、
処理装置23側ではコマンドごとに独立に処理しており
、コマンド相互間の関係は監視していないため、コマン
ドの入力順序の誤りは検出されない。
FIG. 5 shows the transmission and reception sequence of commands and data between the operator console 21 and the processing device 23 when register reading processing as described above is performed for a plurality of registers. As shown in FIG. 5, reading processing for each register is performed independently, and for example, when processing data received on the operator console 21 side, it is necessary to read the registers in a certain order. If you enter the reading order incorrectly,
On the processing device 23 side, each command is processed independently and the relationship between commands is not monitored, so errors in the input order of commands are not detected.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

以上の如く、従来の方式においては、一連のコマンドを
処理する場合に、コマンド・シーケンスの誤りを検出す
る手段がなく、処理結果に誤りを生じたり、処理が進ん
でから誤りが発見される場合があった。
As described above, in conventional methods, when processing a series of commands, there is no means to detect errors in the command sequence, which may result in errors in the processing results or errors that are discovered after processing has proceeded. was there.

本発明は、オペレータ・コンソールよりのコマンドの入
力順序が予め定められたシーケンスと異なる場合に速や
かにオペレータに知らせるコマンド・シーケンス異常検
出方式を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a command sequence abnormality detection method that promptly notifies an operator when the input order of commands from an operator console differs from a predetermined sequence.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

1は処理装置内部情報の設定や読取りを行なうためのコ
マンドやデータを入出力するオペレータ・コンソール、
2はオペレータ・コンソール1などよりのコマンド入力
により図示省略された記憶装置、入出力装置などを制御
して処理を行なう処理装置、3〜8は該処理装置2内に
設けられる各種手段で下記の如きものである。
1 is an operator console that inputs and outputs commands and data for setting and reading internal information of the processing device;
Reference numeral 2 denotes a processing device that performs processing by controlling storage devices, input/output devices, etc. (not shown) by inputting commands from the operator console 1, etc.; 3 to 8 are various means provided within the processing device 2; It's like that.

3はオペレータ・コンソール1より連続して入力される
一連のコマンド群ごとに予めコマンド群識別符号を付与
し、コマンド群識別符号別にコマンド・シーケンスを予
め記憶しておくコマンド・シーケンス記憶手段、 4はオペレータ・コンソールカラ前記コマンド群識別符
号が付加された入力情報を受信したとき、該入力情報よ
りコマンド群識別符号とコマンドを検出して出力するコ
マンド検出手段、 5は該コマンド検出手段4より出力されるコマンド群識
別符号を一時記憶して前記コマンド・シーケンス記憶手
段3に出力するコマンド群識別符号一時記憶手段、 6は前記コマンド検出手段4より出力されるコマンドを
入力順に一時記憶するコマンド一時記憶手段、 7は前記コマンド一時記憶手段6にコマンドが入力され
る都度、該コマンド一時記憶手段6より一時記憶されて
いるコマンドのシーケンスを入力し、かつ前記コマンド
・シーケンス記憶手段3より該コマンド・シーケンス記
憶手段3が前記コマンド群識別符号一時記憶手段5より
受信したコマンド群識別符号に対応するコマンド・シー
ケンスを受信して比較し、比較結果を後記処理部に出力
するコマンド・シーケンス比較手段、 8は該コマンド・シーケンス比較手段7よりコマンド・
シーケンス比較結果を受信し、比較結果が一致しない場
合に異常検出情報をオペレータ・コンソールに送出する
処理部である。
3 is a command sequence storage means that assigns a command group identification code in advance to each series of command groups that are continuously input from the operator console 1, and stores the command sequence in advance for each command group identification code; When input information to which the command group identification code is added is received, a command detection means detects and outputs the command group identification code and command from the input information; 6 is a command group identification code temporary storage means for temporarily storing command group identification codes to be outputted to the command sequence storage means 3; 6 is a command temporary storage means for temporarily storing commands output from the command detection means 4 in the order of input; , 7 inputs the temporarily stored command sequence from the command temporary storage means 6 each time a command is input to the command temporary storage means 6, and inputs the command sequence stored from the command sequence storage means 3. 8 is a command sequence comparing means for receiving and comparing the command sequences corresponding to the command group identification codes received from the command group identification code temporary storage means 5 and outputting the comparison results to the processing section described later; From the command sequence comparison means 7, the command
This is a processing unit that receives sequence comparison results and sends abnormality detection information to the operator console if the comparison results do not match.

〔作 用〕[For production]

m1図において、オペレータ・コンソール11より連続
して入力されることが多い一連のコマンド群に対し、コ
マンド群ごとに予めコマンド群識別符号を付与しておく
。例えば全レジスタの内容読取りの如く、第1のレジス
タ読取り処理、第2のレジスタ読取り処理、・・・など
複数のコマンドの組合せからなる一連の処理を一つのコ
マンド群としてコマンド群識別符号を付与しておく。か
かるコマンド群識別符号をもつコマンド群のコマンド群
識別符号と該コマンド群の個々のコマンドの入力順序、
即ち、コマンド・シーケンスを予め図示省略された入力
機器よりコマンド・シーケンス記憶手段3に入力して記
憶(登録)しておく。なお、コマンド・シーケンス記憶
手段3に記憶されているコマンド・シーケンスは定めら
れた手続きにより変更することが可能である。
In FIG. m1, a command group identification code is assigned in advance to a series of command groups that are often input successively from the operator console 11 for each command group. For example, a series of processes consisting of a combination of multiple commands, such as reading the contents of all registers, such as a first register read process, a second register read process, etc., is treated as one command group and a command group identification code is assigned. I'll keep it. the command group identification code of a command group having such a command group identification code and the input order of the individual commands of the command group;
That is, a command sequence is input in advance into the command sequence storage means 3 from an input device (not shown) and stored (registered). Note that the command sequence stored in the command sequence storage means 3 can be changed according to a prescribed procedure.

オペレータ・コンソール1より上記コマンド群識別符号
の一つをもつコマンド群が入力される場合、先ずコマン
ド群識別符号が入力され、次いでコマンド・シーケンス
の第1順位のコマンドから逐次コマンドが入力される。
When a command group having one of the above-mentioned command group identification codes is input from the operator console 1, the command group identification code is inputted first, and then the commands are inputted sequentially from the first command in the command sequence.

最初にコマンド群識別符号が入力されると、コマンド検
出手段4において該コマンド群識別符号が識別されてコ
マンド群識別符号一時記憶手段5に送られたのちコマン
ド・シーケンス記憶手段3に入力される。次いでコマン
ドが入力されると、前記同様にしてコマンド検出手段4
において該コマンドが検出されてコマンド一時記憶手段
6に一時記憶される。また、コマンド一時記憶手段5は
コマンドが入力されたことをコマンド・シーケンス記憶
手段3に伝える。
When a command group identification code is first input, the command detection means 4 identifies the command group identification code, sends it to the command group identification code temporary storage means 5, and then inputs it to the command sequence storage means 3. Next, when a command is input, the command detection means 4 detects the command in the same manner as described above.
The command is detected and temporarily stored in the command temporary storage means 6. Further, the command temporary storage means 5 notifies the command sequence storage means 3 that the command has been input.

コマンド・シーケンス記憶手段3は該情報を受信すると
先にコマンド群識別符号一時記憶手段5より受信したコ
マンド群識別符号に該当するコマンド群識別符号のコマ
ンド・シーケンスをコマンド・シーケンス比較手段7に
出力する。一方、コマンド一時記憶手段7に一時記憶さ
れたコマンドもコマンド・シーケンス比較手段6に送ら
れ、コマンド・シーケンス記憶手段3に記憶されていた
コマンド・シーケンスと比較される。
Upon receiving the information, the command sequence storage means 3 outputs a command sequence of the command group identification code corresponding to the command group identification code received from the command group identification code temporary storage means 5 to the command sequence comparison means 7. . On the other hand, the command temporarily stored in the command temporary storage means 7 is also sent to the command sequence comparison means 6 and compared with the command sequence stored in the command sequence storage means 3.

比較結果は処理部8に送られるが、この段階では最初の
コマンドの適否について、比較結果が一致している場合
はオペレータ・コンソール11より入力されたコマンド
は処理され、不一致の場合は処理部8よりオペレータ・
コンソール11に対して入力コマンド・シーケンスが誤
りであることを知らせる。以下、コマンドが入力される
都度、上記の処理を繰り返す。
The comparison result is sent to the processing unit 8, and at this stage it is determined whether the first command is appropriate or not. If the comparison result matches, the command input from the operator console 11 is processed, and if they do not match, the command input from the operator console 11 is More operator
Inform console 11 that the input command sequence is incorrect. Thereafter, the above process is repeated every time a command is input.

なお、コマンド群識別符号が付与されていない複数のコ
マンドを入力することも可能であるが、この場合にはコ
マンド・シーケンスの異常検出は行なわれず、個々のコ
マンド単位に異常検出が行なわれる。
Note that it is also possible to input a plurality of commands to which no command group identification code is attached, but in this case, abnormality detection is not performed in the command sequence, but abnormality detection is performed in units of individual commands.

[実施例] 第2図は本発明の一実施例の構成図、また第3図は第2
図の構成図によるシーケンス図である。
[Example] Fig. 2 is a configuration diagram of an embodiment of the present invention, and Fig. 3 is a configuration diagram of an embodiment of the present invention.
FIG. 3 is a sequence diagram based on the configuration diagram of FIG.

第2図において第1図と同じものは同一の記号で示し、
11はオペレータ・コンソール1の転送制御部、12は
処理装置2の転送制御部、13はコマンド・シーケンス
記憶回路、14はコマンド検出回路、15はオペレータ
・コンソール1より入力されたコマンド群識別符号を一
時記憶するバッファレジスタ(A)、16は同じくコマ
ンドを一時記憶するバッファレジスタ(B) 、17は
コマンド・シーケンス比較回路、18は処理装置2の入
出力部分においてオペレータ・コンソールlと処理装置
2間の転送情報の直列/並列変換を行なう直並列変換回
路、19は処理装置2の転送制御部■2内の各回路を制
御するマイクロプロセッサである。なお、マイクロプロ
セッサ19と各回路間の接続は図示省略しである。
In Fig. 2, the same parts as in Fig. 1 are indicated by the same symbols.
11 is a transfer control unit of the operator console 1, 12 is a transfer control unit of the processing device 2, 13 is a command sequence storage circuit, 14 is a command detection circuit, and 15 is a command group identification code input from the operator console 1. 16 is a buffer register (B) for temporarily storing commands; 17 is a command/sequence comparing circuit; 18 is a buffer register (A) for temporarily storing commands; 18 is a buffer register (B) for temporarily storing commands; 19 is a microprocessor that controls each circuit in the transfer control section 2 of the processing device 2; Note that connections between the microprocessor 19 and each circuit are not shown.

第2図において、オペレータ・コンソール1より入力さ
れる一連のコマンド群ごとに予め付与したコマンド群識
別符号と該コマンド群識別符号別のコマンド・シーケン
スを図示省略された入力機器より予め入力してコマンド
・シーケンス記憶回路13に記憶させておく。また、オ
ペレータ・コンソール1より上記コマンド群識別符号の
一つをもつコマンド群を入力する場合にはコマンド群識
別符号を付加した上、コマンド・シーケンスに従った一
連のコマンドを入力する。
In FIG. 2, a command group identification code assigned in advance to each series of command groups input from the operator console 1 and a command sequence for each command group identification code are input in advance from an input device (not shown) to command - Store it in the sequence storage circuit 13. Further, when inputting a command group having one of the above-mentioned command group identification codes from the operator console 1, the command group identification code is added and a series of commands according to the command sequence is input.

上記の状態及び条件の下において、オペレーダコンソー
ル1の転送制御部11より情報が送られてくると、直列
に送られてくる情報ビットは直並列変換回路18におい
て並列ビットに変換され、コマンド検出回路14に送ら
れる。コマンド検出回路14は最初にコマンド群識別符
号を検出すると該コマンド群識別符号をバッファレジス
タ15に送る。
Under the above state and conditions, when information is sent from the transfer control unit 11 of the operator console 1, the serially sent information bits are converted into parallel bits in the serial/parallel conversion circuit 18, and the command is detected. The signal is sent to circuit 14. When the command detection circuit 14 first detects a command group identification code, it sends the command group identification code to the buffer register 15.

バッファレジスタ15は該コマンド群識別符号を一時記
憶するとともに、記憶したコマンド群識別符号をコマン
ド・シーケンス記憶回路13に送る。次いでコマンドが
入力されるとコマンド検出回路14は該コマンドを識別
してバッファレジスタ16に送る。バッファレジスタ1
6は該コマンドを一時記憶したうえ、コマンド・シーケ
ンス比較回路I7に送出するとともに、コマンドが入力
されたことをコマンド・シーケンス記憶間813に伝え
る。
The buffer register 15 temporarily stores the command group identification code and sends the stored command group identification code to the command sequence storage circuit 13. Next, when a command is input, the command detection circuit 14 identifies the command and sends it to the buffer register 16. buffer register 1
6 temporarily stores the command and sends it to the command/sequence comparison circuit I7, and also notifies the command/sequence storage 813 that the command has been input.

コマンド・シーケンス記憶回路13はコマンドが入力さ
れた情報を受信すると先にバッファレジスタ15より受
信したコマンド群識別符号のコマンド・シーケンスをコ
マンド・シーケンス比較回路17に出力する。コマンド
・シーケンス比較回路17は先にバッファレジスタ16
より受信したコマンドとコマンド・シーケンス記憶回路
13より受信したコマンドを比較し、比較結果を処理部
8に送る。
When the command sequence storage circuit 13 receives information about the input command, it outputs the command sequence of the command group identification code previously received from the buffer register 15 to the command sequence comparison circuit 17. The command sequence comparison circuit 17 first compares the buffer register 16 with the buffer register 16.
The command received from the command sequence storage circuit 13 is compared with the command received from the command sequence storage circuit 13, and the comparison result is sent to the processing section 8.

処理部8は、比較結果が一致している場合、オペレーク
・コンソール1より入力されたコマンドを処理し、不一
致の場合、オペレータ・コンソール1に対して入力コマ
ンドのシーケンスが誤りであることを知らせる。以下、
コマンドが入力される都度、上記の処理を繰り返す。
If the comparison results match, the processing unit 8 processes the command input from the operator console 1, and if they do not match, it notifies the operator console 1 that the input command sequence is incorrect. below,
Repeat the above process each time a command is input.

なお、コマンド・シーケンス記憶回路13が記憶してい
るコマンド・シーケンスをコマンド・シーケンス比較回
路17に送る場合、コマンド群識別符号をバッファレジ
スタ15より受信した時に全コマンド・シーケンスを送
っても、コマンド受信の都度、該当コマンドのみを送っ
てもよい。また、比較方法としては、第1のコマンドか
ら最新のコマンドまでの全シーケンスを比較しても、一
致が確認された後の最新のコマンドのみであっても効果
は同じである。これらの比較方法については更に種々の
変形が可能であるが、本発明からこれらを除外するもの
ではない。
Note that when sending the command sequence stored in the command sequence storage circuit 13 to the command sequence comparison circuit 17, even if the entire command sequence is sent when the command group identification code is received from the buffer register 15, the command is not received. You may send only the relevant command each time. Furthermore, the same effect can be achieved whether the entire sequence from the first command to the latest command is compared or only the latest command after a match is confirmed. Although various modifications can be made to these comparison methods, they are not excluded from the present invention.

第3図は以上説明した第2図の実施例構成図によるシー
ケンスの一例である。
FIG. 3 is an example of a sequence based on the configuration diagram of the embodiment shown in FIG. 2 described above.

第3図は処理装置のN個からなる全レジスタ(図示省略
)、即ち、0番よりN番までのレジスタCREG 0−
REG N)の内容を読取る例について、オペレータ・
コンソールと処理装置間のコマンド及びデータの送受信
のシーケンスを示している。同図より明らかなように、
処理装置側においてはオペレータ・コンソールよりコマ
ンドを受信する都度、コマンド・シーケンスを比較し、
コマンドの入力順序が正しいか否かをチエツクしている
ので、コマンドの入力順序の誤りにより処理結果に誤り
を生じたり、処理が進んでから誤りが発見されることが
ない。
FIG. 3 shows all N registers (not shown) of the processing device, that is, registers from number 0 to number N CREG 0-
For an example of reading the contents of REG N), the operator
The sequence of sending and receiving commands and data between the console and the processing device is shown. As is clear from the figure,
On the processing device side, each time a command is received from the operator console, the command sequence is compared,
Since it is checked whether the input order of commands is correct, errors in the input order of commands will not cause errors in the processing results, and errors will not be discovered after the processing has proceeded.

なお、第3図はレジスタの読取りのみの例を示している
が、更に複雑なコマンドの組合せに適用できることは勿
論であり、コマンドの組合せが複雑なほど、効果を発揮
するものである。
Although FIG. 3 shows an example of only register reading, it goes without saying that it can be applied to more complex combinations of commands, and the more complex the combination of commands, the more effective it is.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、オペレータ・コ
ンソールより複数のコマンドを組合せた一連のコマンド
を入力して処理を行なう場合に、コマンドの入力順序が
チエツクされるため、処理が誤ったり、処理が進んでか
ら誤りが発見されて手戻りを生ずることがなく、かかる
オペレータ・コンソールよりの入力効率の向上に資する
ところが大きい。
As explained above, according to the present invention, when processing is performed by inputting a series of commands that are a combination of multiple commands from the operator console, the input order of the commands is checked, so that incorrect processing or This eliminates the need for rework due to discovering errors after processing has progressed, which greatly contributes to improving the input efficiency from the operator console.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の原理説明図、第2図は本発明の実施例
構成図、第3図は本発明の実施例のシーケンス図、第4
図は従来方式の構成図、第5図は従来方式のシーケンス
図である。 図中、 1−・・−・・・・・・・・オペレーク・コンソール2
 ・・−・−・・−・ 3 ・・・−・ 4−・−・・・・・−・ 5 −−−−・−・・ 6−・−・−・ 7−・−・・ 8−・・−・・・ である。 処理装置 コマンド・シーケンス記憶手段 ]マント検出手段 ]マント群識別符号一時記憶手段 ]マント一時記憶手段 ]マント・シーケンス比較手段 処理部 第 図 第 図 オペレータ・コンソール(αS) 入  W(銅) 本発明の実施例〉−ケンス図 第 図
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a configuration diagram of an embodiment of the invention, Fig. 3 is a sequence diagram of an embodiment of the invention, and Fig. 4 is a diagram illustrating the principle of the present invention.
The figure is a block diagram of the conventional system, and FIG. 5 is a sequence diagram of the conventional system. In the figure, 1--......Operate console 2
・・−・−・・−・ 3 ・・・−・ 4−・−・・・・・−・ 5 −−−−・−・・ 6−・−・−・ 7−・−・・ 8−・・・-・・・ It is. Processing device command/sequence storage means] Mantle detection means] Mantle group identification code temporary storage means] Mantle temporary storage means] Mantle sequence comparison means Example〉-Cans diagram

Claims (1)

【特許請求の範囲】 オペレータ・コンソール(1)と該オペレータ・コンソ
ールとの間で情報を送受信して処理を行なう処理装置(
2)からなる処理システムにおいて、前記処理装置内に
、 前記オペレータ・コンソールから入力される一連のコマ
ンド群ごとに予めコマンド群識別符号を付与し、コマン
ド群識別符号別にコマンド・シーケンスを記憶しておく
コマンド・シーケンス記憶手段(3)と、 前記オペレータ・コンソールから前記コマンド群識別符
号が付加された入力情報を受信したとき、該入力情報よ
りコマンド群識別符号とコマンドを検出して出力するコ
マンド検出手段(4)と、該コマンド検出手段より出力
されるコマンド群識別符号を一時記憶して前記コマンド
・シーケンス記憶手段に出力するコマンド群識別符号一
時記憶手段(5)と、 前記コマンド検出手段より出力されるコマンドを入力順
に一時記憶するコマンド一時記憶手段(6)と、 前記コマンド一時記憶手段にコマンドが入力される都度
、該コマンド一時記憶手段より一時記憶されているコマ
ンドのシーケンスを入力し、かつ前記コマンド・シーケ
ンス記憶手段より該コマンド・シーケンス記憶手段が前
記コマンド群識別符号一時記憶手段より受信したコマン
ド群識別符号に対応するコマンド・シーケンスを受信し
て比較し、比較結果を処理部に出力するコマンド・シー
ケンス比較手段(7)と、 該コマンド・シーケンス比較手段よりコマンド・シーケ
ンス比較結果を受信し、比較結果が一致しない場合に異
常検出情報をオペレータ・コンソールに送出する処理部
(8)を備えたことを特徴とするコマンド・シーケンス
異常検出方式。
[Claims] An operator console (1) and a processing device (1) that transmits and receives information between the operator console and performs processing.
2) In the processing system, a command group identification code is assigned in advance to each series of command groups input from the operator console in the processing device, and command sequences are stored for each command group identification code. command sequence storage means (3); and command detection means for detecting and outputting a command group identification code and a command from the input information when input information to which the command group identification code is added is received from the operator console. (4); command group identification code temporary storage means (5) for temporarily storing a command group identification code output from the command detection means and outputting it to the command sequence storage means; a command temporary storage means (6) for temporarily storing commands in the order in which they were input; a command for the command sequence storage means to receive and compare command sequences corresponding to the command group identification codes received from the command group identification code temporary storage means, and output the comparison results to the processing section; - Equipped with a sequence comparison means (7) and a processing unit (8) that receives the command sequence comparison results from the command sequence comparison means and sends abnormality detection information to the operator console if the comparison results do not match. A command sequence abnormality detection method characterized by:
JP1167856A 1989-06-29 1989-06-29 System for detecting command sequence abnormality Pending JPH0331960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1167856A JPH0331960A (en) 1989-06-29 1989-06-29 System for detecting command sequence abnormality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1167856A JPH0331960A (en) 1989-06-29 1989-06-29 System for detecting command sequence abnormality

Publications (1)

Publication Number Publication Date
JPH0331960A true JPH0331960A (en) 1991-02-12

Family

ID=15857361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1167856A Pending JPH0331960A (en) 1989-06-29 1989-06-29 System for detecting command sequence abnormality

Country Status (1)

Country Link
JP (1) JPH0331960A (en)

Similar Documents

Publication Publication Date Title
US5604754A (en) Validating the synchronization of lock step operated circuits
JPH0331960A (en) System for detecting command sequence abnormality
JPH01291548A (en) Series controller
JPH0723030A (en) Series data communication equipment
JPH02311099A (en) Malfunction prevention control system
JP2581111B2 (en) Data input control method
JPS61175835A (en) Information processing system
CN1019235B (en) Method and apparatus for generating start signal for parallel-synchronous of three substantially identical data processing units
JP2561120B2 (en) Alarm monitoring controller
JP3157363B2 (en) Redundant controller
JPS63217736A (en) Data transmission system
JPS60157605A (en) Automatic controller
JPS63123133A (en) Error processing system
JPS6051136B2 (en) Data error detection method
JPH03210848A (en) Reception data confirming system by collation of consecutive transmission
JPH056284A (en) Error control system
JPS627295A (en) Reading system for 5c code system signal
JPS58123106A (en) Input and output unit of programmable controller
JPH04258052A (en) Token bus type communication system
JPH04168551A (en) Facsimile equipment
JPH10116338A (en) Pipeline controller
JPS6371756A (en) Set data checking system
JPS62231341A (en) Information processor
JPH04142117A (en) Data compressor
JPH086690A (en) Data processor