JPH09155645A - Nc data producing method in wire electric discharge machine - Google Patents

Nc data producing method in wire electric discharge machine

Info

Publication number
JPH09155645A
JPH09155645A JP34613195A JP34613195A JPH09155645A JP H09155645 A JPH09155645 A JP H09155645A JP 34613195 A JP34613195 A JP 34613195A JP 34613195 A JP34613195 A JP 34613195A JP H09155645 A JPH09155645 A JP H09155645A
Authority
JP
Japan
Prior art keywords
machining
data
point
approach
wire
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
JP34613195A
Other languages
Japanese (ja)
Inventor
Takashi Takegahara
隆史 竹ヶ原
Shigetoshi Takagi
成年 高木
Koji Suzuki
康治 鈴木
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 JP34613195A priority Critical patent/JPH09155645A/en
Publication of JPH09155645A publication Critical patent/JPH09155645A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To produce an NC data of a pattern for machining suitable for the purpose of a user in a short time, by producing automatically an NC data in order to carry out a wire electric discharge machining, depending on a set machining pattern, and preset machining configuration and machining condition. SOLUTION: By operating the keyboard and the like of a manual data input device 23 with display while making a CPU 19 for CNC execute a form input program stored in a ROM 17, a work such as producing a machining form by the interactive operation with a display screen can be carried out. The produced machining form is stored in an RAM 18. In the ROM 17, a function to produce the NC data in order to carry out the wire electric discharge machining depending on the preset machining form and the machining condition is stored as an application program of each basic operation.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ワイヤ放電加工機
におけるNCデータ作成方法の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to improvement of NC data creating method in a wire electric discharge machine.

【0002】[0002]

【従来の技術】予め設定された加工形状および加工条件
に基いてワイヤ放電加工のためのNCデータを自動的に
作成するようにしたワイヤ放電加工機や自動プログラミ
ング装置等が既に知られている。
2. Description of the Related Art A wire electric discharge machine, an automatic programming device, etc., which automatically creates NC data for wire electric discharge machining based on a preset machining shape and machining conditions are already known.

【0003】ワイヤ放電加工機の基本動作には、アプロ
ーチ開始点(加工開始孔)からアプローチ点までワイヤ
電極を送るためのアプローチ動作、加工形状の輪郭加工
を行うための輪郭加工動作、加工形状上の逃げ開始点か
ら逃げ点までワイヤ電極を退避させるための逃げ動作等
があるが、従来のワイヤ放電加工機や自動プログラミン
グ装置等においては、これらの基本動作の実行順序が予
めソフトウェア上に固定的に登録されており、ユーザ側
でその実行順序を変えることはできなかった。
The basic operations of the wire electric discharge machine are: an approach operation for sending a wire electrode from an approach start point (machining start hole) to an approach point; a contour machining operation for performing contour machining of a machining shape; There is an escape operation for retracting the wire electrode from the escape start point to the escape point, but in the conventional wire electric discharge machine and automatic programming device, the execution order of these basic operations is fixed in advance in software. It was registered in and the execution order could not be changed by the user.

【0004】また、予め決められた基本動作の実行順序
の間に別の基本動作を組み込んだり、実行順序に登録さ
れた基本動作の一部をオミットしたりすることもでき
ず、当然、ユーザ側の都合に合わせて独自の加工プログ
ラムを作成するための基本動作の組み合わせを作成して
これを再登録するといったこともできなかった。
In addition, it is not possible to incorporate another basic operation in the execution order of the predetermined basic operation or to omit a part of the basic operation registered in the execution order. It was not possible to create a combination of basic motions to create an original machining program according to the circumstances and re-register it.

【0005】設定された加工回数、例えば、荒取りや中
仕上げや仕上げ加工の有無等に応じて加工形状を複数回
呼び出して加工形状の輪郭加工のためのNCデータを複
数回にわたって作成する自動プログラミング機能が本出
願人らにより既に提案されてはいるが、これも、予め決
められた基本動作の実行順序の中で特定の基本動作を繰
り返し実行するものに過ぎず、基本動作の実行順序を変
えたり、または、必要に応じて基本動作を取捨選択する
といった機能はない。
Automatic programming for calling up a machining shape a plurality of times according to a set number of times of machining, for example, roughing, semi-finishing, presence or absence of finishing, and creating NC data for contour machining of the machining shape a plurality of times. Although the function has already been proposed by the present applicants, this also merely executes a specific basic operation repeatedly in a predetermined basic operation execution order, and changes the basic operation execution order. Or, there is no function to select basic actions as necessary.

【0006】ソフトウェア上に固定的に登録された基本
動作の実行順序は、十分な経験の蓄積とユーザの意見等
を考慮した上でメーカが設定したものだけあって、これ
に沿って作成された加工プログラムに従って加工を行う
だけで常に平均以上の成果を得ることができるが、熟練
したユーザの側から見れば、基本動作の実行順序が一義
的に決められてしまっていることが逆に足枷となり、平
均以上の成果を得られなくなるという点で不満が残る。
The execution order of the basic operations fixedly registered in the software is set by the manufacturer in consideration of the accumulation of sufficient experience and the opinions of the user, and is created in accordance with this. You can always achieve above-average results simply by performing the machining according to the machining program, but from the viewpoint of experienced users, the fact that the execution order of basic operations is uniquely decided is a stumbling block. , I'm still dissatisfied with the fact that I can't get above average results.

【0007】このような場合、ユーザサイドとしては、
加工プログラムの自動作成機能を無視し、完全なマニュ
アル操作で原始的な加工プログラムを組み上げて行く以
外にないが、決まり切ったルーチンワークを手動操作で
こなすというのも時間の無駄である。
In such a case, on the user side,
Although there is no choice but to assemble the primitive machining program by completely manual operation, ignoring the automatic creation function of the machining program, it is a waste of time to perform routine routine work manually.

【0008】[0008]

【発明が解決しようとする課題】本発明の目的は、前記
従来技術の欠点を解消し、ユーザの目的に適った加工パ
ターンのNCデータを短時間で作成することのできるワ
イヤ放電加工機におけるNCデータ作成方法を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned drawbacks of the prior art and to provide NC in a wire electric discharge machine capable of creating NC data of a machining pattern suitable for a user's purpose in a short time. It is to provide a method for creating data.

【0009】[0009]

【課題を解決するための手段】本発明は、ワイヤ放電加
工に必要とされる動作を基本動作毎に分割し、各基本動
作項目を予め準備しておき、該基本動作項目の実行順序
を任意に設定して加工パターンを設定し、設定加工パタ
ーンと、予め設定された加工形状および加工条件に基い
てワイヤ放電加工を行うためのNCデータを自動的に作
成させることを特徴とした構成により前記目的を達成し
た。
According to the present invention, the operation required for wire electric discharge machining is divided for each basic operation, each basic operation item is prepared in advance, and the execution order of the basic operation item is arbitrary. And a machining pattern is set, and NC data for performing wire electric discharge machining is automatically created based on the set machining pattern and preset machining shape and machining conditions. Achieved the purpose.

【0010】更に、設定された加工パターンを記憶する
記憶手段を設け、該記憶された加工パターンに従って、
予め設定された加工形状および加工条件に基いてワイヤ
放電加工に必要とされる一連のNCデータを自動的に作
成させることにより、加工形状が異なるような場合で
も、似たような加工特性を有する加工対象に対しては、
以前に利用した基本動作の組み合わせをそのまま適用で
きるようにした。
Further, storage means for storing the set machining pattern is provided, and in accordance with the stored machining pattern,
By automatically creating a series of NC data required for wire electric discharge machining based on preset machining shapes and machining conditions, it has similar machining characteristics even when machining shapes differ. For the processing target,
The basic operation combinations used previously can now be applied as they are.

【0011】また、前記記憶手段に記憶された加工パタ
ーンに他の基本動作項目を挿入,追加または追加できる
ようにすることにより、以前に利用した基本動作の組み
合わせを叩き台として、簡単な操作で加工プログラムの
改良を行えるようにした。
Further, by inserting, adding or adding another basic operation item to the processing pattern stored in the storage means, the combination of the basic operations previously used can be used as a platform for a simple operation. Enabled to improve the program.

【0012】[0012]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。図1はワイヤ放電加工機とその制御
装置の構成の概略を示すブロック図である。ワイヤ放電
加工機の本体は、ベット1,支柱2,コラム3,アーム
4,クロステーブル5,加工槽6等を備え、制御装置1
1によりサーボ制御回路12,13を介して駆動制御さ
れるX軸駆動用のサーボモータMxおよびY軸駆動用の
サーボモータMyによりクロステーブル5がX−Y平面
内で移動されるようになっている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a wire electric discharge machine and its control device. The main body of the wire electric discharge machine includes a bed 1, a column 2, a column 3, an arm 4, a cross table 5, a machining tank 6 and the like, and a controller 1
The cross table 5 is moved in the XY plane by the X-axis driving servo motor Mx and the Y-axis driving servo motor My, which are driven and controlled by the servo control circuits 12 and 13 by 1. There is.

【0013】更に、ワイヤ放電加工機の本体には、コラ
ム3のジェットノズルや加工槽6に加工液を供給する加
工液循環器、および、ワイヤ送り等のための各種モー
タ、および、ワイヤ電極7に加工電圧を印加するための
放電加工電源等が設けられ、各々、加工液制御回路1
4,ワイヤ制御回路15,放電制御回路16を介して制
御装置11により駆動制御されるようになっている。
Further, in the body of the wire electric discharge machine, a machining liquid circulator for supplying the machining liquid to the jet nozzle of the column 3 and the machining tank 6, various motors for feeding the wire, and the wire electrode 7 are provided. Is provided with an electric discharge machining power source for applying a machining voltage to the machining liquid control circuit 1
4, the drive control is performed by the control device 11 via the wire control circuit 15 and the discharge control circuit 16.

【0014】制御装置11には、ROM17に格納され
たシステムプログラムやRAM18に格納された加工プ
ログラム等に基いて放電加工機の各軸を駆動制御するた
めのCNC用CPU19が設けられ、バス20を介し
て、前述のサーボ制御回路12,13が接続され、CN
C用CPU19は、加工プログラムに基いて各軸のサー
ボ制御回路12,13に分配パルスを出力する。
The control unit 11 is provided with a CNC CPU 19 for driving and controlling each axis of the electric discharge machine based on a system program stored in the ROM 17, a machining program stored in the RAM 18, etc., and a bus 20 is provided. The above-mentioned servo control circuits 12 and 13 are connected via
The C CPU 19 outputs a distribution pulse to the servo control circuits 12 and 13 for each axis based on the machining program.

【0015】PMC用CPU21は、ROM17に格納
されたシステムプログラムおよびRAM18に格納され
た電源条件や加工条件等に応じ、放電制御回路16およ
びワイヤ制御回路15と加工液制御回路14を駆動制御
する。
The PMC CPU 21 drives and controls the discharge control circuit 16, the wire control circuit 15 and the machining liquid control circuit 14 in accordance with the system program stored in the ROM 17 and the power supply conditions and machining conditions stored in the RAM 18.

【0016】CNC用CPU19には表示制御回路22
を介してディスプレイ付き手動データ入力装置23が接
続され、加工プログラムの入力操作や電源条件および加
工条件の入力操作等が行えるようになっており、また、
ディスプレイ付き手動データ入力装置23の表示画面に
より加工経路や設定条件のモニタ表示やメニュー項目の
選択が行えるようになっている。
The CNC CPU 19 has a display control circuit 22.
A manual data input device 23 with a display is connected via the device, so that a machining program can be input, a power source condition and a machining condition can be inputted, and the like.
A display screen of the manual data input device with a display 23 allows a monitor display of machining routes and setting conditions and selection of menu items.

【0017】更に、ROM17に格納されている形状入
力プログラムをCNC用CPU19に実行させながらデ
ィスプレイ付き手動データ入力装置23のキーボード等
を操作することにより、ディスプレイ画面との対話操作
で加工形状の作成等の作業を行うこともできる。作成さ
れた加工形状はRAM18に格納される。
Further, by operating the keyboard or the like of the manual data input device 23 with a display while causing the CPU 19 for CNC to execute the shape input program stored in the ROM 17, the machining shape is created by the interactive operation with the display screen. You can also work. The created machining shape is stored in the RAM 18.

【0018】また、ROM17には、予め設定された加
工形状および加工条件に基いてワイヤ放電加工のための
NCデータを作成するための機能が、基本動作毎のアプ
リケーションプログラムとして格納されている。
Further, the ROM 17 stores a function for creating NC data for wire electric discharge machining based on a preset machining shape and machining conditions as an application program for each basic operation.

【0019】ここでいう基本動作とは、例えば、(1) 加
工準備,(2) 放電オン,(3) アプローチ動作,(4) 輪郭
順方向加工動作,(5) 輪郭逆方向加工動作,(6) 逃げ動
作,(7) アプローチ開始点への移動,(8) 切残し部切断
動作,(9) ワイヤ切断,(10)ワイヤ結線,(11)放電オ
フ,(12)加工終了等である。以下、基本動作の各々につ
いて簡単に説明する。
The basic operation mentioned here includes, for example, (1) preparation for machining, (2) discharge on, (3) approach operation, (4) contour forward machining operation, (5) contour reverse machining operation, 6) Escape operation, (7) Move to approach start point, (8) Uncut portion cutting operation, (9) Wire cutting, (10) Wire connection, (11) Discharge off, (12) Machining end, etc. . Hereinafter, each of the basic operations will be briefly described.

【0020】まず、(1) の加工準備は、放電加工電源へ
の電力供給の開始とワイヤ送りの開始、ならびに、加工
液循環器の駆動開始とワイヤに張力を付与するためのテ
ンションモータの駆動開始動作とを含む準備動作であ
る。
First, the preparation for machining (1) is to start the supply of electric power to the electric discharge machining power source and the start of wire feeding, as well as the driving of the machining fluid circulator and the driving of the tension motor for applying tension to the wire. It is a preparation operation including a start operation.

【0021】また、(2) の放電オンは放電回路16によ
る放電加工電源の駆動制御の開始である。
Further, (2) discharge on is the start of drive control of the electric discharge machining power source by the discharge circuit 16.

【0022】(3) のアプローチ動作は、アプローチ開始
点からアプローチ点への加工移動動作である。例えば、
図6(イ)の例では、アプローチ開始点a からアプロー
チ点b への加工移動動作つまり図示(3) の動作がこれに
当たる。このアプローチ開始点a 及びアプローチ点b は
加工形状データを作成するときに入力されRAM18に
加工形状データと共に記憶されている。
The approach motion (3) is a machining movement motion from the approach start point to the approach point. For example,
In the example of FIG. 6 (a), this is the machining movement operation from the approach start point a to the approach point b, that is, the operation shown in (3). The approach start point a and the approach point b are input when creating the machining shape data and are stored in the RAM 18 together with the machining shape data.

【0023】また、ワイヤの現在位置がアプローチ開始
点上にない場合には、アプローチ動作の前に現在位置か
らアプローチ開始点への移動動作が必要となる。このア
プローチ開始点への移動動作が(7) のアプローチ開始点
への移動である。図4(ロ)の例ではワイヤの現在位置
が点e上にある場合を例にとって図示(7) の動作により
アプローチ開始点への移動を示している。
Further, when the current position of the wire is not on the approach starting point, a moving operation from the current position to the approach starting point is required before the approaching operation. This movement to the approach starting point is the movement to the approach starting point in (7). In the example of FIG. 4B, the case where the current position of the wire is on the point e is shown as an example to show the movement to the approach start point by the operation shown in FIG.

【0024】(4) の輪郭順方向加工動作は加工形状の輪
郭に沿ってアプローチ点から反時計方向(もしくは時計
方向)に一巡する加工移動動作であり、この経路に沿っ
てワイヤを移動させるためのNCデータは、(4) の輪郭
順方向加工動作のアプリケーションプログラムを起動す
ることにより、CNC用CPU19が加工形状のデータ
を読み込んで自動的に作成する。但し、これは切残し部
がない加工の場合である。
The contour forward machining operation of (4) is a machining movement operation that makes a round in the counterclockwise direction (or clockwise direction) from the approach point along the contour of the machined shape, in order to move the wire along this path. The NC data of (4) is automatically created by the CNC CPU 19 reading the data of the machining shape by activating the application program for the contour forward machining operation of (4). However, this is the case of machining without a cut-out portion.

【0025】また、(5) の輪郭逆方向加工動作は、順方
向と逆方向に加工形状に沿って一巡する加工移動動作で
あり、この経路に沿ってワイヤを移動させるためのNC
データは、(5) の輪郭逆方向加工動作のアプリケーショ
ンプログラムを起動することにより、CNC用CPU1
9が加工形状のデータを読み込んで自動的に作成する。
但し、前記と同様、切残し部がない加工の場合である。
Further, the contour reverse direction machining operation of (5) is a machining movement operation which makes one round along the machining shape in the forward direction and the reverse direction, and NC for moving the wire along this path.
The data is stored in the CPU 1 for CNC by activating the application program for the reverse contour machining operation in (5).
9 reads the data of the processed shape and automatically creates it.
However, as in the case of the above, it is the case of the processing without the uncut portion.

【0026】一方、図6に例を示すように切残し部があ
る加工の場合では、形状作成作業の段階で加工形状の輪
郭上に予め逃げ開始点d ,逃げ点e が設定されており、
切残し部となるのは点b と点d の間の区間である。切残
し部を有する加工の場合、(4) の輪郭順方向加工動作を
選択した場合では点b がアプローチ点として自動的に選
択され、加工形状の輪郭に沿ってアプローチ点b から逃
げ開始点d まで反時計方向に一巡する加工移動動作のN
CデータがCNC用CPU19により前記と同様にして
自動的に作成される(図4(ハ)の図示(4) の経路)。
On the other hand, in the case of machining having an uncut portion as shown in the example of FIG. 6, the escape start point d and the escape point e are set in advance on the contour of the machined shape at the stage of shape forming work.
The uncut portion is the section between points b and d. In the case of machining with an uncut portion, point b is automatically selected as the approach point when the contour forward machining operation in (4) is selected, and the escape start point d from the approach point b along the contour of the machining shape. N of the machining movement operation that goes round counterclockwise until
The C data is automatically created by the CNC CPU 19 in the same manner as described above (route (4) shown in FIG. 4C).

【0027】また、切残し部を有する加工で(5) の輪郭
逆方向加工動作を選択した場合では、点d がアプローチ
点として自動的に選択され、加工形状の輪郭に沿って点
d から点b まで時計方向に一巡する加工移動動作のNC
データがCNC用CPU19により自動的に作成される
(図6(ニ)の図示(5) の経路)。
Further, when the contour reverse machining operation of (5) is selected in the machining having the uncut portion, the point d is automatically selected as the approach point, and the point along the contour of the machining shape is selected.
NC of machining movement operation that makes one round clockwise from d to point b
Data is automatically created by the CNC CPU 19 (route (5) shown in FIG. 6D).

【0028】従って、点a と点b ,及び点e と点b は、
それぞれセットとして設定されており、アプローチ動作
の指令が入力された時点で、ワイヤ位置が、点a の位置
であれば点b の位置へ、点e の位置であれば点d の位置
へのアプローチ動作を行うNCデータを自動的に作成す
る。
Therefore, the points a and b, and the points e and b are
Each is set as a set, and when the approach movement command is input, if the wire position is the position of point a, approach the position of point b, and if the position of point e, approach the position of point d. Automatically create NC data for operation.

【0029】(6) の逃げ動作は、逃げ開始点から逃げ点
への加工移動動作である。切残し部がある加工の場合で
は、形状作成作業の段階で予め加工形状の輪郭上に逃げ
開始点が設定されると共に逃げ点が設定される。これは
アプローチ点に対するアプローチ開始点の設定と同様で
ある。例えば、図4(イ)に示す例で輪郭順方向加工動
作を行うとすれば、逃げ開始点d から逃げ点e への加工
移動動作、つまり、図示(6) の動作が逃げ動作に当た
る。但し、この逃げ動作が必ずしも点d から点eへの移
動であるとは限らず、その直前に行われた輪郭加工動作
が輪郭逆方向加工動作であった場合では、図4(イ)に
おける点b から点a への移動が逃げ動作となる。つま
り、ワイヤ現在位置(直前に行われた輪郭加工動作の加
工終了点)に対応して設定されたアプローチ開始点もし
くは逃げ点への加工移動が実質的な逃げ動作である。
The escape operation (6) is a machining movement operation from the escape start point to the escape point. In the case of machining having an uncut portion, a clearance starting point and a clearance point are set in advance on the contour of the machined shape at the stage of shape creation work. This is similar to setting the approach start point for the approach point. For example, if the contour forward machining operation is performed in the example shown in FIG. 4A, the machining movement operation from the escape start point d to the escape point e, that is, the operation shown in (6) corresponds to the escape operation. However, this escape operation is not always the movement from the point d to the point e, and when the contour machining operation performed immediately before that is the contour reverse direction machining operation, the point in FIG. The movement from b to point a is the escape movement. That is, the machining movement to the approach start point or the escape point set corresponding to the current wire position (the machining end point of the contour machining operation performed immediately before) is a substantial escape operation.

【0030】また、(8) の切残し部切断動作は、切残し
部がある加工の場合において、この切残し部を最終的に
切断するための加工移動動作であり、図6(ロ)に示す
例では図示(8) の動作に相当する。この例では点b から
点d への直線加工移動動作となっているが、点d から点
b への直線加工移動動作であっても構わない。切残し部
切断動作の前に選択されているアプローチ動作の終点は
いずれにせよアプローチ点b または逃げ開始点d のいず
れか一方であるので、CNC用CPU19は、直前のア
プローチ動作の終点データに基き、この終点とは異なる
もう一方の点bまたは点d 、つまり、終点データが点b
である場合には点d 、また、終点データが点d である場
合には点b を目標位置として選択し、この目標位置まで
の移動に必要とされる加工移動動作のためのNCデータ
を自動的に作成する。
Further, the uncut portion cutting operation of (8) is a processing movement operation for finally cutting the uncut portion in the case of processing with the uncut portion, and is shown in FIG. In the example shown, it corresponds to the operation shown in (8). In this example, the linear machining movement operation from point b to point d is performed, but from point d to point d
It may be a linear machining movement operation to b. Since the end point of the approach operation selected before the uncut portion cutting operation is either the approach point b or the escape start point d in any case, the CNC CPU 19 uses the end point data of the immediately preceding approach operation as a basis. , The other point b or d different from this end point, that is, the end point data is point b
If it is, point d is selected, and if the end point data is point d, point b is selected as the target position, and NC data for the machining movement operation required to move to this target position is automatically selected. To create.

【0031】(9) のワイヤ切断は、ワイヤを自動切断し
てワイヤとワークとの干渉をなくし、ワイヤを次の加工
位置へと移動させられるようにするための処理である。
The wire cutting of (9) is a process for automatically cutting the wire to eliminate the interference between the wire and the work, and to move the wire to the next processing position.

【0032】(10)のワイヤ結線は、ワイヤ切断の処理で
切断したワイヤに再び送りをかけてワークに貫通させ、
新たな加工位置で再びワイヤ放電加工を開始させるため
の処理である。
In the wire connection of (10), the wire cut in the wire cutting process is fed again to penetrate the work,
This is a process for restarting the wire electric discharge machining at a new machining position.

【0033】(11)の放電オフは放電回路16による放電
加工電源の駆動制御の終了である。
Discharge off in (11) is the end of the drive control of the electric discharge machining power supply by the discharge circuit 16.

【0034】また、(12)の加工終了は、放電加工電源へ
の電力供給の停止とワイヤ送りの停止、ならびに、加工
液循環器の停止とワイヤに張力を付与するためのテンシ
ョンモータの駆動停止処理である。
In addition, the end of machining in (12) is to stop the supply of electric power to the electric discharge machining power source and the wire feed, and also to stop the machining fluid circulator and stop the driving of the tension motor for applying tension to the wire. Processing.

【0035】次に、図2に示すような加工形状に対し切
残し部を残して輪郭順方向加工動作を2回行う場合を例
にとって、オペレータおよびCNC用CPU19による
処理操作を説明する。なお、加工条件や加工形状は、形
状入力プログラムを利用した加工形状の作成作業により
既に作成されてRAM18に格納されているものとす
る。
Next, the processing operation by the operator and the CPU 19 for the CNC will be described by taking as an example the case where the contour forward direction machining operation is performed twice for the machined shape as shown in FIG. It is assumed that the machining conditions and the machining shape have already been created by the creation operation of the machining shape using the shape input program and stored in the RAM 18.

【0036】オペレータは、まず、ディスプレイ付き手
動データ入力装置23を操作して“加工パターンの作
成”のメニュー項目を選択し、CNC用CPU19によ
る“加工パターン作成処理”を開始させ、ディスプレイ
付き手動データ入力装置23の画面に図3に示すような
設定画面を表示させる。この段階では選択項目表示領域
26は空白であり、基本動作表示領域25に前記した
(1) 〜(12)の基本動作項目が表示されると共に、加工形
状表示領域27には、オペレータにより選択されてRA
M18から読み込まれた加工形状が表示される。
First, the operator operates the manual data input device with a display 23 to select the menu item "creation pattern creation" to start the "machining pattern creation process" by the CPU 19 for CNC, and then the manual data with a display is displayed. A setting screen as shown in FIG. 3 is displayed on the screen of the input device 23. At this stage, the selection item display area 26 is blank, and the basic operation display area 25 is described above.
The basic operation items (1) to (12) are displayed, and the RA is selected in the machining shape display area 27 by the operator.
The machining shape read from M18 is displayed.

【0037】その後、CNC用CPU19は基本動作項
目の選択操作を待つ待機状態に入り、オペレータが基本
動作表示領域25から基本動作項目を選択する毎に、選
択された基本動作の名称が上から順に選択項目表示領域
26に表示される。CNC用CPU19は、選択された
基本動作項目とその選択順序をRAM18に順次記憶し
て行く。なお、基本動作表示領域25からの項目の選択
操作は、カーソル移動キーによりカーソルを移動させて
ピック操作を行ったり、項目に対応する数値(1) 〜(12)
をテンキーから数値入力すること等によって行うことが
できる。
After that, the CNC CPU 19 enters a standby state waiting for a basic operation item selection operation, and each time the operator selects a basic operation item from the basic operation display area 25, the name of the selected basic operation is sequentially displayed from the top. It is displayed in the selection item display area 26. The CPU 19 for CNC sequentially stores the selected basic operation item and the selection order thereof in the RAM 18. To select an item from the basic operation display area 25, use the cursor movement keys to move the cursor to perform a pick operation, or select a value (1) to (12) corresponding to the item.
Can be performed by inputting a numerical value from the ten keys.

【0038】項目の選択および実行順序の設定(項目の
選択順序)は全てオペレータに任されるが、設定を誤っ
たような場合には、一旦選択項目表示領域26に表示さ
れた選択項目を削除キーにより削除してRAM18の対
応領域から記憶を消去したり、また、インサートキーを
操作して動作順序の途中に別の動作項目を挿入してこれ
をRAM18に追加記憶させたりすることもできる。無
論、選択項目表示領域26に表示された一連の選択情報
を範囲指定により纏めて削除したり、範囲指定により纏
めて移動またはコピーして動作順序の途中に挿入したり
することもできる。例えば、図3の例では第3行目(
(3)アプローチ動作)〜第8行目((10)ワイヤ結線)ま
での情報と第9行目〜第14行目までの情報とが同一で
あるので、第9行目〜第14行目までの入力操作をわざ
わざカーソルやテンキーによる選択操作によって行う必
要はなく、第3行目〜第8行目までを範囲指定してコピ
ーすればよい。CNC用CPU19はこれらの操作を逐
次検出してRAM18内のデータをソーティングする。
The selection of items and the setting of the execution order (the selection order of items) are all left to the operator. However, if the settings are incorrect, the selection items once displayed in the selection item display area 26 are deleted. It is also possible to delete with a key to delete the memory from the corresponding area of the RAM 18, or to operate the insert key to insert another operation item in the middle of the operation sequence and additionally store this in the RAM 18. Of course, a series of selection information displayed in the selection item display area 26 can be collectively deleted by specifying the range, or can be moved or copied collectively by specifying the range and inserted in the middle of the operation sequence. For example, in the example of FIG. 3, the third line (
(3) Approach operation) -The information from the 8th line ((10) wire connection) and the information from the 9th line to the 14th line are the same, so the 9th line to the 14th line It is not necessary to purposely perform the input operation up to the selection operation with the cursor or the ten-key pad, and it is sufficient to specify the range from the third line to the eighth line and copy. The CNC CPU 19 sequentially detects these operations and sorts the data in the RAM 18.

【0039】最終的に、オペレータが基本動作項目の設
定を終えて確定キーを操作すると、RAM18内のデー
タが確定する。
Finally, when the operator finishes setting the basic operation items and operates the confirm key, the data in the RAM 18 is confirmed.

【0040】この段階で登録の要不要を尋ねるメッセー
ジが表示されるので、オペレータは登録の実行もしくは
登録の省略のいずれか一方を選択し、キーボードのYキ
ーまたはNキー等を操作してCNC用CPU19に選択
結果を認識させる。登録の実行を選択した場合は改めて
登録名称を尋ねるメッセージが表示されるので、オペレ
ータはキーボードから“加工パターン”(加工の種類)
に関する適当な登録名称、例えば、図3の例ではその加
工の性格から、“輪郭複数回加工(順方向のみ)”等を
入力する。これに応じ、CNC用CPU19は、選択項
目表示領域26に最終的に表示されている情報、つま
り、項目の選択および実行順序の設定状況を登録名称に
対応させて不揮発性メモリ24に記憶する。無論、省略
を選択した場合は上述した名称登録に関わる処理はキャ
ンセルされる。
At this stage, a message asking whether registration is necessary or not is displayed, so the operator selects either execution of registration or omission of registration and operates the Y key or N key of the keyboard to operate the CNC. The CPU 19 is made to recognize the selection result. When the execution of registration is selected, a message asking for the registration name is displayed again, so the operator can use the keyboard to enter the "processing pattern" (processing type).
An appropriate registered name relating to, for example, "contour multiple times (only in the forward direction)" or the like is input from the nature of the processing in the example of FIG. In response to this, the CNC CPU 19 stores in the non-volatile memory 24 the information finally displayed in the selection item display area 26, that is, the selection status of the items and the setting status of the execution order in association with the registered name. As a matter of course, when the omission is selected, the above-mentioned name registration processing is canceled.

【0041】すると、次に再び画面上にNCデータ作成
の要不要を尋ねるメッセージが表示されるので、オペレ
ータは作成の実行もしくは省略のいずれか一方を選択す
る。ここで省略の方を選択すれば、基本動作の実行順序
(加工パターン)とその名称のみの登録が可能となる。
Then, a message asking whether NC data creation is necessary or not is again displayed on the screen, and the operator selects either execution or omission of creation. If the omitted one is selected here, only the execution sequence (processing pattern) of the basic operation and its name can be registered.

【0042】基本動作の実行順序およびその名称は不揮
発性メモリ24内に複数登録することが可能であり、一
旦登録された基本動作の実行順序は、ディスプレイ付き
手動データ入力装置23を操作して“加工パターン一
覧”の項目を選択し、図5に示されるような選択画面を
表示させて登録名称またはナンバー(登録名称に対応す
る数字)を指定することにより再び呼び出すことができ
る。この操作を行った場合の表示状況は図3の例と基本
的に同じであるが、選択項目表示領域26には最初から
選択名称に対応した基本動作の実行順序が表示される。
また、呼び出し操作と共に加工形状の選択操作を実行す
れば(但し予めRAM18に記憶されている加工形状に
限る)、加工形状表示領域27にはオペレータにより選
択された加工形状が表示されることになる。
A plurality of execution orders of basic operations and their names can be registered in the non-volatile memory 24. The execution order of basic operations once registered can be changed by operating the manual data input device with display 23. It can be called again by selecting the item of "machining pattern list", displaying the selection screen as shown in FIG. 5, and designating the registered name or number (the number corresponding to the registered name). The display status when this operation is performed is basically the same as the example of FIG. 3, but the execution order of basic operations corresponding to the selected name is displayed in the selection item display area 26 from the beginning.
When the machining shape selecting operation is executed together with the calling operation (however, the machining shape is stored in advance in the RAM 18 only), the machining shape selected by the operator is displayed in the machining shape display area 27. .

【0043】つまり、新たな加工形状を設計する度に基
本動作の実行順序(加工パターン)をいちいち考える必
要は必ずしもなく、今回設計した加工形状と特性が類似
した加工形状に対して設定された加工パターンが既に登
録されている場合には、NCデータを作成すべき加工形
状とこの加工形状に対して適用すべき加工パターンの名
称を選択するだけで、NCデータの自動作成が可能にな
るということである。
That is, it is not always necessary to consider the execution sequence (machining pattern) of the basic operation each time a new machining shape is designed, and the machining shape set for the machining shape having similar characteristics to the machining shape designed this time is set. If a pattern has already been registered, NC data can be automatically created by simply selecting the machining shape for which NC data is to be created and the name of the machining pattern to be applied to this machining shape. Is.

【0044】このような場合は、図3のような画面を表
示させた後、データに修正を加えずに直ちに確定キーを
操作し、登録の省略を選択してから、NCデータ作成の
要不要のメッセージに対して作成実行と答えれば、以下
に示すNCデータの作成処理が自動的に開始されること
になる。
In such a case, after the screen as shown in FIG. 3 is displayed, it is not necessary to create NC data after operating the enter key immediately without modifying the data and selecting the omission of registration. If the answer is "Create execution" for the message, the NC data creation process shown below is automatically started.

【0045】NCデータの作成処理に関しては、新たに
基本動作の実行順序を設定した場合であっても、既に登
録されている基本動作の実行順序を登録名称によって呼
び出した場合であっても全く同様である。ここでは、図
3の例を参照してNCデータの作成処理を説明する。
The NC data creation process is the same whether the execution order of the basic operations is newly set or the execution order of the already registered basic operations is called by the registered name. Is. Here, the NC data creation process will be described with reference to the example of FIG.

【0046】NCデータの作成が要求された場合、CN
C用CPU19は、NCデータへの変換プログラムを起
動し、まず、第1番目の加工順序に記憶された基本動作
の種別を判別し、この基本動作のためのNCデータを作
成することになる。図3の場合は(1) の加工準備、即
ち、放電加工電源への電力供給の開始とワイヤ送りの開
始、ならびに、加工液循環器の駆動開始とワイヤに張力
を付与するためのテンションモータの駆動開始指令であ
る。この指令は、加工形状に対応してRAM18のNC
データ記憶領域に記憶される。
If creation of NC data is requested, CN
The C CPU 19 activates the NC data conversion program, first determines the type of the basic operation stored in the first machining sequence, and creates the NC data for this basic operation. In the case of Fig. 3, preparation for machining in (1), namely, the start of power supply to the electric discharge machining power supply and the start of wire feed, the start of the machining fluid circulator and the tension motor for applying tension to the wire. This is a drive start command. This command corresponds to the machining shape and NC of RAM18.
It is stored in the data storage area.

【0047】その次は、(2) の放電オン、つまり、放電
回路16による放電加工電源の駆動制御の開始指令であ
るから、前記駆動指令に次いで、この開始指令がRAM
18のNCデータ記憶領域に記憶されることになる。
Next is (2) the discharge on, that is, the start command of the drive control of the electric discharge machining power source by the discharge circuit 16, so that this start command is next to the drive command in the RAM.
It will be stored in 18 NC data storage areas.

【0048】次は、(3) のアプローチ動作であるが、こ
の場合、ワイヤの位置がアプローチ開始点a の位置か、
逃げ点e の位置か判断し、始めは加工開始孔のアプロー
チ開始点a の位置であるから、CNC用CPU19は点
b をアプローチ点として自動的に選択し、アプローチ動
作をNCデータに変換する変換プログラムにより、アプ
ローチ開始点a からアプローチ点b への加工移動動作の
ためのNCデータを作成し、前記開始指令に次いでRA
M18のNCデータ記憶領域に記憶することになる。
The next is the approach operation of (3). In this case, whether the position of the wire is the position of the approach start point a,
It is determined whether the position is the escape point e. Since the position is the approach start point a of the machining start hole, the CNC CPU 19 sets the point.
b is automatically selected as the approach point, and the NC program for the machining movement operation from the approach start point a to the approach point b is created by the conversion program that converts the approach operation into NC data. RA
It will be stored in the NC data storage area of M18.

【0049】次は、(4) の輪郭順方向加工動作であり、
しかも、切残し部を有する加工であって、この時点では
点b がアプローチ点として定義されているから、CNC
用CPU19は、輪郭順方向加工動作をNCデータに変
換する変換プログラムにより、加工形状の輪郭に沿って
加工開始点b から加工終了点d まで反時計方向に一巡す
る加工移動動作のNCデータを作成し、前記アプローチ
動作のNCデータに次いでRAM18のNCデータ記憶
領域に記憶することになる。
Next is the contour forward machining operation of (4),
In addition, it is a machining operation that has an uncut portion, and since point b is defined as the approach point at this point, CNC
The CPU 19 for processing creates NC data of the machining movement operation that makes a round in the counterclockwise direction from the machining start point b to the machining end point d along the contour of the machining shape by a conversion program that converts the contour forward machining operation into NC data. However, the NC data of the approach operation is stored next in the NC data storage area of the RAM 18.

【0050】次は、(6) の逃げ動作であるが、この時点
では点d が加工終了点として定義されているので、この
点d に対応して設定された点e が逃げ点として自動的に
選択される。従って、CNC用CPU19は、逃げ動作
をNCデータに変換する変換プログラムにより、加工終
了点d から逃げ点e への加工移動動作のためのNCデー
タを作成し、前記輪郭順方向加工動作のためのNCデー
タに次いでRAM18のNCデータ記憶領域に記憶する
ことになる。
The next is the escape operation of (6). Since the point d is defined as the machining end point at this point, the point e set corresponding to this point d is automatically set as the escape point. To be selected. Therefore, the CNC CPU 19 creates the NC data for the machining movement operation from the machining end point d to the escape point e by the conversion program for converting the escape operation into NC data, and executes the contour forward direction machining operation. Next to the NC data, it will be stored in the NC data storage area of the RAM 18.

【0051】次は(9) のワイヤ切断であるから、CNC
用CPU19は、ワイヤを切断するためのMコードを逃
げ動作のためのNCデータに次いでRAM18のNCデ
ータ記憶領域に記憶する。
Next, since the wire cutting of (9) is performed, the CNC
The CPU 19 for storing stores the M code for cutting the wire in the NC data storage area of the RAM 18 next to the NC data for the escape operation.

【0052】そして、次は(7) のアプローチ開始点への
移動であるが、現在位置が点e であるから、アプローチ
開始点としては、点a が選択されることになる。従っ
て、CNC用CPU19は、アプローチ開始点への移動
のためのNCデータを作成する変換プログラムにより、
逃げ点e (現在位置)からアプローチ開始点a への移動
動作のためのNCデータを作成し、前記ワイヤ切断指令
のMコードに次いでRAM18のNCデータ記憶領域に
記憶する。
Next, the movement to the approach start point of (7) is performed, but since the current position is the point e, the point a is selected as the approach start point. Therefore, the CNC CPU 19 uses the conversion program that creates the NC data for moving to the approach starting point,
NC data for moving operation from the escape point e (current position) to the approach start point a is created, and is stored in the NC data storage area of the RAM 18 next to the M code of the wire cutting command.

【0053】次は、(10)のワイヤ結線であるから、CN
C用CPU19は、ワイヤを結線するためのMコードを
前記アプローチ動作のNCデータに次いでRAM18の
NCデータ記憶領域に記憶する。
Next, since it is the wire connection of (10), CN
The CPU 19 for C stores the M code for connecting the wire in the NC data storage area of the RAM 18 next to the NC data for the approach operation.

【0054】以下、CNC用CPU19は、(3) のアプ
ローチ動作,(4) の輪郭順方向加工動作,(6) の逃げ動
作,(9) のワイヤ切断,(7) のアプローチ開始点への移
動,(10)のワイヤ結線の各NCデータを前記各々の変換
プログラムに基いて作成してRAM18のNCデータ記
憶領域に順番に記憶する。なお、(10)のワイヤ結線終了
時点におけるワイヤの位置はアプローチ開始点a 上にあ
る。
Thereafter, the CNC CPU 19 moves to the approach operation of (3), the contour forward machining operation of (4), the escape operation of (6), the wire cutting of (9), and the approach starting point of (7). Each NC data of the wire connection of the movement (10) is created based on each conversion program and stored in the NC data storage area of the RAM 18 in order. The position of the wire at the end of wire connection in (10) is on the approach start point a.

【0055】次は、(3) のアプローチ動作である。この
場合、アプローチ動作直前のワイヤ位置は点(a) 上にあ
るので、アプローチ点は点(b) となる。従って、CNC
用CPU19は、アプローチ動作をNCデータに変換す
る変換プログラムにより、アプローチ開始点a (現在位
置)から加工開始点b への加工移動動作のためのNCデ
ータを作成し、前記ワイヤ結線指令のMコードに次いで
RAM18のNCデータ記憶領域に記憶する。
The next is the approach operation (3). In this case, since the wire position immediately before the approach operation is on the point (a), the approach point is the point (b). Therefore, CNC
The CPU 19 for processing creates NC data for the machining movement operation from the approach start point a (current position) to the machining start point b by the conversion program for converting the approach operation into NC data, and the M code of the wire connection command. Then, the data is stored in the NC data storage area of the RAM 18.

【0056】そして、次は、(8) の切残し部切断動作で
ある。この場合、切残し部切断動作の前に選択されてい
るアプローチ動作の終点はアプローチ点b となっている
ので、CNC用CPU19は切残し部切断動作のための
NCデータを作成する変換プログラムにより、直前のア
プローチ動作の終点データb に基き、この終点bとは異
なる加工形状上に定義された点逃げ開始点d を目標位置
として選択し、アプローチ点b から目標位置d までの移
動に必要とされる加工移動動作のためのNCデータを作
成し、前記アプローチ動作のためのNCデータに次いで
RAM18のNCデータ記憶領域に記憶する。
Then, the operation (8) of cutting the uncut portion is performed next. In this case, since the end point of the approach operation selected before the uncut portion cutting operation is the approach point b, the CPU for CNC 19 uses the conversion program that creates the NC data for the uncut portion cutting operation. Based on the end point data b of the immediately preceding approach motion, the point escape start point d defined on the machining shape different from this end point b is selected as the target position, and it is required for the movement from the approach point b to the target position d. The NC data for the machining movement operation is created, and is stored in the NC data storage area of the RAM 18 next to the NC data for the approach operation.

【0057】次は、(6) の逃げ動作であるが、この時点
ではワイヤが逃げ開始点d 上に位置するので、この点d
に対応して設定された逃げ点e が逃げ点として自動的に
選択される。従って、CNC用CPU19は、逃げ動作
のためのNCデータを作成する変換プログラムにより、
加工終了点d から逃げ動作完了点e への加工移動動作の
ためのNCデータを作成し、前記切残し部切断動作のた
めのNCデータに次いでRAM18のNCデータ記憶領
域に記憶することになる。
Next, the escape operation (6) is performed. At this point, the wire is located on the escape start point d, so this point d
The escape point e set corresponding to is automatically selected as the escape point. Therefore, the CNC CPU 19 uses the conversion program that creates the NC data for the escape operation,
NC data for the machining movement operation from the machining end point d to the escape operation completion point e is created, and is stored in the NC data storage area of the RAM 18 next to the NC data for the uncut portion cutting operation.

【0058】次は、(11)放電オフであるから、前記逃げ
動作のためのNCデータに次いで、放電回路16の駆動
制御を終了する指令がRAM18のNCデータ記憶領域
に記憶されることになる。
Next, (11) since the discharge is off, the command for terminating the drive control of the discharge circuit 16 is stored in the NC data storage area of the RAM 18 next to the NC data for the escape operation. .

【0059】そして、最後に(12)加工終了が読み込ま
れ、CNC用CPU19は、前記駆動制御終了指令に次
いで、放電加工電源への電力供給の停止とワイヤ送りの
停止、ならびに、加工液循環器の停止とワイヤに張力を
付与するためのテンションモータの駆動停止指令をRA
M18のNCデータ記憶領域に記憶し、一連のNCデー
タ作成処理を終了する。
Finally, (12) Machining end is read, and the CNC CPU 19 follows the drive control end command, and then stops the power supply to the electric discharge machining power supply and the wire feed, and the machining liquid circulator. RA command to stop the tension motor and apply tension to the wire.
The data is stored in the NC data storage area of M18, and a series of NC data creation processing ends.

【0060】作成されたNCデータは、既に述べた通り
加工形状、例えば、その名称に対応してRAM18のN
Cデータ記憶領域内に記憶される。
The created NC data corresponds to the machining shape, for example, the N of the RAM 18 corresponding to its name as already described.
It is stored in the C data storage area.

【0061】次に、別の例として、図5に示されるよう
な“加工パターン一覧”の項目に予め登録してある基本
動作の実行順序を登録名称によって呼び出し、同じ加工
形状(図3の形状表示領域27を参照)に対してNCデ
ータの作成処理を行わせた場合について図4の例を参照
して簡単に説明する。この場合、呼び出された加工パタ
ーンの登録名称は“輪郭複数回加工(順/逆、両方
向)”である。既に述べた通り、登録名称によって基本
動作の実行順序を呼び出した場合であってもNCデータ
の作成処理に関しては前記と全く同様である。
Next, as another example, the execution order of basic operations registered in advance in the "machining pattern list" as shown in FIG. 5 is called by the registered name, and the same machining shape (shape in FIG. 3) is called. A case where the NC data creation processing is performed on the display area 27) will be briefly described with reference to the example of FIG. In this case, the registered name of the called machining pattern is “contour plural times machining (forward / reverse, both directions)”. As described above, even when the execution order of the basic operations is called by the registered name, the NC data creation process is exactly the same as the above.

【0062】図4の例においても第5番目までの基本動
作に関しては図3の例と全く同じであり、第5番目の基
本動作を終了した時点でワイヤの位置は逃げ点e に位置
するが、図4の例では第6番目の基本動作が(3) のアプ
ローチ動作となっており、この点では前記の例と相違す
る。
In the example of FIG. 4 as well, the basic operation up to the fifth is exactly the same as in the example of FIG. 3, and when the fifth basic operation is completed, the wire position is located at the escape point e. In the example of FIG. 4, the sixth basic operation is the approach operation (3), which is different from the above example.

【0063】この場合の、アプローチ動作は現在位置が
逃げ点e であることから、この点eがアプローチ開始点
となりこの点e に対応する点d がアプローチ点となり、
CNC用CPU19は点d をアプローチ点として自動的
に選択し、点e から点d へのアプローチ動作のためのN
Cデータを作成し、前記逃げ動作のためのNCデータに
次いでRAM18のNCデータ記憶領域に記憶すること
になる。つまり、アプローチ動作という同じ基本動作で
はあっても、前述した第3番目のアプローチ動作とは全
く異なる加工移動データが作成されるということであ
る。
In the approach operation in this case, since the current position is the escape point e, this point e becomes the approach start point, and the point d corresponding to this point e becomes the approach point,
The CNC CPU 19 automatically selects the point d as the approach point, and N for the approach operation from the point e to the point d.
The C data is created and stored in the NC data storage area of the RAM 18 next to the NC data for the escape operation. In other words, even with the same basic movement as the approach movement, machining movement data that is completely different from the third approach movement described above is created.

【0064】このように、この実施形態で採用されてい
る制御装置11には、各基本動作間の組み合わせ関係を
判断して次の移動目標位置を特定するための機能が備わ
っているため、基本動作の組み合わせや実行順序等を変
えた場合であっても、相互の組み合わせ関係により、目
標となる移動位置を選択し、適切なNCデータを作成す
ることができる。
As described above, the control device 11 employed in this embodiment is provided with a function for determining the next moving target position by judging the combinational relationship between the basic operations, Even when the combination of operations, the execution order, etc. are changed, it is possible to select a target movement position and create appropriate NC data based on the mutual combination relationship.

【0065】次は、(5) の輪郭逆方向加工動作であり、
しかも、切残し部を有する加工であって、この時点では
点d がアプローチ点として定義されているから、CNC
用CPU19は、輪郭逆方向加工動作をNCデータに変
換する変換プログラムにより、加工形状の輪郭に沿って
d から点b まで時計方向に一巡する加工移動動作のNC
データを作成し、前記アプローチ動作のNCデータに次
いでRAM18のNCデータ記憶領域に記憶することに
なる。
Next, the contour reverse direction machining operation of (5),
In addition, it is a machining operation that has an uncut portion, and since point d is defined as the approach point at this point, CNC
The CPU for use 19 follows the contour of the machining shape by the conversion program for converting the contour reverse machining operation into NC data.
NC of machining movement operation that makes one round clockwise from d to point b
Data will be created and stored in the NC data storage area of the RAM 18 next to the NC data of the approach operation.

【0066】次は、(6) の逃げ動作であるが、この時点
では点b が加工終了点として定義されているので、この
点b に対応して設定された点a が逃げ点として自動的に
選択される。従って、CNC用CPU19は、加工終了
点b から逃げ点a への加工移動動作のためのNCデータ
を作成し、前記輪郭逆方向加工動作のためのNCデータ
に次いでRAM18のNCデータ記憶領域に記憶するこ
とになる。この逃げ動作も、第3番目のアプローチ動作
に対する第6番目のアプローチ動作の場合と同様、第5
番目の逃げ動作とは内容が相違し、同じ基本動作ではあ
っても、第5番目のアプローチ動作とは異なる加工移動
データが作成されることになる。
The next is the escape operation of (6), but since point b is defined as the machining end point at this point, point a set corresponding to this point b is automatically set as the escape point. To be selected. Therefore, the CNC CPU 19 creates NC data for the machining movement operation from the machining end point b to the escape point a, and stores it in the NC data storage area of the RAM 18 next to the NC data for the contour reverse direction machining operation. Will be done. This escape motion is also the same as the case of the sixth approach motion for the third approach motion, and the fifth motion.
The content is different from that of the fifth escape movement, and even if the movement is the same basic movement, machining movement data different from that of the fifth approach movement is created.

【0067】次は、(3) のアプローチ動作であるが、こ
の場合、ワイヤ現在位置が点(a) となっているので、こ
れに対応する点(b)がアプローチ点となり、CNC用
CPU19は、点a (現在位置)からアプローチ点b へ
の加工移動動作のためのNCデータを作成し、前記逃げ
動作のためのNCデータに次いでRAM18のNCデー
タ記憶領域に記憶する。
The next is the approach operation of (3). In this case, since the current wire position is the point (a), the corresponding point (b) becomes the approach point, and the CNC CPU 19 , NC data for the machining movement operation from the point a (current position) to the approach point b is created, and is stored in the NC data storage area of the RAM 18 next to the NC data for the escape operation.

【0068】そして、次は、(8) の切残し部切断動作で
ある。この場合、切残し部切断動作の前に選択されてい
るアプローチ動作の終点は点b となっているので、CN
C用CPU19は、直前のアプローチ動作の終点データ
b に基き、この終点b とは異なるもう一方の加工形状上
に定義された点d を目標位置として選択し、点b から目
標位置d までの移動に必要とされる加工移動動作のため
のNCデータを作成し、前記アプローチ動作のためのN
Cデータに次いでRAM18のNCデータ記憶領域に記
憶する。
The next operation (8) is the uncut portion cutting operation. In this case, since the end point of the approach operation selected before the uncut portion cutting operation is point b, CN
The CPU 19 for C determines the end point data of the immediately preceding approach operation.
Based on b, select the point d defined on the other machining shape different from this end point b as the target position, and perform NC for the machining movement operation required to move from the point b to the target position d. Data is created and N for the approach motion
After the C data, it is stored in the NC data storage area of the RAM 18.

【0069】次は、(6) の逃げ動作であるが、この時点
ではワイヤが加工終了点d 上に位置するので、この点d
に対応して設定された点e が逃げ点として自動的に選択
される。従って、CNC用CPU19は、加工終了点d
から逃げ点e への加工移動動作のためのNCデータを作
成し、前記切残し部切断動作のためのNCデータに次い
でRAM18のNCデータ記憶領域に記憶することにな
る。
Next, the escape operation (6) is performed. At this point, however, since the wire is located above the processing end point d, this point d
The point e set to correspond to is automatically selected as the escape point. Therefore, the CNC CPU 19 determines that the machining end point d
The NC data for the machining movement operation from the to the escape point e is created, and is stored in the NC data storage area of the RAM 18 next to the NC data for the uncut portion cutting operation.

【0070】これに続く、(11)の放電オフおよび(12)の
加工終了は移動に関する実質的なNCデータを伴わない
ので、基本動作の組み合わせや実行順序等によって内容
に変化を生じることはなく、これに対応するMコード等
がその実行順序に応じてRAM18のNCデータ記憶領
域に単純に記憶されることになる。前述した(1) の加工
準備や(2) の放電オンもこれらと同様であり、基本動作
の組み合わせや実行順序等が変わったからといって内容
に変化を生じるものではない。
Since the subsequent discharge-off in (11) and the end of machining in (12) are not accompanied by substantial NC data relating to the movement, there is no change in the contents due to the combination of basic operations or the execution order. The M code or the like corresponding thereto is simply stored in the NC data storage area of the RAM 18 according to the execution order. The above-mentioned processing preparation in (1) and discharge-on in (2) are similar to these, and changes in the combination of basic operations and execution order do not change the contents.

【0071】以上に述べた通り、この実施形態の“加工
パターン作成処理”によれば、ワイヤ放電加工を達成す
るために必要とされる基本動作、例えば、加工準備,放
電オン,アプローチ動作,輪郭順方向加工動作,輪郭逆
方向加工動作,逃げ動作,アプローチ開始点への移動,
切残し部切断動作,ワイヤ切断,ワイヤ結線,放電オ
フ,加工終了等の基本動作を任意に組み合わせて一連の
加工パターン(=基本動作の実行順序)を作成し、これ
に合わせて自動的にNCデータを作成することができる
ので、従来のNCデータ作成方法のようにメーカが推奨
する加工パターンに束縛されることなく、自由な加工パ
ターンによってワイヤ放電加工を行わせることができ
る。
As described above, according to the "machining pattern creating process" of this embodiment, basic operations required for achieving wire electric discharge machining, such as machining preparation, discharge on, approach operation, contour, Forward machining operation, reverse contour machining operation, escape operation, move to approach start point,
A series of machining patterns (= execution order of basic operations) is created by arbitrarily combining basic operations such as uncut portion cutting operation, wire cutting, wire connection, discharge off, and machining end, and NC is automatically performed accordingly. Since data can be created, it is possible to perform wire electric discharge machining with a free machining pattern without being bound by the machining pattern recommended by the manufacturer as in the conventional NC data creating method.

【0072】従って、特に、技術的に高いレベルにある
ユーザや特殊な加工を行うユーザに対して加工の選択の
幅を広げることができ、より高度な水準の加工の可能性
が提供される。また、特殊な加工パターンのNCデータ
を作成するに際し、各種のコードや数値データ等を駆使
したマニュアル操作によって原始的な加工プログラムを
組み上げて行くといった必要はないので、オペレータに
過大な負担がかかることもない。
Therefore, particularly, the range of processing choices can be widened to a user who is technically at a high level or a user who performs special processing, and the possibility of higher level processing is provided. Also, when creating NC data of a special processing pattern, it is not necessary to assemble a primitive processing program by manual operation that makes full use of various codes and numerical data, so the operator is overloaded. Nor.

【0073】また、一旦設定した加工パターンは、例え
ば、“輪郭複数回加工(順方向のみ)”や“輪郭複数回
加工(順/逆、両方向)”等といった登録名称(加工の
種類)を設定することによって不揮発記憶することが可
能である。従って、似たような特性を有する加工形状が
設計された場合には、一旦登録された加工パターンをそ
のまま呼び出して加工形状に応じたNCデータを自動作
成したり、または、追加,挿入,削除等の編集作業によ
って部分的な改修を加えてNCデータを自動作成したり
することもできるので、技術的なノウハウの蓄積にも役
立つ。つまり、ユーザ独自の加工パターンを自由に開発
して登録し、これを自由に呼び出して利用できるという
ことである。
The machining pattern once set has a registered name (machining type) such as "contour multiple times machining (forward direction only)" or "contour multiple times machining (forward / reverse, both directions)". By doing so, nonvolatile storage is possible. Therefore, when a machining shape with similar characteristics is designed, the machining pattern once registered is called as it is to automatically create NC data according to the machining shape, or addition, insertion, deletion, etc. Since NC data can be automatically created by partially modifying it by editing work of, it is also useful for accumulating technical know-how. In other words, it is possible to freely develop and register a machining pattern unique to the user, and freely call and use it.

【0074】ユーザの層は様々であるから、経験の少な
いユーザ等のために、標準的な状況に対応した加工パタ
ーンの幾つかを予めメーカ側で登録してから装置を出荷
するようにしてもよい。
Since there are various layers of users, even for a user with little experience, some of the machining patterns corresponding to the standard situation may be registered in advance by the manufacturer side before the device is shipped. Good.

【0075】[0075]

【発明の効果】本発明によれば、ワイヤ放電加工に必要
とされる基本動作をパターン形成の1つの単位として、
ユーザの目的に適った加工パターンを自由に設定し、こ
の加工パターンに沿ってNCデータを短時間の内に自動
作成することができる。また、一旦作成した加工パター
ンを記憶させておき、この加工パターンをそのまま他の
加工形状のNCデータの自動作成に流用したり、更に、
予め記憶しておいた加工パターンに他の基本動作を挿
入,追加または削除して、加工パターンに部分的な改修
を加えてから他の加工形状のNCデータの自動作成に流
用するといったことも任意に実施できる。この結果、メ
ーカによって一義的に決められた加工パターンを利用し
てNCデータを作成する場合に比べ、加工の選択の幅が
大幅に広げられることになり、特に、技術的に高いレベ
ルにあるユーザや特殊な加工を行うユーザにおいては、
より高度な水準の加工が可能となる。
According to the present invention, the basic operation required for wire electric discharge machining is used as one unit of pattern formation.
It is possible to freely set a processing pattern suitable for the user's purpose and automatically create NC data along this processing pattern within a short time. Further, the machining pattern once created is stored, and this machining pattern is used as it is for automatic creation of NC data of another machining shape.
It is also possible to insert, add, or delete other basic motions to the machining pattern stored in advance, partially modify the machining pattern, and then use it for automatic creation of NC data of other machining shapes. Can be carried out. As a result, compared with the case where NC data is created by using a machining pattern uniquely determined by the manufacturer, the range of machining selection is greatly expanded, especially for users who are technically at a high level. For users who perform or special processing,
Higher level processing is possible.

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

【図1】ワイヤ放電加工機とその制御装置の構成の概略
を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a wire electric discharge machine and its control device.

【図2】加工形状の一例を示した模式図である。FIG. 2 is a schematic view showing an example of a processed shape.

【図3】加工パターン作成時における設定画面の一例を
示した概念図である。
FIG. 3 is a conceptual diagram showing an example of a setting screen when creating a processing pattern.

【図4】加工パターン作成時における設定画面の一例を
示した概念図である。
FIG. 4 is a conceptual diagram showing an example of a setting screen when creating a processing pattern.

【図5】加工パターン選択画面の一例を示した概念図で
ある。
FIG. 5 is a conceptual diagram showing an example of a processing pattern selection screen.

【図6】加工動作を例示した図である。FIG. 6 is a diagram illustrating a processing operation.

【符号の説明】 1 ベッド 2 支柱 3 コラム 4 アーム 5 クロステーブル 6 加工槽 7 ワイヤ 11 制御装置 17 ROM 18 RAM 19 CNC用CPU 23 ディスプレイ付き手動データ入力装置 24 不揮発性RAM[Explanation of Codes] 1 Bed 2 Support 3 Column 4 Arm 5 Cross Table 6 Processing Tank 7 Wire 11 Controller 17 ROM 18 RAM 19 CNC CPU 23 Manual Data Input Device with Display 24 Nonvolatile RAM

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ワイヤ放電加工に必要とされる動作を基
本動作毎に分割し、各基本動作項目を予め準備してお
き、該基本動作項目の実行順序を任意に設定して加工パ
ターンを設定し、設定加工パターンと、予め設定された
加工形状および加工条件に基いてワイヤ放電加工を行う
ためのNCデータを自動的に作成させることを特徴とし
たワイヤ放電加工機におけるNCデータ作成方法。
1. An operation required for wire electric discharge machining is divided into basic operations, each basic operation item is prepared in advance, and a machining pattern is set by arbitrarily setting the execution order of the basic operation items. An NC data creating method for a wire electric discharge machine is characterized in that NC data for automatically performing wire electric discharge machining is automatically created based on a set machining pattern and a preset machining shape and machining conditions.
【請求項2】 すでに作成された加工パターンを記憶す
る記憶手段を設け、該記憶された加工パターンを選択
し、選択された加工パターンと、予め設定された加工形
状および加工条件に基いてワイヤ放電加工に必要とされ
る一連のNCデータを自動的に作成させることを特徴と
した請求項1記載のワイヤ放電加工機におけるNCデー
タ作成方法。
2. A wire discharge is provided based on the selected machining pattern and preset machining shape and machining conditions by providing a storage means for storing the machining pattern already created. The NC data creating method for a wire electric discharge machine according to claim 1, wherein a series of NC data required for machining is automatically created.
【請求項3】 前記記憶手段に記憶された加工パターン
に対し、基本動作項目を挿入,追加または削除して新た
な加工パターンを作成できるようにしたことを特徴とし
た請求項2記載のワイヤ放電加工機におけるNCデータ
作成方法。
3. The wire discharge according to claim 2, wherein a basic operation item is inserted, added or deleted from the machining pattern stored in the storage means to create a new machining pattern. NC data creation method in processing machine.
JP34613195A 1995-12-12 1995-12-12 Nc data producing method in wire electric discharge machine Pending JPH09155645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34613195A JPH09155645A (en) 1995-12-12 1995-12-12 Nc data producing method in wire electric discharge machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34613195A JPH09155645A (en) 1995-12-12 1995-12-12 Nc data producing method in wire electric discharge machine

Publications (1)

Publication Number Publication Date
JPH09155645A true JPH09155645A (en) 1997-06-17

Family

ID=18381345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34613195A Pending JPH09155645A (en) 1995-12-12 1995-12-12 Nc data producing method in wire electric discharge machine

Country Status (1)

Country Link
JP (1) JPH09155645A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012102472A1 (en) * 2011-01-24 2012-08-02 두산인프라코어 주식회사 Apparatus and method for inputting cutting shape using interactive program in computer numerical control machine tool
KR20200092258A (en) * 2019-01-24 2020-08-03 화낙 코퍼레이션 Wire electrical discharge machine, machining program editor, wire electrode moving method and machining program editing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012102472A1 (en) * 2011-01-24 2012-08-02 두산인프라코어 주식회사 Apparatus and method for inputting cutting shape using interactive program in computer numerical control machine tool
US9557897B2 (en) 2011-01-24 2017-01-31 Doosan Machine Tools Co., Ltd. Apparatus and method for inputting cutting shape using interactive program in computer numerical control machine tool
KR20200092258A (en) * 2019-01-24 2020-08-03 화낙 코퍼레이션 Wire electrical discharge machine, machining program editor, wire electrode moving method and machining program editing method

Similar Documents

Publication Publication Date Title
US5465215A (en) Numerical control method and apparatus
EP0002750A1 (en) Computerized numerical controller for a machine tool
US6597142B2 (en) Apparatus and method for setting control parameters of machining apparatus
US5315503A (en) Numerical control apparatus having a teaching function and a method of teaching a machining program thereby
JPH0551419B2 (en)
JPH09155645A (en) Nc data producing method in wire electric discharge machine
JP2948797B2 (en) Machining sequence editing method and apparatus for wire cut electric discharge machining
JPH1049208A (en) Method and device for controlling machining operation of machine tool
US5619415A (en) Method of drawing a cutting area
JPH05297925A (en) Interactive numerical controller
JP3660038B2 (en) Numerical controller
US6356799B1 (en) Method of and apparatus for determining core-less machining shape, and computer-readable storage medium storing program for determining core-less machining shape
JP2869105B2 (en) Workpiece processing data editing method
JPH07120181B2 (en) Display method
JP2588944B2 (en) How to create NC data
JP2005085095A (en) Numerical controller, parameter setting method for numerical controller, and numerical control program
JPH11161313A (en) Numerical controller with cutting quantity limiting function
JPH1049210A (en) Numerically controlled electric discharge machine with operation checking function
JPH056684B2 (en)
JP2642451B2 (en) Numerical control unit
JP2686117B2 (en) Numerical control method
JPS6373401A (en) Resetting system for auxiliary function of numerical controller
JPH11143513A (en) Numerical controller having numerical control information production function
JPH0612116A (en) Numerical control device with built-in automatic programming
JPS63250705A (en) Numerical controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040802

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040809

A912 Removal of reconsideration by examiner before appeal (zenchi)

Effective date: 20040917

Free format text: JAPANESE INTERMEDIATE CODE: A912