JPH0619654B2 - Method of inserting NC program into digitizing data - Google Patents
Method of inserting NC program into digitizing dataInfo
- Publication number
- JPH0619654B2 JPH0619654B2 JP61109222A JP10922286A JPH0619654B2 JP H0619654 B2 JPH0619654 B2 JP H0619654B2 JP 61109222 A JP61109222 A JP 61109222A JP 10922286 A JP10922286 A JP 10922286A JP H0619654 B2 JPH0619654 B2 JP H0619654B2
- Authority
- JP
- Japan
- Prior art keywords
- program
- file
- data
- digitizing
- digitizing data
- 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
Links
Landscapes
- Numerical Control (AREA)
Description
【発明の詳細な説明】 (発明の技術分野) 本発明は、倣い装置により作成するディジタイジングデ
ータに、数値制御(NC)装置により加工するためのNCプロ
グラムを挿入する挿入方法に関し、特に、ディジタイジ
ングデータを読込みながら所定のNCプログラムを容易に
挿入できる挿入方法に関する。Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to an inserting method for inserting an NC program for processing by a numerical control (NC) device into digitizing data created by a copying device, and particularly, The present invention relates to an insertion method that allows easy insertion of a predetermined NC program while reading Ising data.
(発明の技術的背景とその問題点) 倣い装置により収集されたディジタイジングデータは、
単にワークの位置データを示しているだけであり、この
ディジタイジングデータだけではNC装置により加工を行
なうことができない。そこで、NC装置により加工を行な
う際には、上記ディジタイジングデータの所定の位置
に、所定の“Gコード(準備機能)”、“Mコード(補
助機能)”,“Tコード(工具機能)”,“Fコード
(送り機能)”又は“Sコード(主軸機能)”等の各種
機能を含む、対応するNCプログラムをそれぞれ挿入し、
加工を指令しなければならない。(Technical background of the invention and its problems) The digitizing data collected by the copying apparatus is
It only shows the position data of the workpiece, and machining cannot be performed by the NC device only with this digitizing data. Therefore, when machining is performed by the NC device, a predetermined “G code (preparation function)”, “M code (auxiliary function)”, “T code (tool function)” is set at a predetermined position of the digitizing data. , Insert the corresponding NC program including various functions such as "F code (feed function)" or "S code (spindle function)",
I have to order the processing.
そのために、従来は第3図に示すように、ディジタイジ
ング開始時,終了時あるいはピックフィード開始時,終
了時等のNCプログラム挿入ステップ(以下、挿入タイミ
ングという)に、挿入するNCプログラム識別情報を対応
させておき、予め別途作成しておいた第7図に示すよう
な当該NCプログラム識別情報(以下、プログラム名とい
う)に対応するNCプログラムテーブルから、上記所定の
挿入タイミング毎に、その都度対応するNCプログラムを
ディジタイジングデータに挿入するようにしている(第
8図及び第9図)。Therefore, conventionally, as shown in FIG. 3, the NC program identification information to be inserted is inserted at the NC program insertion step (hereinafter referred to as insertion timing) at the time of digitizing start, end, pick feed start, end, etc. Corresponding each time, from the NC program table corresponding to the NC program identification information (hereinafter referred to as program name) as shown in FIG. The NC program to be used is inserted into the digitizing data (Figs. 8 and 9).
ところが、このような従来の挿入方法においては、作成
されたディジタイジングデータを用いてNC装置により加
工を行なう際に、実際に加工するNC装置が変更される
と、NC装置によっては同一NCプログラムが使用できず、
上記挿入タイミングと挿入するNCプログラム名対応表を
変更するか、又は挿入するNCプログラムを変更する必要
があり、作業者に多大な負担をかけていた。また、多工
程倣い等、途中で加工条件を変更したい場合、工程の切
れ目等において、その都度挿入するNCプログラムを変更
しなければならず、作業者に多大な負担をかけるという
問題点があった。However, in such a conventional insertion method, when the NC device to be actually processed is changed when machining is performed by the NC device using the created digitizing data, the same NC program may be changed depending on the NC device. Can't use
It was necessary to change the above insertion timing and the NC program name correspondence table to be inserted, or to change the NC program to be inserted, which placed a great burden on the operator. Further, when it is desired to change the processing conditions during the process such as in multi-step copying, the NC program to be inserted must be changed each time at a process break or the like, which causes a great burden on the operator. .
(発明の目的) 本発明は上述のような事情からなされたものであり、本
発明の目的は、倣い装置により作成されるディジタイジ
ングデータに、NC装置により加工するNCプログラムを挿
入する際に、実際に加工するNC装置が変更されても、簡
単な操作で柔軟に対応できると共に、多工程倣い等、途
中で加工条件を変更したい場合でも簡単な操作で柔軟に
対応できるディジタイジングデータへのNCプログラム挿
入方法を提供することにある。(Object of the Invention) The present invention has been made under the circumstances as described above, and an object of the present invention is to digitize data created by a copying apparatus, when inserting an NC program to be processed by an NC apparatus, Even if the NC device to be actually machined is changed, it is possible to flexibly respond with simple operations, and even if you want to change machining conditions in the middle such as multi-step copying, you can flexibly respond to the digitizing data with NC. It is to provide a program insertion method.
(発明の概要) 本発明は、倣い装置により作成するディジタイジングデ
ータへのNCプログラム挿入方法に関し、ディジタイジン
グデータに挿入するNCプログラムのプログラム名と、当
該NCプログラムを挿入するステップとをそれぞれ対応づ
けて記憶しておくと共に、実際に加工するNC装置又は加
工工程毎に区別してそれぞれファイル名を付し、且つ、
当該NC装置又は加工工程毎に上記プログラム名に対応す
るNCプログラムを記憶しておき、上記ディジタイジング
データを読込みながら上記ステップにNCプログラムを挿
入する際に、上記NC装置又は加工工程に対応するファイ
ル名を指定するだけで、上記ディジタイジングデータに
挿入するNCプログラムを変更できるようにしたものであ
る。(Summary of the Invention) The present invention relates to a method for inserting an NC program into digitizing data created by a copying apparatus, in which a program name of an NC program to be inserted into the digitizing data is associated with a step of inserting the NC program. It is stored as a file, and a file name is assigned to each NC device or machining process that is actually processed, and
A NC program corresponding to the program name is stored for each NC device or machining process, and a file corresponding to the NC device or machining process is inserted when the NC program is inserted in the step while reading the digitizing data. The NC program inserted into the digitizing data can be changed by simply specifying the name.
(発明の実施例) 第1図は、本発明のディジタイジングデータへのNCプロ
グラム挿入方法を実現する装置の概略を示すブロック構
成図及びそのフローである。同図において、1は、第3
図に示すような、ディジタイジングデータへのNCプログ
ラム挿入タイミングと挿入するNCプログラム名とを対応
づけた対応表であり、2は第4図に示すような、NC装置
毎、又は各工程毎に異なる挿入するNCプログラム名に対
応するNCプログラム群を、上記NC装置毎、又は各工程毎
にそれぞれファイル名を付して1つのファイルにまとめ
てファイル群であり、これら対応表1及びファイル群2
は予め別途作成されている。3は上記ファイル群から該
当するファイル名を指定するファイル指定メモリであ
り、4は倣い装置により作成されるディジタイズデータ
に上記NCプログラムが挿入されたディジタイズデータを
記憶しておくメモリである。(Embodiment of the Invention) FIG. 1 is a block configuration diagram and a flow thereof showing an outline of an apparatus for realizing an NC program insertion method into digitizing data of the present invention. In the figure, 1 is the third
As shown in the figure, it is a correspondence table in which the NC program insertion timing to the digitizing data and the NC program name to be inserted are associated with each other, and 2 is for each NC device or each process as shown in FIG. The NC program groups corresponding to the different NC program names to be inserted are given as file names by assigning file names to each of the above NC devices or each process, and these are a file group. These correspondence table 1 and file group 2
Is created separately in advance. Reference numeral 3 is a file designation memory for designating a corresponding file name from the file group, and 4 is a memory for storing the digitized data in which the NC program is inserted into the digitized data created by the copying apparatus.
そこで、第5図に示すようなディジタイズデータを、倣
い装置により作成する際に、NCプログラムを挿入すべき
タイミング(例えば、ディジタイジング開始時)に、NC
プログラム挿入タイミング信号SSが上記対応表1に発せ
られると、第3図に示す対応表1から対応するNCプログ
ラム名(例えば、1000)が選択されて、ファイル群2
に伝達される。このファイル群2には、上記第4図のよ
うにNC装置毎、又は各工程毎に異なるファイル名(例え
ば、“ARA.SUB ”,“SHIAGE.SUB”)を付し、当該ファ
イル毎に挿入するNCプログラム名に対応するNCプログラ
ム群が記憶されているので、ファイル指定メモリ3から
該当する必要なファイル名(例えば、仕上げ加工工程な
ら“SHIAGE.SUB”)を指定すると、上記ファイル群2か
ら所定のNCプログラム(G00 Z500 T0101/G01 M03 S100
0 F500)を選択し、メモリ4において、第6図に示すよ
うに所定のNCプログラムを挿入したディジタイズデータ
を作成して記憶する。Therefore, when the digitizing data as shown in FIG. 5 is created by the copying apparatus, the NC program should be inserted at the timing (for example, when digitizing is started).
When the program insertion timing signal SS is issued to the above correspondence table 1, the corresponding NC program name (for example, 1000) is selected from the correspondence table 1 shown in FIG.
Be transmitted to. This file group 2 is given a different file name (for example, "ARA.SUB", "SHIAGE.SUB") for each NC device or each process as shown in Fig. 4 and inserted for each file. Since the NC program group corresponding to the NC program name to be stored is stored, if the corresponding required file name (for example, "SHIAGE.SUB" for the finishing process) is specified from the file specification memory 3, Prescribed NC program (G00 Z500 T0101 / G01 M03 S100
0 F500) is selected, and digitized data in which a predetermined NC program is inserted is created and stored in the memory 4 as shown in FIG.
以上のような挿入方法の詳細について、第2図のフロー
チャートを参照して以下に説明する。Details of the above insertion method will be described below with reference to the flowchart of FIG.
本発明によるディジタイジングデータへのNCプログラム
挿入を実行するにあたって、まず、挿入するNCプログラ
ム群のファイル名がファイル指定メモリ3に指定されて
いるか否かをチェックし(ステップS1)、指定されてい
なければ、プログラム又は操作パネルによりファイル名
を入力指定する(ステップS2)。上記ファイル名が指定
されると(ここにおいては、“SHIAGE.SUB”が指定され
たとすると)、当該ファイルが第4図に示すファイル群
2に登録されているか否かをチェックし(ステップS
3)、登録されていなければエラー処理する(ステップS
4)。上記ファイルが登録されていることが確認できた
らディジタイズを行ない、ワークの形状データを作成し
ていく(ステップS5)。そして、上記指定したファイル
名を変更する必要がなく(ステップS6)、且つ全データ
について終了していなければ(ステップS8)、NCプログ
ラムの挿入タイミングか否かを判断し(ステップS9)、
第5図に示すように、ディジタイジング開始時で、NCプ
ログラム挿入タイミングであれば、第3図に示す対応表
1より該当するNCプログラム名“1000”を求める(ス
テップS10)。そこで、上記指定されたファイル(“SHI
AGE.SUB”)の当該NCプログラム名(“1000”)のNC
プログラム(“G00 Z500 T0101/G01 M03 S1000 F50
0”)を、上記ファイル群2から探し(ステップS11)、
当該NCプログラムがなければ(ステップS12)、エラー
処理し(ステップS13)、あれば、第6図に示すよう
に、ディジタイズデータに当該NCプログラムを挿入する
と共に、メモリ4に記憶させる(ステップS14)。そし
て、上記ステップS5に戻り、ディジタイジング動作を続
ける。In executing the NC program insertion into the digitizing data according to the present invention, first, it is checked whether or not the file name of the NC program group to be inserted is designated in the file designation memory 3 (step S1). For example, the file name is input and designated by the program or the operation panel (step S2). When the file name is specified (here, "SHIAGE.SUB" is specified), it is checked whether the file is registered in the file group 2 shown in FIG. 4 (step S
3) If not registered, error processing is performed (step S
Four). When it is confirmed that the above files are registered, digitization is performed and work shape data is created (step S5). Then, if it is not necessary to change the specified file name (step S6), and if it has not been completed for all data (step S8), it is judged whether or not it is the NC program insertion timing (step S9),
As shown in FIG. 5, if the NC program insertion timing is reached at the start of digitizing, the corresponding NC program name “1000” is obtained from the correspondence table 1 shown in FIG. 3 (step S10). Therefore, the file specified above (“SHI
NC of the relevant NC program name ("1000") of "AGE.SUB")
Program (“G00 Z500 T0101 / G01 M03 S1000 F50
0 ”) is searched from the file group 2 (step S11),
If the NC program does not exist (step S12), error processing is performed (step S13). If there is, the NC program is inserted into the digitized data and stored in the memory 4 as shown in FIG. 6 (step S14). . Then, returning to step S5, the digitizing operation is continued.
ここで、上記ステップS9において、NCプログラムの挿入
タイミングでなければ、上記ステップS5に戻りそのまま
ディジタイジングを行なう。そして、以下、上述と同様
にしてディジタイジングデータへのNCプログラム挿入を
行なっている際や後に、工程を変更する必要が生じた場
合には(ステップS6)、上記指定しておいたファイルを
該当するファイル(例えば、荒加工なら“ARA.SUB”)
に変更すれば(ステップS7)、以後、当該ファイルに従
って必要なNCプログラムが選択されてディジタイズデー
タに挿入されることになる。そして、このような動作は
全ディジタイジングデータを作成するまで続けられ、全
ディジタイジングデータについて必要なNCプログラムを
挿入してて終了する(ステップS8)。If it is not the NC program insertion timing in step S9, the process returns to step S5 and digitization is performed as it is. Then, when it is necessary to change the process (step S6) while inserting the NC program into the digitizing data or afterwards, in the same way as described above, the file specified above is applicable. File to be created (eg "ARA.SUB" for rough machining)
If it is changed to (step S7), then the necessary NC program is selected according to the file and inserted into the digitized data. Then, such an operation is continued until all the digitizing data is created, and the necessary NC program is inserted for all the digitizing data and the operation is completed (step S8).
(発明の効果) 以上のように本発明のディジタイジングデータへのNCプ
ログラム挿入方法によれば、倣い装置により作成される
ディジタイジングデータにNCプログラムを挿入する際
に、実際に加工するNC装置が変更されたり、又、多工程
倣い等、途中で加工条件を変更したい場合でも、予め登
録しておいたファイル群から該当するファイル名を指定
するだけの簡単な操作で、柔軟に対応でき、単に作業者
の負担を軽減するだけでなく、汎用性を広げることがで
きるようになる。(Effect of the Invention) As described above, according to the NC program insertion method for digitizing data of the present invention, when the NC program is inserted in the digitizing data created by the copying apparatus, the NC apparatus that actually processes is Even if you want to change or change the processing conditions in the middle, such as multi-step copying, you can flexibly respond by simply specifying the relevant file name from the file group registered in advance, simply Not only can the burden on the operator be reduced, but the versatility can be expanded.
第1図は本発明方法の概略を示すブロック構成図及びそ
のフロー、第2図は本発明方法のディジタイズデータへ
のNCプログラム挿入動作を説明するフローチャート、第
3図〜第6図は本発明方法を説明するための図、第7図
〜第9図は従来のディジタイズデータへのNCプログラム
挿入方法を説明するための図である。 1……対応表、2……ファイル群、3……ファイル指定
メモリ、4……メモリ。FIG. 1 is a block diagram showing the outline of the method of the present invention and its flow, FIG. 2 is a flow chart for explaining the operation of inserting an NC program into digitized data of the method of the present invention, and FIGS. 3 to 6 are the method of the present invention. FIGS. 7 to 9 are views for explaining a conventional method for inserting an NC program into digitized data. 1 ... Correspondence table, 2 ... File group, 3 ... File designation memory, 4 ... Memory.
Claims (1)
データに挿入するNCプログラムのプログラム識別情報
と、当該NCプログラムを挿入するステップとをそれぞれ
対応づけて記憶しておくと共に、実際に加工するNC装置
又は加工工程毎に区分してそれぞれファイル名を付し、
且つ、当該NC装置又は加工工程毎に前記プログラム識別
情報に対応するNCプログラムを記憶しておき、前記ディ
ジタイジングデータを読込みながら前記ステップにおい
てNCプログラムを挿入する際に、前記NC装置又は加工工
程に対応するファイル名を指定するだけで、前記ディジ
タイジングデータに挿入するNCプログラムを変更できる
ようにしたことを特徴とするディジタイジングデータへ
のNCプログラム挿入方法。1. The NC device to be actually machined, while storing the program identification information of the NC program to be inserted in the digitizing data created by the copying device and the step of inserting the NC program in association with each other. Divide each processing process and give each file name,
And, the NC program corresponding to the program identification information is stored for each NC device or machining process, and when the NC program is inserted in the step while reading the digitizing data, the NC device or the machining process is processed. A method for inserting an NC program into digitizing data, characterized in that the NC program to be inserted into the digitizing data can be changed simply by designating a corresponding file name.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61109222A JPH0619654B2 (en) | 1986-05-13 | 1986-05-13 | Method of inserting NC program into digitizing data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61109222A JPH0619654B2 (en) | 1986-05-13 | 1986-05-13 | Method of inserting NC program into digitizing data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62264308A JPS62264308A (en) | 1987-11-17 |
| JPH0619654B2 true JPH0619654B2 (en) | 1994-03-16 |
Family
ID=14504692
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61109222A Expired - Lifetime JPH0619654B2 (en) | 1986-05-13 | 1986-05-13 | Method of inserting NC program into digitizing data |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0619654B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5821960A (en) * | 1981-07-31 | 1983-02-09 | Toshiba Corp | Warning system for recalling in same extension |
| JPS5981045A (en) * | 1982-10-27 | 1984-05-10 | Fanuc Ltd | Control system for multiprocess profiling |
-
1986
- 1986-05-13 JP JP61109222A patent/JPH0619654B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62264308A (en) | 1987-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0213531B1 (en) | Automatic programming system for numerical control program used in cutting machine tool | |
| EP0046343A2 (en) | Numerical control method and apparatus | |
| EP0148273B1 (en) | Numerical control apparatus | |
| US4814999A (en) | Automatic programming system | |
| EP0179919A1 (en) | Numerical control system | |
| EP0425674A4 (en) | Automatic tool selecting system. | |
| JPH0619654B2 (en) | Method of inserting NC program into digitizing data | |
| US5041985A (en) | Tool changing method | |
| US5029068A (en) | NC data creation method | |
| EP0144435B1 (en) | Numerical control apparatus with automatic tool determination function | |
| JP2654253B2 (en) | Numerical control information creation device | |
| JPH0619655B2 (en) | Method of inserting NC program into digitizing data | |
| JPH0753336B2 (en) | Automatic tool selection device for machine tools | |
| US5014209A (en) | Method of forming configuration data for CNC machining apparatus | |
| JP3092744B2 (en) | Processing system | |
| JPH0643920A (en) | Tool control system | |
| JPH0749651A (en) | Control program creation support device | |
| JP2856953B2 (en) | Flexible production system | |
| JP2646034B2 (en) | Numerical control unit | |
| JPH05197413A (en) | NC data converter | |
| JP2555764B2 (en) | Machining method of workpiece in high-mix low-volume production system | |
| JP3120263B2 (en) | Machining program creation method for facing spindle lathe | |
| JP2788137B2 (en) | Numerical control data creation device | |
| JPH04223835A (en) | Tool number registering method of nc machine tool | |
| JPS61157951A (en) | File overlay method |