JPH0950311A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH0950311A
JPH0950311A JP19987295A JP19987295A JPH0950311A JP H0950311 A JPH0950311 A JP H0950311A JP 19987295 A JP19987295 A JP 19987295A JP 19987295 A JP19987295 A JP 19987295A JP H0950311 A JPH0950311 A JP H0950311A
Authority
JP
Japan
Prior art keywords
tool
storage memory
information
tool path
machining
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
JP19987295A
Other languages
Japanese (ja)
Inventor
Hironori Kimata
宏規 木俣
Kunihiko Otsuka
邦彦 大塚
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP19987295A priority Critical patent/JPH0950311A/en
Publication of JPH0950311A publication Critical patent/JPH0950311A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a numerical controller which can automatically generate a tool path to eliminate the need for describing again a program to cut an uncut area and also to attain a machining with no uncut area in a tool path shorter than the conventional one. SOLUTION: This numerical controller which generates a tool path to cut the graphic shape inside is provided with a graphic shape definition means 101 which reads the machining program out of a machining program store memory 100 and defines a graphic shape, an approximate graphic production means 102 which approximates both ends of the graphic shape defined by the means 101 by a circular arc touching three sides of the graphic shape and also approximates other areas of the graphic shape by a circular arc or a straight line touching two sides of the graphic shape, the tool path generation means 103 and 104 which generate the tool paths based on the approximate graphic produced by the means 102. In such a constitution, the numerical controller generates a tool path for the approximate graphic inside and then generates a too path for the uncut area between the defined graphic shape and the approximate graphic.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、数値制御装置に
関するもので、特に工具経路を自動生成する数値制御装
置に関するものであり、また数値制御装置のシミュレー
タを備えたCAM(Computer Aided M
anufacturing)に利用可能なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller, and more particularly to a numerical controller for automatically generating a tool path, and a CAM (Computer Aided M) equipped with a simulator for the numerical controller.
It can be used for an aufacturing).

【0002】[0002]

【従来の技術】図17は、従来の数値制御装置のブロッ
ク図である。図において、100は加工プログラムを格
納する加工プログラム格納メモリ、101は加工プログ
ラム格納メモリ100から加工プログラムを読み込み、
図形の形状を定義する図形形状定義手段、190は定義
された形状を基に工具経路を自動生成する工具経路生成
手段である。工具経路生成手段190では、プログラム
された形状の外側を加工する場合は、定義された形状を
拡大しながら工具経路を自動生成し、また、プログラム
された形状の内側を加工する場合は、定義された形状を
縮小しながら工具経路を自動生成する。200は補間処
理部で、自動生成された工具経路は補間単位に分割さ
れ、モータ210を駆動する。
2. Description of the Related Art FIG. 17 is a block diagram of a conventional numerical control apparatus. In the figure, 100 is a machining program storage memory that stores a machining program, 101 is a machining program storage memory that reads a machining program,
A graphic shape defining unit that defines the shape of the graphic, and 190 is a tool path creating unit that automatically creates a tool path based on the defined shape. The tool path generation means 190 automatically generates a tool path while enlarging the defined shape when machining the outside of the programmed shape, and defines it when machining the inside of the programmed shape. The tool path is automatically generated while reducing the shape. An interpolation processing unit 200 divides the automatically generated tool path into interpolation units and drives the motor 210.

【0003】また、191は工程レイアウト情報格納メ
モリ、192は工具ファイル格納メモリ、193は加工
プログラム格納メモリ100、工程レイアウト情報格納
メモリ191、および工具ファイル格納メモリ192か
ら、加工プログラム、あらかじめ決定されている加工工
程のレイアウト情報、およびプログラムに記述された工
具の情報を読み込み加工シミュレーションを行うシミュ
レーション手段、194は画面制御手段、195はシミ
ュレーションの実行過程を表示する表示手段としてのC
RTディスプレイである。
Further, 191 is a process layout information storage memory, 192 is a tool file storage memory, 193 is a machining program storage memory 100, a process layout information storage memory 191, and a tool file storage memory 192. A simulation means for performing the machining simulation by reading the layout information of the machining process and the information of the tool described in the program, 194 is a screen control means, and 195 is C as a display means for displaying the simulation execution process.
It is an RT display.

【0004】図18は、形状の内側を切削する場合に自
動生成された従来の最短工具経路を示す図である。図に
おいて、51はプログラムされた図形、52は工具直径
を表す円、53は工具経路、54はプログラムされた図
形51を縮小する幅として工具の直径を使用して工具経
路53を自動生成した場合に生ずる削り残し部分であ
る。
FIG. 18 is a diagram showing a conventional shortest tool path that is automatically generated when cutting the inside of a shape. In the figure, 51 is a programmed figure, 52 is a circle showing a tool diameter, 53 is a tool path, 54 is a case where the tool path 53 is automatically generated using the diameter of the tool as a width for reducing the programmed figure 51. It is the uncut portion that occurs in.

【0005】図19は、形状の内側を切削する場合に自
動生成された従来の一般的な工具経路を示す図である。
図において、51はプログラムされた図形、52は工具
直径を表す円、55は工具経路である。図19では、図
18における削り残し部分54を考慮して、プログラム
された図形51を縮小する幅として、工具直径の数10
パーセントとしたものである。
FIG. 19 is a view showing a conventional general tool path automatically generated when cutting the inside of a shape.
In the figure, 51 is a programmed figure, 52 is a circle representing a tool diameter, and 55 is a tool path. In FIG. 19, in consideration of the uncut portion 54 in FIG.
It is a percentage.

【0006】図20は、従来の数値制御装置の工具経路
生成処理のフローチャートである。図形形状定義手段1
01は、ステップs501で加工プログラム格納メモリ
100から加工プログラムを読み込み、ステップs50
2で読み込んだ加工プログラムから図形の形状を定義す
る。
FIG. 20 is a flow chart of the tool path generation processing of the conventional numerical control apparatus. Graphic shape definition means 1
01 reads the machining program from the machining program storage memory 100 in step s501, and step s50
The shape of the figure is defined from the machining program read in 2.

【0007】次に、工具経路生成手段190はステップ
s503で初回の切り込みかどうかを判定し、初回の切
り込みの場合は、ステップs504で図形形状を工具半
径だけシフトして図形形状をなぞる工具経路を生成し、
ステップs505で工具にかかる負荷を100パーセン
トとして次式により送り速度を計算する。[プログラム
された送り速度]×[係数1]、0<係数1<1
Next, in step s503, the tool path generating means 190 determines whether or not it is the first cut, and if it is the first cut, in step s504 the tool path is traced by shifting the figure shape by the tool radius. Generate,
In step s505, the load on the tool is set to 100%, and the feed rate is calculated by the following equation. [Programmed feed rate] × [coefficient 1], 0 <coefficient 1 <1

【0008】2回目以降の切り込みの場合は、ステップ
s506で前回の工具経路に対して[工具直径]×[係
数2]、0<係数2<1をシフト量とする工具経路を生
成し、ステップs507で2回目以降の切り込みの送り
速度としてプログラムされた送り速度を選択する。ステ
ップs508で、全工具経路終了か否かを判定し、生成
した工具経路が最終工具経路でなければ、最終工具経路
となるまで工具経路生成処理(ステップs505)、お
よび送り速度選択処理(ステップs506)を繰り返
す。
In the case of the second and subsequent cuts, in step s506, a tool path having a shift amount of [tool diameter] × [coefficient 2], 0 <coefficient 2 <1 is generated with respect to the previous tool path, and step s506 is executed. In s507, the programmed feed rate is selected as the feed rate for the second and subsequent cuts. In step s508, it is determined whether or not all tool paths have ended, and if the generated tool path is not the final tool path, tool path generation processing (step s505) and feed rate selection processing (step s506) until the final tool path is reached. )repeat.

【0009】図21は、従来のシミュレーションの実行
過程を表示した画面である。図において、56はCRT
画面、57は工具の形状、58は工具57によって切削
されて刻刻と変化していく素材の形状である。
FIG. 21 is a screen displaying the execution process of a conventional simulation. In the figure, 56 is a CRT
The screen, 57 is the shape of the tool, and 58 is the shape of the material that is cut by the tool 57 and changes from time to time.

【0010】[0010]

【発明が解決しようとする課題】上述のような、従来の
工具経路を自動生成する数値制御装置は、削り残しを生
じた場合、改めて削り残した部分を切削するためには、
別の工具を使用したプログラムを作成しなければならな
いので、操作面での煩わしさがあるという問題点があ
り、また、削り残しをなくすためには数多くの工具経路
を生成する必要があり、加工時間が長くなるという問題
点があった。
The conventional numerical control device for automatically generating a tool path as described above, when the uncut portion is left, needs to cut the portion left uncut.
Since it is necessary to create a program using another tool, there is a problem in that it is troublesome in terms of operation.Moreover, it is necessary to generate a large number of tool paths to eliminate uncut residue, There was a problem that the time was long.

【0011】さらに、削り残し部分を再度切削する時、
既に切削した部分と、新たに切削する部分とで送り速度
が同じであるため、加工時間が長くなるという問題点が
あった。
Furthermore, when cutting the uncut portion again,
Since the feed rate is the same between the already cut portion and the newly cut portion, there is a problem that the processing time becomes long.

【0012】さらにまた、速度指令は一定であるので、
切削中に工具にかかる負荷に変動が有った場合、滑らか
な仕上げ面を得ることが難しいという問題点があった。
Furthermore, since the speed command is constant,
When the load applied to the tool during cutting varies, it is difficult to obtain a smooth finished surface.

【0013】また、加工シミュレーションにおいて、加
工形状は認識できるが、実際の加工による誤差などの細
部の寸法を確認することができないという問題点があっ
た。
Further, in the machining simulation, although the machining shape can be recognized, there is a problem that it is not possible to confirm the detailed dimension such as an error due to actual machining.

【0014】さらに、前もって決められた工程のレイア
ウト情報に従って工具経路を生成しているので、頻繁に
工具交換を行うような指令を出力された場合に、加工時
間が長くなるという問題点があった。
Further, since the tool path is generated in accordance with the layout information of the process determined in advance, there is a problem that the machining time becomes long when a command for frequently changing the tool is output. .

【0015】また、選択される工具は、プログラムに記
述された通りの工具を使用する為、加工時間を短くする
為の工具選択をプログラマが行わなければならず、プロ
グラムの能率が落ちるという問題点があった。
Further, since the tool to be selected uses the tool described in the program, the programmer has to select the tool to shorten the machining time, which causes a problem that the efficiency of the program decreases. was there.

【0016】[0016]

【課題を解決するための手段】この発明に係る数値制御
装置においては、近似図形作成手段は、図形形状定義手
段が加工プログラム格納メモリから加工プログラムを読
み込み、定義した図形形状を、図形形状の両端を3辺に
接する円弧で他の箇所を2辺に接する円弧または直線で
近似し、工具経路生成手段はこの近似図形作成手段で作
成された近似図形を基に工具経路を生成するものであ
る。
In the numerical control device according to the present invention, the approximate figure creating means is such that the figure shape defining means reads the machining program from the machining program storage memory, and defines the defined figure shape at both ends of the figure shape. Is approximated by an arc that is in contact with three sides by an arc or a line that is in contact with two sides, and the tool path generation means generates a tool path based on the approximate graphic created by the approximate graphic creation means.

【0017】また、この発明に係る数値制御装置におい
ては、削り残し判別手段は、立体情報格納メモリに格納
されているところの、図形形状変換手段で均一な大きさ
の立体に分割された空間の情報および図形が占める立体
に付けられた図形定義のマークの情報と、工具経路生成
手段で工具が通過するところの立体に付けられた切削済
みのマークの情報とのうち、図形定義のマークの情報と
切削済みのマークの情報とにより削り残しを判別し、移
動コード変更手段は削り残し部分を切削するために生成
した工具経路が既に切削済みのマークが付いている立体
を含んでいるか調べ、この工具経路が既に切削済みのマ
ークが付いている立体を含んでいる場合には、この工具
経路を未切削部分を削る工具経路と既に切削した部分を
通過する工具経路とに分割し、既に切削した部分では早
送りで移動するように送り速度を変更するものである。
Further, in the numerical controller according to the present invention, the uncut portion discriminating means is stored in the stereoscopic information storing memory, and is stored in the stereoscopic information storing memory. Information of the graphic definition mark among the information and the information of the graphic definition mark attached to the solid body occupied by the graphic and the information of the cut mark attached to the solid body where the tool passes by the tool path generation means. And the information of the cut mark is used to determine the uncut portion, and the movement code changing means checks whether the tool path generated for cutting the uncut portion includes a solid body with the already cut mark. If the tool path includes a solid with a mark already cut, this tool path cuts the uncut part and the tool path that passes through the already cut part. Is divided into, the already cut portion is to change the feed rate to move in rapid traverse.

【0018】さらに、この発明に係る数値制御装置にお
いては、切削負荷検出手段は、立体情報格納メモリに格
納されているところの、図形形状変換手段で均一な大き
さの立体に分割された空間の情報および図形が占める立
体に付けられた図形定義のマークの情報と、工具経路生
成手段で工具が通過するところの立体に付けられた切削
済みのマークの情報とのうち、図形定義のマークの情報
とモデル化した工具の情報とにより工具の負荷を検出
し、送り速度変更手段は検出された工具の負荷に応じて
送り速度を計算するものである。
Further, in the numerical control device according to the present invention, the cutting load detection means is stored in the three-dimensional information storage memory, and is stored in the three-dimensional information storage memory in the space divided into three-dimensional bodies of uniform size. Information of the graphic definition mark among the information and the information of the graphic definition mark attached to the solid body occupied by the graphic and the information of the cut mark attached to the solid body where the tool passes by the tool path generation means. The tool load is detected based on the modeled tool information, and the feed rate changing means calculates the feed rate according to the detected tool load.

【0019】また、この発明に係る数値制御装置におい
ては、空間を均一な大きさの立体に分割すると共に、こ
の立体のうち空間内にあるプログラムされた図形が占め
る立体に図形定義のマークを付け、均一な大きさの立体
に分割された空間の情報および図形が占める立体に付け
られた図形定義のマークの情報を立体情報格納メモリに
格納し、シミュレーション手段は工具経路を生成すると
共に、生成された工具経路を補間単位に分割し補間デー
タを作成し、工具が通過するところの立体に切削済みの
マークを付け、この切削済みのマークの情報をシミュレ
ーション結果格納メモリに格納し、寸法演算手段はこの
シミュレーション結果格納メモリに格納された切削済み
のマークの情報により切削部分の寸法を演算し、寸法表
示用データとして寸法表示用データ格納メモリに格納す
るようにしたものである。
Further, in the numerical controller according to the present invention, the space is divided into solid bodies of uniform size, and a solid defined by the programmed graphics in the space is marked with a graphic definition mark. , The information of the space divided into a solid of a uniform size and the information of the mark of the graphic definition attached to the solid occupied by the graphic are stored in the solid information storage memory, and the simulation means generates the tool path and The tool path is divided into interpolation units to create interpolation data, a cut mark is added to the solid body where the tool passes, and the information of this cut mark is stored in the simulation result storage memory. The size of the cut part is calculated from the information of the cut mark stored in this simulation result storage memory, and it is used as the size display data. It is obtained so as to store the law display data storage memory.

【0020】また、この発明の数値制御装置において、
レイアウト変更手段は工程レイアウト情報を格納する工
程レイアウト情報格納メモリの情報から工程レイアウト
を選択し、シミュレーション手段はこのレイアウト変更
手段で選択された工程レイアウトに基づき、加工プログ
ラムの加工シミュレーションを行い、シミュレーション
した結果を結果格納メモリに格納し、最短加工時間レイ
アウト選択手段はこの結果格納メモリに格納されている
工程レイアウトより最短時間で加工を完了する工程レイ
アウトを探し出し、前記工程レイアウト情報格納メモリ
に工程レイアウト情報を書き込むものである。
In the numerical controller according to the present invention,
The layout changing unit selects a process layout from the information in the process layout information storage memory that stores the process layout information, and the simulation unit performs a machining simulation of a machining program based on the process layout selected by the layout changing unit and performs simulation. The result is stored in the result storage memory, and the shortest processing time layout selecting means finds a process layout that completes the processing in the shortest time from the process layout stored in the result storage memory, and stores the process layout information in the process layout information storage memory. Is to write.

【0021】また、この発明の数値制御装置において、
レイアウト変更手段は工程レイアウト情報を格納する工
程レイアウト情報格納メモリの情報から工程レイアウト
を選択し、シミュレーション手段はこのレイアウト変更
手段で選択された工程レイアウトに基づき、加工プログ
ラムの加工シミュレーションを行い、シミュレーション
した結果を結果格納メモリに格納し、最短加工時間レイ
アウト選択手段はこの結果格納メモリに格納されている
工程レイアウトより最短時間で加工を完了する工程レイ
アウトを探し出し、前記工程レイアウト情報格納メモリ
に工程レイアウト情報を書き込むものである。
In the numerical controller according to the present invention,
The layout changing unit selects a process layout from the information in the process layout information storage memory that stores the process layout information, and the simulation unit performs a machining simulation of a machining program based on the process layout selected by the layout changing unit and performs simulation. The result is stored in the result storage memory, and the shortest processing time layout selecting means finds a process layout that completes the processing in the shortest time from the process layout stored in the result storage memory, and stores the process layout information in the process layout information storage memory. Is to write.

【0022】さらに、この発明の数値制御装置におい
て、最大径工具選択手段は工具データを格納する工具フ
ァイルメモリの情報から加工に使用する工具を選択し、
シミュレーション手段はこの最大径工具選択手段で選択
された工具に基づき、加工プログラムの加工シミュレー
ションを行い、シミュレーションした結果を結果格納メ
モリに格納し、最短加工時間工具組み合わせ選択手段は
この結果格納メモリに格納されている工具の組み合わせ
より最短時間で加工を完了する工具の組み合わせを探し
出し、加工プログラム格納メモリに工程レイアウト情報
を書き込むものである。
Further, in the numerical controller according to the present invention, the maximum diameter tool selecting means selects a tool to be used for machining from the information in the tool file memory storing the tool data,
The simulation means performs a machining simulation of the machining program based on the tool selected by the maximum diameter tool selection means, stores the simulation result in the result storage memory, and the shortest machining time tool combination selection means stores it in the result storage memory. A tool combination that completes machining in the shortest time is searched for from the existing tool combinations, and the process layout information is written in the machining program storage memory.

【0023】さらに、この発明の数値制御装置におい
て、最大径工具選択手段は工具データを格納する工具フ
ァイルメモリの情報から加工に使用する工具を選択し、
シミュレーション手段はこの最大径工具選択手段で選択
された工具に基づき、加工プログラムの加工シミュレー
ションを行い、シミュレーションした結果を結果格納メ
モリに格納し、最短加工時間工具組み合わせ選択手段は
この結果格納メモリに格納されている工具の組み合わせ
より最短時間で加工を完了する工具の組み合わせを探し
出し、加工プログラム格納メモリに工程レイアウト情報
を書き込むものである。
Further, in the numerical controller according to the present invention, the maximum diameter tool selecting means selects a tool to be used for machining from the information in the tool file memory storing the tool data,
The simulation means performs a machining simulation of the machining program based on the tool selected by the maximum diameter tool selection means, stores the simulation result in the result storage memory, and the shortest machining time tool combination selection means stores it in the result storage memory. A tool combination that completes machining in the shortest time is searched for from the existing tool combinations, and the process layout information is written in the machining program storage memory.

【0024】さらにまた、この発明の数値制御装置にお
いて、最大径工具選択手段は工具データを格納する工具
ファイルメモリの情報から加工に使用する工具を選択
し、レイアウト変更手段は工程レイアウト情報を格納す
る工程レイアウト情報格納メモリの情報から工程レイア
ウトを選択し、シミュレーション手段はこの最大径工具
選択手段で選択された工具およびこのレイアウト変更手
段で選択された工程レイアウトに基づき、加工プログラ
ムの加工シミュレーションを行い、シミュレーションし
た結果を結果格納メモリに格納し、最短加工時間工具組
み合わせ選択手段はこの結果格納メモリに格納されてい
る工具の組み合わせより最短時間で加工を完了する工具
の組み合わせを探し出し、加工プログラム格納メモリに
工程レイアウト情報を書き込み、最短加工時間レイアウ
ト選択手段はこの結果格納メモリに格納されている工程
レイアウトより最短時間で加工を完了する工程レイアウ
トを探し出し、前記工程レイアウト情報格納メモリに工
程レイアウト情報を書き込むものである。
Furthermore, in the numerical controller of the present invention, the maximum diameter tool selecting means selects a tool to be used for machining from the information in the tool file memory storing the tool data, and the layout changing means stores the process layout information. The process layout is selected from the information in the process layout information storage memory, and the simulation means performs a machining simulation of the machining program based on the tool selected by the maximum diameter tool selection means and the process layout selected by the layout change means, The simulation result is stored in the result storage memory, and the shortest machining time tool combination selection means finds a combination of tools that completes machining in the shortest time from the tool combination stored in this result storage memory, and stores it in the machining program storage memory. Process layout information Writing, the shortest processing time layout selection means locates the complete process layout from the machining in the shortest time step layout that is stored in the result storage memory, and writes the process layout information to the process layout information storage memory.

【0025】[0025]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

発明の実施の形態1.図1は、この発明の一実施形態で
ある数値制御装置のブロック図である。図において、1
00は加工プログラムを格納する加工プログラム格納メ
モリ、101は加工プログラム格納メモリ100から加
工プログラムを読み込み、図形の形状を定義する図形形
状定義手段、102は図形形状定義手段101で定義さ
れた図形を円弧と直線で近似する近似図形作成手段、1
03は近似図形作成手段102で近似された図形を拡大
または縮小して工具経路を生成する第1の工具経路生成
手段、104は近似された図形を縮小または拡大して工
具経路を生成する第2の工具経路生成手段、200は自
動生成された工具経路を補間単位に分割する補間処理手
段、210はモータである。
First Embodiment of the Invention FIG. 1 is a block diagram of a numerical controller according to an embodiment of the present invention. In the figure, 1
00 is a machining program storage memory for storing a machining program, 101 is a figure shape defining means for reading the machining program from the machining program storage memory 100 to define the shape of the figure, and 102 is an arc of the figure defined by the figure shape defining means 101. And an approximate figure creating means for approximating with a straight line, 1
Reference numeral 03 is a first tool path generating means for enlarging or reducing the approximated figure by the approximate figure creating means 102 to generate a tool path, and reference numeral 104 is a second for reducing or expanding the approximated figure to generate a tool path. Is a tool path generating means, 200 is an interpolation processing means for dividing the automatically generated tool path into interpolation units, and 210 is a motor.

【0026】図2は、この発明に係る一実施形態によっ
て自動生成される工具経路を示した図である。図におい
て、1はプログラムされた図形、2は工具直径を表す
円、3は接点、4は接点、5は接点、6はプログラムさ
れた図形1の3辺に接点3、接点4および接点5の3点
で接する円弧、7は接点、8は接点、9は接点、10は
プログラムされた図形1の3辺に接点7、接点8および
接点9の3点で接する円弧、11は接点、12は接点、
13はプログムされた図形1の2辺に接点11および接
点12の2点で接する円弧、14は図形近似手段102
により定義された図形を円弧と直線で近似した近似図
形、15は工具2の外側が近似図形の内側に接する工具
経路、16は近似図形14の外側にある削り残し部分で
ある。
FIG. 2 is a diagram showing a tool path automatically generated by an embodiment according to the present invention. In the figure, 1 is a programmed figure, 2 is a circle representing a tool diameter, 3 is a contact point, 4 is a contact point, 5 is a contact point, and 6 is a contact point 3, a contact point 4 and a contact point 5 on three sides of the programmed figure 1. Arcs contacting at three points, 7 is a contact point, 8 is a contact point, 9 is a contact point, 10 is a contact point on three sides of the programmed figure 1, and 7 are contact points, 8 and 9 are three contact points, 11 is a contact point, and 12 is a contact point. contact,
Reference numeral 13 denotes a circular arc which is in contact with two sides of the programmed figure 1 at two points of a contact point 11 and a contact point 12, and 14 is a figure approximating means 102.
Approximate figure obtained by approximating the figure defined by the above with a circular arc and a straight line, 15 is a tool path in which the outside of the tool 2 is in contact with the inside of the approximate figure, and 16 is an uncut portion outside the approximate figure 14.

【0027】図3、図4および図5は、この発明の一実
施形態である自動生成された工具経路を示した図であ
る。図3において、21はプログラムされた図形、22
は工具直径を表す円、23は接点、24は接点、25は
接点、26はプログラムされた図形21の3辺に接点2
3、接点24および接点25の3点で接する円弧、27
は接点、28は接点、29は接点、30はプログラムさ
れた図形21の3辺に接点27、接点28および接点2
9の3点で接する円弧、31は図形近似手段102によ
り定義された図形を円弧と直線で近似した近似図形、3
2は工具22の外側が近似図形の内側に接する工具経
路、33は近似図形21の外側にある削り残し部分であ
る。
FIGS. 3, 4 and 5 are views showing an automatically generated tool path which is an embodiment of the present invention. In FIG. 3, 21 is a programmed figure, 22
Is a circle representing the tool diameter, 23 is a contact point, 24 is a contact point, 25 is a contact point, and 26 is a contact point 2 on three sides of the programmed figure 21.
3, arcs that contact at three points of contact point 24 and contact point 25, 27
Is a contact, 28 is a contact, 29 is a contact, 30 is a contact 27, a contact 28 and a contact 2 on three sides of the programmed graphic 21.
An arc which is in contact with three points 9 and 31 is an approximate figure obtained by approximating the figure defined by the figure approximating means 102 with an arc and a straight line, 3
Reference numeral 2 denotes a tool path in which the outside of the tool 22 contacts the inside of the approximate figure 21, and 33 is an uncut portion outside the approximate figure 21.

【0028】図4および図5は、この発明の一実施形態
である自動生成された工具経路を示した図であり、近似
図形の外側を切削する工具経路を示したものである。図
において、35は近似図形を工具の半径に等しい値だけ
拡大した工具経路、36および37は工具経路35とプ
ログラムされた図形21の内側に沿うような工具経路と
の交点、38および39は近似図形21の外側にある削
り残し部分33を切削する工具経路である。
4 and 5 are views showing an automatically generated tool path according to an embodiment of the present invention, showing a tool path for cutting the outside of the approximated figure. In the figure, 35 is a tool path obtained by enlarging the approximate shape by a value equal to the radius of the tool, 36 and 37 are intersections of the tool path 35 and the tool path along the inside of the programmed shape 21, and 38 and 39 are approximate. It is a tool path for cutting the uncut portion 33 outside the figure 21.

【0029】また、図6は、この発明の一実施形態であ
る数値制御装置のフローチャートである。次に、動作に
ついて図1、図2、図3、図4、図5および図6を用い
て説明する。ステップs100で加工プログラムを読み
込み、ステップs101で、プログラムされた図形を、
3辺に接する円弧と直線で近似する。(図3では、3辺
に接点23、接点24および接点25で接する円弧26
と、3辺に接点27、接点28および接点29で接する
円弧30と、接点25と接点27とを結ぶ直線および接
点29と接点23とを結ぶ直線で近似した近似図形21
に変換する。)
FIG. 6 is a flow chart of the numerical controller according to one embodiment of the present invention. Next, the operation will be described with reference to FIGS. 1, 2, 3, 4, 5, and 6. In step s100, the machining program is loaded, and in step s101, the programmed figure is
It is approximated by a straight line and an arc that touches three sides. (In FIG. 3, the circular arc 26 that contacts the three sides with the contact point 23, the contact point 24, and the contact point 25)
And an approximated figure 21 approximated by a circular arc 30 which is in contact with the contact points 27, 28 and 29 on three sides, a straight line connecting the contact points 25 and 27 and a straight line connecting the contact points 29 and 23.
Convert to )

【0030】ステップs102で、3辺に接する円弧が
存在しない部分があるかを判定する。3辺に接する円弧
が存在しない部分がある場合には、ステップs103
で、2辺に接する円弧で近似する。(図2の、2辺に接
点11、接点12で接する円弧13がこれに相当し、こ
の場合は3辺に接点3、接点4および接点5で接する円
弧6と、3辺に接点7、接点8および接点9で接する円
弧10と、2辺に接点11、接点12で接する円弧13
と、接点5と接点7とを結ぶ直線、接点9と接点11と
を結ぶ直線および接点9と接点11とを結ぶ直線で近似
した近似図形14に変換する。)
In step s102, it is determined whether or not there is a portion where there are no arcs in contact with the three sides. If there is a portion that does not have an arc that touches the three sides, step s103
Then, it is approximated by an arc that touches two sides. (A circular arc 13 that contacts the two sides with the contact 11 and the contact 12 corresponds to this, and in this case, an arc 6 that contacts the three sides with the contact 3, the contact 4, and the contact 5 and a contact 7 and the contact 3 with the three sides. 8 and the arc 10 that contacts with the contact 9, and the arc 13 that contacts with the contact 11 and the contact 12 on two sides
And a straight line connecting the contact points 5 and 7, a straight line connecting the contact points 9 and 11, and a straight line connecting the contact points 9 and 11 are converted into an approximate figure 14. )

【0031】ステップs104で、工具の外側が、近似
図形の内側に接するような工具経路を生成する(図2の
工具経路15、図3の工具経路32)。ステップs10
5で前回の工具経路を工具の直径と等しい値、あるい
は、工具の直径よりもわずかに小さい値(例えば工具の
直径よりも0.001ミリメートル小さい値など)だけ
縮小して、新たな工具経路を生成する。
In step s104, a tool path is created such that the outside of the tool is in contact with the inside of the approximate figure (tool path 15 in FIG. 2, tool path 32 in FIG. 3). Step s10
In step 5, the previous tool path is reduced by a value equal to the diameter of the tool or a value slightly smaller than the diameter of the tool (for example, 0.001 millimeters smaller than the diameter of the tool), and a new tool path is created. To generate.

【0032】ステップs106で、近似図形の内側の工
具経路を全て生成したか判定し、近似図形の内側の工具
経路を全て生成するまで、ステップs105の工具経路
を生成する処理を繰り返す。
In step s106, it is determined whether all tool paths inside the approximate graphic have been generated, and the processing for generating tool paths in step s105 is repeated until all tool paths inside the approximate graphic are generated.

【0033】近似図形の内側の工具経路を全て生成した
場合は、続いて近似図形の外側にある削り残し部分を切
削する工具経路を生成する(図2の削り残し部分16、
図3の削り残し部分33)。以下、近似図形の外側を切
削する工具経路を示す図4および図5により説明する。
When all the tool paths inside the approximate figure have been generated, a tool path for cutting the uncut portion outside the approximate figure is then generated (the uncut portion 16 in FIG. 2).
The uncut portion 33 of FIG. 3). Hereinafter, description will be given with reference to FIGS. 4 and 5 showing a tool path for cutting the outside of the approximated figure.

【0034】ステップs107で、近似図形31を工具
22の半径分拡大して、近似図形31の外側で、かつプ
ログラムされた図形21の内側を切削する工具経路を生
成する。図4において、プログラムされた図形21の内
側に沿うような工具経路を生成し、この工具経路と近似
図形31を工具2の半径分拡大した図形35とが交点を
有する場合には、その交わった部分(交点36、37)
は、拡大した図形35の円弧部分を経由するように工具
経路38を生成する。
In step s107, the approximate figure 31 is enlarged by the radius of the tool 22 to generate a tool path for cutting the outside of the approximate figure 31 and the inside of the programmed figure 21. In FIG. 4, a tool path is generated so as to follow the inside of the programmed figure 21, and if this tool path and the figure 35 obtained by enlarging the approximate figure 31 by the radius of the tool 2 have intersections, they intersect. Part (intersection 36, 37)
Generates the tool path 38 so as to pass through the arc portion of the enlarged graphic 35.

【0035】ステップs108で、近似した図形の外側
の全ての工具経路を生成したか判定し、近似した図形の
外側の全ての工具経路を生成するまで、ステップs10
7の工具経路を生成する処理を繰り返す。ここで、近似
した図形の外側の全ての工具経路を生成したか判定は、
図5に示すように、近似した図形を更に拡大(工具2の
半径分拡大)した工具経路を生成し、プログラムされた
図形21の内側に沿うような工具経路との交点が存在し
ない場合は、近似した図形の外側の全ての工具経路を生
成したと判定し、プログラムされた図形21の内側に沿
う工具経路39を生成する。
In step s108, it is determined whether all tool paths outside the approximated figure have been generated, and all tool paths outside the approximated figure are generated until step s10.
The process of generating the tool path 7 is repeated. Here, it is determined whether all tool paths outside the approximated figure are generated,
As shown in FIG. 5, when a tool path is generated by further enlarging the approximated figure (enlarged by the radius of the tool 2) and there is no intersection with the tool path along the inside of the programmed figure 21, It is determined that all tool paths outside the approximated figure have been generated, and the tool path 39 along the inside of the programmed figure 21 is generated.

【0036】発明の実施の形態2.図7は、この発明に
係る一実施形態に利用する空間定義技法を説明した図で
ある。図において、40は素材形状、41はプログラム
された図形形状、42は素材形状を定義するための決ま
った大きさの直方体、あるいは立方体(以下、Voxe
lと記す)、43はプログラムされた図形形状を示すた
めにマークされたVoxelである。
Embodiment 2 of the Invention FIG. 7 is a diagram illustrating a space definition technique used in an embodiment according to the present invention. In the figure, 40 is a material shape, 41 is a programmed graphic shape, 42 is a rectangular parallelepiped or a cube (hereinafter referred to as Voxe) having a predetermined size for defining the material shape.
), 43 is a Voxel marked to show the programmed graphic shape.

【0037】図8は、この発明に係る一実施形態の数値
制御装置のブロック図である。図において、100は加
工プログラムを格納する加工プログラム格納メモリ、1
10は、空間を均一な大きさの立体であるVoxelに
分割すると共に、このVoxelのうち空間内にあるプ
ログラムされた図形が占めるVoxelに図形定義のマ
ークを付け、このマークの付いたVoxelの集合とし
て図形を表現する図形形状変換手段としてのVoxel
array変換手段、111は工具経路を生成すると
共に、生成した工具経路によって、工具が通過するVo
xelに切削済みのマークを付ける工具経路生成手段、
112はVoxel array変換手段110で作成
したVoxel array、および工具経路生成手段
111で切削済みのマークを付けたVoxelを格納す
るVoxel array格納メモリ、113は立体定
義マークが付いているVoxelで切削済みのマークが
付いていないVoxelを削り残しと判別する削り残し
判別手段、114は早送り(G00)、切削送り(G0
1、G02、G03)などの移動コードを変更する移動
コード変更手段、200は自動生成された工具経路を補
間単位に分割する補間処理手段、210はモータであ
る。
FIG. 8 is a block diagram of a numerical controller according to an embodiment of the present invention. In the figure, 100 is a machining program storage memory for storing a machining program, 1
Reference numeral 10 divides the space into Voxels that are solid bodies of uniform size, and also marks the Voxels occupied by the programmed figures in the space in this Voxel with a figure definition mark, and sets the Voxels with this mark. As a figure shape conversion means for expressing a figure as
The array converting means 111 generates a tool path, and Vo that the tool passes is generated by the generated tool path.
tool path generation means for attaching a cut mark to xel,
Reference numeral 112 denotes a Voxel array created by the Voxel array conversion means 110, and a Voxel array storage memory for storing the Voxel marked with the mark that has been cut by the tool path generation means 111, and 113 has been cut by the Voxel with a solid definition mark. Uncut remaining discriminating means for discriminating Voxel without a mark as uncut portion, 114 is fast feed (G00), cutting feed (G0).
1, G02, G03) and the like, movement code changing means for changing the movement code, 200 is interpolation processing means for dividing the automatically generated tool path into interpolation units, and 210 is a motor.

【0038】図9は、この発明に係る一実施形態の数値
制御装置のフローチャートである。次に、動作について
図7、図8および図9を用いて説明する。Voxel
array変換手段110は、ステップs110で加工
プログラム格納メモリ100に格納されている加工プロ
グラムを読み込んで、ステップs111でプログラムさ
れた図形形状を認識し、ステップ112で工具の直径を
底面の直径とする円柱で工具をモデル化する。
FIG. 9 is a flow chart of the numerical controller according to the embodiment of the present invention. Next, the operation will be described with reference to FIGS. 7, 8 and 9. Voxel
The array conversion means 110 reads the machining program stored in the machining program storage memory 100 in step s110, recognizes the programmed figure shape in step s111, and in step 112 the cylinder whose diameter is the diameter of the bottom surface of the tool. Model the tool with.

【0039】ステップs113で、材料の形状をVox
el42にて分割し、さらに材料内に在るプログラムさ
れた立体41が占めるVoxelに立体定義マークを付
け、この立体定義マークの付いたVoxel43の集合
としてプログラムされた立体41を表現する。ここで、
作成した全てのVoxelをVoxel array格
納メモリ112に格納する。
At step s113, the shape of the material is Vox.
Voxel which is divided by el42 and which is occupied by the programmed solid 41 in the material is marked with a solid definition mark, and the programmed solid 41 is expressed as a set of Voxels 43 with the solid definition mark. here,
All the created Voxels are stored in the Voxel array storage memory 112.

【0040】次に、工具経路生成手段111はステップ
s114で工具経路を生成する。ステップs115では
生成された工具経路によって、工具が通過するVoxe
lを調べ、工具が通過するVoxelに切削済みのマー
クを付ける。ステップs116で最終の工具経路を生成
したかどうかを判断し、最終工具経路を生成するまで、
ステップs114とステップs115とを繰り返す。
Next, the tool path generating means 111 generates a tool path in step s114. In step s115, the Voxe through which the tool passes according to the generated tool path.
Check l and make a cut mark on the Voxel through which the tool passes. In step s116, it is determined whether the final tool path is generated, and until the final tool path is generated,
Steps s114 and s115 are repeated.

【0041】最終工具経路を発生し終えたら、ステップ
s117で削り残し判別手段113は、Voxel a
rray格納メモリ112内の全てのVoxelをチェ
ックし、削り残しがないか否か判別する。この判別は、
立体定義マークが付いているVoxelで切削済みのマ
ークが付いていないVoxelを削り残しと判別する。
After the final tool path is generated, the uncut portion discriminating means 113 determines the Voxel a in step s117.
All Voxels in the rray storage memory 112 are checked to determine whether there is any uncut portion. This determination is
It is determined that the Voxel that has already been cut with the Voxel with the solid definition mark is left uncut.

【0042】削り残しがあると判断した場合は、工具経
路生成手段111はステップs118で削り残した部分
を改めて切削するには、他の工具(例えば、径の小さい
工具)に交換する必要があるかどうかを判定し、工具交
換の必要がある場合は、ステップs119で工具交換命
令を出力する。ステップs120で削り残し部分を改め
て切削するための工具経路を生成する。
If it is determined that there is an uncut portion, the tool path generation means 111 needs to replace it with another tool (for example, a tool having a small diameter) in order to cut again the portion left uncut in step s118. If it is necessary to replace the tool, a tool replacement command is output in step s119. In step s120, a tool path for recutting the uncut portion is generated.

【0043】移動コード変更手段114は、ステップs
121で、削り残し部分を改めて切削するために生成し
た工具経路中に、既に切削済みのマークが付いているV
oxelが存在するか否かを調べ、既に切削済みのマー
クが付いているVoxelが存在する場合には、この工
具経路を、未切削部分を削る工具経路と、既に切削した
部分を通過する工具経路に分割し、既に切削した部分で
は、早送り(G00)で移動するように送り速度を変更
する。
The movement code changing means 114 executes step s.
At 121, a V that has already been cut is added in the tool path generated for cutting the uncut portion again.
It is checked whether or not an oxel exists, and if there is a Voxel with a mark that has already been cut, this tool path is used as a tool path for cutting an uncut part and a tool path that passes through an already cut part. The feed rate is changed so that the portion that has already been cut is moved by rapid feed (G00).

【0044】再度、削り残し判別手段113はステップ
s117でVoxel array格納メモリ112内
の全てのVoxelをチェックし、削り残しがないか否
か判定する。削り残しがある場合は、ステップs118
以下の工具経路を生成する処理を繰り返し、削り残しが
無くなったところで、工具経路を生成する全ての処理を
終了する。
The uncut portion discriminating means 113 checks again all the Voxels in the Voxel array storage memory 112 in step s117 to determine whether or not there is uncut portion. If there is uncut material, step s118
The following processing for generating a tool path is repeated, and when there is no uncut portion, all processing for generating a tool path is ended.

【0045】発明の実施の形態3.図10は、この発明
に係る一実施形態の数値制御装置のブロック図である。
図において、100、110、112、200、210
は図8のブロック図と同一のものであり、その説明を省
略する。115は工具経路生成手段、116は切削負荷
検出手段、117は負荷に応じて送り速度を変更する送
り速度変更手段である。
Third Embodiment of the Invention FIG. 10 is a block diagram of a numerical controller according to an embodiment of the present invention.
In the figure, 100, 110, 112, 200, 210
Is the same as the block diagram of FIG. 8, and its description is omitted. Reference numeral 115 is a tool path generating means, 116 is a cutting load detecting means, and 117 is a feed rate changing means for changing the feed rate according to the load.

【0046】図11は、この発明に係る一実施形態の数
値制御装置の一実施例のフローチャートである。次に、
動作について図10、図11を用いて説明する。Vox
el array変換手段110は、ステップs110
で加工プログラムを読み込んで、ステップs111でプ
ログラムされた図形形状を認識し、ステップs112で
工具の直径を底面の直径とする円柱で工具をモデル化す
る。ステップs113で、材料の形状をVoxel42
にて分割し、さらに材料内に在るプログラムされた立体
41が占めるVoxelに立体定義マークを付け、この
立体定義マークの付いたVoxel43の集合としてプ
ログラムされた立体41を表現する。ここで、作成した
全てのVoxelをVoxel array格納メモリ
112に格納する。
FIG. 11 is a flow chart of an example of the numerical controller according to the embodiment of the present invention. next,
The operation will be described with reference to FIGS. Vox
The el array converting means 110 performs step s110.
At step s111, the machining program is read in to recognize the programmed figure shape, and at step s112, the tool is modeled as a cylinder having the diameter of the tool as the diameter of the bottom surface. In step s113, change the shape of the material to Voxel42.
Then, the Voxel occupied by the programmed solid 41 in the material is marked with a solid definition mark, and the programmed solid 41 is expressed as a set of Voxels 43 with the solid definition mark. Here, all the created Voxels are stored in the Voxel array storage memory 112.

【0047】工具経路生成手段115は、ステップs1
30で初回切削か否かを判定し、初回の切削の場合、ス
テップs131で図形形状を工具の半径分縮小して、工
具経路を生成する。また、2回目以降の切り込みの場合
には、ステップs132で前回の工具経路を更に工具の
直径分縮小して、工具経路を生成する。
The tool path generating means 115 has step s1.
In step 30, it is determined whether or not it is the first cutting. If it is the first cutting, the graphic shape is reduced by the radius of the tool in step s131 to generate the tool path. In addition, in the case of the second and subsequent cuts, in step s132, the previous tool path is further reduced by the diameter of the tool to generate the tool path.

【0048】切削負荷検出手段116および送り速度変
更手段117は、ステップs133で、工具の負荷を検
出し負荷に応じて送り速度を計算する。この工具の負荷
の検出は、ステップs112でモデル化した工具がVo
xelarrayにかかるVoxelの個数により行な
い、工具がVoxel arrayにかかるVoxel
の個数が多い程、工具の負荷が大きいと判断する。例え
ば、100個のVoxelが、工具のモデルにかかる時
の送り速度を100とした場合、50個のVoxelが
工具にかかれば、送り速度は200とするというよう
に、負荷に応じて送り速度を計算する。
The cutting load detecting means 116 and the feed speed changing means 117 detect the load of the tool and calculate the feed speed according to the load in step s133. To detect the load of this tool, the tool modeled in step s112 is Vo
Voxel depending on the number of Voxels applied to the xelarray and the tool applied to the Voxel array
It is determined that the load of the tool is larger as the number of is larger. For example, if 100 Voxels have a feed rate of 100 when applied to a tool model, and if 50 Voxels are applied to the tool, the feed rate will be 200, and so on. calculate.

【0049】ステップs134では最終の工具経路を生
成したかどうかを判定し、最終工具経路を生成するま
で、ステップs131以下の工具経路を生成する処理を
繰り返す。最終工具経路を生成し終えたところで、全て
の処理を終了する。
In step s134, it is determined whether or not the final tool path has been generated, and the processing for generating the tool path in and after step s131 is repeated until the final tool path is generated. When the final tool path has been generated, all the processes are finished.

【0050】発明の実施の形態4.図12は、この発明
に係る一実施形態の数値制御装置のブロック図である。
図において、100は加工プログラムを格納する加工プ
ログラム格納メモリ、110は、空間を均一な大きさの
立体であるVoxelに分割すると共に、このVoxe
lのうち空間内にあるプログラムされた図形が占めるV
oxelに図形定義のマークを付け、このマークの付い
たVoxelの集合として図形を表現する図形形状変換
手段としてのVoxel array変換手段、112
はVoxelarray格納メモリ、120は補間処理
を行なうシミュレーション手段、121はシミュレーシ
ョン結果を格納するシミュレーション結果格納メモリ、
122はVoxel arrayの切削部分の寸法を演
算する手段、123は寸法表示用データを格納する寸法
表示用データ格納メモリ、124は画面制御手段、19
5は表示手段としてのCRTである。
Embodiment 4 of the Invention FIG. 12 is a block diagram of a numerical controller according to an embodiment of the present invention.
In the figure, 100 is a machining program storage memory for storing a machining program, and 110 is a Voxel which divides a space into three-dimensional Voxels each having a uniform size.
V of a programmed figure in space of l
A Voxel array converting means as a graphic shape converting means for putting a mark of a graphic definition on an oxel and expressing the graphic as a set of Voxels with this mark, 112
Is a Voxelarray storage memory, 120 is a simulation means for performing interpolation processing, 121 is a simulation result storage memory for storing simulation results,
Reference numeral 122 is a means for calculating the size of the cutting portion of the Voxel array, 123 is a size display data storage memory for storing size display data, 124 is a screen control means, 19
Reference numeral 5 is a CRT as a display means.

【0051】図13は、この発明に係る一実施形態の数
値制御装置の画面表示例である。図において、50はC
RT画面、51は加工形状のグラフィック表示、52は
寸法表示である。
FIG. 13 is a screen display example of the numerical controller according to the embodiment of the present invention. In the figure, 50 is C
RT screen, 51 is a graphic display of the processed shape, and 52 is a size display.

【0052】図14は、この発明に係る一実施形態の数
値制御装置のフローチャートである。次に、動作につい
て図12、図13および図14を用いて説明する。ステ
ップs110で加工プログラムを読み込んで、ステップ
s111でプログラムされた図形形状を認識する。Vo
xel array変換手段110はステップs113
で、材料の形状をVoxel42に分割し、さらに材料
内に在るプログラムされた図形41が占めるVoxel
に図形定義マークを付け、この図形定義マークの付いた
Voxel43の集合としてプログラムされた図形41
を表現する。ここで、作成した全てのVoxelをVo
xel array格納メモリ112に格納する。
FIG. 14 is a flowchart of the numerical controller according to the embodiment of the present invention. Next, the operation will be described with reference to FIGS. 12, 13 and 14. The machining program is read in step s110, and the graphic shape programmed in step s111 is recognized. Vo
The xel array converting means 110 performs step s113.
Divides the shape of the material into Voxels 42, and the Voxels occupied by the programmed figure 41 in the material
A graphic 41 that is programmed as a set of Voxels 43 with a graphic definition mark attached to
To express. Here, all created Voxels are Vo
Stored in the xel array storage memory 112.

【0053】シミュレーション手段120は、ステップ
s140で1ブロック分の工具経路を生成すると共に、
ステップs141で、生成された1ブロック分の工具経
路を補間単位に分割し補間データを作成する。ステップ
s142で、補間処理1周期分に相当する移動の範囲
で、工具が通過するVoxelに切削済みのマークを付
ける。ステップs143で、残距離が有るか否か判定す
る。これは、補間処理が1ブロック分の移動を完了した
かどうかの判定で、残距離が有る場合には1ブロックの
補間を完了するまで、ステップs141、ステップs1
42の補間処理を繰り返す。
The simulation means 120 generates a tool path for one block in step s140 and
In step s141, the generated tool path for one block is divided into interpolation units to create interpolation data. In step s142, a cut mark is attached to the Voxel through which the tool passes in the movement range corresponding to one cycle of the interpolation process. In step s143, it is determined whether or not there is a remaining distance. This is a determination as to whether or not the interpolation processing has completed the movement of one block. If there is a remaining distance, steps s141 and s1 are performed until the interpolation of one block is completed.
The interpolation process of 42 is repeated.

【0054】残距離が無くなった場合は、続いてステッ
プs144で全工具経路終了か否か判定し、全工具経路
終了でない場合は、全工具経路を生成し終えるまでステ
ップs140に戻り、次の1ブロック分を補間する。上
述のステップs140〜ステップs144は、図12の
シミュレーション手段で実行し、シミュレーション結果
をシミュレーション結果格納メモリ121に格納する。
When the remaining distance is exhausted, it is then determined in step s144 whether or not all tool paths have ended. If not all tool paths have ended, the process returns to step s140 until the generation of all tool paths is completed, and the next 1 Interpolate blocks. The above-mentioned steps s140 to s144 are executed by the simulation means in FIG. 12, and the simulation result is stored in the simulation result storage memory 121.

【0055】全工具経路終了した場合、Voxel a
rrayの切削部分の寸法を演算する手段122は、ス
テップs145で加工プログラムによる図形と、シミュ
レーション後の切削済みVoxelを比較することによ
って、加工図面の寸法表示用データを作成し、寸法表示
用データ格納メモリ123に格納する。
When all tool paths are completed, Voxel a
The means 122 for calculating the dimension of the cutting portion of the rray creates the dimension display data of the machining drawing by comparing the figure by the machining program with the cut Voxel after simulation in step s145, and stores the dimension display data. It is stored in the memory 123.

【0056】ステップs146で、画面制御手段124
がこの寸法表示用データを基に、CRT195のCRT
画面50に、加工形状のグラフィック表示51、寸法表
示52を表示する。
In step s146, the screen control means 124
CRT 195 CRT based on this dimension display data
A graphic display 51 and a dimension display 52 of the processed shape are displayed on the screen 50.

【0057】発明の実施の形態5.図15は、この発明
に係る一実施形態の数値制御装置のブロック図である。
図において、100は加工プログラムを格納する加工プ
ログラム格納メモリ、191は工程レイアウト情報格納
メモリ、192は工具ファイル格納メモリ、130は同
一種類の工具群の中から最大径の工具を選択する最大径
工具選択手段、131はレイアウト変更手段、132は
シミュレーション手段、133はシミュレーション結果
を格納する結果格納メモリ、134は最短加工時間とな
る工具の組み合わせ選択手段、135は最短加工時間と
なるレイアウト選択手段である。
Fifth Embodiment of the Invention FIG. 15 is a block diagram of a numerical controller according to an embodiment of the present invention.
In the figure, 100 is a machining program storage memory that stores a machining program, 191 is a process layout information storage memory, 192 is a tool file storage memory, and 130 is a maximum diameter tool that selects a tool with the maximum diameter from the same type of tool group. A selection unit, 131 is a layout changing unit, 132 is a simulation unit, 133 is a result storage memory for storing a simulation result, 134 is a tool combination selection unit for the shortest machining time, and 135 is a layout selection unit for the shortest machining time. .

【0058】図16は、この発明に係る一実施形態の数
値制御装置のフローチャートであるる。 次に、動作に
ついて図15、図16を用いて説明する。ステップs1
51で、最大径工具選択手段130は工具ファイルメモ
リ192の情報から、加工に使用する工具を選択する。
ステップs152で、レイアウト変更手段131は工程
レイアウト情報格納メモリ191の情報から、工程レイ
アウトを選択する。
FIG. 16 is a flowchart of the numerical controller according to the embodiment of the present invention. Next, the operation will be described with reference to FIGS. Step s1
At 51, the maximum diameter tool selection means 130 selects a tool to be used for machining from the information in the tool file memory 192.
In step s152, the layout changing unit 131 selects a process layout from the information in the process layout information storage memory 191.

【0059】ステップs153で、シミュレーション手
段132は選択した工具および選択した工程レイアウト
で、加工プログラム格納メモリ100のプログラムの加
工シミュレーションを行う。ステップs154で、シミ
ュレーションによる加工時間と、そのときに使用した工
具の組み合わせと、工程レイアウトを結果格納メモリ1
33に記録する。ステップs155で、全ての工程レイ
アウトを変更したか判定する。全ての工程レイアウトを
変更し終えていない場合、全ての工程レイアウトをシミ
ュレーションするまで、ステップs152、ステップs
153、ステップs154を繰り返す。
In step s153, the simulation means 132 performs a machining simulation of the program in the machining program storage memory 100 with the selected tool and the selected process layout. In step s154, the processing time by simulation, the combination of tools used at that time, and the process layout are stored in the result storage memory 1.
Record at 33. In step s155, it is determined whether all process layouts have been changed. If all process layouts have not been changed, steps s152 and s are performed until all process layouts are simulated.
153 and step s154 are repeated.

【0060】全ての工程レイアウトをシミュレーション
したら、ステップs156で全ての工具の組み合わせを
変更したか否かを判定し、実行していない工具の組み合
わせが在る場合、ステップs151に戻り、工具の組み
合わせを変更し、引き続きステップs152、ステップ
s153、ステップs154およびステップs155で
全ての工程レイアウトのシミュレーションを行う。全て
の工具の組み合わせを変更したシミュレーションが終っ
た場合は、ステップs157で、結果格納メモリ133
の工程レイアウトの情報から、最短加工時間となる工具
の組み合わせ選択手段134は、最短時間で加工を完了
する工具の組み合わせを探し出し、加工プログラム格納
メモリ100に使用工具を書き込み、また最短加工時間
となるレイアウト選択手段135は、最短時間で加工を
完了する工程レイアウトを探し出し、レイアウト情報格
納メモリ191にレイアウト情報を書き込む。
After simulating all the process layouts, it is determined in step s156 whether or not all the tool combinations have been changed. If there is a tool combination that has not been executed, the process returns to step s151 to set the tool combinations. After the change, the simulation of all the process layouts is performed in step s152, step s153, step s154 and step s155. If the simulation in which all the combinations of tools have been changed is completed, the result storage memory 133 is entered in step s157.
From the information of the process layout, the tool combination selecting means 134 having the shortest machining time finds a combination of tools which completes the machining in the shortest time, writes the tool to be used in the machining program storage memory 100, and also has the shortest machining time. The layout selecting means 135 finds a process layout that completes the processing in the shortest time, and writes the layout information in the layout information storage memory 191.

【0061】なお、上記実施形態では最大径工具選択手
段130、レイアウト変更手段131とを連続とし、最
短加工時間となる工具の組み合わせ選択手段134およ
び最短加工時間となるレイアウト選択手段135を使用
する例を示したが、用途においては必ずしも両者を組み
合わせて使用しなくとも良い。
In the above embodiment, the maximum diameter tool selecting means 130 and the layout changing means 131 are continuous, and the tool combination selecting means 134 for the shortest machining time and the layout selecting means 135 for the shortest machining time are used. However, it is not always necessary to use both in combination in the application.

【0062】[0062]

【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に示すような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0063】図形形状の両端を3辺に接する円弧で、他
の箇所を2辺に接する円弧または直線で近似した近似図
形の内側の工具経路を生成した後、定義された図形形状
と近似図形との間の削り残し部分の工具経路を生成する
ようにしたので、工具の直径分程度のシフト量で工具経
路を生成しても、近似した形状の内側に削り残しを生じ
ることがなくなり、削り残しのない加工が従来より短い
工具経路で可能となり、加工時間を短縮することができ
る。また、削り残しを切削するプログラムを改めて記述
する必要がない。
After the tool path inside the approximated figure approximated by an arc or a straight line in which both ends of the figure are in contact with three sides and other sides are in contact with two sides, the defined figure and the approximated figure are generated. Since the tool path of the uncut portion between is generated, even if the tool path is created with a shift amount of the diameter of the tool, there is no uncut residue inside the approximate shape -Free machining is possible with a shorter tool path than before, and machining time can be shortened. Also, there is no need to write a program for cutting the uncut residue again.

【0064】また、削り残し部分を切削するために生成
した工具経路を未切削部分を削る工具経路と既に切削し
た部分を通過する工具経路とに分割し、既に切削した部
分では早送りで移動するように送り速度を変更するよう
にしたので、加工時間を短縮することができる。
Further, the tool path generated for cutting the uncut portion is divided into a tool path for cutting the uncut portion and a tool path for passing the already cut portion, and the already cut portion is moved by rapid feed. Since the feed rate is changed, the processing time can be shortened.

【0065】さらに、均一な大きさの立体に分割された
空間の情報および図形が占める立体に付けられた図形定
義のマークの情報と、工具経路生成手段で工具が通過す
るところの立体に付けられた切削済みのマークの情報と
のうち、図形定義のマークの情報とモデル化した工具の
情報とにより工具の負荷を検出するようにしたので、工
具にかかる負荷の変動の検出が可能となり、また負荷に
応じた送り速度で切削するので、滑らかな仕上げ面を得
ることができる。
Further, information on a space divided into a solid body having a uniform size, information on a graphic definition mark attached to the solid body occupied by the graphic, and the solid body through which the tool passes by the tool path generation means. Since the tool load is detected based on the information of the figure-defined mark and the modeled tool among the information of the cut marks that have been cut, it is possible to detect the fluctuation of the load applied to the tool. Since the cutting is performed at the feed rate according to the load, a smooth finished surface can be obtained.

【0066】また、シミュレーション手段が工具経路を
生成すると共に、生成された工具経路を補間単位に分割
し補間データを作成し、工具が通過するところの立体に
切削済みのマークを付け、この切削済みのマークの情報
をシミュレーション結果格納メモリに格納し、寸法演算
手段がこのシミュレーション結果格納メモリに格納され
た切削済みのマークの情報により切削部分の寸法を演算
し、寸法表示用データ格納メモリに格納された寸法表示
用データを表示手段に切削部分の寸法として表示するよ
うにしたので、プログラムの間違いを発見しやすく、さ
らに、加工精度を容易に確認することができる。
In addition, the simulation means generates a tool path, divides the generated tool path into interpolation units to create interpolation data, attaches a cut mark to a solid body through which the tool passes, and cuts the cut path. The mark information is stored in the simulation result storage memory, and the dimension calculation means calculates the dimension of the cut portion based on the cut mark information stored in the simulation result storage memory and is stored in the dimension display data storage memory. Since the dimension display data is displayed as the dimension of the cutting portion on the display means, it is easy to find a mistake in the program and the machining accuracy can be easily confirmed.

【0067】また、この発明の数値制御装置において、
最短加工時間レイアウト選択手段は、シミュレーション
手段がレイアウト変更手段で選択された工程レイアウト
に基づき、加工プログラムの加工シミュレーションを行
い、結果格納メモリに格納した工程レイアウトより最短
時間で加工を完了する工程レイアウトを探し出し、工程
レイアウト情報格納メモリに工程レイアウト情報を書き
込むようにしたので、頻繁に工具交換を行うような指令
を出力された場合においても、最短加工時間で加工でき
る工程レイアウトが選択でき、加工時間を短縮すること
ができる。
In the numerical controller according to the present invention,
The shortest machining time layout selecting means performs a machining simulation of a machining program based on the process layout selected by the layout changing means by the simulation means, and selects a process layout that completes machining in the shortest time than the process layout stored in the result storage memory. Since the process layout information is searched for and written in the process layout information storage memory, even when a command for frequent tool change is output, the process layout that can be processed in the shortest processing time can be selected, and the processing time can be reduced. It can be shortened.

【0068】さらに、この発明の数値制御装置におい
て、最短加工時間工具組み合わせ選択手段は、シミュレ
ーション手段がはこの最大径工具選択手段で選択された
工具に基づきに基づき、加工プログラムの加工シミュレ
ーションを行い、結果格納メモリに格納した工具の組み
合わせより最短時間で加工を完了する工具の組み合わせ
を探し出し、加工プログラム格納メモリに工程レイアウ
ト情報を書き込むようにしたので、プログラムの能率が
落ちることなく、最短時間で加工できる使用工具の組み
合わせを自動選択することができる。
Further, in the numerical control device of the present invention, the shortest machining time tool combination selecting means performs the machining simulation of the machining program on the basis of the tool selected by the simulation means by the maximum diameter tool selecting means, The tool combination that completes machining in the shortest time is searched for from the combination of tools stored in the result storage memory, and the process layout information is written to the machining program storage memory, so that the machining efficiency can be reduced in the shortest time. It is possible to automatically select the combination of tools that can be used.

【0069】さらにまた、この発明の数値制御装置にお
いて、最短加工時間工具組み合わせ選択手段は、シミュ
レーション手段がはこの最大径工具選択手段で選択され
た工具に基づきに基づき、加工プログラムの加工シミュ
レーションを行い、結果格納メモリに格納した工具の組
み合わせより最短時間で加工を完了する工具の組み合わ
せを探し出し、加工プログラム格納メモリに工程レイア
ウト情報を書き込み、最短加工時間レイアウト選択手段
は、シミュレーション手段がレイアウト変更手段で選択
された工程レイアウトに基づき、加工プログラムの加工
シミュレーションを行い、結果格納メモリに格納した工
程レイアウトより最短時間で加工を完了する工程レイア
ウトを探し出し、工程レイアウト情報格納メモリに工程
レイアウト情報を書き込むようにしたので、効率良い工
具選択および工具交換ができる。
Furthermore, in the numerical controller of the present invention, the shortest machining time tool combination selecting means performs simulation of the machining program based on the tool selected by the simulating means by the maximum diameter tool selecting means. Finding a combination of tools that completes the machining in the shortest time than the combination of tools stored in the result storage memory, writing the process layout information in the machining program storage memory, the shortest machining time layout selection means, the simulation means is the layout change means. Based on the selected process layout, perform a machining simulation of the machining program, find the process layout that completes the machining in the shortest time from the process layout stored in the result storage memory, and store the process layout information in the process layout information storage memory. Since to burn them, it is efficient tool selection and tool exchange.

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

【図1】 この発明の一実施形態である数値制御装置の
ブロック図である。
FIG. 1 is a block diagram of a numerical controller according to an embodiment of the present invention.

【図2】 この発明に係る一実施形態によって自動生成
される工具経路を示した図である。
FIG. 2 is a diagram showing a tool path automatically generated by an embodiment according to the present invention.

【図3】 この発明の一実施形態である自動生成された
工具経路を示した図である。(近似形状の内側を切削す
る工具経路を示したものである。)
FIG. 3 is a diagram showing an automatically generated tool path according to an embodiment of the present invention. (It shows a tool path for cutting the inside of the approximate shape.)

【図4】 この発明の一実施形態である自動生成された
工具経路を示した図である。(近似形状の外側を切削す
る工具経路を示したものである。)
FIG. 4 is a diagram showing an automatically generated tool path according to an embodiment of the present invention. (It shows a tool path for cutting the outside of the approximate shape.)

【図5】 この発明の一実施形態である自動生成された
工具経路を示した図である。(近似形状の外側を切削す
る工具経路を示したものである。)
FIG. 5 is a diagram showing an automatically generated tool path according to an embodiment of the present invention. (It shows a tool path for cutting the outside of the approximate shape.)

【図6】 この発明の一実施形態である数値制御装置の
フローチャートである。
FIG. 6 is a flowchart of a numerical control device according to an embodiment of the present invention.

【図7】 この発明に係る一実施形態に利用する空間定
義技法を説明した図である。
FIG. 7 is a diagram illustrating a space definition technique used in an embodiment according to the present invention.

【図8】 この発明に係る一実施形態の数値制御装置の
ブロック図である。
FIG. 8 is a block diagram of a numerical controller according to an embodiment of the present invention.

【図9】 この発明に係る一実施形態の数値制御装置の
フローチャートである。
FIG. 9 is a flowchart of a numerical controller according to an embodiment of the present invention.

【図10】 この発明に係る一実施形態の数値制御装置
のブロック図である。
FIG. 10 is a block diagram of a numerical controller according to an embodiment of the present invention.

【図11】 この発明に係る一実施形態の数値制御装置
の一実施例のフローチャートである。
FIG. 11 is a flowchart of an example of the numerical control device according to the embodiment of the present invention.

【図12】 この発明に係る一実施形態の数値制御装置
のブロック図である。
FIG. 12 is a block diagram of a numerical controller according to an embodiment of the present invention.

【図13】 この発明に係る一実施形態の数値制御装置
の画面表示例である。
FIG. 13 is a screen display example of the numerical control device according to the embodiment of the present invention.

【図14】 この発明に係る一実施形態の数値制御装置
のフローチャートである。
FIG. 14 is a flowchart of a numerical control device according to one embodiment of the present invention.

【図15】 この発明に係る一実施形態の数値制御装置
のブロック図である。
FIG. 15 is a block diagram of a numerical controller according to an embodiment of the present invention.

【図16】 この発明に係る一実施形態の数値制御装置
のフローチャートである。
FIG. 16 is a flowchart of a numerical controller according to an embodiment of the present invention.

【図17】 従来の数値制御装置のブロック図である。FIG. 17 is a block diagram of a conventional numerical control device.

【図18】 形状の内側を切削する場合に自動生成され
た従来の最短工具経路を示す図である。
FIG. 18 is a diagram showing a conventional shortest tool path that is automatically generated when cutting the inside of a shape.

【図19】 形状の内側を切削する場合に自動生成され
た従来の一般的な工具経路を示す図である。
FIG. 19 is a view showing a conventional general tool path that is automatically generated when cutting the inside of a shape.

【図20】 従来の数値制御装置の工具経路生成処理の
フローチャートである。
FIG. 20 is a flowchart of a tool path generation process of a conventional numerical controller.

【図21】 従来のシミュレーションの実行過程を表示
した画面である。
FIG. 21 is a screen displaying the execution process of a conventional simulation.

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

1 プログラムされた図形、 2 工具直径を表す円、
3 接点、 4 接点、 5 接点、 6 3点で接
する円弧、 7 接点、 8 接点、 9 接点、 1
0 3点で接する円弧、 11 接点、 12 接点、
13 2点で接する円弧、 14 円弧と直線で近似
した近似図形、 15 工具2の外側が近似図形の内側
に接する工具経路、 16 近似図形14の外側にある
削り残し部分、 17 、 18 、 19 、 20
、 21 プログラムされた図形、 22 工具直径
を表す円、 23 接点、 24 接点、 25 接
点、26 3点で接する円弧、 27 接点、 28
接点、 29 接点、 30 3点で接する円弧、 3
1 円弧と直線で近似した近似図形、 32 工具22
の外側が近似図形の内側に接する工具経路、 33 近
似図形21の外側にある削り残し部分、 34 、 3
5 近似図形を工具の半径に等しい値だけ拡大した工具
経路、 36 工具経路35とプログラムされた図形2
1の内側に沿うような工具経路との交点、 37 工具
経路35とプログラムされた図形21の内側に沿うよう
な工具経路との交点、 38 近似図形21の外側にあ
る削り残し部分33を切削する工具経路、 39 近似
図形21の外側にある削り残し部分33を切削する工具
経路、 40 素材形状、 41 プログラムされた図
形形状、 42 素材形状を定義するための決まった大
きさの直方体、あるいは立方体(以下、Voxelと記
す)、 43 プログラムされた図形形状を示すために
マークされたVoxel、 50 CRT画面、 51
加工形状のグラフィック表示、 52 寸法表示、
100 加工プログラム格納メモリ、 101 図形形
状定義手段、 102 近似図形作成手段、 103
第1の工具経路生成手段、 104 第2の工具経路生
成手段、 110 図形形状変換手段としてのVoxe
l array変換手段、 111 工具経路生成手
段、112 Voxel array格納メモリ、 1
13 削り残し判別手段、114 移動コード変更手
段、 115 工具経路生成手段、 116 切削負荷
検出手段、 117 送り速度変更手段、 112 V
oxel array格納メモリ、 120 シミュレ
ーション手段、 121 シミュレーション結果格納メ
モリ、 122 Voxel arrayの切削部分の
寸法を演算する手段、 123 寸法表示用データ格納
メモリ、 124 画面制御手段、 130 最大径工
具選択手段、 131 レイアウト変更手段、 132
シミュレーション手段、 133 シミュレーション
結果を格納する結果格納メモリ、134 最短加工時間
となる工具の組み合わせ選択手段、 135 最短加工
時間となるレイアウト選択手段、 191 工程レイア
ウト情報格納メモリ、192 工具ファイル格納メモ
リ、 195 表示手段としてのCRTディスプレイ、
200 補間処理手段、 210 モータ。
1 programmed geometry, 2 circle representing tool diameter,
3 contact points, 4 contact points, 5 contact points, 6 3 point contact arcs, 7 contact points, 8 contact points, 9 contact points, 1
0 3 point contact arc, 11 contact points, 12 contact points,
13 Arcs that touch at two points, 14 Approximate figures that are approximated by arcs and straight lines, 15 Tool paths where the outside of the tool 2 contacts the inside of the approximate figures, 16 Uncut portions that are outside the approximate figures 14, 17, 18, 19, 20
, 21 programmed figure, 22 circle representing tool diameter, 23 contact points, 24 contact points, 25 contact points, 263 circular arcs contacting at 3 points, 27 contact points, 28
Contact point, 29 contact points, 30 Arcs contacting at 3 points, 3
1 Approximate figure approximated by arc and straight line, 32 Tool 22
The tool path in which the outside of the figure contacts the inside of the approximate figure, 33 The uncut portion outside the approximate figure 21, 34, 3
5 Tool path in which the approximated figure is enlarged by a value equal to the radius of the tool, 36 Tool path 35 and programmed figure 2
1 an intersection with a tool path along the inner side of 37, 37 an intersection between the tool path 35 and a tool path along the inner side of the programmed figure 21, 38 cut an uncut portion 33 outside the approximated figure 21 Tool path, 39 Tool path for cutting the uncut portion 33 outside the approximated figure 21, 40 Material shape, 41 Programmed graphic shape, 42 Cuboid of fixed size to define material shape, or cube ( Hereinafter, referred to as Voxel), 43 Voxel marked to show a programmed graphic shape, 50 CRT screen, 51
Graphic display of machining shape, 52 dimension display,
100 machining program storage memory, 101 figure shape defining means, 102 approximate figure creating means, 103
1st tool path generation means, 104 2nd tool path generation means, 110 Voxe as figure shape conversion means
l array conversion means, 111 tool path generation means, 112 Voxel array storage memory, 1
13 Leftover cut discriminating means, 114 Moving code changing means, 115 Tool path generating means, 116 Cutting load detecting means, 117 Feed speed changing means, 112 V
oxel array storage memory, 120 simulation means, 121 simulation result storage memory, 122 means for calculating dimensions of cutting portion of Voxel array, 123 dimension display data storage memory, 124 screen control means, 130 maximum diameter tool selection means, 131 layout Changing means, 132
Simulation means, 133 Result storage memory for storing simulation results, 134 Tool combination selection means for minimum machining time, 135 Layout selection means for minimum machining time, 191 Process layout information storage memory, 192 Tool file storage memory, 195 display CRT display as a means,
200 interpolation processing means, 210 motor.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 図形形状の内側を切削する工具経路を生
成する数値制御装置において、加工プログラムを格納す
る加工プログラム格納メモリと、この加工プログラム格
納メモリから加工プログラムを読み込み、図形の形状を
定義する図形形状定義手段と、この図形形状定義手段で
定義された図形形状の両端を3辺に接する円弧で、他の
箇所を2辺に接する円弧または直線で近似する近似図形
作成手段と、この近似図形作成手段で作成された近似図
形を基に工具経路を生成する工具経路生成手段と、を備
え、近似図形の内側の工具経路を生成した後、定義され
た図形形状と近似図形との間の削り残し部分の工具経路
を生成するようにしたことをことを特徴とする数値制御
装置。
1. A numerical control device for generating a tool path for cutting the inside of a figure shape, wherein a machining program storage memory for storing a machining program and the machining program are read from the machining program storage memory to define the shape of the figure. A graphic shape defining means, an approximate graphic creating means for approximating a graphic shape defined by the graphic shape defining means with an arc of which both ends are in contact with three sides and another area is in contact with two sides, or a straight line, and this approximate graphic A tool path generating means for generating a tool path based on the approximate figure created by the creating means, and generating a tool path inside the approximate figure, and then cutting between the defined figure shape and the approximate figure A numerical controller characterized in that a tool path of a remaining portion is generated.
【請求項2】 空間を均一な大きさの立体に分割すると
共に、この立体のうち空間内にあるプログラムされた図
形が占める立体に図形定義のマークを付ける図形形状変
換手段と、工具経路を生成すると共に、生成した工具経
路によって、工具が通過するところの立体に切削済みの
マークを付ける工具経路生成手段と、前記図形形状変換
手段で均一な大きさの立体に分割された空間の情報およ
び図形が占める立体に付けられた図形定義のマークの情
報と、前記工具経路生成手段で工具が通過するところの
立体に付けられた切削済みのマークの情報とを格納する
立体情報格納メモリと、この立体情報格納メモリに格納
された図形定義のマークの情報と切削済みのマークの情
報とにより削り残しを判別する削り残し判別手段と、削
り残し部分を切削するために生成した工具経路が既に切
削済みのマークが付いている立体を含んでいるか調べ、
この工具経路が既に切削済みのマークが付いている立体
を含んでいる場合には、この工具経路を未切削部分を削
る工具経路と既に切削した部分を通過する工具経路とに
分割し、既に切削した部分では早送りで移動するように
送り速度を変更する移動コード変更手段と、を備えた数
値制御装置。
2. A shape shape conversion means for dividing a space into solid bodies of a uniform size and for marking a solid defined by a programmed figure in the space in the space to define a shape and a tool path. In addition, according to the generated tool path, tool path generation means for attaching a cut mark to the solid body where the tool passes, and space information and graphics divided into solid bodies of uniform size by the graphic shape conversion means. A stereoscopic information storage memory for storing the information of the mark of the figure definition attached to the solid body occupied by the solid body and the information of the cut mark attached to the solid body through which the tool passes by the tool path generating means; An uncut portion discriminating means for discriminating the uncut portion based on the information of the mark of the graphic definition and the information of the already-cut mark stored in the information storage memory, and the uncut portion is cut. Check if the tool path generated to include a solid with a mark already cut,
If this tool path includes a solid with a mark already cut, divide this tool path into a tool path that cuts the uncut portion and a tool path that passes through the already cut portion, and cut already. The numerical control device is provided with a movement code changing means for changing the feed speed so that the portion moves at a fast forward speed.
【請求項3】 空間を均一な大きさの立体に分割すると
共に、この立体のうち空間内にあるプログラムされた図
形が占める立体に図形定義のマークを付ける図形形状変
換手段と、工具経路を生成すると共に、生成した工具経
路によって、工具が通過するところの立体に切削済みの
マークを付ける工具経路生成手段と、前記図形形状変換
手段で均一な大きさの立体に分割された空間の情報およ
び図形が占める立体に付けられた図形定義のマークの情
報と、前記工具経路生成手段で工具が通過するところの
立体に付けられた切削済みのマークの情報とを格納する
立体情報格納メモリと、この立体情報格納メモリに格納
された図形定義のマークの情報とモデル化した工具の情
報とにより工具の負荷を検出する切削負荷検出手段、こ
の切削負荷検出手段により検出された工具の負荷に応じ
て送り速度を計算する送り速度変更手段と、を備えた数
値制御装置。
3. A graphic shape conversion means for dividing a space into solid bodies of uniform size and for marking a solid defined by a programmed graphic in the space among the solid bodies with a graphic definition mark, and a tool path. In addition, according to the generated tool path, tool path generation means for attaching a cut mark to the solid body where the tool passes, and space information and graphics divided into solid bodies of uniform size by the graphic shape conversion means. A stereoscopic information storage memory for storing the information of the mark of the figure definition attached to the solid body occupied by the solid body and the information of the cut mark attached to the solid body through which the tool passes by the tool path generating means; Cutting load detecting means for detecting the load of the tool based on the information of the mark of the graphic definition stored in the information storage memory and the information of the modeled tool, and this cutting load detecting means And a feed rate changing means for calculating the feed rate according to the load of the tool detected by the numerical control device.
【請求項4】 表示手段と、この表示手段を制御する画
面制御手段とを有する数値制御装置において、空間を均
一な大きさの立体に分割すると共に、この立体のうち空
間内にあるプログラムされた図形が占める立体に図形定
義のマークを付ける図形形状変換手段と、前記図形形状
変換手段で均一な大きさの立体に分割された空間の情報
および図形が占める立体に付けられた図形定義のマーク
の情報を格納する立体情報格納メモリと、工具経路を生
成すると共に、生成された工具経路を補間単位に分割し
補間データを作成し、工具が通過するところの立体に切
削済みのマークを付けるシミュレーション手段と、この
シミュレーション手段のシミュレーション結果を格納す
るシミュレーション結果格納メモリと、このシミュレー
ション結果格納メモリに格納された切削済みのマークの
情報により切削部分の寸法を演算する寸法演算手段と、
この寸法演算手段により演算された切削部分の寸法を寸
法表示用データとして格納する寸法表示用データ格納メ
モリと、を備え、前記表示手段に切削部分の寸法を表示
するようにしたことを特徴とする数値制御装置。
4. A numerical controller having a display means and a screen control means for controlling the display means, which divides a space into three-dimensional bodies of uniform size and which is programmed in the space of the three-dimensional bodies. A figure shape conversion means for attaching a mark of figure definition to a solid body occupied by a figure, information of space divided into a solid body of a uniform size by the shape shape conversion means, and a mark of graphic definition attached to the solid body occupied by the figure A three-dimensional information storage memory that stores information and a simulation means that generates a tool path, divides the generated tool path into interpolation units to create interpolation data, and attaches a cut mark to the solid where the tool passes. And a simulation result storage memory for storing the simulation result of this simulation means, and a memory for storing this simulation result. Dimension calculation means for calculating the dimension of the cut part based on the information of the cut mark stored in
A dimension display data storage memory that stores the dimension of the cut portion calculated by the dimension calculation means as dimension display data, and the dimension of the cut portion is displayed on the display means. Numerical control device.
【請求項5】 工程レイアウト情報を格納する工程レイ
アウト情報格納メモリと、この工程レイアウト情報格納
メモリの情報から工程レイアウトを選択するレイアウト
変更手段と、このレイアウト変更手段で選択された工程
レイアウトに基づき、加工プログラムの加工シミュレー
ションを行うシミュレーション手段と、このシミュレー
ション手段でシミュレーションした結果を格納する結果
格納メモリと、この結果格納メモリに格納されている工
程レイアウトより最短時間で加工を完了する工程レイア
ウトを探し出し、前記工程レイアウト情報格納メモリに
工程レイアウト情報を書き込む最短加工時間レイアウト
選択手段と、を備えた数値制御装置。
5. A process layout information storage memory for storing process layout information, a layout changing means for selecting a process layout from information in the process layout information storing memory, and a process layout selected by the layout changing means, A simulation means for performing a machining simulation of a machining program, a result storage memory for storing a result of simulation by the simulation means, and a process layout for completing the machining in the shortest time from the process layout stored in the result storage memory are searched for, A numerical control device comprising: a shortest processing time layout selecting means for writing the process layout information into the process layout information storage memory.
【請求項6】 加工プログラムを格納する加工プログラ
ム格納メモリと、工具を格納する工具ファイルメモリ
と、この工具ファイルメモリの情報から、加工に使用す
る工具を選択する最大径工具選択手段と、この最大径工
具選択手段で選択された工具に基づき、加工プログラム
の加工シミュレーションを行うシミュレーション手段
と、このシミュレーション手段でシミュレーションした
結果を格納する結果格納メモリと、この結果格納メモリ
に格納されている工具の組み合わせより最短時間で加工
を完了する工具の組み合わせを探し出し、前記加工プロ
グラム格納メモリに使用工具を書き込む最短加工時間工
具組み合わせ選択手段と、を備えた数値制御装置。
6. A machining program storage memory for storing a machining program, a tool file memory for storing tools, a maximum diameter tool selecting means for selecting a tool to be used for machining from information in the tool file memory, and a maximum diameter tool selecting means. A combination of a simulation means for performing a machining simulation of a machining program based on the tool selected by the diameter tool selection means, a result storage memory for storing the result of simulation by this simulation means, and a tool stored in the result storage memory A numerical control device comprising: a tool combination selecting means for finding a tool combination that completes machining in a shorter time and writing a tool to be used in the machining program storage memory.
【請求項7】 加工プログラムを格納する加工プログラ
ム格納メモリと、工具データを格納する工具ファイルメ
モリと、この工具ファイルメモリの情報から、加工に使
用する工具を選択する最大径工具選択手段と、工程レイ
アウト情報を格納する工程レイアウト情報格納メモリ
と、この工程レイアウト情報格納メモリの情報から工程
レイアウトを選択するレイアウト変更手段と、前記最大
径工具選択手段で選択された工具および前記レイアウト
変更手段で選択された工程レイアウトに基づき、加工プ
ログラムの加工シミュレーションを行うシミュレーショ
ン手段と、このシミュレーション手段でシミュレーショ
ンした結果を格納する結果格納メモリと、この結果格納
メモリに格納されている工具の組み合わせより最短時間
で加工を完了する工具の組み合わせを探し出し、前記加
工プログラム格納メモリに使用工具を書き込む最短加工
時間工具組み合わせ選択手段と、前記結果格納メモリに
格納されている工程レイアウトより最短時間で加工を完
了する工程レイアウトを探し出し、前記工程レイアウト
情報格納メモリに工程レイアウト情報を書き込む最短加
工時間レイアウト選択手段と、を備え、最短時間で加工
を完了する工程レイアウトと工具の組み合わせを選択す
るようにしたことを特徴とする数値制御装置。
7. A machining program storage memory for storing a machining program, a tool file memory for storing tool data, a maximum diameter tool selecting means for selecting a tool to be used for machining from information in the tool file memory, and a process. A process layout information storage memory for storing layout information, a layout changing means for selecting a process layout from the information in the process layout information storing memory, a tool selected by the maximum diameter tool selecting means, and a layout changing means selected by the layout changing means. Based on the specified process layout, a simulation means for performing a machining simulation of a machining program, a result storage memory for storing the results of simulation by this simulation means, and a combination of tools stored in the result storage memory enable machining in the shortest time. Tools to complete And a process layout for completing the machining in the shortest time from the process layout stored in the result storage memory and the shortest machining time tool combination selecting means for writing the tool to be used in the machining program storing memory, and the process A numerical control device comprising: a shortest processing time layout selecting means for writing process layout information in a layout information storage memory, and selecting a combination of a process layout and a tool that completes processing in the shortest time.
JP19987295A 1995-08-04 1995-08-04 Numerical controller Pending JPH0950311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19987295A JPH0950311A (en) 1995-08-04 1995-08-04 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19987295A JPH0950311A (en) 1995-08-04 1995-08-04 Numerical controller

Publications (1)

Publication Number Publication Date
JPH0950311A true JPH0950311A (en) 1997-02-18

Family

ID=16415040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19987295A Pending JPH0950311A (en) 1995-08-04 1995-08-04 Numerical controller

Country Status (1)

Country Link
JP (1) JPH0950311A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058531A (en) * 2005-08-24 2007-03-08 Mazda Motor Corp Use order determination method and use order determination program for tool
US7363103B2 (en) 2003-10-23 2008-04-22 Fujitsu Limited Method and apparatus for generating machining information, and computer product
WO2009101688A1 (en) * 2008-02-14 2009-08-20 Mitsubishi Electric Corporation Electric discharge machining device
CN110727246A (en) * 2019-10-29 2020-01-24 江苏长虹智能装备股份有限公司 Tool and workpiece instantaneous contact contour extraction method based on tool position file

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7363103B2 (en) 2003-10-23 2008-04-22 Fujitsu Limited Method and apparatus for generating machining information, and computer product
JP2007058531A (en) * 2005-08-24 2007-03-08 Mazda Motor Corp Use order determination method and use order determination program for tool
WO2009101688A1 (en) * 2008-02-14 2009-08-20 Mitsubishi Electric Corporation Electric discharge machining device
JPWO2009101688A1 (en) * 2008-02-14 2011-06-02 三菱電機株式会社 EDM machine
CN110727246A (en) * 2019-10-29 2020-01-24 江苏长虹智能装备股份有限公司 Tool and workpiece instantaneous contact contour extraction method based on tool position file
CN110727246B (en) * 2019-10-29 2021-03-19 江苏长虹智能装备股份有限公司 Tool and workpiece instantaneous contact contour extraction method based on tool position file

Similar Documents

Publication Publication Date Title
CN103901818B (en) Computer assisted manufacturing apparatus, method for product shape processing and storage medium
EP2750108A1 (en) Parameterizing a 3D modeled object for tessellation
JP2000207008A (en) Teach-in system
JP6043234B2 (en) Numerical controller
CN104793560A (en) Method and system for generating a trajectory
KR20130049164A (en) Simulation of the machining of a workpiece
CN102822756A (en) System and method for optimizing machining simulation
JPH02183305A (en) Simulation and display of working of work and apparatus for executing the same
JP7126360B2 (en) Method and apparatus for generating toolpaths
JP3567015B2 (en) Method for performing Boolean operations on geometric objects in a CAD system
JPH0855243A (en) System and method for data processing for surface formation of model
JPH0950311A (en) Numerical controller
WO2013128625A1 (en) Working program generation device, working program generation method, and working program generation program
CN108693831B (en) Simulation device, program generation device, control device, and computer display method
JP2009211255A (en) Die working data changing method
JP2007193552A (en) Apparatus and method for creating plane model
JP4622987B2 (en) Tool reference plane data creation device and creation method
JP5595146B2 (en) Processing simulation device and optimum process determination device
KR100512761B1 (en) Design methods for developable surfaces and plane development
JP3305395B2 (en) Figure division device
JP4237180B2 (en) Unprocessed shape extraction device and extraction method
JP7299794B2 (en) Method and apparatus for determining processing conditions
CN110796729B (en) Grid division method based on binary tree
JP2871991B2 (en) Processing path generator
Chen et al. Reliable haptic system for collision-free 5-axis tool path generation