JPH06102914A - Method for generating machining program for numerical controller - Google Patents

Method for generating machining program for numerical controller

Info

Publication number
JPH06102914A
JPH06102914A JP25504392A JP25504392A JPH06102914A JP H06102914 A JPH06102914 A JP H06102914A JP 25504392 A JP25504392 A JP 25504392A JP 25504392 A JP25504392 A JP 25504392A JP H06102914 A JPH06102914 A JP H06102914A
Authority
JP
Japan
Prior art keywords
product
tool
end mill
shape
rough material
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
JP25504392A
Other languages
Japanese (ja)
Inventor
Hideya Kondo
英哉 近藤
Yukitaka Fujitani
幸孝 藤谷
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP25504392A priority Critical patent/JPH06102914A/en
Publication of JPH06102914A publication Critical patent/JPH06102914A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the forming time of a product by automatically recognizing a work remaining part to a blank and automatically and accurately forming a tool route for the work remaining part. CONSTITUTION:A final tool route Ra1 for generating the product 12 by end mills 4a and 4b which are set based on the form of the product 12, the form of the blank 11 for generating the product 12 and a work condition including the radius r1 of the end mill 4a cutting/working the blank 11. An offset route ROFF1 obtained by offsetting the final tool route Ra1 by the radius r1 of the end mill 4a in a normal direction toward the side of the product 12 is generated, and a difference between the offset route ROFF1 and the form of the product 12 is obtained. The work remaining part K by the end mill 4a is generated based on the difference, and new tool routes Rb1-Rbn for cutting/working the work remaining part K by the new end mill 4b whose radius is smaller tan that of the end mill 4a are generated based on the work remaining part K.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は数値制御装置用機械加工
プログラムの作成方法に係り、詳しくは粗材に対する加
工残り部を自動認識して加工プログラムを作成する数値
制御装置用機械加工プログラムの作成方法に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of creating a machining program for a numerical control device, and more specifically, to create a machining program for a numerical control device for automatically recognizing a machining remaining portion for a rough material and creating a machining program. It is about the method.

【0002】[0002]

【従来の技術】従来のNC加工機によって粗材から製品
を成形する場合、粗材を前加工した後、後加工を行う。
この前加工においては、NC加工機の制御部に製品の形
状データ、粗材の形状データを入力するとともに、前加
工用エンドミルの半径及び切り込み量等の切削加工条件
を入力する。そして、NC加工機の制御部はこの各種デ
ータに基づいてエンドミルの粗材に対する工具経路を作
成する。この工具経路の作成に際して、製品形状に対し
て粗材を切り込み過ぎないように工具経路を決定する必
要があり、例えば実開昭64−7304号公報に示すよ
うに種々の方法が提案されている。
2. Description of the Related Art When a product is molded from a rough material by a conventional NC processing machine, the rough material is pre-processed and then post-processed.
In this pre-processing, the shape data of the product and the shape data of the rough material are input to the control unit of the NC processing machine, and the cutting processing conditions such as the radius and the cut amount of the pre-processing end mill are input. Then, the control unit of the NC processing machine creates a tool path for the rough material of the end mill based on these various data. When creating this tool path, it is necessary to determine the tool path so as not to cut the rough material too much with respect to the product shape. For example, various methods have been proposed as shown in Japanese Utility Model Application Laid-Open No. 64-7304. .

【0003】このように求められた工具経路に従って前
加工を行う場合、粗材を無駄にすることなはないもの
の、該エンドミルでは入り込めない未切削加工部分が残
り、この未切削加工部分が該エンドミルにおける加工残
り部となる。この加工残り部は径の小さい新たなエンド
ミルを用いて切削加工されることになる。
When the pre-machining is performed according to the tool path thus obtained, although the rough material is not wasted, there remains an uncut portion that cannot be entered by the end mill, and this uncut portion is the uncut portion. It becomes the unprocessed part in the end mill. This unprocessed portion will be cut using a new end mill with a small diameter.

【0004】そして、加工残り部について新たな工具経
路が作成された新たに使用される径の小さいエンドミル
によって切削加工が行われる。
[0004] Then, the cutting process is carried out by a newly used end mill having a small diameter, in which a new tool path is created for the remaining machining part.

【0005】[0005]

【発明が解決しようとする課題】ところで、この加工残
り部の決定は、オペレータの推定に基づいて行われてい
る。すなわち、オペレータは、製品の形状と該エンドミ
ルで切削加工した粗材の最終形状とを表示装置の画面上
で比較確認してどの位置にどの程度の大きさの加工残り
部があるかを判定するものであった。
By the way, the determination of the unprocessed portion is made based on the estimation of the operator. That is, the operator compares and confirms the shape of the product and the final shape of the rough material cut by the end mill on the screen of the display device to determine at which position and to what size the unprocessed portion remains. It was a thing.

【0006】そして、このようにして求められた各加工
残り部について、各加工残り部とその粗材の形状とで加
工残り部のための粗材形状を新たに作成する。この加工
残り部の粗材形状は製品の形状及び新たに使用する径の
小さいエンドミルによる切削加工条件とともに加工残り
部のための新たな工具経路を作成するために利用され
る。
Then, for each of the unprocessed portions thus obtained, a rough material shape for the unprocessed portion is newly created from each of the unprocessed portions and the shape of the rough material. The rough material shape of the unprocessed part is used to create a new tool path for the unprocessed part together with the shape of the product and the cutting processing condition by the newly used end mill having a small diameter.

【0007】従って、オペレータは加工残り部を一つ一
つ見つけ、その各加工残り部と粗材の形状とで新たな加
工残り部のための粗材形状を新たに作成しなければなら
ず、工具経路の作成するための工数が非常に多くなり加
工時間の短縮を図る上で問題であった。
Therefore, the operator must find the remaining unprocessed portions one by one and newly create a rough material shape for a new unprocessed portion from each of the unprocessed portions and the shape of the rough material. The number of man-hours required to create the tool path is extremely large, which is a problem in reducing the machining time.

【0008】また、1つの加工残り部について、表示装
置の画面上でその大きさを判定する場合、新たに使用す
る径の小さい工具が折損するのを考慮してオペレータは
大きめに加工残り部を定義する。すなわち、大きめに定
義された加工残り部は既に加工済の箇所を含んだ加工残
り部となる。従って、この加工残り部を使用して作成さ
れた工具経路は加工済の箇所も工具経路の一部として作
成されている。その結果、エンドミルに無駄な動きをさ
せることになり加工時間が長くなるといった問題があっ
た。
Further, when judging the size of one unprocessed portion on the screen of the display device, the operator considers that a newly used tool having a small diameter will be broken, and the operator will make a large unprocessed portion. Define. That is, the unprocessed part that is defined to be a large size becomes the unprocessed part including the already processed part. Therefore, in the tool path created using this unprocessed part, the processed part is also created as part of the tool path. As a result, there is a problem in that the end mill is caused to make useless movements and the processing time becomes long.

【0009】本発明は上記問題点を解決するためになさ
れたものであって、その目的は粗材に対する加工残り部
に対する工具経路を自動的にかつ正確に作成し、製品の
成形時間の短縮を図ることができる数値制御装置用機械
加工プログラムの作成方法を提供することにある。
The present invention has been made to solve the above-mentioned problems, and its purpose is to automatically and accurately create a tool path for a remaining portion to be machined for a rough material, thereby shortening the molding time of a product. An object of the present invention is to provide a method of creating a machining program for a numerical control device that can be achieved.

【0010】[0010]

【課題を解決するための手段】本発明は上記問題点を解
決するため、製品の形状と、該製品を成形するための粗
材の形状と、粗材を切削加工する工具の半径を含む加工
条件とに基づいて設定された該工具による製品成形のた
めの最終工具経路に対して製品側に向かって法線方向に
工具の半径分だけオフセットしたオフセット経路を作成
し、そのオフセット経路と製品の形状との差を求め、そ
の差に基づいて該工具による加工残り部を作成し、その
加工残り部に基づいて先の工具より小径の新たな工具に
よる加工残り部の切削加工のための新たな工具経路を作
成するようにしたことをその要旨とする。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention includes a shape of a product, a shape of a rough material for molding the product, and a machining including a radius of a tool for cutting the rough material. Create an offset path offset by the radius of the tool in the normal direction toward the product side with respect to the final tool path for product forming by the tool set based on the conditions, and the offset path and the product Obtain the difference from the shape, create a machining remaining part by the tool based on the difference, and based on the machining remaining part, create a new machining for the machining remaining part with a new tool having a smaller diameter than the previous tool. The point is that the tool path is created.

【0011】[0011]

【作用】製品の形状と、その製品を成形するための粗材
の形状と、粗材を切削加工する工具の半径を含む加工条
件とに基づいて粗材を切削加工する工具の工具経路が設
定される。そして、設定された各工具経路のうち最終工
具経路に対して製品側に向かって法線方向に工具の半径
分だけオフセットしたオフセット経路を作成する。そし
て、オフセット経路と製品の形状との差を求めることに
よって該工具による加工残り部が作成される。そして、
この加工残り部に基づいて先の工具より小径の新たな工
具による加工残り部の切削加工のための工具の工具経路
が作成される。
[Function] The tool path of the tool for cutting the rough material is set based on the shape of the product, the shape of the rough material for molding the product, and the processing conditions including the radius of the tool for cutting the rough material. To be done. Then, an offset path is created by offsetting the radius of the tool in the normal direction toward the product side from the final tool path among the set tool paths. Then, the unprocessed portion by the tool is created by obtaining the difference between the offset path and the shape of the product. And
A tool path of the tool for cutting the remaining machining portion with a new tool having a smaller diameter than the previous tool is created based on the remaining machining portion.

【0012】[0012]

【実施例】以下、本発明を具体化した一実施例を図1〜
図6に基づいて説明する。図1は加工残り部自動認識加
工システムの構成を示すブロック図である。このシステ
ムを構成するNC制御装置1は駆動回路2を介してAT
C(オート・ツール・チェンジャ)付き加工装置のサー
ボモータ3に接続されている。そして、NC制御部1に
より駆動回路2を介してをサーボモータ3が駆動制御さ
れ、該サーボモータ3に接続された工具としてのエンド
ミル4a及び該エンドミル4aより小径となるエンドミ
ル4bが回転しながらX,Y,Z軸方向に位置制御され
るようになっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment embodying the present invention will now be described with reference to FIGS.
It will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of a processing remainder automatic recognition processing system. The NC control device 1 constituting this system is connected to the AT via the drive circuit 2.
It is connected to the servomotor 3 of the processing device with C (auto tool changer). Then, the NC motor 1 drives and controls the servo motor 3 via the drive circuit 2, and the end mill 4a as a tool connected to the servo motor 3 and the end mill 4b having a diameter smaller than that of the end mill 4a are rotated X , Y, Z axis position control.

【0013】又、NC制御装置1はエンジニアリングワ
ークステーション(CAD/CAM装置)5に接続され
ている。このエンジニアリングワークステーション5に
より予め作成された、図2,図3に示す粗材11の形状
及び完成となる製品12の形状のデータ等が入力されて
いる。そして、このエンジニアリングワークステーショ
ン5からは粗材11を切削加工し、製品12を成形する
加工データ、粗材11の形状や製品の形状のデータ等が
前記NC制御装置1に出力されるようになっている。
The NC control device 1 is also connected to an engineering workstation (CAD / CAM device) 5. Data of the shape of the rough material 11 and the shape of the finished product 12 shown in FIGS. 2 and 3 which are created in advance by the engineering workstation 5 are input. Then, from the engineering workstation 5, processing data for cutting the rough material 11 to form the product 12, data of the shape of the rough material 11, the data of the shape of the product, and the like are output to the NC control device 1. ing.

【0014】前記エンジニアリングワークステーション
5の中央演算処理装置(以下、単にCPUという)8に
はキーボード6が接続されている。このキーボード6か
らCPU8に各種加工条件を入力したり、システムの起
動、停止等の指示を行うことができるようになってい
る。CPU8には3次元グラフィックスモニタ7が接続
され、この3次元グラフィックスモニタ7には粗材11
の加工状況、加工データや完成となる製品12の形状等
が表示されるようになっている。
A keyboard 6 is connected to a central processing unit (hereinafter, simply referred to as CPU) 8 of the engineering workstation 5. Various processing conditions can be input from the keyboard 6 to the CPU 8 and instructions for starting and stopping the system can be issued. A three-dimensional graphics monitor 7 is connected to the CPU 8, and a rough material 11 is attached to the three-dimensional graphics monitor 7.
The processing status, the processing data, the shape of the finished product 12, and the like are displayed.

【0015】又、前記エンジニアリングワークステーシ
ョン5はCPU8、自動制御プログラム等が記憶される
主記憶装置9及び加工条件、粗材11の形状及び完成と
なる製品12の形状のデータ等が記憶される補助記憶装
置10とから構成されている。
Further, the engineering workstation 5 has a CPU 8, a main memory 9 in which an automatic control program and the like are stored and processing conditions, an auxiliary in which data such as the shape of the rough material 11 and the shape of the finished product 12 is stored. It is composed of a storage device 10.

【0016】前記CPU8に入力された粗材11の形状
及び完成となる製品12の形状のデータ等は補助記憶装
置10に記憶される。又、前加工時の加工条件となるエ
ンドミル4aの半径r1、エンドミル4aの切り込み量
t1及びエンドミル4aのピックフィード量(Z軸方向
に対するエンドミル4a,4bの送り量)hはキーボー
ド6によって入力される。これらの加工条件のデータは
エンジニアリングワークステーション5の補助記憶装置
10に記憶される。同様に、後加工時の加工条件となる
エンドミル4bの半径r2、エンドミル4bの切り込み
量t2もキーボード6によって入力される。これら加工
条件のデータもエンジニアリングワークステーション5
の補助記憶装置10に記憶される。
Data such as the shape of the rough material 11 and the shape of the finished product 12 input to the CPU 8 are stored in the auxiliary storage device 10. The radius r1 of the end mill 4a, the cutting amount t1 of the end mill 4a, and the pick feed amount (the feed amount of the end mills 4a and 4b with respect to the Z-axis direction) h, which are the processing conditions during the pre-processing, are input by the keyboard 6. . The data of these processing conditions are stored in the auxiliary storage device 10 of the engineering workstation 5. Similarly, the radius r2 of the end mill 4b and the cut amount t2 of the end mill 4b, which are the processing conditions during the post-processing, are also input by the keyboard 6. The data of these processing conditions is also used by the engineering workstation 5.
Are stored in the auxiliary storage device 10.

【0017】前記エンジニアリングワークステーション
5は、図3に示すように、前記粗材11をX,Y軸に平
行にピックフィード量h間隔毎にZ軸方向に対して切断
してなるXY断面D1〜Dnを定義する。
As shown in FIG. 3, the engineering workstation 5 has an XY section D1 formed by cutting the rough material 11 in parallel with the X and Y axes at intervals of pick feed amount h in the Z axis direction. Define Dn.

【0018】次に、図4に示すように、CPU8は粗材
11の各XY断面D1〜Dn毎に粗材11の形状、製品
12の形状、エンドミル4aの半径r1及びエンドミル
4aの切り込み量t1に基づいてエンドミル4aによる
工具経路Ra1〜Ran(n :整数)を作成するようになっ
ている。
Next, as shown in FIG. 4, the CPU 8 controls the shape of the rough material 11, the shape of the product 12, the radius r1 of the end mill 4a and the cut amount t1 of the end mill 4a for each XY section D1 to Dn of the rough material 11. Based on the above, the tool paths Ra1 to Ran (n: integer) by the end mill 4a are created.

【0019】そして、各XY断面D1〜Dn毎の工具経
路Ra1〜Ranは次のように作成される。例えば、図4に
示すXY断面D1において、CPU8は製品12の形状
に対して切り込み過ぎない最も近い位置を通るエンドミ
ル4aの工具経路(これを最終工具経路という)Ra1を
作成するようになっている。
The tool paths Ra1 to Ran for each of the XY cross sections D1 to Dn are created as follows. For example, in the XY section D1 shown in FIG. 4, the CPU 8 creates a tool path Ra1 of the end mill 4a (this is called the final tool path) Ra1 that passes through the closest position to the shape of the product 12 without cutting too much. .

【0020】その後、CPU8は最終工具経路Ra1を基
準に切り込み量t1を加算した次の工具経路Ra2を作成
した後、該工具経路Ra2に切り込み量t1を加算した工
具経路Ra3を作成するようになっている。この手順にて
CPU8はエンドミル4aが粗材11を切削加工するた
めの工具経路Ra1,Ra2,Ra3……Ran(n :整数)を
作成するようになっている。
After that, the CPU 8 creates the next tool path Ra2 by adding the cutting amount t1 with the final tool path Ra1 as a reference, and then creates the tool path Ra3 by adding the cutting amount t1 to the tool path Ra2. ing. In this procedure, the CPU 8 creates tool paths Ra1, Ra2, Ra3 ... Ran (n: integer) for the end mill 4a to cut the rough material 11.

【0021】尚、この製品12には半径r1のエンドミ
ル4aで切削加工することができない凹部12aが形成
される。そのため、XY断面D1においてはエンドミル
4aによる斜線にて示す加工残り部Kが発生している。
The product 12 has a recess 12a having a radius r1 which cannot be cut by the end mill 4a. Therefore, in the XY cross section D1, the unprocessed portion K indicated by the diagonal lines due to the end mill 4a is generated.

【0022】以後、CPU8はXY断面D2〜Dnに付
いても上記と同様の手順にて工具経路Ra1〜Ranを作成
し、粗材11に対して製品12を成形する前加工データ
を作成するようになっている。その後、CPU8は作成
したこれらの前加工データをNC制御装置1に出力し、
この前加工データは該NC制御装置1に記憶されるよう
になっている。
Thereafter, the CPU 8 creates tool paths Ra1 to Ran in the same procedure as above for the XY cross sections D2 to Dn, and creates preprocessing data for forming the product 12 on the rough material 11. It has become. Thereafter, the CPU 8 outputs these created pre-processing data to the NC control device 1,
The pre-processed data is stored in the NC control device 1.

【0023】次に、CPU8は各XY断面D1〜Dn毎
において、製品12の形状に一番近い工具経路Ra1、つ
まり最終工具経路Ra1に対して切削加工して成形される
製品12側に向かって法線方向にエンドミル4aの半径
r1分だけオフセットしたオフセット経路ROFF1を作成
するようになっている。
Next, the CPU 8 heads toward the product 12 side formed by cutting the tool path Ra1 closest to the shape of the product 12, that is, the final tool path Ra1 in each XY section D1 to Dn. An offset route ROFF1 is created by offsetting the radius r1 of the end mill 4a in the normal direction.

【0024】又、CPU8は各XY断面D1〜Dn毎に
作成されたオフセット経路ROFF1と各XY断面D1〜D
n毎に対応する製品12の形状とに基づいてオフセット
経路ROFF1と製品の形状とが一致しているか否かを判断
するようになっている。
Further, the CPU 8 controls the offset route ROFF1 created for each XY section D1 to Dn and each XY section D1 to Dn.
Based on the shape of the product 12 corresponding to each n, it is determined whether the offset route ROFF1 and the shape of the product match.

【0025】すなわち、オフセット経路ROFF1から製品
12の形状を差引き、その差分をCPU8が求めるよう
になっている。そして、CPU8は差分がないと判断し
た場合、製品12に対して加工残り部Kが発生していな
いと判断するようになっている。又、CPU8は差分が
あると判断した場合、製品12に対して加工残り部Kが
発生していると判断するようになっている。
That is, the shape of the product 12 is subtracted from the offset route ROFF1, and the difference is calculated by the CPU 8. When the CPU 8 determines that there is no difference, the CPU 8 determines that the unprocessed portion K has not occurred in the product 12. When the CPU 8 determines that there is a difference, the CPU 12 determines that the unprocessed portion K has occurred in the product 12.

【0026】そして、各XY断面D1〜Dn毎の製品1
2の形状に対して加工残り部Kが発生している場合、C
PU8は各XY断面D1〜Dn毎の加工残り部Kに基づ
く加工残りデータを作成して補助記憶装置10に記憶す
るようになっている。
The product 1 for each XY section D1 to Dn
When the unprocessed portion K occurs for the shape of 2, C
The PU 8 is adapted to create unprocessed data based on the unprocessed part K for each of the XY cross sections D1 to Dn and store it in the auxiliary storage device 10.

【0027】次に、前記CPU8は各XY断面D1〜D
n毎に発生している加工残り部Kの切削加工を行うため
の工具経路Rb1〜Rbnを作成するようになっている。つ
まり、CPU8は前記前加工より小径となる半径r2の
エンドミル4b、該エンドミル4bの切り込み量t2、
製品12における凹部12aの形状、各XY断面D1〜
Dn毎に発生した加工残り部Kの加工残りデータに基づ
いてエンドミル4bの工具経路Rb1〜Rbnを作成するよ
うになっている。
Next, the CPU 8 controls each XY section D1 to D.
Tool paths Rb1 to Rbn for cutting the remaining machining portion K generated for each n are created. That is, the CPU 8 has an end mill 4b having a radius r2 smaller than that of the pre-machining, a cutting amount t2 of the end mill 4b,
The shape of the recess 12a in the product 12, each XY cross section D1
The tool paths Rb1 to Rbn of the end mill 4b are created based on the unprocessed data of the unprocessed part K generated for each Dn.

【0028】そして、図6に示すように、例えば粗材1
1が切断されたXY断面D1の粗材11の形状に対して
斜線にて示す加工残り部Kが発生しているとする。この
とき、点線にて示す部分が製品12における凹部12a
の形状となる。そして、CPU8はオフセット経路ROF
F1と製品12における加工残り部Kに基づいてエンドミ
ル4bの半径r2が接する工具経路Rb1を作成するよう
になっている。
Then, as shown in FIG. 6, for example, the rough material 1
It is assumed that an unprocessed portion K indicated by diagonal lines is generated with respect to the shape of the rough material 11 of the XY cross section D1 in which No. At this time, the portion indicated by the dotted line is the recess 12a in the product 12.
It becomes the shape of. Then, the CPU 8 causes the offset route ROF
A tool path Rb1 with which the radius r2 of the end mill 4b contacts is created based on F1 and the unprocessed portion K of the product 12.

【0029】CPU8は工具経路Rb1を基準にエンドミ
ル4bの切り込み量t2を加算した次の工具経路Rb2を
作成した後、該工具経路Rb2にエンドミル4bの切り込
み量t2を更に加算した工具経路Rb3を作成するように
なっている。この手順にてCPU8によりエンドミル4
bが加工残り部Kを切削加工する工具経路Rb1, Rb2,
……Rbn(n :は整数)を作成するようになっている。
The CPU 8 creates the next tool path Rb2 by adding the cutting amount t2 of the end mill 4b based on the tool path Rb1, and then creates the tool path Rb3 by further adding the cutting amount t2 of the end mill 4b to the tool path Rb2. It is supposed to do. In this procedure, the CPU 8 makes the end mill 4
b is a tool path Rb1, Rb2, for cutting the remaining machining portion K
...... Rbn (n: is an integer) is created.

【0030】上記の手順によって後加工となる各XY断
面毎D1〜Dnの加工残り部K毎に作成された工具経路
Rb1〜Rbnはエンジニアリングワークステーション5の
補助記憶装置10に記憶されるようになっている。
The tool paths Rb1 to Rbn created for each of the unprocessed portions K of D1 to Dn for each XY section to be post-processed by the above procedure are stored in the auxiliary storage device 10 of the engineering workstation 5. ing.

【0031】次に、上記のように構成された加工残り部
自動認識加工システムにおける加工プログラムの作成方
法を図7のフローチャートに基づいて説明する。まず、
粗材11を切削加工するエンドミル4aの半径r1、エ
ンドミル4aの切り込み量t1及びエンドミル4aのピ
ックフィード量h等をキーボード6によって入力する
(STEP1、以下STEPを単にSという)。する
と、CPU8は粗材11をピックフィード量hに基づい
てXY軸方向に平行に等間隔にZ軸方向に対して切断し
てなるXY断面D1〜Dnを作成する(S2)。
Next, a method of creating a machining program in the machining residual portion automatic recognition machining system configured as described above will be described with reference to the flowchart of FIG. First,
A radius r1 of the end mill 4a for cutting the rough material 11, a cutting amount t1 of the end mill 4a, a pick feed amount h of the end mill 4a, and the like are input with the keyboard 6 (STEP 1, hereinafter STEP is simply referred to as S). Then, the CPU 8 creates XY cross sections D1 to Dn formed by cutting the rough material 11 in parallel with the XY axis directions at equal intervals in the Z axis direction based on the pick feed amount h (S2).

【0032】そして、CPU8は切断されたXY断面D
1〜Dn全てに対応した製品12の形状とエンドミル4
aの半径r1及び切り込み量t1に基づいてエンドミル
4aの工具経路Ra1〜Ranを作成する(S3)。次に、
加工残り部加工のためのエンドミル4bの半径r2、切
り込み量t2、ピックフィード量h等をキーボード6に
よって入力する(S4)。そうすると、CPU8は製品
12に一番近い工具経路Ra1に対してエンドミル4aの
半径r1分だけ製品12側に法線方向にオフセットを行
い、オフセット経路ROFF1を作成する(S5)。
Then, the CPU 8 cuts the cut XY section D.
Shape of product 12 and end mill 4 corresponding to all 1 to Dn
The tool paths Ra1 to Ran of the end mill 4a are created based on the radius r1 of a and the cut amount t1 (S3). next,
The radius r2, the cutting amount t2, the pick feed amount h, etc. of the end mill 4b for processing the remaining portion to be processed are input using the keyboard 6 (S4). Then, the CPU 8 offsets the tool path Ra1 closest to the product 12 by the radius r1 of the end mill 4a toward the product 12 in the normal direction to create an offset path ROFF1 (S5).

【0033】又、CPU8は前記オフセット経路ROFF1
と製品12の形状とを比較、つまりオフセット経路ROF
F1から製品12の形状を差引き、その差分を求める(S
6)。そして、CPU8はその差分があるか否かを判断
する(S7)。そして、差分が発生した部分は製品12
に対する加工残り部KとしてCPU8は判断し(S
8)、その加工残り部Kが補助記憶装置10に記憶され
る。一方、差分が発生していない部分は製品12に対す
る加工残り部Kとして判断せず、CPU8は直ちにS9
に移行する。
Further, the CPU 8 uses the offset route ROFF1.
And the shape of the product 12, that is, the offset path ROF
The shape of the product 12 is subtracted from F1 and the difference is calculated (S
6). Then, the CPU 8 determines whether or not there is the difference (S7). And the part where the difference occurs is the product 12
CPU8 judges as the unprocessed part K for (S
8), the unprocessed portion K is stored in the auxiliary storage device 10. On the other hand, the portion where no difference is generated is not judged as the unprocessed portion K for the product 12, and the CPU 8 immediately proceeds to S9.
Move to.

【0034】そして、CPU8は全てのXY断面D1〜
Dn毎に対して加工残り部Kを補助記憶装置10に記憶
したか否かを判断する(S9)。全てのXY断面D1〜
Dn毎の処理を行っていない場合、CPU8はS5に戻
って再び加工残り部Kを求め、求められた加工残り部K
を補助記憶装置10に記憶する工程を繰り返す。
Then, the CPU 8 has all the XY cross sections D1 to D1.
It is determined whether or not the unprocessed portion K is stored in the auxiliary storage device 10 for each Dn (S9). All XY cross sections D1
When the processing for each Dn is not performed, the CPU 8 returns to S5 to obtain the unprocessed portion K again, and the obtained unprocessed portion K is obtained.
Is stored in the auxiliary storage device 10 is repeated.

【0035】又、全てのXY断面D1〜Dnに対して加
工残り部Kを補助記憶装置10に記憶した場合、CPU
8は各XY断面D1〜Dn毎の加工残り部Kに対して加
工条件に基づくエンドミル4bの工具経路Rb1〜Rbnを
作成する(S10)。そして、CPU8は各XY断面D
1〜Dn毎の加工残り部Kに対する工具経路Rb1〜Rbn
を作成したか否かを判断する(S11)。
When the unprocessed portion K is stored in the auxiliary storage device 10 for all the XY cross sections D1 to Dn, the CPU
Reference numeral 8 creates tool paths Rb1 to Rbn of the end mill 4b based on the machining conditions for the machining residual portion K for each of the XY cross sections D1 to Dn (S10). Then, the CPU 8 causes each XY section D
Tool paths Rb1 to Rbn for the remaining machining portion K for each 1 to Dn
It is determined whether or not has been created (S11).

【0036】各XY断面D1〜Dn毎の加工残り部Kに
対する工具経路Rb1〜Rbnを作成していない場合、CP
U8はS10に再び移行して各XY断面D1〜Dnの加
工残り部Kに対する工具経路Rb1〜Rbnを作成し、各X
Y断面D1〜Dn毎の加工残り部Kに対する工具経路R
b1〜Rbnを作成した場合、CPU8はプログラムの作成
を終了する。
When the tool paths Rb1 to Rbn for the remaining machining portion K for each of the XY cross sections D1 to Dn are not created, CP
U8 shifts to S10 again and creates tool paths Rb1 to Rbn for the unprocessed portion K of each XY cross section D1 to Dn, and each X.
Tool path R for the remaining machining section K for each Y section D1 to Dn
When b1 to Rbn are created, the CPU 8 ends the creation of the program.

【0037】上記の手順にてエンジニアリングワークス
テーション5により作成された加工データとなるプログ
ラムはNC制御装置1に伝送される。そして、システム
を作動させると、各XY断面D1〜Dn毎に作成された
エンドミル4aの工具経路Ra1〜Ranに基づいてNC制
御装置1は駆動回路2を介してサーボモータ3を制御
し、エンドミル4aを回転させながらX,Y方向に移動
させて粗材11の切削加工を行う。
The program, which is the machining data created by the engineering workstation 5 in the above procedure, is transmitted to the NC controller 1. Then, when the system is operated, the NC controller 1 controls the servomotor 3 via the drive circuit 2 based on the tool paths Ra1 to Ran of the end mill 4a created for each XY section D1 to Dn, and the end mill 4a. Is moved in the X and Y directions while rotating, to cut the rough material 11.

【0038】又、XY断面D1〜Dn毎に設定されたエ
ンドミル4aの工具経路Ra1〜Ranに基づいて粗材11
の前加工が終了すると、NC制御装置1はATCにより
エンドミル4aを取り外してエンドミル4bと交換す
る。
Further, the rough material 11 is based on the tool paths Ra1 to Ran of the end mill 4a set for each of the XY cross sections D1 to Dn.
When the pre-processing of 1 is completed, the NC control device 1 removes the end mill 4a by ATC and replaces it with the end mill 4b.

【0039】その後、NC制御装置1に記憶されたXY
断面D1〜Dn毎に設定された加工残り部Kに対する工
具経路Rb1〜Rbnに基づいてNC制御装置1は駆動回路
2を介してサーボモータ3を制御し、エンドミル4bを
回転させながらX,Y方向に移動させて粗材11の切削
加工を行う。
After that, the XY stored in the NC control device 1 is stored.
The NC controller 1 controls the servomotor 3 via the drive circuit 2 on the basis of the tool paths Rb1 to Rbn for the unprocessed portion K set for each of the cross sections D1 to Dn, and rotates the end mill 4b in the X and Y directions. Then, the rough material 11 is cut.

【0040】そして、各XY断面D1〜Dnにおける加
工残り部Kに基づいた加工経路Rb1〜Rbnに基づいて粗
材11を切削加工すると後加工が終了し、この結果、製
品12の成形が終了する。
Then, when the rough material 11 is cut based on the processing paths Rb1 to Rbn based on the processing remaining portion K in each of the XY cross sections D1 to Dn, the post processing is ended, and as a result, the molding of the product 12 is ended. .

【0041】従って、各XY断面D1〜Dn毎の製品1
2の最終となる工具経路Ra1に対して切削して成形され
る製品12側に向かって法線方向にエンドミル4aの半
径r1分だけオフセットしたオフセット経路ROFF1を作
成する。そして、このオフセット経路ROFF1と製品12
の形状とを比較して加工残り部Kを自動的に認識するこ
とができる。この結果、加工残り部Kを自動的に全て切
削して除去することができるので、高速で製品12の成
形を行うことができるとともに、成形時間の短縮を図る
ことができる。
Therefore, the product 1 for each XY section D1 to Dn
The offset path ROFF1 is created by offsetting the radius r1 of the end mill 4a in the normal direction toward the product 12 side formed by cutting with respect to the final tool path Ra1 of 2. And this offset route ROFF1 and product 12
It is possible to automatically recognize the unprocessed portion K by comparing with the shape. As a result, the unprocessed portion K can be automatically cut and removed, so that the product 12 can be molded at high speed and the molding time can be shortened.

【0042】本実施例は、製品12の寸法精度を向上さ
せる仕上げ加工工程を含まなかったが、製品12の形状
に対して仕上げ加工量を考慮した製品12の成形を行う
場合にも本発明を適用することが可能である。
Although this embodiment did not include a finishing step for improving the dimensional accuracy of the product 12, the present invention is also applied to the case where the shape of the product 12 is formed in consideration of the finishing amount. It is possible to apply.

【0043】更に、本実施例においては、エンドミル4
bによって加工残り部Kを完全に切削加工することがで
きたが、エンドミル4bによっても加工残り部Kが発生
した場合には更にエンドミル4bよりも小径となるエン
ドミルを設定し、このエンドミルによって更に加工残り
部を切削加工するように行うことも可能である。
Further, in this embodiment, the end mill 4
Although it was possible to completely cut the unprocessed part K by b, if the unprocessed part K is also generated by the end mill 4b, an end mill having a smaller diameter than the end mill 4b is set and further processed by this end mill. It is also possible to cut the remaining part.

【0044】[0044]

【発明の効果】以上、詳述したように本発明によれば、
製品を成形するための工具の最終経路に対して成形され
た製品側に向かって法線方向に工具の半径分だけオフセ
ットしたオフセット経路と製品の形状とに基づいて粗材
に対する加工残り部を自動認識することができるので、
効率よく加工残り部に対する工具経路を作成することが
できるとともに、粗材から製品の成形する時間の短縮を
図ることができる優れた効果がある。
As described above in detail, according to the present invention,
Automatically process the remaining part of the rough material based on the offset path offset by the radius of the tool in the normal direction toward the formed product side with respect to the final path of the tool for forming the product, and the product shape Because you can recognize
There is an excellent effect that it is possible to efficiently create a tool path for the unprocessed portion and to shorten the time for molding the product from the rough material.

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

【図1】本発明に係る加工残り部自動認識加工システム
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a processing remainder automatic recognition processing system according to the present invention.

【図2】完成製品を示す斜視図である。FIG. 2 is a perspective view showing a completed product.

【図3】粗材に対して製品の形状を一致させるととも
に、粗材をXY軸に対して平行に切断することを示す斜
視図である。
FIG. 3 is a perspective view showing that the shape of the product is matched with that of the rough material and that the rough material is cut parallel to the XY axes.

【図4】粗材の一断面に対して工具経路が設定された状
態を示す平面図である。
FIG. 4 is a plan view showing a state in which a tool path is set for one cross section of a rough material.

【図5】最終工具経路に基づいてオフセット経路が作成
されたことを示す説明図である。
FIG. 5 is an explanatory diagram showing that an offset path is created based on a final tool path.

【図6】粗材の一断面の加工残り部に対して工具経路が
作成されたことを示す説明図である。
FIG. 6 is an explanatory diagram showing that a tool path is created with respect to an unprocessed portion of a cross section of a rough material.

【図7】加工プログラムを作成する手順を説明するフロ
ーチャート図である。
FIG. 7 is a flowchart illustrating a procedure for creating a machining program.

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

4a,4b…工具としてのエンドミル、11…粗材、1
2…製品、r1…半径、Ra1…最終工具経路、ROFF1…
オフセット経路、K…加工残り部、Rb1〜Rbn…工具経
4a, 4b ... End mill as tool, 11 ... Rough material, 1
2 ... Product, r1 ... Radius, Ra1 ... Final tool path, ROFF1 ...
Offset path, K ... Remaining part of machining, Rb1 to Rbn ... Tool path

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 製品の形状と、該製品を成形するための
粗材の形状と、粗材を切削加工する工具の半径を含む加
工条件とに基づいて設定された該工具による製品成形の
ための最終工具経路に対して製品側に向かって法線方向
に工具の半径分だけオフセットしたオフセット経路を作
成し、そのオフセット経路と製品の形状との差を求め、
その差に基づいて該工具による加工残り部を作成し、そ
の加工残り部に基づいて先の工具より小径の新たな工具
による加工残り部の切削加工のための新たな工具経路を
作成するようにしたことを特徴とする数値制御装置用機
械加工プログラムの作成方法。
1. For product molding by the tool, which is set on the basis of the shape of the product, the shape of the rough material for molding the product, and the processing conditions including the radius of the tool for cutting the rough material. Create an offset path offset by the radius of the tool in the direction of the normal to the final tool path of, and find the difference between the offset path and the product shape,
Based on the difference, create a machining remainder by the tool, and based on the machining remainder, create a new tool path for cutting the machining remainder with a new tool having a smaller diameter than the previous tool. A method for creating a machining program for a numerical control device, characterized in that
JP25504392A 1992-09-24 1992-09-24 Method for generating machining program for numerical controller Pending JPH06102914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25504392A JPH06102914A (en) 1992-09-24 1992-09-24 Method for generating machining program for numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25504392A JPH06102914A (en) 1992-09-24 1992-09-24 Method for generating machining program for numerical controller

Publications (1)

Publication Number Publication Date
JPH06102914A true JPH06102914A (en) 1994-04-15

Family

ID=17273373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25504392A Pending JPH06102914A (en) 1992-09-24 1992-09-24 Method for generating machining program for numerical controller

Country Status (1)

Country Link
JP (1) JPH06102914A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08179818A (en) * 1994-12-26 1996-07-12 Nec Corp Device and method for generating outline working data
WO2004107068A1 (en) * 2003-05-30 2004-12-09 Fujitsu Limited Device and method for extracting unfinished shape
WO2012057285A1 (en) * 2010-10-29 2012-05-03 株式会社日立製作所 Tool route generating device, method of generating tool route and program therefor
JP2015183640A (en) * 2014-03-25 2015-10-22 Dmg森精機株式会社 Method of adjusting volume of combustion chamber of engine

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08179818A (en) * 1994-12-26 1996-07-12 Nec Corp Device and method for generating outline working data
WO2004107068A1 (en) * 2003-05-30 2004-12-09 Fujitsu Limited Device and method for extracting unfinished shape
US7319913B2 (en) 2003-05-30 2008-01-15 Fujitsu Limited Device and method for extracting unmachined shape
WO2012057285A1 (en) * 2010-10-29 2012-05-03 株式会社日立製作所 Tool route generating device, method of generating tool route and program therefor
JP2012096301A (en) * 2010-10-29 2012-05-24 Hitachi Ltd Tool route generating device, method of generating tool route and program therefor
JP2015183640A (en) * 2014-03-25 2015-10-22 Dmg森精機株式会社 Method of adjusting volume of combustion chamber of engine

Similar Documents

Publication Publication Date Title
US6772038B2 (en) Machining-related information generating apparatus and numerical controller having the same
US7269471B2 (en) Tool path data generation apparatus for NC machine tool and numerical controller provided with it
JP4943173B2 (en) Slide core hole machining method and measurement / correction system used for slide core hole machining
US20030187624A1 (en) CNC control unit with learning ability for machining centers
US4703415A (en) Method of approach in area cutting
US4713747A (en) Numerically controlled machining method using primary and compensating cutters
EP0145934B1 (en) Tool display method and device for machining apparatus equipped with numerical control unit
US4698573A (en) Numerically controlled working process
JP2005288563A (en) Method and device for creating working program
JPH06102914A (en) Method for generating machining program for numerical controller
EP1209544B1 (en) Tool path data generation apparatus for nc machine tool and numerical controller provided with it
JPS63206804A (en) Numerical control system
JP3202068B2 (en) Method of creating tool movement path for NC machining
JPH0370242B2 (en)
JPH027105A (en) Method for preparing offsetting shape
JP3116711B2 (en) NC data creation device for 3D contour machining of molds
JP3328150B2 (en) Tool path data generation method
US11003158B2 (en) Method for 3D radius correction in CNC milling and associated milling machine
JPH11134014A (en) Nc data preparing device for cutting section left from cutting
JPH0691479A (en) Machining method of noncircular work
JPH08249036A (en) Nc data preparation method
JPS6149068B2 (en)
JPH0358858B2 (en)
JPH02132503A (en) Numerical control data producing device
JPH03103902A (en) Tool interference check device for numerically controlled working machine