JPH0432916A - Command error detection system - Google Patents

Command error detection system

Info

Publication number
JPH0432916A
JPH0432916A JP2132928A JP13292890A JPH0432916A JP H0432916 A JPH0432916 A JP H0432916A JP 2132928 A JP2132928 A JP 2132928A JP 13292890 A JP13292890 A JP 13292890A JP H0432916 A JPH0432916 A JP H0432916A
Authority
JP
Japan
Prior art keywords
error
command
error information
parameter
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
JP2132928A
Other languages
Japanese (ja)
Inventor
Junichi Iwato
岩戸 淳一
Katsuiku Hanai
華井 克育
Keiki Nakamatsu
中松 敬喜
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
Fujitsu Kyushu Communication Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Kyushu Communication Systems 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, Fujitsu Kyushu Communication Systems Ltd filed Critical Fujitsu Ltd
Priority to JP2132928A priority Critical patent/JPH0432916A/en
Publication of JPH0432916A publication Critical patent/JPH0432916A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To shorten an error analytic and command input time and to improve the efficiency of error processing by outputting error information at a time at the stage of the completion of a check on all parameters when there are plural errors in commands including plural parameters. CONSTITUTION:A command is inputted to the command processing part 10 in a processor 1 and a parameter error detecting means 11 checks plural parameters in order. The parameter error detecting means 11 even if an error is detected in one of the parameters does not quit the processing of the input command and starts checking a next parameter to store error information in an error information storage means 12 every time an error is detected. All parameters are checked and if parameters errors are stored, the error information stored in the error information storage means 12 is all read out in order and sent out to an input/output terminal 2. Consequently, the error analytic and command input time can be shortened.

Description

【発明の詳細な説明】 〔概 要〕 処理装置における入力コマンドのエラー検出方式に関し
、 入力コマンドに含まれる複数のパラメータのエラーをす
べて検出した後に、検出したエラー情報を一括出力する
ことによりエラー処理効率を向上することを目的とし、 入出力端末より入力されるコマンドの処理を実行するコ
マンド処理部を有する処理装置において、前記コマンド
処理部内に、入力コマンドに含まれるl乃至複数のパラ
メータを順次チェックし、エラーが皆無であれば前記コ
マンドの処理の実行に移行し、エラーを検出したときは
そのつどエラー情報記憶手段にエラー情報を記憶せしめ
たのち次のパラメータのチェックに進み、全パラメータ
のチェックを終了した時点でエラー情報出力手段に対し
て前記エラー情報記憶手段に記憶せしめたエラー情報を
前記入出力端末に一括出力させる指示を行なうパラメー
タ・エラー検出手段と、前記パラメータ・エラー検出手
段より出力される前記エラー情報を記憶するエラー情報
記憶手段と、前記パラメータ・エラー検出手段より前記
エラー情報を一括出力させる指示を入力したときに前記
エラー情報記憶手段に記憶されている該エラー情報を読
み出して前記入出力端末に出力するエラー情報出力手段
とを備えるように構成する。
[Detailed Description of the Invention] [Summary] Regarding an error detection method for input commands in a processing device, after detecting all errors in multiple parameters included in an input command, error processing is performed by collectively outputting detected error information. In a processing device having a command processing unit that executes processing of commands input from an input/output terminal for the purpose of improving efficiency, the command processing unit sequentially checks one or more parameters included in the input command. However, if there are no errors, the process moves to execution of the command, and if an error is detected, the error information is stored in the error information storage means each time, and then the process moves on to checking the next parameter, checking all parameters. parameter error detection means for instructing the error information output means to collectively output the error information stored in the error information storage means to the input/output terminal at the time when the error information is output from the parameter error detection means; an error information storage means for storing the error information to be outputted; and an error information storage means for reading out the error information stored in the error information storage means when an instruction to cause the parameter error detection means to collectively output the error information is inputted. and error information output means for outputting to the input/output terminal.

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

本発明は、処理装置における入力コマンドのエラー検出
方式に関する。
The present invention relates to a method for detecting errors in input commands in a processing device.

近年、電子計算機や電子交換機などの通信装置を含め、
入出力端末よりコマンドを入力して処理を行なう処理装
置は極めて一般的となっている。
In recent years, including communication equipment such as electronic computers and electronic exchanges,
Processing devices that perform processing by inputting commands from input/output terminals have become extremely common.

通常これらの処理装置は、入出力端末、例えば保守用コ
ンソールより入力されたコマンドの処理を実行するコマ
ンド処理部を備え、該コマンド処理部においてコマンド
の実行に先立ち、処理上矛盾を生ずるようなパラメータ
が指定されていないか否かをチェックし、矛盾を生ずる
パラメータが検出されたときには、エラー表示を行なう
ようになっている。
Normally, these processing devices are equipped with a command processing section that executes processing of commands input from an input/output terminal, such as a maintenance console, and the command processing section processes parameters that may cause processing conflicts before executing the command. It is checked whether or not a parameter has been specified, and if a conflicting parameter is detected, an error message is displayed.

しかし、従来のコマンド処理部では、一つのコマンドに
複数のパラメータか含まれている場合に、該パラメータ
を順次チェックしてゆき、最初にエラーを検出した段階
で対応するエラー情報を出力して処理を終了するように
なっている。従って、複数のパラメータにエラーのある
コマンドの場合には、最初のエラー情報に対する修正を
行なって該コマンドを再投入しても、最初の投入でチェ
ックに至らなかったパラメータにおいて再度エラー情報
が出力されることとなるため、エラーを除くために同一
コマンドを複数回投入しなければならないこととなる。
However, in conventional command processing units, when a single command contains multiple parameters, the parameters are checked sequentially, and when the first error is detected, the corresponding error information is output and processed. It is supposed to end. Therefore, in the case of a command with errors in multiple parameters, even if you correct the first error information and resubmit the command, error information will be output again for the parameters that were not checked the first time. Therefore, the same command must be submitted multiple times to eliminate errors.

このように一つのコマンドのエラー情報が複数回に亘っ
て出力されると、保守者またはプログラム作成者はエラ
ーの解析とコマンドの投入に多大の時間を要することと
なる。
If error information for one command is output multiple times in this way, it will take a maintenance person or a program creator a lot of time to analyze the error and input the command.

このため、複数のパラメータにエラーが存在する場合で
も、1度のコマンド投入ですべてのエラー情報を出力す
るコマンド・エラー検出方式が必要となっている。
Therefore, there is a need for a command error detection method that outputs all error information by inputting a single command even if errors exist in multiple parameters.

〔従来の技術〕[Conventional technology]

第4図は従来技術の構成図、第5図は従来技術のフロー
チャートである。
FIG. 4 is a block diagram of the prior art, and FIG. 5 is a flowchart of the prior art.

以下、第5図を併用して第4図の説明を行なう。Hereinafter, FIG. 4 will be explained using FIG. 5 as well.

なお、321〜S32は第5図の各ステップを示す。Note that 321 to S32 indicate each step in FIG.

平常状態において第4図の記憶装置23にはコマンド処
理用プログラムなど、処理装置21が処理を行なうのに
必要なプログラムが記憶されているが、処理装置21が
コマンド処理を行なう場合には図示省略された方法によ
り前記コマンド処理用プログラムは処理装置21内に読
み込まれ、コマンド処理部30として動作する。
In a normal state, the storage device 23 in FIG. 4 stores programs necessary for the processing device 21 to perform processing, such as command processing programs, but these are not shown when the processing device 21 performs command processing. The command processing program is loaded into the processing device 21 by the method described above, and operates as the command processing section 30.

この状態において保守用コンソール22よりn個のパラ
メータをもつコマンドを投入する(S21)と、該コマ
ンドはバス24を経て処理装置21内のコマンド処理部
30に入力される。該コマンドはパラメータ・エラー検
出部31に入力され(322) 、第1パラメータより
順次エラーの有無がチェックされる(S23)。第1パ
ラメータにエラーが検出されなければ(S24)第2パ
ラメータのチェックに移り、以下同様にして最終の第n
パラメータのチェック(327)においてもエラーが検
出されなければ(328)入力コマンドをデータ処理部
33に送り、該データ処理部33においてコマンドを実
行する(329)。
In this state, when a command with n parameters is input from the maintenance console 22 (S21), the command is input to the command processing section 30 in the processing device 21 via the bus 24. The command is input to the parameter error detection unit 31 (322), and the presence or absence of an error is checked sequentially starting from the first parameter (S23). If no error is detected in the first parameter (S24), the process moves on to checking the second parameter, and then the final nth parameter is checked in the same manner.
If no error is detected in the parameter check (327) (328), the input command is sent to the data processing unit 33, and the command is executed in the data processing unit 33 (329).

しかし、いずれかのパラメータのチェックにおいてエラ
ーを検出するとそのエラーについてエラーの発生箇所と
種別などを示すエラー情報をエラー情報出力部32に送
る。例えば、第1パラメータのチェック(S23)にお
いてエラーが検出されると(S24) 、パラメータ・
エラー検出部31はエラー情報をエラー情報出力部32
に送り、該エラー情報出力部32は送られてきた該エラ
ー情報を前記保守用コンソール22に送出して該保守用
コンソール22にエラー情報を表示させて(S31)該
コマンドの処理を終了する。即ち、コマンド処理部30
は最初にエラーが検出された段階でコマンドの処理を終
了するため、エラーが検出されたパラメータ(上記の例
では第1パラメータ)以降のパラメータ(第2〜第nパ
ラメータ)のチェックは行なわれない。
However, if an error is detected in checking any of the parameters, error information indicating the location and type of the error is sent to the error information output unit 32. For example, if an error is detected in the first parameter check (S23) (S24), the parameter
The error detection section 31 sends the error information to the error information output section 32.
The error information output unit 32 sends the sent error information to the maintenance console 22, displays the error information on the maintenance console 22 (S31), and ends the processing of the command. That is, the command processing section 30
Because command processing ends when the first error is detected, the parameters (second to nth parameters) after the parameter where the error was detected (the first parameter in the above example) are not checked. .

保守用コンソール22に表示されたエラー情報を見た保
守者(またはプログラム作成者)はエラーの解析を行な
い、第1パラメータのエラーを修正して(S32)再度
コマンドを投入する(S21)。以上の結果、第1パラ
メータのエラーが消滅していれば該コマンドはデータ処
理部33において実行されるが、修正したパラメータ以
降、例えば第2パラメータに別のエラーかあれば前回と
同様、第2パラメータについてのエラー情報が再び保守
用コンソール22に出力表示される(S25. S26
. S30. S31 )。
A maintenance person (or program creator) who sees the error information displayed on the maintenance console 22 analyzes the error, corrects the error in the first parameter (S32), and inputs the command again (S21). As a result of the above, if the error in the first parameter has disappeared, the command will be executed in the data processing unit 33, but if there is another error in the second parameter after the corrected parameter, the command will be executed in the second parameter as before. Error information regarding the parameters is output and displayed on the maintenance console 22 again (S25, S26
.. S30. S31).

これにより、保守者は再度エラーの解析と第2パラメー
タの修正を行ない、コマンドを投入し直す。
As a result, the maintenance person analyzes the error again, corrects the second parameter, and resubmits the command.

このため、保守者は一つのコマンドのエラーをパラメー
タ単位に分断して修正する結果となり、エラーの解析及
びコマンドの投入に多くの時間を要することとなる。
Therefore, a maintenance person ends up having to correct an error in one command by dividing it into parameter units, and it takes a lot of time to analyze the error and input the command.

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

従来技術においては複数のパラメータを有するコマンド
が入力された場合、複数のパラメータのエラーの有無を
順次チェックし、最初にエラーが発見された段階でエラ
ー表示を行なって該コマンドの処理を終了するため、複
数のパラメータに複数のエラーが存在する場合には同一
コマンドを複数回投入する必要があり、エラーの解析と
コマンドの投入に多(の時間を要していた。
In conventional technology, when a command having multiple parameters is input, the multiple parameters are sequentially checked for errors, and when an error is first detected, an error is displayed and the processing of the command is terminated. If multiple errors exist in multiple parameters, it is necessary to input the same command multiple times, and it takes a long time to analyze the error and input the command.

本発明は、入力コマンドに含まれる複数のパラメータの
エラーをすべて検出した後に、検出したエラー情報を一
括出力することによりエラー処理効率を向上することを
目的とする。
An object of the present invention is to improve error processing efficiency by outputting detected error information all at once after detecting all errors in a plurality of parameters included in an input command.

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

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

図中、lは入出力端末2より入力されるコマンドなどの
処理を行なう処理装置、2は入出力端末、IOは前記処
理装置l内において前記コマンドの処理を実行するコマ
ンド処理部l0111−13は該コマンド処理部IO内
に設けられる各種手段で、11は入力コマンドに含まれ
るl乃至複数のパラメータを順次チェックし、エラーが
皆無であれば前記コマンドの処理の実行に移行し、エラ
ーを検出したときはそのつどエラー情報記憶手段12に
エラー情報を記憶せしめたのち次のパラメータのチェッ
クに進み、全パラメータのチェックを終了した時点でエ
ラー情報出力手段12)に対して前記エラー情報記憶手
段12に記憶せしめたエラー情報を前記入出力端末2に
一括出力させる指示を行なうパラメータ・エラー検出手
段11.12は前記パラメータ・エラー検出手段11よ
り出力される前記エラー情報を記憶するエラー情報記憶
手段12.13は前記パラメータ・エラー検出手段11
より前記エラー情報を一括出力させる指示を入力したと
きに前記エラー情報記憶手段12に記憶されている該エ
ラー情報を読み出して前記入出力端末2に出力するエラ
ー情報出力手段である。
In the figure, l is a processing device that processes commands input from the input/output terminal 2, 2 is an input/output terminal, and IO is a command processing unit l0111-13 that executes processing of the commands in the processing device l. With various means provided in the command processing unit IO, 11 sequentially checks one or more parameters included in the input command, and if there is no error, moves to execution of the command processing and detects an error. In each case, the error information is stored in the error information storage means 12, and then the next parameter is checked, and when all the parameters have been checked, the error information output means 12) is stored in the error information storage means 12. Parameter error detection means 11.12 instructs the input/output terminal 2 to output the stored error information all at once, and error information storage means 12.12 stores the error information output from the parameter error detection means 11. 13 is the parameter error detection means 11
The error information output means reads out the error information stored in the error information storage means 12 and outputs it to the input/output terminal 2 when an instruction to output the error information all at once is input.

(作 用〕 第1図において、入出力端末2より処理装置lにコマン
ドを投入すると、該コマンドは処理装置1内のコマンド
処理部lOに入力され、パラメータ・エラー検出手段1
1において該コマンド内に指定されているlまたは複数
のパラメータが順次チェックされる。全パラメータのチ
ェックが終わり、すべてのパラメータにエラーがなけれ
ば、該コマンドはコマンド処理部lO内の図示省略され
たデータ処理部に移されて実行される。
(Operation) In FIG. 1, when a command is input to the processing device l from the input/output terminal 2, the command is input to the command processing unit lO in the processing device 1, and the parameter error detection means 1
In step 1, l or a plurality of parameters specified in the command are sequentially checked. If all the parameters have been checked and there are no errors, the command is transferred to a data processing section (not shown) in the command processing section 10 and executed.

前記lまたは複数のパラメータの中にコマンドを実行し
た場合に矛盾を生ずるようなパラメータが指定されてい
ると、前記パラメータ・エラー検山手段11はこれを検
出し、エラー情報としてエラー情報記憶手段12に記憶
させる。しかし、複数のパラメータが指定されている場
合、パラメーターエラー検出手段11は該複数のパラメ
ータの中の一つにエラーが検出されても入力コマンドの
処理を終了せずに次のパラメータのチェックに移る。以
下、同様にして複数のパラメータをチェックし、エラー
が検出されればそのつどエラー情報をエラー情報記憶手
段12に記憶させる。
If a parameter that causes a contradiction when a command is executed is specified among the l or plural parameters, the parameter error detection means 11 detects this and stores it as error information in the error information storage means 12. to be memorized. However, when multiple parameters are specified, even if an error is detected in one of the multiple parameters, the parameter error detection means 11 does not finish processing the input command and moves on to checking the next parameter. . Thereafter, a plurality of parameters are checked in the same manner, and if an error is detected, error information is stored in the error information storage means 12 each time.

以上により、全パラメータのチェックを終了し、その中
で少なくとも一つのパラメータ・エラーを検出している
場合、前記パラメータ・エラー検出手段11はエラー情
報出力手段12)に対して前記エラー情報記憶手段12
が記憶しているエラー情報を前記入出力端末2に出力す
るよう指示を行なう。
As described above, when all the parameters have been checked and at least one parameter error has been detected, the parameter error detection means 11 sends the error information storage means 12 to the error information output means 12).
Instructs the input/output terminal 2 to output the error information stored in the input/output terminal 2.

エラー情報出力手段13は該指示を受けると、前記エラ
ー情報記憶手段12に記憶されている全エラー情報を順
次読み出して入出力端末2に送出する。
Upon receiving the instruction, the error information output means 13 sequentially reads out all the error information stored in the error information storage means 12 and sends it to the input/output terminal 2.

該入出力端末2においては前記エラー情報を印字などに
より表示(詳細図示省略)し、保守者などがこれを読み
取る。保守者はこれによって投入したコマンドの全パラ
メータについてのエラー内容を知ることができるため、
エラーの解析を行ない、エラ一部分を修正したうえで再
度処理装置1に前記コマンドを投入する。
In the input/output terminal 2, the error information is displayed by printing or the like (details not shown), and is read by a maintenance person or the like. This allows the maintainer to know the error details for all parameters of the input command, so
After analyzing the error and correcting a portion of the error, the command is input to the processing device 1 again.

以上の如く、本発明では、複数のパラメータの中に複数
のエラーが存在していても、エラー情報が一括して出力
されるため、修正に誤りがなければエラー解析とコマン
ドの再投入はそれぞれ1回で済み、エラー解析及びコマ
ンド投入の時間が節減できる。
As described above, in the present invention, even if there are multiple errors in multiple parameters, the error information is output all at once, so if there are no errors in correction, error analysis and re-submission of the command can be performed separately. It only needs to be done once, which saves time for error analysis and command entry.

〔実施例〕〔Example〕

第2図は本発明の一実施例の構成図、第3図は本発明の
一実施例のフローチャートである。
FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a flowchart of an embodiment of the present invention.

図中、第1図と同一機能部分は同一記号で示し、2は保
守用コンソール、3は記憶装置、4はバス、14はデー
タ処理部である。
In the figure, the same functional parts as in FIG. 1 are indicated by the same symbols; 2 is a maintenance console, 3 is a storage device, 4 is a bus, and 14 is a data processing section.

以下、第3図を併用して第2図について説明する。なお
、5l−314は第3図中の各ステップの記号である。
Hereinafter, FIG. 2 will be explained in conjunction with FIG. 3. Note that 5l-314 is a symbol for each step in FIG.

平常状態において第2図の記憶装置3にはコマンド処理
用プログラムなど、処理装置が処理を行なうのに必要な
プログラムが記憶されているが、処理装置lがコマンド
処理を行なう場合には図示省略された方法により前記コ
マンド処理用プログラムは処理装置l内に読み込まれ、
コマンド処理部IOとして動作する。
In a normal state, the storage device 3 in FIG. 2 stores programs necessary for the processing device to perform processing, such as a command processing program, but these are not shown when the processing device I performs command processing. The command processing program is loaded into the processing device l by the method described above,
Operates as a command processing unit IO.

この状態において保守用コンソール2より処理装置lに
対してコマンドを投入する(sl)と、該コマンドはバ
ス4を経て処理装置lに入力される。
In this state, when a command is input to the processing device l from the maintenance console 2 (sl), the command is input to the processing device l via the bus 4.

処理装置lに入力された前記コマンドはパラメータ・エ
ラー検出部11に送られ(S2)、該コマンドに指定さ
れているパラメータのチェックが行なわれる。該パラメ
ータにおいて、例えば図示省略された入出力機器の番号
、入力データの桁数、異常を検出する場合のタイミング
値などが指定されるが、これらのパラメータの中に、例
えば接続されていない入出力機器を指定するなどの指定
誤りがあるとコマンドの実行中に矛盾が生じ、処理が停
止したり誤動作するなどの異常を生ずる可能性がある。
The command input to the processing device 1 is sent to the parameter error detection section 11 (S2), and the parameters specified in the command are checked. In these parameters, for example, the numbers of input/output devices (not shown), the number of digits of input data, timing values for detecting abnormalities, etc. are specified. If there is a specification error such as specifying a device, a contradiction may occur during command execution, which may cause abnormalities such as processing to stop or malfunction.

このため、コマンドの実行に先立ちパラメータのチェッ
クが行なわれる。
Therefore, parameters are checked before executing the command.

前記コマンドにn個のパラメータが指定されている場合
、パラメータ・エラー検出部11においては第1パラメ
ータより順次チェックを行なうが、第1パラメータのチ
ェック(S3)においてエラーが検出されなければ、第
2パラメータのチェック(S4)に移すュ以下エラーが
検出されなければ最終パラメータの第nパラメータのチ
ェック(S5)まで進み、第nパラメータにもエラーが
なければ全パラメータにエラーがなかったことを確認(
S6)して、該コマンドをデータ処理部14に送る(S
7)。該データ処理部14においては前記コマンドの処
理を実行しくS7)、実行を終われば該コマンドの処理
は終了する。
When n parameters are specified in the command, the parameter error detection unit 11 sequentially checks the first parameter, but if no error is detected in the first parameter check (S3), the second parameter is checked. Proceed to check parameters (S4) If no errors are detected, proceed to check the nth parameter of the final parameter (S5), and if there is no error in the nth parameter, confirm that there are no errors in all parameters (
S6) and sends the command to the data processing unit 14 (S6).
7). The data processing unit 14 executes the processing of the command (S7), and when the execution is finished, the processing of the command ends.

以上の過程においてパラメータの指定に誤りがあると、
例えば第1パラメータの場合は第1パラメータのチェッ
ク(S3)においてエラーが検出される。パラメータ・
エラー検出部11はエラーを検出するとエラー発生箇所
、エラーの種別などのエラー情報をエラー情報記憶部1
2に送って該エラー情報記憶部12に記憶させたのち、
次のパラメータ、例えば第2パラメータのチェック(S
4)に移る。以下、同様にしてパラメータにエラーが発
見されるつどエラー情報記憶部12にエラー情報を記憶
させて第nパラメータのチェック(S5)まで進む。
If there is an error in specifying parameters in the above process,
For example, in the case of the first parameter, an error is detected in the first parameter check (S3). Parameters
When the error detection unit 11 detects an error, it stores error information such as the location of the error and the type of error in the error information storage unit 1.
2 and stored in the error information storage unit 12,
Checking the next parameter, for example the second parameter (S
Move on to 4). Thereafter, in the same manner, each time an error is found in a parameter, the error information is stored in the error information storage unit 12 and the process proceeds to checking the nth parameter (S5).

最終パラメータの第nパラメータのチェック(S5)が
終了すると、パラメータ・エラー検出部11は全パラメ
ータのチェックにおいてエラーの検出の有無を確認する
(S6)。これはパラメータのエラーを検出したときに
エラーの発生を記憶する回路(図示省略)を設けておき
、全パラメータのチェックを終了したときに該回路を確
認することにより行なわれる。
When the check of the nth parameter of the final parameter (S5) is completed, the parameter error detection unit 11 confirms whether an error is detected in checking all parameters (S6). This is accomplished by providing a circuit (not shown) that stores the occurrence of an error when a parameter error is detected, and checking the circuit when all parameters have been checked.

前記の確認(S6)においてエラーが検出されたことが
確認されると、パラメータ・エラー検出部11はエラー
情報出力部12)に対してエラー情報の出力を指示する
。該エラー情報出力部13は該指示を受けると前記エラ
ー情報記憶部12よりエラー情報を順次読み出しく5l
l) 、前記保守用コンソール2に対して送出する(S
12)。保守用コンソール2においては送られたエラー
情報を印字などの方法(詳細省略)により表示する(3
13)。エラー情報の表示を確認した保守者(またはプ
ログラム作成者)はエラーの解析を行ない、コマンドの
中のパラメータの指定の誤りを探索する。エラー解析の
結果、パラメータの指定誤り箇所が発見されると、保守
者はこれを修正(S14) L、修正済みのコマンドを
再投入する(Sl)。
When it is confirmed in the above-mentioned confirmation (S6) that an error has been detected, the parameter error detection section 11 instructs the error information output section 12) to output error information. Upon receiving the instruction, the error information output section 13 sequentially reads error information from the error information storage section 12.5l
l) , is sent to the maintenance console 2 (S
12). The maintenance console 2 displays the sent error information by printing or other methods (details omitted) (3
13). After confirming the display of error information, the maintainer (or program creator) analyzes the error and searches for errors in parameter specification in the command. As a result of the error analysis, if an incorrect parameter specification is found, the maintenance person corrects it (S14) and re-enters the corrected command (Sl).

以上の如(、本発明においては、複数のパラメータを含
むコマンドに複数のエラーが存在する場合に、全パラメ
ータのチェックを終了した段階でエラー情報を一括出力
するため、エラーの解析とコマンドの投入が1度で済み
、エラー解析並びにコマンド投入時間が大幅に短縮され
る。
As described above (in the present invention, if there are multiple errors in a command that includes multiple parameters, error information is output all at once after checking all parameters, so error analysis and command input are possible. Error analysis and command input time are greatly shortened.

以上、第2図の実施例により説明を行なったが、第2図
はあ(まで本発明の一実施例に過ぎず、特に処理装置1
周辺の関連構成部分については第2図以外の構成が種々
あり得る。かかる第2図を変形した構成に対して本発明
が適用できることは明らかであり、本発明はこれらの変
形を排除するものではない。
The above explanation has been made based on the embodiment shown in FIG. 2, but FIG.
Regarding the surrounding related components, various configurations other than those shown in FIG. 2 are possible. It is clear that the present invention can be applied to configurations that are modified from FIG. 2, and the present invention does not exclude these modifications.

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

以上説明したように、本発明によれば、複数のパラメー
タを含むコマンドに複数のエラーが存在する場合に、全
パラメータのチェックを終了した段階でエラー情報を一
括出力するため、エラー解析並びにコマンド投入時間が
大幅に短縮され、コマンド投入時におけるエラー処理の
効率向上に大きな効果を有する。
As explained above, according to the present invention, when there are multiple errors in a command that includes multiple parameters, error information is output all at once once all parameters have been checked. This greatly reduces the time required and has a great effect on improving the efficiency of error handling when inputting commands.

2 ・・・・・ I O・・ である。2... I O... It is.

入出力端末 ・・−コマンド処理部 パラメータ・エラー検出手段 エラー情報記憶手段 エラー情報出力手段input/output terminal ...-Command processing section Parameter error detection means Error information storage means Error information output means

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

第1図は本発明の原理説明図、第2図は本発明の実施例
構成図、第3図は本発明の実施例フローチャート、第4
図は従来技術の構成図、第5図は従来技術のフローチャ
ートである。 図中、 1 −−−−−処理装置 本発明の実施例フローチャート 第3図 第 図
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is a configuration diagram of an embodiment of the invention, Fig. 3 is a flowchart of an embodiment of the invention, and Fig. 4 is a diagram illustrating the principle of the present invention.
The figure is a configuration diagram of the prior art, and FIG. 5 is a flowchart of the prior art. In the figure, 1 ------- Processing device Flowchart of an embodiment of the present invention Figure 3 Figure 3

Claims (1)

【特許請求の範囲】 入出力端末(2)より入力されるコマンドの処理を実行
するコマンド処理部(10)を有する処理装置(1)に
おいて、 前記コマンド処理部(10)内に、 入力コマンドに含まれる1乃至複数のパラメータを順次
チェックし、エラーが皆無であれば前記コマンドの処理
の実行に移行し、エラーを検出したときはそのつどエラ
ー情報記憶手段(12)にエラー情報を記憶せしめたの
ち次のパラメータのチェックに進み、全パラメータのチ
ェックを終了した時点でエラー情報出力手段(13)に
対して前記エラー情報記憶手段(12)に記憶せしめた
エラー情報を前記入出力端末(2)に一括出力させる指
示を行なうパラメータ・エラー検出手段(11)と、 前記パラメータ・エラー検出手段(11)より出力され
る前記エラー情報を記憶するエラー情報記憶手段(12
)と、 前記パラメータ・エラー検出手段(11)より前記エラ
ー情報を一括出力させる指示を入力したときに前記エラ
ー情報記憶手段(12)に記憶されている該エラー情報
を読み出して前記入出力端末(2)に出力するエラー情
報出力手段(13)とを備えたことを特徴とするコマン
ド・エラー検出方式。
[Scope of Claims] In a processing device (1) having a command processing unit (10) that executes processing of commands input from an input/output terminal (2), in the command processing unit (10), an input command is processed. One or more included parameters are sequentially checked, and if there are no errors, the process moves to execution of the command, and each time an error is detected, the error information is stored in the error information storage means (12). After that, proceed to check the next parameter, and when all the parameters have been checked, the error information stored in the error information storage means (12) is sent to the input/output terminal (2) to the error information output means (13). a parameter error detection means (11) that instructs the parameter error detection means (11) to output the error information in a batch; and an error information storage means (12) that stores the error information output from the parameter error detection means (11).
), and when an instruction to cause the parameter error detection means (11) to output the error information all at once is input, the error information stored in the error information storage means (12) is read out and sent to the input/output terminal ( 2) A command error detection method characterized by comprising: an error information output means (13) for outputting the error information.
JP2132928A 1990-05-23 1990-05-23 Command error detection system Pending JPH0432916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2132928A JPH0432916A (en) 1990-05-23 1990-05-23 Command error detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2132928A JPH0432916A (en) 1990-05-23 1990-05-23 Command error detection system

Publications (1)

Publication Number Publication Date
JPH0432916A true JPH0432916A (en) 1992-02-04

Family

ID=15092777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2132928A Pending JPH0432916A (en) 1990-05-23 1990-05-23 Command error detection system

Country Status (1)

Country Link
JP (1) JPH0432916A (en)

Similar Documents

Publication Publication Date Title
CN101088071A (en) Method and device for secure parameterization of electronic devices
US5438574A (en) Program debugging device and process
EP0452080B1 (en) System for controlling restoration from failure in a queue structure of control data
JPH0432916A (en) Command error detection system
JP2923997B2 (en) Finding the cause of an error in a ladder sequence program
JPH1139363A (en) Data verification system
JPH035604B2 (en)
JP4905173B2 (en) Software verification apparatus, software verification method, and software verification program
JPH01162094A (en) Key telephone system
JP2682328B2 (en) Sequencer ladder circuit automatic check device
JPH0887429A (en) Programmable controller
JP2003248597A (en) Regression test method and regression test device
JPH11134008A (en) Programmable controller
JP2022174389A (en) Monitoring control system and training scenario creation method
JPS59218527A (en) Command checking system
JPH04149866A (en) Magnetic tape subsystem tester
JPS63115273A (en) Cad system
JPS62210549A (en) Diagnosis system for information processing system
JPS6162101A (en) Sequence control system
JPH08286714A (en) Monitor device for programmable display device
JPH0310443A (en) Parameter transfer system
JPS63106870A (en) Designing device for lsi mask pattern
JPS58166465A (en) Zap data correction control system
JPH02159652A (en) Rom data verifying system of sequential machine
JPH06324893A (en) Memory check method