JP3223477B2 - Tool path data connection device and method - Google Patents

Tool path data connection device and method

Info

Publication number
JP3223477B2
JP3223477B2 JP02333293A JP2333293A JP3223477B2 JP 3223477 B2 JP3223477 B2 JP 3223477B2 JP 02333293 A JP02333293 A JP 02333293A JP 2333293 A JP2333293 A JP 2333293A JP 3223477 B2 JP3223477 B2 JP 3223477B2
Authority
JP
Japan
Prior art keywords
tool
data
path data
tool path
height
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 - Fee Related
Application number
JP02333293A
Other languages
Japanese (ja)
Other versions
JPH06210548A (en
Inventor
勝 影浦
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 JP02333293A priority Critical patent/JP3223477B2/en
Publication of JPH06210548A publication Critical patent/JPH06210548A/en
Application granted granted Critical
Publication of JP3223477B2 publication Critical patent/JP3223477B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CAD/CAMシステ
ム等において、例えば、被加工物の設計図面を利用し、
NC工作機械に与える工具経路(Cutter Loc
ation、以下、CLという)データ、特に壁加工用
のCLデータを連結する工具経路データ連結装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CAD / CAM system,
Tool path given to NC machine tools (Cutter Loc
The present invention relates to a tool path data linking device for linking data, particularly CL data for wall machining.

【0002】[0002]

【従来の技術】従来、CAD/CAMシステム等におい
て、例えば、被加工物の設計図面を利用し、NC工作機
械に与える壁加工用のCLデータを連結する場合、各加
工高さでCLデータを連結し、その後、連結したCLデ
ータを加工高さの順に連結していた。
2. Description of the Related Art Conventionally, in a CAD / CAM system or the like, for example, when connecting CL data for wall machining to be provided to an NC machine tool using a design drawing of a workpiece, CL data is converted at each machining height. The CL data was linked, and then the linked CL data was linked in the order of the processing height.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来の連結方
式により連結されたCLデータは、同一加工高さのCL
データでも、加工部の形状によっては水平方向に工具を
移動することができず、工具を一旦上昇させ、水平方向
に移動して再度降下させる必要が頻繁に生じることがあ
り、加工時間が長くなり加工効率が低下するという問題
があった。
However, the CL data connected by the conventional connection method is a CL data of the same machining height.
Even with data, depending on the shape of the processing part, it is not possible to move the tool in the horizontal direction, and it is often necessary to raise the tool once, move it horizontally and lower it again, which increases the processing time There is a problem that the processing efficiency is reduced.

【0004】本発明は、このような事情の下になされた
ものであり、その目的は、工具の上昇回数を低減するよ
うな形で工具経路データを連結し得る工具経路データ連
結装置を提供することにある。
The present invention has been made under such circumstances, and an object of the present invention is to provide a tool path data linking apparatus capable of linking tool path data in such a manner as to reduce the number of times the tool is lifted. It is in.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明による工具経路データ連結装置は、同一加工
高さの複数の工具経路データのうち工具を上昇させずに
水平移動させても工具干渉が発生しない領域の工具経路
データ同士を連結する第1の連結手段と、前記第1の連
結手段による連結処理がなされた状態において、着目対
象の加工高さの上層から下層方向へ1層単位で順次指定
する指定手段と、前記指定手段により現在指定されてい
る着目対象の加工高さの各工具経路データと、当該着目
対象の加工高さの各工具経路データと工具を上昇させず
に降下させるだけで連結し得る当該着目対象より1層下
の加工高さの各工具経路データとについて、工具の移動
距離の総和が最短となるように連結する第2の連結手段
と、前記指定手段により現在指定されている着目対象の
加工高さの工具経路データのうち前記第2の連結手段に
より連結されなかった各工具経路データと、当該着目対
象より上層の各加工高さの未連結の工具経路データのう
ち下層側として連結処理されていない各工具経路データ
とについて、工具の移動距離の総和が最短となるように
連結する第3の連結手段とを備えている。また、前記第
2の連結手段、または第3の連結手段は、それぞれ前記
の連結し得る2つの工具経路データの全ての組合わせに
ついて、高さ方向から見たときの2つの工具経路データ
の平面的な図形の重なり部分の長さを評価値として求
め、それら評価値の総和に基づいて工具の移動距離が最
短になるように連結するよう構成されている。 また、本
発明による工具経路データ連結方法は、同一加工高さの
複数の工具経路データのうち工具を上昇させずに水平移
動させても工具干渉が発生しない領域の工具経路データ
同士を連結し、この連結処理がなされた状態において、
着目対象の加工高さの上層から下層方向へ1層単位で順
次指定し、現在指定されている着目対象の加工高さの各
工具経路データと、当該着目対象の加工高さの各工具経
路データと工具を上昇させずに降下させるだけで連結し
得る当該着目対象より1層下の加工高さの各工具経路デ
ータとについて、工具の移動距離の総和が最短となるよ
うに連結し、更に、現在指定されている着目対象の加工
高さの工具経路 データのうち、前記の最短となるような
連結処理では連結されなかった各工具経路データと、当
該着目対象より上層の各加工高さの未連結の工具経路デ
ータのうち下層側として連結処理されていない各工具経
路データとについて、工具の移動距離の総和が最短とな
るように連結するように構成されている。
In order to achieve the above object, a tool path data linking device according to the present invention provides a tool path data linking apparatus which moves a tool horizontally without raising the tool among a plurality of tool path data having the same machining height. First connecting means for connecting tool path data in an area where interference does not occur, and in a state in which connection processing is performed by the first connecting means, a unit of one layer from an upper layer to a lower layer in a processing height of interest , The tool path data of the processing height of the target of interest currently specified by the specifying means, the tool path data of the processing height of the target of interest, and the tool being lowered without being raised. Second connection means for connecting the tool path data of the machining height one layer below the target of interest which can be connected only by making the sum total of the moving distance of the tool the shortest, and the designation means The tool path data of the currently designated processing height of the target of interest that is not connected by the second connection means, and the unconnected tool of each processing height above the target of interest. A third linking means for linking the tool data with the tool path data not subjected to the link processing as the lower layer side of the path data so that the total sum of the moving distances of the tools is the shortest. In addition, the
The second connecting means or the third connecting means is respectively
For all combinations of two tool path data that can be connected
Tool path data when viewed from the height direction
The length of the overlapping part of the two-dimensional figure
Therefore, based on the sum of the evaluation values,
It is configured to be connected so as to be short. Also book
The method for linking tool path data according to the present invention uses the same machining height
Horizontal movement without raising the tool among multiple tool path data
Tool path data in an area where tool interference does not occur even if moved
Are connected to each other, and in the state where this connection processing is performed,
In order from the upper layer to the lower layer of the processing height of the target object, one layer at a time
Next, specify each of the currently specified
Tool path data and each tool path of the machining height
Link the road data and the tool just by lowering it without raising it
Obtain each tool path data of the machining height one layer below the target of interest.
The sum of the tool travel distances is the shortest
And further processing of the currently specified target
Of the tool path data of height , the shortest
Each tool path data not connected by the connection process
Unconnected tool path data for each machining height above the target
Of each tool that is not connected as a lower layer
For road data, the sum of the tool travel distances is the shortest.
It is comprised so that it may connect.

【0006】[0006]

【作用】第1の連結手段は、同一加工高さの複数の工具
経路データのうち工具を上昇させずに水平移動させても
工具干渉が発生しない領域の工具経路データ同士を連結
する。そして、指定手段は、第1の連結手段による連結
処理がなされた状態において、着目対象の加工高さを上
層から下層方向へ1層単位で順次指定する。
The first connecting means connects the tool path data in an area in which no tool interference occurs even if the tool is moved horizontally without raising the tool among the plurality of tool path data having the same machining height. Then, the designation unit sequentially designates the processing height of the target of interest in units of one layer from the upper layer to the lower layer in a state where the connection processing is performed by the first connection unit.

【0007】すると、第2の連結手段は、現在指定され
ている着目対象の加工高さの各工具経路データと、当該
着目対象の加工高さの各工具経路データと工具を上昇さ
せずに降下させるだけで連結し得る当該着目対象より1
層下の加工高さの各工具経路データとについて、工具の
移動距離の総和が最短となるように連結する。
[0007] Then, the second connecting means sets each tool path data of the currently designated target processing height, each tool path data of the target target processing height, and lowers the tool without raising it. 1
For each of the tool path data of the machining height below the layer, they are connected so that the total sum of the moving distances of the tools is the shortest.

【0008】そして、第3の連結手段は、現在指定され
ている着目対象の加工高さの工具経路データのうち第2
の連結手段により連結されなかった各CLデータと、当
該着目対象より上層の各加工高さの未連結の工具経路デ
ータのうち下層側として連結処理されていない各CLデ
ータとについて、工具の移動距離の総和が最短となるよ
うに連結する。なお、本発明による工具経路データ連結
方法においても、同様に、工具の移動距離の総和が最短
となるような連結処理が行なわれる。
[0008] The third connecting means is configured to output a second one of the tool path data of the currently designated processing height of the target of interest.
The moving distance of the tool between each CL data not connected by the connecting means and each CL data which is not connected as the lower layer among the unconnected tool path data of each processing height of the upper layer from the target of interest. Are connected so that the sum of the is the shortest. The tool path data connection according to the present invention
Similarly, in the method, the sum of the moving distance of the tool is the shortest.
A connection process is performed as follows.

【0009】なお、第2の連結手段、第3の連結手段
は、例えば、それぞれ前記の連結し得る2のつ工具経路
データの全ての組合わせについて、高さ方向から見たと
きの2つのCLデータの平面的な図形の重なり部分の長
さを評価値として求め、それら評価値の総和に基づいて
工具の移動距離が最短になるように連結する。
The second connecting means and the third connecting means are provided, for example, for two combinations of the two tool path data which can be connected, when viewed from the height direction. The length of the overlapping portion of the two-dimensional figures of the data is determined as an evaluation value, and the data is linked so that the moving distance of the tool is minimized based on the sum of the evaluation values.

【0010】[0010]

【実施例】以下、本発明の一実施例を図面に基づいて詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0011】図1は、本発明の一実施例による工具経路
データ連結装置の概略構成を示すブロック図である。こ
の工具経路データ連結装置は、中央処理装置1を中核と
して工具経路(CL)データ連結処理を行うものであ
り、中央処理装置1には、キーボード、マウス等からな
る入力装置2と、半導体メモリ、磁気ディスク等からな
る記憶装置3と、入出力制御装置4と、グラフィックデ
ィスプレイ等からなる表示装置5とが接続されている。
また、入出力制御装置4には、磁気テープ、フロッピー
ディスク、磁気ディスク等からなる外部記憶媒体6と、
NC工作機械7が接続されており、入出力制御装置4
は、中央処理装置1の制御の下に、本工具経路データ連
結装置により連結した工具経路(CL)データをNC工
作機械7に出力する、或いは外部記憶媒体6から工具経
路データ連結用の各種アプリケーションプログラムを記
憶装置3にロードする等の制御を行う。
FIG. 1 is a block diagram showing a schematic configuration of a tool path data linking device according to one embodiment of the present invention. This tool path data linking apparatus performs tool path (CL) data linking processing with the central processing unit 1 as a core. The central processing unit 1 includes an input device 2 including a keyboard and a mouse, a semiconductor memory, A storage device 3 composed of a magnetic disk or the like, an input / output control device 4, and a display device 5 composed of a graphic display or the like are connected.
The input / output control device 4 includes an external storage medium 6 including a magnetic tape, a floppy disk, and a magnetic disk.
The NC machine tool 7 is connected, and the input / output control device 4
Outputs the tool path (CL) data connected by the present tool path data connection device to the NC machine tool 7 under the control of the central processing unit 1 or various applications for connecting the tool path data from the external storage medium 6 Control such as loading a program into the storage device 3 is performed.

【0012】記憶装置3は、CAD図形要素に対応する
データ(二次元線分の場合は始点・終点の座標値、二次
元円弧の場合は始点・終点・中心の座標値と回り方向、
二次元円の場合は中心座標と半径などの図形要素を決定
するのに充分な幾何情報及び図形要素の集合と配置情報
など)、CAD図形要素を連結して閉領域化した閉領域
データ、閉領域に高さなどの奥行き方向等の情報を付加
した2.5次元データ、および、加工工具の形状・使用
条件などの工具データ、加工方法等の加工方法データ、
工具の移動経路等を含んだCLデータを記憶する。
The storage device 3 stores data corresponding to CAD graphic elements (coordinate values of a start point / end point for a two-dimensional line segment, coordinate values of a start point / end point / center for a two-dimensional arc, and rotation directions,
In the case of a two-dimensional circle, geometric information sufficient to determine a graphic element such as a center coordinate and a radius and a set and arrangement information of the graphic element, etc.), closed area data obtained by connecting CAD graphic elements to form a closed area, 2.5-dimensional data in which information such as the depth direction such as height is added to the area, tool data such as the shape and use conditions of the machining tool, machining method data such as a machining method,
CL data including a moving path of the tool is stored.

【0013】なお、CLデータには、上記のデータの
他、CLデータの認識番号、CLデータの存在する壁の
識別飯ごう、抜き勾配情報、加工時の工具可動エリア情
報を含んでいる。
The CL data includes, in addition to the above data, an identification number of the CL data, identification of a wall where the CL data exists, draft angle information, and tool movable area information at the time of machining.

【0014】ここで、「壁」とは、加工対象の面であ
り、図2に示したような被加工物の上面R1に直角な面
であって、側面図として描かれたときに直線、または曲
線で示される面である。
Here, the "wall" is a surface to be processed, which is a surface perpendicular to the upper surface R1 of the workpiece as shown in FIG. Or a surface indicated by a curve.

【0015】また、「工具可動エリア」とは、工具が加
工対象以外の領域に干渉せずに実際に動ける空間(その
工具自身の占有エリアを含む)における工具の上下移動
方向に直角な断面のエリアを示しており、一般的には、
同一の加工高さ(図3のH1、H2、H3、またはH4
参照)において、複数の工具可動エリアを有している。
[0015] The "tool movable area" is defined as a cross-section perpendicular to the direction of vertical movement of the tool in a space (including the area occupied by the tool itself) in which the tool can actually move without interfering with the area other than the object to be machined. Indicates the area, and in general,
The same processing height (H1, H2, H3 or H4 in FIG. 3)
) Has a plurality of tool movable areas.

【0016】すなわち、図4(a)のような加工形状で
は、工具T0の径が溝Dの幅より大きくて、工具T0を
上昇させなければ溝Dを越えられないので、例えば、C
L1、CL2、CL3の存在する加工高さでは、図4
(b)に示したように、2つの工具可動エリアE1、E
2が存在する。
That is, in the machining shape as shown in FIG. 4A, the diameter of the tool T0 is larger than the width of the groove D, and the groove cannot be moved beyond the groove D without raising the tool T0.
At the processing height where L1, CL2 and CL3 exist, FIG.
As shown in (b), two tool movable areas E1, E
There are two.

【0017】表示装置5には、中央処理装置1の制御の
下にメニューが表示され、このメニューをキーボード、
マウス等の入力装置2により選択・指示しながら対話形
式でCLデータ連結処理を進められるように構成されて
いる。この際、中央処理装置1は、メニューにより選択
・指示されたアプリケーションプログラムを、入出力制
御装置4を介して外部記憶媒体6から記憶装置3に読込
み、そのアプリケーションプログラムに従って、壁加工
用のCLデータ連結処理等の各種のCLデータ連結処理
を行う。
A menu is displayed on the display device 5 under the control of the central processing unit 1.
The configuration is such that the CL data linking process can proceed in an interactive manner while being selected and instructed by the input device 2 such as a mouse. At this time, the central processing unit 1 reads the application program selected / instructed by the menu from the external storage medium 6 to the storage device 3 via the input / output control device 4, and according to the application program, the CL data for wall machining. Various CL data connection processes such as a connection process are performed.

【0018】この際、中央処理装置1は、同様に、入力
装置2により入力された上記のような図形データ、加工
データ、工具データ等を記憶装置3に記憶させたり、或
いは外部記憶媒体6に保存したりする。そして、外部記
憶媒体6に保存した場合には、メニューにより選択・指
示された図形データ、加工データ、工具データ等を入出
力制御装置4を介して外部記憶媒体6から記憶装置3ら
読込み、必要に応じて表示装置5に表示し、これらデー
タを利用してCLデータ連結処理を行なうと共に、CL
データの連結過程などを表示装置5に表示させる。
At this time, the central processing unit 1 similarly stores the above-described graphic data, machining data, tool data, etc. input by the input device 2 in the storage device 3 or in the external storage medium 6. Or save. When the data is stored in the external storage medium 6, the graphic data, machining data, tool data, and the like selected / instructed by the menu are read from the external storage medium 6 via the input / output control device 4 from the storage device 3. Is displayed on the display device 5 in accordance with the data, and the CL data linking process is performed using these data.
The display device 5 displays the data connection process and the like.

【0019】次に、壁加工用のCLデータの連結処理を
図5のフローチャートに従って説明する。
Next, the connection processing of CL data for wall machining will be described with reference to the flowchart of FIG.

【0020】中央処理装置1は、まず、各加工高さ(図
3のH1〜H4参照)内で工具を上昇させずに連結可能
なCLデータ同士を連結する(ステップS1)。なお、
図3ではCLデータを省略してCL1のように記してい
る。他の図面でも同様である。
First, the central processing unit 1 connects CL data that can be connected without raising the tool within each processing height (see H1 to H4 in FIG. 3) (step S1). In addition,
In FIG. 3, the CL data is omitted and described as CL1. The same applies to other drawings.

【0021】すなわち、各加工高さにおけるCLデータ
を記憶装置3から読出し、各加工高さにおいてCLデー
タが複数存在する場合には、同一の工具可動エリアにあ
り、工具を上昇させずに連結可能なCLデータを連結し
て一つのCLデータとして記憶装置3に格納する。具体
的には、各CLデータ間を移動するつなぎのCLデータ
を作成してまとめ、一つのCLデータとして記憶装置3
に格納する。
That is, the CL data at each machining height is read from the storage device 3, and when a plurality of CL data exist at each machining height, the CL data is in the same tool movable area and can be connected without raising the tool. Are stored in the storage device 3 as one CL data. More specifically, link data that moves between each piece of CL data is created and summarized, and the storage device 3 creates one piece of CL data.
To be stored.

【0022】次に、一番高い加工高さ、すなわち最上層
の加工高さを着目対象の加工高さとして設定する(ステ
ップS2)。すなわち、ステップS1で連結した各加工
高さのCLデータを記憶装置3から読出し、最も高い加
工高さの各CLデータの認識番号を記憶装置3のワーク
エリアに格納する。
Next, the highest processing height, that is, the processing height of the uppermost layer is set as the target processing height (step S2). That is, the CL data of each processing height connected in step S1 is read from the storage device 3, and the identification number of each CL data of the highest processing height is stored in the work area of the storage device 3.

【0023】次に、記憶装置3のワークエリアに格納し
たCLデータの認識番号に基づいて、着目対象として設
定した加工高さのCLデータを読出し、記憶装置3のワ
ークエリアに格納する(ステップS3)。
Next, based on the identification number of the CL data stored in the work area of the storage device 3, the CL data of the processing height set as the target is read out and stored in the work area of the storage device 3 (step S3). ).

【0024】そして、同様に、着目対象として設定した
加工高さより1層だけ下層の次の加工高さのCLデータ
を記憶装置3から読出し、記憶装置3のワークエリアに
格納する(ステップS4)。
Then, similarly, the CL data of the next processing height one layer lower than the processing height set as the target of interest is read from the storage device 3 and stored in the work area of the storage device 3 (step S4).

【0025】次に、着目対象として設定した加工高さの
各CLデータと、それら各CLデータと連結可能な次の
加工高さの各CLデータとについて、工具の移動距離の
総和が最短になるような組合わせを探索して連結する
(ステップS5:図6の破線の矢印を参照)。具体的に
は、まず、着目対象として設定した加工高さの各CLデ
ータと、それら各CLデータと連結可能な次の加工高さ
の各CLデータとを記憶装置3から読出し、工具を上昇
させずに工具を降下させるだけで連結可能なCLデータ
の組合わせを決定する。
Next, the total sum of the moving distances of the tool is the shortest for each CL data of the machining height set as the object of interest and each CL data of the next machining height that can be connected to each CL data. Such a combination is searched for and connected (step S5: see a broken arrow in FIG. 6). Specifically, first, each CL data of the processing height set as a target of interest and each CL data of the next processing height that can be connected to each of the CL data are read from the storage device 3 and the tool is raised. The combination of the CL data that can be linked by simply lowering the tool is determined.

【0026】連結可能性の判定は、次のようにして行
う。すなわち、着目した加工高さの或るCLデータの工
具可動エリア内に、着目対象として設定した加工高さの
次の加工高さのCLデータの工具可動エリアが入ってい
る場合に、これら2つのCLデータは連結可能と判定
し、そうでなければ連結不可能と判定する。
The connection possibility is determined as follows. That is, when the tool movable area of the CL data of the processing height next to the processing height set as the target of interest is included in the tool movable area of the CL data of the processing height of interest, these two The CL data is determined to be connectable, otherwise it is determined to be not connectable.

【0027】例えば、図7(a)に示すように、CL1
の存在する工具可動エリアE3に、抜き勾配のない場合
には、CL4の存在する工具可動エリアが一致する。一
方、抜き勾配のある場合は、図7(b)に示したよう
に、CL4の存在する工具可動エリアE4がCL1の存
在する工具可動エリアE3に含まれる。これらの場合
は、工具T0を上昇させずに降下することにより、CL
1とCL4とは連結可能である。しかし、CL5の存在
する工具可動エリアE5とCL1の存在する工具可動エ
リアE3とは、工具T0が通過できない溝Dの両側に互
いに独立して存在しているため、工具T0を上昇しない
と連結できない。
For example, as shown in FIG.
If there is no draft angle in the tool movable area E3 in which CL exists, the tool movable area in which CL4 exists matches. On the other hand, when there is a draft angle, as shown in FIG. 7B, the tool movable area E4 where CL4 exists is included in the tool movable area E3 where CL1 exists. In these cases, by lowering the tool T0 without raising it, CL
1 and CL4 can be connected. However, since the tool movable area E5 where CL5 exists and the tool movable area E3 where CL1 exists exist on both sides of the groove D through which the tool T0 cannot pass, they cannot be connected unless the tool T0 is raised. .

【0028】上記の連結可能性を判定した結果、連結可
能な複数組合せが存在する場合は、次に説明する方法で
組合わせを評価し、評価値の最大の組合せを連結のペア
として決定する。そして、つなぎのCLデータを作成し
て連結して記憶装置3に格納する。また、着目対象のC
Lデータのうち連結のペアにならなかったCLデータの
認識番号を記憶装置3に格納する。
As a result of the above-described connection possibility determination, if there are a plurality of combinations that can be connected, the combinations are evaluated by the method described below, and the maximum combination of the evaluation values is determined as the connection pair. Then, connection CL data is created, linked, and stored in the storage device 3. In addition, the target C
The identification number of the CL data that has not become a connected pair among the L data is stored in the storage device 3.

【0029】この評価は、基本的には、連結可能な組合
せに係る2つのCLデータの形状を構成する各線分また
は曲線を比較して、高さ方向から見たときの平面的な図
形の重なり部分の長さを評価値とする。
Basically, this evaluation is performed by comparing each line segment or curve constituting the two CL data shapes relating to a connectable combination, and by comparing the two-dimensional CL data with the two-dimensional CL data when viewed from the height direction. The length of the portion is used as the evaluation value.

【0030】例えば、図8(a)のように、壁が平面で
抜き勾配のない場合は、CL1とCL2は線分になり、
高さ方向から見ると同一直線上にあるので、この場合は
線分の重なり部分の長さL1を評価値とする。また、図
8(b)にように、壁が平面で抜き勾配Tのある場合
は、CL1とCL2は平行になるので、平行移動して線
分の重なり部分の長さL1を評価値とする。
For example, as shown in FIG. 8A, when the wall is flat and has no draft, CL1 and CL2 become line segments,
Since they are on the same straight line when viewed from the height direction, in this case, the length L1 of the overlapping portion of the line segments is used as the evaluation value. In addition, as shown in FIG. 8B, when the wall is a plane and has a draft T, CL1 and CL2 are parallel to each other, so that the parallel movement is performed and the length L1 of the overlapping portion of the line segment is used as the evaluation value. .

【0031】図9(a)のように、壁が円筒面で抜き勾
配のない場合は、CL1とCL2は円弧になり、高さ方
向から見ると同一円上にあるので、重なり部分の円弧の
長さLを評価値とする。また、図9(b)にように、壁
が円筒面で抜き勾配のある場合は、厳密には壁が斜円筒
面になり、高さ方向から見ると、2つの円弧CL1、C
L2は中心がずれていて、半径がことなったものにな
る。そこで、CL1とCL2の円弧の中心を一致させ、
一方の円弧の半径が他方の円弧の半径に一致するよう
に、相似縮小(拡大)する。そして、相似縮小(拡大)
された円弧の重なり部分長の長さLを評価値とする。こ
のような評価を全ての連結ペアについて行い、それら評
価値の総和が最大になるような組合わせを、移動距離の
総和が最短になる組合わせとして決定する。
As shown in FIG. 9 (a), when the wall has a cylindrical surface and no draft, CL1 and CL2 are arcs and are on the same circle when viewed from the height direction. The length L is used as an evaluation value. Further, as shown in FIG. 9B, when the wall has a cylindrical surface and a draft, the wall is strictly an oblique cylindrical surface, and when viewed from the height direction, two arcs CL1 and C are formed.
L2 is off-center and has a different radius. Therefore, the centers of the arcs of CL1 and CL2 are matched,
Similar reduction (enlargement) is performed such that the radius of one arc matches the radius of the other arc. And similar reduction (enlargement)
The length L of the overlapped portion of the circular arc is used as the evaluation value. Such an evaluation is performed for all the connected pairs, and a combination that maximizes the sum of the evaluation values is determined as a combination that minimizes the sum of the moving distances.

【0032】次に、ステップS6に進んで、着目対象の
加工高さの各CLデータのうち、次の加工高さのCLデ
ータと連結不可能なCLデータと、着目対象より上層の
加工高さの連結可能なCLデータとについて、工具の移
動距離の総和が最短になるように形で上下層間の連結を
行う。
Next, proceeding to step S6, of the CL data of the processing height of the object of interest, CL data that cannot be connected to the CL data of the next processing height, and the processing height of the layer above the object of interest. The upper and lower layers are connected in such a manner that the total sum of the moving distances of the tools is the shortest with respect to the connectable CL data.

【0033】すなわち、ステップS5の連結処理で連結
のペアとならなかった着目加工高さのCLデータを記憶
装置3から読出し、その各CLデータに対して、着目加
工高さより高い加工高さの連結可能なCLデータのう
ち、工具の移動距離が最短のCLデータを選択し、その
選択したCLデータ間のつなぎのCLデータを作成して
連結し、1まとめに記憶装置3に格納する。この場合の
連結可能性の判断は、そのCLデータが下層側のCLデ
ータとなるような連結情報が設定されていないものにつ
いて、ステップS5の場合と同様にして行われ、選択処
理は、先ず加工高さの近いものが優先して選択し、同一
加工高さならステップS5と同一の評価法で選択するこ
とにより行う。
That is, the CL data of the processing height of interest, which has not been paired in the connection processing in step S5, is read from the storage device 3, and the respective CL data are connected with the processing height higher than the processing height of interest. Among the possible CL data, the CL data with the shortest moving distance of the tool is selected, the CL data connecting the selected CL data is created and connected, and the data is collectively stored in the storage device 3. The determination of the connection possibility in this case is performed in the same manner as in step S5 for the connection information for which the CL data is not the lower-layer CL data, and the selection process is performed first. This is performed by preferentially selecting one having a close height, and selecting the same processing height by the same evaluation method as in step S5.

【0034】次に、ステップS7に進んで、現在着目中
の加工高さが、最下層の加工高さであるか否かを判別す
る。その結果、現在着目中の加工高さが最下層の加工高
さでなければ、現在着目中の加工高さの次の加工高さの
CLデータに着目して(ステップS8)、ステップS3
に戻ることにより、最上層から最下層までの加工高さの
CLデータについて、同様の処理を行う。
Next, proceeding to step S7, it is determined whether or not the working height currently focused on is the working height of the lowermost layer. As a result, if the current working height is not the lowest working height, the CL data of the working height next to the current working height is focused (step S8), and step S3 is performed.
The same processing is performed for the CL data of the processing height from the uppermost layer to the lowermost layer.

【0035】以上説明したように、着目した加工高さと
次位の加工高さのCLデータについて、工具の移動が最
短になるように連結し(図10の破線の矢印を参照)、
着目した加工高さにおいて連結不可能なCLデータが有
るときは、上層の加工高さのCLデータと工具の移動が
最短になるように連結する(図10の実線の矢印を参
照)。殆どのCLデータは、着目した加工高さと次位の
加工高さ間での局所的な連結が可能なので、連結処理の
途中で着目した加工高さでの加工対象の工具可動エリア
の形状等の大量のデータを頻繁に保存する必要もなく、
高速に連結を行うことができる。また、従来方式と比べ
て、工具を上昇させる回数が減り、加工時間が短縮さ
れ、加工効率が向上する。
As described above, the CL data of the target machining height and the next machining height are connected so that the movement of the tool is minimized (see the broken arrow in FIG. 10).
When there is CL data that cannot be connected at the processing height of interest, the CL data of the upper processing height is connected to the CL so as to minimize the movement of the tool (see the solid line arrow in FIG. 10). Most of the CL data can be locally connected between the processing height of interest and the next processing height, so the shape of the movable area of the tool to be processed at the processing height of interest during the connection process Without having to store large amounts of data frequently,
Connection can be performed at high speed. Further, as compared with the conventional method, the number of times of raising the tool is reduced, the processing time is shortened, and the processing efficiency is improved.

【0036】[0036]

【発明の効果】以上説明したように、本発明の工具経路
データ連結装置によれば、工具の上昇回数を低減するよ
うな形で工具経路データを連結できるので、加工時間が
短縮され、加工効率が上昇する。
As described above, according to the tool path data linking device of the present invention, the tool path data can be linked in such a manner as to reduce the number of times of raising the tool, so that the machining time is reduced and the machining efficiency is reduced. Rises.

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

【図1】本発明の一実施例による工具経路データ連結装
置の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a tool path data linking device according to an embodiment of the present invention.

【図2】被加工体の壁の説明図である。FIG. 2 is an explanatory diagram of a wall of a workpiece.

【図3】加工高さの説明図である。FIG. 3 is an explanatory diagram of a processing height.

【図4】同一加工高さで工具可動エリアが複数存在する
理由の説明図である。
FIG. 4 is an explanatory diagram of the reason why a plurality of tool movable areas exist at the same machining height.

【図5】CLデータ連結処理を示すフローチャートであ
る。
FIG. 5 is a flowchart showing CL data connection processing.

【図6】着目加工高さと次の着目加工高さの局所的なC
Lデータ連結の説明図である。
FIG. 6 shows the local C of the target processing height and the next target processing height
It is explanatory drawing of L data connection.

【図7】工具を上昇させずに降下させるだけで連結でき
る場合とできない場合の説明図である。
FIGS. 7A and 7B are explanatory diagrams of a case where connection is possible by simply lowering a tool without raising it, and a case where connection is not possible.

【図8】CLデータ連結の評価法の説明図である。FIG. 8 is an explanatory diagram of an evaluation method of CL data connection.

【図9】CLデータ連結の評価法の説明図である。FIG. 9 is an explanatory diagram of an evaluation method of CL data connection.

【図10】全体的なCLデータの連結処理結果の説明図
である。
FIG. 10 is an explanatory diagram of an overall CL data connection processing result.

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

1: 中央処理装置 2: 入力装置 3: 記憶装置 4: 入出力制御装置 5: 表示装置 6: 外部記憶媒体 7: NC工作機械 W: 壁 H1〜H4: 加工高さ CL1〜CL12: CLデータ E1〜E5: 工具可動エリア 1: Central processing unit 2: Input unit 3: Storage unit 4: Input / output control unit 5: Display unit 6: External storage medium 7: NC machine tool W: Wall H1 to H4: Processing height CL1 to CL12: CL data E1 To E5: Tool movable area

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同一加工高さの複数の工具経路データの
うち工具を上昇させずに水平移動させても工具干渉が発
生しない領域の工具経路データ同士を連結する第1の連
結手段と、 前記第1の連結手段による連結処理がなされた状態にお
いて、着目対象の加工高さの上層から下層方向へ1層単
位で順次指定する指定手段と、 前記指定手段により現在指定されている着目対象の加工
高さの各工具経路データと、当該着目対象の加工高さの
各工具経路データと工具を上昇させずに降下させるだけ
で連結し得る当該着目対象より1層下の加工高さの各工
具経路データとについて、工具の移動距離の総和が最短
となるように連結する第2の連結手段と、 前記指定手段により現在指定されている着目対象の加工
高さの工具経路データのうち前記第2の連結手段により
連結されなかった各工具経路データと、当該着目対象よ
り上層の各加工高さの未連結の工具経路データのうち下
層側として連結処理されていない各工具経路データとに
ついて、工具の移動距離の総和が最短となるように連結
する第3の連結手段とを備えたことを特徴とする工具経
路データ連結装置。
A first connecting means for connecting tool path data in an area where tool interference does not occur even when the tool is moved horizontally without raising the tool, among a plurality of tool path data having the same machining height; Specifying means for sequentially specifying the processing height of the object of interest in the direction from the upper layer to the lower layer in units of one layer in a state where the connection processing is performed by the first connecting means; and processing of the object of interest currently specified by the specifying means Each tool path data of the height, each tool path data of the processing height of the target of interest, and each tool path of the processing height one layer lower than the target of interest that can be connected only by lowering the tool without raising it Second connection means for connecting the data so that the total sum of the moving distances of the tools is the shortest; and the second one of the tool path data of the processing height of the target of interest currently designated by the designation means. Linking For each tool path data not connected by the means and each tool path data not connected as a lower layer among unconnected tool path data of each processing height in the upper layer from the target of interest, the moving distance of the tool And a third linking means for linking the tool path data so as to minimize the sum of the tool path data.
【請求項2】 前記第2の連結手段、または第3の連結
手段は、それぞれ前記の連結し得る2つの工具経路デー
タの全ての組合わせについて、高さ方向から見たときの
2つの工具経路データの平面的な図形の重なり部分の長
さを評価値として求め、それら評価値の総和に基づいて
工具の移動距離が最短になるように連結することを特徴
とする請求項1に記載の工具経路データ連結装置。
2. The method according to claim 1, wherein the second connecting means or the third connecting means comprises two tool paths as viewed from the height direction for all combinations of the two connectable tool path data. 2. The tool according to claim 1, wherein the length of the overlapping portion of the two-dimensional figure of the data is obtained as an evaluation value, and the tool is connected so as to minimize the moving distance of the tool based on the sum of the evaluation values. Route data linking device.
【請求項3】 同一加工高さの複数の工具経路データの3. A plurality of tool path data of the same machining height
うち工具を上昇させずに水平移動させても工具干渉が発Even if the tool is moved horizontally without raising it, tool interference will occur.
生しない領域の工具経路データ同士を連結し、この連結Link the tool path data of the area that does not generate
処理がなされた状態において、着目対象の加工高さの上In the state where processing has been performed,
層から下層方向へ1層単位で順次指定し、現在指定されSpecify one layer at a time from the layer to the lower layer.
ている着目対象の加工高さの各工具経路データと、当該Tool path data of the processing height of the target of interest
着目対象の加工高さの各工具経路データと工具を上昇さThe tool path data for the target machining height and the tool
せずに降下させるだけで連結し得る当該着目対象より1From the target of interest that can be connected simply by lowering without
層下の加工高さの各工具経路データとについて、工具のFor each tool path data of machining height under layer,
移動距離の総和が最短となるように連結し、更に、現在It is connected so that the total sum of the moving distances is the shortest.
指定されている着目対象の加工高さの工具経路データのThe tool path data of the specified machining height of the target
うち、前記の最短となるような連結処理では連結されなOf these, no connection is made in the shortest connection processing described above.
かった各工具経路データと、当該着目対象より上層の各Tool path data and each layer above the target
加工高さの未連結の工具経路データのうち下層側としてAs lower layer of unconnected tool path data of machining height
連結処理されていない各工具経路データとについて、工For each tool path data that has not been linked,
具の移動距離の総和が最短となるように連結することをThat the total sum of the moving distances of the components is the shortest.
特徴とする工具経路データ連結方法。Characteristic tool path data linking method.
JP02333293A 1993-01-18 1993-01-18 Tool path data connection device and method Expired - Fee Related JP3223477B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02333293A JP3223477B2 (en) 1993-01-18 1993-01-18 Tool path data connection device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02333293A JP3223477B2 (en) 1993-01-18 1993-01-18 Tool path data connection device and method

Publications (2)

Publication Number Publication Date
JPH06210548A JPH06210548A (en) 1994-08-02
JP3223477B2 true JP3223477B2 (en) 2001-10-29

Family

ID=12107632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02333293A Expired - Fee Related JP3223477B2 (en) 1993-01-18 1993-01-18 Tool path data connection device and method

Country Status (1)

Country Link
JP (1) JP3223477B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7108911B2 (en) 2000-11-02 2006-09-19 3M Innovative Properties Company Adhesive composition and adhesive sheet
US9740189B2 (en) 2012-03-02 2017-08-22 Mitsubishi Electric Corporation Machining program creating apparatus, machining program creating method, and machining program creating program

Also Published As

Publication number Publication date
JPH06210548A (en) 1994-08-02

Similar Documents

Publication Publication Date Title
JP3347522B2 (en) Tool path creation device and tool path creation method
JP4905285B2 (en) Apparatus, method and program for creating tool reference plane
CN110968039A (en) Graph cutting and sorting processing method applied to laser cutting numerical control machining
JP2830407B2 (en) Curve extraction device and NC programming system
KR100227204B1 (en) Cutting processing device and cutting processing and menu selection method
JP3223477B2 (en) Tool path data connection device and method
KR900007161B1 (en) Region machining method
Kukreja et al. Efficient toolpath planning for voxel-based CNC rough machining
JP3175401B2 (en) CAD / CAM equipment
JPH01124005A (en) Working programming device
JP3359076B2 (en) Tool path data automatic connection device and method
JP3226236B2 (en) NC data creation apparatus and method
JPS62208858A (en) Part programming device in machining center
JP3526292B2 (en) NC data creation apparatus and method
JP3857487B2 (en) NC data creation method for side machining
JPH10307615A (en) Automatic generating method for machining path of recessed groove position for cam
JP3372582B2 (en) NC data creation apparatus and method
JP3985343B2 (en) How to create a machining area for roughing
JP3412850B2 (en) Tool path data creation device and method
JPH05346814A (en) Three-dimensional machining method
JPH08155787A (en) Method for determining nc data working order
KR100495489B1 (en) Method for calculating exit burr, and recorded media for having program
JPH05228786A (en) Automatic generating device for nc data in nc machine tool
JPH09325807A (en) Cutting work method and device therefor
JPH057133B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070824

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080824

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080824

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090824

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090824

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100824

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110824

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120824

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees