JPH0363707A - Nc data generating device - Google Patents

Nc data generating device

Info

Publication number
JPH0363707A
JPH0363707A JP20002189A JP20002189A JPH0363707A JP H0363707 A JPH0363707 A JP H0363707A JP 20002189 A JP20002189 A JP 20002189A JP 20002189 A JP20002189 A JP 20002189A JP H0363707 A JPH0363707 A JP H0363707A
Authority
JP
Japan
Prior art keywords
tool
cutting
intersection line
data
drilling
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.)
Granted
Application number
JP20002189A
Other languages
Japanese (ja)
Other versions
JP2839564B2 (en
Inventor
Tatsuya Fujii
藤井 達哉
Takahiro Tanaka
田中 太宏
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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP20002189A priority Critical patent/JP2839564B2/en
Publication of JPH0363707A publication Critical patent/JPH0363707A/en
Application granted granted Critical
Publication of JP2839564B2 publication Critical patent/JP2839564B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a large amount of cutting from being left even if a worker, etc., do not judge the depth by generating a curved surface from a negative form three-dimensional shape, calculating an intersection line with a plane at every serration quantity, and generating cutting NC data and piercing NC data. CONSTITUTION:By a curved surface generating means, a curved surface is generated from a negative from three-dimensional shape in a finish shape storage means. An intersection line arithmetic means calculated an intersection line with a plane at every serration quantity from the generated curved surface and working start depth stored in a working condition storage means. A thrust-in point deciding means decides a position relation of a closed loop of an offset intersection line and a thrust-in point of a piercing tool from the calculated intersection line, a cutting NC data generating means generates NC data of cutting executed by a cutting tool, and a piercing NC data generating means generates NC data of piercing executed by a piercing tool. In such a way, the piercing depth can be calculated by only inputting the negative form three-dimensional shape being a finish shape without necessitating a decision of a worker, etc., and it does not occur that a large amount of cutting is left in the vicinity of the bottom face.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、加工対象の工作物に対してメス型三次元形状
を荒取り加工するためのNCデータ作成装置関する。
The present invention relates to an NC data creation device for rough machining a female three-dimensional shape on a workpiece to be machined.

【従来技術】[Prior art]

従来、メス型三次元形状の荒取り加工を行う場合には、
その切削工具であるエンドミル等にて突っ込みをする位
置に予め切削工具より径の大きいドリル等の穴明は工具
を用いて穴を明けておき、その穴に対してエンドミル等
を突っ込んできざみ量毎の深さの等高線に基づいた平面
毎に切削を行っている。 そして、上記ドリル等の穴明は工具により穴明けを行う
場合において、その突っ込み深さは荒取り加工をするメ
ス型三次元形状の底面が平面でない時などにおいては、
特に安全を見込んで、その底面にドリル等の穴明は工具
の先端が届かない程度に余裕を見て適当に作業者等が決
定していた。
Conventionally, when roughing a female three-dimensional shape,
Use a drill or other tool with a larger diameter than the cutting tool to make a hole in advance at the position where the cutting tool, such as an end mill, will penetrate, and then insert the end mill, etc. into the hole to make a hole for each increment amount. Cutting is performed for each plane based on the depth contour lines. When drilling with a tool such as the drill mentioned above, the depth of penetration should be determined when the bottom surface of the female three-dimensional shape to be rough-cut is not flat, etc.
In particular, with safety in mind, the holes made by a drill or the like on the bottom were determined by the operator with enough margin that the tip of the tool could not reach.

【発明が解決しようとする課題】[Problem to be solved by the invention]

上述のように、作業者等が仕上げ形状であるメス型三次
元形状を把握しドリル等による穴明は深さを指示してい
るため、穴明は深さはその形状の底面よりかなり手前で
終了させている。 このため、エンドミル等の切削工具による等高線に基づ
いた平面毎の荒取り切削においても、上記ドリル等によ
る穴明は深さまでしか切削できないので、メス型三次元
形状の底面付近に多くの削り代を残してしまうことにな
る。 上記削り代を少なくするために、前加工であるドリル等
による穴明は深さを無視しエンドミル等の切削工具にて
加工終了深さであるメス型三次元形状の底面付近まで切
削しようとすると、その刃先に大きな負荷をかけること
になってしまう。 本発明は、上記の課題を解決するために或されたもので
あり、その目的とするところは、ドリル等による穴明は
深さが作業者等の判断を必要とせず仕上げ形状のメス型
三次元形状を入力するだけで算出され、その形状に対す
る最大の深さまで穴明けできると共にその後のエンドミ
ル等の切削工具による荒取り切削も同じ深さまで実行で
きるので、メス型三次元形状の底面付近に多くの削り代
を残すことがない荒取り用のNCデータの作成装置を提
供することである。
As mentioned above, the operator grasps the three-dimensional female shape that is the finished shape and indicates the depth when drilling with a drill, etc., so the depth of the hole is well below the bottom of the shape. It is being terminated. For this reason, even when rough cutting is performed for each plane based on contour lines using a cutting tool such as an end mill, the hole drilling using the above-mentioned drill etc. can only cut to the depth, so a large amount of machining allowance is left near the bottom of the female three-dimensional shape. I will leave it behind. In order to reduce the above-mentioned machining allowance, when drilling with a pre-processing such as a drill, ignore the depth and use a cutting tool such as an end mill to cut to the bottom of the female three-dimensional shape, which is the finishing depth. , a large load is placed on the cutting edge. The present invention has been made to solve the above-mentioned problems, and its purpose is to eliminate the need for the operator to judge the depth of a hole using a drill, etc. It is calculated just by inputting the original shape, and the hole can be drilled to the maximum depth for that shape, and subsequent rough cutting with a cutting tool such as an end mill can be performed to the same depth. To provide an apparatus for creating NC data for rough cutting without leaving any machining allowance.

【課題を解決するための手段】[Means to solve the problem]

上記課題を解決するための発明の構成は、第1図にその
概念を示したように、加工対象の工作物に穴明は工具で
穴明けした位置に基づいて切削工具により工具経路に従
ってメス型三次元形状を荒取り加工する工作機械のNC
データを作成する装置において、前記工作物の仕上げ形
状であるメス型三次元形状を記憶する仕上げ形状記憶手
段と、前記穴明は及び切削工具の径、前記切削工具の工
作物材質に対する所定の突っ込み単位深さであるきざみ
量等の工具情報や前記穴明は及び切削工具の前記工作物
に対して予め設定した突っ込み点、加工開始深さ等の加
工情報を記憶する加工条件記憶手段と、前記仕上げ形状
記憶手段に記憶されたメス型三次元形状から曲面を創成
する曲面創成手段と、前記曲面創成手段により創成され
た曲面と前記加工条件記憶手段に記憶された加工開始深
さからきざみ量毎の平面との交線を算出する交線演算手
段と、前記交線演算手段にて算出された交線と前記加工
条件記憶手段に記憶された穴明は工具の径とから該穴明
は工具の工具半径分オフセットしたオフセット交線を算
出しその閉ループとその穴明は工具の突っ込み点との位
置関係を判定する突っ込み点判定手段と、前記突っ込み
点判定手段で穴明は工具の突っ込み点が閉ループ内と判
定されると、前記交線演算手段にて算出された交線と前
記加工条件記憶手段に記憶された切削工具の径とから工
具半径分オフセットしたオフセット交線を算出し、その
切削工具のオフセット交線と前記加工条件記憶手段に記
憶された情報とに基づき前記工具経路に従って前記切削
工具による切削のNCデータを生成する切削NCデータ
生成手段と、前記突っ込み点判定手段で穴明は工具の突
っ込み点が閉ループ外と判定されると、前記交線演算手
段で算出した時の平面深さからlきざみ量手前の平面深
さまで前記加工条件記憶手段に記憶された情報に基づき
前記穴明は工具による穴明けのNCデータを生成する穴
明けNCデータ生成手段とを備えたことを特徴とする。
The structure of the invention for solving the above problem is that, as the concept is shown in FIG. NC for machine tools that rough-cut three-dimensional shapes
The apparatus for creating data includes a finishing shape memory means for storing a female three-dimensional shape that is the finished shape of the workpiece, a diameter of the hole and a cutting tool, and a predetermined plunge of the cutting tool into the material of the workpiece. a machining condition storage means for storing tool information such as the amount of increments that is a unit depth, machining information such as a plunge point set in advance for the workpiece by the hole drilling and cutting tool, and a machining start depth; A curved surface generating means for creating a curved surface from the female three-dimensional shape stored in the finishing shape memory means; an intersection line calculation means for calculating an intersection line with the plane of the plane, and a hole size calculated from the intersection line calculated by the intersection line calculation means and the diameter of the tool stored in the machining condition storage means. A plunge point determining means calculates an offset intersection line offset by the tool radius and determines the positional relationship between the closed loop and the plunge point of the tool, When it is determined that the loop is within the closed loop, an offset intersection line is calculated by offsetting the intersection line calculated by the intersection line calculation means and the diameter of the cutting tool stored in the machining condition storage means by the tool radius, and the cutting cutting NC data generation means for generating NC data of cutting by the cutting tool according to the tool path based on the offset intersection line of the tool and information stored in the machining condition storage means; and drilling by the penetration point determination means. When it is determined that the plunge point of the tool is outside the closed loop, the hole is drilled based on the information stored in the machining condition storage means from the plane depth calculated by the intersection line calculation means to the plane depth l increments before the plane depth. is characterized by comprising a drilling NC data generation means for generating NC data of drilling by a tool.

【作用】[Effect]

曲面創成手段により仕上げ形状記憶手段に記憶された仕
上げ形状であるメス型三次元形状から曲面を創成する。 次に、交線演算手段はその創成された曲面と加工条件記
憶手段に記憶された加工開始深さからきざみ量毎の平面
との交線を算出する。 ここで、突っ込み点判定手段はその算出された交線から
穴明は工具の工具半径分オフセ・ソトして算出されたオ
フセット交線の閉ループと穴明は工具の突っ込み点との
位置関係を判定する。そして、切削NCデータ生成手段
は穴明は工具のオフセット交線の閉ループ内にその突っ
込み点が有ると、切削工具の工具半径分オフセットして
算出されたオフセット交線と加工条件記憶手段に記憶さ
れた情報とに基づき工具経路に従って切削工具による切
削のNCデータを生成する。又、穴明けNCデータ生成
手段は穴明は工具のオフセット交線の閉ループ内にその
突っ込み点が無いと、その時の交線を算出した平面深さ
から1きざみ量手前の平面深さまで加工条件記憶手段に
記憶された情報に基づき穴明は工具による穴明けのNC
データを生成する。
A curved surface is created by the curved surface creation means from the female three-dimensional shape which is the finished shape stored in the finished shape memory means. Next, the intersection line calculation means calculates the intersection line between the created curved surface and the plane for each increment amount from the machining start depth stored in the machining condition storage means. Here, the plunge point determination means determines the positional relationship between the calculated intersection line and the closed loop of the offset intersection line, which is calculated by offsetting and sorting by the radius of the tool, and the plunge point of the tool. do. Then, when the cutting NC data generation means determines that the plunge point is within the closed loop of the offset intersection line of the tool, the cutting NC data generation means stores the offset intersection line calculated by offsetting the tool radius of the cutting tool in the machining condition storage means. NC data of cutting by the cutting tool is generated according to the tool path based on the information obtained. In addition, the drilling NC data generation means stores the machining conditions up to the plane depth one increment before the plane depth from which the intersection line was calculated at that time if the plunge point is not within the closed loop of the offset intersection line of the tool. Based on the information stored in the means, drilling is performed by NC of drilling with a tool.
Generate data.

【実施例】【Example】

以下、本発明を具体的な実施例に基づいて説明する。 第2図において10は数値制御装置であり、この数値制
御装置10には、サーボモータ駆動回路DUX、DUY
、DUZ1シー/;r7スm7)o−ラ11が囲路のイ
ンタフェースを介して接続されている。 一方、20は前記構成の数値制御装置10によって制御
されるマシニングセンタ形の工作機械であり、前記サー
ボモータ駆動回路DUX、DUY。 DUZのそれぞれによって駆動されるサーボモータ21
,22.23の回転によって、工作物Wを支持する工作
物テーブル25と、主軸モー53Mによって駆動される
主軸26を軸架する主軸ヘッド24との間の相対位置が
三次元的に変更される。 又、27は複数種類の工具を保持する工具マガジンであ
り、囲路のマガジン割出装置と工具交換装置28とによ
って工具マガジン27内の工具が選択的に主軸26に装
着されて工作物Wの加工が行われる。 又、シーケンスコントローラ11には、コンピュータ1
2と主軸モー53Mの回転数を制御する主軸モータ駆動
回路15とが接続されている。このコンピュータ12は
マイクロプロセッサ12a。 クロック信号発生回路12b、ROM12c、RAM1
2d、固定ディスクt28.インタフェース12f、1
2g、12hによって主に構成され、インタフェース1
2hにはキーボード13とCRT表示装置14が接続さ
れている。 次に、MPU12aの処理手順を第3図のフローチャー
トに基づき、工具情報及び加工情報を示した説明図であ
る第4図(a)及び第4図(b)を参照して説明する。 先ず、仕上げ形状記憶手段を達成するステップ100で
工作物Wの仕上げ形状であるメス型三次元形状を表す点
群座標情報を、加工条件記憶手段を達成するステップ1
02で工具径、工具長等の工具情報及び三次元形状の平
面内のどの位置にドリルで穴明けを行うかを示す突っ込
み点と設計図面等から求めたドリルで穴明けを開始する
加工開始深さと前記突っ込み点で穴明けした時、削り残
しが出ないと思われる深さ(例えば、三次元曲面上の点
もしくはそれより深い位置)を示す加工終了深さから成
る加工情報をキーボード13からそれぞれRAM12d
に入力する。 次に、曲面創成手段を達成するステップ104に移行し
、ステップ100で記憶されたメス型三次元形状の点群
座標情報から各点間を補間して曲面を創成する。 そして、ステップ106に移行し、ステップ102で入
力された加工情報から加工開始深さであるSZ(スター
トZ座標)を読み出し最初の深さZとする。 次に、交線演算手段を達成するステップ108に移行し
、深さZl:おける平面と曲面との交線を算出する。 次にステップ110に移行して、ステップ108で算出
された交線が有るか否かが判定される。 ステップ110で交線が有ると判定はYESであり、ス
テップ112に移行し、ステップ108で算出された交
線から穴明は工具であるドリルの工具半径分だけ内側に
オフセットしたオフセット交線を算出する。 次に、突っ込み点判定手段を達成するステップ114に
移行し、ステップ102で入力された加工情報から突っ
込み点(X、Y座標)を読み出し、その位置がステップ
112で算出されたドリルのオフセット交線の閉ループ
内であるか否かが判定される。 ステップ114で、突っ込み点がドリルのオフセット交
線内であれば判定はYESであり、切削NCデータ生成
手段を達成するステップ116に移行し、ステップ10
8で算出された交線から切削工具であるエンドミルの工
具半径分オフセットしたオフセット交線を算出し、その
オフセット交線とステップ102で入力された工具情報
及び加工情報から突っ込み点及びステップ幅等を読み出
し、第5図(C)に示されたようにドリルにて明けられ
た穴を広げるように渦巻きの工具経路に従って切削工具
であるエンドミルによる切削のNCデータを生成する。 そして、ステップ118に移行し、ステップ102で入
力された加工情報から加工終了深さであるEZ(終了2
座m) を読み出し、ステップ108で交線を算出した
深さZがEZ以下であるか否かが判定される。 ステップ118で加工深さZがEZ以下でなければ判定
はNOであり、ステップ120に移行し、ステップ10
2で入力された工具情報から切削工具であるエンドミル
のきざみ量であるDZを読み出し、交線算出の深さZを
工きざみ量だけ深くしたZ=Z+DZとして、ステップ
108に戻り以下、上述と同様の処理を実行する。 そして、ステップ118で深さZがEz以下となり判定
がYESである時、更に、上述のステップ110で交線
が無くて判定がNOである時及びステップ114で突っ
込み点がドリルのオフセット交線内に無くて判定がNO
である時にはステップ122に移行する。 ステップ122では深さZを1きざみ量だけ浅くしたZ
=Z−DZとし、穴明けNCデータ生成手段を達成する
ステップ124に移行し、ステップ102で入力された
工具情報及び加工情報から突っ込み点等を読み出し穴明
は工具であるドリルによる穴明けのNCデータを生成す
る。 そして、ステップ126に移行し、最初、穴明は工具で
あるドリルを工具マガジン27内から囲路のマガジン割
出装置と工具交換装置28とによって選択して主軸26
に装着し、工作物Wの穴明けが終了するとドリルを工具
マガジン27に返し、次に、切削工具であるエンドミル
を工具マガジン27から呼び出し主軸26に装着した後
、工作物Wの荒取り切削をするというような工具交換サ
イクルを付加して、本プログラムを終了する。 尚、本発明の加工情報に予め設定して記憶させる加工終
了深さであるEZ(終了Z座標)は、仕上げ形状である
メス型三次元形状の最も深いZ座標より十分に深いと思
われる値を入力する。 上述のように各NCデータが生成された後、各NCデー
タを連結させて一本のNCデータとして連続した荒取り
加工にて実行する時のNCデータの動作を示した第5図
(a)〜(C)に基づいて説明する。 先ず、第5図(a)にて示したように、穴明けのNCデ
ータにより突っ込み点にてメス型三次元形状に突っ込め
る深さZ9までドリルにて穴明けを実行する。 次に、第5図へ)にて示したように、工具交換のNCデ
ータによりドリルをエンドミルに交換する。 そして、第5図(C)にて示したように、切削のNCデ
ータによりドリルで穴明けをした深さZ7までエンドミ
ルにて等廃線渦巻き切削の荒取り加工をSZからステッ
プ幅、きざみff1DZにて実行する。 このように、仕上げ形状のメス型三次元形状を入力する
だけでその最大の深さまで穴明けでき、同じ深さまで切
削され荒取り加工が実行される。 従って、作業者等が仕上げ形状のメス型三次元形状にお
いて深さの判断をしなくてもメス型三次元形状の底面付
近に多くの削り代を残すことがない荒取り用のNCデー
タが生成できるNCデータ作成装置を提供できる。
The present invention will be described below based on specific examples. In FIG. 2, 10 is a numerical control device, and this numerical control device 10 includes servo motor drive circuits DUX, DUY.
, DUZ1 Sea/;r7 Sm7) o-ra 11 are connected via the enclosure interface. On the other hand, 20 is a machining center type machine tool controlled by the numerical control device 10 having the above configuration, and includes the servo motor drive circuits DUX and DUY. Servo motor 21 driven by each of the DUZ
, 22 and 23, the relative position between the workpiece table 25 that supports the workpiece W and the spindle head 24 that supports the spindle 26 driven by the spindle mower 53M is three-dimensionally changed. . Further, 27 is a tool magazine that holds a plurality of types of tools, and the tools in the tool magazine 27 are selectively mounted on the spindle 26 by the magazine indexing device in the enclosure and the tool changing device 28, and the tools are inserted into the workpiece W. Processing is performed. The sequence controller 11 also includes a computer 1.
2 and a main shaft motor drive circuit 15 that controls the rotation speed of the main shaft motor 53M. This computer 12 has a microprocessor 12a. Clock signal generation circuit 12b, ROM12c, RAM1
2d, fixed disk t28. Interface 12f, 1
Mainly composed of 2g and 12h, interface 1
A keyboard 13 and a CRT display device 14 are connected to 2h. Next, the processing procedure of the MPU 12a will be explained based on the flowchart of FIG. 3, with reference to FIGS. 4(a) and 4(b), which are explanatory diagrams showing tool information and machining information. First, in step 100 of achieving the finished shape memory means, point group coordinate information representing the female three-dimensional shape which is the finished shape of the workpiece W is stored in step 1 of achieving the processing condition memory means.
In 02, tool information such as tool diameter and tool length, the plunge point indicating where in the plane of the three-dimensional shape the hole should be drilled, and the machining start depth at which the hole is to be drilled with the drill determined from the design drawing, etc. and the machining information consisting of the machining end depth indicating the depth at which no uncut material will be left when drilling at the plunge point (for example, a point on a three-dimensional curved surface or a deeper position) from the keyboard 13. RAM12d
Enter. Next, the process moves to step 104 for achieving a curved surface creation means, and a curved surface is created by interpolating between each point from the point group coordinate information of the female three-dimensional shape stored in step 100. Then, the process moves to step 106, and SZ (start Z coordinate), which is the machining start depth, is read out from the machining information input in step 102, and is set as the initial depth Z. Next, the process moves to step 108, in which the intersection line calculation means calculates the intersection line between the plane and the curved surface at the depth Zl:. Next, the process moves to step 110, and it is determined whether the intersection line calculated in step 108 exists. If there is a line of intersection in step 110, the determination is YES, and the process moves to step 112, where an offset line of intersection is calculated from the line of intersection calculated in step 108, which is offset inward by the tool radius of the drill, which is the tool for drilling. do. Next, the process moves to step 114 for achieving a plunge point determination means, where the plunge point (X, Y coordinates) is read from the machining information input in step 102, and its position is the offset intersection line of the drill calculated in step 112. It is determined whether or not the current state is within a closed loop. In step 114, if the plunge point is within the offset intersection line of the drill, the determination is YES, and the process moves to step 116 to achieve the cutting NC data generation means, and step 10
An offset intersection line is calculated by offsetting the intersection line calculated in step 8 by the tool radius of the end mill, which is a cutting tool, and the plunge point, step width, etc. are calculated from the offset intersection line and the tool information and machining information input in step 102. Then, as shown in FIG. 5(C), NC data of cutting by an end mill, which is a cutting tool, is generated according to a spiral tool path so as to widen a hole drilled with a drill. Then, the process moves to step 118, and the machining end depth EZ (end 2
m) is read out, and it is determined in step 108 whether the depth Z calculated from the intersection line is less than or equal to EZ. If the machining depth Z is not less than EZ in step 118, the determination is NO, and the process moves to step 120, and step 10
From the tool information input in step 2, read out DZ, which is the increment amount of the end mill that is the cutting tool, and set the depth Z of the intersection line calculation to be deeper by the increment amount, Z = Z + DZ. Return to step 108, and the following steps are the same as above. Execute the process. Then, when the depth Z is less than Ez and the determination is YES in step 118, when there is no intersection line and the determination is NO in step 110, and in step 114, the plunge point is within the offset intersection line of the drill. It's not there, so the judgment is NO.
If so, the process moves to step 122. In step 122, the depth Z is made shallower by one increment.
=Z-DZ, and the process moves to step 124, which achieves the drilling NC data generation means, reads the plunge point, etc. from the tool information and machining information input in step 102, and performs the NC for drilling with a drill, which is a tool. Generate data. Then, the process moves to step 126, in which a drill, which is a tool, is first selected from the tool magazine 27 by the magazine indexing device in the enclosure and the tool changing device 28, and then
When the drilling of the workpiece W is finished, the drill is returned to the tool magazine 27. Next, an end mill, which is a cutting tool, is called from the tool magazine 27 and installed on the spindle 26, and then the rough cutting of the workpiece W is carried out. This program is completed by adding a tool change cycle such as the following. Note that EZ (end Z coordinate), which is the machining end depth that is preset and stored in the machining information of the present invention, is a value that is considered to be sufficiently deeper than the deepest Z coordinate of the female three-dimensional shape that is the finished shape. Enter. After each piece of NC data is generated as described above, Figure 5 (a) shows the operation of the NC data when each piece of NC data is connected and executed as a single piece of NC data in continuous rough machining. The explanation will be based on (C). First, as shown in FIG. 5(a), according to the NC data for drilling, a hole is drilled to a depth Z9 at which the insertion point can be inserted into the female three-dimensional shape. Next, as shown in Figure 5), the drill is replaced with an end mill based on the NC data for tool replacement. Then, as shown in Fig. 5 (C), according to the cutting NC data, the end mill performs rough machining using a uniform spiral spiral cutting process from SZ to the depth Z7 of the hole drilled with the drill in step widths and increments of ff1DZ. Execute at. In this way, by simply inputting the female three-dimensional shape of the finished shape, the hole can be drilled to its maximum depth, and the rough machining is performed by cutting to the same depth. Therefore, NC data for rough cutting is generated that does not leave a large machining allowance near the bottom of the female mold 3D shape even if the operator does not judge the depth of the finished female mold 3D shape. We can provide an NC data creation device that can.

【発明の効果】【Effect of the invention】

本発明は、仕上げ形状記憶手段に記憶されたメス型三次
元形状から曲面を創成する曲面創成手段と、その創成さ
れた曲面と加工条件記憶手段に記憶された加工開始深さ
からきざみ量毎の平面との交線を算出する交線演算手段
と、その算出された交線と加工条件記憶手段に記憶され
た穴明は工具の径とから穴明は工具の工具半径分オフセ
ットしたオフセット交線を算出しその閉ループとその穴
明は工具の突っ込み点との位置関係を判定する突っ込み
点判定手段と、上記突っ込み点判定手段で穴明は工具の
突っ込み点が閉ループ内と判定されると、上記交線演算
手段にて算出された交線と加工条件記憶手段に記憶され
た切削工具の径とから工具半径分オフセットしたオフセ
ット交線を算出し、その切削工具のオフセット交線と上
記加工条件記憶手段に記憶された情報とに基づき工具経
路に従って切削工具による切削のNCデータを生成する
切削NCデータ生成手段と、上記突っ込み点判定手段で
穴明は工具の突っ込み点が閉ループ外と判定されると、
上記交線演算手段で算出した時の平面深さから1きざみ
量子前の平面深さまで上記加工条件記憶手段に記憶され
た情報に基づき加工条件記憶手段に記憶された穴明は工
具による穴明けのNCデータを生成する穴明けNCデー
タ生成手段とを備えているので、穴明けNCデータ生成
子段にて生成されたNCデータにより穴明は工具にて工
作物の仕上げ形状であるメス型三次元形状の底面ぎりぎ
りの位置まで穴明けした後、切削NCデータ生成手段に
て生成されたNCデータにより切削工具にてそのメス型
三次元形状の上記穴明は位置までの荒取り加工を実行で
きるので、上記メス型三次元形状の底面には多くの削り
代が残ることがないという効果を有する。
The present invention provides a curved surface generating means for creating a curved surface from a female three-dimensional shape stored in a finishing shape memory means, and a curved surface for each increment amount from the created curved surface and a machining start depth stored in a machining condition memory means. Intersection line calculating means for calculating the line of intersection with the plane, and an offset line of intersection obtained by offsetting the calculated line of intersection and the diameter of the tool from the calculated line of intersection and the tool radius stored in the machining condition storage means. and a plunge point determining means that calculates the closed loop and the positional relationship between the plunge point of the tool and the plunge point of the tool. An offset intersection line that is offset by the tool radius is calculated from the intersection line calculated by the intersection line calculation means and the diameter of the cutting tool stored in the machining condition storage means, and the offset intersection line of the cutting tool and the above-mentioned machining condition storage are calculated. cutting NC data generation means for generating NC data of cutting by the cutting tool according to the tool path based on information stored in the means; ,
The drilling stored in the machining condition storage means is based on the information stored in the machining condition storage means from the plane depth calculated by the intersection line calculation means to the plane depth one quantum step before. Since it is equipped with a drilling NC data generation means that generates NC data, drilling is performed using a tool using the NC data generated by the drilling NC data generator stage to create a female three-dimensional shape that is the finished shape of the workpiece. After drilling a hole up to the very edge of the bottom of the shape, using the NC data generated by the cutting NC data generation means, the hole in the female three-dimensional shape can be rough-cut up to the position using a cutting tool. This has the effect that a large amount of machining allowance does not remain on the bottom surface of the female three-dimensional shape.

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

第1図は本発明の概念を示したブロックダイヤグラム。 第2図は本発明の具体的な一実施例に係るNCデータ作
成装置を有する数値制御装置及び工作機械の構成を示し
た構成図。第3図は同実施例装置で使用されているMP
U12aの処理手順を示したフローチャート。第4図(
a)及び第4図6)は同実施例に係る工具情報及び加工
情報を示した説明図。第5図(a)〜(C)は同実施例
に係るNCデータ作成装置により作成される連続前取り
加工のNCデータによる一連の動作を示した説明図であ
る。 5 工作物テーブル SM・−・主軸モータ W−一工作物
FIG. 1 is a block diagram showing the concept of the present invention. FIG. 2 is a configuration diagram showing the configuration of a numerical control device and a machine tool having an NC data creation device according to a specific embodiment of the present invention. Figure 3 shows the MP used in the same embodiment device.
Flowchart showing the processing procedure of U12a. Figure 4 (
a) and FIG. 4, 6) are explanatory diagrams showing tool information and machining information according to the same embodiment. FIGS. 5(a) to 5(C) are explanatory diagrams showing a series of operations based on NC data of continuous pre-preparation processing created by the NC data creation device according to the same embodiment. 5 Workpiece table SM--Spindle motor W-1 Workpiece

Claims (1)

【特許請求の範囲】 加工対象の工作物に穴明け工具で穴明けした位置に基づ
いて切削工具により工具経路に従ってメス型三次元形状
を荒取り加工する工作機械のNCデータを作成する装置
において、前記工作物の仕上げ形状であるメス型三次元
形状を記憶する仕上げ形状記憶手段と、 前記穴明け及び切削工具の径、前記切削工具の工作物材
質に対する所定の突っ込み単位深さであるきざみ量等の
工具情報や前記穴明け及び切削工具の前記工作物に対し
て予め設定した突っ込み点、加工開始深さ等の加工情報
を記憶する加工条件記憶手段と、 前記仕上げ形状記憶手段に記憶されたメス型三次元形状
から曲面を創成する曲面創成手段と、前記曲面創成手段
により創成された曲面と前記加工条件記憶手段に記憶さ
れた加工開始深さからきざみ量毎の平面との交線を算出
する交線演算手段と、 前記交線演算手段にて算出された交線と前記加工条件記
憶手段に記憶された穴明け工具の径とから該穴明け工具
の工具半径分オフセットしたオフセット交線を算出しそ
の閉ループとその穴明け工具の突っ込み点との位置関係
を判定する突っ込み点判定手段と、 前記突っ込み点判定手段で穴明け工具の突っ込み点が閉
ループ内と判定されると、前記交線演算手段にて算出さ
れた交線と前記加工条件記憶手段に記憶された切削工具
の径とから工具半径分オフセットしたオフセット交線を
算出し、その切削工具のオフセット交線と前記加工条件
記憶手段に記憶された情報とに基づき前記工具経路に従
って前記切削工具による切削のNCデータを生成する切
削NCデータ生成手段と、 前記突っ込み点判定手段で穴明け工具の突っ込み点が閉
ループ外と判定されると、前記交線演算手段で算出した
時の平面深さから1きざみ量手前の平面深さまで前記加
工条件記憶手段に記憶された情報に基づき前記穴明け工
具による穴明けのNCデータを生成する穴明けNCデー
タ生成手段とを備えたことを特徴とするNCデータ作成
装置。
[Scope of Claims] An apparatus for creating NC data for a machine tool that rough-cuts a female three-dimensional shape according to a tool path using a cutting tool based on the position of a hole drilled in a workpiece to be machined using a drilling tool, Finished shape memory means for storing a female three-dimensional shape that is the finished shape of the workpiece; the diameter of the drilling and cutting tool, the increment amount that is a predetermined unit depth of penetration of the cutting tool into the material of the workpiece, etc. a machining condition storage means for storing machining information such as tool information, a plunge point set in advance for the workpiece of the drilling and cutting tool, and a machining start depth; and a knife stored in the finishing shape memory means. A curved surface generating means for creating a curved surface from the three-dimensional shape of the mold, and calculating an intersection line between the curved surface created by the curved surface generating means and a plane for each increment amount from a machining start depth stored in the machining condition storage means. an intersection line calculation means; calculating an offset line of intersection offset by a tool radius of the drilling tool from the intersection line calculated by the intersection line calculation means and the diameter of the drilling tool stored in the processing condition storage means; plunging point determining means for determining the positional relationship between the closed loop of the hole and the plunging point of the drilling tool; and when the plunging point determining means determines that the plunging point of the drilling tool is within the closed loop, the intersection line calculation means; calculate an offset intersection line offset by the tool radius from the intersection line calculated in and the diameter of the cutting tool stored in the processing condition storage means, and store the offset intersection line of the cutting tool and the cutting tool diameter in the processing condition storage means. cutting NC data generation means for generating NC data of cutting by the cutting tool according to the tool path based on the tool path; and when the penetration point determination means determines that the penetration point of the drilling tool is outside the closed loop; Drilling NC data for generating NC data for drilling by the drilling tool based on information stored in the machining condition storage means from the plane depth calculated by the intersection calculation means to the plane depth one increment before. An NC data creation device characterized by comprising a generation means.
JP20002189A 1989-07-31 1989-07-31 NC data creation device Expired - Lifetime JP2839564B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20002189A JP2839564B2 (en) 1989-07-31 1989-07-31 NC data creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20002189A JP2839564B2 (en) 1989-07-31 1989-07-31 NC data creation device

Publications (2)

Publication Number Publication Date
JPH0363707A true JPH0363707A (en) 1991-03-19
JP2839564B2 JP2839564B2 (en) 1998-12-16

Family

ID=16417493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20002189A Expired - Lifetime JP2839564B2 (en) 1989-07-31 1989-07-31 NC data creation device

Country Status (1)

Country Link
JP (1) JP2839564B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005332246A (en) * 2004-05-20 2005-12-02 Fujitsu Ltd Method for working contour
US8292116B2 (en) 2007-07-03 2012-10-23 Toyota Boshoku Kabushiki Kaisha Oil tank structure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005332246A (en) * 2004-05-20 2005-12-02 Fujitsu Ltd Method for working contour
US8292116B2 (en) 2007-07-03 2012-10-23 Toyota Boshoku Kabushiki Kaisha Oil tank structure

Also Published As

Publication number Publication date
JP2839564B2 (en) 1998-12-16

Similar Documents

Publication Publication Date Title
Sun et al. A new plunge milling tool path generation method for radial depth control using medial axis transform
KR100898034B1 (en) Method for regulating a path of an instrument
Sun et al. Improving cutter life and cutting efficiency of five-axis plunge milling by simulation and tool path regeneration
JPH0363707A (en) Nc data generating device
Chan et al. Machining tactics for interior corners of pockets
JP3748099B2 (en) Cutting method and NC data creation device for performing this cutting method
JP2005040912A (en) Machining device
CN108693831A (en) The display methods of simulator, program creating device, control device and computer
JPH0236048A (en) Preparing device for nc data
JP2758935B2 (en) NC data creation device
Hoshi High-productivity machining research in Japan
KR20090006446A (en) Method for regulating a path of an instrument
JP3343826B2 (en) Numerical control information creation device
JPH06119031A (en) Nc data generating method for working of cut remaining part
JP4063180B2 (en) Mold processing step determination device, mold processing step determination method, mold processing step determination program, computer-readable recording medium recording the program, NC data creation device, and machine tool control device
JPH08292808A (en) Method and device for cutting by ball end mill
JPH11134014A (en) Nc data preparing device for cutting section left from cutting
JPH02132503A (en) Numerical control data producing device
JPH0691479A (en) Machining method of noncircular work
KR100872394B1 (en) Method for regulating a path of an instrument
JPH0751988A (en) Nc data automatic producing device
JP2661942B2 (en) NC data creation device
JP2763923B2 (en) NC data creation device
JP2002205243A (en) Machining method with rotating tool
JPS63250709A (en) Method for determining cutting direction