JPH05165512A - Automatic part program diagnostic device - Google Patents

Automatic part program diagnostic device

Info

Publication number
JPH05165512A
JPH05165512A JP35370391A JP35370391A JPH05165512A JP H05165512 A JPH05165512 A JP H05165512A JP 35370391 A JP35370391 A JP 35370391A JP 35370391 A JP35370391 A JP 35370391A JP H05165512 A JPH05165512 A JP H05165512A
Authority
JP
Japan
Prior art keywords
error
block data
syntax
part program
check
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
JP35370391A
Other languages
Japanese (ja)
Inventor
Takahide Kano
隆英 加納
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works 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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP35370391A priority Critical patent/JPH05165512A/en
Publication of JPH05165512A publication Critical patent/JPH05165512A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To add error contents to block data on which an error is present by diagnosing whether an error is present on all the block data or not by a single command format check in an automatic part program diagnostic device. CONSTITUTION:A syntax check error information storing part 6 reads in information for specifying block data on which the error is present and the information of the contents of the error from a one-block data syntax error checking part 4 and stores them. An error information addition control part 7 adds the contents of the error to the block data concerned of a part program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、数値制御装置のパート
プログラムのブロックデータの指令フォーマットをチェ
ックしてブロックデータのエラーの有無を診断するパー
トプログラム自動診断装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a part program automatic diagnosing device which checks a command format of block data of a part program of a numerical control device and diagnoses whether or not there is an error in the block data.

【0002】[0002]

【従来の技術】図7は従来のパートプログラム自動診断
装置の一例を示すブロック図である。まず、パートプロ
グラム格納部1に格納されているパートプログラムの
内、指令フォーマットのチェックを行うべく選択された
パートプログラムの1ブロック分のブロックデータSA
が1ブロックデータ読込部2に読込まれて1ブロックデ
ータ構文解釈部3に送出される。1ブロックデータ構文
解釈部3に読込まれたブロックデータSAは、Gコー
ド、Mコード、式等の指令群として認識されて解釈さ
れ、構文解釈データSBとして1ブロックデータ構文エ
ラーチェック部4に送出される。構文解釈データSBは
1ブロックデータ構文エラーチェック部4に読込まれて
Gコード、Mコード、式等の各指令フォーマットのチェ
ックが行われ、ブロックデータにエラーが存在するか否
かを通知するためのエラー診断信号SCが構文エラーチ
ェック制御部5に送出される。エラー診断信号SCは構
文エラーチェック制御部5に読込まれ、エラーが存在す
るというエラー診断信号の場合には次に読込むべきブロ
ックデータのブロック位置(以下、シーケンスリードポ
インタという)の指示は1ブロックデータ読込部2に送
出されず、パートプログラムの実行が停止される。一
方、エラーが存在しないというエラー診断信号の場合に
はシーケンスリードポインタの指示SDが1ブロックデ
ータ読込部2に送出されて上述した指令フォーマットチ
ェックが行われ、ブロックデータにエラーが無い限りパ
ートプログラムのプログラムエンドまで上述した一連の
指令フォーマットチェックが繰返される。
2. Description of the Related Art FIG. 7 is a block diagram showing an example of a conventional part program automatic diagnosis apparatus. First, of the part programs stored in the part program storage unit 1, the block data SA for one block of the part program selected for checking the command format is selected.
Is read by the 1-block data reading unit 2 and sent to the 1-block data syntax interpreting unit 3. The block data SA read by the 1-block data syntax interpreting unit 3 is recognized and interpreted as a command group of G code, M code, expression, etc., and is sent to the 1-block data syntax error checking unit 4 as syntax interpretation data SB. It The syntax interpretation data SB is read by the 1-block data syntax error check unit 4 to check each command format such as G code, M code, and expression, and to notify whether or not an error exists in the block data. The error diagnostic signal SC is sent to the syntax error check control unit 5. The error diagnostic signal SC is read by the syntax error check control unit 5, and in the case of an error diagnostic signal indicating that an error exists, the block position of the block data to be read next (hereinafter referred to as a sequence read pointer) is indicated by one block. The data is not sent to the data reading unit 2, and the execution of the part program is stopped. On the other hand, in the case of an error diagnostic signal indicating that there is no error, the instruction SD of the sequence read pointer is sent to the one-block data reading unit 2 and the above-mentioned command format check is performed. The series of command format checks described above are repeated until the program end.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のパート
プログラム自動診断装置では、指令フォーマットのチェ
ックによりエラーが存在するブロックデータのブロック
位置でパートプログラムの実行を停止させていたので、
エラーが存在するブロックデータ以降のブロックデータ
の指令フォーマットをチェックするためには指令フォー
マットチェック及びエラーの修正の動作をエラーの個数
分だけ繰返さなければならず、多大な労力と時間の無駄
であった。また、エラーが存在するブロックデータのブ
ロック位置とエラー内容をオペレータが記憶し、若しく
はメモをとらねばならず、エラーの修正時に操作ミスを
起こし易いという問題があった。本発明は上述したよう
な事情より成されたものであり、本発明の目的は、1回
の指令フォーマットチェックにより全てのブロックデー
タのエラーの有無が診断でき、またエラーが存在するブ
ロックデータにエラー内容を付加する事ができるパート
プログラム自動診断装置を提供することにある。
In the conventional part program automatic diagnosis apparatus described above, the execution of the part program is stopped at the block position of the block data in which the error exists by checking the command format.
In order to check the command format of the block data after the block data in which an error exists, it is necessary to repeat the operation of command format check and error correction for the number of errors, which is a great waste of labor and time. .. In addition, the operator has to store the block position of the block data in which the error exists and the content of the error or take a memo, which causes a problem that an operation error is likely to occur when the error is corrected. The present invention has been made under the circumstances as described above, and an object of the present invention is to diagnose whether or not there is an error in all block data by one command format check, and to make an error in the block data in which an error exists. It is to provide a part program automatic diagnosis device to which contents can be added.

【0004】[0004]

【課題を解決するための手段】本発明は、数値制御装置
のパートプログラムのブロックデータの指令フォーマッ
トをチェックしてブロックデータのエラーの有無を診断
するパートプログラム自動診断装置に関するものであ
り、本発明の上記目的は、エラーが有るブロックデータ
を特定する情報及び当該エラーの内容の情報を格納する
格納手段と、前記エラーの内容を前記パートプログラム
の該当するブロックデータに付加する情報付加手段とを
具備する事によって達成される。
SUMMARY OF THE INVENTION The present invention relates to a part program automatic diagnosis device for checking the command format of block data of a part program of a numerical control device to diagnose the presence or absence of an error in the block data. The above-mentioned object of the present invention comprises storage means for storing information specifying block data having an error and information on the content of the error, and information adding means for adding the content of the error to the corresponding block data of the part program. It is achieved by doing.

【0005】[0005]

【作用】本発明にあっては、エラーが有る全てのブロッ
クデータにエラー内容を自動的に付加するようにしてい
るので、オペレータは格納されているパートプログラム
を呼出すだけでエラーの発生したブロック位置及びエラ
ーの内容を迅速,的確に確認することができる。
In the present invention, since the error content is automatically added to all block data having an error, the operator simply calls the stored part program and the block position where the error occurs And the contents of the error can be confirmed quickly and accurately.

【0006】[0006]

【実施例】図1は本発明のパートプログラム自動診断装
置の一例を図7に対応させて示すブロック図であり、同
一構成箇所は同符号を付して説明を省略する。1ブロッ
クデータ構文エラーチェック部4から送出されたエラー
診断信号SCは構文エラーチェック制御部5に読込ま
れ、エラーが存在するというエラー診断信号の場合には
シーケンスリードポインタSHが構文チェックエラー情
報格納部6に格納される。同時に、エラーの生じたシー
ケンス名、エラー番号、エラーメッセージといった構文
チェックエラー情報SEが1ブロックデータ構文エラー
チェック部4から構文チェックエラー情報格納部6に格
納される。そして、シーケンスリードポインタの指示S
Dが構文エラーチェック制御部5から1ブロックデータ
読込部2に送出されて上述した指令フォーマットチェッ
クが行われ、パートプログラムのプログラムエンドまで
上述した一連の指令フォーマットチェックが繰返され
る。そして、プログラムエンドの指令が1ブロックデー
タ構文エラーチェック部4から構文エラーチェック制御
部5に読込まれると、構文チェックエラー情報格納部6
に格納されている構文チェックエラー情報SEの内、所
定のエラー内容を該当するブロック位置のブロックデー
タの後に付加する指示SFがエラー情報付加制御部7へ
送出される。そして、構文チェックエラー情報格納部6
に格納されている構文チェックエラー情報SEがエラー
情報付加制御部7に読込まれ、エラーがあったシーケン
スリードポインタ又はシーケンス名に該当するブロック
位置のブロックデータの後に、エラー番号、エラーメッ
セージといったエラー内容SGが付加される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an example of a part program automatic diagnosis apparatus of the present invention in correspondence with FIG. 7, and the same components are designated by the same reference numerals and the description thereof will be omitted. The error diagnostic signal SC sent from the one-block data syntax error check unit 4 is read by the syntax error check control unit 5, and in the case of an error diagnostic signal indicating that an error exists, the sequence read pointer SH indicates the syntax check error information storage unit. 6 is stored. At the same time, the syntax check error information SE such as the sequence name in which the error occurred, the error number, and the error message is stored in the syntax check error information storage unit 6 from the one-block data syntax error check unit 4. Then, the instruction S of the sequence read pointer
D is sent from the syntax error check control unit 5 to the one-block data reading unit 2 to perform the command format check described above, and the series of command format checks described above is repeated until the program end of the part program. When the program end command is read from the one-block data syntax error check unit 4 into the syntax error check control unit 5, the syntax check error information storage unit 6
In the syntax check error information SE stored in, the instruction SF for adding a predetermined error content after the block data at the corresponding block position is sent to the error information addition control unit 7. Then, the syntax check error information storage unit 6
The syntax check error information SE stored in is read into the error information addition control unit 7, and the error contents such as an error number and an error message are added after the block data of the block position corresponding to the sequence read pointer or sequence name in which the error occurred. SG is added.

【0007】図2は本発明のパートプログラム自動診断
装置における構文チェックエラー情報の格納の動作例を
示すフローチャートである。まず、選択したパートプロ
グラムが起動すると構文エラーチェック制御部5がシー
ケンスリードポインタSRPの値、ブロックデータのエ
ラーの有無を示す変数SYEの値及び構文チェックエラ
ー情報格納部6に記憶されるエラー情報記憶テーブルを
管理するエラー情報記憶カウンタCTの値を初期化する
(ステップS101)。そして、1ブロックデータ読込
部2はシーケンスリードポインタSRPの値が示すブロ
ックデータをパートプログラム格納部1から読込んで1
ブロックデータ構文解釈部3へ送出する(ステップS1
02)。1ブロックデータ構文解釈部3はブロックデー
タを解釈して構文解釈データを1ブロックデータ構文エ
ラーチェック部4へ送出する。1ブロックデータ構文エ
ラーチェック部4は構文解釈データを基に指令フォーマ
ットをチェックしてブロックデータにエラーが存在する
か否かを判定する(ステップS103、S104)。
FIG. 2 is a flow chart showing an operation example of storing syntax check error information in the part program automatic diagnosis apparatus of the present invention. First, when the selected part program is started, the syntax error check control unit 5 stores the value of the sequence read pointer SRP, the value of the variable SYE indicating the presence or absence of an error in the block data, and the error information storage stored in the syntax check error information storage unit 6. The value of the error information storage counter CT that manages the table is initialized (step S101). Then, the 1-block data reading unit 2 reads the block data indicated by the value of the sequence read pointer SRP from the part program storage unit 1 and reads 1
It is sent to the block data syntax interpreter 3 (step S1).
02). The 1-block data syntax interpreting unit 3 interprets the block data and sends the syntax-interpreting data to the 1-block data syntax error checking unit 4. The 1-block data syntax error check unit 4 checks the command format based on the syntax interpretation data and determines whether or not there is an error in the block data (steps S103 and S104).

【0008】ブロックデータにエラーが存在しない場合
には1ブロックデータ構文エラーチェック部4はエラー
が存在しないというエラー診断信号を構文エラーチェッ
ク制御部5に送出してステップS109に移行し、ブロ
ックデータにエラーが存在する場合には1ブロックデー
タ構文エラーチェック部4はエラーが存在するというエ
ラー診断信号を構文エラーチェック制御部5に送出す
る。エラーが存在するというエラー診断信号を読込んだ
構文エラーチェック制御部5は、エラー情報記憶テーブ
ルにエラーが発生したブロック位置を示すシーケンスリ
ードポインタETSRP[CT](以下、エラーシーケ
ンスリードポインタという)の値の中にシーケンスリー
ドポインタSRPの値と同じ値が存在するか否かを判定
し(ステップS105)、同じ値が存在する場合にはス
テップS109に移行し、同じ値が存在しない場合には
エラー情報記憶テーブルのエラーシーケンスリードポイ
ンタETSRP[CT]にシーケンスリードポインタS
RPの値をセットする(ステップS106)。同時に、
1ブロックデータ構文エラーチェック部4は構文チェッ
クエラー情報を構文チェックエラー情報格納部6に格納
する(ステップS107)。そして、構文エラーチェッ
ク制御部5はエラー情報記憶カウンタCTの値に1を加
算して次のエラー診断信号を取込む準備をし(ステップ
S108)、次のシーケンスリードポインタSRPをセ
ットする(ステップS109)。
When there is no error in the block data, the one-block data syntax error check unit 4 sends an error diagnostic signal indicating that there is no error to the syntax error check control unit 5 and the process moves to step S109 to write the block data. If there is an error, the one-block data syntax error check unit 4 sends an error diagnostic signal indicating that an error exists to the syntax error check control unit 5. The syntax error check control unit 5, which has read the error diagnostic signal indicating that an error exists, uses the sequence read pointer ETSRP [CT] (hereinafter referred to as an error sequence read pointer) indicating the block position where the error has occurred in the error information storage table. It is determined whether or not the same value as the value of the sequence read pointer SRP exists in the values (step S105), the process proceeds to step S109 if the same value exists, and an error occurs if the same value does not exist. The error sequence read pointer ETSRP [CT] of the information storage table is added to the sequence read pointer S.
The value of RP is set (step S106). at the same time,
The one-block data syntax error check unit 4 stores the syntax check error information in the syntax check error information storage unit 6 (step S107). Then, the syntax error check control unit 5 adds 1 to the value of the error information storage counter CT to prepare for taking in the next error diagnostic signal (step S108), and sets the next sequence read pointer SRP (step S109). ).

【0009】続いて、構文エラーチェック制御部5は1
ブロックデータ構文エラーチェック部4からプログラム
エンドの指令MO2が送出されて来たか否かを判定し
(ステップS110)、プログラムエンドの指令MO2
がまだ送出されて来ない場合はステップS102に戻っ
て上述した動作を繰返す。一方、プログラムエンドの指
令MO2が送出されて来た場合には構文エラーチェック
制御部5はエラー情報記憶カウンタCTの値を調べて選
択したパートプログラムのブロックデータにエラーが存
在したか否かを判定し(ステップS111)、エラーが
存在しない場合(CTの値が0である場合)は全ての処
理を終了し、エラーが存在する場合(CTの値が1以上
である場合)は変数SYEの値を1にし(ステップS1
12)、更にエラー情報記憶テーブルのエラーシーケン
スリードポインタETSRP[CT]に終了を示す値で
ある$FFFFFFFFを書込み(ステップS11
3)、全ての処理を終了する。
Subsequently, the syntax error check control unit 5 outputs 1
It is judged whether or not the program end command MO2 is transmitted from the block data syntax error check unit 4 (step S110), and the program end command MO2 is sent.
Is not yet sent, the process returns to step S102 and the above-described operation is repeated. On the other hand, when the program end command MO2 is sent, the syntax error check control unit 5 checks the value of the error information storage counter CT to determine whether or not there is an error in the block data of the selected part program. If there is no error (when the CT value is 0), all the processing is terminated, and if there is an error (when the CT value is 1 or more), the value of the variable SYE. To 1 (step S1
12) Further, $ FFFFFFFF, which is a value indicating the end, is written in the error sequence read pointer ETSRP [CT] of the error information storage table (step S11).
3), all processing ends.

【0010】図3は本発明のパートプログラム自動診断
装置の主要部であるエラー情報付加制御部7の動作例を
示すフローチャートである。まず、エラー情報付加制御
部7は変数SYEの値を調べ(ステップS201)、ブ
ロックデータにエラーが一つも無い場合(SYE=0)
には全ての処理を終了し、ブロックデータにエラーが有
る場合(SYE=1)にはエラー情報記憶カウンタCT
の値を初期化する(ステップS202)。次に、エラー
情報記憶テーブルのエラーシーケンスリードポインタE
TSRP[CT]の値が終了を示す値である$FFFF
FFFFであるか否かを調べ(ステップS203)、エ
ラー情報記憶テーブルのエラーシーケンスリードポイン
タETSRP[CT]の値が$FFFFFFFFである
場合は全ての処理を終了する。
FIG. 3 is a flow chart showing an operation example of the error information addition control unit 7, which is a main part of the part program automatic diagnosis apparatus of the present invention. First, the error information addition control unit 7 checks the value of the variable SYE (step S201), and if there is no error in the block data (SYE = 0).
Ends all processing, and if there is an error in the block data (SY = 1), the error information storage counter CT
Is initialized (step S202). Next, the error sequence read pointer E of the error information storage table
The value of TSRP [CT] is $ FFFF indicating the end
It is checked whether or not it is FFFF (step S203), and if the value of the error sequence read pointer ETSRP [CT] in the error information storage table is $ FFFFFFFF, all processing is ended.

【0011】一方、エラー情報記憶テーブルのエラーシ
ーケンスリードポインタETSRP[CT]の値が$F
FFFFFFFでない場合には構文チェックエラー情報
格納部6からエラー情報記憶カウンタCTの値に対応す
る構文チェックエラー情報を読込み(ステップS20
4)、選択したパートプログラムの中からエラー情報記
憶テーブルのエラーシーケンスポインタETSRP[C
T]の値に対応するブロックデータのブロック位置を検
索し(ステップS205)、検索したブロック位置のブ
ロックデータの後に構文チェックエラー情報のエラー内
容を付加する(ステップS206)。その後、エラー情
報記憶カウンタCTの値に1を加算して次の構文チェッ
クエラー情報を取込む準備をし(ステップS207)、
ステップS203に戻って上述した動作を繰返す。
On the other hand, the value of the error sequence read pointer ETSRP [CT] in the error information storage table is $ F.
If not FFFFFFF, the syntax check error information corresponding to the value of the error information storage counter CT is read from the syntax check error information storage unit 6 (step S20).
4), error sequence pointer ETSRP [C of the error information storage table from the selected part program
The block position of the block data corresponding to the value of [T] is searched (step S205), and the error content of the syntax check error information is added after the block data of the searched block position (step S206). Then, 1 is added to the value of the error information storage counter CT to prepare for fetching the next syntax check error information (step S207),
It returns to step S203 and repeats the above-mentioned operation.

【0012】例えば図4に示す様なエラーを含むパート
プログラムを本発明装置を用いて診断する場合を説明す
る。図4のパートプログラムはO0010のメインプロ
グラム及びO500のサブプログラムから構成されてお
り、メインプログラムがO0010のブロックを含み2
01シーケンスあり、サブプログラムがO500のブロ
ックを含み61シーケンスある。メインプログラムはN
001からN200までのシーケンス名が付けられ、サ
ブプログラムはN501からN560までのシーケンス
名が付けられている。パートプログラムはシーケンス名
N030、N056、N150、N501、N530の
5つのブロックデータにエラーを含んでおり、エラーが
起こる順番はパートプログラムの先頭から実行するとシ
ーケンス名N030、N056、N501、N530、
N150となる。従って、シーケンスリードポインタは
O0010を1番目とすると各ブロックデータの実行順
序となるので、N030は31、N056は57、N5
01は103、N530は133、N150は151と
なる。そして、このパートプログラムを実行すると、図
5に示すようなエラー情報記憶テーブルのエラー情報記
憶カウンタCTの値0〜4に各エラーシーケンスリード
ポインタETSRP[CT]、シーケンス名及びエラー
内容が順次記憶され、プログラムエンドでエラー情報記
憶カウンタCTの値5に終了を示す値$FFFFFFF
Fが記憶される。そして、図6に示すようにシーケンス
リードポインタETSRP[CT]が示すブロックデー
タの後にエラー内容及びエラー内容であることを示すカ
ッコ( )が付加される。
A case in which a part program including an error as shown in FIG. 4, for example, is diagnosed using the apparatus of the present invention will be described. The part program of FIG. 4 is composed of a main program of O0010 and a subprogram of O500, and the main program includes a block of O0010.
There are 01 sequences, and there are 61 sequences in which the subprogram includes a block of O500. Main program is N
The sequence names 001 to N200 are given, and the subprograms are given sequence names N501 to N560. The part program contains an error in five block data of sequence names N030, N056, N150, N501, N530, and the order in which the errors occur is sequence names N030, N056, N501, N530, when executed from the beginning of the part program.
It becomes N150. Therefore, when the sequence read pointer is set to O0010 as the first, it becomes the execution order of each block data, so N030 is 31, N056 is 57, and N5 is
01 becomes 103, N530 becomes 133, and N150 becomes 151. When this part program is executed, each error sequence read pointer ETSRP [CT], sequence name and error content are sequentially stored in the values 0 to 4 of the error information storage counter CT of the error information storage table as shown in FIG. , Value $ FFFFFFF indicating the end to the value 5 of the error information storage counter CT at the program end
F is stored. Then, as shown in FIG. 6, after the block data indicated by the sequence read pointer ETSRP [CT], error contents and parentheses () indicating the error contents are added.

【0013】[0013]

【発明の効果】以上の様に本発明のパートプログラム自
動診断装置によれば、1回の指令フォーマットチェック
により全てのブロックデータのエラーの有無が診断で
き、またエラーの発生したブロック位置及びエラーの内
容の確認が容易になるので、オペレータはパートプログ
ラムの修正操作を短時間で確実に行える様になり、作業
効率を大幅に向上させることができる。
As described above, according to the part program automatic diagnosing device of the present invention, the presence / absence of an error in all block data can be diagnosed by a single command format check, and the block position in which the error occurs and the error Since the contents can be easily confirmed, the operator can surely correct the part program in a short time, and the working efficiency can be greatly improved.

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

【図1】本発明のパートプログラム自動診断装置の一例
を示すブロック図である。
FIG. 1 is a block diagram showing an example of a part program automatic diagnosis device of the present invention.

【図2】本発明装置による構文チェックエラー情報の格
納の動作例を示すフローチャートである。
FIG. 2 is a flowchart showing an operation example of storing syntax check error information by the device of the present invention.

【図3】本発明装置の主要部の動作例を示すフローチャ
ートである。
FIG. 3 is a flowchart showing an operation example of a main part of the device of the present invention.

【図4】エラーを含むパートプログラムの一例を示す図
である。
FIG. 4 is a diagram showing an example of a part program including an error.

【図5】本発明装置における構文チェックエラー情報の
一例を示す図である。
FIG. 5 is a diagram showing an example of syntax check error information in the device of the present invention.

【図6】本発明装置によりエラーの内容が付加されたパ
ートプログラムの一例を示す図である。
FIG. 6 is a diagram showing an example of a part program to which error contents are added by the device of the present invention.

【図7】従来のパートプログラム自動診断装置の一例を
示すブロック図である。
FIG. 7 is a block diagram showing an example of a conventional part program automatic diagnosis device.

【符号の説明】[Explanation of symbols]

6 構文エラーチェック情報格納部 7 エラー情報付加制御部 6 Syntax error check information storage unit 7 Error information addition control unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】数値制御装置のパートプログラムのブロッ
クデータの指令フォーマットをチェックしてブロックデ
ータのエラーの有無を診断するパートプログラム自動診
断装置において、エラーが有るブロックデータを特定す
る情報及び当該エラーの内容の情報を格納する格納手段
と、前記エラーの内容を前記パートプログラムの該当す
るブロックデータに付加する情報付加手段とを備えた事
を特徴とするパートプログラム自動診断装置。
1. In a part program automatic diagnosis device for checking the command format of block data of a part program of a numerical control device to diagnose whether or not there is an error in the block data, information for specifying the block data having an error and the error information. An automatic part program diagnostic device comprising: storage means for storing content information; and information addition means for adding the content of the error to the corresponding block data of the part program.
【請求項2】前記エラーが有るブロックデータを特定す
る情報が前記パートプログラムのシーケンス番号である
請求項1に記載のパートプログラム自動診断装置。
2. The part program automatic diagnosis device according to claim 1, wherein the information for specifying the block data having the error is a sequence number of the part program.
JP35370391A 1991-12-18 1991-12-18 Automatic part program diagnostic device Pending JPH05165512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35370391A JPH05165512A (en) 1991-12-18 1991-12-18 Automatic part program diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35370391A JPH05165512A (en) 1991-12-18 1991-12-18 Automatic part program diagnostic device

Publications (1)

Publication Number Publication Date
JPH05165512A true JPH05165512A (en) 1993-07-02

Family

ID=18432649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35370391A Pending JPH05165512A (en) 1991-12-18 1991-12-18 Automatic part program diagnostic device

Country Status (1)

Country Link
JP (1) JPH05165512A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010015509A (en) * 2008-07-07 2010-01-21 Mori Seiki Co Ltd Machining program checking apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010015509A (en) * 2008-07-07 2010-01-21 Mori Seiki Co Ltd Machining program checking apparatus

Similar Documents

Publication Publication Date Title
KR950006619B1 (en) Improved error reporting for translated code execution
US8028278B2 (en) Method of generating and utilizing debug history
EP0403415A2 (en) System and method for detecting and diagnosing errors in a computer program
US20080127113A1 (en) Method and system for implementing watchpoints
CN113434328B (en) Logic configuration compiling error correction method and system for distributed control system
US20030208746A1 (en) Conditional breakpoint encountered indication
JPWO2006011474A1 (en) Program generation device for programmable controller, program generation method for programmable controller, and recording medium recording program of the method
US20120110383A1 (en) Method and apparatus for off-line analyzing crashed programs
US6240529B1 (en) Debugging method and debugging apparatus for microcomputer system and recording medium on which debug program is recorded
JPH05165512A (en) Automatic part program diagnostic device
JP2007058265A (en) Log output controller and log output control program
JP3459898B2 (en) Fault information tracer for embedded systems
JP2570593B2 (en) Debug device
CN117520155B (en) RPA flow debugging method and device, electronic equipment and storage medium
JPH0934754A (en) Instrument and method for measuring performance of program
JPS6052459B2 (en) Microprogram control method
JPH0269837A (en) Program debug support device
JP4000864B2 (en) Development support apparatus, program product, and automatic monitoring method
JP4716929B2 (en) Program debug support processing apparatus, communication adapter, and program debug support processing program
CN116204932A (en) Executable file tracing method and device, electronic equipment and storage medium
JPH04178838A (en) List output system for language processing system
JPH06101045B2 (en) Data flow type information processing device simulation device
JPS5849900B2 (en) Diagnosis method during IPL
JP2560545B2 (en) Interface inspection processor
JPS63156264A (en) Processing system for change of network constitution