JPH08141847A - Electric discharge gap control method for die sinking electric discharge machine - Google Patents

Electric discharge gap control method for die sinking electric discharge machine

Info

Publication number
JPH08141847A
JPH08141847A JP28018594A JP28018594A JPH08141847A JP H08141847 A JPH08141847 A JP H08141847A JP 28018594 A JP28018594 A JP 28018594A JP 28018594 A JP28018594 A JP 28018594A JP H08141847 A JPH08141847 A JP H08141847A
Authority
JP
Japan
Prior art keywords
electrode
electric discharge
digital servo
servo device
discharge gap
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
JP28018594A
Other languages
Japanese (ja)
Inventor
Kazuhiko Murakawa
和彦 村川
Teruo Baida
照生 倍田
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP28018594A priority Critical patent/JPH08141847A/en
Publication of JPH08141847A publication Critical patent/JPH08141847A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To make the escape direction of an electrode during electric discharge gap control a direction of not interfering with a workpiece in the electric discharge gap control of a die sinking electric discharge machine. CONSTITUTION: Whenever movement based on a machining program 1a is commanded to a digital servo device 2, the coordinate value after the command is stored as a path point in a memory 1d. Hereupon, if there is the retreat demand of an electrode from a machining power supply 4, a retreat direction along a tool path is determined referring to the path point stored in the memory 1d, and the retreat movement is directly commanded to the digital servo device 2. The movement of the electrode during electric discharge gap control is in a machining completed path direction, so that the electrode does not interfere at all with a workpiece.

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 controlling an electric discharge gap of a die-sinking electric discharge machine, and particularly, it is effective when the discharge direction of the electrode is restricted by controlling the electric discharge gap between the electrode and the work. The present invention relates to a discharge gap control method for a processing machine.

【0002】[0002]

【従来の技術】型彫放電加工機では、電極とワークとの
間に放電を生じさせ、その放電によってワークを徐々に
除去することで加工を行う。数値制御装置では、加工プ
ログラムに基づく電極の移動指令は分配された後、ディ
ジタルサーボ手段に出される。ディジタルサーボ手段は
サーボ制御回路およびサーボモータから成り、移動指令
に従って電極またはワークの送りを制御する。加工電源
は電極とワークとの間の加工条件などを制御したり、電
極とワークとの間の放電状態を監視するもので、電極が
ワークに対して近すぎたり離れすぎたりすると、電極を
ワークから離すまたはワークに近づける指令を数値制御
装置に出し、数値制御装置は分配を行う際に、加工プロ
グラムに離すまたは近づける指令を作ってディジタルサ
ーボ手段に指令していた。
2. Description of the Related Art In a die-sinking electric discharge machine, an electric discharge is generated between an electrode and a work, and the work is gradually removed by the electric discharge. In the numerical controller, the command to move the electrode based on the machining program is distributed and then sent to the digital servo means. The digital servo means is composed of a servo control circuit and a servo motor, and controls the feed of the electrode or the work according to the movement command. The machining power supply controls machining conditions between the electrode and the work, and monitors the discharge state between the electrode and the work.If the electrode is too close to or far from the work, A command to move away from or close to the work is issued to the numerical controller, and when performing distribution, the numerical controller makes a command to separate from or approach the machining program and instructs the digital servo means.

【0003】この場合、加工電源からの指令が反映され
た制御は、数値制御装置の分配周期に制約される。すな
わち、数値制御装置が分配という処理を行う周期でし
か、加工電源からの要求がディジタルサーボ手段に伝え
られないので、数値制御装置の分配周期以上に加工電源
に対する応答速度を改善することはできない。
In this case, the control in which the command from the machining power source is reflected is restricted by the distribution cycle of the numerical controller. That is, since the request from the machining power source is transmitted to the digital servo means only in the cycle in which the numerical controller performs the process of distribution, the response speed to the machining power source cannot be improved beyond the distribution cycle of the numerical controller.

【0004】そこで、EDM(Electric Discharge Mac
hining)コントローラを使用し、これに加工電源からの
要求に対して電極をどの方向に移動させるかをあらかじ
め指令しておき、たとえば加工電源から後退の要求があ
ったならば、前もって指令された後退方向に電極を後退
させる指令を直接ディジタルサーボ手段に出し、ディジ
タルサーボ手段はすぐにその方向に電極を後退させるよ
うにしている。これにより、放電状態に応じて電極とワ
ークとの間隔を短時間のうちに最適状態に調整すること
ができるようになる。
Therefore, EDM (Electric Discharge Mac)
hining) Controller is used to pre-command which direction the electrode should be moved in response to a request from the machining power supply. For example, if the machining power supply requests a retreat, the retraction commanded in advance is used. A command to retract the electrode in that direction is directly issued to the digital servo means, and the digital servo means immediately causes the electrode to retract in that direction. As a result, the gap between the electrode and the work can be adjusted to the optimum state in a short time according to the discharge state.

【0005】[0005]

【発明が解決しようとする課題】しかし、EDMコント
ローラに電極を移動させる方向を前もって指令してお
き、加工電源からの要求に対しては前もって指令された
方向に電極を移動させるようディジタルサーボ手段に指
令するようにしているが、ワークの加工形状によっては
電極を前もって指令された方向に移動させることができ
ない場合がある。たとえば、EDMコントローラに前も
って指令された方向がZ軸方向であり、電極の形状がL
字状であって、加工途中で電極の曲がった方向に加工し
ていくような場合には、加工電源から電極を逃がすため
の要求があっても、電極をZ軸方向に移動させるとワー
クと干渉してしまうために、前もって指令された方向に
電極を逃がすことができないという問題点があった。
However, the EDM controller is instructed in advance in which direction the electrodes should be moved, and the digital servo means is made to move the electrodes in the direction instructed in advance in response to a request from the machining power source. Although the command is given, it may not be possible to move the electrode in the previously commanded direction depending on the machining shape of the work. For example, the direction previously commanded to the EDM controller is the Z-axis direction and the shape of the electrodes is L.
In case of machining in a curved shape of the electrode in the middle of machining, even if there is a request to let the electrode escape from the machining power source, if the electrode is moved in the Z-axis direction, it becomes a work piece. There is a problem in that the electrodes cannot escape in the direction commanded in advance because of interference.

【0006】本発明はこのような点に鑑みてなされたも
のであり、放電ギャップ制御で前もって電極の逃し方向
を指令しておく必要がなく、また、電極の逃し方向をワ
ークの加工形状に影響されないような型彫放電加工機の
放電ギャップ制御方法を提供することを目的とする。
The present invention has been made in view of such a point, and it is not necessary to previously command the escape direction of the electrode by controlling the discharge gap, and the escape direction of the electrode affects the machining shape of the work. It is an object of the present invention to provide a method for controlling an electric discharge gap of a die-sinking electric discharge machine that does not occur.

【0007】[0007]

【課題を解決するための手段】本発明では上記課題を解
決するために、型彫放電加工機における電極とワークと
の間の放電ギャップをその間の放電状態に応じて制御す
る型彫放電加工機の放電ギャップ制御方法において、加
工プログラムに基づく移動をディジタルサーボ装置に指
令する度に指令後の座標値を経路点としてメモリに保存
し、加工電源からの電極の後退要求に応答して前記メモ
リに保存された経路点を読み出し、前記経路点に沿った
電極の逃し方向および逃し量を求めて後退の移動指令を
直接ディジタルサーボ装置に指令する、ことからなるこ
とを特徴とする型彫放電加工機の放電ギャップ制御方法
が提供される。
In order to solve the above problems, the present invention is directed to a die-sinking electric discharge machine for controlling an electric discharge gap between an electrode and a work in the die-sinking electric discharge machine according to an electric discharge state therebetween. In the discharge gap control method, the coordinate value after the command is stored in the memory as a path point every time the movement based on the machining program is instructed to the digital servo device, and the memory is responsive to the retraction request of the electrode from the machining power source in the memory. A die-sinking electric discharge machine characterized in that the stored path point is read out, the escape direction and escape amount of the electrode along the path point are obtained, and a backward movement command is directly issued to the digital servo device. A discharge gap control method is provided.

【0008】[0008]

【作用】上述の手段によれば、加工プログラムに基づく
移動の指令の度にその指令後の座標値、すなわち現在位
置を経路点としてメモリに保存しておく。ここで、電極
の後退要求があれば、メモリに保存された経路点を参照
して後退方向を決め、その後退の移動を直接ディジタル
サーボ装置に指令することで、放電ギャップ制御時の電
極の移動は加工済み経路方向になる。
According to the above means, every time a movement command is issued based on the machining program, the coordinate value after the command, that is, the current position is stored in the memory as a route point. If there is a request for the electrode to move backward, the backward direction is determined by referring to the path point stored in the memory and the movement of the backward movement is directly instructed to the digital servo device to move the electrode during discharge gap control. Is toward the processed path.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は型彫放電加工機の放電ギャップ制御方法
の手順を示すフローチャートである。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a flow chart showing the procedure of a discharge gap control method for a die-sinking electric discharge machine.

【0010】このフローチャートによれば、型彫放電加
工機における電極とワークとの間の放電ギャップをその
間の放電状態に応じて制御する方法において、まず、加
工プログラムに基づく移動をディジタルサーボ装置に指
令する度に指令後の現在位置の座標値を経路点としてメ
モリに保存しておく(ステップS1)。次いで、放電状
態の悪化などにより加工電源から電極の後退要求があっ
た場合には、メモリに保存されている加工済み経路点を
読み出し、その加工済みの経路点に沿った電極の逃し方
向および逃し量を求めて直接ディジタルサーボ装置に指
令する(ステップS2)。
According to this flow chart, in the method of controlling the discharge gap between the electrode and the work in the die-sinking electric discharge machine according to the discharge state between them, first, the movement based on the machining program is instructed to the digital servo device. Each time, the coordinate value of the current position after the command is stored in the memory as a route point (step S1). Next, when there is a request from the machining power supply to retract the electrode due to deterioration of the discharge state, etc., the processed route point stored in the memory is read out, and the electrode escape direction and escape along the processed route point are read. The amount is calculated and directly instructed to the digital servo device (step S2).

【0011】これにより、ワークの加工中に、電極とワ
ークとの間の放電状態が悪化した場合には、メモリに保
存されていた加工済み経路方向へ電極を後退させるよう
ディジタルサーボ装置に指令することになる。したがっ
て、電極の逃し方向は加工してきた経路に沿った指令が
なされるため、電極を決められた一つの方向に逃がすこ
とができないような加工でも、ワークの加工形状を気に
することなく加工することができるようになる。
As a result, when the discharge state between the electrode and the work deteriorates during machining of the workpiece, the digital servo device is instructed to retract the electrode in the direction of the machined path stored in the memory. It will be. Therefore, since the command for the escape direction of the electrode is given along the route that has been machined, machining is possible without worrying about the machining shape of the workpiece, even when machining the electrode cannot escape in one predetermined direction. Will be able to.

【0012】図2は本発明方法を適用した型彫放電加工
機の概念図である。この図において、1は数値制御装置
(CNC)、2はディジタルサーボ装置、3は型彫放電
加工機、4は加工電源、5はEDMコントローラをそれ
ぞれ示している。
FIG. 2 is a conceptual diagram of a die-sinking electric discharge machine to which the method of the present invention is applied. In this figure, 1 is a numerical controller (CNC), 2 is a digital servo device, 3 is a die-sinking electric discharge machine, 4 is a machining power source, and 5 is an EDM controller.

【0013】数値制御装置1では、加工プログラム1a
に基づく電極およびワークの相対移動が分配装置1bに
よってディジタルサーボ装置2に指令される。分配装置
1bによる移動指令は、たとえば8ミリ秒周期で出さ
れ、各周期毎にたとえば5ミクロン(μm)移動するか
またはしないかの指令が出される。分配装置1bは、ま
た、移動指令をディジタルサーボ装置2へ出すとともに
現在位置表示装置1cおよび経路点メモリ1dへも出
す。現在位置表示装置1cはCRT(Cathode RayTub
e)などの表示装置で、ディジタルサーボ装置2へ指令
された位置座標を表示する。経路点メモリ1dはその指
令後の座標値を保存しておくもので、過去何点かの経路
点、たとえば1000点を覚えておくことができ、リン
グバッファメモリで構成することができる。
In the numerical controller 1, the machining program 1a
The relative movement of the electrode and the work based on the above is commanded to the digital servo device 2 by the distribution device 1b. The movement command from the distribution device 1b is issued, for example, in a cycle of 8 milliseconds, and in each cycle, a command to move or not to move by 5 microns (μm) is issued. The distribution device 1b also issues a movement command to the digital servo device 2 and also to the current position display device 1c and the route point memory 1d. The current position display device 1c is a CRT (Cathode RayTub).
The position coordinates instructed to the digital servo device 2 are displayed on the display device such as e). The route point memory 1d stores coordinate values after the command, and can remember some past route points, for example, 1000 points, and can be configured by a ring buffer memory.

【0014】ディジタルサーボ装置2は数値制御装置1
からの移動指令に従って、型彫放電加工機3における電
極およびワークを移動させるよう制御する。加工電源4
は電極とワークとに電圧を印加したり、あるいはそれら
の間に発生される放電状態を監視し、放電状態に応じて
電極をワークに近づけたりまたは電極をワークから離す
ような要求をEDMコントローラ5に出す。
The digital servo device 2 is a numerical control device 1.
In accordance with the movement command from, the control is performed so as to move the electrode and the work in the die-sinking electric discharge machine 3. Processing power supply 4
Applies a voltage to the electrode and the work, or monitors a discharge state generated between them, and requests the EDM controller 5 to bring the electrode closer to the work or separate the electrode from the work depending on the discharge state. To put out.

【0015】EDMコントローラ5では、加工電源4か
ら前進・後退要求が出されると、移動指令生成装置5a
は、経路点が保存されている経路点メモリ1dから最新
の経路点と前後の経路点とを読み取り、電極の前進・後
退の方向および移動量を求めて、ディジタルサーボ装置
2に指令する。その指令値は後退量演算部5bに入力さ
れ、ディジタルサーボ装置2に対して次に指令するとき
に使用される。
In the EDM controller 5, when a forward / backward request is issued from the machining power source 4, the movement command generator 5a.
Reads the latest path point and the previous and next path points from the path point memory 1d in which the path points are stored, obtains the forward / backward directions and movement amounts of the electrodes, and instructs the digital servo device 2. The command value is input to the retreat amount calculation unit 5b and used when the digital servo device 2 is commanded next.

【0016】図3は加工プログラムによる加工経路の一
例を示す図、図4は経路点メモリの保存例を示す図であ
る。図3において、加工開始点はAで示してあり、これ
以降は、加工経路に沿って5μm間隔で経路点B,C,
・・・があるとする。図示の例では、経路点Aから始ま
って加工経路の経路点Nまで加工してきたものとし、そ
の加工済みの経路点は黒丸で示してある。これらの経路
点は、経路点メモリ1dに順に保存される。すなわち、
図4に示したように、経路点メモリ1dのアドレス
「n」には経路点Aの座標値が保存され、アドレス「2
n」には経路点Bの座標値が保存されていって、アドレ
ス「XXn」には経路点Nの座標値が保存されている。
なお、経路点メモリ1dの先頭には、最も新しい経路
点、ここでは経路点Nの座標値が保存されているアドレ
スが入力されている。
FIG. 3 is a diagram showing an example of a machining route by a machining program, and FIG. 4 is a diagram showing an example of saving in a route point memory. In FIG. 3, the processing start point is indicated by A, and from this point onward, path points B, C, and 5
... In the illustrated example, it is assumed that processing has started from the route point A to the route point N of the processing route, and the processed route points are indicated by black circles. These route points are sequentially stored in the route point memory 1d. That is,
As shown in FIG. 4, the coordinate value of the route point A is stored in the address "n" of the route point memory 1d, and the address "2" is stored.
The coordinate value of the route point B is stored in “n”, and the coordinate value of the route point N is stored in the address “XXn”.
At the head of the route point memory 1d, the address where the coordinate value of the newest route point, here the route point N, is stored is input.

【0017】ここで、図2ないし図4を参照して具体例
的な放電ギャップ制御を詳細に説明する。まず、数値制
御装置1は、加工プログラム1aから、本発明方法によ
る放電ギャップ制御を表すGコード、すなわち「G7
0」が指令されると、分配装置1bにおいて、分配周期
毎の移動指令が5μmになるような処理を行い、その移
動指令をディジタルサーボ装置2に対して行うととも
に、指令後の座標値を、図4に示したように、経路点メ
モリ1dに順次保存する。
A specific discharge gap control will be described in detail with reference to FIGS. 2 to 4. First, the numerical control device 1 uses the machining program 1a to output a G code indicating the discharge gap control according to the method of the present invention, that is, "G7".
When "0" is instructed, the distribution device 1b performs processing such that the movement command for each distribution cycle becomes 5 μm, issues the movement command to the digital servo device 2, and sets the coordinate values after the command. As shown in FIG. 4, they are sequentially stored in the route point memory 1d.

【0018】ここで、電極がたとえば経路点Nにあると
き、放電状態の悪化により加工電源4から電極をたとえ
ば10μm後退させるような要求があったとする。この
時、経路点メモリ1dには、経路点Nまでの各座標値と
メモリの先頭に経路点Nの座標値が保存されているアド
レスとが設定されている。
Here, it is assumed that, when the electrode is at the path point N, there is a demand for retracting the electrode from the machining power source 4 by, for example, 10 μm due to deterioration of the discharge state. At this time, each coordinate value up to the route point N and the address where the coordinate value of the route point N is stored at the head of the memory are set in the route point memory 1d.

【0019】数値制御装置1とは独立に処理が行われて
いるEDMコントローラ5は、電極を経路点Nから経路
点L(経路点間隔が5μmのため、移動距離10μmは
2経路点手前のLとなる)に移動させるため、経路点メ
モリ1dから現在位置の経路点Nおよび後退量分手前の
経路点Lの座標値を読み取り、移動指令生成装置5aに
て電極の逃がし方向および逃がし量を含む移動指令を生
成し、ディジタルサーボ装置2へ指令する。また、この
ときの指令値を後退量演算部5bに後退量として保存す
る。これにより、電極は経路点Nから2経路点手前の経
路点Lに後退されることになる。
The EDM controller 5, which is processed independently of the numerical controller 1, switches the electrodes from the route point N to the route point L (since the route point interval is 5 μm, the moving distance of 10 μm is L before the two route points). To read the coordinate values of the route point N at the current position and the route point L before the retreat amount from the route point memory 1d, and include the escape direction and the escape amount of the electrode in the movement command generation device 5a. A movement command is generated and the digital servo device 2 is instructed. In addition, the command value at this time is stored in the backward movement amount calculation unit 5b as the backward movement amount. As a result, the electrode is retracted from the route point N to the route point L, which is two route points before.

【0020】電極が経路点Lに後退したため、放電状態
は改善され、再び電極を前進させるように加工電源4か
ら要求される。EDMコントローラ5は加工電源4から
の要求に基づいて、経路点Lから経路点Mを通って経路
点Nに向かうように電極の移動指令をディジタルサーボ
装置2に行い、その度に、指令値を後退量から差し引い
ていく。EDMコントローラ5は、後退量が0になるま
で経路点メモリ1dを参照することにより前進指令を行
うことができる。
Since the electrode retreats to the path point L, the discharge state is improved and the machining power supply 4 requests the electrode to advance again. Based on the request from the machining power source 4, the EDM controller 5 issues an electrode movement command to the digital servo device 2 so as to move from the route point L to the route point M toward the route point N, and the command value is given each time. Subtract from the amount of retreat. The EDM controller 5 can issue a forward command by referring to the path point memory 1d until the backward movement amount becomes zero.

【0021】一方、EDMコントローラ5が電極を経路
点Lから経路点Mを通り、経路点Nに移動させている間
も、数値制御装置1は分配装置1bに5μm間隔の分配
を行わせている。今、電極が経路点Mにあるとき、数値
制御装置1により新たな移動指令が行われ、経路点Oが
できたとする。これにより、電極がワークに近づき過ぎ
るため、再び加工電源4から電極を10μm後退させる
ような要求が出されるとする。
On the other hand, while the EDM controller 5 moves the electrode from the route point L to the route point M and then to the route point N, the numerical controller 1 causes the distributor 1b to perform the distribution at intervals of 5 μm. . Now, when the electrode is at the route point M, it is assumed that a new movement command is issued by the numerical controller 1 and the route point O is completed. As a result, the electrode comes too close to the workpiece, and the machining power source 4 again requests the electrode to retract by 10 μm.

【0022】すると、数値制御装置1は電極を経路点O
に移動させるように指令しているのに対し、EDMコン
トローラ5は経路点Nから経路点Mの方向に5μmの後
退量を指令していることになる。この状態で、さらに1
0μm電極を後退させるためには、経路点Oから15μ
m前の経路点L(3経路点前)に電極を後退させること
になる。経路点Oから経路点Lへの移動から、既に指令
されている経路点Nから経路点Mへの移動を差し引いた
ものをEDMコントローラ5が指令することにより、電
極は経路点Lに移動し、さらにその指令量を後退量に加
算すると、後退量は経路点Oから経路点Lまでの距離と
なる。
Then, the numerical controller 1 sets the electrode to the path point O.
However, the EDM controller 5 commands the retreat amount of 5 μm in the direction from the route point N to the route point M. 1 more in this state
To retract the 0 μm electrode, 15 μ from the path point O
The electrode is set back to the path point L (m3 path points before) m before. By the EDM controller 5 commanding a value obtained by subtracting the already commanded movement from the route point N to the route point M from the movement from the route point O to the route point L, the electrode moves to the route point L, Further, when the command amount is added to the backward movement amount, the backward movement amount becomes the distance from the route point O to the route point L.

【0023】これらの操作を繰り返し、数値制御装置1
がEDMコントローラ5による放電ギャップの制御とは
無関係に加工のための移動指令を続けていって、後退量
演算部5bの後退量がある一定値、たとえば40μm以
上になったら、EDMコントローラ5は数値制御装置1
にインタロックをかけて分配装置1bによる分配を停止
させる。これにより、新たな経路点は更新されなくな
る。そして、EDMコントローラ5は経路点メモリ1d
を読み出しながら後退量が小さくなるまで前進指令を行
う。この間、加工電源4から後退要求があれば、再び経
路点メモリ1dを読み出して、後退処理を行う。
By repeating these operations, the numerical controller 1
Is continuing the movement command for machining regardless of the control of the discharge gap by the EDM controller 5, and the retreat amount of the retreat amount calculation unit 5b reaches a certain value, for example, 40 μm or more, the EDM controller 5 displays a numerical value. Control device 1
Is interlocked to stop the distribution by the distribution device 1b. As a result, new route points are not updated. Then, the EDM controller 5 uses the route point memory 1d.
While reading, the forward command is given until the backward amount becomes small. During this time, if there is a backward movement request from the machining power source 4, the route point memory 1d is read again and the backward movement process is performed.

【0024】後退量演算部5bにおける後退量が小さく
なったら、再び数値制御装置1のインタロックを解除し
て、数値制御装置1に分配を再開させる。以上の操作を
繰り返すことにより、加工経路に沿った放電ギャップ制
御が行われる。
When the backward movement amount in the backward movement calculation unit 5b becomes small, the interlock of the numerical control device 1 is released again, and the numerical control device 1 restarts the distribution. By repeating the above operation, the discharge gap control along the machining path is performed.

【0025】図5はEDMコントローラの処理を示すフ
ローチャートである。EDMコントローラ5では、ま
ず、加工電源4からの要求が後退であるかどうかを判断
する(ステップS11)。もし、後退要求であれば、後
退量演算部5bにおける後退量が一定値以上であるかど
うかを判断する(ステップS12)。ここで、後退量が
一定値以上ある場合には、数値制御装置1における移動
指令の分配を停止する(ステップS13)。ステップS
12の判断において、後退量が一定値に満たない場合に
は、分配停止をすることなく、経路点メモリ1dの読み
取りを行う(ステップS14)。その後、経路点メモリ
1dから読み取った加工済み経路点に沿った方向でかつ
加工電源4から要求された量だけ電極を後退させる移動
指令をディジタルサーボ装置2へ出力する(ステップS
15)。そして、そのときの指令値を後退量演算部5b
における後退量に加算する(ステップS16)。
FIG. 5 is a flowchart showing the processing of the EDM controller. The EDM controller 5 first determines whether or not the request from the machining power source 4 is a backward movement (step S11). If it is a backward movement request, it is judged whether or not the backward movement amount in the backward movement amount calculation unit 5b is a certain value or more (step S12). Here, when the amount of retreat is equal to or greater than a certain value, the distribution of the movement command in the numerical controller 1 is stopped (step S13). Step S
In the judgment of 12, if the amount of retreat is less than the fixed value, the distribution point memory 1d is read without stopping the distribution (step S14). After that, a movement command for retracting the electrode in the direction along the processed route point read from the route point memory 1d and by the amount required by the machining power source 4 is output to the digital servo device 2 (step S).
15). Then, the command value at that time is used as the backward movement amount calculation unit 5b.
Is added to the backward movement amount in step S16 (step S16).

【0026】ステップS11の判断において、加工電源
4からの要求が前進であれば、後退量演算部5bにおけ
る後退量が一定値以上であるかどうかを判断する(ステ
ップS12)。ここで、後退量が一定値に満たない場合
には、数値制御装置1における移動指令の分配を再開す
る(ステップS18)。ステップS17の判断におい
て、後退量が一定値以上の場合には、分配を再開するこ
となく、経路点メモリ1dの読み取りを行う(ステップ
S19)。その後は、経路点メモリ1dから読み取った
加工済み経路点に沿った方向でかつ加工電源4から要求
された量だけ電極を前進させる移動指令をディジタルサ
ーボ装置2へ出力し(ステップS15)、そのときのマ
イナスの指令値を後退量演算部5bにおける後退量に加
算、すなわち、指令値を後退量から減算する(ステップ
S16)。
If the request from the machining power source 4 is forward in the determination in step S11, it is determined whether or not the backward movement amount in the backward movement calculation unit 5b is a certain value or more (step S12). Here, when the amount of retreat is less than the fixed value, the distribution of the movement command in the numerical controller 1 is restarted (step S18). If it is determined in step S17 that the amount of retreat is greater than or equal to a certain value, the route point memory 1d is read without restarting the distribution (step S19). After that, a movement command for advancing the electrode in the direction along the processed route point read from the route point memory 1d and by the amount required by the machining power source 4 is output to the digital servo device 2 (step S15). Is added to the backward movement amount in the backward movement amount calculation unit 5b, that is, the instruction value is subtracted from the backward movement amount (step S16).

【0027】[0027]

【発明の効果】以上説明したように本発明では、加工プ
ログラムに基づく移動をディジタルサーボ装置に指令す
ると同時に、指令後の座標値を過去何点かにわたってメ
モリに保存しておき、加工電源から放電状態悪化による
電極の後退要求が出されたときに、EDMコントローラ
はメモリから経路点を読み出して加工済みの経路点に沿
った後退の移動指令を直接ディジタルサーボ装置に出力
するようにした。
As described above, according to the present invention, the movement based on the machining program is instructed to the digital servo device, and at the same time, the coordinate values after the instruction are stored in the memory at several points in the past so that the electric power is discharged from the machining power source. The EDM controller reads the path point from the memory and outputs a command to move backward along the processed path point directly to the digital servo device when a request for the electrode to move backward due to the deterioration of the condition is issued.

【0028】これにより、放電ギャップの制御におい
て、必ず加工済み経路に沿った方向に電極を逃がすこと
ができるようになるので、電極の逃し方向を一意に決め
られないような場合の加工が可能になる。
As a result, in the control of the discharge gap, the electrode can always escape in the direction along the processed path, so that the machining can be performed when the escape direction of the electrode cannot be uniquely determined. Become.

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

【図1】型彫放電加工機の放電ギャップ制御方法の手順
を示すフローチャートである。
FIG. 1 is a flowchart showing a procedure of a discharge gap control method of a die-sinking electric discharge machine.

【図2】本発明方法を適用した型彫放電加工機の概念図
である。
FIG. 2 is a conceptual diagram of a die-sinking electric discharge machine to which the method of the present invention is applied.

【図3】加工プログラムによる加工経路の一例を示す図
である。
FIG. 3 is a diagram showing an example of a machining path according to a machining program.

【図4】経路点メモリの保存例を示す図である。FIG. 4 is a diagram showing a storage example of a route point memory.

【図5】EDMコントローラの処理を示すフローチャー
トである。
FIG. 5 is a flowchart showing processing of an EDM controller.

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

1 数値制御装置 1a 加工プログラム 1b 分配装置 1c 現在位置表示装置 1d 経路点メモリ 2 ディジタルサーボ装置 3 型彫放電加工機 4 加工電源 5 EDMコントローラ 5a 移動指令生成装置 5b 後退量演算部 1 Numerical Control Device 1a Machining Program 1b Distributor 1c Current Position Display Device 1d Path Point Memory 2 Digital Servo Device 3 Die-sinker EDM Machine 4 Machining Power Supply 5 EDM Controller 5a Movement Command Generator 5b Recession Calculator

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 型彫放電加工機における電極とワークと
の間の放電ギャップをその間の放電状態に応じて制御す
る型彫放電加工機の放電ギャップ制御方法において、 加工プログラムに基づく移動をディジタルサーボ装置に
指令する度に指令後の座標値を経路点としてメモリに保
存し、 加工電源からの電極の後退要求に応答して前記メモリに
保存された経路点を読み出し、前記経路点に沿った電極
の逃し方向および逃し量を求めて後退の移動指令を直接
ディジタルサーボ装置に指令する、 ことからなることを特徴とする型彫放電加工機の放電ギ
ャップ制御方法。
1. A method of controlling a discharge gap between an electrode and a work in a die-sinker electric discharge machine according to an electric discharge state therebetween, wherein a movement based on a machining program is performed by a digital servo. Each time the machine is commanded, the coordinate values after commanding are saved in the memory as path points, and the path points saved in the memory are read out in response to a retraction request of the electrode from the machining power supply, and the electrodes along the path points are read. A discharge gap control method for a die-sinking electric discharge machine, comprising: directing a backward movement command to a digital servo device by obtaining a clearance direction and a clearance amount.
【請求項2】 前記加工電源から電極の後退要求があっ
たとき、加工電源からの電極の後退要求による後退量が
一定値以上の場合に加工プログラムに基づくディジタル
サーボ装置への移動指令の分配を停止するステップをさ
らに有することを特徴とする請求項1記載の型彫放電加
工機の放電ギャップ制御方法。
2. When the machining power supply requests an electrode retreat, the movement command is distributed to the digital servo device based on the machining program when the amount of retreat due to the electrode retraction request from the machining power supply is a certain value or more. The method according to claim 1, further comprising a step of stopping.
【請求項3】 後退の移動指令を前記ディジタルサーボ
装置に指令した後に、前記ディジタルサーボ装置に指令
した後退量を加算するステップをさらに有することを特
徴とする請求項1記載の型彫放電加工機の放電ギャップ
制御方法。
3. The die-sinking electric discharge machine according to claim 1, further comprising the step of adding a backward movement amount commanded to the digital servo device after a backward movement command is given to the digital servo device. Discharge gap control method.
【請求項4】 前記加工電源からの電極の前進要求に応
答して前記メモリに保存された経路点を読み出し、前記
経路点に沿った電極の前進方向および前進量を求めて前
進の移動指令を直接ディジタルサーボ装置に指令するス
テップをさらに有することを特徴とする請求項1記載の
型彫放電加工機の放電ギャップ制御方法。
4. A path point stored in the memory is read in response to an electrode advance request from the machining power source, an electrode advance direction and an amount of advance along the path point are obtained, and an advance movement command is issued. 2. The method for controlling a discharge gap of a die-sinking EDM machine according to claim 1, further comprising the step of directly instructing the digital servo device.
【請求項5】 前記加工電源からの電極の前進要求時に
は、前記ディジタルサーボ装置に指令した前進量を加算
された後退量から減算することを特徴とする請求項3記
載の型彫放電加工機の放電ギャップ制御方法。
5. The die-sinking electric discharge machine according to claim 3, wherein when the electrode is requested to move forward from the machining power source, the amount of forward movement commanded to the digital servo device is subtracted from the added backward movement amount. Discharge gap control method.
【請求項6】 前記加工電源から電極の前進要求があっ
たとき、前記加算された後退量が一定値以下の場合に前
記ディジタルサーボ装置への移動指令の分配を再開させ
るステップをさらに有することを特徴とする請求項5記
載の型彫放電加工機の放電ギャップ制御方法。
6. The method further comprises the step of resuming the movement command distribution to the digital servo device when the machining power source makes a request for advancing the electrode and the added retreat amount is equal to or less than a predetermined value. The discharge gap control method for a die-sinking EDM machine according to claim 5.
JP28018594A 1994-11-15 1994-11-15 Electric discharge gap control method for die sinking electric discharge machine Pending JPH08141847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28018594A JPH08141847A (en) 1994-11-15 1994-11-15 Electric discharge gap control method for die sinking electric discharge machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28018594A JPH08141847A (en) 1994-11-15 1994-11-15 Electric discharge gap control method for die sinking electric discharge machine

Publications (1)

Publication Number Publication Date
JPH08141847A true JPH08141847A (en) 1996-06-04

Family

ID=17621487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28018594A Pending JPH08141847A (en) 1994-11-15 1994-11-15 Electric discharge gap control method for die sinking electric discharge machine

Country Status (1)

Country Link
JP (1) JPH08141847A (en)

Similar Documents

Publication Publication Date Title
US4649252A (en) Wire-cut electric discharge machining method
US4513380A (en) Method of tool recovery in threadcutting apparatus
US4837415A (en) Wire electrode type electric discharge machining apparatus
TW201447520A (en) Numerical control device
JP7364358B2 (en) Wire electrical discharge machine and wire electrical discharge machining method
JP2682310B2 (en) Wire electric discharge machining method and apparatus
US4891487A (en) Electrode return control for electric spark machine
JPH08141847A (en) Electric discharge gap control method for die sinking electric discharge machine
JPWO2003045614A1 (en) Wire electrical discharge machine
JP2914101B2 (en) Wire electric discharge machining method and apparatus
JP2004122260A (en) Wire electric discharge machine
JPH01501051A (en) Wire cut electric discharge machine
JPS5851021A (en) Backing control system in electric discharge machine
JPH05116031A (en) Electric discharge machining device
JPH0724638A (en) Electric discharge machining control device
JPH01210221A (en) Wire cut electric discharge machining method and apparatus therefor
JPH04176516A (en) Second cut machining method and second cut machining controller in wire electric discharge machining
JP2926524B2 (en) Numerical controller with trial cutting function
JPH0732218A (en) Wire electric discharge machining device
JP3805139B2 (en) Electric discharge machining method and apparatus
JP3547618B2 (en) Computer-readable recording medium storing electric discharge machining apparatus, electric discharge machining method, and program for causing computer to execute electric discharge machining method
JPS63134122A (en) Numerically controlled electric discharge machine
JPH11151617A (en) Generating discharge machining method and device
JP2002066842A (en) Electrical discharge machining method and apparatus for profiling
JPH02190219A (en) Electric discharge machine