JPH01297705A - Method for generating nc program for wire cutting electric discharge machine - Google Patents
Method for generating nc program for wire cutting electric discharge machineInfo
- Publication number
- JPH01297705A JPH01297705A JP12706088A JP12706088A JPH01297705A JP H01297705 A JPH01297705 A JP H01297705A JP 12706088 A JP12706088 A JP 12706088A JP 12706088 A JP12706088 A JP 12706088A JP H01297705 A JPH01297705 A JP H01297705A
- Authority
- JP
- Japan
- Prior art keywords
- graphic
- program
- graphic element
- discharge machine
- elements
- 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
- 238000000034 method Methods 0.000 title claims description 7
- 238000003754 machining Methods 0.000 claims description 20
- 238000010586 diagram Methods 0.000 description 5
- 101100537937 Caenorhabditis elegans arc-1 gene Proteins 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 239000002184 metal Substances 0.000 description 1
- 238000004080 punching Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
「発明の1」的]
(産業上の利用分野)
本発明は、コンピュータを用いてワイヤーカット放電加
工機のNCブロクラムを自動作成する方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Invention 1] (Industrial Application Field) The present invention relates to a method for automatically creating an NC block diagram for a wire-cut electrical discharge machine using a computer.
(従来の技術)
コンピュータによりワイヤーカット放電加工機のNCプ
ログラムを作成する場合、一般にはAPTなとの自動プ
ロゲラミンク言語を用いて作成する。(Prior Art) When creating an NC program for a wire-cut electric discharge machine using a computer, it is generally created using an automatic programming language such as APT.
このものでは、プログラマが加工図面から、APTなど
の自動プロゲラミンク言語を用いてパートプログラムを
作成する。次にこのパートプロクラムをNCプログラム
作成用コンピュータに入力すると、これに基ついてNC
プログラムが作成され、NCテープとして出力される。In this system, a programmer creates a part program from a processing drawing using an automatic programming language such as APT. Next, when this part program is input into the NC program creation computer, the NC
A program is created and output as an NC tape.
(発明か解決しようとする課題)
しかしなから、」1記の作成方法では、APTなどの自
動プログラミング言語によるパートプログラムの作成方
法の修得と、ワイヤーカット放電加工機の専門知識がな
いと、NCプログラムの作成かできない。(Invention or problem to be solved) However, the creation method described in item 1 requires learning how to create part programs using an automatic programming language such as APT, and specialized knowledge of wire-cut electrical discharge machines. I can only create programs.
また、加工図面からプログラマか図面を読取ってプログ
ラムを作成してゆくものであるため、図形の読取り、プ
ログラムの作成ミスなどが原因で、加工図面と違った形
状に加重[されることが多々あった。In addition, since the program is created by reading the drawings from the processing drawings, there are many cases where the shapes are weighted differently from those in the processing drawings due to errors in figure reading or program creation. Ta.
そこで、本発明の目的は、APTなとの自動プログラミ
ング言語の修得、或いはワイヤーカット放電加工機の専
門知識がなくとも、容易に且つ正確にNCプログラムを
作成できるワイヤーカット放電加工機用NCプログラム
の作成方法を提供するにある。Therefore, an object of the present invention is to create an NC program for a wire-cut electrical discharge machine that can easily and accurately create an NC program without having to acquire an automatic programming language such as APT or have specialized knowledge of wire-cut electrical discharge machines. Provides instructions on how to create it.
[発明の構成]
(課題を解決するための手段)
上記目的を達成するために本発明のワイヤーカット放電
加工機用NCプログラム作成方法は、複数の図形要素か
らなる図形を図形要素ごとに入力して、その入力された
図形要素を図形として連続する順に並べて認識させると
共に、最初に加工する部分の図形要素を選択して、その
選択した図形要素の近傍に加工開始ポイントを設定し、
且つ加工開始図形要素の両側に連続する2つの図形要素
のうちの一方を選択することにより加工進行方向を決定
し、その後、NCプログラムを自動作成するものである
。[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the method for creating an NC program for a wire-cut electric discharge machine of the present invention inputs a figure consisting of a plurality of figure elements for each figure element. Then, the input graphical elements are arranged in consecutive order as shapes and recognized, and the graphical element of the part to be processed first is selected, and a machining start point is set near the selected graphical element.
Further, by selecting one of the two graphic elements that are continuous on both sides of the machining start graphic element, the direction of machining progress is determined, and then an NC program is automatically created.
(作用)
」二記手段によれば、図形要素データが連続順に記憶さ
れていると共に、加工開始ポイント、最初に加工する部
分及び加工を進行させてゆく方向が指定されるので、後
はコンピュータの処理プログラムによりNCプログラム
が自動作成される。(Operation) According to the second means, the graphic element data is stored in consecutive order, and the machining start point, the first part to be machined, and the direction in which the machining is to proceed are specified, so the rest is done by the computer. An NC program is automatically created by the processing program.
(実施例) 以下本発明の一実施例を図面に基づいて説明する。(Example) An embodiment of the present invention will be described below based on the drawings.
まず第8図に示すCAD/CAMシステムのハード構成
につき説明する。1はキーボードやタブレットなとの入
力装置、2コンピユータ、3はデイスプレーや紙テープ
穿孔機なとの出力装置であり、コンピュータ2は外部記
憶装置4などに記憶されたプログラムに従って図形作成
処理或いはワイヤーカット放電加工機用のNCプロクラ
ム作成処理などを実行する。First, the hardware configuration of the CAD/CAM system shown in FIG. 8 will be explained. 1 is an input device such as a keyboard or a tablet; 2 is a computer; 3 is an output device such as a display or a paper tape perforator; Executes processes such as creating NC programs for electrical discharge machines.
さて、上記のCAD/CAMシステムによりNCプログ
ラムを作成する手順を第1図のフローチャー1・を参照
しながら説明する。ここでは金属板を第2図に示す形状
に加工するものとする。この第2図の図形Aは、複数の
図形要素、即ち3本の縦線5〜7と、3本の横線8〜1
0と、1本の円弧1]とで構成されている。Now, the procedure for creating an NC program using the above CAD/CAM system will be explained with reference to flowchart 1 in FIG. Here, it is assumed that a metal plate is processed into the shape shown in FIG. This figure A in FIG. 2 has a plurality of figure elements, namely three vertical lines 5 to 7 and three horizontal lines 8 to
0 and one circular arc 1].
さて、NCプログラムを作成するには、入力装置1を使
用してデイスプレー上に加工図面に従って第2図に示す
図形を作成する(手操作人力1)。Now, in order to create an NC program, the input device 1 is used to create the figure shown in FIG. 2 on the display according to the processing drawing (manual operation 1).
この図形作成は、対話形式により、直線、曲線、円など
の要素をタブレットにより選択しながら、図形Aの図形
要素ごとに行う。この図形作成により、コンピュータ2
は外部記憶装置4に各図形要素の図形データをファイル
する。この場合の図形データとしては、対話形式の入力
により作成された順に(−Jされた番号、直線や曲線或
いは円などの線種、その線種別の図形を表現可能な座標
値などである。This graphic creation is performed interactively for each graphical element of graphic A while selecting elements such as straight lines, curves, and circles using the tablet. By creating this figure, the computer 2
files the graphic data of each graphic element in the external storage device 4. In this case, the graphic data includes (-J) numbers in the order created by interactive input, line types such as straight lines, curves, or circles, and coordinate values that can express the figure of the line type.
上記のようにして図形Aか作成されると、コンピユータ
2は処理プログラムに従って、その各図形要素を、図形
Aとして連続する順に並べて外部記憶装置4にファイル
する(処理ステップ1)。When the graphic A is created as described above, the computer 2 arranges the graphic elements in a continuous order as the graphic A and files them in the external storage device 4 according to the processing program (processing step 1).
このような並べ変えが必要な理由は、対話人力形式によ
り各図形要素を作成して行く順は、例えばまず縦線5〜
7をまとめて作成し、次に横線8〜10をまとめて作成
し、最後に円弧1]を作成するというように、ランダム
であるから、これを順に連続した図形要素から図形Aが
成り立っていることを認識させるためである。The reason why this kind of rearrangement is necessary is that the order in which each graphical element is created in the interactive manual format is, for example, first vertical lines 5 to 5.
7 is created all at once, then horizontal lines 8 to 10 are created all at once, and finally arc 1] is created, and so on. Since it is random, shape A is made up of consecutive graphic elements in this order. This is to make people aware of this.
次に、オペレータは、必要に応じて図形Aを任意のオフ
セットiA fで拡大成いは縮小させる(手操作人力2
)。この図形Aの拡大成いは縮小は、図形Aからプレス
型のポンチ或いはダイスを加工するとすると、両者間に
は適当なるクリアランスが必要であるから、そのような
りリアランスを設けるために行われる。第3図に二点鎖
線で示された図形Bは図形Aを縮小した場合のものであ
る。Next, the operator enlarges or reduces the figure A by an arbitrary offset iA f as necessary (manual operation 2
). This enlargement or reduction of the figure A is carried out in order to provide a clearance because if a press-type punch or die is to be formed from the figure A, an appropriate clearance is required between the two. Figure B indicated by a two-dot chain line in FIG. 3 is a reduced version of figure A.
尚、この図形Aの拡大縮小は、加工する大きさが図形A
そのものである場合には、行う必要はない。In addition, when enlarging/reducing figure A, the size to be processed is figure A.
If so, there is no need to do so.
この後、オペレータは、最初に加1−する箇所を各図形
要素のうちから指定する(手操作人力′3)。Thereafter, the operator first specifies the part to be added from among each graphical element (manual operation '3).
今、最初に加工する箇所どして図形要素4を指定したと
する。すると、コンピュータ2は、第4図に示すように
、デイスプレー上にその図形要素4の二〜分線」二であ
って当該図形要素4の近傍に図形Aの内外に夫々位置す
る2つのスタートポイントPI、P2を表示する。Now, assume that graphic element 4 is designated as the first location to be processed. Then, as shown in FIG. 4, the computer 2 displays two starting points on the display that are located at the 2-segment line 2 of the graphic element 4 and located inside and outside of the graphic A, respectively, in the vicinity of the graphic element 4. Display points PI and P2.
そこで、オペレータは、そのうちの1つを加−1゜開始
ポイントとして選択する(手操作人力4)。Therefore, the operator selects one of them as the addition-1° starting point (manual operation 4).
この加工開始ポイントは、ワイヤーカット放電加工機の
加工用ワイヤーを通ず孔を加圧する位置である。従って
、第6図に示すように、図形Aにより囲まれた形状の加
工物]2を得たい場合には、図形Aの外側に位置するポ
イントP2を選択ずべきであるし、また第7図に示すよ
うに、図形Aと同形状の孔を何した加工物1′3を得た
い場合には、図形Aの内側に位置するポイントP1を選
択ずべきである。This machining start point is the position where the machining wire of the wire-cut electric discharge machine is passed through and the hole is pressurized. Therefore, as shown in FIG. 6, if you want to obtain a workpiece surrounded by figure A, point P2 located outside figure A should not be selected, and also point P2 located outside figure A should not be selected. As shown in Figure A, if you want to obtain a workpiece 1'3 with holes of the same shape as the figure A, you should not select the point P1 located inside the figure A.
加]−L開始ポイン]・を選択した後、オペレータは、
放電加工を、連続する図形要素に沿って時旧回り方向に
進行させてゆくか或いは逆方向に進行させるかを選択す
る(手操作入力5)。その選択は、加工開始図形要素と
して選択した図形要素4の両側に連続している図形要素
1及び2のうちのいずれかを指定することにより選択で
きるようになっている。ここでは、例えば図形要素2を
選択したとすると、加圧進行方向は時計回り方向となり
、第5図に示すように、その方向を示す矢印Bかデイス
プレー」二に表示される(加圧開始ポイントはP2を指
定)。After selecting [+]-L start point], the operator:
It is selected whether the electric discharge machining is to proceed in the backward direction or in the reverse direction along the continuous graphical elements (manual operation input 5). The selection can be made by specifying either of the graphic elements 1 and 2 that are continuous on both sides of the graphic element 4 selected as the processing start graphic element. Here, for example, if graphic element 2 is selected, the direction of pressurization will be clockwise, and as shown in FIG. Specify point P2).
このようにして加工進行方向か選択されると、コンピュ
ータ2は、処理プロクラムに従い、連続するjlloに
並べられた各図形要素1こ沿ってH,i制用り方向に加
工を進行させるように、ワイヤーカット放電加工機のN
Cプログラムを作成し、その結果を穿孔機により穿孔テ
ープとして出力する(処理ステップ2)。When the machining progress direction is selected in this way, the computer 2 follows the processing program so that the machining progresses in the H, i direction along each graphic element 1 arranged in continuous jllo. N of wire cut electric discharge machine
A C program is created and the result is output as a punched tape by a punching machine (processing step 2).
このように本実施例によれは、従来の加工図面から各図
形要素の長さやj坐標値や線種なとを読取ってAPTな
との自動プロクラミンク言語によりバートブロクラムを
作成する必要かあったものとは異なり、APTなどのプ
ロクラミンク言語を用いなくとも良く、また加工図面を
基にして実際にデイスプレー」二にその図形と同一の図
形Aを作成し、そしてこの図形Aを基にして、オフセッ
ト図形を作成したり、加工開始ポイントを決定したり、
或いは加工進行方向を決定したりするので、図面の読み
間違いなど、ミスを生ずる機会が非常に少なくなる。こ
のため、APTなどの自動プログラミング言語を修得す
る必要かないと共に、ワイヤーカット放電加工機の専門
的知識も必要とせす、しかも容易目つ正確にNCプログ
ラムを作成できる。In this way, according to this embodiment, it was necessary to read the length of each figure element, the reference value, the line type, etc. from the conventional processing drawing and create a bart block using an automatic programming language such as APT. Unlike the conventional programming language, there is no need to use a programming language such as APT, and you can actually create a display based on the processing drawing.Secondly, create a figure A that is identical to that figure, and then, based on this figure A, Create offset shapes, determine the machining start point,
Alternatively, since the direction in which the machining progresses is determined, the chances of making mistakes such as misreading the drawings are greatly reduced. Therefore, it is not necessary to learn an automatic programming language such as APT, and specialized knowledge of wire-cut electric discharge machines is not required, and NC programs can be created easily and accurately.
尚、図形Aの作成時点てオフセット量、或いは加工開始
図形要素を人力できるようにすれば、より自動化率か高
くなる。また、APTなとの自動プロクラミンク言語に
より作成したパートプログラムの入力によってもNCプ
ロクラムを作成できるようにすれは、より完全なCAD
/CAMンステムとすることかできる。Incidentally, if the offset amount or the processing start graphic element can be manually determined at the time of creating the figure A, the automation rate will be higher. In addition, it would be possible to create a NC program by inputting a part program created using an automatic programming language such as APT.
/CAM system.
[発明の効果]
以上説明したように本発明によれば、複数の図形要素か
らなる図形を図形要素ことに人力して、その人力された
図形要素を図形として連続する順に並べて認識させると
共に、最初に加工する箇所の図形要素を選択して、その
選択された図形要素の近傍に加工開始ポイントを設定し
、旧つ加工開始図形要素の両側に連続する2つの図形要
素のうちの一方を選択することにより加工進行方向を決
定し1.その後、NCプログラムを自動作成するように
したので、APTなとの自動プログラミング言語を修得
していなくとも、またワイヤーカット放電加工機の専門
的知識かなくとも、NCプログラムを容易且つ正確に作
成することかできるという優れた効果を奏するものであ
る。[Effects of the Invention] As explained above, according to the present invention, a figure made up of a plurality of figure elements is manually input into figure elements, the manually-generated figure elements are arranged in consecutive order as figures, and the figures are recognized first. Select the graphical element to be machined, set the machining start point near the selected graphical element, and select one of the two graphical elements that are continuous on both sides of the old machining start graphical element. The machining progress direction is determined by 1. Later, we started creating NC programs automatically, so even if you have not learned an automatic programming language such as APT or have specialized knowledge of wire-cut electrical discharge machines, you can easily and accurately create NC programs. It has an excellent effect of being able to do a lot of things.
図面は本発明の一実施例を示すもので、第1図はNCブ
ロクラム作成のためのフローチャー1・、第2図は加工
形状を表す図形を作成したときのデー 1〇 −
イスプレーの正面図、第3図はオフセットした図形と共
に示す第2図相当図、第4図はスタートポイントを表示
した場合の第2図相当図、第5図は加工進行方向を決定
した場合の第2図相当図、第6図及び第7図は夫々異な
る加工物を示す斜視図、第8図はCAD/CAMシステ
ムのハード構成図である。
図中、1は入力装置、2はコンピュータ、3は出力装置
、4は外部記憶装置、5〜]1は図形要素、Pl、、P
2は加工開始ポイントである。
代理人 弁理士 則 近 憲 右The drawings show one embodiment of the present invention, and Fig. 1 is a flowchart 1 for creating an NC block diagram, and Fig. 2 is a flowchart for creating a figure representing a machining shape. 10 - Front view of ispray Figure 3 is a diagram equivalent to Figure 2 shown with offset figures, Figure 4 is a diagram equivalent to Figure 2 when the start point is displayed, and Figure 5 is equivalent to Figure 2 when the machining progress direction is determined. 6 and 7 are perspective views showing different workpieces, respectively, and FIG. 8 is a hardware configuration diagram of the CAD/CAM system. In the figure, 1 is an input device, 2 is a computer, 3 is an output device, 4 is an external storage device, 5~ ] 1 is a graphic element, Pl, , P
2 is the processing start point. Agent Patent Attorney Noriyuki Chika
Claims (1)
Cプログラムを自動作成するものにおいて、複数の図形
要素からなる図形を図形要素ごとに入力して、その入力
された図形要素を図形として連続する順に並べて認識さ
せると共に、最初に加工する箇所の図形要素を選択して
、その選択した図形要素の近傍に加工開始ポイントを設
定し、且つ加工開始図形要素の両側に連続する2つの図
形要素のうちの一方を選択することにより加工進行方向
を決定し、その後、NCプログラムを自動作成すること
を特徴とするワイヤーカット放電加工機用NCプログラ
ムの作成方法。1. N of wire cut electric discharge machine by computer
In a program that automatically creates a C program, a figure consisting of multiple figure elements is input for each figure element, and the input figure elements are arranged in consecutive order as figures and recognized, and the figure element of the first place to be processed is , set a machining start point near the selected graphical element, and determine the machining progress direction by selecting one of two graphical elements continuous on both sides of the machining start graphical element, A method for creating an NC program for a wire-cut electrical discharge machine, comprising automatically creating an NC program thereafter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12706088A JPH01297705A (en) | 1988-05-26 | 1988-05-26 | Method for generating nc program for wire cutting electric discharge machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12706088A JPH01297705A (en) | 1988-05-26 | 1988-05-26 | Method for generating nc program for wire cutting electric discharge machine |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01297705A true JPH01297705A (en) | 1989-11-30 |
Family
ID=14950599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP12706088A Pending JPH01297705A (en) | 1988-05-26 | 1988-05-26 | Method for generating nc program for wire cutting electric discharge machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01297705A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04137004A (en) * | 1990-09-28 | 1992-05-12 | Toppan Printing Co Ltd | Packaged data converter |
US5424955A (en) * | 1992-10-02 | 1995-06-13 | Murata Kikai Kabushiki Kaisha | Method of checking interference on process pattern caused by tool positioning |
-
1988
- 1988-05-26 JP JP12706088A patent/JPH01297705A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04137004A (en) * | 1990-09-28 | 1992-05-12 | Toppan Printing Co Ltd | Packaged data converter |
US5424955A (en) * | 1992-10-02 | 1995-06-13 | Murata Kikai Kabushiki Kaisha | Method of checking interference on process pattern caused by tool positioning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0044192B2 (en) | A method for preparing numerical control information | |
US5115400A (en) | Cad/cam apparatus | |
US5177689A (en) | Cad/cam apparatus for enhancing operator entry of machining attributes and geometric shapes | |
EP0130219A1 (en) | Method of preparing part program | |
US5113338A (en) | Similar shape part program creation method | |
JPH01297705A (en) | Method for generating nc program for wire cutting electric discharge machine | |
US5146402A (en) | Profile definition method | |
JPH0511828A (en) | Specifying method for fillet curved surface creation position | |
JPH0425320A (en) | Wire cut electrical discharge machining and processing program creating device thereof | |
JP2633624B2 (en) | NC data creation method for punching shape processing | |
JPH06304818A (en) | Nc data preparation method for wire electric discharge machine | |
JP3564721B2 (en) | CAD / CAM equipment | |
JP2875135B2 (en) | Program device for programmable controller | |
WO1989006173A1 (en) | Corner shape setting method in wire cut machining | |
JPS62292309A (en) | Pocket working method | |
JPS6346512A (en) | Production of nc data | |
JP2004234693A (en) | Cad/cam device | |
JPS61105615A (en) | Working area designating system of nc data generating device | |
JPH05307408A (en) | Work program genertion device for wire discharge working machine | |
JPH0317709A (en) | Cad/cam device | |
JPS62232005A (en) | Method for originating nc data | |
JPH03265907A (en) | Cad/cam device | |
JPH0470970A (en) | Partial drawing preparing method | |
JPS61230844A (en) | Automatic program generator | |
JPH0855244A (en) | Stereographic data input method |