JPH04111002A - Method and device for generating numerical control information - Google Patents
Method and device for generating numerical control informationInfo
- Publication number
- JPH04111002A JPH04111002A JP22911690A JP22911690A JPH04111002A JP H04111002 A JPH04111002 A JP H04111002A JP 22911690 A JP22911690 A JP 22911690A JP 22911690 A JP22911690 A JP 22911690A JP H04111002 A JPH04111002 A JP H04111002A
- Authority
- JP
- Japan
- Prior art keywords
- tool
- offset
- numerical control
- control information
- cutting edge
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000003754 machining Methods 0.000 claims description 30
- 238000013500 data storage Methods 0.000 description 10
- 239000013256 coordination polymer Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、入力された加工情報に基づいて数値制御情報
を作成する数値制御情報作成方法及び装置に関し、特に
ワークに接触する工具刃先点を2つ持つ工具を用いて加
工する工程の切削経路を数値制御情報として作成する方
法及び装置に関する。Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a numerical control information creation method and apparatus for creating numerical control information based on input machining information. The present invention relates to a method and apparatus for creating a cutting path in a machining process using two tools as numerical control information.
(従来の技術)
従来の数値制御情報作成装置は、入力された加工情報に
基づいて加工工程での加工部位、切削方向、切削する加
工形状、切削に用いる工具、切削条件等を加工工程毎に
決定し、これらの加工部位データ、切削方向データ、加
工形状データ、工具データ、切削条件データ等に従って
数値制御情報を作成している。(Prior art) A conventional numerical control information creation device determines the part to be machined, the cutting direction, the shape to be cut, the tool used for cutting, the cutting conditions, etc. for each machining process based on input machining information. Then, numerical control information is created according to these machining part data, cutting direction data, machining shape data, tool data, cutting condition data, etc.
第7図は上述した従来の数値制御情報作成装置の一例を
示すブロック図であり、工程データ決定部2は操作パネ
ル1から入力された加工情報SAに従って加工工程の加
工部位データ、切削方向データ、切削する加工形状デー
タ、切削に用いる工具データ、切削条件データ等SBを
加工工程毎に決定して工程データ記憶メモリ3に格納す
る。切削経路情報作成部4は工程データ記憶メモリ3か
ら加工部位データ、切削方向データ、加工形状データS
Cを読出して切削経路SFを生成し、また工具情報作成
部5は工程データ記憶メモリ3から工具データSDを読
出して工具番号指令、工具補正番号指令SGを生成し、
また切削条件情報生成部6は工程データ記憶メモリ3か
ら切削条件データSEを読出して主軸回転数指令、送り
速度指令SHを生成する。そして、これらの切削経路S
F、工具番号指令、工具補正番号指令SG及び主軸回転
数指令、送り速度指令SNを数値制御情報記憶メモリ7
に格納する。FIG. 7 is a block diagram showing an example of the above-mentioned conventional numerical control information creation device, in which the process data determination unit 2 stores machining part data, cutting direction data, SB such as machining shape data to be cut, tool data used for cutting, cutting condition data, etc. is determined for each machining process and stored in the process data storage memory 3. The cutting path information creation unit 4 receives machining part data, cutting direction data, and machining shape data S from the process data storage memory 3.
C is read out to generate a cutting path SF, and the tool information creation unit 5 reads tool data SD from the process data storage memory 3 to generate a tool number command and a tool correction number command SG,
Further, the cutting condition information generating section 6 reads the cutting condition data SE from the process data storage memory 3 and generates a spindle rotation speed command and a feed speed command SH. And these cutting paths S
F, tool number command, tool correction number command SG, spindle rotation speed command, and feed speed command SN are stored in the numerical control information storage memory 7.
Store in.
(発明が解決しよ、つとする課題)
上述した従来の数値制御情報作成装置を用いて例えば第
8図に示すような工具刃先点を2つ持つ工具で第9図に
示すような部品加工を行なう数値制御情報を作成しよう
とする場合、まずオペレータは第8図に示す工具のデー
タと、第9図に示す素材形状データ及び部品形状データ
を操作パネル1から入力する。そして、工程データ決定
部2は工程データ記憶メモリ3に第1O図に示すような
加工部位データ、切削方向データ、加工形状データ、工
具データ及び切削条件データを格納する。(Problem to be solved by the invention) It is possible to process a part as shown in FIG. 9 using a tool having two cutting edge points as shown in FIG. 8 using the above-mentioned conventional numerical control information creation device. When creating numerical control information to be carried out, the operator first inputs the tool data shown in FIG. 8 and the material shape data and part shape data shown in FIG. 9 from the operation panel 1. Then, the process data determining unit 2 stores machining part data, cutting direction data, machining shape data, tool data, and cutting condition data as shown in FIG. 1O in the process data storage memory 3.
従って、その結果得られる数値制御情報は第11図のよ
うになる。ところが、この数値制御情報を用いて実際の
加工を行なうと第12図に示すようにN3とN4のシー
ケンスで工具の刃先幅だけワークに食込んだ加工となっ
てしまう。Therefore, the numerical control information obtained as a result is as shown in FIG. However, when actual machining is performed using this numerical control information, the machining ends up cutting into the workpiece by the width of the cutting edge of the tool in the sequence of N3 and N4, as shown in FIG.
従って、所望の加工を行なうための数値制御情報を得る
ためには、操作パネル1から入力する部品形状を第13
図に示すように工具の刃先幅を考慮した形状にする必要
があり、オペレータにとって大きな負担となっていた。Therefore, in order to obtain numerical control information for performing the desired processing, the part shape input from the operation panel 1 must be
As shown in the figure, it was necessary to create a shape that took into account the width of the cutting edge of the tool, which placed a heavy burden on the operator.
本発明は上述した事情から成されたものであり、本発明
の目的は、オペレータがいちいち工具の刃先幅を考慮し
た部品形状を入力する必要のない数値制御情報作成方法
及び装置を提供することにある。The present invention was made in view of the above-mentioned circumstances, and an object of the present invention is to provide a method and apparatus for creating numerical control information that does not require an operator to input the shape of a part in consideration of the cutting edge width of a tool. be.
(課題を解決するための手段)
本発明は入力された加工情報に基づいて数値制御情報を
作成する数値制御情報作成方法及び装置に関するもので
あり、本発明の上記目的は、ワークに接触する工具刃先
点を2つ持つ工具を用いて加工する工程に対しては、前
記2つの工具刃先点のうちいずれか一方の工具刃先点を
基準とした切削経路を数値制御情報として作成すること
によって達成され、また、ワークに接触する工具刃先点
を2つ持つ工具を用いて加工する工程の加工形状をオフ
セットするためのオフセット距離を工具データから決定
する第1の決定手段と、前記工程の加工形状をオフセッ
トするためのオフセット方向及びオフセット条件を前記
工程の切削方向に基づいて決定する第2の決定手段と、
前記決定されたオフセット距離、オフセット方向及びオ
フセット条件から前記工程の加工形状をオフセットして
オフセット形状を生成する生成手段とを備え、前記オフ
セット形状に基づいて前記2つの工具刃先点のうちいず
れか一方の工具刃先点を基準とした切削経路を求めて数
値制御情報として作成することによって達成される。(Means for Solving the Problems) The present invention relates to a numerical control information creation method and apparatus for creating numerical control information based on input machining information. For the process of machining using a tool with two cutting edge points, this can be achieved by creating a cutting path based on one of the two tool cutting edge points as numerical control information. , a first determining means for determining an offset distance from tool data for offsetting the machining shape of a machining process using a tool having two tool cutting edge points that contact the workpiece; a second determining means for determining an offset direction and offset conditions for offset based on the cutting direction of the step;
generating means for generating an offset shape by offsetting the machining shape of the step from the determined offset distance, offset direction, and offset condition, and generating one of the two tool cutting edge points based on the offset shape. This is achieved by finding the cutting path based on the tool cutting edge point and creating it as numerical control information.
(作用)
本発明にあっては、加工形状を自動的にオフセットして
切削経路を作成するようにしているので、部品形状をそ
のまま入力しても工具の刃先幅分ワークに食込んでしま
うような加工を回避することができる。(Function) In the present invention, the cutting path is created by automatically offsetting the machining shape, so even if the part shape is input as is, it will not cut into the workpiece by the width of the cutting edge of the tool. It is possible to avoid unnecessary processing.
(実施例)
第1図は本発明の数値制御情報作成装置の一例を第7図
に対応させて示すブロック図であり、同構成箇所は同符
号を付して説明を省略する。工程データ記憶メモリ3か
らオフセット距離決定部8に読出された工具データSD
の工具刃先幅がオフセット距離Ofとしてオフセット形
状生成部lOに送出される。また、工程データ記憶メモ
リ3からオフセット方向・オフセット条件決定部9に読
出された切削方向データSCDに基づいて例えは第3図
に示すようなオフセット力向Od及びオフセット条件し
か決定されてオフセット形状生成部lOに送出される。(Embodiment) FIG. 1 is a block diagram showing an example of the numerical control information creation device of the present invention in correspondence with FIG. 7, and the same components are given the same reference numerals and the description thereof will be omitted. Tool data SD read out from the process data storage memory 3 to the offset distance determining section 8
The tool cutting edge width is sent to the offset shape generating unit 1O as the offset distance Of. Further, based on the cutting direction data SCD read out from the process data storage memory 3 to the offset direction/offset condition determination unit 9, only the offset force direction Od and offset conditions as shown in FIG. 3 are determined, and the offset shape is generated. The information is sent to department lO.
そして、オフセット距離決定部8及びオフセット方向・
オフセット条件決定部9からオフセット形状生成部10
に送出されて来たオフセット距離Of及びオフセット方
向08.オフセット条件OJと、工程データ記憶メモリ
3からオフセット形状生成部10に読出された加工形状
データSCFとからオフセット形状E0か生成されて切
削経路情報作成部4に送出され、このオフセット形状E
。に基づいて切削経路SFが生成されるようになってい
る。Then, the offset distance determining section 8 and the offset direction/
From the offset condition determining unit 9 to the offset shape generating unit 10
The offset distance Of and offset direction 08. An offset shape E0 is generated from the offset condition OJ and the machining shape data SCF read out from the process data storage memory 3 to the offset shape generation section 10, and sent to the cutting path information creation section 4.
. The cutting path SF is generated based on the following.
このような構成において、その動作例を第2図(A)
、 (B)のフローチャートで説明すると、オフセット
形状生成部lOはカウンタn、mを初期化(1)しくス
テップS1)、例えは第10図に示すような加工形状デ
ータの開始点KP、 (KXn、KZ、)を工程データ
記憶メモリ3から読出すと共に、例えは第4図に示すよ
うなオフセット形状の開始点OPM (OX□、OZm
)を切削経路情報作成部4に送出する(ステップS 2
.)。そして、加工形状データの開始点にP、 (KX
nKZ、)をにP、(X、、Za)としてバッファB8
に格納すると共に、このにP IIを通り、進行方向か
オフセット方向・オフセット条件決定部9から送出され
て来たオフセット方向0.と同しである直線式へX +
BZ +C−0を算出してバッファB、に直線式A、
X + B、Z+ C,−Oとして格納する(ステップ
S3)。次に、カウンタn、mをカウントアツプしくス
テップS4)、加工形状データの次の点KP、(KXn
、に2. )を工程データ記憶メモリ3から読出してに
P、としてバッファabに格納すると共に、バッファ6
aからKPaを読出し、KP、からKP、ヘノ直線式A
X + BZ+C−0を算出してバッファB、にAb×
+BbZ十〇b−〇として格納する(ステップS5)。In such a configuration, an example of its operation is shown in Figure 2 (A).
, (B), the offset shape generation unit IO initializes counters n and m (step S1), and for example, starts point KP of machining shape data as shown in FIG. 10, (KXn , KZ, ) from the process data storage memory 3, and read out the starting point OPM (OX□, OZm) of the offset shape as shown in FIG.
) is sent to the cutting path information creation section 4 (step S2
.. ). Then, P, (KX
nKZ,) to P, (X,, Za) in buffer B8
At the same time, the offset direction 0. which is sent from the traveling direction or the offset direction/offset condition determining section 9 passes through the P II. To the linear equation that is the same as
Calculate BZ +C-0 and apply linear equation A to buffer B.
Store as X+B, Z+C, -O (step S3). Next, the counters n and m are counted up (step S4), and the next point KP, (KXn
, to 2. ) is read from the process data storage memory 3 and stored as P in the buffer ab, and the buffer 6
Read KPa from a, KP, then KP, Henno linear equation A
Calculate X + BZ + C-0 and add Ab× to buffer B.
+BbZ10b-0 (step S5).
そして、にPaからにPbへの進行方向Obを求め(ス
テップS6)、この進行方向Obとオフセット方向0.
とか−致するか否かチエツクする(ステップS7)。進
行方向Obとオフセット方向0.が一致する場合は、バ
ッファBbから直線式AbX ” BbZ ” Cb−
0を読出してオフセット距let Orたけオフセット
方向Odにオフセットした直線式AX +BZ + C
−0を新たに算出し、直線式AbX +BbZ + C
b □ 0としテハッファBbに格納する(ステップS
8)。そして、バッファBaから直線式A、X + B
、Z + C□−0を読出すと共に、バッファB、から
直線式AbX÷BbZ +cb −0を読出し、各直線
の交点CP (CX、II:2)を算出してオフセット
形状の点OPM (OX−,01−)として切削経路情
報作成部4に送出する。この時、オフセットしたことを
示すフラグをオンしておく(ステップS9)。Then, the traveling direction Ob from Pa to Pb is determined (step S6), and this traveling direction Ob and the offset direction 0.
It is checked whether or not it matches (step S7). Traveling direction Ob and offset direction 0. If they match, the linear equation AbX `` BbZ '' Cb-
Linear formula that reads 0 and offsets the offset distance let Or in the offset direction Od +BZ + C
-0 is newly calculated and the linear equation AbX +BbZ + C
b □ Set to 0 and store in buffer Bb (step S
8). Then, from the buffer Ba, the linear equation A, X + B
, Z + C□-0, the linear equation AbX÷BbZ +cb-0 is read out from buffer B, the intersection point CP (CX, II:2) of each straight line is calculated, and the point OPM (OX -, 01-) to the cutting path information creation section 4. At this time, a flag indicating that the offset has been made is turned on (step S9).
方、進行方向Obとオフセット方向0.が一致しない場
合は、オフセットしたことを示すフラグがオンかオフか
チエツクしくステップ510)、フラグがオフならばス
テップ513へ進み、フラグがオンならばバッフ7Bb
から直線式AbX ” BbZ +Cb−0を読出すと
共に、バッファBaから直線式Aax+Baz+ ca
’−oを読出し、各直線の交点CP(CK、CZ)
を算出してオフセット形状の点OP□(ox、、ozm
)として切削経路情報作成部4に送出する。この時、オ
フセットしたことを示すフラグをオフしておく(ステッ
プSll )。そして、カウンタmをカウントアツプし
くステップS12 ) 、KPb (KXa、KZb)
をオフセット形状の点OP、 (OXm、OZ、、、)
として切削経路情報作成部4に送出する(ステップ51
3)。direction, traveling direction Ob and offset direction 0. If they do not match, check whether the flag indicating offset is on or off (step 510); if the flag is off, proceed to step 513; if the flag is on, buffer 7Bb
At the same time, read the linear equation AbX '' BbZ +Cb-0 from the buffer Ba, and read the linear equation Aax+Baz+ca from the buffer Ba.
'-o is read, and the intersection point CP (CK, CZ) of each straight line is
Calculate the offset shape point OP□(ox,,ozm
) is sent to the cutting path information creation section 4. At this time, a flag indicating that the offset has been made is turned off (step Sll). Then, the counter m is counted up (step S12), KPb (KXa, KZb)
is the point OP of the offset shape, (OXm, OZ,,,)
(Step 51)
3).
そして、加工形状データの次の点にpo−+ (にX
n + ! 。Then, the next point of the machining shape data is po−+ (to
n+! .
にz、1)が存在するか否かを確認しくステップ514
)、次の点KPn、、が存在するならばバッファBbに
記憶されているにPb (KXb 、KZb)及び直線
式A、X+ 1lbz +Cb−0を読出してバッファ
Baに にP、(Xa。Check whether z,1) exists in step 514.
), if the next point KPn, , exists, read out Pb (KXb, KZb) and the linear equation A,
Z、)及び直線式A、X 十B、Z + C,−0とし
て格納しくステップ515)、ステップS3に戻って上
述した動作を繰返す。一方、次の点KPnや、が存在し
なけ之
?
?
≧
≧
く
?
≧Z, ) and the linear equation A, On the other hand, must the following point KPn exist? ? ≧ ≧ Ku? ≧
Claims (1)
する場合、ワークに接触する工具刃先点を2つ持つ工具
を用いて加工する工程に対しては、前記2つの工具刃先
点のうちいずれか一方の工具刃先点を基準とした切削経
路を数値制御情報として作成するようにしたことを特徴
とする数値制御情報作成方法。 2、入力された加工情報に基づいて数値制御情報を作成
する数値制御情報作成装置において、ワークに接触する
工具刃先点を2つ持つ工具を用いて加工する工程の加工
形状をオフセットするためのオフセット距離を工具デー
タから決定する第1の決定手段と、前記工程の加工形状
をオフセットするためのオフセット方向及びオフセット
条件を前記工程の切削方向に基づいて決定する第2の決
定手段と、前記決定されたオフセット距離、オフセット
方向及びオフセット条件から前記工程の加工形状をオフ
セットしてオフセット形状を生成する生成手段とを備え
、前記オフセット形状に基づいて前記2つの工具刃先点
のうちいずれか一方の工具刃先点を基準とした切削経路
を求めて数値制御情報として作成するようにしたことを
特徴とする数値制御情報作成装置。[Claims] 1. When creating numerical control information based on input machining information, the two A method for creating numerical control information, characterized in that a cutting path based on one of the tool cutting edge points is created as numerical control information. 2. In a numerical control information creation device that creates numerical control information based on input machining information, an offset is used to offset the machining shape of a machining process using a tool that has two tool cutting edge points that contact the workpiece. a first determining means that determines the distance from tool data; a second determining means that determines an offset direction and offset conditions for offsetting the machining shape of the process based on the cutting direction of the process; generating means for generating an offset shape by offsetting the machining shape of the process from the offset distance, offset direction, and offset conditions, the tool cutting edge of one of the two tool cutting edge points based on the offset shape A numerical control information creation device characterized in that a cutting path based on a point is determined and created as numerical control information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22911690A JPH04111002A (en) | 1990-08-30 | 1990-08-30 | Method and device for generating numerical control information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22911690A JPH04111002A (en) | 1990-08-30 | 1990-08-30 | Method and device for generating numerical control information |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04111002A true JPH04111002A (en) | 1992-04-13 |
Family
ID=16886999
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22911690A Pending JPH04111002A (en) | 1990-08-30 | 1990-08-30 | Method and device for generating numerical control information |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04111002A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH027105A (en) * | 1988-01-20 | 1990-01-11 | Mitsubishi Electric Corp | Method for preparing offsetting shape |
-
1990
- 1990-08-30 JP JP22911690A patent/JPH04111002A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH027105A (en) * | 1988-01-20 | 1990-01-11 | Mitsubishi Electric Corp | Method for preparing offsetting shape |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| ATE287317T1 (en) | PROCESSOR FOR MACHINE PROCESSING | |
| JPS59184911A (en) | Method of copying contour of work with tool | |
| US4691649A (en) | Input device for sewing machine | |
| KR840006144A (en) | Numerical Control Machining Method | |
| EP0130218B2 (en) | Method of protecting file of numerical control | |
| JPH04111002A (en) | Method and device for generating numerical control information | |
| JP3401011B2 (en) | Method and apparatus for controlling an electric discharge machine | |
| JPH0731534B2 (en) | How to create an offset shape | |
| JP3131045B2 (en) | Numerical control unit | |
| WO1985000678A1 (en) | Method of inspecting machining locus control | |
| JPH06102918A (en) | Method for generating cutting route | |
| JPS61103735A (en) | Interpolation system of numerical control device | |
| JP2670180B2 (en) | Numerical control information creation device | |
| JP2786340B2 (en) | Machining time calculation method in numerical control information creation device | |
| JP3343826B2 (en) | Numerical control information creation device | |
| CN120898184A (en) | Information generation device and information display device | |
| WO2024069954A1 (en) | Machine tool control device and machine tool display device | |
| JPS61178148A (en) | Machining range specifying device for every machining process in automatic programming | |
| JPH07253810A (en) | Numerical control processing unit | |
| JPH03164908A (en) | Generating device for numerical control program | |
| JPH05119820A (en) | Numerical control information generating device | |
| JP2011258138A (en) | Correction tool locus information generation system, correction tool locus information generation method and correction tool locus information generation program | |
| JPS63204410A (en) | numerical control device | |
| JPS62176732A (en) | Four shaft simultaneous manufacturing formation method on automatic programming | |
| JPS61249245A (en) | Integrated control device of tool |