JPH07185901A - Superposition processing control method and numerical control apparatus thereof - Google Patents
Superposition processing control method and numerical control apparatus thereofInfo
- Publication number
- JPH07185901A JPH07185901A JP33697493A JP33697493A JPH07185901A JP H07185901 A JPH07185901 A JP H07185901A JP 33697493 A JP33697493 A JP 33697493A JP 33697493 A JP33697493 A JP 33697493A JP H07185901 A JPH07185901 A JP H07185901A
- Authority
- JP
- Japan
- Prior art keywords
- axis
- machining
- spindle
- feed
- command
- 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
Landscapes
- Turning (AREA)
- Numerical Control (AREA)
Abstract
(57)【要約】
【目的】 重畳制御機能のない1系統制御の安価な数値
制御装置によって、同時加工を行うことができる同時加
工制御方法及び数値制御装置を提供すること。
【構成】 2つの主軸のワークWP1,WP2を同時に
加工するために、刃物台7のZ1軸及び第2主軸のZ2軸
の移動指令と、そのZ1軸及びZ2軸の移動速度から算出
される合成速度とを、加工プログラムの直線補間指令の
1ブロックで指令する。
(57) [Summary] [Object] To provide a simultaneous machining control method and a numerical control device capable of performing simultaneous machining by an inexpensive one-system control numerical control device having no superposition control function. [Structure] In order to machine the workpieces WP1 and WP2 of two spindles at the same time, from the movement command of the Z 1 axis of the tool post 7 and the Z 2 axis of the second spindle, and the movement speed of the Z 1 axis and Z 2 axis. The calculated synthetic speed is commanded by one block of the linear interpolation command of the machining program.
Description
【0001】[0001]
【産業上の利用分野】本発明は、複数個の主軸台に対応
して工具が用意されている1系統制御の数値制御装置に
関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a one-system control numerical control device in which tools are prepared for a plurality of headstocks.
【0002】[0002]
【従来の技術】従来、数値制御旋盤は(ここでは、本発
明の実施例と基本的構成が同じなので図1及び図2を参
照しながら説明する)、ベッド1を有しており、ベッド
1上には第1主軸台2が固設されており、第1主軸台2
には第1主軸3が回転駆動自在に設けられている。2. Description of the Related Art Conventionally, a numerically controlled lathe (which has the same basic structure as that of the embodiment of the present invention, will be described with reference to FIGS. 1 and 2) has a bed 1 and a bed 1. A first headstock 2 is fixedly mounted on the top of the first headstock 2.
A first main spindle 3 is rotatably driven.
【0003】又、ベッド1上には第2主軸台4が第1主
軸台2に対して接近離反する形で、主軸軸心方向に移動
駆動自在(Z2 軸とする)に設けられており、第2主軸
台4には第2主軸5が第1主軸3と軸心を整合させた形
で、回転駆動自在に設けられている。A second headstock 4 is provided on the bed 1 so as to move toward and away from the first headstock 2 in such a manner that it can be moved and driven in the direction of the main shaft axis (referred to as Z 2 axis). A second spindle 5 is provided on the second spindle stock 4 such that the second spindle 5 is rotatably driven in a form in which the shaft center is aligned with the first spindle 3.
【0004】更にベッド1上には刃物台6が主軸軸心方
向(Z1 軸とする)及び主軸軸心方向に垂直な方向(X
軸とする)に移動駆動自在に設けられている。そして、
刃物台6にはタレット7が主軸軸線に垂直な平面内で回
転駆動自在に設けられており、タレット7上にはバイト
やドリル等の複数の工具T1,T2…が第1主軸3又は
第2主軸5に対応する形で設けられている。Further, a tool rest 6 is provided on the bed 1 in the direction of the main axis (Z 1 axis) and in the direction perpendicular to the main axis (X 1).
It is provided so as to be movable and driven. And
A turret 7 is rotatably driven on a turret 6 in a plane perpendicular to the spindle axis, and a plurality of tools T1, T2, ... It is provided in a form corresponding to the main shaft 5.
【0005】図2は、数値制御旋盤の制御装置の構成を
示すブロック図である。10は制御プログラムメモリ1
1に格納されたプログラムに従って制御装置全体を制御
するプロセッサである。制御プログラムメモリ11は、
複数の加工プログラムを重畳に処理可能な複数系統制御
機能と、重畳制御機能とを搭載することが可能である。
12は演算途中の各種データや入出力信号等が格納され
る制御データメモリ、13は加工プログラムを記憶する
加工プログラム記憶手段等のユーザが入力するデータの
記憶手段であるユーザメモリ、14は加工プログラム等
を表示する加工プログラム表示手段等のCRT、15は
プロセッサ10からの出力信号を表示用の信号に変換し
てCRT14に送るインターフェイス、16は情報を入
力するためのキーボード、17はキーボード16からの
入力信号をプロセッサ10へ出力するキーボードインタ
ーフェイス、18はプロセッサ10から軸の移動指令を
受けて、軸を移動させる指令をサーボアンプ19に出力
する軸制御回路、19はこの移動指令を受けて、工作機
械(数値制御旋盤)21のサーボモータを駆動するサー
ボアンプ、20はプロセッサ10からの出力信号を受
け、この信号を処理して工作機械21を制御し、又工作
機械21から状態信号を受けて、プロセッサ10に必要
な信号を転送するPMCである。以上の各構成要素はバ
スライン22により互いに結合されている。FIG. 2 is a block diagram showing the configuration of a control device for a numerically controlled lathe. 10 is a control program memory 1
1 is a processor that controls the entire control device according to a program stored in 1. The control program memory 11 is
It is possible to mount a multiple system control function capable of superposing a plurality of machining programs and a superposition control function.
Reference numeral 12 is a control data memory that stores various data during processing, input / output signals, and the like, 13 is a user memory that is a storage unit for user input data, such as a machining program storage unit that stores a machining program, and 14 is a machining program. CRT such as a machining program displaying means for displaying, etc., 15 is an interface for converting an output signal from the processor 10 into a signal for display and sending it to the CRT 14, 16 is a keyboard for inputting information, 17 is a keyboard 16 A keyboard interface that outputs an input signal to the processor 10, 18 receives an axis movement command from the processor 10, and outputs an axis movement instruction to a servo amplifier 19, and an axis control circuit 19 receives the movement instruction to perform machining. Servo amplifier for driving the servomotor of machine (numerical control lathe) 21, 20 Receiving the output signal from processor 10, it processes the signal and controls the machine tool 21, also receives a state signal from the machine tool 21, a PMC for transferring a signal needed for the processor 10. The above components are connected to each other by a bus line 22.
【0006】以上のような数値制御旋盤によってワーク
WPの加工を行う際には、プロセッサ10はユーザメモ
リ13から加工プログラムを読み出し、その加工プログ
ラムの内容を解析し、軸制御回路18やPMC20に指
令を出力して工作機械21を動作させる。When the workpiece WP is machined by the above numerically controlled lathe, the processor 10 reads the machining program from the user memory 13, analyzes the contents of the machining program, and instructs the axis control circuit 18 and the PMC 20. Is output to operate the machine tool 21.
【0007】図1に示すような対向した第1主軸3と第
2主軸5、及び刃物台6とを有する数値制御旋盤におい
ては、1つの加工プログラムの指令に従って、第1主軸
3においてワークWPを保持した状態で刃物台6を駆動
制御してワークWPの片方の加工(第1工程)を行い、
次にワークWPを第1主軸3から第2主軸5へ受け渡し
て、第2主軸5においてワークWPを保持した状態(2
点鎖線で示す)で第2主軸5と刃物台6とを駆動制御し
てワークWPの他方の加工(第2工程)を行うという1
系統制御を行っている。In a numerically controlled lathe having a first spindle 3, a second spindle 5, and a tool rest 6 facing each other as shown in FIG. 1, a workpiece WP is loaded on the first spindle 3 in accordance with a command of one machining program. The tool rest 6 is driven and controlled while being held, and one side of the work WP is processed (first step),
Next, the work WP is transferred from the first spindle 3 to the second spindle 5, and the work WP is held on the second spindle 5 (2
The second spindle 5 and the tool rest 6 are drive-controlled by the dashed line) to perform the other machining (second step) of the work WP 1.
System control is performed.
【0008】このとき、上記第1工程と第2工程の重畳
加工を行う場合は、第1工程の加工を行う刃物台6の移
動に合わせて第2主軸5を移動させ(第2主軸5と刃物
台6とが相対的に移動していない状態)、その上に第2
工程の加工を行うための移動を第2主軸5にさせる必要
がある。つまり、第2主軸5の移動は第2工程の加工を
行うための移動と刃物台6の移動を加えたものとなる。
このような加工のことを以後重畳加工と呼ぶ。重畳加工
は第1工程と第2工程のそれぞれの加工のための移動指
令や送り速度指令を同時に指令しなければならないので
1系統制御では加工できず、制御プログラムメモリ11
に複数の加工プログラムを重畳に処理可能な複数系統制
御機能と、重畳制御機能とを搭載して、第1工程と第2
工程の加工プログラムを重畳制御機能を利用して同時に
実行して加工を行っていた。At this time, in the case where the first and second steps are overlapped, the second spindle 5 is moved in accordance with the movement of the tool rest 6 for performing the first step (the second spindle 5 and The state where the turret 6 is not relatively moved), and the second
It is necessary to move the second spindle 5 to perform the process of the process. That is, the movement of the second main spindle 5 is the movement for performing the machining in the second step and the movement of the tool rest 6 in addition.
Such processing is hereinafter referred to as superposition processing. In the superposition machining, since the movement command and the feed speed command for each of the first process and the second process must be instructed at the same time, the machining cannot be performed by the single system control, and the control program memory 11
Is equipped with a multi-system control function capable of superimposing a plurality of machining programs and a superposition control function, and the first step and the second step
Machining was performed by simultaneously executing the machining program of the process using the superposition control function.
【0009】[0009]
【発明が解決しようとする課題】しかしながら、上記の
1系統制御の数値制御装置は安価であるが重畳加工がで
きず、又、複数系統制御機能や重畳制御機能を有する数
値制御装置は同時加工は出来るがそのためにこのような
高価な機能を搭載する必要があるという課題があった。However, although the above-described numerical control device for one-system control is inexpensive, it is not possible to perform superposition processing, and a numerical control device having a multi-system control function or a superposition control function cannot perform simultaneous processing. However, there is a problem that it is necessary to mount such an expensive function for that purpose.
【0010】本発明は、従来の数値制御装置のこのよう
な課題を考慮し、重畳制御機能を有さない1系統制御の
安価な数値制御装置によって、重畳加工を行うことがで
きる重畳加工制御方法及び数値制御装置を提供すること
を目的とするものである。In consideration of such problems of the conventional numerical control apparatus, the present invention is a superposition processing control method capable of performing superposition processing by an inexpensive one-system control numerical control apparatus having no superposition control function. And a numerical controller.
【0011】[0011]
【課題を解決するための手段】請求項1の本発明は、1
系統制御で制御される工作機械の重畳加工制御方法であ
って、指令された送り合成速度を各軸の移動量の比に合
わせて各軸の送り速度に分配する分配指令と、第1主軸
に保持されたワークを加工するための少なくとも1つの
軸の移動指令と、第2主軸に保持されたワークを加工す
るための少なくとも1つの別の軸の移動指令と、それら
各軸の送り速度から、所定の送り速度合成規則により算
出される送り合成速度とを、加工プログラムの1ブロッ
クで指令する重畳加工制御方法である。The present invention according to claim 1 is as follows.
A superposition machining control method for a machine tool controlled by system control, in which a command to distribute the commanded feed composite speed to the feed speed of each axis according to the ratio of the movement amount of each axis and a command to the first spindle. From the movement command of at least one axis for machining the held work, the movement command of at least one other axis for machining the work held by the second spindle, and the feed rate of each of these axes, This is a superposition machining control method in which a feed composition speed calculated according to a predetermined feed composition rule is commanded in one block of a machining program.
【0012】請求項2の本発明は、1系統制御で制御さ
れる工作機械の数値制御装置において、第1主軸に保持
されたワークを加工するための加工プログラムを記憶す
る加工プログラム記憶手段と、第1主軸に保持されたワ
ークを加工するための少なくとも1つの軸の送り速度、
及び第2主軸に保持されたワークを加工するための少な
くとも1つの別の軸の送り速度から、所定の送り速度合
成規則により送り合成速度を算出する送り合成速度演算
手段と、その算出された送り合成速度と、第1主軸に保
持されたワークを加工するための少なくとも1つの軸の
移動指令と、第2主軸に保持されたワークを加工するた
めの少なくとも1つの別の軸の移動指令と、指令された
送り合成速度を各軸の移動量の比に合わせて各軸の送り
速度に分配する分配指令とを、1ブロックで指令するよ
うに、記憶された加工プログラムを編集するプログラム
編集手段とを、備えた数値制御装置である。According to a second aspect of the present invention, in a numerical control device for a machine tool controlled by one-system control, a machining program storage means for storing a machining program for machining a workpiece held on a first spindle, A feed rate of at least one axis for machining a workpiece held on the first spindle,
And feed composition speed calculating means for calculating the feed composition speed according to a predetermined feed rate composition rule from the feed rate of at least one other axis for machining the workpiece held on the second spindle, and the calculated feed. A combination speed, a movement command of at least one axis for machining a work held by the first spindle, and a movement command of at least another axis for machining a work held by the second spindle, Program editing means for editing the stored machining program so that the commanded feed composite speed is distributed to the feed speed of each axis in accordance with the ratio of the movement amount of each axis in one block. Is a numerical controller equipped with.
【0013】[0013]
【作用】本発明は、指令された送り速度を各軸の移動量
の比に合わせて各軸の送り速度に分配する分配指令と、
第1主軸に保持されたワークを加工するための少なくと
も1つの軸の移動指令と、第2主軸に保持されたワーク
を加工するための少なくとも1つの別の軸の移動指令
と、それら各軸の送り速度から算出される送り合成速度
とを、1ブロックで指令し、第1主軸に保持されたワー
クと第2主軸に保持されたワークとを重畳加工する。According to the present invention, a distribution command for distributing the commanded feed speed to the feed speed of each axis in accordance with the ratio of the movement amount of each axis,
A movement command of at least one axis for machining the work held by the first spindle, a movement command of at least one other axis for machining the work held by the second spindle, and a movement command of each of those axes. The feed composite speed calculated from the feed speed is commanded in one block, and the work held by the first spindle and the work held by the second spindle are superposed.
【0014】[0014]
【実施例】以下に、本発明をその実施例を示す図面に基
づいて説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings showing its embodiments.
【0015】図1は、本発明にかかる一実施例の数値制
御装置を備えた数値制御旋盤の略示構成図である。又、
図2は、その数値制御装置のブロック図である。ここ
で、図2の制御プログラムメモリ11には1つのワーク
WPを加工するための加工プログラムを、2つのワーク
を重畳に加工できるように編集する編集手段等が記憶さ
れている。また、プロセッサ10、制御プログラムメモ
リ11及び、制御データメモリ12等が、合成速度演算
手段、及びプログラム編集手段を構成し、ユーザメモリ
13が、加工プログラム記憶手段を構成している(構成
について、従来例における説明と重複する箇所は説明を
省略する)。このような数値制御旋盤において、両主軸
3,5にそれぞれワークWP1,WP2を取り付けて
(図3(a)参照)、刃物台6によりこれらのワークW
P1,WP2を重畳に加工しようとする場合、例えば、
タレット7の正面、背面に主軸軸線方向に同軸になるよ
うにドリルT1,T2を固定し、図3(a)から図3
(b)のようにワークWP1,WP2に重畳に同一のド
リル加工を行う場合、Z1軸(刃物台6)の移動量が7
0.0mm ならば、Z2軸(第2主軸5)のZ1軸に対す
る相対的な移動量も70.0mm必要であるので、Z2軸
の移動量は、FIG. 1 is a schematic configuration diagram of a numerically controlled lathe equipped with a numerical controller according to an embodiment of the present invention. or,
FIG. 2 is a block diagram of the numerical control device. Here, the control program memory 11 of FIG. 2 stores an editing means for editing a machining program for machining one work WP so that two works can be superposed. Further, the processor 10, the control program memory 11, the control data memory 12 and the like constitute a combination speed calculation means and a program editing means, and the user memory 13 constitutes a machining program storage means (for the configuration, The description that is the same as the description in the example is omitted). In such a numerically controlled lathe, workpieces WP1 and WP2 are attached to both spindles 3 and 5 (see FIG. 3 (a)), and these workpieces W are moved by the tool rest 6.
When processing P1 and WP2 in a superimposed manner, for example,
The front and rear surfaces of the turret 7 are fixed with the drills T1 and T2 so as to be coaxial with each other in the direction of the spindle axis.
When performing the same drilling process on the workpieces WP1 and WP2 as shown in (b), the movement amount of the Z 1 axis (turret 6) is 7
If 0.0 mm, the relative movement amount of the Z 2 axis (second main spindle 5) with respect to the Z 1 axis also needs to be 70.0 mm, so the movement amount of the Z 2 axis is
【0016】[0016]
【数1】(Z2軸移動量) =(Z1軸移動量)+(Z2軸のZ1軸に対する相対的移
動量) =70.0+70.0 =140.0mm のように、Z1軸の移動量にZ2 軸のZ1軸に対する相対
的移動量を加算した値となる。[Number 1] (Z 2 axial movement amount) = (Z 1 axis movement amount) + (relative movement amount with respect to Z 1 axis Z 2 axes) = 70.0 + 70.0 = as in 140.0Mm, Z 1 It is a value obtained by adding the relative movement amount of the Z 2 axis to the Z 1 axis to the movement amount of the axis.
【0017】又、第1主軸3と第2主軸5の回転数を同
一とし、Z1軸の送り速度を1.0mm/revとすると、Z1
軸が70.0mm移動する間にZ2軸は140.0mm移動
しなければならないので、Z2軸の送り速度は、If the first spindle 3 and the second spindle 5 have the same rotational speed and the Z 1 -axis feed rate is 1.0 mm / rev, Z 1
Since the axis Z 2 axes while moving 70.0mm must move 140.0Mm, feed speed of the Z 2 axes,
【0018】[0018]
【数2】(Z2軸送り速度) =(Z2軸移動量)/(Z1軸移動量)×(Z1軸送り速
度) =140.0/70.0×1.0 =2.0mm/rev のように、Z2 軸の移動量がZ1軸の移動量の何倍かを
求め、Z1軸の送り速度にその倍率を掛けた値でなけれ
ばならない。[Formula 2] (Z 2 -axis feed rate) = (Z 2 -axis movement amount) / (Z 1 -axis movement amount) x (Z 1 -axis feed rate) = 140.0 / 70.0 x 1.0 = 2. Like 0 mm / rev, it must be a value obtained by multiplying the Z 2 -axis movement amount by the Z 1 -axis movement amount and multiplying the Z 1 -axis feed rate by the multiplication rate.
【0019】これらの重畳移動を1系統制御で行うため
には加工プログラムにおいてZ1 軸の移動指令と送り速
度指令に加えて、Z2 軸の移動指令と送り速度指令も1
ブロック内で指令しなければならないが、1ブロック内
では送り速度は1つしか指令できない。In order to perform these superimposed movements by one-system control, in addition to the Z 1 -axis movement command and the feed speed command in the machining program, the Z 2 -axis movement command and the feed speed command are also set to 1.
Although it must be commanded within a block, only one feed rate can be commanded within one block.
【0020】ところが、数値制御装置の直線補間機能に
は次のような特徴がある。However, the linear interpolation function of the numerical controller has the following features.
【0021】例えば、図5に示すようにX軸とZ1 軸と
の直交座標系において、工具刃先8がX0、Z10(X
軸原点及びZ1軸原点)の位置にある時、刃物台6を移
動させて工具刃先8をX−50.0mm、Z1−100.
0mm の位置に、主軸が1回転する間に1.0mm進む速
さで斜めに移動させる場合は、加工プログラムにおい
て、G1 X−50.0 Z1−100.0 F1.
0;というブロックを指令すればよい。上記指令に於い
て、G1は指令された送り速度で直線移動するための指
令、X−50.0、Z1−100.0 は工具刃先8をX
軸上の−50.0mmの位置、Z1軸上の−100.0mm
の位置に移動させる指令、F1.0は送り速度の指令で
ある。For example, as shown in FIG. 5, in the orthogonal coordinate system of the X axis and the Z 1 axis, the tool cutting edge 8 is X 0, Z 10 (X
When in the position of the axis origin and Z 1 axis origin), by moving the tool rest 6 tool edge 8 X-50.0 mm, Z 1 -100.
The 0mm position, when the spindle moves obliquely 1.0mm proceeds speed during one rotation, in a machining program, G1 X-50.0 Z 1 -100.0 F1.
It is sufficient to instruct a block called 0 ;. In the above command, G1 is a command for linear movement at a feeding speed instructed, X-50.0, Z 1 -100.0 is the tool nose 8 X
Position of -50.0mm on the axis, -100.0Mm on Z 1 axis
Is a command to move the position to F, and F1.0 is a command for the feed rate.
【0022】このとき、数値制御装置はG1のブロック
に指令された各軸を直交座標軸とみなし、各軸の移動量
の比に合わせて、指令された送り速度を各軸の送り速度
に分配する直線補間演算を行うという特徴がある。従っ
て図5の場合は、下記のように、斜めに移動する送り速
度1.0mm/rev をZ1軸とX軸の送り速度に分配する直
線補間演算を行う。At this time, the numerical controller regards each axis commanded to the G1 block as an orthogonal coordinate axis, and distributes the commanded feed speed to the feed speed of each axis in accordance with the ratio of the movement amount of each axis. The feature is that linear interpolation calculation is performed. Therefore, in the case of FIG. 5, linear interpolation calculation is performed to distribute the diagonally moving feed rate of 1.0 mm / rev to the feed rates of the Z 1 axis and the X axis as described below.
【0023】[0023]
【数3】(斜め移動量)=√((Z1軸移動量)2+(X
軸移動量)2) =√(100.02+50.02) =111.803398874…mm 又、 (Z1軸送り速度):(指令送り速度)=(Z1軸移動
量):(斜め移動量) (X軸送り速度):(指令送り速度)=(X軸移動
量):(斜め移動量) 従って、 (Z1軸送り速度):1.0=100.0:111.8
03398874… (X軸送り速度):1.0=50.0:111.803
398874… より、各軸の送り速度は、 (Z1軸送り速度)=0.894427191007…m
m/rev (X軸送り速度)=0.447213595503…mm
/rev となる。数値制御装置は各軸がこの分配された送り速度
になるように工作機械21のサーボモータを駆動する制
御を行う。[Formula 3] (diagonal movement amount) = √ ((Z1 axis movement amount) 2 + (X
Axial movement amount) 2 ) = √ (100.0 2 +50.0 2 ) = 111.803398874 ... mm Also, (Z 1 axis feed rate): (command feed rate) = (Z 1 axis movement amount): (oblique) Movement amount) (X-axis feed rate): (command feed rate) = (X-axis movement amount): (diagonal movement amount) Therefore, (Z 1 -axis feed rate): 1.0 = 100.0: 111.8
0339874 ... (X-axis feed rate): 1.0 = 50.0: 111.803
From 398874 ..., the feed rate of each axis is (Z 1 axis feed rate) = 0.894427191007 ... m
m / rev (X-axis feed speed) = 0.4472135595503 ... mm
It becomes / rev. The numerical control device controls the servomotor of the machine tool 21 so that each axis has the distributed feed speed.
【0024】この様な特徴に着目して、1ブロック内に
複数の送り速度を指令したい場合は、それらを合成した
送り速度を指令すればよい。従って、前述した図3の例
においては直線補間演算の結果が、 (Z1軸送り速度)=1.0mm/rev (Z2軸送り速度)=2.0mm/rev となるような送り速度を逆算し、Z1軸とZ2軸の移動指
令と逆算した送り速度とをG1のブロックに指令すれば
よい。従って指令する送り速度は、(数4)に示す所定
の送り速度合成規則により、Focusing on such a feature, when it is desired to instruct a plurality of feed rates in one block, it is sufficient to instruct a combined feed rate. Therefore, in the example of FIG. 3 described above, the feed rate such that the result of the linear interpolation calculation is (Z 1 axis feed rate) = 1.0 mm / rev (Z 2 axis feed rate) = 2.0 mm / rev It suffices to back-calculate, and to command the movement command of the Z 1 -axis and Z 2 -axis and the backward-calculated feed speed to the G1 block. Therefore, the commanded feed rate is calculated by the prescribed feed rate composition rule shown in (Equation 4).
【0025】[0025]
【数4】(指令送り速度)=√((Z1軸送り速度)2+
(Z2軸送り速度)2) =√(1.02+2.02) =2.23606797749…mm/rev のように、Z1軸の送り速度とZ2軸の送り速度とを合成
して求める。[Formula 4] (command feed speed) = √ ((Z 1- axis feed speed) 2 +
(Z 2 -axis feed rate) 2 ) = √ (1.0 2 +2.0 2 ) = 2.23606797749 ... mm / rev, the feed rate of the Z 1 -axis and the feed rate of the Z 2 -axis are combined. Ask for.
【0026】Z1軸とZ2軸の移動量はそれぞれ70.0
mmと140.0mmであるので、それぞれの軸のインクリ
メンタル指令をWとHで行うとすると、 G1 W−70.0 H−140.0 F2.236
1;というブロックを指令すれば良い。この指令が実行
されると刃物台6が第1主軸3側に70.0mm移動し、
その間に第2主軸5も第1主軸3側に140.0mm移動
する。従って、刃物台6と第2主軸5との相対的な移動
量は70.0mmとなり、刃物台6の第1主軸3側への移
動量と同じになり、ワークWP1,WP2に同じドリル
加工を行うことができる。The moving amounts of the Z 1 axis and the Z 2 axis are 70.0 each.
mm and 140.0 mm, so if the incremental command for each axis is to be W and H, G1 W-70.0 H-140.0 F2.236
It suffices to command the block 1 ;. When this command is executed, the tool rest 6 moves 70.0 mm toward the first spindle 3 side,
Meanwhile, the second main spindle 5 also moves 140.0 mm toward the first main spindle 3. Therefore, the relative amount of movement of the tool rest 6 and the second main spindle 5 is 70.0 mm, which is the same as the amount of movement of the tool post 6 toward the first main spindle 3 side, and the same drilling is performed on the works WP1 and WP2. It can be carried out.
【0027】他の例として、図4に示すように第2主軸
5側の刃物台6に対する相対的な移動量を第1主軸3側
の半分にする場合、Z1軸の移動量は70.0mm なの
で、(数1)よりZ2軸の移動量は、 (Z2軸移動量)=70.0+35.0 =105.0mm 又、Z1軸の送り速度を図3と同様に1.0mm/revとす
ると、(数2)よりZ2軸の送り速度は、 (Z2軸送り速度)=105.0/70.0×1.0 =1.5mm/rev となり、(数4)より指令する送り速度は、 (指令送り速度)=√(1.02+1.52) =1.80277563773…mm/rev となる。従って、 G1 W−70.0 H−105.0 F1.802
8; というブロックを指令すれば、第2主軸5側の刃物台6
に対する相対的な移動量を第1主軸3側の移動量の半分
にした重畳加工が可能となる。As another example, as shown in FIG. 4, when the relative movement amount of the second spindle 5 side with respect to the tool rest 6 is halved on the first spindle 3 side, the movement amount of the Z 1 axis is 70. 0mm so, the amount of movement of Z 2 axes from (Equation 1) is, (Z 2 axial movement amount) = 70.0 + 35.0 = 105.0mm Further, 1.0 mm feed rate of Z 1 axis similarly to FIG. 3 Assuming / rev, the Z 2 axis feed rate from (Equation 2) is (Z 2 axis feed rate) = 105.0 / 70.0 × 1.0 = 1.5 mm / rev, and from (Equation 4) The commanded feed speed is (command feed speed) = √ (1.0 2 +1.5 2 ) = 1.8022775363773 ... mm / rev. Therefore, G1 W-70.0 H-105.0 F1.802
8; if you order the block, the tool post 6 on the second spindle 5 side
It is possible to perform superposition processing in which the amount of movement relative to is half the amount of movement on the first spindle 3 side.
【0028】次に、上記のような演算を自動的に行って
加工プログラムを自動編集する数値制御装置について、
図面を参照しながら説明する。Next, regarding the numerical control device for automatically editing the machining program by automatically performing the above-mentioned calculation,
A description will be given with reference to the drawings.
【0029】図6は、上記実施例の数値制御装置におけ
る第1主軸3側ワークWP1の加工プログラムを、上記
のような重畳加工プログラムに自動編集する流れを表す
フローチャートである。又、図7(a)は、図3(a)
における状態から、第1主軸3側のワークWP1のみの
加工を行い、加工終了後のX軸原点復帰までの加工を表
した加工プログラムの一部、図7(b)は、その加工プ
ログラムを自動編集して図3における第2主軸5側のワ
ークWP2も重畳加工できるようにしたものである。FIG. 6 is a flow chart showing the flow of automatically editing the machining program of the workpiece WP1 on the first spindle 3 side in the numerical control apparatus of the above embodiment into the above-mentioned superposition machining program. In addition, FIG. 7 (a) is shown in FIG. 3 (a).
From the state in Fig. 7, a part of the machining program that processes only the workpiece WP1 on the first spindle 3 side and returns to the X-axis origin return after the machining is completed. Fig. 7 (b) shows the machining program automatically. The work WP2 on the side of the second spindle 5 in FIG. 3 is edited so that the work can be superposed.
【0030】図6において、まず、加工プログラムを編
集する画面において、重畳加工における第1主軸3側の
ワークWP1に対する加工プログラムを作成する、或い
は、既に作成済みならばその加工プログラムを呼び出す
(ステップS1)。In FIG. 6, first, on the screen for editing the machining program, a machining program for the workpiece WP1 on the first spindle 3 side in the overlapping machining is created, or if already created, the machining program is called (step S1). ).
【0031】次に、その加工プログラムを重畳加工プロ
グラムに自動編集することを指令する編集スイッチを押
すと(ステップS2)、編集範囲を指定せよというメッ
セージが画面に表示される。そこで、加工プログラムの
編集開始ブロックにカーソルを移動して開始位置スイッ
チを押し、続いて編集終了ブロックにカーソルを移動し
て終了位置スイッチを押して重畳加工したいブロックの
範囲を指定する(ステップS3)。例えば、図7(a)
において、ブロック(1)〜(3)を編集範囲に指定す
る。Next, when the edit switch for instructing the machining program to automatically edit the machining program is pressed (step S2), a message for designating the editing range is displayed on the screen. Therefore, the cursor is moved to the edit start block of the machining program and the start position switch is pressed, then the cursor is moved to the edit end block and the end position switch is pressed to specify the range of the block to be superimposed processed (step S3). For example, FIG.
In, the blocks (1) to (3) are designated as the editing range.
【0032】編集範囲が指定されると続いて、第1主軸
3側の移動量と第2主軸5側の移動量との比を入力せよ
というメッセージが画面に表示されるので、Z1 軸の移
動量を1とした場合のZ2軸のZ1軸に対する相対的移動
量の比を入力する(ステップS4)。例えば図3に示す
ように、Z1軸の移動量とZ2軸のZ1 軸に対する相対的
移動量とが同じであれば、その比は1:1であるので1
を入力する。又、図4に示すようにZ1軸の移動量とZ2
軸のZ1 軸に対する相対的移動量との比が2:1であれ
ば、0.5を入力する。[0032] Following the editing range is specified, the message requesting the input of a ratio of the first movement amount of the spindle 3 side and the amount of movement of the second main shaft 5 side is displayed on the screen, the Z 1 axis When the movement amount is 1, the ratio of the relative movement amount of the Z 2 axis to the Z 1 axis is input (step S4). For example, as shown in FIG. 3, if the same relative movement amount with respect to Z 1 axis movement and Z 2 axes Z 1 axis, the ratio is 1: Since 1 1
Enter. Further, the amount of movement of the Z 1 axis as shown in FIG. 4 and Z 2
If the ratio of the relative movement amount of the axis to the Z 1 axis is 2: 1, enter 0.5.
【0033】その後、実行スイッチを押すと自動編集が
開始され、又、編集範囲やワーク寸法比率の入力をやり
直したい場合は、戻りスイッチを押すとステップS2の
処理へ戻る(ステップS5)。After that, when the execution switch is pressed, automatic editing is started, and when it is desired to re-input the editing range and the work size ratio, the return switch is pressed to return to the processing of step S2 (step S5).
【0034】ステップS5の処理において、実行スイッ
チが押されると以下の処理が開始される。In the process of step S5, when the execution switch is pressed, the following process is started.
【0035】まず、指定された編集範囲において、編集
開始ブロックから順にZ1 軸の移動指令があるブロック
を検索し(ステップS6)、無ければ処理を終了し、逆
に見つかればそのブロックがG0(各軸が最大の送り速
度で移動する指令)ブロックかG1ブロックかを判断す
る(ステップS7)。図7(a)ではブロック(1)に
Z1 軸の移動指令(W−70.0)があるので、ステッ
プS6からステップS7の処理へ進み、ブロック(1)
はG1ブロックなので、続いてステップS7からステッ
プS8の処理へ進む。First, in the designated edit range, a block having a Z 1 -axis movement command is searched in order from the edit start block (step S6). If there is no block, the process is terminated. It is determined whether each axis is a command block for moving at the maximum feed speed) block or G1 block (step S7). In FIG. 7A, since there is a Z 1 -axis movement command (W-70.0) in block (1), the process proceeds from step S6 to step S7, and block (1)
Is a G1 block, the process proceeds from step S7 to step S8.
【0036】ステップS7の処理において、そのブロッ
クがG1ブロックの場合、そのブロックの送り速度を記
憶する(ステップS8)。図7(a)のブロック(1)
にはF1.0と指令されているのでこれを記憶するが、
そのブロックに送り速度の指令がない場合、直前に指令
された送り速度の指令を検索し、それを記憶する。但
し、直前に指令された送り速度が既に重畳加工用に変更
された指令である場合は、その変更前の送り速度を記憶
する。次にZ1 軸の送り速度と移動量とを求める(ステ
ップS9)。図7(a)のブロック(1)では、Z1 軸
の移動指令しかないので、指令された送り速度が、その
ままZ1 軸の送り速度となり、又、Z1 軸の移動指令が
インクリメンタル指令であるので、その指令がそのまま
Z1 軸の移動量となる。しかし、そのブロックにZ1 軸
以外の軸の移動指令がある場合は、指令された送り速度
からZ1 軸に分配されたZ1 軸の送り速度を演算しZ1
軸の送り速度を求める。又、Z1 軸の移動指令がアブソ
リュート指令(移動終点位置指令)である場合は、直前
に指令されたZ1 軸の移動指令による直前のZ1 軸の終
点位置と、このアブソリュート指令との差を演算しZ1
軸の移動量を求める。If the block is the G1 block in the process of step S7, the feed speed of the block is stored (step S8). Block (1) of FIG. 7 (a)
Is memorized because it is commanded to be F1.0.
If the block has no feed rate command, the immediately preceding command for the feed rate is retrieved and stored. However, when the feed speed commanded immediately before is a command that has already been changed for superposition processing, the feed speed before the change is stored. Next, the feed rate and the movement amount of the Z 1 axis are obtained (step S9). In block (1) of FIG. 7 (a), since there is only a Z 1 axis movement command, the commanded feed speed becomes the Z 1 axis feed speed as it is, and the Z 1 axis movement command is an incremental command. Therefore, the command directly becomes the movement amount of the Z 1 axis. However, if there is a movement command of the axes other than Z 1 axis that block calculates the feed speed of the Z 1 axis from the commanded feed speed is distributed to the Z 1 axis Z 1
Calculate the axis feed rate. Also, the difference in the case the movement command of the Z 1 axis is absolute command (end-of-travel position command), and end positions of the Z 1 axis immediately before by the movement command of the Z 1 axis commanded immediately before, this absolute command To calculate Z 1
Calculate the movement amount of the axis.
【0037】次に、ステップS4の処理で入力された値
に従って、そのブロックにZ2 軸の移動指令の追加と、
送り速度の変更(送り速度の指令がない場合は追加)と
を行う(ステップS10)。例えばステップS4の処理
における入力が1の場合、図7(a)の(1)に対し
て、(数1)よりZ2軸の移動量は、 (Z2軸移動量)=70.0+70.0 =140.0mm となるので、H−140.0を追加し、(数2)よりZ
2軸の送り速度は、 (Z2軸送り速度)=140.0/70.0×1.0 =2.0mm/rev となり、(数4)より指令する送り速度は、 (指令送り速度)=√(1.02+2.02) =2.23606797749…mm/rev となるので、指令する送り速度をF2.2361に変更
し、図7(b)の(11)のように自動編集する。Next, according to the value input in the process of step S4, a Z 2 axis movement command is added to the block,
The feed rate is changed (added if there is no feed rate command) (step S10). For example, when input in the processing of step S4 is 1, with respect to (1) in FIG. 7 (a), the amount of movement of Z 2 axes from (Equation 1) is, (Z 2 axial movement amount) = 70.0 + 70. Since 0 = 140.0 mm, H-140.0 is added, and from (Equation 2), Z
The 2- axis feed rate is (Z 2 -axis feed rate) = 140.0 / 70.0 x 1.0 = 2.0 mm / rev, and the feed rate commanded from (Equation 4) is (command feed rate) = √ (1.0 2 +2.0 2 ) = 2.23606797749 ... mm / rev, so change the commanded feed speed to F2.2361, and edit automatically as shown in (11) of Fig. 7 (b). To do.
【0038】一方、ステップS7の処理において、その
ブロックがG0ブロックの場合、そのZ1軸の移動量を
ステップS9と同様にして求める(ステップS11)。On the other hand, when the block is the G0 block in the process of step S7, the movement amount of the Z 1 axis is obtained in the same manner as step S9 (step S11).
【0039】次に、そのブロックのG0指令をG1指令
に変更し、ステップS4の処理で入力された値に従っ
て、そのブロックにZ2 軸の移動指令と、送り速度指令
の追加とを行う(ステップS12)。例えばステップS
4の処理における入力が1、Z2軸の毎分当たりの最大
送り速度が10.0m/min、このときの主軸回転数が2
00.0rpm の場合、図7(a)の(2)に対して、G
0をG1に変更し、(数1)よりZ2軸の移動量は、 (Z2軸移動量)=70.0+70.0 =140.0mm となるので、H140.0を追加する。Z1軸とZ2軸と
の送り速度の比率はステップS4の処理で入力された比
率であり、Z2 軸の方が速くなければならず、ブロック
(2)はG0ブロックであるので、まず、Z2 軸の最大
送り速度を求める。Z2 軸の毎分当たりの最大送り速度
が10.0m/min で、このときの主軸回転数が200.
0rpm であるから、このときのZ2軸の最大送り速度
は、 (Z2軸送り速度)=(Z2軸の毎分当たりの最大送り速
度)/(主軸回転数) =10000.0/200.0 =50.0mm/rev となり、(数2)のZ1軸とZ2軸を入れ替えた式よりZ
1軸の送り速度は、 (Z1軸送り速度)=70.0/140.0×50.0 =25.0mm/rev となる、従って、(数4)より指令する送り速度は、 (指令送り速度)=√(25.02+50.02) =55.9016994374…mm/rev となるので、F55.9017を追加し、図7(b)の
(22)に示すように自動編集する。Next, the G0 command of the block is changed to the G1 command, and the Z 2 axis movement command and the feed speed command are added to the block according to the value input in the process of step S4 (step S12). For example, step S
The input in the process of 4 is 1, the maximum feed rate per minute of the Z 2 axis is 10.0 m / min, and the spindle speed at this time is 2
In the case of 00.0 rpm, G (2) in FIG.
0 Change in G1, the amount of movement of Z 2 axes from (Equation 1), since the (Z 2 axial movement amount) = 70.0 + 70.0 = 140.0mm, Add H140.0. The ratio of the feed speeds of the Z 1 axis and the Z 2 axis is the ratio input in the process of step S4, the Z 2 axis must be faster, and the block (2) is the G0 block. , Z 2 Find the maximum feed rate for the axis. The maximum feed rate per minute of the Z 2 axis is 10.0 m / min, and the spindle speed at this time is 200.
Since it is 0 rpm, the maximum feed rate of the Z 2 axis at this time is (Z 2 axis feed rate) = (maximum feed rate of Z 2 axis per minute) / (spindle speed) = 10000.0 / 200 0.0 = 50.0 mm / rev, and from the formula in which the Z 1 axis and Z 2 axis of (Equation 2) are interchanged, Z
Feed speed of one axis is a (Z 1 axis feedrate) = 70.0 / 140.0 × 50.0 = 25.0mm / rev, hence, the feeding speed of command from the equation (4) (Directive (Feeding speed) = √ (25.0 2 +50.0 2 ) = 55.9016994374 ... mm / rev, so add F55.9017 and edit automatically as shown in (22) of FIG. 7B. .
【0040】その後、次のG1ブロックにZ1 軸の移動
指令と送り速度の指令の両方が無いかどうか検索し(ス
テップS13)、両方無い場合、ステップS8の処理で
記憶した送り速度の指令をそのブロックに追加する(ス
テップS14)。例えば、図7(a)の(3)に対し
て、(1)で記憶した1.0をF1.0として追加し、
図7(b)の(33)に示すように編集する。ステップ
S14の処理は、図7(a)のブロック(3)のよう
に、前のブロックで指令された送り速度で移動するブロ
ックにおいて、前のブロックの送り速度の指令が変更さ
れても、そのブロックが前のブロックの変更前の送り速
度で移動するための処理である。Thereafter, the next G1 block is searched for both the Z 1 axis movement command and the feed velocity command (step S13). If both are not present, the feed velocity command stored in the processing of step S8 is searched. Add to the block (step S14). For example, 1.0 stored in (1) is added as F1.0 to (3) in FIG.
Editing is performed as shown in (33) of FIG. 7B. In the process of step S14, even if the command of the feed speed of the previous block is changed in the block that moves at the feed speed instructed by the previous block, as in the block (3) of FIG. This is a process for moving the block at the feed speed before the change of the previous block.
【0041】ステップS13の処理において、少なくと
もどちらか一方が指令されている場合、或いは、ステッ
プS14の処理後はステップS6の処理へ戻り、編集範
囲内でZ1 軸の移動指令ブロックが無くなるまでステッ
プS6からステップS14までの処理を繰り返す。In the process of step S13, if at least one of them is instructed, or after the process of step S14, the process returns to the process of step S6 until the movement command block of the Z 1 axis disappears within the editing range. The processing from S6 to step S14 is repeated.
【0042】この一連の処理によって編集された加工プ
ログラムを実行すれば、第1主軸3と第2主軸5に取り
付けられたワークWP1,WP2の重畳加工ができる。If the machining program edited by this series of processes is executed, the workpieces WP1 and WP2 mounted on the first spindle 3 and the second spindle 5 can be superposed.
【0043】以上のように、重畳制御機能を有さない1
系統制御の安価な数値制御装置によって、第1工程と第
2工程との重畳加工が行え、複数系統制御機能や重畳制
御機能を有する高価な数値制御装置を必要としない。As described above, 1 which does not have the superposition control function
An inexpensive numerical controller for system control can perform superposition processing of the first step and the second step, and does not require an expensive numerical controller having a multiple system control function or a superposition control function.
【0044】なお、上記実施例では、Z1軸及びZ2軸の
2軸の速度のみの合成について説明したが、これに限ら
ず、例えば、そのブロックにX軸の移動指令も有る場
合、指令する送り速度は、 (指令送り速度) =√((X軸送り速度)2+(Z1軸送り速度)2+(Z2
軸送り速度)2) のように、X軸、Z1軸、Z2軸の送り速度を合成して求
める。又、更にその他の軸の移動指令が有っても、同様
に合成して求める。In the above embodiment, the composition of only the velocities of the Z 1 axis and the Z 2 axis is explained, but the invention is not limited to this. For example, when the block also has an X axis movement instruction, The feed rate to be set is (command feed rate) = √ ((X-axis feed rate) 2 + (Z 1- axis feed rate) 2 + (Z 2
(Axis feed speed) 2 ) As shown in ( 2 ), the feed speeds of the X-axis, Z 1 -axis, and Z 2 -axis are combined and obtained. Further, even if there are movement commands for other axes, they are similarly synthesized and obtained.
【0045】また、上記実施例では、図1に示すような
軸構成の数値制御旋盤を例に説明したが、これに限ら
ず、例えば、図8(a)に示すように、第2主軸台4が
刃物台6と同様に主軸軸線方向と主軸軸線方向に垂直な
方向とに移動駆動自在な構成であってもよい。あるいは
又、図8(b)に示すように、第1主軸台2がZ1 軸方
向に移動駆動自在であり、刃物台6はX軸方向にのみ移
動駆動自在な構成等であってもよい。但し、図8(b)
においては、上記実施例に示した(数1)によってZ2
軸の移動量を求めるのではなく、Z2軸の移動量はZ1
軸の移動量と同じとなり、移動方向をZ1 軸と反対にす
ればよい。この図8(b)に示す例は、重畳加工ではな
いが、本発明は、このような同時加工にも適用可能であ
る。In the above embodiment, the numerically controlled lathe having the shaft configuration as shown in FIG. 1 has been described as an example, but the present invention is not limited to this. For example, as shown in FIG. 4 may be configured to be movable and driveable in the spindle axis direction and the direction perpendicular to the spindle axis direction similarly to the tool rest 6. Alternatively, as shown in FIG. 8B, the first headstock 2 may be movable in the Z 1 -axis direction, and the tool rest 6 may be movable in the X-axis direction only. . However, FIG. 8 (b)
In the above, according to (Equation 1) shown in the above embodiment, Z 2
Instead of obtaining the movement amount of the axis, the movement amount of the Z 2 axis is Z 1
It becomes the same as the movement amount of the axis, and the movement direction may be opposite to the Z 1 axis. Although the example shown in FIG. 8 (b) is not superposition processing, the present invention can be applied to such simultaneous processing.
【0046】また、上記実施例では、主軸台2,4と刃
物台6を図1に示す構成としたが、これに限らず、例え
ば図9に示すように、第1主軸台2と第2主軸台4とを
平行に設け、これら主軸台前方に刃物台6を設け、第1
主軸台2を固定し、第2主軸台4と刃物台6とを主軸軸
線方向と主軸軸線方向に垂直な方向とに移動駆動自在な
構成としてもよい。このように種々の構成の機械におい
て、本発明の主旨を逸脱しない範囲内において実施可能
である。In the above embodiment, the headstocks 2 and 4 and the tool rest 6 are configured as shown in FIG. 1. However, the present invention is not limited to this. For example, as shown in FIG. 9, the first headstock 2 and the second headstock 2 may be used. The headstock 4 is provided in parallel, and the tool rest 6 is provided in front of these headstocks.
The headstock 2 may be fixed, and the second headstock 4 and the tool rest 6 may be configured to be movable and driven in the spindle axis direction and the direction perpendicular to the spindle axis direction. As described above, the machine having various configurations can be implemented without departing from the scope of the present invention.
【0047】[0047]
【発明の効果】以上述べたところから明らかなように本
発明は、重畳制御機能を有さない1系統制御の安価な数
値制御装置によって、重畳加工を行うことができるとい
う長所を有する。As is apparent from the above description, the present invention has an advantage that superposition processing can be performed by an inexpensive one-system control numerical controller having no superposition control function.
【0048】また、重畳加工を行う加工プログラムを作
成する際の複雑な演算を行う必要がなく、加工プログラ
ムを簡単に作成することができるという利点がある。Further, there is an advantage that the machining program can be easily created without the need to perform complicated calculation when creating the machining program for performing the superposition machining.
【図1】本発明にかかる一実施例の数値制御装置を備え
た数値制御旋盤の略示構成図である。FIG. 1 is a schematic configuration diagram of a numerical control lathe including a numerical control device according to an embodiment of the present invention.
【図2】同実施例の数値制御装置のブロック図である。FIG. 2 is a block diagram of a numerical controller according to the embodiment.
【図3】同図(a)、(b)は、同実施例における重畳
加工の動作の一例を説明する図である。3 (a) and 3 (b) are views for explaining an example of an operation of superimposition processing in the same embodiment.
【図4】同図(a)、(b)は、同実施例における重畳
加工の動作の別の一例を説明する図である。FIG. 4A and FIG. 4B are views for explaining another example of the superimposing operation in the same embodiment.
【図5】同実施例における重畳加工の指令に利用する直
線補間機能の原理を説明する図である。FIG. 5 is a diagram illustrating the principle of a linear interpolation function used for a superposition machining command in the embodiment.
【図6】同実施例における加工プログラム編集の処理の
流れを示すフローチャートである。FIG. 6 is a flowchart showing a flow of processing for editing a machining program in the embodiment.
【図7】同図(a)、(b)は、編集された加工プログ
ラムの例を示す図である。7A and 7B are diagrams showing an example of an edited machining program.
【図8】同図(a)、(b)は、軸構成の異なる数値制
御旋盤の例を示す略示構成図である。8A and 8B are schematic configuration diagrams showing examples of numerical control lathes having different shaft configurations.
【図9】構成の異なる数値制御旋盤の例を示す略示構成
図である。FIG. 9 is a schematic configuration diagram showing an example of a numerically controlled lathe having a different configuration.
1 ベッド 2 第1主軸台 3 第1主軸 4 第2主軸台 5 第2主軸 6 刃物台 7 タレット 10 プロセッサ 11 制御プログラムメモリ 16 キーボード 21 工作機械 1 bed 2 1st headstock 3 1st spindle 4 2nd headstock 5 2nd spindle 6 tool post 7 turret 10 processor 11 control program memory 16 keyboard 21 machine tool
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成6年1月13日[Submission date] January 13, 1994
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0005[Name of item to be corrected] 0005
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0005】図2は、数値制御旋盤の制御装置の構成を
示すブロック図である。10は制御プログラムメモリ1
1に格納されたプログラムに従って制御装置全体を制御
するプロセッサである。制御プログラムメモリ11は、
複数の加工プログラムを同時に処理可能な複数系統制御
機能と、重畳制御機能とを搭載することが可能である。
12は演算途中の各種データや入出力信号等が格納され
る制御データメモリ、13は加工プログラムを記憶する
加工プログラム記憶手段等のユーザが入力するデータの
記憶手段であるユーザメモリ、14は加工プログラム等
を表示する加工プログラム表示手段等のCRT、15は
プロセッサ10からの出力信号を表示用の信号に変換し
てCRT14に送るインターフェイス、16は情報を入
力するためのキーボード、17はキーボード16からの
入力信号をプロセッサ10へ出力するキーボードインタ
ーフェイス、18はプロセッサ10から軸の移動指令を
受けて、軸を移動させる指令をサーボアンプ19に出力
する軸制御回路、19はこの移動指令を受けて、工作機
械(数値制御旋盤)21のサーボモータを駆動するサー
ボアンプ、20はプロセッサ10からの出力信号を受
け、この信号を処理して工作機械21を制御し、又工作
機械21から状態信号を受けて、プロセッサ10に必要
な信号を転送するPMCである。以上の各構成要素はバ
スライン22により互いに結合されている。FIG. 2 is a block diagram showing the configuration of a control device for a numerically controlled lathe. 10 is a control program memory 1
1 is a processor that controls the entire control device according to a program stored in 1. The control program memory 11 is
It is possible to mount a multiple system control function capable of simultaneously processing a plurality of machining programs and a superposition control function.
Reference numeral 12 is a control data memory that stores various data during processing, input / output signals, etc., 13 is a user memory that is a storage unit for data input by the user, such as a machining program storage unit that stores a machining program, and 14 is a machining program. CRT such as a machining program displaying means for displaying, etc., 15 is an interface for converting an output signal from the processor 10 into a signal for display and sending it to the CRT 14, 16 is a keyboard for inputting information, 17 is a keyboard 16 A keyboard interface that outputs an input signal to the processor 10, 18 receives an axis movement command from the processor 10, and outputs an axis movement command to a servo amplifier 19, and an axis control circuit 19 receives the movement command to perform machining. Servo amplifier for driving the servomotor of machine (numerical control lathe) 21, 20 Receiving the output signal from processor 10, it processes the signal and controls the machine tool 21, also receives a state signal from the machine tool 21, a PMC for transferring a signal needed for the processor 10. The above components are connected to each other by a bus line 22.
【手続補正2】[Procedure Amendment 2]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0008[Correction target item name] 0008
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0008】このとき、上記第1工程と第2工程の重畳
加工を行う場合は、第1工程の加工を行う刃物台6の移
動に合わせて第2主軸5を移動させ(第2主軸5と刃物
台6とが相対的に移動していない状態)、その上に第2
工程の加工を行うための移動を第2主軸5にさせる必要
がある。つまり、第2主軸5の移動は第2工程の加工を
行うための移動と刃物台6の移動を加えたものとなる。
このような加工のことを以後重畳加工と呼ぶ。重畳加工
は第1工程と第2工程のそれぞれの加工のための移動指
令や送り速度指令を同時に指令しなければならないので
1系統制御では加工できず、制御プログラムメモリ11
に複数の加工プログラムを同時に処理可能な複数系統制
御機能と、重畳制御機能とを搭載して、第1工程と第2
工程の加工プログラムを重畳制御機能を利用して同時に
実行して加工を行っていた。At this time, in the case where the first and second steps are overlapped, the second spindle 5 is moved in accordance with the movement of the tool rest 6 for performing the first step (the second spindle 5 and The state where the turret 6 is not relatively moved), and the second
It is necessary to move the second spindle 5 to perform the process of the process. That is, the movement of the second main spindle 5 is the movement for performing the machining in the second step and the movement of the tool rest 6 in addition.
Such processing is hereinafter referred to as superposition processing. In the superposition machining, since the movement command and the feed speed command for each of the first process and the second process must be instructed at the same time, the machining cannot be performed by the single system control, and the control program memory 11
Is equipped with a multi-system control function capable of simultaneously processing a plurality of machining programs and a superposition control function, and the first step and the second step
Machining was performed by simultaneously executing the machining program of the process using the superposition control function.
【手続補正3】[Procedure 3]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0009[Correction target item name] 0009
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0009】[0009]
【発明が解決しようとする課題】しかしながら、上記の
1系統制御の数値制御装置は安価であるが重畳加工がで
きず、又、複数系統制御機能や重畳制御機能を有する数
値制御装置は重畳加工は出来るがそのためにこのような
高価な機能を搭載する必要があるという課題があった。However, although the above-mentioned numerical control device for one-system control is inexpensive, superimposition processing cannot be performed, and a numerical control device having a multi-system control function or a superposition control function cannot perform superposition processing. However, there is a problem that it is necessary to mount such an expensive function for that purpose.
Claims (2)
加工制御方法であって、 指令された送り合成速度を各軸の移動量の比に合わせて
各軸の送り速度に分配する分配指令と、 第1主軸に保持されたワークを加工するための少なくと
も1つの軸の移動指令と、 第2主軸に保持されたワークを加工するための少なくと
も1つの別の軸の移動指令と、 それら各軸の送り速度から、所定の送り速度合成規則に
より算出される送り合成速度とを、 加工プログラムの1ブロックで指令することを特徴とす
る重畳加工制御方法。1. A method for superposing machining control of a machine tool, which is controlled by one-system control, wherein a distribution command for distributing a commanded feed composite speed to a feed speed of each axis in accordance with a ratio of a movement amount of each axis. A movement command for at least one axis for machining a workpiece held on the first spindle, a movement command for at least one other axis for machining a workpiece held on the second spindle, and each of them. A superposition machining control method, wherein a feed composition speed calculated from a feed rate of an axis according to a predetermined feed composition rule is commanded in one block of a machining program.
制御装置において、 第1主軸に保持されたワークを加工するための加工プロ
グラムを記憶する加工プログラム記憶手段と、 第1主軸に保持されたワークを加工するための少なくと
も1つの軸の送り速度、及び第2主軸に保持されたワー
クを加工するための少なくとも1つの別の軸の送り速度
から、所定の送り速度合成規則により送り合成速度を算
出する送り合成速度演算手段と、 その算出された送り合成速度と、前記第1主軸に保持さ
れたワークを加工するための少なくとも1つの軸の移動
指令と、前記第2主軸に保持されたワークを加工するた
めの少なくとも1つの別の軸の移動指令と、指令された
送り合成速度を各軸の移動量の比に合わせて各軸の送り
速度に分配する分配指令とを、1ブロックで指令するよ
うに、前記記憶された加工プログラムを編集するプログ
ラム編集手段とを、 備えたことを特徴とする数値制御装置。2. A numerical control device for a machine tool controlled by single-system control, wherein a machining program storage means for storing a machining program for machining a workpiece held on a first spindle, and a machining program storage means retained on the first spindle. A feed rate of at least one axis for machining a workpiece and a feed rate of at least another axis for machining a workpiece held on the second spindle according to a predetermined feed rate composition rule. Feed composite speed calculation means for calculating, the calculated feed composite speed, a movement command for at least one axis for machining the workpiece held by the first spindle, and the second spindle held by the second spindle. A movement command for at least one other axis for machining the workpiece and a distribution command for distributing the commanded feed composite speed to the feed speed of each axis according to the ratio of the movement amount of each axis. And a program editing means for editing the stored machining program so as to instruct in one block.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33697493A JPH07185901A (en) | 1993-12-28 | 1993-12-28 | Superposition processing control method and numerical control apparatus thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33697493A JPH07185901A (en) | 1993-12-28 | 1993-12-28 | Superposition processing control method and numerical control apparatus thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07185901A true JPH07185901A (en) | 1995-07-25 |
Family
ID=18304324
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33697493A Pending JPH07185901A (en) | 1993-12-28 | 1993-12-28 | Superposition processing control method and numerical control apparatus thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07185901A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09323201A (en) * | 1996-06-04 | 1997-12-16 | Dainichi Kinzoku Kogyo Kk | Turning method and lathe apparatus used in the method |
| WO2001066290A1 (en) | 2000-03-10 | 2001-09-13 | Citizen Watch Co., Ltd. | Tool holder and method of machining work using this tool holder |
| WO2001066289A1 (en) | 2000-03-10 | 2001-09-13 | Citizen Watch Co., Ltd. | Numerically controlled lathe and method of machining work using this numerically controlled lathe |
| WO2002024386A1 (en) * | 2000-09-22 | 2002-03-28 | Citizen Watch Co., Ltd. | Automatic lathe |
| WO2002024385A1 (en) | 2000-09-22 | 2002-03-28 | Citizen Watch Co., Ltd. | Numerically controlled lathe and method of cutting workpiece on numerically controlled lathe |
| US10007247B2 (en) | 2013-04-30 | 2018-06-26 | Mitsubishi Electric Corporation | Numerical control device with plurality of spindles and associated synchronous tapping |
-
1993
- 1993-12-28 JP JP33697493A patent/JPH07185901A/en active Pending
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE19723461B4 (en) * | 1996-06-04 | 2006-04-20 | Dainichi Kinzoku Kogyo K.K., Amagasaki | Method for turning workpieces |
| US6024001A (en) * | 1996-06-04 | 2000-02-15 | Dainichi Kinzoku Kogyo Kabushiki Kaisha | Method of turning works and lathe for carrying out the method |
| JPH09323201A (en) * | 1996-06-04 | 1997-12-16 | Dainichi Kinzoku Kogyo Kk | Turning method and lathe apparatus used in the method |
| WO2001066290A1 (en) | 2000-03-10 | 2001-09-13 | Citizen Watch Co., Ltd. | Tool holder and method of machining work using this tool holder |
| WO2001066289A1 (en) | 2000-03-10 | 2001-09-13 | Citizen Watch Co., Ltd. | Numerically controlled lathe and method of machining work using this numerically controlled lathe |
| JP4677062B2 (en) * | 2000-03-10 | 2011-04-27 | シチズンホールディングス株式会社 | Numerically controlled lathe and machining method of workpiece by this numerically controlled lathe |
| JP4527926B2 (en) * | 2000-03-10 | 2010-08-18 | シチズンホールディングス株式会社 | Tool holder |
| EP1275455A4 (en) * | 2000-03-10 | 2009-08-12 | Citizen Holdings Co Ltd | Tool holder and method of machining work using this tool holder |
| US7055416B2 (en) | 2000-03-10 | 2006-06-06 | Citizen Watch Co., Ltd. | Tool holder and method of machining work using this tool holder |
| US6971294B1 (en) | 2000-03-10 | 2005-12-06 | Citizen Watch Co., Ltd. | Numerically controlled lathe and method of machining work using this numerically controlled lathe |
| US6928909B1 (en) | 2000-09-22 | 2005-08-16 | Citizen Watch Co., Ltd. | Automatic lathe |
| US6742422B1 (en) | 2000-09-22 | 2004-06-01 | Citizen Watch Co., Ltd. | Numerically controlled lathe and method of cutting workpiece on the numerically controlled lathe |
| US7117774B2 (en) | 2000-09-22 | 2006-10-10 | Citizen Watch Co., Ltd. | Automatic lathe |
| JPWO2002024385A1 (en) * | 2000-09-22 | 2004-01-29 | シチズン時計株式会社 | Numerically controlled lathe and machining method of workpiece by this numerically controlled lathe |
| WO2002024385A1 (en) | 2000-09-22 | 2002-03-28 | Citizen Watch Co., Ltd. | Numerically controlled lathe and method of cutting workpiece on numerically controlled lathe |
| WO2002024386A1 (en) * | 2000-09-22 | 2002-03-28 | Citizen Watch Co., Ltd. | Automatic lathe |
| JP5005874B2 (en) * | 2000-09-22 | 2012-08-22 | シチズンホールディングス株式会社 | Numerically controlled lathe and machining method of workpiece by this numerically controlled lathe |
| US10007247B2 (en) | 2013-04-30 | 2018-06-26 | Mitsubishi Electric Corporation | Numerical control device with plurality of spindles and associated synchronous tapping |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6597142B2 (en) | Apparatus and method for setting control parameters of machining apparatus | |
| JP2003195917A (en) | Numerical control device | |
| KR100753243B1 (en) | Numerical control lathe, control device, numerical method and program description method of numerical lathe | |
| JPH0585301B2 (en) | ||
| US6971294B1 (en) | Numerically controlled lathe and method of machining work using this numerically controlled lathe | |
| KR100809108B1 (en) | Automatic lathe, automatic lathe control method and automatic lathe control | |
| US6815917B2 (en) | Automatic lathe, method for controlling the same, and device for controlling the same | |
| JP3459516B2 (en) | Superposition control method by numerical controller | |
| JP2878690B2 (en) | Control method of numerically controlled lathe | |
| JPS62163109A (en) | Numerical controller | |
| JP7250202B1 (en) | Information processing device and information processing program | |
| JP4266791B2 (en) | Machining method | |
| JPH0146263B2 (en) | ||
| JP3568173B2 (en) | Switching method of coordinate data specification format in numerically controlled machine tools | |
| JPH10143213A (en) | Multi-surface working machine and multi-surface working method | |
| JP3313001B2 (en) | Control method at the start and end of machining of NC lathe | |
| JPH0583338B2 (en) | ||
| JPH08118203A (en) | Control method of nc lathe and device thereof | |
| JP3209541B2 (en) | Machine tool equipment | |
| JP2899293B2 (en) | Numerical control method for multi-spindle lathe | |
| JPH05108134A (en) | Coordinate conversion method for indexing the spindle | |
| JPH0512097B2 (en) | ||
| JPH0763921B2 (en) | Numerical control machine tool | |
| JPH04131909A (en) | How to set the machining coordinate system on a numerically controlled compound lathe | |
| JPH11212613A (en) | Numerical controller provided with mirror cutting function |