[go: up one dir, main page]

JPH0248124A - Nc electric discharge machining method - Google Patents

Nc electric discharge machining method

Info

Publication number
JPH0248124A
JPH0248124A JP19772888A JP19772888A JPH0248124A JP H0248124 A JPH0248124 A JP H0248124A JP 19772888 A JP19772888 A JP 19772888A JP 19772888 A JP19772888 A JP 19772888A JP H0248124 A JPH0248124 A JP H0248124A
Authority
JP
Japan
Prior art keywords
discharge machining
machining
program
electric discharge
internal data
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
JP19772888A
Other languages
Japanese (ja)
Inventor
Takenori Harada
武則 原田
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.)
Sodick Co Ltd
Original Assignee
Sodick Co 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 Sodick Co Ltd filed Critical Sodick Co Ltd
Priority to JP19772888A priority Critical patent/JPH0248124A/en
Publication of JPH0248124A publication Critical patent/JPH0248124A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)

Abstract

PURPOSE:To make it possible to produce each program corresponding to variable conditions in electric discharge machining before the electric discharge machining is performed by reading the internal data of an NC device during the execution of an NC program, and substituting the read data into a compensation term. CONSTITUTION:Electric discharge machining is started according to an NC program (S1). If any error is not generated during the machining (S2), the machining is further continued. If an error such as an arc or the like is generated, whether an M03 function is on or off is judged (S3). If the M03 function is on, whether the program at that time is completed or uncompleted is judged (S4). When the program is uncompleted, an M03 code is searched for (S5). When the code is discovered, the internal data of an NC device is read (S6). Then the stop condition of the NC device, which is stored in the internal data, is read in S7, so as to be saved (substituted) in a compensation term of a number ** *. And the contents of the error which has caused the stop of the electric discharge machining are distinguished (S8). Then a stop processing is conducted and the following step is available.

Description

【発明の詳細な説明】 [産業1−O,の利用分野] 本発明は、NC放電加工方法に関する。[Detailed description of the invention] [Field of use of industry 1-O] The present invention relates to an NC electrical discharge machining method.

[従来の技術] 従来のNC放電加工装置は、現在座標、累積加工時間等
を、NCプログラムを実行中にNC装置から読取ること
ができる。これによって、現在の加工状態の概要を把握
することができる。
[Prior Art] A conventional NC electric discharge machining apparatus can read current coordinates, cumulative machining time, etc. from an NC device while executing an NC program. This allows an overview of the current machining status to be grasped.

[発明が解決しようとする課題] しかし、上記従来装置においては、何らかのエラーによ
ってNC装置がストップ状態になった場合、元の状態に
回復させ、その後の加工を続行することができない。し
たがって、放電加工の自動化という点で問題がある。
[Problems to be Solved by the Invention] However, in the conventional apparatus described above, when the NC device is stopped due to some error, it is impossible to restore the original state and continue the subsequent processing. Therefore, there is a problem in automating electrical discharge machining.

本発明は、放電加工における種々の状態に応じたプログ
ラムを、放電加工前に作成することができるNC放電加
[方法を提供することを目的とするものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an NC electrical discharge machining method that can create programs corresponding to various conditions in electrical discharge machining before electrical discharge machining.

[課題を解決する丁段] 本発明は、NCプログラムを実行中に、NC装置の内部
データを読取り、この読取ったデータを補正項に代入す
るものである。
[Solving the Problem] The present invention reads internal data of an NC device while executing an NC program, and substitutes the read data into a correction term.

[作用] 本発明は、NCプログラムを実行中に、NC装置の内部
データを読取り、この読取ったデータを補正項に代入す
るので、放電加工における種々の状態に応じたプログラ
ムを、放電加工前に作成することができ、放電加工の自
動化をより進めることができる。
[Operation] The present invention reads the internal data of the NC device while executing the NC program, and substitutes the read data into the correction term, so that the program corresponding to various conditions in electrical discharge machining can be programmed before electrical discharge machining. This allows further automation of electrical discharge machining.

[実施例] 第1図は、本発明の一実施例を示すフローチャートであ
る。
[Example] FIG. 1 is a flowchart showing an example of the present invention.

まず、NCプログラムに応じて放電加工を開始しくSl
)、その加工中にアーク等のエラーが発生しなければ(
S2)、その加工をさらに続行する。上記エラーの中に
は、アークの他に、リミット感知、接触感知等のエラー
が含まれる。
First, start the electrical discharge machining according to the NC program.
), if no errors such as arcs occur during machining (
S2), the processing is further continued. The above-mentioned errors include errors such as limit sensing, contact sensing, etc. in addition to arcing.

もし、アーク等の上記エラーが発生すれば、MO3機能
がオンであるかオフであるかを判断する(S3)。この
MO3機能は、型彫のNC放電加工方法にあっては、た
とえばアークしたら、その加工を中断し、プログラム上
のMO3コードまでジャンプし、そのMO3コードの次
からプログラムを実行する機能である。
If the above-mentioned error such as arcing occurs, it is determined whether the MO3 function is on or off (S3). In the NC electric discharge machining method for die-sinking, for example, when an arc occurs, the MO3 function is a function that interrupts the machining, jumps to the MO3 code on the program, and executes the program from the next MO3 code.

そして、MO3機能がオンであれば、そのときのプログ
ラムが終了しているか未了であるかを判断しくS4)、
プログラムが未了であれば(加工すべき動作が残ってい
れば)、上記MO3コードを見つける(S5)。
If the MO3 function is on, it is determined whether the program at that time is finished or not (S4).
If the program has not been completed (if there are still operations to be processed), the MO3 code is found (S5).

MO3コードを発見すれば、NC装置の内部データを読
取る(S6)。このNC装置の内部データとしては、1
ブロック加工時間、NC装置のストップ状態のデータ、
加工開始座標値、加工中のサーボ状態(サーボ電圧が所
定値以上になって加工した回数)等である。
If the MO3 code is found, the internal data of the NC device is read (S6). The internal data of this NC device is 1
Block machining time, NC device stop state data,
These include the machining start coordinate value, the servo state during machining (the number of times machining was performed when the servo voltage exceeded a predetermined value), and the like.

そして、上記実施例においては、G33Sコードを実行
する(S7)。G83コードは、指定された補正項に現
在値および加工累積時間を書込むJISコードであるが
、G33SコードはJISコードにはなく、G83コー
ドを拡張して使用したものである。つまり、S7におい
て、内部データのうち、NC装置のストップ状態を読取
り、この読取ったストップ状態を、番号木木木の補正項
に、書込む(代入する)。すなわち、G33Sコードは
、そのG33Sの後に木木木で示した番号を付与するも
のであり、読取った内部データを番号木木本の補正項に
書込むという命令であると定義する。
In the above embodiment, the G33S code is then executed (S7). The G83 code is a JIS code that writes the current value and cumulative machining time into the designated correction term, but the G33S code is not a JIS code, but is an expanded version of the G83 code. That is, in S7, the stop state of the NC device is read from the internal data, and the read stop state is written (substituted) into the correction term of the number tree. That is, the G33S code is defined as a command to add a number shown in a block after G33S, and to write the read internal data into the correction term of the number block.

そして、放電加工がストップしたエラー内容を判別しく
S8)、接触感知によって加工がストップしたのであれ
ば接触感知ストップ処理を行ない(S9)、  リミッ
ト感知によって加工がストップしたのであれば、リミッ
トストップ処理を行ない(S 10) 、アークが発生
して加工がス)−/プしたのであればアークストップ処
理を行ない(S 11) 、次のステップへ進む。
The content of the error that caused the electric discharge machining to stop is determined (S8). If the machining was stopped due to contact detection, contact detection stop processing is performed (S9). If the machining was stopped due to limit detection, limit stop processing is performed. (S10), and if arc is generated and machining is stopped, arc stop processing is performed (S11) and the process proceeds to the next step.

上記実施例においては、NC装置の内部データを読取り
、その読取った内部データを補正項に代入することによ
って、その後、エラー内容に応じた各処理を行ない、そ
こで加工が停止することなしに、次のステップに進むこ
とができ、したがって放電加工を自動化することが容易
になる。
In the above embodiment, by reading the internal data of the NC device and substituting the read internal data into the correction term, each process is then performed according to the error content, and the next processing is performed without stopping the processing. step, thus making it easier to automate electrical discharge machining.

なお、S3において、MO3機能がオフであれば、AC
K待ちになり、致命的エラーである旨を表示する(S2
1)。また、MO3機能がオンである場合にプログラム
が終了していれば(S4) 、ACK待ちになり、MO
3が見つからない旨の表示を行なう(S 22)。
In addition, in S3, if the MO3 function is off, the AC
Waits for K and displays a fatal error message (S2
1). Also, if the program has ended when the MO3 function is on (S4), it will wait for ACK and the MO3 function will be turned on.
3 is not found (S22).

また、上記実施例におけるMO3機能は、型彫の場合の
ものであるが、ワイヤカー/ )放電加工におけるMO
3機能(所定回数結線しようとして結線できない場合、
実行中のプログラムを中断してMO3コードにジャンプ
し、そのMO3コードの次から実行を開始する機部)の
場合も上記と同様に説明することができる。
In addition, the MO3 function in the above embodiment is for die engraving, but the MO3 function in wire car/ ) electric discharge machining is
3 functions (If you cannot connect after trying to connect a specified number of times,
The same explanation as above can be applied to the case of a machine section that interrupts the program being executed, jumps to the MO3 code, and starts execution from the next MO3 code.

上記実施例においては、接触感知、リミット感知、アー
ク等のエラーが発生した場合について説明したが、これ
とは別に、内部データである放電開始座標値を補正項に
代入し、現在座標がその放電開始座標値と同じであるこ
とがわかれば、加工が進展していないことを把握でき(
これも一種のエラーである)、この場合には、そのとき
のワークの材料に応じて、放電条件を変えることができ
る。この場合も、内部データを補正項に代入することが
でき、その代入した内部データに応じて、その後のプロ
グラムの分岐状態を、加工前に設定する(変える)こと
ができる例である。
In the above embodiment, the case where an error such as contact detection, limit detection, arc, etc. occurs has been explained. If you find that the coordinates are the same as the starting coordinates, you can understand that the machining is not progressing (
(This is also a type of error.) In this case, the discharge conditions can be changed depending on the material of the workpiece at that time. This case is also an example in which internal data can be substituted into the correction term, and the subsequent branching state of the program can be set (changed) before machining according to the substituted internal data.

[発明の効果] 本発明によれば、放電加工における種々の状態に応じた
プログラムを、放電加工前に作成することができ、放電
加工の自動化がより進むという効果を奏する。
[Effects of the Invention] According to the present invention, programs corresponding to various conditions in electrical discharge machining can be created before electrical discharge machining, and the automation of electrical discharge machining is further improved.

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

第1図は、本発明の一実施例を示すフローチャトである
FIG. 1 is a flowchart showing one embodiment of the present invention.

Claims (2)

【特許請求の範囲】[Claims] (1)NCプログラムを実行中に、NC装置の内部デー
タを読取り、この読取ったデータを補正項に代入するこ
とを特徴とするNC放電加工方法。
(1) An NC electrical discharge machining method characterized by reading internal data of an NC device while executing an NC program, and substituting the read data into a correction term.
(2)請求項(1)において、 上記内部データは、1ブロック加工時間、NC装置のス
トップ状態、加工開始座標値、加工中のサーボ状態のう
ちの少なくとも1つを示すデータであることを特徴とす
るNC放電加工方法。
(2) Claim (1), characterized in that the internal data is data indicating at least one of one block machining time, a stop state of the NC device, a machining start coordinate value, and a servo state during machining. NC electrical discharge machining method.
JP19772888A 1988-08-08 1988-08-08 Nc electric discharge machining method Pending JPH0248124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19772888A JPH0248124A (en) 1988-08-08 1988-08-08 Nc electric discharge machining method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19772888A JPH0248124A (en) 1988-08-08 1988-08-08 Nc electric discharge machining method

Publications (1)

Publication Number Publication Date
JPH0248124A true JPH0248124A (en) 1990-02-16

Family

ID=16379354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19772888A Pending JPH0248124A (en) 1988-08-08 1988-08-08 Nc electric discharge machining method

Country Status (1)

Country Link
JP (1) JPH0248124A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6131022A (en) * 1994-06-29 2000-10-10 Martin Marietta Corporation Transceiver and antenna system for communication with remote station
US6738017B2 (en) 2002-08-06 2004-05-18 Lockheed Martin Corporation Modular phased array with improved beam-to-beam isolation
US7050019B1 (en) 2002-09-11 2006-05-23 Lockheed Martin Corporation Concentric phased arrays symmetrically oriented on the spacecraft bus for yaw-independent navigation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6131022A (en) * 1994-06-29 2000-10-10 Martin Marietta Corporation Transceiver and antenna system for communication with remote station
US6738017B2 (en) 2002-08-06 2004-05-18 Lockheed Martin Corporation Modular phased array with improved beam-to-beam isolation
US7050019B1 (en) 2002-09-11 2006-05-23 Lockheed Martin Corporation Concentric phased arrays symmetrically oriented on the spacecraft bus for yaw-independent navigation

Similar Documents

Publication Publication Date Title
JPH0248124A (en) Nc electric discharge machining method
US4891487A (en) Electrode return control for electric spark machine
JP4571355B2 (en) Control method, control program, memory element, control device for technical process in vehicle
EP0551132A1 (en) Sequence controller including error correction and method therefor
JPH0425320A (en) Wire cut electrical discharge machining and processing program creating device thereof
JPH04201120A (en) Wire electric discharge machining method
JPH01312605A (en) Electrical discharge machine
JPH0444281B2 (en)
JPH11242509A (en) Programmable logic controller
JPH0248125A (en) Nc electric discharge machining method
JPH07152416A (en) Numerical controller having program restarting function
JPH055123B2 (en)
JPH03105503A (en) Programmable controller
JP3575052B2 (en) Electronic equipment
JPH02114302A (en) Numerical control device
JP2713038B2 (en) Wire electric discharge machining method
CN115525027A (en) Laser processing system and slotting compensation method thereof
JPH03278103A (en) Programmable controller programming device
JPH0253109A (en) Checking method for numerical control working program
JPS62293310A (en) Executing system for user program of numerical controller
JPS6232503A (en) Numerical controller
JPS6063610A (en) Numerical controller with graphic display device capable of drawing clamping device
JP2708983B2 (en) Program display device
JPH03196204A (en) Programmable controller
JPH04332003A (en) programmable controller