JPH01312605A - Electrical discharge machine - Google Patents
Electrical discharge machineInfo
- Publication number
- JPH01312605A JPH01312605A JP14519388A JP14519388A JPH01312605A JP H01312605 A JPH01312605 A JP H01312605A JP 14519388 A JP14519388 A JP 14519388A JP 14519388 A JP14519388 A JP 14519388A JP H01312605 A JPH01312605 A JP H01312605A
- Authority
- JP
- Japan
- Prior art keywords
- block
- error
- electrical discharge
- machining
- program
- 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
Links
- 238000009760 electrical discharge machining Methods 0.000 claims description 19
- 238000003754 machining Methods 0.000 abstract description 29
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 240000006108 Allium ampeloprasum Species 0.000 description 1
- 235000005254 Allium ampeloprasum Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
- Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)
Abstract
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、放電加工機に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an electrical discharge machine.
[従来の技術]
NCプログラムに基づいて放電加工する従来の放電加工
機は、予め作成したNCプログラムの各ブロックを解析
し、この解析した加工内容に基づいて、プログラムのブ
ロックを1つ1つ実行し放電加工を行なっている。[Conventional technology] A conventional electric discharge machine that performs electric discharge machining based on an NC program analyzes each block of the NC program created in advance, and executes each block of the program one by one based on the analyzed machining contents. Electric discharge machining is performed.
[発明が解決しようとする課題]
上記従来の放電加工機において、フォーマット上の間違
い等、NCプログラムのブロックに間遠があると、その
間違があるブロックの前まで加工し、間遠があったブロ
ックで放電加工が停止する。したがって、誤りのあるブ
ロックがあると、放電加工をその後継続することができ
ないという問題がある。[Problem to be solved by the invention] In the above-mentioned conventional electrical discharge machine, if a block in the NC program has a long distance due to a format error, etc., machining is performed up to the block with the mistake, and the distance is removed. Electric discharge machining stops at the block. Therefore, if there is a block with an error, there is a problem that electrical discharge machining cannot be continued thereafter.
本発明は、NCプログラム中に間遠のブロックが存在し
た場合でも、その部分で放電加工が停止しな・いように
することができる放電加工機を提供することを目的とす
るものである。SUMMARY OF THE INVENTION An object of the present invention is to provide an electrical discharge machine that can prevent electrical discharge machining from stopping at that part even if a distant block exists in an NC program.
[課題を解決する手段]
本発明は、NCプログラムに基づいて放電加工する放電
加工機において、NCプログラムの各ブロックを解析し
、この解析したブロックにエラーが含まれていることを
NCが認識したときに警告するものである。[Means for Solving the Problems] The present invention provides an electrical discharge machine that performs electrical discharge machining based on an NC program, in which each block of the NC program is analyzed, and the NC recognizes that the analyzed block contains an error. Sometimes it is a warning.
また、本発明は、上記警告後、エラーを含むブロックを
編集せずしかも上記エラーを含むブロックを放電加工機
が実行しようとしたときに、放電加工を一時的に停止し
、上記エラーを含むブロー。Further, the present invention temporarily stops electrical discharge machining when the electric discharge machine attempts to execute the block containing the error without editing the block containing the error after the above warning, and executes the block containing the error. .
りを編集した後に、上記一時的な停止を解除し、放電加
工を再開するものである。After editing the data, the temporary stop is canceled and the electrical discharge machining is restarted.
[作用]
本発明は、解析したブロックにエラーが含まれているこ
とをNCが認識したときに警告するので、エラーを含む
ブロックを実行する前にNCプログラムを編集すること
ができ、したがって、NCプログラム中に間違のブロッ
クが存在した場合でも、その部分で放電加工が停止しな
いようにすることができる。[Operation] The present invention provides a warning when the NC recognizes that an analyzed block contains an error. Therefore, the NC program can be edited before executing the block containing the error, and therefore the NC program can be edited before executing the block containing the error. Even if there is an incorrect block in the program, electrical discharge machining can be prevented from stopping at that part.
また1本発明は、上記警告後、エラーを含むブロックを
編集せずしかも上記エラーを含むブロックを放電加工機
が実行しようとしたときに、放電加工を一時的に停止し
、上記エラーを含むブロックを編集した後に、上記一時
的な停止を解除し、放電加工を再開するので、無人加工
においても、加工を最初からやり直す必要がなく、効率
的である。In addition, in the present invention, after the above warning, when the electric discharge machine is about to execute the block containing the error without editing the block containing the error, the electric discharge machining is temporarily stopped, and the block containing the error is After editing, the temporary stop is canceled and the electrical discharge machining is restarted, so even in unmanned machining, there is no need to restart the machining from the beginning, which is efficient.
[実施例] 第2図は、本発明の一実施例を示すブロック図である。[Example] FIG. 2 is a block diagram showing one embodiment of the present invention.
この実施例は、放電加工機本体10と、CPU20と、
ROM30と、RAM40と、CRT50と、入力スイ
ッチ60と、バス70とを有する。This embodiment includes an electrical discharge machine main body 10, a CPU 20,
It has a ROM 30, a RAM 40, a CRT 50, an input switch 60, and a bus 70.
加工機本体10は、ワイヤカット放電加工機の本体であ
る。CPU20は、加工機本体10を制御するとともに
、第2図に示す実施例全体を制御するものである。RO
M30は、後述する動作を実現するプログラムを記憶す
るメモリであり、RAM40は、ワークメモリとして使
用するメモリであるとともに、NCプログラムを記憶す
るメモリである。CRT50は、放電加工機の状態を表
示するとともに、エラーを含むブロックを編集画面とし
て表示するものの例である。入力スイッチ60は、放電
加工機本体10を制御する情報を入力するものである。The machine main body 10 is a main body of a wire-cut electric discharge machine. The CPU 20 controls the processing machine main body 10 as well as the entire embodiment shown in FIG. R.O.
M30 is a memory that stores a program that implements operations to be described later, and RAM 40 is a memory that is used as a work memory and also is a memory that stores an NC program. The CRT 50 is an example of a device that displays the status of the electric discharge machine and also displays blocks containing errors as an editing screen. The input switch 60 is used to input information for controlling the electric discharge machine main body 10.
CPU20は、NCプログラムの各ブロックを解析し、
この解析したブロックにエラーが含まれていることをN
Cが認識したときに警告する手段の一例である。The CPU 20 analyzes each block of the NC program,
N indicates that this parsed block contains an error.
This is an example of a means for issuing a warning when C recognizes the information.
CPU20とCRT50とは、上記エラーを含むブロッ
クを画面に表示する表示手段の例である。The CPU 20 and the CRT 50 are examples of display means that displays the block containing the above error on the screen.
さらに、CPU20は、上記警告後、上記エラーを含む
ブロックを編集せずしかも上記エラーを含むブロックを
放電加工機が実行しようとしたときに、放電加工を一時
的に停止し、上記エラーを含むブロックを編集した後に
、上記一時的な停止を解除し、放電加工を再開する手段
の一例である。Furthermore, after the above warning, the CPU 20 does not edit the block containing the above error, and when the electrical discharge machine attempts to execute the block containing the above error, the CPU 20 temporarily stops electrical discharge machining and blocks the block containing the above error. This is an example of means for canceling the temporary stop and restarting electrical discharge machining after editing.
次に、上記実施例の動作について説明する。Next, the operation of the above embodiment will be explained.
第3図は、上記実施例の説明図である。FIG. 3 is an explanatory diagram of the above embodiment.
この第3図において、ワークW中の開始点Sから放電加
工を始め、加工点りで現在加工を行なっている。そして
、放電加工の開始と同時に、NC側がNCプログラムを
1ブロツク毎に解析し、通常、現在の加ニブロックより
も数十ブロック先のブロックを解析している。この現在
解析している点を第3図ではAで示しである。In FIG. 3, electrical discharge machining has started from a starting point S in the workpiece W, and machining is currently being performed at the machining point. Then, at the same time as the start of electrical discharge machining, the NC side analyzes the NC program block by block, and usually analyzes blocks several dozen blocks ahead of the current machining block. This point currently being analyzed is indicated by A in FIG.
第1図は、上記実施例の説明図であり、NCプログラム
の例を示すものである。FIG. 1 is an explanatory diagram of the above embodiment, and shows an example of an NC program.
第1図に示すように、NCプログラムの最初から現在加
工しているブロックDの1つ前のブロックまで加工が終
了しており、この加工中のブロックDよりも数十ブロッ
ク先のA点で、NCがNCプログラムのブロックを解析
している。As shown in Figure 1, machining has been completed from the beginning of the NC program to the block one block before the block D that is currently being machined, and at point A, which is several dozen blocks ahead of the block D that is currently being machined. , NC is analyzing a block of the NC program.
ところで、第1図において、解析中のブロックの中に、
rGOOGot XIOYIOJ 、!:いう命令が
あったとする。GOOは位置決めを示すコードであり、
GOlは加工命令を示すコードである。これら2つの命
令が1つのブロックに存在することは矛盾しており、そ
のブロックは誤りのブロックである。このように、解析
したブロックにエラーが含まれていると、CPU20が
CRT50に警告の表示を行なうとともに、どのような
エラーが発生しているかという情報と、誤りのブロック
とをCRT50に表示する。By the way, in Figure 1, in the block under analysis,
rGOOGot XIOYIOJ,! : Suppose there was an order to do so. GOO is a code indicating positioning,
GOl is a code indicating a processing command. The presence of these two instructions in one block is inconsistent and the block is an erroneous block. In this way, if the analyzed block contains an error, the CPU 20 displays a warning on the CRT 50, and also displays information on what kind of error has occurred and the erroneous block on the CRT 50.
このときにユーザがCRT50を見ると、そのエラーが
あるブロックが編集画面に表示されているので、エラー
が含まれているブロックをユーザが編集することができ
る0編集すべきエラーブロックを放電加工するまでには
(D点からA点までを放電加工するまでは)相当時間が
あるので、充分に編集できる。At this time, when the user looks at the CRT 50, the block containing the error is displayed on the editing screen, so the user can edit the block containing the error. 0 Electric discharge machining of the error block that should be edited Since there is a considerable amount of time (until electrical discharge machining is performed from point D to point A), sufficient editing can be done.
ところで、上記のようにエラーブロックが発生している
ことを警告しても、ユーザがNCプログラムを編集しな
い場合には、放電加工機が加工を進め、そのエラーブロ
ックまで加工をし、加工ができなくなったときに、加工
を一時的に停止する。つまり、加工を完全には停止しな
い。By the way, even if the user is warned that an error block has occurred as described above, if the user does not edit the NC program, the electrical discharge machine will continue machining until the error block occurs, and the machining will not be completed. When it runs out, processing will be temporarily stopped. In other words, machining is not completely stopped.
この場合、ユーザがそのエラーブロックを編集した後に
、入力スイッチ60の中のりスタートスイッチを押すと
、その編集ブロックから放電加工が再開される。In this case, when the user presses the start switch in the input switch 60 after editing the error block, electrical discharge machining is restarted from the edited block.
従来は、エラーブロックに達すると、放電加工が完全に
停止されているが、上記実施例においては、一時的に停
止するので、その後エラーブロックを編集した後は、加
工を再び開始させることができる。上記のように、リス
タートキーによって放電加工を再開することができるよ
うにすれば、無人加工の場合に便利である。Conventionally, when an error block is reached, electrical discharge machining is completely stopped, but in the above embodiment, it is temporarily stopped, so that machining can be restarted after editing the error block. . As described above, it is convenient for unmanned machining to be able to restart electric discharge machining using the restart key.
なお、ニラ−ブロックを解析したときにCRT50に警
告を表示する代りに、図示しないスピーカ等によって警
告音を発生して警告してもよい。It should be noted that instead of displaying a warning on the CRT 50 when a leek block is analyzed, a warning sound may be generated by a speaker (not shown) or the like.
[発明の効果]
本発明によれば、解析したブロックにエラーが含まれて
いることをNCが認識したときに警告するので、NCプ
ログラム中に間遠のブロックが存在した場合でも、その
部分で放電加工が停止しないようにすることができると
いう効果を有する。[Effects of the Invention] According to the present invention, a warning is issued when the NC recognizes that an analyzed block contains an error. This has the effect that electrical discharge machining can be prevented from stopping.
また、本発明によれば、上記警告後、エラーを含むブロ
ックを編集せずしかも上記エラーを含むブロックを放電
加工機が実行しようとしたときに、放電加工を一時的に
停止し、上記エラーを含むブロックを編集した後に、上
記一時的な停止を解除し、放電加工を再開するので、無
人加工においても、加工を最初からやり直す必要がなく
、効率的であるという効果を有する。Further, according to the present invention, after the above warning, when the block containing the error is not edited and the electric discharge machine attempts to execute the block containing the above error, the electric discharge machining is temporarily stopped and the above error is fixed. After editing the included block, the temporary stop is canceled and the electrical discharge machining is restarted, so there is no need to restart the machining from the beginning even in unmanned machining, which is effective.
第1図は、本発明におけるNCプログラムの説明図であ
る。
第2図は、本発明の一実施例を示すブロック図である。
第3図は、上記実施例の動作説明図である。
D・・・現在の加工点、
A・・・現在の解析点、
10・・・加工機本体、
20・・・CPU、
30・・・ROM、
50・・・CRT。
特許出願人 株式会社ソディック
同代理人 用久保 新 −FIG. 1 is an explanatory diagram of an NC program in the present invention. FIG. 2 is a block diagram showing one embodiment of the present invention. FIG. 3 is an explanatory diagram of the operation of the above embodiment. D... Current processing point, A... Current analysis point, 10... Processing machine body, 20... CPU, 30... ROM, 50... CRT. Patent applicant Sodick Co., Ltd. Agent Arata Yokubo −
Claims (4)
機において、上記NCプログラムの各ブロックを解析し
、この解析したブロックにエラーが含まれていることを
NCが認識したときに警告することを特徴とする放電加
工機。(1) An electrical discharge machine that performs electrical discharge machining based on an NC program is characterized by analyzing each block of the NC program and issuing a warning when the NC recognizes that the analyzed block contains an error. electrical discharge machine.
とする放電加工機。(2) The electrical discharge machine according to claim (1), wherein the block containing the error is displayed on the screen.
ックを変更可能であることを特徴とする放電加工機。(3) The electric discharge machine according to claim (2), wherein the block including the error can be changed based on the display of the block containing the error.
も上記エラーを含むブロックを放電加工機が実行しよう
としたときに、放電加工を一時的に停止し、上記エラー
を含むブロックを編集した後に、上記一時的な停止を解
除し、放電加工を再開することを特徴とする放電加工機
。(4) In claim (1), after the warning, the block containing the error is not changed, and when the electrical discharge machine attempts to execute the block containing the error, temporarily stopping the electrical discharge machining, An electrical discharge machine characterized in that after editing the block containing the error, the temporary stop is canceled and electrical discharge machining is restarted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14519388A JPH01312605A (en) | 1988-06-13 | 1988-06-13 | Electrical discharge machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14519388A JPH01312605A (en) | 1988-06-13 | 1988-06-13 | Electrical discharge machine |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01312605A true JPH01312605A (en) | 1989-12-18 |
Family
ID=15379577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP14519388A Pending JPH01312605A (en) | 1988-06-13 | 1988-06-13 | Electrical discharge machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01312605A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1998024011A1 (en) * | 1996-11-26 | 1998-06-04 | Fanuc Ltd | Robot control device having operation route simulation function |
JP2001014012A (en) * | 1999-06-30 | 2001-01-19 | Toshiba Mach Co Ltd | Numerical controller |
US7024269B2 (en) | 2003-09-10 | 2006-04-04 | Fanuc Ltd | Numerical control apparatus |
JP2010173030A (en) * | 2009-01-30 | 2010-08-12 | Hitachi Ltd | Rotating angle determination system |
JP2015225617A (en) * | 2014-05-30 | 2015-12-14 | ブラザー工業株式会社 | Numerical value control device and control method |
JP2016051249A (en) * | 2014-08-29 | 2016-04-11 | ブラザー工業株式会社 | Numerical control device, and control method |
JP2019168804A (en) * | 2018-03-22 | 2019-10-03 | ファナック株式会社 | Machining program editing device |
-
1988
- 1988-06-13 JP JP14519388A patent/JPH01312605A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1998024011A1 (en) * | 1996-11-26 | 1998-06-04 | Fanuc Ltd | Robot control device having operation route simulation function |
US6463358B1 (en) | 1996-11-26 | 2002-10-08 | Fanuc Ltd. | Robot control device having operation route simulation function |
JP2001014012A (en) * | 1999-06-30 | 2001-01-19 | Toshiba Mach Co Ltd | Numerical controller |
US7024269B2 (en) | 2003-09-10 | 2006-04-04 | Fanuc Ltd | Numerical control apparatus |
JP2010173030A (en) * | 2009-01-30 | 2010-08-12 | Hitachi Ltd | Rotating angle determination system |
JP2015225617A (en) * | 2014-05-30 | 2015-12-14 | ブラザー工業株式会社 | Numerical value control device and control method |
JP2016051249A (en) * | 2014-08-29 | 2016-04-11 | ブラザー工業株式会社 | Numerical control device, and control method |
JP2019168804A (en) * | 2018-03-22 | 2019-10-03 | ファナック株式会社 | Machining program editing device |
US11156986B2 (en) | 2018-03-22 | 2021-10-26 | Fanuc Corporation | Machining program editing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0171435B1 (en) | Numerical control method | |
JPH01312605A (en) | Electrical discharge machine | |
JP2002373008A (en) | Numerical controller | |
JP2676512B2 (en) | Program restart method | |
JP5088922B2 (en) | Wire-cut EDM method | |
JPH0425320A (en) | Wire cut electrical discharge machining and processing program creating device thereof | |
EP0692754B1 (en) | Numerical control device | |
JPS60191305A (en) | Numerical controller | |
JPS6316303A (en) | Numerical controller | |
EP0419672A1 (en) | Method of plotting tool shape | |
JPH07152416A (en) | Numerical controller having program restarting function | |
JP3571093B2 (en) | Wire cut electric discharge machining method and apparatus | |
JPH01257516A (en) | Electric discharge machine | |
JPH03294906A (en) | Editing system for working program | |
JPH02257203A (en) | Nc program generating method for machining center | |
JPS6238906A (en) | Numerical controller | |
JPH01140304A (en) | Interactive nc input device | |
JPH01310403A (en) | Numerical controller | |
JPS6149206A (en) | Process operation method | |
JPH02212904A (en) | Programming device | |
JPS6063610A (en) | Numerical controller with graphic display device capable of drawing clamping device | |
JP2737489B2 (en) | Numerical control unit | |
JP2700832B2 (en) | How to change teaching procedure setting of automatic machine | |
JPH077839U (en) | Numerical control device | |
JPH0647626A (en) | Wire electric discharge machining method |