JPH11165239A - Numerical control data editing device and editing method of numerical control data - Google Patents

Numerical control data editing device and editing method of numerical control data

Info

Publication number
JPH11165239A
JPH11165239A JP35020697A JP35020697A JPH11165239A JP H11165239 A JPH11165239 A JP H11165239A JP 35020697 A JP35020697 A JP 35020697A JP 35020697 A JP35020697 A JP 35020697A JP H11165239 A JPH11165239 A JP H11165239A
Authority
JP
Japan
Prior art keywords
data
jig
numerical control
control data
detour
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
JP35020697A
Other languages
Japanese (ja)
Inventor
Hitoshi Tawara
均 田原
Hideo Kurihara
英雄 栗原
Koji Aoyama
功嗣 青山
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP35020697A priority Critical patent/JPH11165239A/en
Publication of JPH11165239A publication Critical patent/JPH11165239A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To avoid the collision and interference of a jig and a machining tool and edit NC data so as to ensure a mounting position of the jig securely. SOLUTION: An NC data selection part 4a specifies NC data for workpiece from among NC data which is prepared by CAD/CAM.EWS3 and is stored in an NC data storage part 7a. A mounting jig specification setting part 4b specifies jig shape registered in a jig shape memory part 7b and a mounting position and a direction of rotation of the jig. A machining tool invasion non- allowable zone calculation part 12a calculates a machining tool invasion non- allowable zone based on the contents of setting of the mounting jig and draws it in a display part 8. An interference judging part 12b analyzes NC data to judge whether a machining tool invades the machining tool invasion non- allowable zone or not, generates a detour locus in a detour locus generation insertion part 12c when the machining tool invades the zone, and inserts the detour locus in NC data. NC data is transmitted to NC machine tool 2 together with such detour locus data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は数値制御データ編集
装置と数値制御データの編集方法に関し、より詳しく
は、フライス盤等の数値制御(Numerical Control ;以
下「NC」という。)工作機械に使用されるNCデータ
を編集するNCデータ編集装置とNCデータの編集方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control data editing apparatus and a numerical control data editing method, and more particularly, to a numerical control (Numerical Control) machine tool such as a milling machine. The present invention relates to an NC data editing apparatus for editing NC data and an NC data editing method.

【0002】[0002]

【従来の技術】従来より、NCデータにより被加工物の
加工等を行うフライス盤等のNC工作機械においては、
被加工物をマシンバイスやプレーンクランプ等の取付治
具により機械パレットやテーブルに固定し、上方よりエ
ンドミル等の加工具を降下させて被加工物の切削加工等
を行っている。
2. Description of the Related Art Conventionally, in NC machine tools such as a milling machine for processing a workpiece by NC data,
A workpiece is fixed to a machine pallet or a table with a mounting jig such as a machine vise or a plane clamp, and a workpiece such as an end mill is lowered from above to perform a cutting process on the workpiece.

【0003】この種のNC工作機械においては、機械パ
レットと被加工物とが図13に示すような位置関係を有
している。すなわち、該NC工作機械では、平板形状の
機械パレット51に載置された被加工物52が取付治具
としての一対のプレーンクランプ53a、53bにより
固定される。
In this type of NC machine tool, a mechanical pallet and a workpiece have a positional relationship as shown in FIG. That is, in the NC machine tool, a workpiece 52 placed on a flat machine pallet 51 is fixed by a pair of plane clamps 53a and 53b as mounting jigs.

【0004】そして、前記被加工物52を加工するため
のNCデータは、プレーンクランプ53a、53bと加
工具とが互いに衝突干渉しないように決定しなければな
らず、このためNCデータ作成技術者、すなわちパート
プログラマは予めプレーンクランプ53a、53bの寸
法等とその取付位置を決定し、その後プレーンクランプ
53と加工具とが衝突干渉しないように所望のNCデー
タを作成している。そして、従来においては上記取付デ
ータ(プレーンクランプ53a、53bの寸法等とその
取付位置)が加工指示書に正確に記載することにより工
作機械のオペレータにその内容が伝達され、オペレータ
は斯かる取付データに基づいて被加工物52を機械パレ
ット51上に固定している。
[0004] NC data for processing the workpiece 52 must be determined so that the plane clamps 53a and 53b and the processing tool do not collide with each other and interfere with each other. That is, the part programmer determines in advance the dimensions and the like of the plane clamps 53a and 53b and their mounting positions, and then creates desired NC data so that the plane clamp 53 and the processing tool do not collide with each other. Conventionally, the mounting data (dimensions and the like of the plane clamps 53a and 53b and their mounting positions) are accurately described in the machining instruction sheet so that the contents are transmitted to the operator of the machine tool. The workpiece 52 is fixed on the mechanical pallet 51 on the basis of.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の技術においては、パートプログラマが取付治具の寸
法等や取付位置を決定しているため、パートプログラマ
には豊富な加工知識が要求される。すなわち、エンドミ
ル等の加工具と被加工物を固定する取付治具とが干渉し
て衝突するのを避けるためには機械加工に精通した熟練
技術者をパートプログラマとして使用しなければなら
ず、経験に乏しい未熟練者をパートプログラマに使用す
ることは生産効率の著しい低下を招来するため、パート
プログラマ職種に採用すべき人材が制限されるという問
題点があった。
However, in the above-mentioned prior art, since the part programmer determines the dimensions and the like and the mounting position of the mounting jig, the part programmer requires abundant processing knowledge. In other words, in order to avoid collision between a processing tool such as an end mill and a mounting jig for fixing a workpiece, a skilled technician who is familiar with machining must be used as a part programmer. The use of a poorly skilled unskilled person as a part programmer leads to a significant decrease in production efficiency, and there is a problem in that the number of personnel to be employed in the part programmer job is limited.

【0006】また、従来においては、取付データをNC
プログラムの作成時に決定しているため、被加工物52
の機械パレット51への取付時点ではNCデータを最早
変更することができず、その結果、或る工作機械から他
の工作機械に変更して被加工物52の加工を行いたい場
合や、或いは被加工物52の加工形状が前加工工程の加
工によって当初のNCプログラム作成時点で想定したも
のと異なった形状となた場合は、取付治具の取付位置を
確保することができなくなることがあるという問題点が
あった。すなわち、例えば図14に示すように、前加工
工程で被加工物52の形状が変更され、該被加工物52
に凹部52aが形成された場合は、一方のプレーンクラ
ンプ53aについては被加工物52を取付ることができ
るものの、他方のプレーンクランプ53bについては被
加工物52を取付ることができなくなり、斯かる場合は
NCデータを再度作成しなければならないという問題点
があった。
[0006] Conventionally, the attachment data is stored in an NC.
The work piece 52 is determined when the program is created.
NC data can no longer be changed at the time of attachment to the machine pallet 51, and as a result, when it is desired to change the processing from one machine tool to another machine tool and process the workpiece 52, or If the processing shape of the workpiece 52 becomes different from that assumed at the time of the initial NC program creation by the processing in the pre-processing step, it may be impossible to secure the mounting position of the mounting jig. There was a problem. That is, as shown in FIG. 14, for example, the shape of the workpiece 52 is changed in the pre-processing step,
When the recess 52a is formed in the plane clamp 53a, the workpiece 52 can be attached to one plane clamp 53a, but the workpiece 52 cannot be attached to the other plane clamp 53b. In such a case, there is a problem that the NC data must be created again.

【0007】本発明はこのような問題点に鑑みなされた
ものであって、NCプログラム作成時の取付データを考
慮することを不要とし、治具と加工具とが衝突干渉する
のを回避することができ、また治具の取付位置を確実に
確保することができるようにNCデータを編集すること
ができるNCデータ編集装置とNCデータの編集方法を
提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and eliminates the need to consider attachment data when creating an NC program and avoids collision interference between a jig and a processing tool. It is an object of the present invention to provide an NC data editing apparatus and an NC data editing method capable of editing NC data so that a mounting position of a jig can be reliably secured.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に請求項1記載の発明は、数値制御データが記憶された
記憶手段と、前記数値制御データの中から被加工物用に
作成された特定数値制御データを選択する選択手段と、
前記被加工物を固定する治具の治具データを入力する入
力手段とを備えた数値制御データ編集装置において、前
記特定数値制御データと前記治具データとが干渉するか
否かを判断する判断手段と、該判断手段により前記特定
数値制御データと前記治具データが干渉すると判断され
たときは前記治具データに対する加工具の迂回軌跡デー
タを生成する迂回手段と、該迂回手段により迂回軌跡デ
ータが生成されたときは該迂回軌跡データを前記特定数
値制御データに挿入する挿入手段とを備えていることを
特徴としている。
According to a first aspect of the present invention, there is provided a storage means for storing numerical control data, wherein the numerical control data is prepared for a workpiece from the numerical control data. Selecting means for selecting specific numerical control data;
A numerical control data editing apparatus comprising: input means for inputting jig data of a jig for fixing the workpiece; and determining whether or not the specific numerical control data and the jig data interfere with each other. Means, a detour means for generating detour locus data of the processing tool with respect to the jig data when the specific numerical control data and the jig data are determined to interfere with each other, and detour locus data by the detour means. And a means for inserting the detour trajectory data into the specific numerical control data when is generated.

【0009】また、請求項7記載の発明は、記憶手段に
記憶された数値制御データの中から被加工物用に作成さ
れた特定数値制御データを選択する選択ステップと、前
記被加工物を固定する治具の治具データを入力する入力
ステップとを含む数値制御データの編集方法において、
前記特定数値制御データと前記治具データとが干渉する
か否かを判断し、前記特定数値制御データと前記治具デ
ータが干渉するときは治具データに対する加工具の迂回
軌跡データを生成して前記特定数値制御データに前記迂
回データを挿入することを特徴としている。
According to a seventh aspect of the present invention, there is provided a selecting step of selecting, from the numerical control data stored in the storage means, specific numerical control data created for a workpiece, fixing the workpiece. An input step of inputting jig data of the jig to be performed.
Determine whether or not the specific numerical control data and the jig data interfere with each other, and when the specific numerical control data and the jig data interfere with each other, generate detour trajectory data of the processing tool with respect to the jig data. The detour data is inserted into the specific numerical control data.

【0010】尚、本発明の他の特徴は、以下の発明の実
施の形態の説明により明らかとなろう。
The other features of the present invention will become apparent from the following description of embodiments of the present invention.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳説する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0012】図1は本発明に係るNCデータ編集装置の
一実施の形態を示すブロック構成図であって、該NCデ
ータ編集装置1はNCデータにより制御されるフライス
盤等のNC工作機械2及び被加工物の図形データを作成
するCAD/CAM・EWS(Computer Aided Design
/Computer Aided Manufacturing・Enginerring workst
ation )3と接続されている。
FIG. 1 is a block diagram showing an embodiment of an NC data editing apparatus according to the present invention. The NC data editing apparatus 1 includes an NC machine tool 2 such as a milling machine controlled by NC data and a machine tool. CAD / CAM / EWS (Computer Aided Design) for creating graphic data of workpieces
/ Computer Aided Manufacturing ・ Engineering workst
ation) 3.

【0013】NCデータ編集装置1は、取付治具の治具
データ等を入力する入力部4と、後述する迂回移動指令
生成処理等の演算プログラムが格納されたROM5と、
ワークエリアとして使用されるRAM6と、CAD/C
AM・EWS3で作成されたNCデータ等が格納される
記憶装置7と、治具データや被加工物の図形データ等を
表示する表示部8と、治具データや被加工物の図形デー
タ等の印刷出力を行う出力部9と、NC工作機械2との
間でインターフェース(I/F)動作を司る第1の通信
I/F10と、CAD/CAM・EWS3との間でI/
F動作を司る第1の通信I/F11と、装置全体の制御
を司るCPU12とを有し、上記各構成要素はシステム
バス13を介して互いに接続されている。
The NC data editing apparatus 1 includes an input unit 4 for inputting jig data and the like of a mounting jig, a ROM 5 storing an arithmetic program for a detour movement command generation process described later, and the like.
RAM6 used as a work area, CAD / C
A storage device 7 for storing NC data and the like created by the AM / EWS 3, a display unit 8 for displaying jig data and graphic data of a workpiece, and a display unit 8 for displaying jig data and graphic data of a workpiece. An I / F is connected between an output unit 9 that performs print output, a first communication I / F 10 that controls an interface (I / F) operation between the NC machine tool 2, and a CAD / CAM / EWS 3.
It has a first communication I / F 11 for controlling the F operation and a CPU 12 for controlling the entire apparatus. The above-mentioned components are connected to each other via a system bus 13.

【0014】図2は、本NCデータ編集装置1の信号の
流れを示す処理ブロック図である。
FIG. 2 is a processing block diagram showing a signal flow of the NC data editing apparatus 1.

【0015】記憶装置7は、CAD/CAM・EWS3
で作成されたNCデータを保管するNCデータ保管部7
aと治具形状等が予め登録された治具形状記憶部7bと
を有している。
The storage device 7 has a CAD / CAM / EWS3
Data storage unit 7 for storing the NC data created in
a and a jig shape storage unit 7b in which the jig shape and the like are registered in advance.

【0016】入力部4は、被加工物を加工するためのN
Cデータを選択するNCデータ選択部4aと、取付治具
の治具形状や取付位置更には治具の回転方向を設定する
取付治具仕様設定部4bとを有している。
An input unit 4 is provided with an N for processing a workpiece.
An NC data selection unit 4a for selecting C data and a mounting jig specification setting unit 4b for setting the jig shape and mounting position of the mounting jig and the rotation direction of the jig are provided.

【0017】CPU12は、エンドミル等の加工具の侵
入を避けるべき領域、すなわち衝突干渉の虞のある加工
具侵入不可領域を算出する加工具侵入不可領域算出部1
2aと、取付治具の設定仕様により前記加工具侵入不可
領域に加工具が侵入するか否かを判定する干渉判定部1
2bと、該干渉判定部12bにより取付治具と加工具と
が干渉すると判定された場合は迂回軌跡を生成して該迂
回軌跡データ(NCデータ)を挿入する迂回軌跡生成挿
入部12cとを有している。
The CPU 12 calculates a region in which a processing tool such as an end mill is to be prevented from entering, that is, a processing tool inaccessible region calculation unit 1 for calculating a processing tool inaccessible region in which there is a risk of collision interference.
2a and an interference determination unit 1 that determines whether or not a processing tool enters the processing tool inaccessible area based on the setting specifications of the mounting jig.
2b, and a detour trajectory generating / inserting part 12c for generating a detour trajectory and inserting the detour trajectory data (NC data) when the mounting jig and the processing tool are determined to interfere with each other by the interference determining part 12b. doing.

【0018】しかして、図2において、CAD/CAM
・EWS3で作成されたNCデータはNCデータ保管部
7aで保管され、次いで、NCデータ選択部4aで前記
NCデータ保管部7aに保管されているNCデータの中
から被加工物用に作成されたNCデータを選択指定す
る。次に、取付治具仕様設定部4bでは治具形状記憶部
7bに予め登録されている治具コードを参照して治具形
状を指定し、さらに治具取付位置及び治具の回転方向を
指定する。この場合、全ての位置決め移動動作に対し干
渉を回避する迂回移動指令を生成挿入したい場合は、治
具形状を入力するのに代えて、被加工物からの突出高さ
を代表値として入力してもよい。
Thus, in FIG. 2, CAD / CAM
The NC data created by the EWS 3 is stored in the NC data storage unit 7a, and then created by the NC data selection unit 4a for the workpiece from the NC data stored in the NC data storage unit 7a. Select and specify NC data. Next, the mounting jig specification setting unit 4b specifies the jig shape with reference to the jig code registered in advance in the jig shape storage unit 7b, and further specifies the jig mounting position and the rotation direction of the jig. I do. In this case, if it is desired to generate and insert a detour movement command that avoids interference for all positioning movements, instead of inputting the jig shape, input the protrusion height from the workpiece as a representative value. Is also good.

【0019】尚、取付治具仕様の設定は、NCデータ保
管部7aに保管されているNCデータより被加工物の現
在の形状を考慮し、取付治具が必ず被加工物を取り付け
ることができるような位置に設定される。すなわち、前
加工工程等で被加工物が既に一部加工されている場合は
取付治具仕様の変更等を行い、取付治具が必ず被加工物
を取り付けられるように取付治具仕様を設定する。
The specification of the mounting jig can be set by the mounting jig without fail in consideration of the current shape of the workpiece from the NC data stored in the NC data storage unit 7a. It is set to such a position. That is, if the workpiece has already been partially processed in the pre-processing step or the like, the specifications of the mounting jig are changed, and the mounting jig specifications are set so that the mounting jig can always attach the workpiece. .

【0020】次に、加工具侵入不可領域算出部12aで
は、取付治具仕様設定部4bで設定された設定内容(治
具形状と治具の取付位置及び回転方向)に基づき、各移
動指令単位毎に前記加工具侵入不可領域を算出し、表示
部8に描画する。次いで、干渉判定部12bでは、NC
データ選択部4aにより選択されたNCデータを解析
し、加工具侵入不可領域に加工具が侵入するか否かを判
定する。そして、加工具侵入不可領域に加工具が侵入す
ると判定された場合、すなわち衝突干渉が生じると判断
された場合は、迂回軌跡生成挿入部12cは迂回軌跡を
生成して該迂回軌跡指令をNCデータに挿入する。この
ような処理がなされたNCデータは、第1の通信I/F
10を介してNC工作機械2に送信され、又はフレキシ
ブルディスク等の記憶媒体を介してNC工作機械2に伝
達される。
Next, the processing tool inaccessible area calculation unit 12a calculates each movement command unit based on the setting contents (the jig shape, the mounting position of the jig, and the rotation direction) set by the mounting jig specification setting unit 4b. The processing tool inaccessible area is calculated every time and drawn on the display unit 8. Next, in the interference determination unit 12b, NC
The NC data selected by the data selection unit 4a is analyzed to determine whether or not the processing tool enters the processing tool inaccessible area. When it is determined that the processing tool enters the processing tool inaccessible area, that is, when it is determined that collision interference occurs, the detour trajectory generation / insertion unit 12c generates a detour trajectory and sends the detour trajectory command to the NC data. Insert The NC data subjected to such processing is transmitted to the first communication I / F.
The data is transmitted to the NC machine tool 2 via the PC 10 or transmitted to the NC machine tool 2 via a storage medium such as a flexible disk.

【0021】図3は取付治具仕様の設定手順を示すフロ
ーチャートであって、本プログラムは取付治具仕様設定
部4bで実行される。
FIG. 3 is a flow chart showing a setting procedure of the mounting jig specification. This program is executed by the mounting jig specification setting section 4b.

【0022】ステップS1では入力方式が個別治具入力
方式か否かを判断する。そして、その答が肯定(Ye
s)のときは、治具形状記憶部7bに記憶されている治
具コードテーブルを参照して治具形状を選択する。
In step S1, it is determined whether the input method is the individual jig input method. And the answer is affirmative (Ye
In the case of s), the jig shape is selected with reference to the jig code table stored in the jig shape storage unit 7b.

【0023】図4は取付治具としてプレーンクランプを
使用した場合の治具コードテーブルの一例であって、該
治具コードテーブルには、図5に示すプレーンクランプ
の各寸法W、L、H、Aがコード化されて治具形状記憶
部7bに記憶されている。すなわち、図5に示すプレー
ンクランプの平面図(図5(a))、正面図(図5
(b))から明らかなように、W、L、Hは夫々治具の
幅、長さ、高さを示し、P0はプレーンクランプの取付
点、Aはプレーンクランプが被加工物を抑える抑え部の
寸法を示している。
FIG. 4 shows an example of a jig code table when a plane clamp is used as a mounting jig. The jig code table has the dimensions W, L, H, and H of the plane clamp shown in FIG. A is coded and stored in the jig shape storage unit 7b. That is, a plan view (FIG. 5A) and a front view (FIG. 5A) of the plane clamp shown in FIG.
As is apparent from (b), W, L, and H indicate the width, length, and height of the jig, respectively, P0 is a mounting point of the plane clamp, and A is a holding unit that the plane clamp suppresses the workpiece. Are shown.

【0024】次いで、ステップS3では取付治具の取付
位置と回転角度を指定し、処理を終了する。
Next, in step S3, the attachment position and the rotation angle of the attachment jig are designated, and the process is terminated.

【0025】図6は、治具コードとしてPC1を選択し
た場合の取付治具の取付位置と回転角度を示している。
すなわち、本実施の形態では、プレーンクランプ15a
の取付点P0aの中心座標(X,Y,Z)は、(0,1
00.0,0)に設定され、回転角度は0°に設定され
る。また、プレーンクランプ15bの取付点P0bの中
心座標(X,Y,Z)は、(100.0,50.0,
0)に設定され、プレーンクランプ15bはプレーンク
ランプ15aに対して取付方向が180°異なるため、
回転角度は180°に設定される。
FIG. 6 shows the mounting position and the rotation angle of the mounting jig when PC1 is selected as the jig code.
That is, in the present embodiment, the plane clamp 15a
The center coordinates (X, Y, Z) of the mounting point P0a are (0, 1)
00.0,0) and the rotation angle is set to 0 °. The center coordinates (X, Y, Z) of the mounting point P0b of the plane clamp 15b are (100.0, 50.0,
0), and the mounting direction of the plane clamp 15b differs from the plane clamp 15a by 180 °.
The rotation angle is set to 180 °.

【0026】一方、ステップS1で入力方式が個別治具
選択方式ではないと判断された場合は、入力方式が治具
突出高さ入力方式であると判断してステップS4に進
み、治具コードに応じた高さHを治具コードテーブルを
検索して選択し入力し(例えば、治具コードがPC1の
場合は「10」)、処理を終了する。
On the other hand, if it is determined in step S1 that the input method is not the individual jig selection method, it is determined that the input method is the jig protrusion height input method, and the flow advances to step S4 to set the jig code. The corresponding height H is searched for in the jig code table, selected and input (for example, “10” when the jig code is PC1), and the process is terminated.

【0027】このようにして取付治具の取付位置と回転
角度とが決定されると、上述したように加工具侵入不可
領域算出部12aで加工具侵入不可領域を算出する。
When the mounting position and the rotation angle of the mounting jig are determined in this way, the processing tool inaccessible area calculation unit 12a calculates the processing tool inaccessible area as described above.

【0028】図7は治具コードがPC1の場合の加工具
侵入不可領域の算出を示す説明図である。
FIG. 7 is an explanatory diagram showing the calculation of the work tool inaccessible area when the jig code is PC1.

【0029】すなわち、治具コードがPC1の場合は、
幅Wが「15」であり、また取付点P0aのY軸の中心
座標は「100.0」であるから、Y軸上では92.5
〜107.5の範囲で加工具がプレーンクランプ15a
と衝突する虞がある。また、長さLが「50」であり、
抑え部Aが「20」であるから、X軸上では被加工物1
4の一方の端面16を基準にして夫々「−30.0」及
び「20.0」の範囲で加工具がプレーンクランプ15
aと衝突する虞がある。したがって、プレーンクランプ
15aに対しては、領域15′aが加工具不可侵領域と
なる。
That is, when the jig code is PC1,
Since the width W is “15” and the center coordinate of the attachment point P0a on the Y axis is “100.0”, 92.5 on the Y axis.
The processing tool is a plain clamp 15a within the range of ~ 107.5.
There is a risk of collision. Also, the length L is “50”,
Since the holding portion A is “20”, the work 1
4 with respect to one end face 16 of the workpiece clamp 4 within the range of "-30.0" and "20.0", respectively.
a. Therefore, for the plane clamp 15a, the region 15'a is an inviolable region of the processing tool.

【0030】同様に、取付点P0bのY軸の中心座標は
「50.0」であるから、Y軸上では42.5〜57.
5の範囲で加工具がプレーンクランプ15bと衝突する
虞があり、X軸上では前記の端面16を基準にして夫々
「80.0」及び「130.0」の範囲で加工具がプレ
ーンクランプ15aと衝突する虞がある。したがって、
プレーンクランプ15bに対しては、領域15′bが加
工具侵入不可領域となる。
Similarly, since the center coordinate of the attachment point P0b on the Y axis is "50.0", 42.5-57.
5, the processing tool may collide with the plane clamp 15b. On the X-axis, the processing tool may be in the range of "80.0" and "130.0" with respect to the end face 16 respectively. There is a risk of collision. Therefore,
With respect to the plane clamp 15b, the region 15'b is a region where the processing tool cannot enter.

【0031】このように加工具侵入不可領域15′a、
15′bの境界座標値は、プレーンクランプ15a、1
5bの中心座標(X,Y,Z)と治具寸法から容易に算
出される。
As described above, the processing tool inaccessible area 15'a,
The boundary coordinate values of 15'b are the plane clamps 15a, 1
It is easily calculated from the center coordinates (X, Y, Z) of 5b and the jig dimensions.

【0032】次に、干渉判定部12bの処理内容につい
て説明する。
Next, the processing contents of the interference determination section 12b will be described.

【0033】図8は該干渉判定部12bで実行される干
渉判定処理の処理手順を示すフローチャートである。
FIG. 8 is a flowchart showing the procedure of the interference determination process executed by the interference determination section 12b.

【0034】ステップS11ではRAM6に一時的に記
憶されている被加工物の加工用に作成されたNCデータ
から1指令単位でNC命令を取り出し、続くステップS
12では取り出したNC命令が移動指令か否かを判断す
る。そして、その答が否定(No)のときはステップS
17に進む一方、その答が肯定(Yes)のときは入力
方式が個別治具入力方式か否かを判断する。そして、そ
の答が否定(No)のときは入力方式が治具突出高さ入
力方式であると判断してステップS16に進む一方、そ
の答が肯定(Yes)のときはステップS14に進み、
加工具通過領域を算出する。
In step S11, an NC command is taken out in units of one command from the NC data temporarily stored in the RAM 6 and prepared for machining the workpiece, and the following step S11 is executed.
At 12, it is determined whether or not the extracted NC command is a movement command. If the answer is negative (No), step S
On the other hand, if the answer is affirmative (Yes), it is determined whether the input method is the individual jig input method. When the answer is negative (No), it is determined that the input method is the jig protrusion height input method, and the process proceeds to step S16. When the answer is affirmative (Yes), the process proceeds to step S14.
Calculate the processing tool passage area.

【0035】図9は加工具通過領域を示す説明図であっ
て、NCデータにより取り出されたNC命令が移動軌跡
17を指令している場合、加工具の直径をDとすると、
ハッチングで示す領域18が加工具通過領域となる。
FIG. 9 is an explanatory view showing a processing tool passage area. In the case where the NC command extracted by the NC data commands the movement trajectory 17, the diameter of the processing tool is D.
A region 18 indicated by hatching is a processing tool passage region.

【0036】このように加工具通過領域18は、移動軌
跡17に対して加工具の半径D/2だけ図面上でオフセ
ット処理を施す等簡単な幾何学的計算で算出される。
As described above, the processing tool passage area 18 is calculated by a simple geometric calculation such as performing offset processing on the movement trajectory 17 by a radius D / 2 of the processing tool on the drawing.

【0037】次に、ステップS15では、前記加工具通
過領域18と加工具侵入不可領域15a、15bとが干
渉するか否かを図面上で判断する。
Next, in step S15, it is determined on the drawing whether or not the processing tool passage area 18 and the processing tool inaccessible areas 15a and 15b interfere with each other.

【0038】すなわち、図10に示すように、移動軌跡
17a、17bに基づいて算出される加工具通過領域1
8a、18bと、プレーンクランプ15a、15bの取
付仕様に基づいて決定される加工具侵入不可領域15′
a、15′bとを図面上で重ね合わせる。そして、一方
の加工具通過領域18aは加工具侵入不可領域15′a
と重合部分を有するため図形干渉有りと判断され、他方
の加工具通過領域18bは加工具侵入不可領域15′b
と重合部分を有さないため図形干渉無しと判断される。
That is, as shown in FIG. 10, the processing tool passage area 1 calculated based on the movement trajectories 17a and 17b
8a, 18b and the processing tool inaccessible area 15 'determined based on the mounting specifications of the plane clamps 15a, 15b.
a and 15'b are superimposed on the drawing. And one processing tool passage area 18a is a processing tool inaccessible area 15'a
It is determined that there is graphic interference because of the overlapped portion, and the other processing tool passage area 18b is the processing tool inaccessible area 15'b
It is determined that there is no graphic interference because there is no overlapping portion.

【0039】ステップS15で図形干渉有りと判断され
なかった場合はステップS17に進む一方、ステップS
15で図形干渉有りと判断された場合はステップS16
に進み、迂回軌跡を生成し、該生成された迂回軌跡をN
Cデータに挿入する。
If it is not determined in step S15 that there is graphic interference, the process proceeds to step S17, while the process proceeds to step S17.
If it is determined in step 15 that there is graphic interference, step S16
To generate a detour trajectory, and generate the detour trajectory by N
Insert into C data.

【0040】すなわち、図11に示すように、記憶装置
7から読み出したNCデータが移動軌跡17aの場合
は、加工具侵入不可領域15′aと干渉するため、加工
具の移動軌跡が矢印19→矢印20→矢印21となるよ
うに、すなわち、例えば、加工具が移動軌跡17aに対
してZ軸方向に30mmだけ迂回するように迂回軌跡デ
ータを生成し、次いで、図12に示すように、該迂回軌
跡データをNCデータに挿入する。これにより治具と加
工具とが干渉衝突するのを防止することができる。
That is, as shown in FIG. 11, when the NC data read from the storage device 7 is the movement trajectory 17a, it interferes with the processing tool inaccessible area 15'a. The detour trajectory data is generated so that the arrow 20 becomes the arrow 21, that is, for example, so that the processing tool detours the movement trajectory 17 a by 30 mm in the Z-axis direction. Then, as shown in FIG. The detour trajectory data is inserted into the NC data. This can prevent the jig and the processing tool from colliding with each other.

【0041】次いで、ステップS17では全てのNC命
令の指令処理がなされたか否かを判断し、その答が否定
(No)の場合はステップS11に戻り、その答が肯定
(Yes)の場合は処理を終了する。
Next, in step S17, it is determined whether or not all NC commands have been commanded. If the answer is negative (No), the process returns to step S11. If the answer is affirmative (Yes), the process proceeds. To end.

【0042】このように本実施の形態によれば、実際に
加工する時点で当初のNCデータを変更して該NCデー
タの編集を行っているので、治具と加工具とが互いに衝
突干渉するのを回避することができ、また治具の取付位
置を確実に確保することができる。
As described above, according to the present embodiment, the NC data is edited by changing the original NC data at the time of the actual processing, so that the jig and the processing tool collide and interfere with each other. Can be avoided, and the mounting position of the jig can be reliably ensured.

【0043】尚、本発明は上記実施の形態に限定される
ものではなく、上記実施の形態では移動指令は増分値指
定で定義されているが、絶対座標値指定で移動指令する
ようにしてもよいのはいうまでもない。
The present invention is not limited to the above embodiment. In the above embodiment, the movement command is defined by specifying the increment value. However, the movement command may be specified by specifying the absolute coordinate value. Needless to say, it is good.

【0044】[0044]

【発明の効果】以上詳述したように本発明に係るNCデ
ータ編集装置とNCデータの編集方法によれば、実際に
加工する時点における治具の取付情報や被加工物の形状
に応じてNCデータを変更することができるので、治具
と加工具とが互いに衝突干渉するのを回避することがで
き、また治具の取付位置を確実に確保することができ
る。
As described above in detail, according to the NC data editing apparatus and the NC data editing method of the present invention, the NC data can be set according to the mounting information of the jig and the shape of the workpiece at the time of actual processing. Since the data can be changed, it is possible to prevent the jig and the processing tool from colliding and interfering with each other, and it is possible to reliably secure the mounting position of the jig.

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

【図1】本発明に係るNCデータ編集装置の一実施の形
態を示すブロック構成図である。
FIG. 1 is a block diagram showing an embodiment of an NC data editing apparatus according to the present invention.

【図2】上記NCデータ編集装置の信号の流れを示す処
理ブロック図である。
FIG. 2 is a processing block diagram showing a signal flow of the NC data editing device.

【図3】取付治具仕様設定処理の処理手順を示すフロー
チャートである。
FIG. 3 is a flowchart illustrating a processing procedure of a mounting jig specification setting process.

【図4】加工情報テーブルである。FIG. 4 is a processing information table.

【図5】取付治具としてのプレーンクランプの平面図及
び正面図である。
FIG. 5 is a plan view and a front view of a plane clamp as a mounting jig.

【図6】取付治具の取付位置及び回転角度の設定を説明
するための説明図である。
FIG. 6 is an explanatory diagram for explaining setting of a mounting position and a rotation angle of a mounting jig.

【図7】加工具侵入不可領域の算出を説明するための説
明図である。
FIG. 7 is an explanatory diagram for explaining calculation of a processing tool inaccessible region.

【図8】干渉判定処理の処理手順を示すフローチャート
である。
FIG. 8 is a flowchart illustrating a procedure of an interference determination process.

【図9】加工具の移動軌跡である加工具通過領域を示し
た平面図である。
FIG. 9 is a plan view showing a processing tool passage area which is a movement locus of the processing tool.

【図10】加工具の移動軌跡と取付治具との位置関係を
示す平面図である。
FIG. 10 is a plan view showing a positional relationship between a movement locus of a processing tool and a mounting jig.

【図11】迂回軌跡の生成を説明するための説明図であ
る。
FIG. 11 is an explanatory diagram for explaining generation of a detour trajectory.

【図12】迂回軌跡のNCデータへの挿入を説明するた
めの説明図である。
FIG. 12 is an explanatory diagram for describing insertion of a detour trajectory into NC data.

【図13】従来の機械パレットと被加工物との位置関係
を示す斜視図である。
FIG. 13 is a perspective view showing a positional relationship between a conventional mechanical pallet and a workpiece.

【図14】従来の問題点を説明するための斜視図であ
る。
FIG. 14 is a perspective view for explaining a conventional problem.

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

4 入力部(入力手段) 7 記憶装置(記憶手段) 12a 加工具侵入不可領域算出部(算出手段) 12b 干渉判定部(判断手段) 12c 迂回軌跡生成挿入部(迂回手段、挿入手段) Reference Signs List 4 input unit (input means) 7 storage device (storage means) 12a processing tool inaccessible area calculation unit (calculation means) 12b interference determination unit (judgment means) 12c detour trajectory generation insertion unit (detour means, insertion means)

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 数値制御データが記憶された記憶手段
と、前記数値制御データの中から被加工物用に作成され
た特定数値制御データを選択する選択手段と、前記被加
工物を固定する治具の治具データを入力する入力手段と
を備えた数値制御データ編集装置において、 前記特定数値制御データと前記治具データとが干渉する
か否かを判断する判断手段と、該判断手段により前記特
定数値制御データと前記治具データが干渉すると判断さ
れたときは前記治具データに対する加工具の迂回軌跡デ
ータを生成する迂回手段と、該迂回手段により迂回軌跡
データが生成されたときは該迂回軌跡データを前記特定
数値制御データに挿入する挿入手段とを備えていること
を特徴とする数値制御データ編集装置。
1. A storage means for storing numerical control data, a selecting means for selecting specific numerical control data created for a workpiece from the numerical control data, and a fixing means for fixing the workpiece. A numerical control data editing apparatus comprising: input means for inputting jig data of a jig; judging means for judging whether or not the specific numerical control data and the jig data interfere with each other; Detour means for generating detour trajectory data of the processing tool with respect to the jig data when it is determined that the specific numerical control data and the jig data interfere with each other; and when the detour means generates detour trajectory data, the detour means A numerical control data editing device, comprising: insertion means for inserting trajectory data into the specific numerical control data.
【請求項2】 前記判断手段は、前記治具データに基づ
き前記加工具の侵入を防ぐ加工具侵入不可領域を算出す
る算出手段と、該算出手段の算出結果と前記特定数値制
御データに基づいて得られる前記加工具の移動軌跡デー
タとを比較する比較手段とを備えていることを特徴とす
る請求項1記載の数値制御データ編集装置。
2. The method according to claim 1, wherein the determining unit calculates a processing tool inaccessible area that prevents the processing tool from entering based on the jig data, based on a calculation result of the calculating unit and the specific numerical control data. 2. The numerical control data editing apparatus according to claim 1, further comprising a comparison unit configured to compare obtained movement locus data of the processing tool.
【請求項3】 前記治具データは、少なくとも前記治具
の形状データと、治具の取付位置情報とを含むことを特
徴とする請求項1乃至請求項3のいずれかに記載の数値
制御データ編集装置。
3. The numerical control data according to claim 1, wherein the jig data includes at least shape data of the jig and mounting position information of the jig. Editing device.
【請求項4】 数値制御データが記憶された記憶手段
と、前記数値制御データの中から被加工物用に作成され
た特定数値制御データを選択する選択手段と、前記被加
工物を固定する治具の治具データを入力する入力手段と
を備えた数値制御データ編集装置において、 前記治具データに対する加工具の迂回軌跡データを生成
する迂回手段と、該迂回手段により迂回軌跡データが生
成されたときは該迂回軌跡データを前記特定数値制御デ
ータに挿入する挿入手段とを備えていることを特徴とす
る数値制御データ編集装置。
4. A storage means for storing numerical control data, a selecting means for selecting specific numerical control data created for a workpiece from the numerical control data, and a fixing means for fixing the workpiece. In a numerical control data editing apparatus comprising: input means for inputting jig data of a tool, a detour means for generating detour locus data of a processing tool with respect to the jig data, and detour locus data generated by the detour means Insertion means for inserting the detour trajectory data into the specific numerical control data when necessary.
【請求項5】 前記治具データは、前記被加工物からの
突出高さであることを特徴とする請求項4記載の数値制
御データ編集装置。
5. The numerical control data editing apparatus according to claim 4, wherein said jig data is a height of protrusion from said workpiece.
【請求項6】 前記被加工物の現在の形状に応じて前記
治具データを変更する変更手段を有していることを特徴
とする請求項1乃至請求項5のいずれかに記載の数値制
御データ編集装置。
6. The numerical control according to claim 1, further comprising changing means for changing the jig data according to a current shape of the workpiece. Data editing device.
【請求項7】 記憶手段に記憶された数値制御データの
中から被加工物用に作成された特定数値制御データを選
択する選択ステップと、前記被加工物を固定する治具の
治具データを入力する入力ステップとを含む数値制御デ
ータの編集方法において、 前記特定数値制御データと前記治具データとが干渉する
か否かを判断し、前記特定数値制御データと前記治具デ
ータが干渉するときは治具データに対する加工具の迂回
軌跡データを生成して前記特定数値制御データに前記迂
回データを挿入することを特徴とする数値制御データの
編集方法。
7. A selecting step of selecting specific numerical control data created for a workpiece from numerical control data stored in a storage means, and selecting jig data of a jig for fixing the workpiece. In the editing method of numerical control data including an input step of inputting, it is determined whether or not the specific numerical control data and the jig data interfere with each other, and when the specific numerical control data and the jig data interfere with each other, Is a method of editing numerical control data, wherein detour trajectory data of a processing tool with respect to jig data is generated and the detour data is inserted into the specific numerical control data.
【請求項8】 前記治具データに基づき前記加工具の侵
入を防ぐ加工具侵入不可領域の算出し、斯かる算出結果
と前記特定数値制御データに基づいて得られる前記加工
具の移動軌跡データとを比較することを特徴とする請求
項7記載の数値制御データの編集方法。
8. A processing tool inaccessible area for preventing the intrusion of the processing tool is calculated based on the jig data, and the calculation result and movement locus data of the processing tool obtained based on the specific numerical control data are calculated. 8. The method for editing numerical control data according to claim 7, wherein
【請求項9】 前記治具データは、少なくとも前記治具
の形状データと、治具の取付位置情報とを含むことを特
徴とする請求項6乃至請求項8のいずれかに記載の数値
制御データの編集方法。
9. The numerical control data according to claim 6, wherein the jig data includes at least shape data of the jig and mounting position information of the jig. How to edit.
【請求項10】 記憶手段に記憶された数値制御データ
の中から被加工物用に作成された特定数値制御データを
選択する選択ステップと、前記被加工物を固定する治具
の治具データを入力する入力ステップとを含む数値制御
データの編集方法において、 前記前記治具データに対する加工具の迂回軌跡データを
生成して前記特定数値制御データに前記迂回データを挿
入することを特徴とする数値制御データの編集方法。
10. A selection step of selecting specific numerical control data created for a workpiece from numerical control data stored in a storage means, and selecting jig data of a jig for fixing the workpiece. An inputting step of inputting the numerical control data, comprising: generating detour trajectory data of a processing tool with respect to the jig data, and inserting the detour data into the specific numerical control data. How to edit the data.
【請求項11】 前記治具データは、前記被加工物から
の突出高さであることを特徴とする請求項10記載の数
値制御データの編集方法。
11. The method according to claim 10, wherein the jig data is a protruding height from the workpiece.
【請求項12】 前記被加工物の現在の形状に応じて前
記治具データを変更することを特徴とする請求項7乃至
請求項11のいずれかに記載の数値制御データの編集方
法。
12. The method of editing numerical control data according to claim 7, wherein said jig data is changed according to a current shape of said workpiece.
JP35020697A 1997-12-05 1997-12-05 Numerical control data editing device and editing method of numerical control data Pending JPH11165239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35020697A JPH11165239A (en) 1997-12-05 1997-12-05 Numerical control data editing device and editing method of numerical control data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35020697A JPH11165239A (en) 1997-12-05 1997-12-05 Numerical control data editing device and editing method of numerical control data

Publications (1)

Publication Number Publication Date
JPH11165239A true JPH11165239A (en) 1999-06-22

Family

ID=18408941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35020697A Pending JPH11165239A (en) 1997-12-05 1997-12-05 Numerical control data editing device and editing method of numerical control data

Country Status (1)

Country Link
JP (1) JPH11165239A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6772038B2 (en) 2000-12-22 2004-08-03 Mori Seiki Co., Ltd. Machining-related information generating apparatus and numerical controller having the same
US7412296B2 (en) * 2003-01-31 2008-08-12 Fujitsu Limited Working control device
US7613545B2 (en) 2004-04-07 2009-11-03 Fanuc Ltd Offline programming device
DE102008045678A1 (en) 2008-09-04 2010-03-11 Dr. Johannes Heidenhain Gmbh Apparatus and method for collision monitoring in a machine tool
JP2016030323A (en) * 2014-07-30 2016-03-07 ファナック株式会社 Wire electric discharge machine with fault machining prevention function
WO2024095479A1 (en) * 2022-11-04 2024-05-10 三菱電機株式会社 Machining program generation device and machining program generation method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6772038B2 (en) 2000-12-22 2004-08-03 Mori Seiki Co., Ltd. Machining-related information generating apparatus and numerical controller having the same
US7412296B2 (en) * 2003-01-31 2008-08-12 Fujitsu Limited Working control device
US7613545B2 (en) 2004-04-07 2009-11-03 Fanuc Ltd Offline programming device
DE102008045678A1 (en) 2008-09-04 2010-03-11 Dr. Johannes Heidenhain Gmbh Apparatus and method for collision monitoring in a machine tool
JP2016030323A (en) * 2014-07-30 2016-03-07 ファナック株式会社 Wire electric discharge machine with fault machining prevention function
US9956630B2 (en) 2014-07-30 2018-05-01 Fanuc Corporation Wire electric discharge machine having erroneous machining preventing function
WO2024095479A1 (en) * 2022-11-04 2024-05-10 三菱電機株式会社 Machining program generation device and machining program generation method

Similar Documents

Publication Publication Date Title
JP2685071B2 (en) Numerical control unit
JP3537362B2 (en) Graphic display device for robot system
JP2002189510A (en) Working relevant information preparation device and numerical controller equipped with the same device
JP6506222B2 (en) CAD / CAM-CNC integrated system
JP3650027B2 (en) NC machining support method and apparatus
JP2001125613A (en) Numerical control simulation device
JPH0611458B2 (en) Tool shape display device
JPH11165239A (en) Numerical control data editing device and editing method of numerical control data
JP2005288563A (en) Method and device for creating working program
JP2002304203A (en) Nc machine tool and machining method
JP3116129B2 (en) Processing method
US5410489A (en) Method of specifying position to create fillet curved surface
EP0160705B1 (en) Machining method for machine tools
JPH07261815A (en) Method and device for generating tool machining path for nc machining
JPH06119031A (en) Nc data generating method for working of cut remaining part
US5060163A (en) Programming apparatus for lathes
JPH06100929B2 (en) NC data creation method for machining uncut parts in NC data creation device
JP3248081B2 (en) Automatic program creation device with automatic cutting axis change function
JP2707992B2 (en) Outline processing data generation device and outline processing data generation method
US6681144B1 (en) Process and system for working a workpiece through numerically controlled machine tools
JP3467811B2 (en) NC data creation method and NC processing method
JP3343826B2 (en) Numerical control information creation device
JP3471644B2 (en) Control device for area machining operation
JPS6379110A (en) Numerically controlled working device
JPH11104935A (en) Method for automatically preparing program for nc machine tool