JPH0695724A - Method and device for checking working program - Google Patents

Method and device for checking working program

Info

Publication number
JPH0695724A
JPH0695724A JP4247937A JP24793792A JPH0695724A JP H0695724 A JPH0695724 A JP H0695724A JP 4247937 A JP4247937 A JP 4247937A JP 24793792 A JP24793792 A JP 24793792A JP H0695724 A JPH0695724 A JP H0695724A
Authority
JP
Japan
Prior art keywords
program
machining program
machine
check
machining
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.)
Granted
Application number
JP4247937A
Other languages
Japanese (ja)
Other versions
JP2707031B2 (en
Inventor
Sadafumi Shichizawa
禎文 七沢
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4247937A priority Critical patent/JP2707031B2/en
Publication of JPH0695724A publication Critical patent/JPH0695724A/en
Application granted granted Critical
Publication of JP2707031B2 publication Critical patent/JP2707031B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To check the interference and the movement of a shape locus properly switching each check by successively reading out blocks of a working program and discriminating whether the program corresponds to a program code of dry run or that of graphic check. CONSTITUTION:The program code to check the working program with dry run and the program code for, for example, graphic check independent of the dry run are individually designated and are registered in a switching condition storage part 23. A working program analysis part 20 successively reads out blocks of the working program, and a check means switching part 21 discriminates which program code the program corresponds to. If the program should be checked with the dry run, a working program execution part 24 performs, the dry run; but if it should be subjected to graphic check, the part 24 performs the graphic check.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は放電加工機等を制御す
るのに使用される数値制御装置の加工プログラムのチェ
ック方法及びその装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for checking a machining program of a numerical control device used for controlling an electric discharge machine and the like, and a device therefor.

【0002】[0002]

【従来の技術】従来、例えば放電加工機の加工プログラ
ムのチェック方法としては、実機を動作させるドライラ
ンによる方法と、数値制御装置(以下NCという)の画
面上で動作させるグラフィックチェックによる方法の2
種類がある。
2. Description of the Related Art Conventionally, as a method of checking a machining program of, for example, an electric discharge machine, there are two methods: a dry run method for operating an actual machine and a graphic check method for operating on a screen of a numerical controller (hereinafter referred to as NC).
There are types.

【0003】図3は従来のこの種の放電加工装置の構成
を示すブロック図である。図において、1はNC、10
はNC1の中のCPU、11はシステムプログラム及び
ユーザプログラムを格納しておくメモリ、12は表示用
インターフェース、13は表示用インターフェース12
と接続されるCRT、14はキーボードインターフェー
ス、15はキーボードインターフェース14と接続され
る設定パネル及びキーボード、16はサーボインターフ
ェース、17はサーボインターフェース16と接続され
るサーボアンプ、18は接点インターフェースであり、
19はFLD、RS−232C等の入力機器と接続され
る入出力インターフェースである。2はサーボアンプ1
7により駆動されるサーボモータである。3は機械本体
及び電源であり、接点インターフェース18を介して制
御される。4はFLD、RS−232C等の入出力機器
であり、入出力インターフェース19を介して入出力信
号が授受される。
FIG. 3 is a block diagram showing the structure of a conventional electric discharge machine of this type. In the figure, 1 is NC, 10
Is a CPU in NC1, 11 is a memory for storing system programs and user programs, 12 is a display interface, and 13 is a display interface 12
CRT connected to, 14 is a keyboard interface, 15 is a setting panel and keyboard connected to the keyboard interface 14, 16 is a servo interface, 17 is a servo amplifier connected to the servo interface 16, 18 is a contact interface,
Reference numeral 19 is an input / output interface connected to an input device such as FLD or RS-232C. 2 is servo amplifier 1
Servo motor driven by 7. Reference numeral 3 denotes a machine body and a power source, which are controlled via the contact interface 18. Reference numeral 4 denotes an input / output device such as FLD and RS-232C, and input / output signals are exchanged via the input / output interface 19.

【0004】次に、加工プログラムのチェック動作につ
いて説明する。まず、ドライランのチェック動作につい
て説明する。ドライランは、加工電源をオンせずに加工
プログラムの指令を実行し、動きを確認するものであ
る。設定パネル又はキーボード15からドライランを指
定し、加工プログラムをスタートすると接点インターフ
ェース18から加工電源オンの指令が出ないだけでその
他の指令は実行される。チェックする作業者は、その機
械の動きを見て、加工プログラムが意図したものか否か
を判断する。
Next, the checking operation of the machining program will be described. First, a dry run check operation will be described. The dry run is to confirm the movement by executing the command of the machining program without turning on the machining power supply. When the dry run is designated from the setting panel or the keyboard 15 and the machining program is started, the machining interface power-on command is not issued from the contact interface 18, and other commands are executed. The operator who checks checks the movement of the machine and determines whether or not the machining program is intended.

【0005】次に、グラフィックチェックの動作を説明
する。グラフィックチェックは、機械を動かさないでC
RT画面上で機械の動きを模擬するものである。設定パ
ネル又はキーボード15からグラフィックチェックを指
定して、加工プログラムのチェックを開始するとサーボ
インターフェース16及び接点インターフェース18か
らは何も指令は出ずに、表示インターフェース12を介
してCRT13に機械の移動軌跡が描画される。チェッ
クする作業者は、その描画した形状を見て加工プログラ
ムが意図したものか否かを判断する。
Next, the operation of the graphic check will be described. Graphic check C without moving the machine
It simulates the movement of the machine on the RT screen. When the graphic check is specified from the setting panel or the keyboard 15 and the check of the machining program is started, no command is issued from the servo interface 16 and the contact interface 18, and the movement trajectory of the machine is displayed on the CRT 13 via the display interface 12. Is drawn. The operator who checks checks the drawn shape to determine whether or not the machining program is intended.

【0006】[0006]

【発明が解決しようとする課題】従来の加工プログラム
のチェックは以上のようになされていたために、以下の
問題点があった。ドライランによる加工プログラムのチ
ェックを行う場合は、動きが加工プログラムに忠実であ
るが故に、電極と被加工物とのセッティングが既に済
み、位置決めも完了しているような場合には、プログラ
ムチェックの為に電極或いは被加工物をいったん取り外
すか、座標位置を変更する必要がある。また、接触検出
による自動位置決めがある加工プログラムでは、強制的
に接触検出するように操作する必要がある。また、グラ
フィックチェックを行った場合には、軸の移動について
はチェックできるが、電極と被加工物の押さえ金具等と
の干渉については全くチェックできず、形状軌跡のチェ
ックにとどまっていた。
Since the conventional machining program has been checked as described above, there are the following problems. When checking the machining program by dry run, since the movement is faithful to the machining program, if the setting of the electrode and the workpiece is already completed and the positioning is completed, it is necessary to check the program. Then, it is necessary to remove the electrode or the work piece once or change the coordinate position. Further, in a machining program that has automatic positioning by contact detection, it is necessary to perform an operation so as to forcibly detect contact. In addition, when the graphic check is performed, the movement of the shaft can be checked, but the interference between the electrode and the metal fitting of the workpiece cannot be checked at all, and only the shape locus is checked.

【0007】この発明は、このような問題点を解決する
ためになされたものであり、機械を実際に移動させるチ
ェック方法又は機械を実際に移動させずに行うチェック
方法のいずれかを適宜指定して、前者のチエック方法に
より例えば加工のピッチや電極と被加工物の押さえ金具
等の干渉に関するチェックを行い、後者のチェック方法
により形状軌跡と電極の深さ方向の移動チェックを行う
ことができるようにした加工プログラムチエック方法及
びその装置を提供することを目的とする。
The present invention has been made in order to solve such a problem, and appropriately specifies either a check method for actually moving the machine or a check method for performing the operation without actually moving the machine. Therefore, the former check method can be used to check, for example, the machining pitch and the interference between the electrode and the metal fitting of the workpiece, and the latter check method can be used to check the shape trajectory and the movement of the electrode in the depth direction. To provide a machining program check method and an apparatus therefor.

【0008】[0008]

【課題を解決するための手段】この発明に係る加工プロ
グラムのチェック方法は、機械を移動させて加工プログ
ラムをチェックするプログラムコードと機械の移動を伴
わなずに加工プログラムをチェックするプログラムコー
ドとを個別に指定して登録しておき、加工プログラムの
各ブロックを順次読み出していずれのプログラムコード
に該当するかを判定し、機械を移動させてチェックする
プログラムに該当すればその加工プログラムの実行によ
り機械を移動させてドライランをし、機械の移動を伴わ
なわずにチェックするプログラムに該当すればその加工
プログラムを実行するが、機械を移動させずに、その移
動軌跡を描画してグラフィックチェックをさせる。
A machining program checking method according to the present invention includes a program code for moving a machine to check the machining program and a program code for checking the machining program without moving the machine. It is individually specified and registered, each block of the machining program is read sequentially to determine which program code corresponds, and if it corresponds to the program to move and check the machine, the machining program is executed to execute the machine Is executed to perform a dry run, and the machining program is executed if it corresponds to a program that is checked without moving the machine, but the moving locus is drawn and the graphic check is performed without moving the machine.

【0009】この発明に係る加工プログラムのチェック
装置は、機械を移動させて加工プログラムをチェックす
るプログラムコードと機械を移動させずに加工プログラ
ムをチェックするプログラムコードとが個別に指定され
て記憶される切り換え条件記憶手段と、加工プログラム
を1ブロックずつ読み出して解析する加工プログラム解
析手段と、加工プログラム解析部で解析された加工プロ
グラムが切り換え条件記憶手段に記憶されているプログ
ラムコードのいずれに該当するかを判別し、機械を移動
にさせて加工プログラムをチェックするプログラムに該
当すれば第1のチェック信号を出力し、機械を移動させ
ずに加工プログラムをチェックするプログラムに該当す
れば第2のチェック信号を出力する切り換え判別手段
と、第1のチェック信号が入力された場合には該当する
加工プログラムを実行して機械を移動させてドライラン
をさせ、第2のチェック信号が入力された場合には該当
する加工プログラムを実行するが、機械を移動させず
に、その移動軌跡を描画させてグラフィックチェックを
させる加工プログラム実行部とを有する。
In the machining program checking apparatus according to the present invention, a program code for checking the machining program by moving the machine and a program code for checking the machining program without moving the machine are individually designated and stored. Which of the switching condition storage means, the processing program analysis means for reading and analyzing the processing program block by block, and the program code stored in the switching condition storage means corresponds to the processing program analyzed by the processing program analysis unit? The first check signal if it corresponds to the program that judges the machining program by moving the machine and checks the machining program, and the second check signal if the program checks the machining program without moving the machine. Switching determination means for outputting No. is input, the corresponding machining program is executed to move the machine to dry run, and when the second check signal is input, the corresponding machining program is executed, but the machine is moved. Instead, it has a processing program execution unit that draws the movement locus and performs a graphic check.

【0010】[0010]

【作用】この発明においては、実際に機械を移動しない
とチェックできない加工については、機械を移動させて
加工プログラムをチェックするプログラムコードを登録
しておき、チェックのために機械を移動することのでき
ない部分又は機械を移動してもチェックしにくい部分の
加工については、機械の移動を伴わなずにチェックする
プログラムコードを登録しておく。従って、加工プログ
ラムの各ブロックを順次読み出されると、そのプログラ
ムがいずれのプログラムコードに該当するかが判定さ
れ、機械を移動させてチェックするプログラムに該当す
ればその加工プログラムの実行により機械を移動させて
ドライランをさせ、その移動軌跡を作業者が見てチェッ
クし、機械の移動を伴わなわずにチェックするプログラ
ムにであれば、その加工プログラムを実行するが機械を
移動させずに、その移動軌跡を描画させてグラフィック
チェックをさせる。このようにして2つのチェック方法
が自動的に切り換えられる。
In the present invention, for machining that cannot be checked without actually moving the machine, it is impossible to move the machine and register a program code for checking the machining program, and move the machine for checking. For machining a part or a part that is difficult to check even if the machine is moved, a program code to be checked without moving the machine is registered. Therefore, when each block of the machining program is sequentially read, it is determined which program code the program corresponds to, and if it corresponds to the program to move and check the machine, the machine is moved by executing the machining program. If the program is a program that allows the operator to check the movement locus by performing a dry run by checking the movement locus without moving the machine, the machining program is executed, but the movement locus without moving the machine. To draw a graphic check. In this way, the two checking methods are automatically switched.

【0011】[0011]

【実施例】図1はこの発明の一実施例の放電加工機の加
工プログラムのチェック装置の構成を示すブロック図で
ある。図1において、20は加工プログラム解析部、2
1はチェック手段切り換え判別部、22はチェック手段
の切り換え条件登録部、23はチェック手段の切り換え
条件記憶部であり、24は加工プログラム実行部であ
る。これらの符号20〜24にて示された各部は図3の
CPU10及びメモリ11により実現される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the structure of a machining program checking device for an electric discharge machine according to an embodiment of the present invention. In FIG. 1, 20 is a machining program analysis unit, 2
Reference numeral 1 is a check means switching determination unit, 22 is a check condition switching condition registration unit, 23 is a check unit switching condition storage unit, and 24 is a machining program execution unit. The respective units indicated by reference numerals 20 to 24 are realized by the CPU 10 and the memory 11 of FIG.

【0012】次に動作について説明する。図3の設定パ
ネル又はキーボード15を操作して加工プログラムのチ
ェック装置に切り換え条件を入力する。加工プログラム
のチェック装置の切り換え条件とは、加工プログラムに
おけるどのコードがドライランで行うか又はグラフィッ
クチェックで行うかの判断基準となるものである。本実
施例では、ドライランで行うコードを、早送り指令(G
0)、原点復帰指令(G28)、自動端面面位置決め
(G29)、自動穴中心位置決め(G30)、自動柱中
心位置決め(G31)、多数座標系(G53,G54〜
G59)、加工入り/切りのM指令(M84,M85)
を除く全てのM指令、加工条件切り換え指令及び電極交
換指令に条件つける。また、グラフィックチェックで行
うコードを、直線補間指令(G1)、円弧補間(G2,
G3)、サーボモード(G10,G11,G12)、ジ
ャンプ方向(G13)、揺動加工(G26,G23)及
びオフセット指令(G40,G41,G42)に条件つ
ける。その他のコードはドライラン又はグラフィックチ
ェックのいずれかのコードに条件つける。
Next, the operation will be described. By operating the setting panel or the keyboard 15 of FIG. 3, the switching condition is input to the checking device of the machining program. The switching condition of the checking device of the machining program is a criterion for determining which code in the machining program is used for dry run or graphic check. In the present embodiment, the code performed in the dry run is the fast-forward command (G
0), origin return command (G28), automatic end face positioning (G29), automatic hole center positioning (G30), automatic column center positioning (G31), multiple coordinate system (G53, G54-
G59), M command for entering / cutting processing (M84, M85)
Except for M command, machining condition switching command and electrode replacement command. In addition, the code executed in the graphic check is the linear interpolation command (G1), the circular interpolation (G2,
G3), servo mode (G10, G11, G12), jump direction (G13), swing machining (G26, G23), and offset command (G40, G41, G42). Other codes are conditional on either dry run or graphic check codes.

【0013】これらの入力した条件は切り換え条件登録
手段22により解析され、そして、切り換え条件記憶部
23に記憶される。本実施例による加工プログラムのチ
ェックが開始されると、加工プログラム解析部20は図
3のメモリ11から加工プログラムを1ブロックずつ順
次読み出してそれを解析する。そして、チェック手段切
り換え判別部21は1ブロック毎に切り換え条件記憶部
23に記憶されている条件と加工プログラムの解析結果
とからドライランの条件か或いはグラフィックチェック
の条件かを判別し、ドライランの条件ならばドライラン
信号25をオンし、グラフィックチェックの条件ならば
グラフィックチェック信号26をオンし、どちらの条件
でもなければドライラン信号25をオンする。
These input conditions are analyzed by the switching condition registration means 22 and then stored in the switching condition storage unit 23. When the check of the machining program according to the present embodiment is started, the machining program analysis unit 20 sequentially reads the machining program block by block from the memory 11 in FIG. 3 and analyzes it. Then, the checking means switching discriminating unit 21 discriminates, for each block, the dry run condition or the graphic check condition from the condition stored in the switching condition storage unit 23 and the analysis result of the machining program. For example, the dry run signal 25 is turned on, the graphic check signal 26 is turned on under the condition of the graphic check, and the dry run signal 25 is turned on under neither condition.

【0014】加工プログラム実行部24では、加工プロ
グラム解析部20で解析された加工プログラム情報、及
びドライラン信号25又はグラフィックチェック信号2
6に基いて該当する信号に従った動作を実行する。即
ち、ドライラン信号25が入力された場合には、加工電
源をオンせずに加工プログラムの指令を実行し、接点イ
ンターフェース18から加工電源オンの指令が出ないだ
けでその他の指令は実行される。チェックする作業者
は、その機械の動きを見て、加工プログラムが意図した
ものであるどうかを判断する。グラフィックチェック信
号26が入力された場合には、加工プログラムを実行す
るが、サーボインターフェース16及び接点インターフ
ェース18からは何も指令は出ずに、表示インターフェ
ース12を介してCRT13に機械の移動軌跡が描画さ
れる。チェックする作業者は、その描画した形状を見て
加工プログラムが意図したものかどうかを判断する。
In the machining program executing section 24, the machining program information analyzed by the machining program analyzing section 20 and the dry run signal 25 or the graphic check signal 2 are processed.
Based on 6, the operation according to the corresponding signal is executed. That is, when the dry run signal 25 is input, the machining program command is executed without turning on the machining power supply, and the machining interface power-on command is not issued from the contact interface 18, and other commands are executed. The operator who checks checks the movement of the machine to determine whether the machining program is the one intended. When the graphic check signal 26 is input, the machining program is executed, but no command is output from the servo interface 16 and the contact interface 18, and the movement trajectory of the machine is drawn on the CRT 13 via the display interface 12. To be done. The operator who checks checks the drawn shape to determine whether the machining program is the intended one.

【0015】図2はチェック手段切り換え判別部21の
動作を示したフローチャートである。チェック手段切り
換え判別部21は、加工プログラム解析部20から加工
プログラムを1ブロック分読み込む(S1)。そして、
その読み込んだプログラムがプログラム終了を意味する
か否かを判別し(S2)、終了ならば処理を終了し、終
了でなければ、読み込んだ1ブロックのコードを取り出
し(S3)、チェック手段切り換え条件記憶部23から
登録済みのデータを取り出す(S4)。チェック手段切
り換え判別部21は読み込んだ1ブロックのコードと切
り換え条件記憶部23からの登録済みのデータとを比較
して一致するか否かを判別し(S5)、一致していない
ならば次に切り換え条件記憶部23の登録済みのデータ
がもう無いか否かを判別し(S6)、もし無いならステ
ップS9へ進み、まだあるならば更に次のデータを取り
出す為にステップS4に進み上述の処理を繰り返す。
FIG. 2 is a flow chart showing the operation of the checking means switching discriminating section 21. The check means switching determination unit 21 reads one block of the machining program from the machining program analysis unit 20 (S1). And
It is determined whether or not the read program means the end of the program (S2), and if it is finished, the process is ended. If it is not finished, the code of the read one block is taken out (S3), and the check means switching condition storage The registered data is retrieved from the unit 23 (S4). The check means switching determination unit 21 compares the read one block code with the registered data from the switching condition storage unit 23 to determine whether they match (S5). It is determined whether or not there is already registered data in the switching condition storage unit 23 (S6), and if there is no data, the process proceeds to step S9, and if there is more data, the process proceeds to step S4 to retrieve the next data, and the above-mentioned processing is performed. repeat.

【0016】チェック手段切り換え判別部21が読み込
んだ1ブロックのコードと切り換え条件記憶部23から
の登録済みのデータとが一致していると判別したときに
は(S5)、その1ブロックがグラフィックのチェック
対象となっているコードか否かを判別し、グラフィック
チェックの対象となっているコードであるならばグラフ
ィックチェック信号25をオンし(S8)、それ以外な
らばドライラン信号26をオンする(S9)。そして、
加工プログラム実行部24読み込んだ1ブロックをグラ
フィックチェック信号25又はドライラン信号26に基
いて上述のように実行し、グラフィックチェック又はド
ライランで実行する(S10)。この1ブロック分の処
理が終了すると、チェック手段切り換え判別部21は加
工プログラムが終了するまで(S2)上述の処理を繰り
返す。
When the checking means switching discriminating unit 21 discriminates that the code of one block read and the registered data from the switching condition storing unit 23 match (S5), the one block is a graphic check target. It is determined whether or not the code is the code, and if the code is the object of the graphic check, the graphic check signal 25 is turned on (S8), and if not, the dry run signal 26 is turned on (S9). And
The one block read by the machining program execution unit 24 is executed as described above based on the graphic check signal 25 or the dry run signal 26, and is executed by the graphic check or dry run (S10). When the processing for this one block is completed, the checking means switching determination unit 21 repeats the above-described processing until the machining program is completed (S2).

【0017】なお、本実施例では、機械を実際に移動さ
せるチェック方法としてドライランのモード、機械を実
際に移動させずにチェックする方法としてグラフィック
チェックのモードの例を示したが、この両者を分類する
コ−ドは他の表現方法によってもよい。また、機械を実
際にに移動させるドライランのチェック方法において
は、電極等の移動がX−Y平面上で不連続にならないよ
うにモード設定をする必要がある。更に、この発明の加
工プログラムのチェックの対象は放電加工装置のみなら
ず、NC工作機械の加工プログラムもその対象となる。
In this embodiment, the dry run mode is used as a check method for actually moving the machine, and the graphic check mode is used as a check method without actually moving the machine. The code to be executed may be expressed by another method. Further, in the dry run check method of actually moving the machine, it is necessary to set the mode so that the movement of the electrodes and the like does not become discontinuous on the XY plane. Further, not only the electric discharge machining apparatus but also the machining program of the NC machine tool is the target of the checking of the machining program of the present invention.

【0018】[0018]

【発明の効果】以上のようにこの発明によれば、実際に
機械を動かさなければチェックのできない電極と被加工
物の押さえ金具等の干渉や加工箇所のチェックと、実際
に機械を動かすと本当のチェックができない加工深さや
自動位置決め等のチェックとを適宜切り換えて行えるよ
うにしたので、加工プログラムのチェックが従来に比べ
てより正確にかつ分かり易いものとなっている。
As described above, according to the present invention, if the machine is actually moved, the interference between the electrode and the work piece holding metal fitting, which cannot be checked unless the machine is actually operated, and the processing location are checked. Since it is possible to appropriately switch between checking of machining depth, automatic positioning, etc., which is not possible to check, the checking of the machining program is more accurate and easier to understand than in the past.

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

【図1】本発明の一実施例における加工プログラムのチ
ェック装置の構成図を示すブロック図である。
FIG. 1 is a block diagram showing a configuration diagram of a machining program checking device according to an embodiment of the present invention.

【図2】図1のチェック手段切り換え判別部の動作を示
したフローチャートである。
FIG. 2 is a flow chart showing an operation of a check means switching discriminating unit in FIG.

【図3】従来の放電加工装置の構成図である。FIG. 3 is a configuration diagram of a conventional electric discharge machine.

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

1 NC 2 サーボモータ 3 機械本体及び電源 4 入出力機器 10 CPU 11 メモリ 12 表示用インターフェース 13 CRT 14 キーボードインターフェース 15 設定パネル及びキーボード 16 サーボインターフェース 17 サーボアンプ 18 接点インターフェース 19 入出力インターフェース 20 加工プログラム解析部 21 チェック手段切り換え判別部 22 切り換え条件登録部 23 切り換え条件記憶部 24 加工プログラム実行部 1 NC 2 Servo motor 3 Machine main body and power supply 4 Input / output device 10 CPU 11 Memory 12 Display interface 13 CRT 14 Keyboard interface 15 Setting panel and keyboard 16 Servo interface 17 Servo amplifier 18 Contact interface 19 Input / output interface 20 Processing program analysis section 21 Checking means switching determination section 22 Switching condition registration section 23 Switching condition storage section 24 Machining program execution section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 機械を移動させて加工プログラムをチェ
ックするプログラムコードと機械の移動を伴わなずに加
工プログラムをチェックするプログラムコードとを個別
に指定して登録しておき、 加工プログラムの各ブロックを順次読み出していずれの
プログラムコードに該当するかを判定し、機械を移動さ
せてチェックするプログラムに該当すればその加工プロ
グラムの実行により機械を移動させてドライランをし、
機械の移動を伴わなわずにチェックするプログラムであ
ればその加工プログラムを実行するが、機械を移動させ
ずに、その移動軌跡を描画してグラフィックチェックを
させる加工プログラムのチェック方法。
1. A program code for checking a machining program by moving a machine and a program code for checking a machining program without moving the machine are individually designated and registered, and each block of the machining program is registered. Is read sequentially to determine which program code is applicable, and if the program corresponds to a program that moves and checks the machine, the machine is moved by executing the machining program to perform a dry run,
A machining program check method that executes a machining program if it is a program that checks without moving the machine, but draws the movement trajectory and does a graphic check without moving the machine.
【請求項2】 機械を移動させて加工プログラムをチェ
ックするプログラムコードと機械を移動させずに加工プ
ログラムをチェックするプログラムコードとが個別に指
定されて記憶される切り換え条件記憶手段と、 加工プログラムを1ブロックずつ読み出して解析する加
工プログラム解析手段と、 該加工プログラム解析部で解析された加工プログラムが
切り換え条件記憶手段に記憶されているプログラムコー
ドのいずれに該当するかを判別し、機械を移動にさせて
加工プログラムをチェックするプログラムに該当すれば
第1のチェック信号を出力し、機械を移動させずに加工
プログラムをチェックするプログラムに該当すれば第2
のチェック信号を出力する切り換え判別手段と、 前記第1のチェック信号が入力された場合には該当する
加工プログラムを実行して機械を移動させてドライラン
をさせ、前記第2のチェック信号が入力された場合には
該当する加工プログラムを実行するが、機械を移動させ
ずに、その移動軌跡を描画させてグラフィックチェック
をさせる加工プログラム実行部とを有する加工プログラ
ムのチェック装置。
2. A switching condition storage means in which a program code for checking the machining program by moving the machine and a program code for checking the machining program without moving the machine are individually designated and stored, and a machining program It is determined which one of the machining program analysis means for reading and analyzing one block at a time and the machining code analyzed by the machining program analysis part corresponds to the program code stored in the switching condition storage means, and the machine is moved. If it corresponds to the program for checking the machining program, the first check signal is output, and if it corresponds to the program for checking the machining program without moving the machine, the second signal is output.
Switching determination means for outputting a check signal, and when the first check signal is input, a corresponding machining program is executed to move the machine to perform a dry run, and the second check signal is input. If the machining program is executed, the machining program checking device includes a machining program execution unit that executes the corresponding machining program, but draws the movement locus of the machine to perform a graphic check.
JP4247937A 1992-09-17 1992-09-17 Method and apparatus for checking machining program Expired - Fee Related JP2707031B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4247937A JP2707031B2 (en) 1992-09-17 1992-09-17 Method and apparatus for checking machining program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4247937A JP2707031B2 (en) 1992-09-17 1992-09-17 Method and apparatus for checking machining program

Publications (2)

Publication Number Publication Date
JPH0695724A true JPH0695724A (en) 1994-04-08
JP2707031B2 JP2707031B2 (en) 1998-01-28

Family

ID=17170776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4247937A Expired - Fee Related JP2707031B2 (en) 1992-09-17 1992-09-17 Method and apparatus for checking machining program

Country Status (1)

Country Link
JP (1) JP2707031B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014021648A (en) * 2012-07-17 2014-02-03 Hitachi Ltd Working support device and working support system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014021648A (en) * 2012-07-17 2014-02-03 Hitachi Ltd Working support device and working support system
US9547301B2 (en) 2012-07-17 2017-01-17 Mitsubishi Hitachi Power Systems, Ltd. Machining support apparatus and machining support system

Also Published As

Publication number Publication date
JP2707031B2 (en) 1998-01-28

Similar Documents

Publication Publication Date Title
US20070051701A1 (en) Machining condition setting method for electrical discharge machines
JP5543534B2 (en) Numerical control device with program restart function
US7110851B2 (en) Numerically controlled device
JPH11143514A (en) Numerical controller capable of executing working error check
US4328448A (en) Method for programmably controlling the sequence of execution of data blocks in a program
US6829518B2 (en) Numerical control apparatus
JP2707031B2 (en) Method and apparatus for checking machining program
US7013195B2 (en) Wire electric discharge machining apparatus
JPH0659717A (en) Nc device having tool locus data plotting function and plotting method thereof
EP0416344A2 (en) Apparatus for displaying operation sequence of numerically controlled machine tool
JPH0724758A (en) Position teaching system of positioning device
EP0419672A1 (en) Method of plotting tool shape
JPS58119006A (en) Program control method of numerical control machine tool
JPS59707A (en) Numerical controller
JPH04201120A (en) Wire electric discharge machining method
JPH08229773A (en) Numerical control device
JPH0592349A (en) Numerically controlled device
JPH05309546A (en) Machining hour computing method for numerically controlled machine tool and its device
JP2537325Y2 (en) Numerical control device with machine state discrimination function
JPH04252307A (en) Interactive numerical controller
JPH08137530A (en) Numerical controller
JPS6063610A (en) Numerical controller with graphic display device capable of drawing clamping device
JPH0876827A (en) Acceleration and deceleration control system
JPH06114678A (en) Tool locus display device of nc device
JPH08286717A (en) Numerical control device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees