JPH0747256B2 - NC data creation method for side area processing - Google Patents
NC data creation method for side area processingInfo
- Publication number
- JPH0747256B2 JPH0747256B2 JP1226228A JP22622889A JPH0747256B2 JP H0747256 B2 JPH0747256 B2 JP H0747256B2 JP 1226228 A JP1226228 A JP 1226228A JP 22622889 A JP22622889 A JP 22622889A JP H0747256 B2 JPH0747256 B2 JP H0747256B2
- Authority
- JP
- Japan
- Prior art keywords
- tool
- shape
- center path
- offset
- tool center
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims description 15
- 238000003754 machining Methods 0.000 claims description 57
- 238000005520 cutting process Methods 0.000 claims description 16
- 238000012217 deletion Methods 0.000 description 11
- 230000037430 deletion Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000007788 roughening Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000002950 deficient Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は側面領域加工のNCデータ作成方法に係わり、特
に予め入力された側面仕上形状に基づいて、工具径補正
を使用した荒加工および仕上加工のNCデータを作成する
自動プログラミングの側面領域加工のNCデータ作成方法
に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] The present invention relates to a method for creating NC data for side surface area machining, and particularly to rough machining and finishing using tool diameter compensation based on a side surface finish shape input in advance. The present invention relates to a method for creating NC data for machining lateral areas of automatic programming for creating machining NC data.
被加工物の任意の側面形状をエンドミル等の工具で加工
する側面領域加工のNCデータは、前記側面形状上を工具
が移動するように作成する。このNCデータに数値制御装
置の工具径補正機能を使用して工具半径分進行方向右側
または進行方向左側にオフセットし、工具がオフセット
後のNCデータに従って、被加工物に対して相対的に移動
するようにして任意の側面形状を加工するのが一般的で
ある。The NC data of the side surface region processing in which an arbitrary side surface shape of the workpiece is processed by a tool such as an end mill is created so that the tool moves on the side surface shape. This NC data is offset to the right or the left in the advancing direction by the tool radius correction function of the numerical control device, and the tool moves relative to the work piece according to the NC data after the offset. In this way, it is common to process an arbitrary side surface shape.
側面領域加工の仕上加工では、側面仕上形状の内側円弧
の半径や内側面取りの大きさを考慮して、加工が可能な
ように比較的小径の工具を使用している。また、荒加工
では、切削時間を短縮させ加工能率を向上させるために
前記仕上加工用工具より工具径の大きな工具、すなわ
ち、前記内側円弧の半径や内側面取りの大きさよりも工
具半径の大きな工具を使用するのが一般的である。In the finishing of the side surface region processing, a tool having a relatively small diameter is used so that the processing can be performed in consideration of the radius of the inner circular arc of the side surface finishing shape and the size of the inner chamfer. Further, in rough machining, in order to reduce the cutting time and improve the machining efficiency, a tool having a larger tool diameter than the finishing tool, that is, a tool having a tool radius larger than the radius of the inner arc and the size of the inner chamfer is used. It is generally used.
しかしながら、自動プログラミングで側面仕上形状のみ
の入力により、工具径補正機能を使用した荒加工および
仕上加工のNCデータを作成しようとすると、従来の自動
プログラミングにおける、荒加工のNCデータの作成で
は、側面仕上形状上を移動するNCデータに、工具径補正
をかけて荒加工用の工具半径分オフセットし、この工具
中心経路上を移動するように作成していた。このため、
荒加工に工具半径の大きな工具を使用すると、側面仕上
形状によっては荒加工用工具が側面仕上形状に削り込み
過ぎを生じるNCデータを作成してしまうという問題があ
った。However, if you try to create NC data for roughing and finishing using the tool radius compensation function by inputting only the side surface finish shape with automatic programming, when creating NC data for roughing with conventional automatic programming, It was created so that the NC data that moves on the finish shape would be offset by the tool radius for rough machining by applying tool diameter correction and move on this tool center path. For this reason,
If a tool with a large tool radius is used for rough machining, there is a problem that the rough machining tool creates NC data that causes overcutting into the side surface finish shape depending on the side surface finish shape.
例えば、第5図に示すように、側面仕上形状EL1,EL2,
EL3に基づき、進行方向左側に荒加工用工具TLの工具半
径Rだけオフセットして工具中心経路PT1,PT2,PT3を
求めると、例えば、この求めた工具中心経路PT1上のポ
イントAの位置に工具TLが移動すると、工具TLが側面仕
上形状EL3に削り込み過ぎを生じてしまう。そのため、
このようなNCデータにより加工を行うと、NCアラームを
発生させ、NC制御装置が機械停止させることになる。For example, as shown in FIG. 5, side surface finish shapes EL 1 , EL 2 ,
When the tool center paths PT 1 , PT 2 , PT 3 are found by offsetting the tool radius R of the roughing tool TL to the left in the traveling direction based on EL 3 , for example, the points on the found tool center path PT 1 When the tool TL moves to the position A, the tool TL is excessively cut into the side surface finish shape EL 3 . for that reason,
When machining is performed using such NC data, an NC alarm is generated and the NC controller stops the machine.
また、NCアラームが発生しないように、側面仕上形状に
一致する工具を荒加工から使用してワークの側面領域加
工を行うと、多大な加工時間を要し、加工能率が低下し
てしまうという問題を生じた。Also, if a tool that matches the side surface finish shape is used from the rough machining to machine the side surface area of the workpiece so that the NC alarm does not occur, it will take a large amount of machining time and the machining efficiency will decrease. Occurred.
そこで、荒加工用の側面荒加工形状と、仕上げ加工用の
側面仕上工形状を別々に入力する方法も考えられるが、
別々に入力すれば、入力する形状要素数も多くなり、入
力ミスをおこしやすくするとともに、多大な時間を要し
てしまうという問題があった。更に、側面荒加工形状
は、人手を介して削り込み過ぎを生じさせる形状要素を
削除する必要があり、削除ミスによる不良品の発生の問
題も生じる。Therefore, a method of separately inputting the side rough machining shape for rough machining and the side finish machining shape for finishing machining can be considered.
If they are input separately, the number of shape elements to be input increases, and it is easy to make an input error, and it takes a lot of time. Further, in the side surface rough machining shape, it is necessary to delete a shape element that causes overcutting by hand, which causes a problem of defective products due to an erroneous deletion.
以上から本発明の目的は、側面仕上形状のみの入力によ
り工具径補正機能に使用した荒加工用のNCデータを作成
する際に、側面仕上形状に削り込み過ぎを生じたり、NC
アラームが発生したりすることのないNCデータが作成で
きる自動プログラミングの側面領域加工のNCデータを作
成方法を提供することである。From the above, the purpose of the present invention is to create an NC data for rough machining used for the tool radius compensation function by inputting only the side surface finish shape, causing overcutting to the side surface finish shape, NC
It is to provide a method for creating NC data for side area processing of automatic programming that can create NC data without alarm occurrence.
本発明は前記課題を解決するために創案されたものであ
り、切削する方向を持ったキャノニカルフォームでなる
各形状要素を連ねた側面仕上形状を用いて被加工物の任
意の側面形状をエンドミル等の工具で加工するに際し、
仕上加工用工具より太い荒加工用工具を使用する場合に
発生する削り込み過ぎを防止する荒加工用工具のNCデー
タを作成する側面領域加工のNCデータ作成方法におい
て、前記荒加工用工具の工具径オフセットデータを用い
て前記側面仕上形状を工具半径分オフセットしてキャノ
ニカルフォームでなる工具中心経路を求めるステップ
と、前記側面仕上形状の形状要素の切削方向とこれに対
応する前記工具半径分オフセットした工具中心経路の形
状要素の切削方向とを比較するステップと、比較の結
果、切削方向が逆向きになった工具中心経路の形状要素
を削り込み過ぎを生じさせる工具中心経路の形状要素と
認識し、この切削方向が逆向きになった工具中心経路の
前後における工具中心経路の形状要素間の交点を求め、
この交点を工具中心の形状要素の移動終了点および移動
開始点と定めて前記切削方向が逆向きの工具中心経路の
形状要素部分を削除するステップと、前記進行方向が逆
向きの工具中心経路の形状要素部分を削除し、前記交点
を移動終了点および移動開始点と定めた工具中心経路の
形状要素を用いて荒加工用工具のNCデータを作成するス
テップとからなることを特徴とする側面領域加工のNCデ
ータ作成方法としたものである。The present invention was devised in order to solve the above-mentioned problems, and end mills any side surface shape of a workpiece by using a side surface finishing shape in which each shape element made of a canonical form having a cutting direction is connected. When processing with tools such as
Creates NC data of a roughing tool that prevents overcutting that occurs when using a roughing tool that is thicker than the finishing tool.In the NC data creation method for side area machining, the tool of the roughing tool is used. A step of offsetting the side surface finish shape by a tool radius by using a radius offset data to obtain a tool center path formed of a canonical form, and a cutting direction of a shape element of the side surface finish shape and the tool radius offset corresponding thereto The step of comparing the cutting direction of the shape element of the tool center path that was cut, and the result of the comparison, the shape element of the tool center path whose cutting direction is reversed is recognized as the shape element of the tool center path that causes excessive cutting. Then, find the intersection between the shape elements of the tool center path before and after the tool center path with this cutting direction reversed,
This intersection is defined as the movement end point and the movement start point of the shape element of the tool center, and the step of deleting the shape element portion of the tool center path in which the cutting direction is opposite, and the advancing direction of the tool center path in the opposite direction. A side surface region characterized by comprising the step of deleting the shape element portion and creating NC data of the rough machining tool using the shape element of the tool center path in which the intersection is defined as the movement end point and the movement start point. This is the method for creating NC data for machining.
荒加工用工具の工具径が特定されると、プロセッサ1は
この工具径を用いて、オフセット処理装置2により、側
面仕上形状を要素毎に荒加工用工具の工具半径分オフセ
ットする。次に、オフセット前の側面仕上形状の形状要
素進行方向とこれに対応する工具中心経路の形状要素の
進行方向が逆向きになるかどうかをチェックし、逆向き
要素があれば、逆向き要素削除装置4により、オフセッ
ト後の工具中心経路の逆向き要素を削除する。ついで、
逆向き要素を削除したオフセット後の工具中心経路を、
逆オフセット処理装置5により、前記工具径を用いて逆
向きに工具半径分オフセットし、荒加工用の側面荒加工
形状を作成するとともに、荒加工用加工形状メモリ6に
登録する。When the tool diameter of the roughing tool is specified, the processor 1 uses the tool diameter to offset the side surface finish shape element by element by the tool radius of the roughing tool. Next, it is checked whether the advancing direction of the shape element of the side finish shape before offset and the advancing direction of the corresponding shape element of the tool center path are opposite. If there is a reverse element, the reverse element is deleted. The device 4 deletes the reverse element of the tool center path after the offset. Then,
The tool center path after the offset that deletes the reverse element,
The reverse offset processing device 5 offsets the tool radius in the opposite direction by the tool radius to create a side surface rough machining shape for rough machining, and also registers it in the rough machining machining shape memory 6.
以下、本発明の側面領域加工のNCデータ作成方法を図面
に基づいて詳しく説明する。Hereinafter, a method for creating NC data for side surface area processing according to the present invention will be described in detail with reference to the drawings.
第1図は本発明の一実施例であるNCデータ作成装置のブ
ロック図である。FIG. 1 is a block diagram of an NC data creating apparatus which is an embodiment of the present invention.
1はプロセッサ(CPU)、2は形状要素を所定の工具径
によりオフセットするオフセット処理装置、3はオフセ
ット処理装置2により処理された工具中心経路を記憶す
るオフセット加工形状メモリ、4はオフセット前の形状
要素の進行方向と比べて、オフセット後の工具中心経路
の形状要素の進行方向が逆向きであるか否かをチェック
し、逆向き要素があれば、この逆向き要素を削除する逆
向き要素削除装置、5は逆向き要素削除装置4により逆
向き要素を削除したオフセット後の工具中心経路を、逆
向きにオフセットし、荒加工用の側面荒加工形状を作成
する逆オフセット処理装置、6は逆オフセット処理装置
5により作成した荒加工用の側面荒加工形状を記憶する
荒加工用の加工形状メモリである。1 is a processor (CPU), 2 is an offset processing device that offsets a shape element by a predetermined tool diameter, 3 is an offset machining shape memory that stores the tool center path processed by the offset processing device 2, and 4 is a shape before offset Compared with the traveling direction of the element, check whether the traveling direction of the shape element of the tool center path after offset is reverse direction, and if there is a reverse element, delete this reverse element Delete reverse element A device 5 is a reverse offset processing device that reversely offsets the tool center path after the offset in which the reverse elements are deleted by the reverse element deletion device 4 to create a side surface rough machining shape for rough machining, and 6 is a reverse offset processing device. It is a machining shape memory for rough machining that stores a side rough machining profile for rough machining created by the offset processing device 5.
第2図は本発明の側面領域加工のNCデータ作成処理の流
れ図である。以下、この流れ図に従って、NCデータ作成
処理を説明する。なお、NCデータ作成処理は第5図に示
す側面仕上形状(NCデータ)EL1,EL2,EL3に基づいて
行うものとし、予め、第5図に示す側面仕上形状EL1,E
L2,EL3は作成されて、所定の記憶領域に登録されてい
るものとする。FIG. 2 is a flow chart of NC data creation processing for side surface area processing according to the present invention. The NC data creation process will be described below with reference to this flowchart. Note that the NC data creation process is performed based on the side surface finish shapes (NC data) EL 1 , EL 2 , EL 3 shown in FIG. 5, and the side surface finish shapes EL 1 , E shown in FIG.
It is assumed that L 2 and EL 3 are created and registered in a predetermined storage area.
オペレータが荒加工用工具の工具径を特定すると(ステ
ップ11)、プロセッサ1はこの工具径を用いてオフセッ
ト処理装置2により側面仕上形状を要素毎にオフセット
し、オフセット後の工具中心経路PT1,PT2,PT3を求め
る(ステップ12、第5図参照)。なお、このオフセット
においては、第3図にて後述するオフセット処理ルーチ
ンを用いる。When the operator specifies the tool diameter of the rough machining tool (step 11), the processor 1 offsets the side surface finish shape element by element by the offset processing device 2 using this tool diameter, and the tool center path PT 1 after the offset, Obtain PT 2 and PT 3 (step 12, see FIG. 5). For this offset, an offset processing routine described later in FIG. 3 is used.
ついで、第4図にて後述する逆向き要素削除ルーチンに
基づき、オフセット前の側面仕上形状の形状要素の進行
方向とこれに対応するオフセット後の工具中心経路の形
状要素の進行方向が逆向きになるか否かをチェックし、
逆向き要素部分があれば、この逆向き要素部分を削除す
る(ステップ13)。なお、P1はオフセット後の工具中心
経路PT1,PT3の交点である。Next, based on the reverse element deletion routine described later in FIG. 4, the advancing direction of the shape element of the side surface finish shape before offset and the corresponding advancing direction of the shape element of the tool center path after offset are reversed. Check whether or not,
If there is a backward element portion, this backward element portion is deleted (step 13). Note that P 1 is the intersection of the tool center paths PT 1 and PT 3 after the offset.
前記工具径の値に「−1」を積算した値をオフセット処
理用の工具径の値としてセットする(ステップ14)。そ
して、逆向き要素部分を削除したオフセット後の工具中
心経路PT1′,PT3′に対し、工具径の値に「−1」を積
算した値を用いて逆オフセットし、側面荒加工形状(荒
加工用の加工形状)EL1′,EL3′を作成する(ステップ
15、第6図参照)。ついで、作成した荒加工用の側面荒
加工形状EL1′,EL3′を側面荒加工形状メモリ6に登録
し(ステップ16)、図示しない自動プログラミングのNC
データ作成処理装置により、側面荒加工形状に基づいて
荒加工および仕上加工のNCデータを作成し、NCデータ作
成処理を終了する。A value obtained by adding "-1" to the tool diameter value is set as a tool diameter value for offset processing (step 14). Then, with respect to the tool center paths PT 1 ′ and PT 3 ′ after the offset in which the reverse direction element portions are deleted, the value is obtained by adding “−1” to the value of the tool diameter to perform the reverse offset, and the side surface rough machining shape ( Create machining shapes for rough machining) EL 1 ′, EL 3 ′ (step
15, see Fig. 6). Next, the side rough machining shapes EL 1 ′ and EL 3 ′ for rough machining that have been created are registered in the side rough machining shape memory 6 (step 16), and NC of automatic programming (not shown) is registered.
The data creation processing device creates NC data for rough machining and finish machining based on the side surface rough machining shape, and ends the NC data creation process.
なお、本発明の自動プログラミングにおいて、側面仕上
形状、工具中心経路、側面荒加工形状は、直線や円弧等
の形状要素の集合よりなり、各形状要素は切削する方向
を持ったキャノニカルフォームとして記録される。例え
ば、直線要素は第7図に示すように、その直線要素ELa
の進行方向に向かって右側の法線方向に単位ベクトルVa
を立て、その法線単位ベクトルVaのX成分VxとY成分Vy
および原点0からの距離|Ve|のデータとして記録され
る。このデータを直線のキャノニカルフォームと呼ぶ。
なお、原点0からの距離|Ve|は正の実数であるが、原点
0が直線の進行方向に対して左側の場合は原点0からの
距離Veは正で、右側の場合は負で表す。円弧要素は第8
図に示すように、その円弧ELbの中心点Qの座標値
(x0,y0)と半径r0および進行方向(時計回り方向CW、
あるいは反時計回り方向CCW)のデータとして記録され
る。このデータを円弧のキャノニカルフォームと呼ぶ。In the automatic programming of the present invention, the side surface finish shape, the tool center path, and the side surface rough machining shape consist of a set of shape elements such as straight lines and arcs, and each shape element is recorded as a canonical form having a cutting direction. To be done. For example, as shown in FIG. 7, the linear element is the linear element ELa
Unit vector Va in the normal direction to the right of the traveling direction of
, The X component Vx and Y component Vy of the normal unit vector Va
And the distance | Ve | from the origin 0 is recorded. This data is called linear canonical form.
Although the distance | Ve | from the origin 0 is a positive real number, the distance Ve from the origin 0 is positive when the origin 0 is on the left side of the traveling direction of the straight line, and is negative when it is on the right side. 8th arc element
As shown in the figure, the coordinate value (x 0 , y 0 ) of the center point Q of the arc ELb, the radius r 0, and the traveling direction (clockwise direction CW,
Alternatively, it is recorded as data in the counterclockwise direction CCW). This data is called an arc canonical form.
そして、直線要素や円弧要素をオフセット処理する際、
例えば、右側に工具半径分オフセットする場合は、第3
図のオフセット処理の流れ図に従っておこなわれる。And when performing offset processing on linear elements and arc elements,
For example, when offsetting to the right by the tool radius, the third
This is performed according to the flow chart of the offset processing in the figure.
すなわち、オフセットルーチンがスタートすると、プロ
セッサ1はオフセット要素ポインタiを i=1 とするとともに(ステップ101)、オフセット要素ポイ
ンタiに対応する側面仕上形状要素を所定の記憶領域か
ら呼び出してきて、この側面仕上形状要素の属性が直線
か、時計回り方向円弧(CW円弧)か、あるいは反時計回
り方向円弧(CCW円弧)かを判断する(ステップ102)。That is, when the offset routine is started, the processor 1 sets the offset element pointer i to i = 1 (step 101) and calls the side surface finish shape element corresponding to the offset element pointer i from a predetermined storage area to It is determined whether the attribute of the finish shape element is a straight line, a clockwise circular arc (CW circular arc), or a counterclockwise circular arc (CCW circular arc) (step 102).
ステップ102の結果、直線であれば、キャノニカルフォ
ームの原点からの距離にオフセット量(工具半径)だけ
加算する(ステップ103)。また、CCW円弧であれば、キ
ャノニカルフォームの円弧半径に工具半径だけ加算する
(ステップ104)。CW円弧であれば、キャノニカルフォ
ームの円弧半径から工具径だけ減算する(ステップ10
5)。If the result of step 102 is a straight line, the offset amount (tool radius) is added to the distance from the origin of the canonical form (step 103). If it is a CCW arc, only the tool radius is added to the arc radius of the canonical form (step 104). If it is a CW arc, subtract the tool radius from the arc radius of the canonical form (step 10
Five).
次に、新しいキャノニカルフォーム(オフセット処理後
のキャノニカルフォーム)で表させる形状要素と前回の
要素ポインタ(i−1)において処理したキャノニカル
フォームで表される形状要素との交点を計算する(ステ
ップ106)。Next, the intersection of the shape element to be represented by the new canonical form (canonical form after offset processing) and the shape element represented by the canonical form processed by the previous element pointer (i-1) is calculated ( Step 106).
ついで、計算した交点を新しいキャノニカルフォームで
表される形状要素の始点として新しいキャノニカルフォ
ームを、オフセット後の加工形状メモリ3に出力して登
録する(ステップ107)。Then, a new canonical form is output and registered in the post-offset machining shape memory 3 by using the calculated intersection as the starting point of the shape element represented by the new canonical form (step 107).
オフセット要素ポインタiに対応する形状要素のオフセ
ット処理が終了すれば、プロセッサ1はオフセット要素
ポインタiをインクリメメント(i+1)する(ステッ
プ108)。ついで、インクリメントしたオフセット要素
ポインタiが形状要素の数Mに1を加算したものより小
さいかどうか(i<M+1)判断する。換言すれば、形
状要素の全てについてオフセット処理が終了したかどう
かを判断する(ステップ109)。判断の結果、オフセッ
ト要素ポインタiが形状要素の数Mに1を加算したもの
より大きければ(i>M+1)、オフセットルーチン処
理を終了する。一方、オフセット要素ポインタiが形状
要素の数Mに1を加算したものより小さければ、ステッ
プ102からの処理を繰り返す。When the offset processing of the shape element corresponding to the offset element pointer i is completed, the processor 1 increments (i + 1) the offset element pointer i (step 108). Then, it is determined whether the incremented offset element pointer i is smaller than the number M of shape elements plus one (i <M + 1). In other words, it is determined whether or not the offset processing has been completed for all the shape elements (step 109). If the result of determination is that the offset element pointer i is greater than the number M of shape elements plus one (i> M + 1), the offset routine processing is terminated. On the other hand, if the offset element pointer i is smaller than the number M of shape elements plus 1, the processing from step 102 is repeated.
前記のオフセットルーチン処理により、例えば、第7図
の直線要素ELaを進行方向右側に工具半径L1だけオフセ
ットすると、直線要素ELaのキャノニカルフォームの原
点0からの距離|Ve|に工具径L1だけ加算(|Ve|+L1)し
たものが、オフセット後の直線要素PTaのキャノニカル
フォームになる。また、第8図のCCW円弧要素ELbを進行
方向右側に工具半径L2だけオフセットすると、CCW円弧
要素ELbのキャノニカルフォームの半径r0から工具半径L
2だけ加算(r0+L2)したものが、オフセット処理後の
円弧PTbのキャノニカルフォームになる。By the above offset routine processing, for example, when the linear element ELa in FIG. 7 is offset to the right in the traveling direction by the tool radius L 1 , the linear element ELa has a distance | Ve | from the origin 0 of the canonical form to the tool diameter L 1 What is added (| Ve | + L 1 ) is the canonical form of the linear element PTa after offset. Further, when the CCW circular arc element ELb in FIG. 8 is offset to the right in the traveling direction by the tool radius L 2 , the radius r 0 of the canonical form of the CCW circular arc element ELb is changed to the tool radius L 2.
The canonical form of arc PTb after offset processing is obtained by adding 2 (r 0 + L 2 ).
第4図は本発明のオフセット後の工具中心経路の逆向き
要素の削除処理(逆向き要素削除ルーチン)の流れ図で
ある。以下、第4図の流れ図に基づいて本発明にかかる
逆向き要素削除処理を説明する。FIG. 4 is a flow chart of a reverse element deletion process (reverse element deletion routine) of the tool center path after offset according to the present invention. The reverse element deletion processing according to the present invention will be described below with reference to the flowchart of FIG.
第4図の逆向き要素削除ルーチン(ステップ13)がスタ
ートすると、プロセッサ1は逆向きチェック要素ポイン
タjを j=1 とする(ステップ21)。When the backward element deletion routine (step 13) of FIG. 4 is started, the processor 1 sets the backward check element pointer j to j = 1 (step 21).
次に、ブロセッサ1は逆向きチェック要素ポインタjに
対応するオフセット後の工具中心経路の形状要素を呼び
出してきて、その形状要素の属性が直線要素か円弧要素
かを判断する(ステップ22)。その結果、円弧要素であ
れば、その円弧半径Rが負の数かどうか(R≦0)判断
し(ステップ23)、R≦0であれば、側面仕上形状に削
り込み過ぎを生じさせる逆向き要素が存在すると判断
し、ステップ25以降の処理を行う。一方、R>0であれ
ば、ステップ27以降の処理を行う。Next, the processor 1 calls the shape element of the tool center path after offset corresponding to the backward check element pointer j, and determines whether the attribute of the shape element is a straight line element or a circular arc element (step 22). As a result, if it is a circular arc element, it is judged whether the circular arc radius R is a negative number (R≤0) (step 23), and if R≤0, the side surface finish shape is over-machined in the opposite direction. It is determined that the element exists, and the processing from step 25 is performed. On the other hand, if R> 0, the processing from step 27 onward is performed.
ステップ22の判断において、直線要素であれば、次にオ
フセット後の工具中心経路の形状要素の進行方向がこれ
に対するオフセット前の側面仕上形状の進行方向と逆向
きになっているかどうか判断し(ステップ24)、進行方
向が逆向きになっていなければ、ステップ27以降の処理
を行う。一方、進行方向が逆になっていれば、側面仕上
形状に削り込み過ぎを生じさせる逆向き要素が存在する
と判断し、その逆向き要素の削除処理を行う。つぎに、
オフセット後の工具中心経路の逆向き要素の前後で交点
(例えば、第5図におけるオフセット加工形状PT1,PT3
の交点P1)を求め、交点P1をオフセット後の工具中心経
路PT1の終点またはオフセット後の工具中心経路PT3の始
点として逆向き要素を削除した工具中心経路を新たに作
成する(ステップ25,ステップ26)。If it is a straight line element in the judgment of step 22, then it is judged whether or not the advancing direction of the shape element of the tool center path after the offset is opposite to the advancing direction of the side surface finish shape before the offset (step 24) If the traveling direction is not the opposite direction, the processing from step 27 onward is performed. On the other hand, if the traveling direction is opposite, it is determined that there is a reverse element that causes overcutting in the side surface finish shape, and the reverse element is deleted. Next,
Intersection points before and after the reverse element of the tool center path after offset (for example, the offset machining shapes PT 1 and PT 3 in FIG. 5)
Seeking the intersection P 1), newly create a tool center path by deleting the reverse element intersection P 1 as the starting point of the tool center path PT 3 after the end point or offset of the tool center path PT 1 after the offset (step 25, step 26).
ついで、逆向きチェック要素ポインタjをインクリメン
ト(j=j+1)し(ステップ27)、逆向きチェック要
素ポインタjが加工形状の要素の数mに1を加算したも
のより小さい(j<m+1)かどうか判断する。換言す
れば、逆向きチェック処理が終了したかどうか判断し、
逆向きチェック要素ポインタjが側面仕上形状の要素の
数mに1を加算したものより小さければ(j<m+
1)、ステップ22からの処理を繰り返す。一方、小さく
なければ(j≧m+1)、逆向き要素削除後の工具中心
経路の全形状要素をオフセット加工形状メモリ3に登録
し(ステップ29)、逆向き要素削除処理を終了する。Then, the backward check element pointer j is incremented (j = j + 1) (step 27), and whether the backward check element pointer j is smaller than the number m of the machining shapes plus 1 (j <m + 1). to decide. In other words, it is judged whether the backward check processing is completed,
If the reverse check element pointer j is smaller than the number m of side surface finish elements plus 1, (j <m +
1), the process from step 22 is repeated. On the other hand, if it is not smaller (j ≧ m + 1), all shape elements of the tool center path after the backward element deletion are registered in the offset machining shape memory 3 (step 29), and the backward element deletion processing ends.
以上、本発明によれば、側面仕上形状に切り込む形状要
素を削除して側面荒加工形状を作成し、この側面荒加工
形状により荒加工用のNCデータを作成するように構成し
たから、側面仕上形状の内側円弧の半径や内側面取りの
大きさより荒加工用工具の半径を大きくしても側面仕上
形状に切り込んだり、NCアラームが発生したりすること
のないNCデータを作成することができ、加工能率が著し
く向上する。また、側面仕上形状のみの入力で荒加工お
よび仕上加工のNCデータが作成できるので、側面形状入
力の入力数が少なくなり、入力ミスが少なくなるととも
に、側面形状の入力時間も大幅に削減することができ
る。As described above, according to the present invention, the side surface roughening shape is created by deleting the shape element cut into the side surface finishing shape, and the side surface roughening shape is used to create the NC data for roughing processing. Even if the radius of the tool for rough machining is made larger than the radius of the inner arc of the shape or the size of the inner chamfer, it is possible to create NC data that does not cut into the side surface finish shape and does not generate an NC alarm. Efficiency is significantly improved. Also, since NC data for roughing and finishing can be created by inputting only the side surface finish shape, the number of side surface shape inputs can be reduced, input errors can be reduced, and side surface shape input time can be greatly reduced. You can
第1図は本発明の一実施例であるNCデータ作成装置のブ
ロック図、第2図は本発明の側面領域加工のNCデータ作
成処理の流れ図、第3図はオフセット処理ルーチンの流
れ図、第4図は本発明のオフセット処理後の逆向き要素
削除処理の流れ図、第5図および第6図は本発明の一実
施例の説明図、第7図は線分のキャノニカルフォームの
説明図、第8図は円弧のキャノニカルフォームの説明図
である。 1……プロセッサ(CPU)、2……オフセット処理装
置、3……オフセット加工形状メモリ、4……逆向き要
素削除装置、5……逆オフセット処理装置、6……荒加
工用の加工形状メモリ。FIG. 1 is a block diagram of an NC data creating apparatus according to an embodiment of the present invention, FIG. 2 is a flow chart of NC data creating processing for side surface area machining of the present invention, FIG. 3 is a flow chart of an offset processing routine, and FIG. FIG. 7 is a flow chart of reverse element deletion processing after offset processing according to the present invention, FIGS. 5 and 6 are explanatory views of an embodiment of the present invention, FIG. 7 is an explanatory view of a canonical form of a line segment, and FIG. FIG. 8 is an explanatory diagram of an arcuate canonical form. 1 ... Processor (CPU), 2 ... Offset processing device, 3 ... Offset machining shape memory, 4 ... Reverse element deletion device, 5 ... Reverse offset processing device, 6 ... Rough machining shape memory .
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G05B 19/4097 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G05B 19/4097
Claims (1)
ムでなる各形状要素を連ねた側面仕上形状を用いて被加
工物の任意の側面形状をエンドミル等の工具で加工する
に際し、仕上加工用工具より太い荒加工用工具を使用す
る場合に発生する削り込み過ぎを防止する荒加工用工具
のNCデータを作成する側面領域加工のNCデータ作成方法
において、 前記荒加工用工具の工具径オフセットデータを用いて前
記側面仕上形状を工具半径分オフセットしてキャノニカ
ルフォームでなる工具中心経路を求めるステップと、 前記側面仕上形状の形状要素の切削方向とこれに対応す
る前記工具半径分オフセットした工具中心経路の形状要
素の切削方向とを比較するステップと、 比較の結果、切削方向が逆向きになった工具中心経路の
形状要素を削り込み過ぎを生じさせる工具中心経路の形
状要素と認識し、この切削方向が逆向きになった工具中
心経路の前後における工具中心経路の形状要素間の交点
を求め、この交点を工具中心経路の形状要素の移動終了
点および移動開始点と定めて前記切削方向が逆向きの工
具中心経路の形状要素部分を削除するステップと、 前記進行方向が逆向きの工具中心経路の形状要素部分を
削除し、前記交点を移動終了点および移動開始点と定め
た工具中心経路の形状要素を用いて荒加工用工具のNCデ
ータを作成するステップと からなることを特徴とする側面領域加工のNCデータ作成
方法。1. A finishing tool when processing an arbitrary side surface shape of a workpiece with a tool such as an end mill by using a side surface finish shape formed by connecting shape elements each of which is a canonical form having a cutting direction. In the NC data creation method of the side area machining to create NC data of the rough machining tool that prevents overcutting that occurs when using a thicker rough machining tool, the tool diameter offset data of the rough machining tool A step of offsetting the side surface finish shape by a tool radius to obtain a tool center path formed of a canonical form, and a cutting direction of the side surface finish shape element and a tool center path offset by the tool radius corresponding thereto The step of comparing the cutting direction of the shape element of, and the result of the comparison is that the shape element of the tool center path in which the cutting direction is opposite is cut too much. It is recognized as the shape element of the tool center path that causes the cutting, and the intersection point between the shape elements of the tool center path before and after the tool center path whose cutting direction is reversed is obtained, and this intersection point is defined as the shape element of the tool center path. The step of deleting the shape element part of the tool center path in which the cutting direction is the reverse direction by defining the movement end point and the movement start point, and deleting the shape element part of the tool center path in which the advancing direction is the reverse direction, And a step of creating NC data of the tool for rough machining using the shape elements of the tool center path defined as the movement end point and the movement start point.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1226228A JPH0747256B2 (en) | 1989-08-31 | 1989-08-31 | NC data creation method for side area processing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1226228A JPH0747256B2 (en) | 1989-08-31 | 1989-08-31 | NC data creation method for side area processing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0392245A JPH0392245A (en) | 1991-04-17 |
| JPH0747256B2 true JPH0747256B2 (en) | 1995-05-24 |
Family
ID=16841903
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1226228A Expired - Lifetime JPH0747256B2 (en) | 1989-08-31 | 1989-08-31 | NC data creation method for side area processing |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0747256B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2771361B2 (en) * | 1991-10-03 | 1998-07-02 | 日本電気ソフトウェア株式会社 | Rough cutter path generation system |
| JP5431987B2 (en) * | 2010-01-29 | 2014-03-05 | Dmg森精機株式会社 | Machine tool controller |
| CN110414706B (en) * | 2018-04-28 | 2024-12-17 | 西安合众思壮导航技术有限公司 | Method, device and system for generating curve path |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06100929B2 (en) * | 1986-12-17 | 1994-12-12 | オークマ株式会社 | NC data creation method for machining uncut parts in NC data creation device |
-
1989
- 1989-08-31 JP JP1226228A patent/JPH0747256B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0392245A (en) | 1991-04-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5434793A (en) | Method and apparatus for ascertaining tool path contours approximating curved contour intersection lines in numerically controlled machines | |
| US4720796A (en) | Tool interference checking method | |
| JPH0152141B2 (en) | ||
| JPH0747256B2 (en) | NC data creation method for side area processing | |
| JPS6263307A (en) | Method for producing composite curved surface | |
| JP3030762B2 (en) | Curved surface processing method by NC machine tool | |
| CN113618253B (en) | Laser processing method, system, laser processing controller and storage medium | |
| JP2004276127A (en) | Die machining program creation method and device, record medium storing the program and wire cut electric discharge machine | |
| JPH0731534B2 (en) | How to create an offset shape | |
| JPH06100929B2 (en) | NC data creation method for machining uncut parts in NC data creation device | |
| JPH0683422A (en) | Numerical control method | |
| JP2685328B2 (en) | Shape definition method in numerical control information creation device | |
| JP3269278B2 (en) | CAM system for creating tooling tool path | |
| JP2764941B2 (en) | Setting the cutter path | |
| KR100440153B1 (en) | Method of generating a roughing work program for computer numerical control | |
| JP2966672B2 (en) | How to create NC data for corners | |
| JP2746170B2 (en) | Numerical control data creation device | |
| JP2000163110A (en) | Tool path generation method and tool path generation program recording medium | |
| JPH0264710A (en) | Method for correcting offset passage | |
| JPH05282027A (en) | NC data creation method | |
| JP3215541B2 (en) | Wire electric discharge machining method | |
| JPS60259361A (en) | Machining through automatic machine tool | |
| JPS62235606A (en) | Nc data originating method for composite curved surface | |
| JPH07237086A (en) | Preparating method for program used for numerically controlled machine tool | |
| JPH07108438A (en) | Working interference check method by computer and composing method of working interference evasion program |