JPH0512097B2 - - Google Patents

Info

Publication number
JPH0512097B2
JPH0512097B2 JP10034486A JP10034486A JPH0512097B2 JP H0512097 B2 JPH0512097 B2 JP H0512097B2 JP 10034486 A JP10034486 A JP 10034486A JP 10034486 A JP10034486 A JP 10034486A JP H0512097 B2 JPH0512097 B2 JP H0512097B2
Authority
JP
Japan
Prior art keywords
tool
cutting edge
cutting
balance
data
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
Application number
JP10034486A
Other languages
Japanese (ja)
Other versions
JPS62255046A (en
Inventor
Teruyuki Matsumura
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP10034486A priority Critical patent/JPS62255046A/en
Publication of JPS62255046A publication Critical patent/JPS62255046A/en
Publication of JPH0512097B2 publication Critical patent/JPH0512097B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は4軸旋盤のNCプログラム作成方法に
に係り、特にバランスカツト工程を有する4軸旋
盤におけるNCデータ作成方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a method for creating an NC program for a four-axis lathe, and particularly to a method for creating NC data for a four-axis lathe having a balance cut process.

<従来技術> 第1、第2の2つの刃物台を有する4軸旋盤の
加工制御においては、それぞれの刃物台に対応し
て待ち合わせ指令を有する第1、第2をNCプロ
グラムを設け、該待ち合わせ指令により同期をと
りながら第1、第2のNCプログラムで独立に対
応する刃物台を移動制御してワークに加工を施
す。このため、4軸旋盤では、たとえば一方の刃
物台に取り付けられた工具でワークの外形加工を
行い、もう一方の刃物台に取り付けられた工具で
内径加工を同時に行うことができ加工時間を短縮
することができる。
<Prior art> In machining control of a 4-axis lathe having two turrets, a first and a second, NC programs are provided for the first and second turrets, each having a waiting command corresponding to each turret. While synchronizing with commands, the first and second NC programs independently control the movement of the corresponding tool rests to machine the workpiece. For this reason, with a 4-axis lathe, for example, a tool attached to one turret can machine the external shape of a workpiece, and a tool attached to the other turret can simultaneously perform internal machining, reducing machining time. be able to.

又、4軸旋盤によればバランスカツトという切
削が可能であり、細長のワークに高精度の旋削加
工ができる。この切削方法は第12図に示すよう
に細長いワークWKを加工する場合、該ワークの
両側から第1、第2の工具TL1,TL2を当て、
各工具を同期して移動させて同時に加工を行うも
のであり、ワークのたわみを防止でき精度の良好
な加工ができ、又重切削が可能となるものであ
る。尚、第12図においてCHKはチヤツクであ
る。
Furthermore, a 4-axis lathe allows cutting called balance cutting, which allows highly accurate turning of long and narrow workpieces. In this cutting method, when machining a long and narrow workpiece WK as shown in Fig. 12, the first and second tools TL1 and TL2 are applied from both sides of the workpiece,
Each tool is moved synchronously to perform machining at the same time, which prevents deflection of the workpiece, enables highly accurate machining, and enables heavy cutting. In addition, CHK in FIG. 12 is a check.

かかる4軸旋盤用のNCプログラムはNC装置
の自動プログラミング機能により、あるいは別設
の自動プログラミング装置により対話的に自動作
成されるようになつている。
NC programs for such four-axis lathes are automatically created interactively by the automatic programming function of the NC device or by a separate automatic programming device.

しかしながら、従来の自動プログラミング装置
にはバランスカツト用のNCプログラムを自動作
成する機能がなく、バランスカツト工程を含む場
合のプログラミング作業が面倒となつていた。
However, conventional automatic programming devices do not have a function to automatically create an NC program for balance cutting, making programming work when a balance cutting process is included.

このため、バランスカツト用のNCデータを含
むNCプログラムを自動作成できる4軸旋盤の
NCプログラム作成方法が提案されている。
For this reason, a 4-axis lathe that can automatically create an NC program including NC data for balance cutting has been developed.
A method for creating NC programs has been proposed.

しかし、かかる提案されたNCプログラム作成
方法では、特定されたバランスカツト用の第1、
第2刃物台における工具の形状が異なると、換言
すれば第1、第2刃物台における工具の切刃角あ
るいは刃先角が異なるとバランスカツト工具とし
ては不適当であるとして次のデータ入力ステツプ
へ進めないようにしている。
However, in the proposed NC program creation method, the first,
If the shape of the tool in the second tool post is different, in other words, if the cutting edge angle or edge angle of the tool in the first and second tool posts is different, it will be considered unsuitable as a balance cut tool and the process will proceed to the next data input step. I'm trying not to proceed.

第13図は工具形状説明図で、同図Aは−Z方
向に移動させて切削する外径加工用工具の工具形
状説明図、同図Bは+Z方向に移動させて切削す
る外径加工用工具の説明図であり、TL1,TL2
は工具、MBは主切刃、SBは副切刃、WKはワー
クである。
Fig. 13 is an explanatory diagram of the tool shape. Figure A is an explanatory diagram of the tool shape of an outer diameter machining tool that is moved in the -Z direction for cutting, and Figure B is a tool shape explanatory diagram of an outer diameter machining tool that is moved in the +Z direction for cutting. It is an explanatory diagram of the tool, TL1, TL2
is the tool, MB is the main cutting edge, SB is the minor cutting edge, and WK is the workpiece.

主切刃MBから垂直線VL迄の角度(反時計方
向が正)が切刃角AC、主切刃MBから副切刃SB
迄の角度(時計方向が正)が刃先角ANである。
ただし、RNは刃先半径である。
The angle from the main cutting edge MB to the vertical line VL (counterclockwise is positive) is the cutting edge angle AC, and from the main cutting edge MB to the minor cutting edge SB
The angle up to this point (clockwise is positive) is the cutting edge angle AN.
However, RN is the radius of the cutting edge.

さて、バランスカツト用の第1、第2刃物台に
おける工具の切刃角あるいは刃先角が異なるとバ
ランスカツト工具として不適当であるとする理由
は以下の通りである。
Now, the reason why it is said that a tool having a different cutting edge angle or edge angle in the first and second tool rests for balance cutting is inappropriate as a balance cutting tool is as follows.

今、第14図Aに示す工具TL11の刃先を実
線(所望形状)SLに沿つて移動させて加工しよ
うとすると、傾斜部分で該工具はワークWKに干
渉してしまう。かかる場合には、自動プログラミ
ング装置は傾斜部分で工具がワークに干渉しない
ように、たとえば刃先が第14図Bの点線に沿つ
て移動するようにNCデータを作成する。
Now, if the cutting edge of the tool TL11 shown in FIG. 14A is moved along the solid line (desired shape) SL for processing, the tool will interfere with the workpiece WK at the inclined portion. In such a case, the automatic programming device creates NC data so that the tool does not interfere with the workpiece at the inclined portion, for example, so that the cutting edge moves along the dotted line in FIG. 14B.

一方、第14図Cに示す工具TL12の場合に
は、刃先を実線(所望形状)SLに沿つて移動さ
せても該工具は傾斜部分でワークに干渉せず、従
つて自動プログラミング装置は刃先が第14図D
に示す点線(実線)に沿つて移動するようにNC
データを作成する。
On the other hand, in the case of tool TL12 shown in FIG. Figure 14D
NC to move along the dotted line (solid line) shown in
Create data.

従つて、バランスカツト用の第1、第2刃物台
における工具の形状が異なり、しかも所望形状に
沿つて刃先を移動させると一方の工具がワークに
干渉する場合には、工具の刃先通路が互いに異な
つてしまいバランスカツトができなくなる。この
ため、バランスカツト用の第1、第2刃物台にお
ける工具の切刃角あるいは刃先角が異なると不適
当であるとしているのである。
Therefore, if the shapes of the tools in the first and second tool rests for balance cutting are different, and one tool interferes with the workpiece when the cutting edge is moved along the desired shape, the cutting edge path of the tools will be different from each other. It will become different and you will not be able to make a balanced cut. For this reason, it is considered inappropriate if the cutting edge angles or edge angles of the tools in the first and second tool rests for balance cutting are different.

尚、一方の工具を基準にして、両工具のバラン
スカツト用のNCデータを作成すると刃先通路は
一致するが他方の工具がワークに干渉する場合が
生じる。
Note that if NC data for balance cutting of both tools is created using one tool as a reference, the cutting edge paths will match, but the other tool may interfere with the workpiece.

<発明が解決しようとしている問題点> 切刃角や刃先角が異なる場合にバランスカツト
用工具として不適当であるとすると、工具選択の
自由度が少なくなり、工具の決定が容易で行え
ず、しかも刃物台に適当な工具が存在しない場合
が頻繁に生じ、バランスカツトができない事態が
生じる。
<Problems to be Solved by the Invention> If the cutting edge angle or edge angle is different and it is unsuitable as a balance cutting tool, the degree of freedom in tool selection will be reduced, making it difficult to determine the tool. Furthermore, there are frequent cases where the appropriate tool is not present on the tool rest, resulting in a situation where balance cutting cannot be performed.

以上から、本発明の目的は切刃角や刀先角が異
なる場合であつてもバランスカツトできるように
した4軸旋盤のNCプログラム作成方法を提供す
ることである。
From the above, an object of the present invention is to provide a method for creating an NC program for a 4-axis lathe that allows balanced cutting even when the cutting edge angle and tip angle are different.

<問題点を解決するための手段> 第1図は本発明の概略説明図である。<Means to solve the problem> FIG. 1 is a schematic explanatory diagram of the present invention.

TL11〜TL12は外径加工用の工具、BT1
1〜BT12はバイト(刃先)、MB11〜MB1
2は各工具の主切刃、SB11〜SB12は副切刃
である。尚、各工具は−Z方向に移動させて加工
するものであり、従つて切削方向は−Z方向であ
る。
TL11~TL12 are tools for outside diameter machining, BT1
1 to BT12 are bits (cutting edges), MB11 to MB1
2 is a main cutting edge of each tool, and SB11 to SB12 are auxiliary cutting edges. Note that each tool is moved in the -Z direction for processing, and therefore the cutting direction is the -Z direction.

<作用> バランスカツトに用いる第1、第2の刃物台に
おける工具TL11,TL12の刃先形状が異なる
場合、第1の工具TL11の主切刃MB11と第
2の工具TL12の主切刃MB12のうち切削方
向側(−Z方向)に大きく傾いている工具の主切
刃MB12を仮想的なバランスカツト用工具の主
切刃とみなす。又、第1の工具TL11の副切刃
SB11と第2の工具TL12の副切刃SB12の
うち切削方向と反対側(+Z方向)に大きく傾い
ている工具の副切刃SB11を仮想的なバランス
カツト用工具の副切刃とみなす。そして、該仮想
バランスカツト工具でバランスカツト加工して
も、ワークに干渉しないような刃先通路を求めて
NCデータを作成する。
<Function> When the shapes of the cutting edges of the tools TL11 and TL12 in the first and second tool rests used for balance cutting are different, the main cutting edge MB11 of the first tool TL11 and the main cutting edge MB12 of the second tool TL12. The main cutting edge MB12 of the tool that is largely inclined toward the cutting direction (-Z direction) is regarded as the main cutting edge of a virtual balance cut tool. Also, the minor cutting edge of the first tool TL11
Among the SB11 and the auxiliary cutting edge SB12 of the second tool TL12, the auxiliary cutting edge SB11 of the tool that is largely inclined toward the side opposite to the cutting direction (+Z direction) is regarded as the auxiliary cutting edge of a virtual balance cut tool. Then, we searched for a cutting edge path that would not interfere with the workpiece even if the virtual balance cut tool was used to perform a balance cut.
Create NC data.

この結果、各工具の刃先通路は一致し、しかも
ワークに干渉せずバランスカツトができる。
As a result, the path of the cutting edge of each tool coincides, and balanced cutting can be performed without interfering with the workpiece.

<実施例> 第2図は本発明を実現する自動プログラミング
装置のブロツク図である。
<Embodiment> FIG. 2 is a block diagram of an automatic programming device that implements the present invention.

11はプロセツサ、12はROM、13は
RAM、14はワーキングメモリ、15はデイス
プレイ装置(CRT)、16はデータを入力するキ
ーボード、17は作成されたNCプログラムを外
部記録媒体に出力するNCデータ出力装置であ
る。
11 is a processor, 12 is a ROM, 13 is a
RAM, 14 is a working memory, 15 is a display device (CRT), 16 is a keyboard for inputting data, and 17 is an NC data output device for outputting the created NC program to an external recording medium.

CRTには対話画面表示領域15aと複数のソ
フトキー領域15bが設けられ、各ソフトキー領
域に対応して図示しないキーが設けられ、該キー
を押圧することにより対応するソフトキー領域に
表示されているデータを入力することができる。
The CRT is provided with an interaction screen display area 15a and a plurality of soft key areas 15b, and a key (not shown) is provided corresponding to each soft key area, and when the key is pressed, a message is displayed in the corresponding soft key area. You can enter the data that is available.

又、RAM13には各種パラメータを記憶する
パラメータ記憶域13aが設けられている。
Further, the RAM 13 is provided with a parameter storage area 13a for storing various parameters.

第3図は本発明における4軸旋盤の自動プログ
ラミング処理の流れ図である。この自動プログラ
ミング処理は大別すると以下の15ステツプから成
つている。すなわち、 (1) “自動プログラミング”の実行を選択する第
1ステツプ、 (2) 入力すべきデータ(次に実行すべきステツ
プ)を選択する第2ステツプ (3) 素材の材質を選択する第3ステツプ、 (4) 面粗さを設定する第4ステツプ (5) 図面形式を選択する第5ステツプ、 (6) 素材形状とその寸法を入力する第6ステツ
プ、 (7) 部品形状とその寸法を入力する第7ステツ
プ、 (8) 機械原点とタレツト位置入力の第8ステツ
プ、 (9) 加工工程を選択する第9ステツプ、 (10) 工具の選択と工具データ入力の第10ステツ
プ、 (11) 加工条件決定の第11ステツプ、 (12) 切削方向入力の第12ステツプ、 (13) 切削範囲入力の第13ステツプ、 (14) 同じ工具で切削する領域の有無を入力する第
14ステツプ (15) 工具通路の計算(NCデータ作成)の第15ス
テツプ よりなり、第2図に示す自動プログラミング装置
は順次所定の設問画像(対話画面)をデイスプレ
イ装置15のデイスプレイ画面に表示し、該設問
に応じて必要なデータをオペレータをしてキーボ
ード16から入力させ、最終的に入力された全デ
ータを用いて4軸旋盤の第1、第2のNCプログ
ラムを作成するようになつている。
FIG. 3 is a flowchart of the automatic programming process for a four-axis lathe according to the present invention. This automatic programming process consists of the following 15 steps. That is, (1) the first step is to select the execution of "automatic programming", (2) the second step is to select the data to be input (the next step to be executed), and (3) the third step is to select the material of the material. (4) Fourth step to set the surface roughness, (5) Fifth step to select the drawing format, (6) Sixth step to input the material shape and its dimensions, (7) Part shape and its dimensions. 7th step to input, (8) 8th step to input machine origin and turret position, (9) 9th step to select machining process, (10) 10th step to select tool and input tool data, (11) 11th step to determine machining conditions, (12) 12th step to input the cutting direction, (13) 13th step to input the cutting range, (14) 1st step to input the presence or absence of an area to be cut with the same tool.
14 Steps (15) Consisting of the 15th step of tool path calculation (NC data creation), the automatic programming device shown in FIG. 2 sequentially displays predetermined question images (dialogue screens) on the display screen of the display device 15. The operator inputs the necessary data from the keyboard 16 according to the question, and finally the first and second NC programs for the 4-axis lathe are created using all the input data. .

第4図及び第5図は本発明方法の処理の流れ図
であり、以下バランスカツト工程を含む場合にお
けるデータ入力方法及びNCデータ作成方法につ
いて説明する。
FIG. 4 and FIG. 5 are flowcharts of the process of the method of the present invention, and the data input method and NC data creation method in the case including the balance cut step will be explained below.

尚、バランスカツトが可能な工程は外径旋削
(外径荒加工、外径中仕上げ加工、外径仕上げ加
工)に限られ、予めRAM13(第2図)のパラ
メータ記憶域13aにバランスカツトする加工工
程の名称が記憶されている。実際には、所定のパ
ラメータの第1ビツト、第2ビツト、第3ビツト
の“1”、“0”でそれぞれ外径荒加工、外径中仕
上げ加工、外径仕上げ加工をバランスカツトする
かどうか特定している。たとえば、第1ビツトが
“1”であれば自動プログラミング装置は外径荒
加工はバランスカツトするものであると認識し、
第2ビツトが”1”であれば外径中心仕上げ加工
が、同様に第3ビツトが“1”であれば外径仕上
げ加工がそれぞれバランスカツトするものである
と認識する。
Note that the processes in which balance cutting is possible are limited to outer diameter turning (outer diameter rough machining, outer diameter semi-finishing, outer diameter finishing), and balance cutting is performed in advance in the parameter storage area 13a of the RAM 13 (Fig. 2). The name of the process is memorized. In reality, the 1st, 2nd, and 3rd bits of the predetermined parameters are set to “1” or “0” to determine whether balance cutting is performed for outer diameter rough machining, outer diameter semi-finishing machining, and outer diameter finishing machining, respectively. It is specified. For example, if the first bit is "1", the automatic programming device recognizes that the outer diameter roughing is a balance cut.
If the second bit is "1", it is recognized that the outer diameter center finishing process is performed, and similarly, if the third bit is "1", the outer diameter finishing process is recognized as a balance cut.

(a) さて、第3図における第9ステツプにおい
て、加工工程が入力されるとプロセツサ11は
該入力された加工工程が外径旋削(外径荒加
工、外径中仕上げ加工、外径仕上げ加工)かど
うかチエツクする。
(a) Now, in the 9th step in FIG. ).

(b) 外径旋削でなければ第9ステツプで入力した
加工工程で用いる工具(1種類)を特定するデ
ータを入力させるための対話画面(第6図参
照)をCRTに描画する。
(b) If it is not outside diameter turning, draw on the CRT an dialog screen (see Figure 6) for inputting data specifying the tool (one type) used in the machining process input in the ninth step.

(c) 一方、入力された工程が外径荒加工、外径中
仕上げ加工、外径仕上げ加工のいずれか1つで
あれば、プロセツサ11はパラメータ記憶域1
3aに記憶されているパラメータを参照し、該
工程がバランスカツト工程かどうかをチエツク
する。
(c) On the other hand, if the input process is one of outer diameter rough machining, outer diameter semi-finish machining, and outer diameter finish machining, the processor 11 stores parameter storage area 1.
Referring to the parameters stored in 3a, it is checked whether the process is a balance cut process.

(d) バランスカツト工程でなければステツプ(b)へ
飛び、バランスカツト工程であれば該バランス
カツトに用いる第1、第2刃物台における2種
類の工具を設問する対話画面(第2図参照)を
デイスプレイ画面CRTに表示する。
(d) If it is not a balance cut process, the process jumps to step (b), and if it is a balance cut process, it is an interactive screen that asks about the two types of tools in the first and second tool rests used for the balance cut (see Figure 2). is displayed on the display screen CRT.

(e) オペレータは、 (e‐1) バランスカツト工程でない場合には1種類
の工具の(i)工具管理番号、(ii)工具番号、(iii)工
具位置補正番号、(iv)タレツト番号等を入力
し、 (e‐2) バランスカツト工程の場合には該バランス
カツトに用いられる第1、第2工具の(i)工具
管理番号、(ii)工具番号、(iii)工具位置補正番
号、(iv)タレツト番号、(v)主軸回転方向等を入
力する。
(e) The operator shall: (e-1) If it is not a balance cut process, the (i) tool management number, (ii) tool number, (iii) tool position correction number, (iv) turret number, etc. of one type of tool. (e-2) In the case of a balance cut process, the (i) tool management number, (ii) tool number, (iii) tool position correction number of the first and second tools used for the balance cut, Input (iv) turret number, (v) spindle rotation direction, etc.

ただし、工具管理番号に対して工具番号、工
具位置補正番号、タレツト、工具形状等がツー
リングフアイルとしてRAM13に記憶されて
いる場合には、工具管理番号を入力するだけで
他のデータがCRTに自動表示される。
However, if the tool number, tool position compensation number, turret, tool shape, etc. are stored in the RAM 13 as a tooling file for the tool management number, other data will be automatically transferred to the CRT just by inputting the tool management number. Is displayed.

尚、第2図の対話画面において、1つの工具
データのみ入力して他の工具データを未定義に
して次のステツプへ進むとバランスカツト工程
にならない。又、第1、第2の工具のタレツト
番号を同一値にすることはできず、しかも第
1、第2の工具に対する主軸回転方向は同一で
なければならない。タレツト番号が同一であつ
たり、主軸回転方向が異なる場合には次のステ
ツプへは進むことができない。更に、バランス
カツトの場合、片方の刃物台にしか特定された
工具がなかつた場合にはプロセツサ11はバラ
ンスカツト工程としない。
In addition, on the dialog screen shown in FIG. 2, if only one tool data is input and other tool data are left undefined and the process proceeds to the next step, the balance cut process will not be performed. Furthermore, the turret numbers of the first and second tools cannot be the same, and the rotational directions of the spindles for the first and second tools must be the same. If the turret numbers are the same or the spindle rotation directions are different, it is not possible to proceed to the next step. Furthermore, in the case of balance cutting, if the specified tool is not present in only one turret, the processor 11 does not perform the balance cutting process.

(f) 第2図あるいは第6図において所定の工具デ
ータが入力されれば第7図に示す工具形状を入
力するための対話画面が描画されるから設問に
応じて順次工具形状データを入力する。尚、ツ
ーリングフアイルがRAM13に記憶されてい
る場合には自動的に工具形状データを含む画面
が表示される。又、バランスカツトの場合には
第1、第2の工具の刃先半径(RN)が異なる
と次のステツプに進むことができない。これ
は、刃先半径が異なると工具通路が異なつてく
るからである。
(f) If the predetermined tool data is input in Figure 2 or Figure 6, the dialog screen for inputting the tool shape shown in Figure 7 will be drawn, so input the tool shape data one by one according to the questions. . Note that if the tooling file is stored in the RAM 13, a screen containing tool shape data is automatically displayed. Furthermore, in the case of balance cutting, if the first and second tools have different cutting edge radii (RN), it is not possible to proceed to the next step. This is because different cutting edge radii result in different tool paths.

(g) 以後必要な全データが対話的に入力され、第
2ステツプ(第3図参照)において、第1、第
2刃物台を制御する第1、第2NCプログラム
の作成が要求されると、プロセツサ11は
CRTに工程編集画面を描画する。
(g) After all necessary data is entered interactively and in the second step (see Figure 3), creation of the first and second NC programs to control the first and second turrets is requested. Processor 11 is
Draw the process editing screen on the CRT.

たとえば、外径荒加工と外径仕上げ加工を共
にバランスカツト工程として登録しておき、第
9ステツプ(第3図参照)以降の「加工定義」
で第8図に示すように工程を定義したとすれ
ば、刃物台別に工程を区分した工程編集画面が
第9図に示すように描画される。
For example, if both outer diameter rough machining and outer diameter finish machining are registered as a balance cut process, the "process definition" after the 9th step (see Figure 3)
If the process is defined as shown in FIG. 8, a process editing screen in which processes are divided by turret is drawn as shown in FIG. 9.

尚、第9図において、G96は周速一定制御を
指令するG機能命令、アルフアベツトVは切削
速度を指令するワードアドレス語、M03は主軸
正転を指令するM機能命令である。又、右端の
括弧内数字i(=1、2)は主軸回転速度を特
定する命令(G96 S……)が第iNCプログラ
ムに出力されることを意味している。
In FIG. 9, G96 is a G function command that commands constant circumferential speed control, Alphabet V is a word address word that commands cutting speed, and M03 is an M function command that commands normal rotation of the main shaft. Further, the number i (=1, 2) in parentheses at the right end means that a command (G96 S...) for specifying the spindle rotation speed is output to the i-th NC program.

(h) 工程編集画面が描画されている状態において
オペレータは切削速度Vや各刃物台の工程の順
序を修正することができる。従つて、修正が必
要ならば所定の修正操作を行い、不必要ならば
次のステツプへ進む。
(h) While the process editing screen is being drawn, the operator can modify the cutting speed V and the process order of each tool post. Therefore, if correction is necessary, perform a predetermined correction operation, and if correction is unnecessary, proceed to the next step.

尚、所定の工程の切削速度Vを修正したい場
合であれば、カーソルCSRをカーソル前進/
後退のソフトキーを押圧して所定の工程に位置
させ、しかる後キーボードから切削速度を入力
すればよい。
If you want to modify the cutting speed V of a given process, move the cursor CSR forward /
Simply press the backward soft key to position the machine at a predetermined process, and then enter the cutting speed from the keyboard.

又、刃物台1の第5工程の「ねじ切り」を刃
物台2による「ねじ切り」と同時運転加工する
ように修正するには、カーソルCSRを第5工
程に位置させ、しかる後ソフトキー「刃物1ア
ツプ」を押圧すればよい(またはカーソルを第
4工程に位置させてソフトキー「刃物2ダウ
ン」を押圧してもよい)。
In addition, to modify the 5th process "thread cutting" of tool post 1 to be performed simultaneously with the "thread cutting" of tool post 2, position the cursor CSR on the 5th process, and then press the soft key "Knife 1". (or you may place the cursor on the fourth step and press the soft key "Knife 2 Down").

(i) 修正が不要であり、あるいは修正操作が完了
してNCプログラムの作成が要求されると、プ
ロセツサ11は刃物台1、刃物台2用の第1、
第2プログラムを作成する。
(i) If no correction is necessary or if the correction operation is completed and creation of an NC program is requested, the processor 11 executes the first
Create a second program.

尚、加工工程にバランスカツト工程が含まれ
ている場合には、第5図に示す流れに従つて仮
想バランスカツト工具を決定し、該仮想バラン
スカツト工具で加工するものとしてバランスカ
ツト工程のNCデータを作成する。ただし、第
5図の処理は第4図における工具形状データ入
力ステツプ(ステツプ(f))の後で行つてもよ
い。
In addition, if the machining process includes a balance cut process, a virtual balance cut tool is determined according to the flow shown in Fig. 5, and the NC data of the balance cut process is determined to be processed using the virtual balance cut tool. Create. However, the process in FIG. 5 may be performed after the tool shape data input step (step (f)) in FIG.

以下、仮想バランスカツト工具の決定処理を第
5図、第10図に従つて説明する。
Hereinafter, the process for determining the virtual balance cut tool will be explained with reference to FIGS. 5 and 10.

(1) 第1工具TL11、第2工具TL12の切刃角
ACi(i=1、2)と刃先角ANiを用いて、各
工具の主切刃ベクトルVMi、VSi(i=1、2)
を演算する(第10図A,B参照)。
(1) Cutting edge angle of first tool TL11 and second tool TL12
Using ACi (i=1, 2) and cutting edge angle ANi, the main cutting edge vectors V Mi and V Si (i=1, 2) of each tool
(see Fig. 10A and B).

(2) ついで、次式 VMi×VSi により、各工具の主切刃ベクトルVMiと副切刃
ベクトルVSi(i=1、2)の外積を演算し、そ
の演算結果の符号により主切刃ベクトルVMi
ら副切刃ベクトルVSiへの方向Wi(i=1、2)
を求める。尚、時計方向であれば負、反時計方
向であれば正となる。
(2) Next, calculate the cross product of the main cutting edge vector V Mi and the minor cutting edge vector V Si (i=1, 2) of each tool using the following formula V Mi ×V Si , and use the sign of the calculation result to determine the main cutting edge vector Direction W i from cutting edge vector V Mi to sub-cutting edge vector V Si (i=1, 2)
seek. Note that if it is clockwise, it is negative, and if it is counterclockwise, it is positive.

(3) 方向W1、W2が求まれば、これらの方向は等
しいか、いなかを判別する。
(3) Once the directions W 1 and W 2 are determined, it is determined whether these directions are equal or inside.

(4) W1≠W2であれば以下の(4−1)または
(4−2)の処理を行う。
(4) If W 1 ≠ W 2 , perform the following process (4-1) or (4-2).

(4‐1) …第1、第2工具TL11,TL12の切削
方向は逆でありバランスカツト工具として不
適当でありエラーとし、エラーメツセージ表
示等のアラームを出力する。
(4-1)...The cutting directions of the first and second tools TL11 and TL12 are reversed, making them unsuitable as balance cut tools, resulting in an error and outputting an alarm such as an error message.

(4‐2) …副切刃で切削しようとしている方の工具
の該副切刃と主切刃を一時的に反転させ、
VSiとVMi(i=1または2)を入れ替えるこ
とによりW1=W2とし、以後ステツプ(5)以降
の処理を実行し、バランスカツトを行えるよ
うにする。
(4-2) ...Temporarily reverse the minor cutting edge and the main cutting edge of the tool that is about to cut with the minor cutting edge,
By exchanging V Si and V Mi (i = 1 or 2), W 1 = W 2 , and the processes from step (5) onwards are executed to perform a balanced cut.

尚、(4−1)、(4−2)のいずれの処理
を実行するかはパラメータ指定によるものと
する。
It is assumed that which process (4-1) or (4-2) is executed depends on the parameter specification.

(5) 一方、W1=W2であれば、次式 VM1×VM2→VPM VS1×VS2→VPS によりVPM、VPSを求め、VPMの符号により主切
刃ベクトルVM1から主切刃ベクトルVM2への方
向を求め、VPSの符号により副切刃ベクトル
VS1から副切刃ベクトルVS2への方向を求める。
尚、符号が負であれば時計方向、正であれば反
時計方向である。
(5) On the other hand, if W 1 = W 2 , calculate V PM and V PS using the following formula V M1 ×V M2 →V PM V S1 × V S2 V PS , and calculate the main cutting edge vector by the sign of V PM . Find the direction from V M1 to the main cutting edge vector V M2 , and use the sign of V PS to determine the direction of the minor cutting edge vector.
Find the direction from V S1 to the minor cutting edge vector V S2 .
Note that if the sign is negative, the direction is clockwise, and if the sign is positive, the direction is counterclockwise.

(6) ついで、VPMが零か(主切刃ベクトルVM1
VM2が一致しているか)、あるいはVPMの符号
(主切刃ベクトルVM1から主刃切ベクトルVM2
の方向)がW1と一致しているかどうかをチエ
ツクする。
(6) Next, check whether V PM is zero (main cutting edge vector V M1 ,
Check whether V M2 matches) or whether the sign of V PM (direction from main cutting edge vector V M1 to main cutting vector V M2 ) matches W 1 .

(7) VPM=0あるいはVPMの符号=W1であれば主
切刃ベクトルVM1を仮想バランスカツト工具の
主切刃ベクトルとする。
(7) If V PM = 0 or the sign of V PM = W 1 , the main cutting edge vector V M1 is set as the main cutting edge vector of the virtual balance cut tool.

(8) 一方、VPMが0でなく、しかもその符号が
W1に一致していなければ主切刃ベクトルVM2
を仮想バランスカツト工具の主切刃ベクトルと
する。
(8) On the other hand, V PM is not 0 and its sign is
If it does not match W 1 , the main cutting edge vector V M2
Let be the main cutting edge vector of the virtual balance cut tool.

尚、第10図に示す例では主切刃ベクトル
VM2が仮想バランスカツト工具の主切刃ベクト
ルとみなされる。すなわち、第1、第2工具の
主切刃のうち切削方向に大きく傾斜している方
の主切刃を仮想バランスカツト工具の主切刃と
みなす。
In addition, in the example shown in Fig. 10, the main cutting edge vector
V M2 is considered as the main cutting edge vector of the virtual balance cut tool. That is, the main cutting edge of the first and second tools that is more inclined toward the cutting direction is regarded as the main cutting edge of the virtual balance cut tool.

(9) ついで、VPSが零か(副切刃ベクトルVS1
VS2が一致しているか)、あるいはVPSの符号
(副切刃ベクトルVS1から副切刃ベクトルVS2
の方向)がW1と不一致かどうかをチエツクす
る。
(9) Next, check whether V PS is zero (minor cutting edge vector V S1 ,
Check whether V S2 matches) or whether the sign of V PS (direction from the minor cutting edge vector V S1 to the minor cutting edge vector V S2 ) does not match W 1 .

(10) VPS=0あるいはVPSの符号≠W1であれば副
切刃ベクトルVS1を仮想バランスカツト工具の
主切刃ベクトルとする。
(10) If V PS =0 or the sign of V PS ≠W 1 , the minor cutting edge vector V S1 is set as the main cutting edge vector of the virtual balance cut tool.

(11) 一方、VPSが0でなく、しかもその符号がW1
に一致していれば副切刃ベクトルVS2を仮想バ
ランスカツト工具の副切刃ベクトルとする。
(11) On the other hand, V PS is not 0 and its sign is W 1
If it matches, the minor cutting edge vector V S2 is set as the minor cutting edge vector of the virtual balance cut tool.

尚、第10図に示す例では副切刃ベクトル
VS1が仮想バランスカツト工具の副切刃ベクト
ルとみなされる。すなわち、第1、第2工具の
副切刃のうち切削方向と逆方向に大きく傾斜し
ている方の副切刃を仮想バランスカツト工具の
副切刃とみなす。
In addition, in the example shown in Fig. 10, the minor cutting edge vector
V S1 is considered as the minor cutting edge vector of the virtual balance cut tool. That is, of the secondary cutting edges of the first and second tools, the secondary cutting edge that is more inclined in the direction opposite to the cutting direction is regarded as the secondary cutting edge of the virtual balance cut tool.

以上により、仮想バランスカツト工具の工具形
状を求めてから、該仮想バランスカツト工具がワ
ークと干渉しない工具通路を求め、該バランスカ
ツト工程のNCデータを作成する。
As described above, after determining the tool shape of the virtual balance cut tool, a tool path where the virtual balance cut tool does not interfere with the workpiece is determined, and NC data for the balance cut process is created.

第11図は、第9図に示す工程順序で加工を行
う場合の第1、第2NCプログラムNP1,NP2
の構成説明図である。
Figure 11 shows the first and second NC programs NP1 and NP2 when machining is performed in the process order shown in Figure 9.
FIG.

第1NCプログラムNP1において、 1aは刃物台1の第1加工工程である外径荒加
工の工具通路を特定するNCデータ部分、 1bは刃物台1の第2加工工程である外径仕上
げ加工の工具通路を特定するNCデータ部分、 1cは刃物台1の第3加工工程である溝切り加
工の工具通路を特定するNCデータ部分、 1dは刃物台1の第5加工工程であるねじ切り
加工の工具通路を特定するNCデータ部分であ
る。
In the first NC program NP1, 1a is the NC data part that specifies the tool path for outer diameter rough machining, which is the first machining process of tool post 1, and 1b is the tool for outer diameter finishing machining, which is the second machining process of tool post 1. NC data part that specifies the path, 1c is the NC data part that specifies the tool path for grooving, which is the third machining process of tool post 1, and 1d is the tool path for thread cutting, which is the fifth machining process of tool post 1. This is the NC data part that specifies the

又、第2NCプログラムNP2において、 2aは刃物台2のバランスカツト(外径荒加
工)の工具通路を特定するNCデータ部分、 2bは刃物台2のバランスカツト(外径仕上げ
加工)の工具通路を特定するNCデータ部分、 2cは刃物台2の第4加工工程であるねじ切り
加工の工具通路を特定するNCデータ部分であ
る。
In addition, in the second NC program NP2, 2a is the NC data part that specifies the tool path for balance cut (outside diameter rough machining) of tool post 2, and 2b is the NC data part that specifies the tool path for balance cut (outside diameter finishing machining) of tool post 2. The NC data section 2c is an NC data section that specifies the tool path for thread cutting, which is the fourth processing step of the tool post 2.

尚、各工程の工具通路は仕上げ形状、切削条件
等を用いて自動決定されてそのNCデータ部分1
a〜1d,2a〜2cが作成される。
The tool path for each process is automatically determined using the finished shape, cutting conditions, etc., and the NC data part 1
a to 1d and 2a to 2c are created.

又、第1、第2NCプログラムNP1,NP2に
おいて、 先頭の「01001」、「01002」はプログラム番号、 「G50X…Z…」は第3図の第8ステツプで入
力された機械原点とタレツト旋回位置から特定さ
れる座標系設定のNCデータ、 「G00 T…」のうち「G00」はG01〜G03が指
令される迄以後の通路データが位置決めであるこ
とを示すG機能命令、「T…」は第10ステツプで
入力された工具データにより特定される工具選択
のNCデータ、 「G96 S…M03」は主軸回転を特定するNCデ
ータ、 「G68」は以後の切削工程がバランスカツト工
程(バランスカツトモード)であることを示すG
機能命令、「G69」はバランスカツトモードキヤ
ンセルのG機能命令である。「G68」が一方のNC
プログラムで指令されると他方のNCプログラム
により「G68」が指令される迄パルス分配が停止
し、他方のNCプログラムにより「G68」が指令
された時点で両刃物台の切削送りにおけるパルス
分配が同期して開始され、これにより両刃物台は
全く同時に移動してバランスカツトが可能とな
る。従つて、第9図の例ではNCデータ部分1a
と2aとが同時に実行され、又NCデータ部分1
bと2bとが同時に実行される。
In addition, in the first and second NC programs NP1 and NP2, the first "01001" and "01002" are the program numbers, and "G50X...Z..." are the machine origin and turret rotation position input in step 8 in Figure 3. NC data for the coordinate system setting specified from "G00 T...", "G00" is a G function command indicating that the subsequent path data is positioning until G01 to G03 are commanded, "T..." is NC data for tool selection specified by the tool data input in the 10th step, "G96 S...M03" is NC data for specifying spindle rotation, "G68" indicates that the subsequent cutting process is a balance cut process (balance cut mode) )
The function command "G69" is the G function command for balance cut mode cancel. "G68" is one NC
When commanded by the program, pulse distribution will stop until "G68" is commanded by the other NC program, and when "G68" is commanded by the other NC program, the pulse distribution in the cutting feed of the double turret will be synchronized. As a result, both turrets move at the same time, making it possible to perform balanced cutting. Therefore, in the example of FIG. 9, the NC data part 1a
and 2a are executed simultaneously, and NC data part 1
b and 2b are executed simultaneously.

「M100」〜「M103」は待ち合わせ用のM機能
命令であり、たとえば一方のNCプログラムから
「M100」が指令されると他方のNCプログラムか
ら「M100」が指令する迄該一方のNCプログラ
ムによる制御が停止する。
"M100" to "M103" are M function commands for waiting. For example, when "M100" is commanded from one NC program, control is controlled by that one NC program until "M100" is commanded from the other NC program. stops.

尚、プロセツサ11(第2図)は、NCプログ
ラムの作成が要求されれば、仕上げ形状、切削条
件、工具データ等を用いて加工工程順に第1刃物
台を制御する第1のNCプログラムを作成すると
共に、バランスカツト工程を実行するNCデータ
の前にバランスカツトモードを示す「G68」を挿
入し、又該NCデータの後にバランスカツトモー
ドキヤンセルを示す「G69」を挿入する。しかる
後、プロセツサ11は同様に第2の刃物台を制御
する第2のNCプログラムを作成すると共に、バ
ランスカツト用NCデータ部分の前後に「G68」、
「G69」を挿入してNCプログラムの作成処理を終
了する。
If creation of an NC program is requested, the processor 11 (Fig. 2) creates a first NC program that controls the first turret in the order of machining steps using the finished shape, cutting conditions, tool data, etc. At the same time, "G68" indicating balance cut mode is inserted before the NC data for executing the balance cut process, and "G69" indicating balance cut mode cancellation is inserted after the NC data. After that, the processor 11 similarly creates a second NC program to control the second turret, and also writes "G68" before and after the balance cut NC data part.
Insert "G69" and finish the NC program creation process.

<発明の効果> 以上本発明によれば、バランスカツトに用いる
工具として特定された第1、第2工具の切刃角や
刃先角が互いに異なる場合であつても、バランス
カツト加工において第1、第2工具の刃先通路を
一致させ、かつワークに干渉しないようにNCデ
ータを作成するように構成したから、工具選択の
自由度が大きくなり、工具の特定が容易になり、
しかも刃物台に適当な工具が存在しないことによ
りバランスカツトができないという事態を減少さ
せることができる。
<Effects of the Invention> According to the present invention, even when the cutting edge angles and edge angles of the first and second tools specified as tools used for balance cutting are different from each other, the first and second tools are Since the NC data is created so that the cutting edge paths of the second tool match and do not interfere with the workpiece, the degree of freedom in tool selection is increased and tool identification becomes easier.
Furthermore, it is possible to reduce the number of situations in which balance cutting cannot be performed due to the absence of a suitable tool on the tool post.

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

第1図は本発明の概略説明図、第2図は本発明
を実現する自動プログラミング装置のブロツク
図、第3図は自動プログラミング処理の概略的な
流れ図、第4図及び第5図はバランスカツト工程
を含む本発明にかかるNCプログラム作成の処理
の流れ図、第6図は工具データ入力用の対話画面
例、第7図は工具形状データ入力用の対話画面
例、第8図及び第9図は工程編集画面説明図、第
10図は仮想バランスカツト工具の形状決定説明
図、第11図はバランスカツト工程を含む同時4
軸旋盤の第1、第2のNCプログラムの説明図、
第12図はバランスカツト説明図、第13図は工
具形状説明図、第14図は既提案済み方法の欠点
説明図である。 TL11〜TL12……外径加工用の工具、BT
11〜BT12……バイト(刃先)、MB11〜
MB12……各工具の主切刃、SB11〜SB12
……副切刃。
Figure 1 is a schematic explanatory diagram of the present invention, Figure 2 is a block diagram of an automatic programming device that implements the present invention, Figure 3 is a schematic flowchart of automatic programming processing, and Figures 4 and 5 are balance cuts. A flowchart of the process of creating an NC program according to the present invention including steps, FIG. 6 is an example of a dialog screen for inputting tool data, FIG. 7 is an example of a dialog screen for inputting tool shape data, and FIGS. 8 and 9 are An explanatory diagram of the process editing screen, Fig. 10 is an explanatory diagram of shape determination of a virtual balance cut tool, and Fig. 11 is a simultaneous four-step process including the balance cut process.
Explanatory diagram of the first and second NC programs of the axis lathe,
FIG. 12 is an explanatory diagram of balance cutting, FIG. 13 is an explanatory diagram of tool shape, and FIG. 14 is an explanatory diagram of drawbacks of already proposed methods. TL11~TL12...Tools for outside diameter machining, BT
11~BT12...Bite (cutting edge), MB11~
MB12...Main cutting edge of each tool, SB11~SB12
...Secondary cutting edge.

Claims (1)

【特許請求の範囲】 1 複数のデータ入力ステツプの各ステツプに応
じた対話画面をデイスプレイ装置に表示し、該各
対話画面を参照して仕上げ形状、加工工程、使用
工具等を特定するためのデータを入力し、該入力
されたデータを用いて4軸旋盤における第1、第
2の刃物台を制御するための第1、第2のNCプ
ログラムを作成するNCプログラム作成方法にお
いて、 バランスカツトに用いる第1、第2の刃物台に
おける工具の刃先形状が異なる場合、 第1の工具の主切刃と第2の工具の主切刃のう
ち切削方向側に大きく傾いている工具の主切刃を
仮想的なバランスカツト用工具の主切刃とみな
し、 第1の工具の副切刃と第2の工具の副切刃のう
ち切削方向と反対側に大きく傾いている工具の副
切刃を仮想的なバランスカツト用工具の副切刃と
みなし、 該仮想的なバランスカツト用工具でバランスカ
ツトするものとしてバランスカツト工程のNCデ
ータを作成することを特徴とする4軸旋盤のNC
プログラム作成方法。
[Claims] 1. Data for displaying a dialog screen corresponding to each step of a plurality of data input steps on a display device, and specifying a finished shape, machining process, tools used, etc. by referring to each dialog screen. In an NC program creation method, the input data is used to create first and second NC programs for controlling the first and second turrets in a 4-axis lathe. If the shapes of the cutting edges of the tools in the first and second tool rests are different, the main cutting edge of the first tool and the main cutting edge of the second tool, which is tilted more toward the cutting direction, should be The main cutting edge of a hypothetical balance cutting tool is considered as the main cutting edge, and the secondary cutting edge of the first tool and the second tool, which is tilted largely in the opposite direction to the cutting direction, is assumed to be the main cutting edge of the tool. NC of a 4-axis lathe, characterized in that the NC data of the balance cut process is created assuming that the auxiliary cutting edge of a virtual balance cut tool is used for balance cutting with the virtual balance cut tool.
How to create a program.
JP10034486A 1986-04-30 1986-04-30 Nc programming method for four axis lathe Granted JPS62255046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10034486A JPS62255046A (en) 1986-04-30 1986-04-30 Nc programming method for four axis lathe

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10034486A JPS62255046A (en) 1986-04-30 1986-04-30 Nc programming method for four axis lathe

Publications (2)

Publication Number Publication Date
JPS62255046A JPS62255046A (en) 1987-11-06
JPH0512097B2 true JPH0512097B2 (en) 1993-02-17

Family

ID=14271497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10034486A Granted JPS62255046A (en) 1986-04-30 1986-04-30 Nc programming method for four axis lathe

Country Status (1)

Country Link
JP (1) JPS62255046A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015083299A1 (en) 2013-12-02 2015-06-11 パナソニックIpマネジメント株式会社 Relay apparatus, cooperative system, delivery apparatus, processing method of relay apparatus, and program

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1236883C (en) * 2000-09-22 2006-01-18 时至准钟表股份有限公司 Numerical control lathe and method of processing products using the same
US9639079B2 (en) 2013-02-22 2017-05-02 Mitsubishi Electric Corporation Numerical control device and machining method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015083299A1 (en) 2013-12-02 2015-06-11 パナソニックIpマネジメント株式会社 Relay apparatus, cooperative system, delivery apparatus, processing method of relay apparatus, and program

Also Published As

Publication number Publication date
JPS62255046A (en) 1987-11-06

Similar Documents

Publication Publication Date Title
JPH0585301B2 (en)
US4723203A (en) Automatic machining process determination method in an automatic programming system
US7761183B2 (en) Methods and systems for producing numerical control program files for controlling machine tools
US5150305A (en) Numerical control system providing graphic machining simulation
US4794514A (en) NC program editing method for four-axis lathes
JPS6257852A (en) Automatic programming device
JPH028855B2 (en)
US4571670A (en) NC Programming Apparatus
JPH0611458B2 (en) Tool shape display device
KR910007258B1 (en) Nc data creation method
JPH0512097B2 (en)
JPS58175010A (en) Graphic display method of numerical controller for 4-axis lathe
JPH06119031A (en) NC data creation method for machining of uncut parts
JPH0160388B2 (en)
JPS62251044A (en) Nc program preparing method for four-spindle lathe
JPH11345013A (en) Method and device for generating tool route for nc working
JPH07185901A (en) Superposition processing control method and numerical control apparatus thereof
JP2606714B2 (en) Numerical control unit
JP3568173B2 (en) Switching method of coordinate data specification format in numerically controlled machine tools
JP3248081B2 (en) Automatic program creation device with automatic cutting axis change function
JPS63196906A (en) Programming device for lathe
JPH01300306A (en) Automatic programming method
JP2846320B2 (en) Interactive numerical controller
JPS60239807A (en) Automatic programming method
JPH0258052B2 (en)