JP2001092512A - Nc data preparation method and computer-readable storage medium storing nc data preparation program - Google Patents

Nc data preparation method and computer-readable storage medium storing nc data preparation program

Info

Publication number
JP2001092512A
JP2001092512A JP26452799A JP26452799A JP2001092512A JP 2001092512 A JP2001092512 A JP 2001092512A JP 26452799 A JP26452799 A JP 26452799A JP 26452799 A JP26452799 A JP 26452799A JP 2001092512 A JP2001092512 A JP 2001092512A
Authority
JP
Japan
Prior art keywords
data
information
processing
punch
processing order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP26452799A
Other languages
Japanese (ja)
Inventor
Hideyuki Inoue
秀之 井上
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.)
Amada Co Ltd
Original Assignee
Amada Co Ltd
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 Amada Co Ltd filed Critical Amada Co Ltd
Priority to JP26452799A priority Critical patent/JP2001092512A/en
Publication of JP2001092512A publication Critical patent/JP2001092512A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an NC data preparation method for an automatic programming system by which anyone can easily recognize the machining state only by observing NC data. SOLUTION: This method comprises a machining order group information for determining the machining order on the basis of NC data and CL data, a machining order fixing information for fixing the machining order for every line of the NC data a route class information showing the locus class of a machining head, a punch pierce information being a link information between a punch pierce and a laser route using the punch pierce, and a joint information showing the joint punch of a PX system. Thus, the machining information is determined by optionally combining a plurality of above information (S18), encoded (S20) and added to the NC data (S22).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、NC装置に適用さ
れるNCデータの作成方法に係り、特にNC装置を制御
するNCデータのみならずNCデータには含まれない加
工情報をコメントとして付加することにより、NCデー
タの再利用性を高めたNCデータ作成方法及びNCデー
タ作成プログラムを記憶したコンピュータ読み取り可能
記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for creating NC data applied to an NC device, and particularly to adding not only NC data for controlling the NC device but also processing information not included in the NC data as a comment. Accordingly, the present invention relates to an NC data creation method that enhances the reusability of NC data and a computer-readable storage medium that stores an NC data creation program.

【0002】[0002]

【従来の技術】NC装置により各行毎に逐次実行される
NCデータ(NCプログラム)をCADなどによる図形
データに基づいて自動作成し、またNCデータの再使用
などのためにNCデータを変更編集することができる自
動プログラミングシステムが知られている。
2. Description of the Related Art NC data (NC program), which is sequentially executed for each line by an NC device, is automatically created based on graphic data by CAD or the like, and the NC data is changed and edited in order to reuse the NC data. Automatic programming systems that can do this are known.

【0003】通常、NCデータの自動プログラミングに
おいては、まず加工しようとする部品の2次元又は3次
元CADデータに基づいて、APTIVやEXAPT等の
NCプログラミング言語により、部品形状を構成する
点、直線、円等の図形定義と加工手順とを表現したパー
トプログラムが作成される。
Normally, in automatic programming of NC data, first, based on two-dimensional or three-dimensional CAD data of a part to be machined, a point, a straight line, A part program expressing the definition of a figure such as a circle and the processing procedure is created.

【0004】次いで、パートプログラムをメインプロセ
ッサ(ジェネラルプロセッサ)で解読して図形定義と加
工手順を決定し、工具の動く経路(工具軌跡)の数学的
表現であるCLデータを作成する。そして、このCLデ
ータからポストプロセッサにより目的のNC装置に適合
したNCデータが作成される。
[0004] Next, the part program is decoded by a main processor (general processor) to determine a graphic definition and a machining procedure, and to create CL data which is a mathematical expression of a path (tool trajectory) in which a tool moves. Then, NC data suitable for the target NC device is created from the CL data by the post processor.

【0005】こうして作成されたNCデータは、目的の
NC装置を制御するために必要な情報を含むが、部品設
計時の設計者の意図や、APTIVやEXAPT等のNC
プログラミング言語により記述された図形定義情報及び
工具軌跡情報のうちNC装置の制御に不要な部分は欠落
している。
[0005] The NC data created in this way includes information necessary for controlling a target NC device. However, the NC data such as APTIV and EXAPT, etc.
Parts unnecessary for control of the NC device in the graphic definition information and the tool trajectory information described in the programming language are missing.

【0006】よって、ある特定のNC装置用に作成され
たNCデータを他のNC装置用に変換(コンバージョ
ン)して再利用するためには、自動プログラミングシス
テムの出力を人手で修正・編集しなければならなかっ
た。
Therefore, in order to convert (convert) NC data created for a specific NC device to another NC device for reuse, the output of the automatic programming system must be manually corrected and edited. I had to.

【0007】また、NCデータ言語の中には、NCデー
タ中に「(」と「)」とで挟まれたコメントの挿入を許
すものがある。このNCデータ言語系によれば、NCデ
ータ中にコメントが記述されると、NC装置はコメント
を無視するが、プログラマやオペレータに対しては、そ
の行の処理内容を把握するための有益な情報となること
がある。
[0007] Some NC data languages allow the insertion of a comment sandwiched between "(" and ")" in the NC data. According to the NC data language system, when a comment is described in NC data, the NC device ignores the comment, but informs the programmer or operator of useful information for grasping the processing content of the line. It may be.

【0008】さらに、このようなコメントを形式化し
て、自動プログラミング装置が認識可能なNCデータの
各行間の加工順序固定情報として利用したものに、特開
平7−56616号公報記載の技術がある。
Further, a technique described in Japanese Patent Application Laid-Open No. Hei 7-56616 is one in which such a comment is formalized and used as fixed processing order information between lines of NC data which can be recognized by an automatic programming device.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、NCデ
ータを再利用するために自動プログラミングシステムに
よりNCデータを再作成する際に、加工情報、即ちグル
ープ間で加工順が順序づけられた加工順グループ情報、
加工ヘッドの軌跡の種別を示す経路種別情報等が欠落し
ているために、NCデータの各行による加工状況が漠然
とし、例えば、外形閉経路の切断なのか、穴の加工なの
か判らないという問題点があった。
However, when the NC data is recreated by the automatic programming system in order to reuse the NC data, processing information, that is, processing order group information in which the processing order is ordered among the groups,
Since the path type information indicating the type of the path of the processing head is missing, the processing status of each line of the NC data is vague, and for example, it is difficult to determine whether the processing is a cutting of an external closed path or a processing of a hole. There was a point.

【0010】また、自動プログラミングの結果を人手で
修正・変換するには、長年の経験と深い専門性を必要と
し、熟練作業者でなければ修正・変換作業を行えないと
言う問題点があった。
In addition, manual correction and conversion of the result of automatic programming requires many years of experience and deep expertise, and there is a problem that only a skilled worker can perform correction and conversion work. .

【0011】また、熟練作業者でもNCデータを再利用
するための修正・変換作業に長時間を要するという問題
点があった。
Further, there is a problem that even a skilled worker requires a long time for correction and conversion work for reusing NC data.

【0012】さらに、変換されたNCデータの正当性の
チェックには、ドラフタやCRT画面に工具軌跡を描画
させたり、NC装置によるドライラン、発泡スチロール
加工等によるチェックを行わねばならず、チェックに時
間がかかるという問題点があった。
Further, in order to check the validity of the converted NC data, it is necessary to draw a tool locus on a drafter or a CRT screen, or to perform a check such as a dry run or a styrofoam processing by an NC device. There was such a problem.

【0013】以上の問題点に鑑み、本発明の目的は、N
Cデータを見ただけで、誰でも容易に加工状況を認識す
ることができる自動プログラミングシステムにおけるN
Cデータ作成方法を提供することである。
In view of the above problems, an object of the present invention is to
N in an automatic programming system that allows anyone to easily recognize the processing status just by looking at the C data
An object of the present invention is to provide a C data creation method.

【0014】また本発明の目的は、NCデータの再利用
のために、熟練作業者の作業を要することなく、誰でも
短時間にNCデータの修正・変換作業を行うことのでき
る自動プログラミングシステムにおけるNCデータ作成
方法を提供することである。
Another object of the present invention is to provide an automatic programming system in which anyone can modify and convert NC data in a short time without the need for a skilled worker to reuse the NC data. An object of the present invention is to provide a method for creating NC data.

【0015】また本発明の目的は、NCデータを再利用
して容易に他機種に移植することができる自動プログラ
ミングシステムにおけるNCデータ作成方法を提供する
ことである。
It is another object of the present invention to provide a method for creating NC data in an automatic programming system in which NC data can be reused and easily ported to other models.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するため
請求項1記載の発明は、NC装置により各行毎に逐次実
行されるNCデータを作成する自動プログラミングシス
テムにおけるNCデータ作成方法において、所定の形式
で符号化された加工情報をNC装置が無視するコメント
として前記NCデータの各行毎に選択的に付加すること
を要旨とする。
According to a first aspect of the present invention, there is provided an NC data creating method in an automatic programming system for creating NC data sequentially executed for each line by an NC unit. The gist is that the processing information encoded in the format is selectively added to each line of the NC data as a comment to be ignored by the NC device.

【0017】上記目的を達成するため請求項2記載の発
明は、請求項1記載のNCデータ作成方法において、前
記所定の形式で符号化された加工情報は、グループ間で
加工順が順序づけられた加工順グループ情報、NCデー
タの各行毎に加工順が固定された加工順固定情報、加工
ヘッドの軌跡の種別を示す経路種別情報、パンチピアス
と該パンチピアスを使用するレーザ経路とのリンク情報
であるパンチピアス情報、PX系のジョイントパンチを
示すジョイント情報のいずれか一つ又はこれらの任意の
組合せを含むことを要旨とする。
According to a second aspect of the present invention, there is provided the NC data creating method according to the first aspect, wherein the processing information encoded in the predetermined format is arranged in a processing order between groups. Processing order group information, processing order fixed information in which the processing order is fixed for each row of NC data, path type information indicating the type of the trajectory of the processing head, and link information between the punch pierce and the laser path using the punch pierce The gist of the present invention is to include any one of punch piercing information, joint information indicating a PX joint punch, or an arbitrary combination thereof.

【0018】上記目的を達成するため請求項3記載の発
明は、請求項1または請求項2記載のNCデータ作成方
法において、前記所定の形式は、符号化加工情報の開始
を示す特殊記号1文字と、加工情報の種別毎に異なるア
ルファベット1文字と加工情報の種別毎に意味づけられ
る数字との組を1組以上と、符号化加工情報の終了を示
す特殊記号1文字と、からなることを要旨とする。
According to a third aspect of the present invention, there is provided an NC data generating method according to the first or second aspect, wherein the predetermined format is a one-character special symbol indicating the start of the encoded information. And one or more sets of one alphabet that differs for each type of processing information and a number that is meaningful for each type of processing information, and one special symbol that indicates the end of the coded processing information. Make a summary.

【0019】上記目的を達成するため請求項4記載の発
明は、NC装置により各行毎に逐次実行されるNCデー
タを作成する自動プログラミングシステムにおけるNC
データ作成プログラムを記憶したコンピュータ読み取り
可能記憶媒体において、所定の形式で符号化された加工
情報をNC装置が無視するコメントとして前記NCデー
タの各行毎に選択的に付加するNCデータ作成プログラ
ムを記憶したことを要旨とする。
According to a fourth aspect of the present invention, there is provided an automatic programming system for creating NC data which is sequentially executed for each line by an NC unit.
In a computer-readable storage medium storing a data creation program, an NC data creation program for selectively adding processing information encoded in a predetermined format as a comment to be ignored by an NC device for each line of the NC data is stored. That is the gist.

【0020】[0020]

【発明の実施の形態】次に、図面を参照して本発明の実
施の形態を詳細に説明する。図2は、本発明によるNC
データ作成方法の実施に使用される自動プログラミング
システムの構成例を示す。
Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 2 shows an NC according to the invention.
1 shows a configuration example of an automatic programming system used for implementing a data creation method.

【0021】図2において、自動プログラミングシステ
ム1は、演算制御装置であるCPU1と、CPU1自身
が実行するNCデータ作成プログラムや処理対象のNC
データなどを格納する主メモリ2と、FDD3と、バス
調停回路4と、バス5と、表示装置としてのCRTディ
スプレイ6と、ハードディスクなどの補助記憶装置7
と、入力装置としてのキーボード8及びマウス9と、L
AN11に接続するための通信制御装置10とを備えて
いる。自動プログラミングシステム1は、従来の汎用ワ
ークステーションやパーソナルコンピュータを用いても
よい。
In FIG. 2, an automatic programming system 1 includes a CPU 1 as an arithmetic and control unit, an NC data creation program executed by the CPU 1 itself, and an NC to be processed.
A main memory 2 for storing data and the like, an FDD 3, a bus arbitration circuit 4, a bus 5, a CRT display 6 as a display device, and an auxiliary storage device 7 such as a hard disk
A keyboard 8 and a mouse 9 as input devices;
A communication control device 10 for connecting to the AN 11 is provided. The automatic programming system 1 may use a conventional general-purpose workstation or personal computer.

【0022】本実施形態において、NCデータに付加さ
れる加工情報は、例えば、(+○○○+)フォーマット
を採用する。NCデータ中の括弧「(」「)」で挟まれ
た英数字列は、NC装置ではコメントとして無視するこ
とを利用している。「+」は、本発明による加工情報で
あることを識別するための符号である。○○○が付加さ
れた加工情報であり英数字で表現されている。
In the present embodiment, the processing information added to the NC data adopts, for example, the (+ ○○ +) format. The NC unit uses an alphanumeric string that is sandwiched between parentheses "(" and ")" as a comment in the NC device. “+” Is a code for identifying processing information according to the present invention. ○○○ is the processing information added and is expressed by alphanumeric characters.

【0023】本実施の形態において説明する加工情報に
は、加工順グループ情報、加工順固定情報、経路種別情
報、パンチピアス情報、ジョイント情報がある。
Processing information described in the present embodiment includes processing order group information, processing order fixed information, path type information, punch piercing information, and joint information.

【0024】(1)加工順グループ情報 加工順グループ情報は、複数の加工からなる加工グルー
プ毎にグループ番号を付与し、グループ番号の小さい加
工は、グループ番号の大きい加工より先に加工されるこ
とを示すものである。加工順グループ情報は、(+Ki
+)として符号化されNCデータに付加される。i(i
=1,2,3,…,9)は、加工順グループの区別を示
すものである。
(1) Processing Order Group Information The processing order group information assigns a group number to each processing group including a plurality of processing, and processing with a small group number is processed before processing with a large group number. It shows. The processing order group information is (+ Ki
+) And added to the NC data. i (i
= 1, 2, 3,..., 9) indicate the distinction between the processing order groups.

【0025】(2)加工順固定情報 加工順固定情報は、加工順番を崩さないで加工したいと
きに付加される情報で、加工順固定なしのとき、(+H
1+)が付加される。加工順固定が前後指定のとき、
(+Gj+)が付加される。ここで、j(j=1,2,
3,…,99)は加工順を示す。加工順固定が連続指定
のとき、(+Wj+)が付加される。ここで、j(j=
1,2,3,…,99)は加工順を示す。
(2) Processing Order Fixed Information Processing order fixed information is information added when processing is desired to be performed without changing the processing order. When processing order is not fixed, (+ H
1+) is added. When the processing order fixation is specified before and after,
(+ Gj +) is added. Here, j (j = 1, 2, 2)
3,..., 99) indicate the processing order. When the processing order fixation is continuous designation, (+ Wj +) is added. Here, j (j =
, 99) indicate the processing order.

【0026】(3)経路種別情報 経路種別情報は、加工にて形成される経路の種別を示す
もので、(+Ai+)の形式で符号化されてNCデータ
に付加される。ここでi=1は外形閉経路、i=2は異
形穴閉経路、i=3は定形穴、i=4は切り起こし、i
=5はマーキングである。
(3) Route Type Information The route type information indicates the type of route formed by processing, and is encoded in the form of (+ Ai +) and added to the NC data. Here, i = 1 is an external closed path, i = 2 is a modified hole closed path, i = 3 is a fixed hole, i = 4 is cut and raised, i
= 5 is a marking.

【0027】(4)パンチピアス情報 パンチピアス情報は、パンチピアスとレーザー経路との
リンクを示す情報であり、(+Pj+)の形式で符号化
されてNCデータに付加される。ここでj(j=1,
2,3,…,99)は、jが等しいパンチピアスとレー
ザー経路とが対応することを示すものである。
(4) Punch piercing information Punch piercing information is information indicating a link between the punch piercing and the laser path, and is encoded in the form of (+ Pj +) and added to the NC data. Where j (j = 1,
2, 3,..., 99) indicate that the punch piercing with the same j and the laser path correspond.

【0028】(5)ジョイント情報 ジョイント情報は、PX系のジョイントパンチ(サブパ
ンチ)情報を付加するもので、(+J+)の形式で符号
化されてNCデータに付加される。
(5) Joint information The joint information adds PX type joint punch (sub-punch) information, is encoded in the form of (+ J +), and is added to the NC data.

【0029】以上の加工情報をNCデータにコメント形
式で付加することにより、これまで穴の加工なのか、外
形閉経路切断の加工なのか漠然としていたNCデータで
なく、加工状況が容易に把握できるNCデータとなる。
By adding the above processing information to the NC data in the form of a comment, it is possible to easily grasp the processing status, rather than the vague NC data which has been used for hole processing or external closed path cutting processing. It becomes NC data.

【0030】図1は、本発明に係るNCデータ作成プロ
グラムの概略フローチャートである。まず、NC工作機
械で製造する部品をAPT、EXAPTなどの自動プロ
グラミング言語で記述したパートプログラムが入力され
る(ステップ10、以下ステップをSと略す)。次いで
入力されたパートプログラムは解析される(S12)。
FIG. 1 is a schematic flowchart of the NC data creation program according to the present invention. First, a part program in which parts manufactured by an NC machine tool are described in an automatic programming language such as APT or EXAPT is input (Step 10, hereinafter, step is abbreviated as S). Next, the input part program is analyzed (S12).

【0031】S10のパートプログラムの入力に代え
て、3面図データ等を入力することもできる。この場合
S12では、入力した3面図データ等に基づいて解析を
行う。次いで、図形の定義や工具の運動に基づいて工具
経路が算出され(S14)、CLデータ(cutter locat
ion data)が得られる。
Instead of inputting the part program in S10, it is also possible to input three-view drawing data and the like. In this case, in S12, analysis is performed based on the input three-view drawing data and the like. Next, a tool path is calculated based on the definition of the figure and the motion of the tool (S14), and the CL data (cutter locat) is calculated.
ion data) is obtained.

【0032】次いで、NCデータ作成対象のNC工作機
械の機種に対応した特性や工具の情報を参照してCLデ
ータをNCデータに変換する(S16)。次いで、CL
データとNCデータとを参照してNCデータにコメント
形式で付加する加工情報を決定する(S18)。
Next, CL data is converted into NC data by referring to information on characteristics and tools corresponding to the type of NC machine tool for which NC data is to be created (S16). Next, CL
With reference to the data and the NC data, processing information to be added to the NC data in a comment format is determined (S18).

【0033】この加工情報の決定には、たとえばNCデ
ータ作成プログラムが自動的に加工情報の候補を抽出
し、オペレータが加工情報の候補を確認して、問題なけ
ればそのまま加工情報を確定し、修正の必要があれば、
修正入力を行うとしてもよい。またすべての加工情報を
人手で入力してもよい。
For the determination of the processing information, for example, an NC data creation program automatically extracts processing information candidates, an operator checks the processing information candidates, and if there is no problem, determines the processing information as it is and corrects it. If you need
Correction input may be performed. All the processing information may be manually input.

【0034】S18で決定される加工情報の種類には、
グループ間で加工順が順序づけられた加工順グループ情
報、NCデータの各行毎に加工順が固定された加工順固
定情報、加工ヘッドの軌跡の種別を示す経路種別情報、
パンチピアスと該パンチピアスを使用するレーザ経路と
のリンク情報であるパンチピアス情報、PX系のジョイ
ントパンチを示すジョイント情報、等があり、これらの
情報のいずれか一つ又はこれらの任意の組合せを決定す
ることができるようになっている。
The types of processing information determined in S18 include:
Processing order group information in which the processing order is ordered among groups, processing order fixed information in which the processing order is fixed for each row of NC data, path type information indicating the type of the path of the processing head,
There are punch piercing information which is link information between a punch pierce and a laser path using the punch piercing, joint information indicating a PX joint punch, and the like. Any one of these pieces of information or an arbitrary combination thereof is used. You can decide.

【0035】そして、S18で決定された加工情報は、
加工情報の符号化が行われ、符号化加工情報が得られる
(S20)。次いで、NCデータに符号化加工情報が付
加され、加工情報付きNCデータが得られ、処理を終了
する。
The processing information determined in S18 is
Encoding of the processing information is performed, and encoded processing information is obtained (S20). Next, the encoding processing information is added to the NC data to obtain the NC data with the processing information, and the process ends.

【0036】図3ないし図5は、S18の加工情報の決
定ルーチンを詳細に説明する詳細フローチャートであ
る。
FIGS. 3 to 5 are detailed flowcharts for explaining the processing information determination routine in S18 in detail.

【0037】まず、CLデータ、NCデータを入力し
(S110)、CLデータ、NCデータを展開する(S
112)。次いでCLデータを参照しながらNCデータ
の各行毎の加工順固定候補を抽出し、NCデータの加工
順固定候補の行を例えば表示色を変えてCRTなどの表
示装置に表示する(S114)。
First, CL data and NC data are input (S110), and CL data and NC data are developed (S110).
112). Next, with reference to the CL data, the processing order fixed candidate for each line of the NC data is extracted, and the line of the processing order fixed candidate of the NC data is displayed on a display device such as a CRT by changing the display color (S114).

【0038】オペレータは、抽出し表示された加工順候
補が適切かどうかの判断結果を入力する(S116)。
OKであれば加工順候補承認の入力を行い、NGであれ
ば、加工順候補の修正入力を行い(S118)、加工順
固定を確定する(S120)。次いで、他の加工順固定
候補が有るか否かを調べ(S122)、有ればS114
へ戻る。
The operator inputs a determination result as to whether or not the extracted and displayed machining order candidates are appropriate (S116).
If it is OK, the input of the processing order candidate is input, and if it is NG, the correction input of the processing order candidate is performed (S118), and the fixing of the processing order is determined (S120). Next, it is checked whether or not there is another processing order fixed candidate (S122).
Return to

【0039】他の加工順固定候補がなければ、次いでC
Lデータを参照しながらNCデータの加工順グループ候
補を抽出し、NCデータの加工順グループ候補の行を例
えば表示色を変えて表示装置に表示する(S124)。
If there is no other processing order fixed candidate, then C
The processing order group candidates of the NC data are extracted with reference to the L data, and the lines of the processing order group candidates of the NC data are displayed on the display device, for example, by changing the display color (S124).

【0040】オペレータは、抽出し表示された加工順グ
ループ候補が適切かどうかの判断結果を入力する(S1
26)。OKであれば加工順グループ候補承認の入力を
行い、NGであれば、加工順グループ候補の修正入力を
行い(S128)、加工順グループを確定する(S13
0)。次いで、他の加工順グループ候補が有るか否かを
調べ(S132)、有ればS124へ戻る。
The operator inputs a determination result as to whether or not the extracted and displayed machining order group candidates are appropriate (S1).
26). If it is OK, the input of the processing order group candidate is input, and if it is NG, the correction input of the processing order group candidate is performed (S128), and the processing order group is determined (S13).
0). Next, it is checked whether or not there is another processing order group candidate (S132), and if there is, the process returns to S124.

【0041】他の加工順グループ候補がなければ、次い
でCLデータを参照しながらNCデータの外形閉経路候
補を抽出し、NCデータの外形閉経路候補の行を例えば
表示色を変えて表示装置に表示する(S134)。
If there is no other processing order group candidate, then a contour closed path candidate of the NC data is extracted with reference to the CL data, and a row of the contour closed path candidate of the NC data is displayed on the display device by changing the display color, for example. It is displayed (S134).

【0042】オペレータは、抽出し表示された外形閉経
路候補が適切かどうかの判断結果を入力する(S13
6)。OKであれば外形閉経路候補承認の入力を行い、
NGであれば、外形閉経路候補の修正入力を行い(S1
38)、外形閉経路を確定する(S140)。
The operator inputs a determination result as to whether or not the extracted and displayed outline closed path candidate is appropriate (S13).
6). If OK, input the outline closed route candidate approval,
If it is NG, the correction input of the contour closed path candidate is performed (S1).
38), an external closed path is determined (S140).

【0043】次いで、CLデータを参照しながらNCデ
ータの異形穴閉経路候補を抽出し、NCデータの異形穴
閉経路候補の行を例えば表示色を変えて表示装置に表示
する(S142)。
Next, the deformed hole closed path candidate of the NC data is extracted with reference to the CL data, and the line of the deformed hole closed path candidate of the NC data is displayed on the display device by changing the display color, for example (S142).

【0044】オペレータは、抽出し表示された異形穴閉
経路候補が適切かどうかの判断結果を入力する(S14
4)。OKであれば異形穴閉経路候補承認の入力を行
い、NGであれば、異形穴閉経路候補の修正入力を行い
(S146)、異形穴閉経路を確定する(S148)。
The operator inputs a determination result as to whether the extracted and displayed deformed hole closed path candidate is appropriate (S14).
4). If OK, the modified hole closed route candidate is input, and if NG, the modified hole closed route candidate is corrected (S146), and the deformed hole closed route is determined (S148).

【0045】次いで、CLデータを参照しながらNCデ
ータの定形穴閉経路候補を抽出し、NCデータの定形穴
経路候補の行を例えば表示色を変えて表示装置に表示す
る(S150)。
Next, a fixed hole candidate path candidate of the NC data is extracted with reference to the CL data, and the line of the fixed hole path candidate of the NC data is displayed on a display device, for example, by changing a display color (S150).

【0046】オペレータは、抽出し表示された定形穴閉
経路候補が適切かどうかの判断結果を入力する(S15
2)。OKであれば定形穴閉経路候補承認の入力を行
い、NGであれば、定形穴閉経路候補の修正入力を行い
(S154)、定形穴閉経路を確定する(S156)。
The operator inputs a determination result as to whether or not the extracted and displayed fixed hole candidate path candidate is appropriate (S15).
2). If it is OK, input of approval of the fixed hole closed path candidate is performed. If it is NG, correction input of the fixed hole closed path candidate is performed (S154), and the fixed hole closed path is determined (S156).

【0047】次いで、CLデータを参照しながらNCデ
ータの切り起こし候補を抽出し、NCデータの切り起こ
し候補の行を例えば表示色を変えて表示装置に表示する
(S158)。
Next, NC data cutout candidates are extracted with reference to the CL data, and the NC data cutout candidate lines are displayed on the display device, for example, by changing the display color (S158).

【0048】オペレータは、抽出し表示された切り起こ
し候補が適切かどうかの判断結果を入力する(S16
0)。OKであれば切り起こし候補承認の入力を行い、
NGであれば、切り起こし候補の修正入力を行い(S1
62)、切り起こしを確定する(S164)。
The operator inputs a determination result as to whether the extracted and displayed cut-and-raised candidate is appropriate (S16).
0). If it is OK, enter the cut-up candidate approval,
If it is NG, the cut-and-raised candidate is corrected and input (S1
62), cut-and-raise is determined (S164).

【0049】次いで、CLデータを参照しながらNCデ
ータのマーキング候補を抽出し、NCデータのマーキン
グ候補の行を例えば表示色を変えて表示装置に表示する
(S166)。
Next, the NC data marking candidates are extracted with reference to the CL data, and the lines of the NC data marking candidates are displayed on the display device, for example, by changing the display color (S166).

【0050】オペレータは、抽出し表示されたマーキン
グ候補が適切かどうかの判断結果を入力する(S16
8)。OKであればマーキング候補承認の入力を行い、
NGであれば、マーキング候補の修正入力を行い(S1
70)、マーキングを確定する(S172)。
The operator inputs a result of determination as to whether the extracted and displayed marking candidate is appropriate (S16).
8). If OK, enter the marking candidate approval,
If it is NG, the marking candidate is corrected and input (S1).
70), the marking is determined (S172).

【0051】次いで、CLデータを参照しながらNCデ
ータのパンチピアスとレーザ経路とのリンク候補を抽出
し、NCデータのパンチピアスとレーザ経路とのリンク
候補の行を例えば表示色を変えて表示装置に表示する
(S174)。
Next, by referring to the CL data, a link candidate between the punch pierce of the NC data and the laser path is extracted, and a line of the link candidate between the punch pierce of the NC data and the laser path is displayed by changing the display color, for example. Is displayed (S174).

【0052】オペレータは、抽出し表示されたパンチピ
アスとレーザ経路とのリンク候補が適切かどうかの判断
結果を入力する(S176)。OKであればパンチピア
スとレーザ経路とのリンク候補承認の入力を行い、NG
であれば、パンチピアスとレーザ経路とのリンク候補の
修正入力を行い(S178)、パンチピアスとレーザ経
路とのリンクを確定する(S180)。
The operator inputs a result of determination as to whether or not a link candidate between the extracted and displayed punch pierce and the laser path is appropriate (S176). If OK, enter the link candidate approval between the punch piercing and the laser path, and then enter NG.
If so, the link input between the punch pierce and the laser path is corrected (S178), and the link between the punch pierce and the laser path is determined (S180).

【0053】次いで、CLデータを参照しながらNCデ
ータのPX系のジョイントパンチ情報候補を抽出し、P
X系のジョイントパンチ情報候補の行を例えば表示色を
変えて表示装置に表示する(S182)。
Next, PX-type joint punch information candidates of the NC data are extracted with reference to the CL data.
The line of the X-type joint punch information candidate is displayed on the display device by changing the display color, for example (S182).

【0054】オペレータは、抽出し表示されたPX系の
ジョイントパンチ情報候補が適切かどうかの判断結果を
入力する(S184)。OKであればPX系のジョイン
トパンチ情報候補承認の入力を行い、NGであれば、P
X系のジョイントパンチ情報候補の修正入力を行い(S
186)、PX系のジョイントパンチ情報を確定して
(S188)リターンする。
The operator inputs a determination result as to whether or not the extracted and displayed PX joint punch information candidate is appropriate (S184). If OK, input PX joint punch information candidate approval. If NG, enter P.
Correction input of X-type joint punch information candidates is performed (S
186), the PX joint punch information is determined (S188), and the process returns.

【0055】次に、NCT(NC制御タレットパンチプ
レス)装置のNCデータに本発明を適用した例を説明す
る。図6は、NCT装置に適用した例を示す部品加工説
明図であり、図7はNCT装置に適用した例を示すNC
データである。
Next, an example in which the present invention is applied to NC data of an NCT (NC control turret punch press) device will be described. FIG. 6 is an explanatory view of component processing showing an example applied to an NCT apparatus, and FIG. 7 is an NC showing an example applied to an NCT apparatus.
Data.

【0056】例えば、図6に示すように、長方形の板の
中央に丸穴を設けた部品をNCT装置で加工するものと
する。加工順は、先に中央の丸穴加工21が行われ、そ
の後外形切断の追い抜き加工22が行われる。
For example, as shown in FIG. 6, it is assumed that a component provided with a round hole at the center of a rectangular plate is processed by an NCT apparatus. In the processing order, the center round hole processing 21 is performed first, and then the overtaking processing 22 of the outer shape cutting is performed.

【0057】そして、中央の丸穴加工21は、ニブリン
グ加工で大きい丸穴を形成するので、残りかすを発生さ
せないことや工具移動経路(NCTの場合、実際に移動
するのはワーク)の短縮等の目的で加工順が固定されて
いる。
In the center round hole machining 21, a large round hole is formed by nibbling, so that no residual residue is generated and the tool moving path (in the case of NCT, the work that is actually moved is a work) is shortened. The processing order is fixed for the purpose of.

【0058】この加工順固定は、図7のNCデータで
は、4,5,7,8,10行の(+K2H1+)として
符号化されてNCデータに追加されている。ここで、
「(」と「)」は、NCデータ中のコメントの開始と終
了とをそれぞれ示すのもであり、「+」は、本発明にお
ける符号化加工情報の開始または終了を示す符号であ
る。そして、K2H1は、加工順グループ2で加工順固
定されたものを示している。
In the NC data shown in FIG. 7, the processing order is fixed as (+ K2H1 +) in rows 4, 5, 7, 8, and 10 and added to the NC data. here,
"(" And ")" indicate the start and end of the comment in the NC data, respectively, and "+" is a sign indicating the start or end of the encoded information in the present invention. K2H1 indicates that the processing order is fixed in the processing order group 2.

【0059】また、外形切断の追い抜き加工22は、図
7の12,14,18,20の各行には、(+K2H1
+)として、同一の長方形の4辺が加工順が固定されな
い同一の加工順グループとして指定されている。
Further, the overtaking process 22 of the outer shape cutting is performed by adding (+ K2H1) to each of the rows 12, 14, 18, and 20 in FIG.
As +, the four sides of the same rectangle are designated as the same processing order group in which the processing order is not fixed.

【0060】次に、レーザ加工装置に本発明を適用した
例を説明する。図8は、レーザ加工装置に適用した例を
示す加工説明図であり、図9は、レーザ加工装置に適用
した例を示すNCデータである。
Next, an example in which the present invention is applied to a laser processing apparatus will be described. FIG. 8 is a processing explanatory diagram showing an example applied to a laser processing apparatus, and FIG. 9 is NC data showing an example applied to a laser processing apparatus.

【0061】例えば、図8に示すように、長方形の板の
中央に方形の異形穴、さらに4つの丸穴を設けた部品を
レーザ加工装置で加工するものとする。加工順は、丸穴
の定形穴32、方形の異形穴33の加工が行われ、その
後外形閉経路34の加工が行われる。
For example, as shown in FIG. 8, it is assumed that a component having a rectangular irregular hole and four round holes in the center of a rectangular plate is processed by a laser processing apparatus. In the processing order, the processing of the round shaped hole 32 and the rectangular irregular hole 33 is performed, and then the processing of the outer closed path 34 is performed.

【0062】この加工情報は、図9の6〜9行に示すよ
うに、4つの定形穴32が加工順グループ2の定形穴と
して(+K2A3+)が付加されている。また、図9の
12行に示すように、異形穴33のNCデータに加工順
グループ2の異形穴として(+K2A2+)が付加され
ている。さらに、図9の22行に示すように、外形閉経
路34のNCデータに加工順グループ2の外形閉経路と
して(+K2A1+)が付加されている。
In this processing information, (+ K2A3 +) is added to the four standard holes 32 as the standard holes of the processing order group 2 as shown in lines 6 to 9 in FIG. 9, (+ K2A2 +) is added to the NC data of the deformed hole 33 as the deformed hole of the processing order group 2. Further, as shown in line 22 of FIG. 9, (+ K2A1 +) is added to the NC data of the contour closed path 34 as the contour closed path of the machining order group 2.

【0063】以上好ましい実施の形態について説明した
が、これは本発明を限定するものではない。例えば、符
号化された加工情報の開始及び終了を示す特殊記号とし
て実施形態では「+」を用いたが、「*」等の他の記号
でもよい。また加工情報の符号化は種々の変形が可能で
ある。
Although the preferred embodiment has been described above, this does not limit the present invention. For example, in the embodiment, “+” is used as a special symbol indicating the start and end of the encoded processing information, but another symbol such as “*” may be used. Further, the encoding of the processing information can be variously modified.

【0064】[0064]

【発明の効果】以上説明したように本発明によれば、N
Cデータを見ただけで、誰でも容易に加工状況を認識す
ることができる自動プログラミングシステムにおけるN
Cデータ作成方法を提供することができる。
As described above, according to the present invention, N
N in an automatic programming system that allows anyone to easily recognize the processing status just by looking at the C data
A method for creating C data can be provided.

【0065】また本発明によれば、NCデータの再利用
のために、熟練作業者の作業を要することなく、誰でも
短時間にNCデータ修正・変換作業を行うことのできる
自動プログラミングシステムにおけるNCデータ作成方
法を提供することができる。
According to the present invention, the NC data can be reused without the need of a skilled worker, and the NC data can be modified and converted in a short time by an automatic programming system. A data creation method can be provided.

【0066】また本発明によれば、NCデータを再利用
して容易に他機種に移植することができる自動プログラ
ミングシステムにおけるNCデータ作成方法を提供する
ことができる。
Further, according to the present invention, it is possible to provide a method of creating NC data in an automatic programming system in which NC data can be reused and easily ported to other models.

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

【図1】本発明に係るNCデータ作成プログラムの実施
形態を説明する概略フローチャートである。
FIG. 1 is a schematic flowchart illustrating an embodiment of an NC data creation program according to the present invention.

【図2】本発明によるNCデータ作成方法の実施に使用
される自動プログラミングシステムの構成図である。
FIG. 2 is a configuration diagram of an automatic programming system used for performing an NC data creation method according to the present invention.

【図3】本発明に係るNCデータ作成プログラムの実施
形態の詳細フローチャートである。
FIG. 3 is a detailed flowchart of an embodiment of an NC data creation program according to the present invention.

【図4】本発明に係るNCデータ作成プログラムの実施
形態の詳細フローチャートである。
FIG. 4 is a detailed flowchart of an embodiment of an NC data creation program according to the present invention.

【図5】本発明に係るNCデータ作成プログラムの実施
形態の詳細フローチャートである。
FIG. 5 is a detailed flowchart of an embodiment of an NC data creation program according to the present invention.

【図6】NCT装置に適用した例を示す加工説明図であ
る。
FIG. 6 is a processing explanatory view showing an example applied to an NCT apparatus.

【図7】NCT装置に適用した例を示すNCデータであ
る。
FIG. 7 is NC data showing an example applied to an NCT apparatus.

【図8】レーザ加工装置に適用した例を示す加工説明図
である。
FIG. 8 is a processing explanatory view showing an example applied to a laser processing apparatus.

【図9】レーザ加工装置に適用した例を示すNCデータ
である。
FIG. 9 is NC data showing an example applied to a laser processing apparatus.

【符号の説明】[Explanation of symbols]

1 CPU 2 主メモリ 3 FDD 4 バス調停回路 5 バス 6 CRTディスプレイ 7 補助記憶装置 8 キーボード 9 マウス 10 通信制御装置 11 LAN DESCRIPTION OF SYMBOLS 1 CPU 2 Main memory 3 FDD 4 Bus arbitration circuit 5 Bus 6 CRT display 7 Auxiliary storage device 8 Keyboard 9 Mouse 10 Communication control device 11 LAN

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 NC装置により各行毎に逐次実行される
NCデータを作成する自動プログラミングシステムにお
けるNCデータ作成方法において、 所定の形式で符号化された加工情報をNC装置が無視す
るコメントとして前記NCデータの各行毎に選択的に付
加することを特徴とするNCデータ作成方法。
1. An NC data creating method in an automatic programming system for creating NC data which is sequentially executed for each line by an NC unit, wherein the NC unit ignores processing information encoded in a predetermined format as a comment which is ignored by the NC unit. An NC data creation method characterized by selectively adding data to each line of data.
【請求項2】 前記所定の形式で符号化された加工情報
は、グループ間で加工順が順序づけられた加工順グルー
プ情報、NCデータの各行毎に加工順が固定された加工
順固定情報、加工ヘッドの軌跡の種別を示す経路種別情
報、パンチピアスと該パンチピアスを使用するレーザ経
路とのリンク情報であるパンチピアス情報、PX系のジ
ョイントパンチを示すジョイント情報のいずれか一つ又
はこれらの任意の組合せを含むことを特徴とする請求項
1記載のNCデータ作成方法。
2. The processing information encoded in the predetermined format includes processing order group information in which the processing order is ordered between groups, processing order fixed information in which the processing order is fixed for each row of NC data, and processing information. Path type information indicating the type of the trajectory of the head, punch piercing information as link information between a punch pierce and a laser path using the punch piercing, joint information indicating a PX joint punch, or any one of these. 2. The NC data creating method according to claim 1, wherein a combination of the following is included.
【請求項3】 前記所定の形式は、 符号化加工情報の開始を示す特殊記号1文字と、 加工情報の種別毎に異なるアルファベット1文字と加工
情報の種別毎に意味づけられる数字との組を1組以上
と、 符号化加工情報の終了を示す特殊記号1文字と、 からなることを特徴とする請求項1または請求項2記載
のNCデータ作成方法。
3. The predetermined format includes a set of one special symbol indicating the start of encoded processing information, one alphabet that differs for each type of processing information, and a number meaningful for each type of processing information. 3. The NC data generating method according to claim 1, comprising: at least one set; and one special character indicating the end of the encoded information.
【請求項4】 NC装置により各行毎に逐次実行される
NCデータを作成する自動プログラミングシステムにお
けるNCデータ作成プログラムを記憶したコンピュータ
読み取り可能記憶媒体において、 所定の形式で符号化された加工情報をNC装置が無視す
るコメントとして前記NCデータの各行毎に選択的に付
加することを特徴とするNCデータ作成プログラムを記
憶したコンピュータ読み取り可能記憶媒体。
4. A computer-readable storage medium storing an NC data creation program in an automatic programming system for creating NC data which is sequentially executed for each line by an NC device, wherein processing information encoded in a predetermined format is processed by an NC. A computer-readable storage medium storing an NC data creation program, which is selectively added to each line of the NC data as a comment to be ignored by the device.
JP26452799A 1999-09-17 1999-09-17 Nc data preparation method and computer-readable storage medium storing nc data preparation program Pending JP2001092512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26452799A JP2001092512A (en) 1999-09-17 1999-09-17 Nc data preparation method and computer-readable storage medium storing nc data preparation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26452799A JP2001092512A (en) 1999-09-17 1999-09-17 Nc data preparation method and computer-readable storage medium storing nc data preparation program

Publications (1)

Publication Number Publication Date
JP2001092512A true JP2001092512A (en) 2001-04-06

Family

ID=17404507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26452799A Pending JP2001092512A (en) 1999-09-17 1999-09-17 Nc data preparation method and computer-readable storage medium storing nc data preparation program

Country Status (1)

Country Link
JP (1) JP2001092512A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241399A (en) * 2006-03-06 2007-09-20 Fanuc Ltd Method for obtaining nc program in g code format and execution method for program therefor
CN107544428A (en) * 2017-08-29 2018-01-05 芜湖市风蝉电竞文化传媒有限公司 A kind of closed-loop Digit Control Machine Tool processing method of view-based access control model
CN107577207A (en) * 2017-08-29 2018-01-12 芜湖市风蝉电竞文化传媒有限公司 A kind of processing method of the closed-loop Digit Control Machine Tool of view-based access control model
JP2020135493A (en) * 2019-02-20 2020-08-31 Dgshape株式会社 Processing program creation method for dental processing machine, processing program creation device, operation device for dental processing machine, and operation system for dental processing machine

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241399A (en) * 2006-03-06 2007-09-20 Fanuc Ltd Method for obtaining nc program in g code format and execution method for program therefor
CN107544428A (en) * 2017-08-29 2018-01-05 芜湖市风蝉电竞文化传媒有限公司 A kind of closed-loop Digit Control Machine Tool processing method of view-based access control model
CN107577207A (en) * 2017-08-29 2018-01-12 芜湖市风蝉电竞文化传媒有限公司 A kind of processing method of the closed-loop Digit Control Machine Tool of view-based access control model
JP2020135493A (en) * 2019-02-20 2020-08-31 Dgshape株式会社 Processing program creation method for dental processing machine, processing program creation device, operation device for dental processing machine, and operation system for dental processing machine
JP7301550B2 (en) 2019-02-20 2023-07-03 Dgshape株式会社 Machining program creation method for dental milling machine, machining program creation device, operation device for dental milling machine, and operation system for dental milling machine

Similar Documents

Publication Publication Date Title
EP0309374B1 (en) Automated bill of material
EP0947931A2 (en) Document Production
EP1186976B1 (en) NC machining simulation apparatus
Brown Teaching axiomatic design to engineers—Theory, applications, and software
EP0737928A1 (en) Language processing method and apparatus
EP0499905A2 (en) CAD/CAM unit data generating apparatus and process
JP2001092512A (en) Nc data preparation method and computer-readable storage medium storing nc data preparation program
US12059751B2 (en) System and method for detecting and correcting laser-cutting distortion
US5129046A (en) Method for automatically converting a data flow description of a source program directly into a function design chart
JP4209567B2 (en) Tool path data creating method and computer readable storage medium storing tool path data creating program
Koza Simultaneous discovery of detectors and a way of using the detectors via genetic programming
JPH0296823A (en) Information processor provided with advice function based on use history
JP3052861B2 (en) Model joining state recognition device and joining strength setting method
JPH01316804A (en) Contour shape defining method
JP2696206B2 (en) Automatic part program creation method
JPH0194404A (en) Nc data generation system
US8155449B2 (en) Method for comparing computer-generated drawings
JPH02172652A (en) Decision of working method in numerical control information preparing device
Joseph et al. Automatic generation of NC programs for turned components from CAD product models
Saravanan Parameter selection in optimizing the Cnc tool paths by genetic Algorithm
JPH0973472A (en) Designing device and describing method for its annotation text
JPH0728630A (en) Program generating device
CN116310248A (en) Grasshopper-based annotation conversion method
JPH0346007A (en) Nc information generation system
Kuttner Manufacturing expert system: An object oriented approach to feature driven process automation