JPH0688177B2 - Electric discharge machine - Google Patents

Electric discharge machine

Info

Publication number
JPH0688177B2
JPH0688177B2 JP59232812A JP23281284A JPH0688177B2 JP H0688177 B2 JPH0688177 B2 JP H0688177B2 JP 59232812 A JP59232812 A JP 59232812A JP 23281284 A JP23281284 A JP 23281284A JP H0688177 B2 JPH0688177 B2 JP H0688177B2
Authority
JP
Japan
Prior art keywords
program
data
displayed
screen
axis
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.)
Expired - Lifetime
Application number
JP59232812A
Other languages
Japanese (ja)
Other versions
JPS61111854A (en
Inventor
みどり 大田垣
光明 大下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59232812A priority Critical patent/JPH0688177B2/en
Publication of JPS61111854A publication Critical patent/JPS61111854A/en
Publication of JPH0688177B2 publication Critical patent/JPH0688177B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23HWORKING OF METAL BY THE ACTION OF A HIGH CONCENTRATION OF ELECTRIC CURRENT ON A WORKPIECE USING AN ELECTRODE WHICH TAKES THE PLACE OF A TOOL; SUCH WORKING COMBINED WITH OTHER FORMS OF WORKING OF METAL
    • B23H7/00Processes or apparatus applicable to both electrical discharge machining and electrochemical machining
    • B23H7/14Electric circuits specially adapted therefor, e.g. power supply
    • B23H7/20Electric circuits specially adapted therefor, e.g. power supply for programme-control, e.g. adaptive
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23HWORKING OF METAL BY THE ACTION OF A HIGH CONCENTRATION OF ELECTRIC CURRENT ON A WORKPIECE USING AN ELECTRODE WHICH TAKES THE PLACE OF A TOOL; SUCH WORKING COMBINED WITH OTHER FORMS OF WORKING OF METAL
    • B23H3/00Electrochemical machining, i.e. removing metal by passing current between an electrode and a workpiece in the presence of an electrolyte

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Mechanical Engineering (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、放電加工装置の制御用に作成された数値制
御プログラム(以下これをNCプログラムという。)の内
容、すなわち、電極の移動軌跡、移動軌跡に対応する電
極座標値、あるいはNCプログラムで設定されている電気
的条件等、あるいはこのNCプログラムにより加工される
被加工体を自動でCRT表示装置に最適な大きさで最適な
位置へ出力させることにより作成したNCプログラムが所
定の加工を行なうかどうかを目視によって簡単かつ正確
に検査できるようにした放電加工装置に関するものであ
る。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to the contents of a numerical control program (hereinafter referred to as an NC program) created for controlling an electric discharge machine, that is, an electrode movement locus and movement. Electrode coordinate values corresponding to the trajectory, electrical conditions set by the NC program, etc., or the workpiece to be processed by this NC program is automatically output to the CRT display device at the optimum size and position. The present invention relates to an electric discharge machining device capable of visually and simply inspecting whether or not an NC program created by the above performs a predetermined machining.

〔従来技術〕[Prior art]

第1図は従来のこの種放電加工装置の構成を示すブロッ
ク図である。(1)は被加工物(2)に所定間隙をあけて対向
し、放電加工装置の主軸(25)に着脱自在に取付けられた
加工用電極で、この加工用電極(1)はZ軸用直流サーボ
モータ(5)により回転駆動されるボールネジ(4)の正逆回
転によって所定速度で昇降するようになされている。
(3)は上記被加工物(2)を固定しかつ加工液を収容した加
工槽で、この加工槽(3)はX軸用直流サーボモータ(6)
と、Y軸用直流サーボモータ(7)とによってX軸方向と
Y軸方向とに自在に移動し得るようになされている。
(8)は入力スイッチ、(10)はNCテープ(9)のプログラムを
読み取るテープリーダ、(11)はこのテープリーダ(10)か
ら入力されたプログラムを記憶するとともに、論理回路
(15)にデータを出力する記憶装置、(16)はサーボ制御回
路、(17)はサーボモータ駆動回路、(18)は直流電源、(1
9)はパルス発生器(20)によって「ON」「OFF」制御され
るスイッチング用トランジスタで、このトランジスタ(1
9)は上記直流電源(18)の電圧を所定のパルス電圧として
上記加工用電極(1)と被加工物(2)との間の放電加工間隙
に可変抵抗器(22)を介して印加するために設けられたも
のである。なお、この可変抵抗器(22)と、上記スイッチ
ング用トランジスタ(19)と、パルス発生器(20)とによっ
て放電加工用電源回路(21)を構成するようになされてい
る。(27)は上記主軸(25)、ボールネジ(4)、加工槽(3)、
X軸用直流サーボモータ(6)、Y軸用直流サーボモータ
(7)およびZ軸用直流サーボモータ(5)等を支持するベッ
ドで、接地している床面に対し相対的に位置を変えない
ようになされている。(28)はこのベッド(27)に固定され
たテーブル、(29)は上記加工槽(3)に取付けられたペン
取付器、(30)はNCプログラムを後述するNCプログラム解
析装置(14)によって解析させるだけにして、その解析結
果により上記各サーボモータ(5)(6)(7)が駆動されない
ようにし、かつ電源回路(21)に電流が流れないようにす
るためのマシンロックスイッチである。又、(31)は論理
回路(15)によって設定されたNCプログラムにより放電加
工する場合、そのスタート信号を送るスタートスイッ
チ、(14)はこのスタートスイッチ(31)により加工スター
ト信号を受けた論理回路(15)からの信号により、この論
理回路(15)によって設定されたNCプログラムを解析する
NCプログラム解析装置、(24)はこのNCプログラム解析装
置(14)によって作成された解析データを保存する解析テ
ーブルで、この解析テーブル(24)のデータをもとに、さ
らに加工用データを加工データ作成装置(25)によって作
成するようになされており、この加工データ作成装置(2
5)によって作成されたデータを加工データテーブル(26)
に保管するように構成されている。
FIG. 1 is a block diagram showing the configuration of a conventional electric discharge machine of this type. (1) is a machining electrode facing the workpiece (2) with a predetermined gap and detachably attached to the main shaft (25) of the electric discharge machine. This machining electrode (1) is for the Z axis. The ball screw (4), which is rotationally driven by the DC servomotor (5), is rotated up and down to rotate at a predetermined speed.
(3) is a processing tank in which the above-mentioned work piece (2) is fixed and which contains a processing liquid. This processing tank (3) is a DC servo motor (6) for X-axis.
And a Y-axis DC servo motor (7) so that the Y-axis DC servo motor (7) can freely move in the X-axis direction and the Y-axis direction.
(8) is an input switch, (10) is a tape reader that reads the program of the NC tape (9), (11) stores the program input from the tape reader (10), and a logic circuit.
Storage device for outputting data to (15), (16) servo control circuit, (17) servo motor drive circuit, (18) DC power supply, (1
9) is a switching transistor that is controlled "ON" and "OFF" by the pulse generator (20).
9) applies the voltage of the DC power supply (18) as a predetermined pulse voltage to the electrical discharge machining gap between the machining electrode (1) and the workpiece (2) through a variable resistor (22). It is provided for this purpose. The variable resistor (22), the switching transistor (19), and the pulse generator (20) form an electric discharge machining power supply circuit (21). (27) is the above spindle (25), ball screw (4), processing tank (3),
DC servo motor for X-axis (6), DC servo motor for Y-axis
The bed supporting (7) and the Z-axis DC servomotor (5) and the like does not change its position relative to the grounded floor surface. (28) is a table fixed to this bed (27), (29) is a pen mounter attached to the processing tank (3), and (30) is an NC program analysis device (14) described later for the NC program. This is a machine lock switch that is used only to analyze and to prevent the above servomotors (5) (6) (7) from being driven according to the analysis results and to prevent current from flowing in the power supply circuit (21). . Further, (31) is a start switch that sends a start signal when electric discharge machining is performed by the NC program set by the logic circuit (15), and (14) is a logic circuit that receives the machining start signal by this start switch (31). Analyze the NC program set by this logic circuit (15) by the signal from (15)
The NC program analysis device (24) is an analysis table that saves the analysis data created by this NC program analysis device (14). Based on the data of this analysis table (24), the processing data is further processed data. It is designed to be created by the creating device (25).
Data created by 5) is processed data table (26)
It is configured to be stored in.

更に又、(23)は検査者の入力したデータや放電加工装置
が設定しているデータを画面に表示するCRT表示装置で
ある。
Furthermore, (23) is a CRT display device for displaying the data input by the inspector and the data set by the electric discharge machine on the screen.

従来の放電加工装置は、上記のように構成されており、
NCプログラムの検査方法について説明すると次の通りで
ある。すなわち、NCプログラムの検査は、このNCプログ
ラムを実際に機械にかけ、放電加工装置を加工時と同様
に作動させて行なうようになされており、まず、NCプロ
グラムを放電加工装置にセットするわけであるが、この
セットの方法としては、NCプログラムをNCテープ(9)に
書き込み、テープリーダ(10)にNCテープ(9)をかける方
法、またはCRT表示装置(23)にNCプログラムを書き込ん
でセットする方法、あるいは記憶装置(11)に記憶されて
いるNCプログラムをプログラム番号を入力スイッチ(8)
より指定してセットする方法等がある。このようにして
NCプログラムをセットしたのち、スタートキー(31)を押
圧すると、その信号を入力した論理回路(15)はNCプログ
ラム解析装置(14)を起動するとともにNCプログラムが解
析され、その結果がNCプログラム解析装置(14)により解
析データテーブル(24)に設定される。このようにして解
析データテーブル(24)に設定されたデータは、加工デー
タ作成装置(25)によって加工用データに変換され、加工
データテーブル(26)にこの変換されたデータを設定する
ようになされている。
The conventional electric discharge machine is configured as described above,
The inspection method of the NC program is as follows. That is, the inspection of the NC program is performed by actually applying the NC program to the machine and operating the electric discharge machine in the same manner as during machining. First, the NC program is set in the electric discharge machine. However, as the setting method, write the NC program on the NC tape (9) and put the NC tape (9) on the tape reader (10), or write the NC program on the CRT display device (23) and set it. Method or NC program stored in storage device (11) Enter program number Switch (8)
There is a method to specify and set more. In this way
When the start key (31) is pressed after setting the NC program, the logic circuit (15) that receives the signal activates the NC program analysis device (14) and the NC program is analyzed, and the result is analyzed by the NC program. It is set in the analysis data table (24) by the device (14). The data set in the analysis data table (24) in this way is converted into processing data by the processing data creation device (25), and the converted data is set in the processing data table (26). ing.

以上述べたNCプログラムの検査方法を第2図(NCプログ
ラムの検査時に作成される一つの直線移動、あるいは円
弧移動におけるデータを示す図面)によって詳細に説明
すると次の通りである。
The inspection method of the NC program described above will be described in detail with reference to FIG. 2 (drawing showing data in one linear movement or circular movement created during inspection of the NC program).

まず、円弧移動のNCプログラムがNCプログラム解析装置
(14)によって解析され、データが解析データテーブル(2
4)に設定される。この場合、円弧移動のNCプログラムか
ら円弧移動する移動開始点P1の座標(xs,ys)、円弧移
動による移動終点「P3の座標(xe,ye)、円弧の中心点P
2の座標(x0,y0)および円弧回転方向「右回り」をデー
タとして解析データテーブル(24)に設定すると、このデ
ータから加工データ作成装置(25)はデータの形で受け取
った円弧移動の を、B点からI点までの間において細かく分割し、円弧
を小さな円弧、すなわち 多数の連続する円弧を作成する。そして、この1つの小
円弧について1つの円弧移動データが作成される。たと
えば については、この を移動するときの始点Aの座標(a1,a2)、移動の終点
Bの座標(b1,b2)、 の中心点(o1,o2)、および回転方向「右回り」のデー
タが作成されるわけである。さらに、 についても、始点、終点および中心点の座標と、円弧方
向のデータを作成する。なお、直線移動についても上記
円弧移動と同様に、解析データとして始点、終点が設定
されると、この線分を加工データ作成装置(25)は複数の
小線分について加工データを作成するように構成されて
いる。このようにして作成された多数の加工用データを
もとに工具は移動し、その移動速度は、同時に加工デー
タテーブル(26)に設定されている指令速度F0(mm/分)
に基づいて指令される。
First, the NC program for circular movement is the NC program analysis device.
The data is analyzed by (14) and the data is analyzed (2
It is set to 4). In this case, the coordinates of the movement start point P 1 (xs, ys) that moves circularly from the NC program of circular movement, the end point of the movement due to circular movement “P 3 coordinates (xe, ye), the center point P of the circular arc”
When the coordinates (x 0 , y 0 ) of 2 and the arc rotation direction “clockwise” are set as data in the analysis data table (24), the machining data creation device (25) receives the arc movement in the form of data from this data. of Is finely divided from point B to point I, and the arc is divided into small arcs, that is, Create a number of consecutive arcs. Then, one arc movement data is created for this one small arc. For example About this Coordinates of the starting point A (a 1 , a 2 ), the coordinates of the ending point B (b 1 , b 2 ), Data of the center point (o 1 , o 2 ) and the rotation direction “clockwise” are created. further, For, also, the coordinates of the start point, the end point, and the center point and the data in the arc direction are created. Similar to the above-described circular arc movement for linear movement, when a start point and an end point are set as analysis data, the processing data creation device (25) for this line segment creates processing data for a plurality of small line segments. It is configured. The tool moves based on the large number of machining data created in this way, and the movement speed is the command speed F 0 (mm / min) set in the machining data table (26) at the same time.
Commanded based on.

以上述べた要領によって動作する放電加工装置の動作を
操作者が見てNCプログラムの検査を行なうわけである
が、NCプログラムのフォーマット、あるいはNCプログラ
ムによって設定されたデータの大きさにエラーがある
と、NCプログラム解析装置(14)を経てCRT表示装置(23)
にエラーが表示される。また、NCプログラムの内容につ
いての検査は、操作者が放電加工装置の動作を見て行な
うものであるが、この検査のときに、マシンロックスイ
ッチ(30)を押圧しておくと、各サーボモータ(5)(6)(7)
および電源回路(21)を作動させないで、NCプログラム解
析装置(14)および加工データ作成装置(25)のみを作動さ
せて、プログラムのフォーマットエラー、およびNCプロ
グラムによって設定されたデータの大きさに関するエラ
ー等をCRT表示装置(23)に表示するようになされてい
る。さらに、放電加工装置を実際に作動させて検査する
ときに、ベッド(27)に固定されたテーブル(28)に記録紙
をセットし、加工槽(3)に固定されたペン取付器(29)に
ペンを装着しておけば、水平な面であるX−Y平面の工
具の動作を記録紙上に記録することができ、これによっ
て検査することも可能である。
The operator checks the NC program by looking at the operation of the electric discharge machine that operates according to the procedure described above, but if there is an error in the NC program format or the size of the data set by the NC program. CRT display device (23) via NC program analysis device (14)
Error is displayed. The operator checks the contents of the NC program by observing the operation of the electric discharge machine. If the machine lock switch (30) is pressed during this inspection, each servo motor (5) (6) (7)
And the power supply circuit (21) is not operated, only the NC program analysis device (14) and the machining data creation device (25) are operated, and the format error of the program and the error regarding the size of the data set by the NC program Etc. are displayed on the CRT display device (23). Further, when actually inspecting the electric discharge machine, the recording paper is set on the table (28) fixed to the bed (27), and the pen mounter (29) fixed to the machining tank (3). If a pen is attached to the recording paper, the movement of the tool on the XY plane, which is a horizontal surface, can be recorded on the recording paper, and it is possible to inspect it.

従来の放電加工装置は以上のように構成されていたの
で、マシンロックスイッチ(30)を押圧してNCプログラム
の検査を行う場合、工具の動作をCRT表示装置に表示さ
れた座標値の変化によって読み取る以外になく、プログ
ラムのフォーマットエラー、及びNCプログラム中にセッ
トしたデータの範囲のオーバなど、CRT表示装置上にエ
ラーとして表示されるエラー以外の移動方向の指定ミ
ス、および移動量の設定ミスなどを発見することは極め
て困難であった。
Since the conventional electric discharge machine was configured as above, when pressing the machine lock switch (30) to inspect the NC program, the operation of the tool is changed by the change of the coordinate value displayed on the CRT display device. In addition to reading, a format error of the program, a range error of the data set in the NC program, etc. other than the error displayed as an error on the CRT display device. Was extremely difficult to find.

このため、この欠点を改善するため、工具軌跡をCRT表
示装置上にグラフィック表示させるものが、また被加工
体をCRT表示装置上にグラフィック表示させるものが提
案されている。ところが、従来のものは、特に移動軌
跡、被加工体等をCRT表示装置上にグラフィック表示さ
せる際、移動軌跡、被加工体等の大きさを考慮すること
なく表示させていたので、その移動軌跡、被加工体等の
大きさによってはCRT表示装置の画面にその一部しか表
示されなかったり、CRT表示装置の画面に小さく表示さ
れることがあった。
Therefore, in order to improve this drawback, there has been proposed one in which the tool path is graphically displayed on the CRT display device and one in which the workpiece is graphically displayed on the CRT display device. However, in the conventional one, when the moving locus, the workpiece, etc. are displayed graphically on the CRT display device, they are displayed without considering the size of the moving locus, the workpiece, etc. However, depending on the size of the work piece or the like, only part of the screen may be displayed on the screen of the CRT display device, or it may be displayed small on the screen of the CRT display device.

そしてこのような表示がされた場合、オペレータが、移
動軌跡、被加工体等の全体が検査し易い適切なスケール
で表示されるよう、何度も移動軌跡、被加工体等を表示
させてそのスケール調整をしていた。
When such a display is made, the operator repeatedly displays the movement locus, the work piece, etc. so that the whole movement locus, the work piece, etc. are displayed on an appropriate scale that is easy to inspect. I was adjusting the scale.

[発明の概要] この発明は係る問題点に着目してなされたもので、加工
情報を図形表示する表示手段と、上記加工情報中の表示
すべき図形の直交する2軸のうち一方の軸方向の最大長
と上記表示手段の表示画面の直交する2軸のうち一方の
軸方向の長さとの比と、上記表示すべき図形の直交する
2軸のうち他方の軸方向の最大長と上記表示画面の直交
する2軸のうち他方の軸方向の長さとの比とからいずれ
か大きい方の比を求め、加工情報のスケールを自動的に
決定する自動スケール設定手段と、この自動スケール設
定手段にて設定された軸のスケールを上記表示手段に表
示される手段とを設けることにより、自動的に移動軌
跡、被加工体等の全体が検査し易い適切なスケールで表
示されるようにしたものである。
[Summary of the Invention] The present invention has been made in view of the above-mentioned problems, and is a display means for displaying machining information in a graphic form, and an axial direction of one of two axes orthogonal to the graphic to be displayed in the machining information. Of the maximum length of the display screen of the display means in one axial direction of the two axes, and the maximum length in the other axial direction of the two axes of the figure to be displayed and the display. The automatic scale setting means for automatically determining the scale of the machining information by obtaining the ratio of the larger of the two orthogonal axes of the screen and the length in the other axial direction, and the automatic scale setting means. By providing a means for displaying the scale of the axis set by the above-mentioned display means, it is possible to automatically display the entire movement trajectory, workpiece, etc. in an appropriate scale that is easy to inspect. is there.

〔発明の実施例〕Example of Invention

第3図〜第8図は何れもこの発明の一実施例を示すもの
であるが、上述した従来のもの(第1図)と同一符号は
同一構成部材につきその説明を一部省略する。
3 to 8 show an embodiment of the present invention, the same reference numerals as those of the above-mentioned conventional one (FIG. 1) are the same constituent members, and the description thereof is partially omitted.

まず、第3図に示すこの発明にかかる放電加工装置のブ
ロック図において、(10)はNCテープ(9)のプログラムを
読み取るテープリーダ、(8)はNCプログラムの指定、デ
ータの入力,あるいは、各装置を作動させる場合に使用
する入力スイッチ、(15)はこの入力スイッチ(8)によっ
て指定されたプログラムをセットしたり各装置を作動さ
せる論理回路、(34)は操作者が設定したデータあるいは
指定したプログラムを表示したり、各装置からの出力を
表示するCRT表示装置、(11)はNCプログラムを記憶し、
必要に応じてこれを呼び出す記憶装置、(13)は論理回路
(15)によって設定されたNCプログラムを検査するNCプロ
グラム検査装置、(14)はこのNCプログラム検査装置(13)
によって起動され、設定されたNCプログラムを解析する
NCプログラム解析装置、(24)はこのNCプログラム解析装
置(14)によって解析データがセットされる解析データテ
ーブル、(33)はこの解析データテーブル(24)に設定され
ているデータをもとに、NCプログラム検査装置(13)がCR
T表示装置(34)用に変換したデータを設定する表示デー
タテーブル、(32)はNCプログラム検査を行なうときにNC
プログラム検査装置(13)を起動するための信号を論理回
路(15)に入力するための検査スタートスイッチ、(35)は
検査するNCプログラムが加工する被加工体を入力するた
めのワークデータ設定スイッチ、(36)はワークデータ設
定スイッチ(35)を押圧してから設定した被加工体のデー
タをもとにCRT表示装置(34)の画面に最適なスケールを
設定するための最適スケール値を計算する自動スケール
設定装置である。
First, in the block diagram of the electric discharge machine according to the present invention shown in FIG. 3, (10) is a tape reader for reading the program of the NC tape (9), (8) is the designation of the NC program, data input, or Input switch used to operate each device, (15) is a logic circuit for setting the program specified by this input switch (8) and operating each device, (34) is data set by the operator or A CRT display device that displays the specified program and the output from each device, (11) stores the NC program,
Storage device that calls this when necessary, (13) is a logic circuit
NC program inspection device to inspect the NC program set by (15), (14) is this NC program inspection device (13)
Analyzes the NC program started and set by
NC program analysis device, (24) is an analysis data table in which analysis data is set by this NC program analysis device (14), (33) is based on the data set in this analysis data table (24), NC program inspection device (13) is CR
Display data table to set converted data for T display device (34), (32) is NC when performing NC program inspection
Inspection start switch for inputting a signal for activating the program inspection device (13) to the logic circuit (15), and (35) is a work data setting switch for inputting the workpiece to be processed by the NC program to be inspected. , (36) calculates the optimum scale value for setting the optimum scale on the screen of the CRT display device (34) based on the workpiece data set after pressing the work data setting switch (35) The automatic scale setting device.

この発明の放電加工装置は上記のように構成されている
ので、NCプログラム検査に先立って、まず検査員は検査
したいNCプログラムを論理回路(15)にセットする。この
セット要領は従来放電加工を行なうときにNCプログラム
をセットする要領と全く同様で、たとえばNCテープによ
ってプログラムをセットしたり、または記憶装置(11)の
NCプログラムを指定したり、あるいはCRT表示装置(34)
上に入力スイッチによりNCプログラムを書いてセットす
るような多様の手段でセットすればよい。
Since the electric discharge machining apparatus of the present invention is configured as described above, prior to the NC program inspection, the inspector first sets the NC program to be inspected in the logic circuit (15). This setting procedure is exactly the same as the procedure for setting an NC program when performing conventional electrical discharge machining, for example, setting a program with NC tape or using the storage device (11).
Specify NC program or CRT display (34)
It can be set by various means such as writing and setting the NC program with the input switch.

さらに、実際に加工した場合に、電極の動きやその位置
と被加工体の位置との関係をCRT表示装置(34)上で確認
するため、被加工体を設定する。被加工体は、ワークデ
ータ設定スイッチ(35)を押圧する。キー入力スイッチ
(8)より、まず被加工体の形を準備されたいくつかの形
状の中から選び、その形に対応する番号を入力する。次
に、その形の各寸法を入力する。被加工体のデータが入
力されるとNCプログラム検査装置(13)はこれらのデータ
と画面に設定する次元・平面情報を自動スケール設定装
置(36)に送る。自動スケール設定装置(36)は、画面に設
定される次元・平面より、各軸について画面上でいかな
る長さ分表示しうるかを計算する。
Furthermore, in the case of actual processing, the object to be processed is set in order to confirm the movement of the electrode and the relationship between the position and the position of the object to be processed on the CRT display device (34). The workpiece presses the work data setting switch (35). Key input switch
From (8), first select the shape of the workpiece from among the prepared shapes and enter the number corresponding to that shape. Then enter each dimension of the shape. When the data of the workpiece is input, the NC program inspection device (13) sends these data and the dimension / plane information to be set on the screen to the automatic scale setting device (36). The automatic scale setting device (36) calculates what length each axis can be displayed on the screen from the dimensions and planes set on the screen.

第4図は、X−Y平面の1平面が画面に設定されている
場合であり、第5図はX−Y平面とX−Z平面の2平面
が画面に設定されている場合を示している。第4図のY
軸(400)の長さと第5図のY軸(500)の長さから明ら
かにわかるように、画面上のY軸の長さは大きく異なっ
ている。画面の分機能が横方向に640ドット、縦方向に4
00ドットだと仮定して、画面上に出力される各軸の長
さ、すなわち、各軸が画面上で描画のために使用するド
ット数を画面に設定される次元・平面に応じて自動スケ
ール設定装置が計算するのである。
FIG. 4 shows the case where one plane of the XY plane is set on the screen, and FIG. 5 shows the case where two planes of the XY plane and the XZ plane are set on the screen. There is. Y in FIG.
As can be clearly seen from the length of the axis (400) and the length of the Y axis (500) in FIG. 5, the length of the Y axis on the screen is greatly different. Screen minute function is 640 dots in the horizontal direction and 4 in the vertical direction.
Assuming 00 dots, the length of each axis output on the screen, that is, the number of dots each axis uses for drawing on the screen is automatically scaled according to the dimension and plane set on the screen. It is calculated by the setting device.

次に、各軸の画面上の長さと各軸に対応する被加工体の
寸法から画面上に出力された各軸の使用ドット数分のそ
れに対応する被加工体の長さの比が計算できる。この各
軸における比の中で最大のものが、この画面上に設定す
べきスケールの値であり、これを基にスケールを設定す
ると最適スケール値が得られる。このことについてさら
に具体的に例をあげて説明する。
Next, from the length of each axis on the screen and the dimension of the workpiece corresponding to each axis, the ratio of the length of the workpiece corresponding to the number of used dots of each axis output on the screen can be calculated. . The largest of the ratios on each axis is the scale value to be set on this screen, and the optimum scale value can be obtained by setting the scale based on this. This will be described more specifically with reference to examples.

即ち、第4図におけるX軸の長さは画面の400ドット分
に相当し、Y軸の長さは300ドットの長さに相当するも
のとする。被加工体の各寸法はX軸方向に800mm、Y軸
方向に300mmの長さをもつ形状であるとする。この場
合、スケールの値はX軸を基準にすれば2mm/ドットであ
り、Y軸方向は1mm/ドットである。
That is, the length of the X axis in FIG. 4 corresponds to 400 dots on the screen, and the length of the Y axis corresponds to 300 dots. Each dimension of the work piece has a length of 800 mm in the X-axis direction and 300 mm in the Y-axis direction. In this case, the scale value is 2 mm / dot based on the X axis and 1 mm / dot in the Y axis direction.

被加工体が画面に最も大きくその全体を表示しうるため
には、スケールは2mm/ドットでなければならない。
The scale must be 2 mm / dot in order for the work piece to be the largest on the screen and fully visible.

実際には被加工体を画面いっぱいにするスケール値を計
算するのではなく、被加工体のまわりに電極の各々対応
する軸の長さを余裕としてスケール値を計算するのであ
るが、基本的なスケールの設定のしかたは上記のようで
ある。以上のようにしてスケール値を計算すると、自動
スケール設定装置(36)は計算したスケール値をNCプログ
ラム検査装置(13)におくる。NCプログラム検査装置(13)
は表示データテーブル(33)にスケール値を設定し、CRT
表示装置(34)に起動をかけ、画面のスケール値を最適な
値にする。
Actually, the scale value that fills the screen of the work piece is not calculated, but the scale value is calculated with the allowance of the length of the axis corresponding to each of the electrodes around the work piece. The method of setting the scale is as described above. When the scale value is calculated as described above, the automatic scale setting device (36) sends the calculated scale value to the NC program inspection device (13). NC Program Inspection Equipment (13)
Sets the scale value in the display data table (33) and
The display device (34) is activated to set the screen scale value to an optimum value.

このようにしてNCプログラムとワークをセットしたあ
と、検査スタートスイッチ(32)を押圧すると、NCプログ
ラムは自動的に検査される。
When the inspection start switch (32) is pressed after setting the NC program and the work in this way, the NC program is automatically inspected.

すなわち、上述したように、検査スタートスイッチ(32)
が押圧されると、NCプログラム検査装置(13)は検査のた
めの準備として、第6図に示すように、CRT表示装置(3
4)上に、X軸(602)と、Y軸(601)とともに、自動ス
ケール設定装置(36)により計算された軸のスケール(60
3)と、表示領域の座標値(604)がそれぞれ表示され、
さらに画面の中央には工具マーク(605)も表示される
と同時に、工具座標値、電気条件、および検査中のプロ
グラム名等、いくつかのデータA−F(606)も画面の
隅部に表示される。
That is, as described above, the inspection start switch (32)
When is pressed, the NC program inspection device (13) prepares for inspection, as shown in FIG.
4) On top of the X axis (602) and Y axis (601), the axis scale (60) calculated by the automatic scale setting device (36).
3) and the coordinate value (604) of the display area are displayed,
Furthermore, at the same time as the tool mark (605) is displayed in the center of the screen, some data AF (606) such as tool coordinate value, electrical condition, and program name under inspection are also displayed in the corner of the screen. To be done.

そしてNCプログラム検査装置(13)は被加工体の中心を画
面の中心とするデータを表示データテーブル(33)に設定
しCRT表示装置(34)に起動をかけ画面の中心座標を設定
する。続いて、ワークの各データを同じく表示データテ
ーブル(33)に設定し、CRT表示装置(34)に起動をかけ画
面にワークを出力する。このようにして準備が完了した
あと、NCプログラム解析装置(14)を起動すると、このNC
プログラム解析装置(14)は1ブロック分のNCプログラム
の解析データを作成し、解析データテーブル(24)にデー
タをセットしたあと、解析終了の信号をNCプログラム検
査装置(13)に入力とする。これによりNCプログラム検査
装置(13)は、CRT表示装置(34)用にデータを変換し、表
示データテーブル(33)にデータを設定してCRT表示装置
(34)を起動する。このデータ変換作業は、上述した従来
のもののように大量の計算をして多数のデータを作成し
なければならなかった円弧移動も、単にCRT表示装置(3
4)用に並べかえて1つのデータを作成するだけの簡単な
作業で迅速かつ正確に完了する。
Then, the NC program inspection device (13) sets data in which the center of the workpiece is the screen center in the display data table (33) and activates the CRT display device (34) to set the center coordinates of the screen. Then, each data of the work is similarly set in the display data table (33), the CRT display device (34) is activated, and the work is output to the screen. After the preparation is completed in this way, when the NC program analysis device (14) is started, this NC
The program analysis device (14) creates analysis data of an NC program for one block, sets the data in the analysis data table (24), and then inputs an analysis end signal to the NC program inspection device (13). As a result, the NC program inspection device (13) converts the data for the CRT display device (34) and sets the data in the display data table (33) to display the CRT display device.
Start (34). This data conversion work can be performed only by the CRT display device (3
4) Complete quickly and accurately with a simple task of rearranging for and creating one data.

以上述べた動作を、第7図によって更に詳細に説明す
る。
The operation described above will be described in more detail with reference to FIG.

CRT表示装置(34)に円弧移動のNCプログラムによる工具
の移動軌跡を表示させるために、CRT表示装置(34)用にN
Cプログラム検査装置(13)が表示データテーブル(33)に
設定すべきデータは、円弧軌跡(701)の場合には円弧
の始点座標値(X11,Y11)、円弧の終点座標値(X12,
Y12)、円弧の中心座標値(X01,Y01)および円弧回転方
向「右回り」(702)であり、また円弧軌跡(703)の場
合には円弧の始点座標値(X12,Y12)、円弧の終点座標
値(X03,Y03)、円弧の中心座標値(X02,Y02)および円
弧回転方向「左回り」(704)である。
In order to display the movement path of the tool by the NC program of the circular movement on the CRT display device (34), N for the CRT display device (34) is displayed.
The data to be set in the display data table (33) by the C program inspection device (13) are the start point coordinate value (X 11 , Y 11 ) of the arc and the end point coordinate value (X 12 ,
Y 12 ), the center coordinate value of the arc (X 01 , Y 01 ), and the arc rotation direction "clockwise" (702). In the case of the arc locus (703), the start point coordinate value (X 12 , Y) of the arc. 12 ), the end point coordinate value of the arc (X 03 , Y 03 ), the center coordinate value of the arc (X 02 , Y 02 ), and the arc rotation direction "counterclockwise" (704).

このようにしてNCプログラム解析装置(14)が作成したデ
ータを、CRT表示装置(34)用の座標値に変換するわけで
あるが、ただ1つのデータに変換するだけの作業は、き
わめて短時間に完了され、CRT表示装置(34)はこのデー
タが設定されるとほぼ同時に画面にその円弧を表示す
る。
In this way, the data created by the NC program analysis device (14) is converted into the coordinate values for the CRT display device (34), but the work of converting only one data is extremely short. The CRT display device 34 displays the arc on the screen almost at the same time when this data is set.

また、直線の場合についても同様に、始点、終点の座標
値をNCプログラム検査装置(13)が始点、終点の座標値を
CRT表示装置(34)用の座標値に変換したデータを表示デ
ータテーブル(33)に設定し、これを入力したCRT表示装
置(34)はその画面に直線を表示するが、この作業もまた
きわめて短時間で完了する。また、CRT表示装置(34)に
起動をかけると、移動完了の信号を待つ必要がないの
で、引続いてすぐにNCプログラムの次のブロックを解析
するためにNCプログラム解析装置(14)を起動することが
できる。
Similarly, in the case of a straight line, the NC program inspection device (13) calculates the coordinate values of the start point and the end point in the same manner.
The data converted into the coordinate values for the CRT display device (34) is set in the display data table (33), and the CRT display device (34) that inputs this displays a straight line on its screen, but this work is also extremely difficult. Complete in a short time. In addition, when the CRT display device (34) is activated, it is not necessary to wait for the signal of movement completion, so immediately after that, the NC program analysis device (14) is activated to analyze the next block of the NC program. can do.

さらにまた、NCプログラム中に書かれている移動速度指
令や、待ち時間を指定したプログラムには影響されない
ので、移動速度の遅い移動プログラムによる工具軌跡も
全て瞬時に表示することができる。また、第8図に示す
ように工具移動の種類、すなわち早送りによる移動であ
るか、または速度指定による移動であるか、あるいは接
触感知したときに停止する場合の移動であるか等を区別
してCRT表示装置(34)に表示する場合の線の種類を実線
(801)、破線(802)、一点鎖線(803)等のように線
の種類を指定するデータも同時に表示データテーブル(3
3)に設定すれば、これをもとにCRT表示装置(34)は線の
種類を変化させて表示することができる。さらに、CRT
表示装置(34)は同時に表示データテーブル(33)にセット
されている主要加工電気条件、または工具の座標値のデ
ータ、あるいは表示中のNCプログラムブロック等も表示
することができるもので、上述した各種作業がNCプログ
ラムの終了まで繰り返されて1本のNCプログラムの表示
を行なうわけである。
Furthermore, since it is not affected by the moving speed command written in the NC program or the program that specifies the waiting time, all tool trajectories by the moving program with a slow moving speed can be displayed instantly. In addition, as shown in FIG. 8, the CRT is distinguished by distinguishing the type of tool movement, that is, the movement by fast-forwarding, the movement by speed specification, or the movement when stopping when contact is detected. The data to be displayed on the display device (34), such as a solid line (801), a broken line (802), and an alternate long and short dash line (803), is also displayed at the same time.
If set to 3), the CRT display device (34) can change and display the line type based on this. In addition, CRT
The display device (34) can simultaneously display the main machining electrical conditions set in the display data table (33), the data of the coordinate values of the tool, or the NC program block being displayed. Various operations are repeated until the end of the NC program, and one NC program is displayed.

なお、上述した一実施例はNCプログラムを1ブロックず
つ解析して表示するようにした場合について述べたが、
解析と表示の関係は、1ブロック毎、または数ブロック
毎、あるいは全て解析した後に表示するものであっても
同様の効果が得られることはいうまでもない。また、軌
跡の他に電気条件や送り速度等のように、加工に関する
データを同時に表示することも可能であり、また検査す
るNCプログラムの設定は、検査する画面に設定用の機能
をもたせることもできる。
In addition, although the above-described embodiment has described the case where the NC program is analyzed and displayed block by block,
It goes without saying that the same effect can be obtained even if the relationship between the analysis and the display is one block, several blocks, or all of them are analyzed and then displayed. In addition to the locus, it is also possible to simultaneously display data related to machining such as electrical conditions and feed rate, and the NC program settings to be inspected can be provided with a setting function on the inspecting screen. it can.

〔発明の効果〕〔The invention's effect〕

以上のようにこの発明によれば、加工情報を図形表示す
る表示手段と、上記加工情報中の表示すべき図形の直交
する2軸のうち一方の軸方向の最大長と上記表示手段の
表示画面の直交する2軸のうち一方の軸方向の長さとの
比と、上記表示すべき図形の直交する2軸のうち他方の
軸方向の最大長と上記表示画面の直交する2軸のうち他
方の軸方向の長さとの比とからいずれか大きい方の比を
求め、加工情報のスケールを自動的に決定する自動スケ
ール設定手段とを備える構成としたので、自動的に移動
軌跡、被加工体等の全体が検査し易い適切なスケールで
表示されるようになり、ひいては移動軌跡、被加工体等
をCRT表示装置上にグラフィック表示させる際、その移
動軌跡、被加工体等の全体を検査し易い適切なスケール
で表示させるため、何度も移動軌跡、被加工体等を表示
させてスケールを補正する必要がなくなり、検査の効率
を向上させることができる。
As described above, according to the present invention, the display means for displaying the machining information in a graphic form, the maximum length in the axial direction of one of the two axes of the graphic to be displayed in the machining information in the direction orthogonal to each other, and the display screen of the display means. Of the two axes orthogonal to each other in the axial direction, the maximum length in the other axial direction of the two orthogonal axes of the figure to be displayed, and the other of the two orthogonal axes of the display screen. Since it is configured to have an automatic scale setting means for automatically determining the ratio of the larger one from the ratio with the axial length and automatically determining the scale of the processing information, the movement path, the workpiece, etc. Is displayed on an appropriate scale that is easy to inspect, which in turn makes it easy to inspect the entire movement trajectory and workpiece when the movement trajectory and workpiece are graphically displayed on the CRT display device. In order to display on an appropriate scale, Time also movement trajectory, it is not necessary to correct the scale to display the workpiece or the like, it is possible to improve the efficiency of inspection.

またこの発明によれば、自動スケール設定手段にて設定
された軸のスケールを表示手段に表示させる手段を設け
たので、移動軌跡、被加工体等の全体が自動的にスケー
ル設定されて表示されたとしても、オペレータに、その
移動軌跡、被加工体等の実際の大きさを容易にさせるこ
とができるようになる。
Further, according to the present invention, since the means for displaying the scale of the axis set by the automatic scale setting means on the display means is provided, the entire movement locus, the workpiece, etc. are automatically scaled and displayed. Even in this case, it becomes possible for the operator to easily make the movement locus, the actual size of the workpiece and the like.

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

第1図は従来の放電加工装置の構成を示すブロック図、
第2図は従来のNCプログラムの検査時に作成される1つ
の直線移動および円弧移動におけるデータ図面、第3図
〜第8図は何れもこの発明の一実施例を示すもので、第
3図は放電加工装置の構成を示すブロック図、第4図〜
第8図はCRT表示装置の画面を示す表示画面説明図であ
る。 図中、(1)は加工用電極、(2)は被加工物、(9)はNCテー
プ、(10)はテープリーダ、(11)は記憶装置、(13)はNCプ
ログラム検査装置、(14)はNCプログラム解析装置、(15)
は論理回路、(16)はサーボ制御回路、(17)はサーボモー
タ駆動回路、(21)は電源回路、(24)は解析データテーブ
ル、(33)は表示データテーブル、(34)はCRT表示装置、
(36)は自動スケール設定装置である。 なお、図中同一符号は同一又は相当部分を示す。
FIG. 1 is a block diagram showing the configuration of a conventional electric discharge machine.
FIG. 2 is a data drawing of one linear movement and circular movement created during inspection of a conventional NC program, and FIGS. 3 to 8 show an embodiment of the present invention. FIG. Block diagram showing the configuration of the electric discharge machine, FIG.
FIG. 8 is an explanatory view of a display screen showing a screen of the CRT display device. In the figure, (1) is a processing electrode, (2) is a workpiece, (9) is an NC tape, (10) is a tape reader, (11) is a storage device, (13) is an NC program inspection device, ( 14) is an NC program analyzer, (15)
Is a logic circuit, (16) is a servo control circuit, (17) is a servo motor drive circuit, (21) is a power circuit, (24) is an analysis data table, (33) is a display data table, and (34) is a CRT display. apparatus,
(36) is an automatic scale setting device. The same reference numerals in the drawings indicate the same or corresponding parts.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−217223(JP,A) 特開 昭56−102427(JP,A) 実公 昭56−23683(JP,Y2) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-58-217223 (JP, A) JP-A-56-102427 (JP, A) Jikken-Sho 56-23683 (JP, Y2)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】加工情報を図形表示する表示手段と、上記
加工情報中の表示すべき図形の直交する2軸のうち一方
の軸方向の最大長と上記表示手段の表示図面の直交する
2軸のうち一方の軸方向の長さとの比と、上記表示すべ
き図形の直交する2軸のうち他方の軸方向の最大長と上
記表示図面の直交する2軸のうち他方の軸方向の長さと
の比とからいずれか大きい方の比を求め、加工情報のス
ケールを自動的に決定する自動スケール設定手段と、こ
の自動スケール設定手段にて設定された軸のスケールを
上記図形表示とともに上記表示手段に表示させる手段と
を備えてなる放電加工装置。
1. A display means for displaying machining information in a graphic form, and a maximum length in the axial direction of one of two axes of the graphic to be displayed in the machining information, which intersects at right angles, and two axes perpendicular to the drawing of the display means. Of one of the two axes of the figure to be displayed, and the maximum length in the other axis of the two axes of the figure to be displayed, and the length of the other axis in the two axes of the drawings shown above. Of the ratio, the larger one of them is automatically obtained, and the scale of the machining information is automatically determined, and the scale of the axis set by the automatic scale setting means is displayed together with the graphic display. And an electric discharge machine comprising means for displaying.
JP59232812A 1984-11-05 1984-11-05 Electric discharge machine Expired - Lifetime JPH0688177B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59232812A JPH0688177B2 (en) 1984-11-05 1984-11-05 Electric discharge machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59232812A JPH0688177B2 (en) 1984-11-05 1984-11-05 Electric discharge machine

Publications (2)

Publication Number Publication Date
JPS61111854A JPS61111854A (en) 1986-05-29
JPH0688177B2 true JPH0688177B2 (en) 1994-11-09

Family

ID=16945154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59232812A Expired - Lifetime JPH0688177B2 (en) 1984-11-05 1984-11-05 Electric discharge machine

Country Status (1)

Country Link
JP (1) JPH0688177B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2641797B2 (en) * 1990-11-08 1997-08-20 ファナック株式会社 Interactive numerical controller
JP2802867B2 (en) * 1992-11-30 1998-09-24 株式会社牧野フライス製作所 Machine tool with movement direction display function

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5623683U (en) * 1979-07-31 1981-03-03
JPS56102427A (en) * 1980-01-21 1981-08-15 Mitsubishi Electric Corp Electrospark machining apparatus
JPS58217223A (en) * 1982-06-07 1983-12-17 Mitsubishi Electric Corp Numerically controlled electric discharge machine equipped with display device

Also Published As

Publication number Publication date
JPS61111854A (en) 1986-05-29

Similar Documents

Publication Publication Date Title
US11027391B2 (en) Workpiece measurement method
JPH03178731A (en) Electric discharge machine
JPH0688177B2 (en) Electric discharge machine
JPS6361126B2 (en)
US5253178A (en) Wire-type electrical discharge machining method and apparatus
JP2000126937A (en) Setting device of programming device in electric discharge machining
EP0419672A1 (en) Method of plotting tool shape
JPS61236434A (en) Electric discharge machining device
JP2838330B2 (en) Electric discharge machining method and apparatus
JP3516597B2 (en) Setting device of programming device in electric discharge machining
JPS61111850A (en) Electric discharge machine
JPS61111846A (en) Electric discharge machinine
WO1985000678A1 (en) Method of inspecting machining locus control
JPS61111848A (en) Electric-discharge machine
JPS61111853A (en) Electric discharge machine
JPS61219531A (en) Electric discharge machine
JPS61111851A (en) Electric discharge machine
JPS61111849A (en) Electric discharge machine
JP2780446B2 (en) Electric discharge machine
JPS61111847A (en) Electric discharge machinine
JPS61284360A (en) Electric discharge machine
JPH06170695A (en) Machine tool provided with action direction displaying function
JP2514808B2 (en) Moving point setting device for machine tools
JP3134026B2 (en) CAD / CAM equipment
JPH03233705A (en) Display method for working locus