JPH103305A - Superimpose control method for multisystem numerical controller and multisystem numerical controller - Google Patents

Superimpose control method for multisystem numerical controller and multisystem numerical controller

Info

Publication number
JPH103305A
JPH103305A JP15464796A JP15464796A JPH103305A JP H103305 A JPH103305 A JP H103305A JP 15464796 A JP15464796 A JP 15464796A JP 15464796 A JP15464796 A JP 15464796A JP H103305 A JPH103305 A JP H103305A
Authority
JP
Japan
Prior art keywords
axis
superimposition
control
basic
superposition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP15464796A
Other languages
Japanese (ja)
Other versions
JP3399745B2 (en
Inventor
Shiyouichi Sagazaki
正一 嵯峨崎
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP15464796A priority Critical patent/JP3399745B2/en
Publication of JPH103305A publication Critical patent/JPH103305A/en
Application granted granted Critical
Publication of JP3399745B2 publication Critical patent/JP3399745B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten the cycle time of a working cycle including superimpose control in comparison with the conventional case. SOLUTION: Switching for the ordinary control/superimpose control of clamp velocity and acceleration/deceleration time constants of a superimpose axis and a basic axis is individually performed when individually stopping the superimpose axis and basic axis, the clamp velocity and acceleration/deceleration time constant of the superimpose axis are switched for superimpose control according to a superimpose starting command at any arbitrary time point just on the limit condition that the superimpose axis stops, and the move of the superimpose axis to a superimpose control starting position is started. As soon as the basic axis stops, the clamp velocity and acceleration/deceleration time constant of the basic axis are switched for superimpose control, and superimpose control is performed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、多系統数値制御
装置における重畳制御方法および多系統数値制御装置に
関し、特に自動旋盤などで使用される多系統数値制御装
置における重畳制御方法および多系統数値制御装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a superposition control method and a multi-path numerical control device in a multi-path numerical control device, and more particularly to a superposition control method and a multi-path numerical control in a multi-path numerical control device used in an automatic lathe or the like. It concerns the device.

【0002】[0002]

【従来の技術】自動旋盤などで使用される多系統数値制
御装置には、或る系統の一つの軸を基本軸として指定
し、他の系統において基本軸と平行な一つの軸を重畳軸
として指定し、重畳制御指令により重畳軸の移動指令に
基本軸の移動指令を重畳した移動指令で重畳軸の軸移動
制御を行う重畳制御機能を有しているものがある。
2. Description of the Related Art In a multi-system numerical controller used in an automatic lathe or the like, one axis of a certain system is designated as a basic axis, and one axis parallel to the basic axis in another system is used as a superposition axis. Some superimposition control functions have a superimposition control function of performing a superposition axis control with a superposition control command by superimposing a basic axis movement command on a superposition axis movement command.

【0003】図16は重畳制御機能を有する多系統数値
制御装置の従来例を示している。この数値制御装置1
は、各系統毎に設けられた加工プログラム解析処理部1
0と、各系統の加工プログラムを格納するメモリ20
と、パラメータ設定部21と、画面表示処理部22と、
補間処理手段31と重畳制御手段32とを含む補間処理
部30と、機械制御信号処理部50と、シーケンス回路
をなすラダー回路部55と、各可動軸毎に設けられ加減
速処理手段61と停止確認手段62とを含む各可動軸毎
の軸制御部60と、軸移動量出力回路70とを有してい
る。
FIG. 16 shows a conventional example of a multi-system numerical controller having a superimposition control function. This numerical controller 1
Is a machining program analysis processing unit 1 provided for each system.
0 and a memory 20 for storing machining programs for each system.
, A parameter setting unit 21, a screen display processing unit 22,
The interpolation processing unit 30 including the interpolation processing unit 31 and the superimposition control unit 32, the machine control signal processing unit 50, the ladder circuit unit 55 forming a sequence circuit, and the acceleration / deceleration processing unit 61 provided for each movable shaft and stopping. An axis control unit 60 for each movable axis including the checking means 62 and an axis movement output circuit 70 are provided.

【0004】軸移動量出力回路70には各系統の可動軸
のサーボ制御部80が接続され、また各サーボ制御部8
0には各可動軸のサーボモータ90が接続されている。
なお、図には示されていないが、サーボモータ90は位
置検出用のパルスゼネレータ付きのものであり、サーボ
制御部80はパルスゼネレータよりの位置フィードバッ
ク信号による位置ループを有する。
The axis movement output circuit 70 is connected to servo control units 80 for the movable axes of each system.
A servomotor 90 of each movable shaft is connected to 0.
Although not shown in the figure, the servomotor 90 has a pulse generator for position detection, and the servo controller 80 has a position loop based on a position feedback signal from the pulse generator.

【0005】この数値制御装置1では、テープリーダ等
から読み込まれた各系統の加工プログラムはメモリ20
に格納される。加工プログラムを実行する際には、メモ
リ20から1ブロックずつ加工プログラムを読み出し、
各系統毎に設けられている加工プログラム解析処理部1
0によって加工プログラムを解析処理し、各ブロックの
終点位置等を算出する。この終点位置を補間処理部30
の補間処理手段31によって処理し、終点位置を各可動
軸の単位時間当たりの移動指令に分配する。
[0005] In this numerical control device 1, machining programs of each system read from a tape reader or the like are stored in a memory 20.
Is stored in When executing the machining program, the machining program is read from the memory 20 one block at a time,
Machining program analysis processing unit 1 provided for each system
The processing program is analyzed according to 0, and the end point position and the like of each block are calculated. This end point position is determined by the interpolation processing unit 30.
And the end point position is distributed to the movement commands per unit time of each movable axis.

【0006】この移動指令は、軸制御部60の加減速処
理手段61によって予め指定された加減速パターンに従
って加減速を考慮した単位時間当たりの移動指令に変換
され、軸移動量出力回路70からサーボ制御部80へサ
ーボ移動指令として出力される。
The movement command is converted by the acceleration / deceleration processing means 61 of the axis control unit 60 into a movement command per unit time in consideration of acceleration / deceleration in accordance with an acceleration / deceleration pattern specified in advance. It is output to the control unit 80 as a servo movement command.

【0007】このサーボ移動指令によりサーボ制御部8
0は図示されていない工作機械に取り付けられているサ
ーボモータ90に対して回転指令を与える。
The servo control unit 8 receives the servo movement command.
0 gives a rotation command to a servomotor 90 attached to a machine tool (not shown).

【0008】また、切削油のオン・オフ等の機械信号は
機械制御を記述するラダー回路部55を介して機械制御
信号処理部50で処理され、処理結果などは補間処理部
30に伝えられる。
[0008] A machine signal such as on / off of the cutting oil is processed by a machine control signal processing section 50 via a ladder circuit section 55 for describing machine control, and a processing result is transmitted to an interpolation processing section 30.

【0009】図示していないキー入力手段によって設定
された各系統の軸送りの限界速度を意味するクランプ速
度や軸送りの加減速に要する時間を意味する加減速時定
数等はパラメータ設定部21が処理してメモリ20に格
納される。このようにして格納されたパラメータ等は画
面表示処理部22によって図示していない表示器に表示
されるので、パラメータ等の内容を確認することができ
る。
The parameter setting section 21 sets a clamp speed, which indicates a limit speed of the axis feed of each system, and an acceleration / deceleration time constant, which indicates a time required for acceleration / deceleration of the axis feed, set by key input means (not shown). The data is processed and stored in the memory 20. The parameters and the like stored in this way are displayed on a display (not shown) by the screen display processing unit 22, so that the contents of the parameters and the like can be confirmed.

【0010】つぎに従来の数値制御装置におる重畳制御
について説明する。加工プログラム解析処理部10が加
工プログラムによる重畳制御指令を解析し、重畳制御指
令によって指定された或る系統の一つの軸を基本軸に設
定し、同じく重畳制御指令によって指定された他の系統
において基本軸と平行な一つの軸を重畳軸に設定し、重
畳制御手段32によって重畳軸の移動指令に基本軸の移
動指令を重畳した移動指令で重畳軸を軸移動させる重畳
制御を行う。
Next, superposition control in a conventional numerical controller will be described. The machining program analysis processing unit 10 analyzes a superimposition control command by the machining program, sets one axis of a certain system designated by the superimposition control command as a basic axis, and sets the axis in another system also designated by the superimposition control command. One axis parallel to the basic axis is set as a superposition axis, and superposition control is performed by the superposition control means 32 so that the superposition axis is axially moved by a movement command in which the movement command of the basic axis is superimposed on the movement command of the superposition axis.

【0011】この重畳制御においては、基本軸と重畳軸
とのタイミングを取るために、図17に例示されている
ように、重畳制御指令の前ブロックで基本軸と重畳軸と
の系統間待ち合わせを行い、基本軸と重畳軸とが共に停
止した状態下で、これらの軸のクランプ速度と加減速時
定数を通常制御用より重畳制御用の切り換え、重畳軸が
基本軸と重畳動作しても重畳軸の移動速度がクランプ速
度を超えたり、重畳軸の加減速時定数が過剰になること
を回避している。
In this superimposition control, in order to take the timing between the basic axis and the superimposition axis, as shown in FIG. 17, a waiting between the systems of the basic axis and the superimposition axis is performed in the block preceding the superposition control command. When the basic axis and the superimposed axis are both stopped, the clamping speed and acceleration / deceleration time constant of these axes are switched from superimposed control to superimposed control for normal control. This prevents the moving speed of the shaft from exceeding the clamping speed and the acceleration / deceleration time constant of the superimposed shaft from becoming excessive.

【0012】[0012]

【発明が解決しようとする課題】従来は、重畳制御指令
の前ブロックで必ず基本軸と重畳軸との系統間待ち合わ
せを行われなくてはならず、待ち合わせをした系統に所
属する軸は全て停止するため重畳に関係がない軸まで停
止し、クランプ速度、加減速時定数の切り換えは基本
軸、重畳軸の両方が停止した時に一斉に行われるため、
基本軸と重畳軸が所属している系統のすべての軸が停止
しないと、重畳制御が開始できず、系統間待ち合わせに
よって重畳に関係ない軸まで停止するから、重畳制御を
含む加工サイクルのサイクルタイムが長くなる。
Conventionally, in the block preceding the superimposition control command, it is necessary to always wait for the system between the basic axis and the superimposed axis, and all the axes belonging to the waiting system are stopped. To the axis that has nothing to do with superposition, the switching of the clamp speed and acceleration / deceleration time constant is performed at the same time when both the basic axis and superposition axis stop.
If all axes of the system to which the basic axis and the superimposed axis belong do not stop, superimposition control cannot be started, and axes that are not related to superimposition will stop due to inter-system waits, so the cycle time of the machining cycle including superimposition control Becomes longer.

【0013】従来の重畳制御では、重畳時の基本軸と重
畳軸の位置関係を常に一定とするためには、ユーザが予
め演算により座標系を設定し、重畳制御指令直前にユー
ザプログラムによって決められた位置に重畳軸、基本軸
を位置決めして行わなくてはならないため、ユーザプロ
グラムの作成が面倒なものになる。
In the conventional superposition control, in order to keep the positional relationship between the basic axis and the superposition axis at the time of superposition always constant, a user sets a coordinate system in advance by calculation and is determined by a user program immediately before a superposition control command. Since it is necessary to position the superimposed axis and the basic axis at the positions where they have been set, it becomes troublesome to create a user program.

【0014】また従来は、重畳制御用のクランプ速度は
通常制御時の1/2に固定設定されており、このため、
重畳制御時の基本軸の移動速度が低いと、重畳軸の移動
速度が過剰に抑制され、このことによっても重畳制御を
含む加工サイクルのサイクルタイムが長くなる。
Conventionally, the clamping speed for superimposition control is fixedly set to 1/2 of that during normal control.
If the moving speed of the basic axis during the superimposing control is low, the moving speed of the superimposing axis is excessively suppressed, which also increases the cycle time of the machining cycle including the superimposing control.

【0015】この発明は、上述の如き問題点に着目して
なされたものであり、重畳制御を含む加工サイクルのサ
イクルタイムを従来に比して短縮でき、また重畳制御を
含む加工プログラムの作成が容易な多系統数値制御装置
における重畳制御方法および多系統数値制御装置を得る
ことを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and can reduce the cycle time of a machining cycle including superimposition control as compared with the related art. It is an object of the present invention to obtain a superposition control method and a multi-system numerical controller in an easy multi-system numerical controller.

【0016】[0016]

【課題を解決するための手段】上述の目的を達成するた
めに、この発明による多系統数値制御装置における重畳
制御方法は、或る系統の一つの軸を基本軸として指定
し、他の系統において基本軸と平行な一つの軸を重畳軸
として指定し、重畳制御指令により重畳軸の移動指令に
基本軸の移動指令を重畳した移動指令で重畳軸の軸移動
制御を行う多系統数値制御装置における重畳制御方法に
おいて、軸送りの限界速度を意味する重畳軸および基本
軸のクランプ速度と軸送りの加減速に要する時間を意味
する重畳軸および基本軸の加減速時定数の通常制御用・
重畳制御用切り換えを重畳軸と基本軸の個別の停止時に
個別に行い、重畳軸が停止していると云う限定条件のみ
で任意の時点での重畳開始指令により重畳軸のクランプ
速度と加減速時定数とを重畳制御用のものに切り換えて
重畳制御開始位置への重畳軸の移動開始を行い、基本軸
が停止し次第、基本軸のクランプ速度と加減速時定数と
を重畳制御用のものに切り換え、重畳制御を行うもので
ある。
In order to achieve the above-mentioned object, a superposition control method in a multi-system numerical controller according to the present invention designates one axis of a certain system as a basic axis and sets another axis in another system. In a multi-system numerical controller that designates one axis parallel to the basic axis as a superimposition axis, and performs axis movement control of the superimposition axis by a movement command obtained by superimposing the movement command of the basic axis on the movement command of the superimposition axis by the superimposition control command In the superimposition control method, for normal control of the acceleration speed of the superimposition axis and the basic axis, which means the clamping speed of the superposition axis and the basic axis, which means the limit speed of the axis feed, and the time required for the acceleration and deceleration of the axis feed.
Switching for superimposition control is performed individually when the superimposition axis and the basic axis are individually stopped, and only when the superimposition axis is stopped, a superimposition start command is issued at any time and only when the superimposition axis is clamped and accelerated / decelerated. The constant is switched to the one for superimposition control to start moving the superimposition axis to the superimposition control start position, and as soon as the basic axis stops, the clamping speed and acceleration / deceleration time constant of the basic axis are changed to those for superimposition control. Switching and superimposition control are performed.

【0017】この発明による多系統数値制御装置におけ
る重畳制御方法では、重畳軸および基本軸のクランプ速
度と重畳軸および基本軸の加減速時定数の通常制御用・
重畳制御用切り換えが重畳軸と基本軸の個別の停止時に
個別に行われ、重畳軸が停止していると云う限定条件の
みで任意の時点での重畳開始指令により重畳軸のクラン
プ速度と加減速時定数とが重畳制御用のものに切り換え
られて重畳軸が重畳制御開始位置への移動開始し、基本
軸が停止し次第、基本軸のクランプ速度と加減速時定数
とが重畳制御用のものに切り換えられ、無駄時間を挟む
ことなく重畳制御が行われる。
In the superimposition control method in the multi-system numerical controller according to the present invention, the method for normal control of the clamping speed of the superimposition axis and the basic axis and the acceleration / deceleration time constant of the superimposition axis and the basic axis is performed.
The switching for superimposition control is performed individually when the superimposition axis and the basic axis are individually stopped, and the clamping speed and acceleration / deceleration of the superimposition axis are determined by a superposition start command at any time only under the limited condition that the superimposition axis is stopped. The time constant is switched to that for superimposition control, the superimposition axis starts moving to the superimposition control start position, and as soon as the basic axis stops, the clamping speed and acceleration / deceleration time constant of the basic axis are for superimposition control. And the superimposition control is performed without interposing a dead time.

【0018】つぎの発明による多系統数値制御装置にお
ける重畳制御方法は、上述の重畳制御方法において、任
意の時点での重畳終了指令により重畳軸を重畳制御用の
加減速時定数により減速停止させ、重畳軸の停止をもっ
て基本軸の状態の如何に拘らず重畳軸のクランプ速度と
加減速時定数とを通常制御用のものに切り換え、基本軸
が停止し次第、基本軸のクランプ速度と加減速時定数と
を通常制御用のものに切り換えるものである。
The superimposition control method in the multi-system numerical controller according to the next invention is the superimposition control method described above, wherein the superimposition axis is decelerated and stopped according to an acceleration / deceleration time constant for superimposition control in response to a superimposition end command at any time. When the superimposed axis stops, the clamp speed and acceleration / deceleration time constant of the superimposed axis are switched to those for normal control regardless of the state of the basic axis. The constants are switched to those for normal control.

【0019】この発明による多系統数値制御装置におけ
る重畳制御方法では、任意の時点での重畳終了指令によ
り重畳軸が重畳制御用の加減速時定数をもって減速停止
し、この重畳軸の停止をもって基本軸の状態の如何に拘
らず重畳軸のクランプ速度と加減速時定数とが通常制御
用のものに切り換えられ、基本軸が停止し次第、基本軸
のクランプ速度と加減速時定数とが通常制御用のものに
切り換えられる。
In the superimposition control method in the multi-system numerical controller according to the present invention, the superimposition axis is decelerated and stopped with an acceleration / deceleration time constant for superimposition control in response to a superimposition end command at an arbitrary time, and the basic axis is stopped when the superimposition axis stops. Regardless of the state, the clamp speed and acceleration / deceleration time constant of the superimposed axis are switched to those for normal control, and as soon as the basic axis stops, the clamp speed and acceleration / deceleration time constant of the basic axis are used for normal control. Is switched to

【0020】つぎの発明による多系統数値制御装置にお
ける重畳制御方法は、上述の重畳制御方法において、重
畳開始指令あるいはパラメータによって重畳軸ワーク座
標原点を基本軸のワーク座標原点に対する偏倚量をもっ
て設定し、基本軸の基本機械座標原点と重畳軸の基本機
械座標原点との相対距離と、基本軸の基本機械座標原点
と基本軸のワーク座標原点との相対距離とから自動演算
によって重畳軸ワーク座標原点を基本機械座標系におけ
る座標値に変換し、この座標値に基づいて重畳開始指令
あるいはパラメータによって重畳軸ワーク座標原点に対
する偏倚量をもって設定した重畳制御開始位置を、重畳
軸ワーク座標原点の基本機械座標系における座標値に基
づいて基本機械座標系における座標値に変換し、この座
標値をもって重畳軸を重畳制御開始位置に移動させるも
のである。
In the superimposition control method in the multi-system numerical controller according to the next invention, in the above-described superimposition control method, the superimposition axis work coordinate origin is set by a superposition start command or a parameter with a deviation amount from the work axis origin of the basic axis. Based on the relative distance between the basic machine coordinate origin of the basic axis and the basic machine coordinate origin of the superimposed axis, and the relative distance between the basic machine coordinate origin of the basic axis and the work coordinate origin of the basic axis, the superimposed axis work coordinate origin is automatically calculated. The superimposition control start position is converted into a coordinate value in the basic machine coordinate system, and a superimposition control start position set based on the coordinate value by a superimposition start command or a parameter with the amount of deviation from the superimposition axis work coordinate origin is converted to the basic mechanical coordinate system of the superimposition axis work coordinate origin. Is converted to coordinate values in the basic machine coordinate system based on the coordinate values in It is to move to the superposition control start position.

【0021】この発明による多系統数値制御装置におけ
る重畳制御方法では、重畳開始指令あるいはパラメータ
によって重畳軸ワーク座標原点が基本軸のワーク座標原
点に対する偏倚量をもって設定され、基本軸の基本機械
座標原点と重畳軸の基本機械座標原点との相対距離と、
基本軸の基本機械座標原点と基本軸のワーク座標原点と
の相対距離とから自動演算によって重畳軸ワーク座標原
点が基本機械座標系における座標値に変換され、この座
標値に基づいて重畳開始指令あるいはパラメータによっ
て重畳軸ワーク座標原点に対する偏倚量をもって設定し
た重畳制御開始位置が重畳軸ワーク座標原点の基本機械
座標系における座標値に基づいて基本機械座標系におけ
る座標値に変換され、この座標値をもって重畳軸を重畳
制御開始位置に移動させることが行われる。
In the superimposition control method in the multi-system numerical controller according to the present invention, the superimposition axis work coordinate origin is set with the amount of deviation from the work axis origin of the basic axis by a superposition start command or a parameter, and the basic machine coordinate origin of the basic axis is determined. The relative distance of the superimposed axis from the basic machine coordinate origin,
The work coordinate origin of the superimposed axis is converted into a coordinate value in the basic machine coordinate system by automatic calculation from the basic machine coordinate origin of the basic axis and the relative distance between the work coordinate origin of the basic axis and the superimposition start command or The superimposition control start position set by the parameter with the amount of deviation from the origin of the superimposed axis work coordinate is converted into a coordinate value in the basic machine coordinate system based on the coordinate value of the origin of the superimposed axis work coordinate in the basic machine coordinate system. The axis is moved to the superimposition control start position.

【0022】つぎの発明による多系統数値制御装置にお
ける重畳制御方法は、上述の重畳制御方法において、使
用工具の工具長などを定義するオフセット量を重畳開始
指令あるいはパラメータによって設定し、このオフセッ
ト量を考慮して基本機械座標系における前記重畳制御開
始位置の座標値を自動演算するものである。
According to a superimposition control method in a multi-system numerical controller according to the next invention, in the above-described superimposition control method, an offset amount defining a tool length of a tool to be used is set by a superimposition start command or a parameter, and this offset amount is set. Taking this into consideration, the coordinate value of the superposition control start position in the basic machine coordinate system is automatically calculated.

【0023】この発明による多系統数値制御装置におけ
る重畳制御方法では、使用工具の工具長などを定義する
オフセット量が重畳開始指令あるいはパラメータによっ
て設定され、このオフセット量を考慮して基本機械座標
系における前記重畳制御開始位置の座標値が自動演算さ
れる。
In the superposition control method in the multi-path numerical controller according to the present invention, an offset amount defining a tool length or the like of a tool to be used is set by a superposition start command or a parameter. The coordinate value of the superposition control start position is automatically calculated.

【0024】つぎの発明による多系統数値制御装置にお
ける重畳制御方法は、上述の重畳制御方法において、重
畳終了指令によって重畳軸の重畳終了位置を重畳軸の基
本機械座標系あるいはワーク座標系で指定し、重畳終了
指令による重畳軸の停止後に通常制御用の加減速時定数
を使用して重畳軸を重畳終了位置に軸移動させるもので
ある。
In the superimposition control method in the multi-system numerical controller according to the next invention, in the above-described superimposition control method, the superimposition end position of the superimposition axis is designated in the basic mechanical coordinate system or the work coordinate system of the superimposition axis by the superimposition end command. After the superimposition axis is stopped by the superimposition end command, the superimposition axis is moved to the superimposition end position using the acceleration / deceleration time constant for normal control.

【0025】この発明による多系統数値制御装置におけ
る重畳制御方法では、重畳終了指令によって重畳軸の重
畳終了位置が重畳軸の基本機械座標系あるいはワーク座
標系で指定され、重畳終了指令による重畳軸の停止後に
通常制御用の加減速時定数を使用して重畳軸を重畳終了
位置に軸移動させることが行われる。
In the superposition control method in the multi-system numerical controller according to the present invention, the superposition end position of the superposition axis is specified in the basic mechanical coordinate system or the work coordinate system of the superposition axis by the superposition end command, After the stop, the superimposition axis is moved to the superimposition end position using the acceleration / deceleration time constant for normal control.

【0026】つぎの発明による多系統数値制御装置にお
ける重畳制御方法は、上述の重畳制御方法において、重
畳制御用の重畳軸のクランプ速度を、通常制御用の重畳
軸のクランプ速度より重畳制御時の基本軸の移動速度よ
り差し引いた値に応じて設定するものである。
According to the superimposition control method in the multi-system numerical controller according to the next invention, in the above-described superimposition control method, the clamping speed of the superimposition axis for superimposition control is set to be smaller than the clamping speed of the superimposition axis for normal control. This is set according to a value subtracted from the moving speed of the basic axis.

【0027】この発明による多系統数値制御装置におけ
る重畳制御方法では、重畳制御用の重畳軸のクランプ速
度が通常制御用の重畳軸のクランプ速度より重畳制御時
の基本軸の移動速度より差し引いた値に応じて設定され
る。
In the superposition control method in the multi-system numerical controller according to the present invention, the clamping speed of the superposition axis for superposition control is obtained by subtracting the clamping speed of the superposition axis for normal control from the moving speed of the basic axis during superposition control. It is set according to.

【0028】また上述の目的を達成するために、つぎの
発明による多系統数値制御装置は、或る系統の一つの軸
を基本軸として指定され、他の系統において基本軸と平
行な一つの軸を重畳軸として指定され、重畳制御指令に
より重畳軸の移動指令に基本軸の移動指令を重畳した移
動指令で重畳軸を軸移動制御を行う多系統数値制御装置
において、軸送りの限界速度を意味する重畳軸および基
本軸のクランプ速度と軸送りの加減速に要する時間を意
味する重畳軸および基本軸の加減速時定数の通常制御用
・重畳制御用切り換えを重畳軸と基本軸の個別の停止時
に個別に行うクランプ速度・時定数切り換え手段と、重
畳軸の補間処理を行う任意重畳補間処理手段とを有し、
前記クランプ速度・時定数切り換え手段が、重畳軸が停
止していると云う限定条件のみで任意の時点での重畳開
始指令により重畳軸のクランプ速度と加減速時定数とを
重畳制御用のものに切り換え、基本軸が停止し次第、基
本軸のクランプ速度と加減速時定数とを重畳制御用のも
のに切り換え、重畳軸のクランプ速度と加減速時定数が
重畳制御用のものに切り換った時点で前記任意重畳補間
処理手段により重畳制御開始位置に対する重畳軸の移動
を開始するものである。
In order to achieve the above object, a multi-system numerical controller according to the following invention is designed so that one axis of a certain system is designated as a basic axis and one axis of another system is parallel to the basic axis. Is specified as a superimposition axis, and in a multi-system numerical controller that performs axis movement control of a superimposition axis by a movement command obtained by superimposing a movement command of a basic axis on a movement command of a superimposition axis by a superimposition control command, means a limit speed of axis feed. Switching between normal control and superimposition control of the acceleration and deceleration time constants of the superimposed axis and the basic axis, which means the time required for acceleration and deceleration of the superimposed axis and the basic axis, and the stop of the superimposed axis and the basic axis. A switching speed / time constant switching means for performing individual superposition axes, and an arbitrary superposition interpolation processing means for performing interpolation processing of the superposition axis.
The clamping speed / time constant switching means changes the clamping speed and the acceleration / deceleration time constant of the superimposed axis to the one for superimposition control by a superimposition start command at any time only under a limited condition that the superimposed axis is stopped. Switching, as soon as the basic axis stops, the clamping speed and acceleration / deceleration time constant of the basic axis are switched to those for superposition control, and the clamping speed and acceleration / deceleration time constant of the superposition axis are switched to those for superposition control. At this point, the movement of the superimposition axis with respect to the superimposition control start position is started by the arbitrary superimposition interpolation processing means.

【0029】この発明による多系統数値制御装置では、
クランプ速度・時定数切り換え手段が、重畳軸が停止し
ていると云う限定条件のみで任意の時点での重畳開始指
令により重畳軸のクランプ速度と加減速時定数とを重畳
制御用のものに切り換え、基本軸が停止し次第、基本軸
のクランプ速度と加減速時定数とを重畳制御用のものに
切り換え、重畳軸のクランプ速度と加減速時定数が重畳
制御用のものに切り換った時点で、任意重畳補間処理手
段が重畳制御開始位置に対する重畳軸の移動を開始させ
る。
In the multi-system numerical controller according to the present invention,
The clamping speed / time constant switching means switches the clamping speed and acceleration / deceleration time constant of the superimposed axis to those for superimposition control by a superimposition start command at any time only under the limited condition that the superimposed axis is stopped. As soon as the basic axis stops, the clamping speed and the acceleration / deceleration time constant of the basic axis are switched to those for superimposition control, and the clamping speed and the acceleration / deceleration time constant of the superposition axis are switched to those for superimposition control. Then, the arbitrary superimposition interpolation processing means starts moving the superimposition axis with respect to the superimposition control start position.

【0030】つぎの発明による多系統数値制御装置は、
上述の多系統数値制御装置において、前記任意重畳補間
処理手段が、重畳開始指令あるいはパラメータ設定によ
る速度値で重畳軸を重畳制御開始位置まで移動させる補
間処理を行い、基本軸の停止により基本軸のクランプ速
度と加減速時定数が重畳制御用のものに切り換わった以
降に基本軸の移動量を重畳軸の移動指令に加算して重畳
軸を移動させる補間処理を行うものである。
The multi-system numerical controller according to the next invention has
In the above-described multi-system numerical controller, the arbitrary superimposition interpolation processing means performs an interpolation process of moving a superimposition axis to a superimposition control start position by a superposition start command or a speed value according to a parameter setting, and stopping the basic axis to control the basic axis. After the clamp speed and the acceleration / deceleration time constant are switched to those for superimposition control, an interpolation process for moving the superimposition axis by adding the movement amount of the basic axis to the movement command of the superimposition axis is performed.

【0031】この発明による多系統数値制御装置では、
任意重畳補間処理手段が畳開始指令あるいはパラメータ
設定による速度値で重畳軸を重畳制御開始位置まで移動
させる補間処理を行い、基本軸の停止により基本軸のク
ランプ速度と加減速時定数が重畳制御用のものに切り換
わった以降に基本軸の移動量を重畳軸の移動指令に加算
して重畳軸を移動させる補間処理を行う。
In the multi-system numerical controller according to the present invention,
Arbitrary superimposition interpolation processing means performs interpolation processing to move the superimposition axis to the superimposition control start position by the tatami start command or the speed value by parameter setting, and when the basic axis stops, the clamp speed and acceleration / deceleration time constant of the basic axis are used for superimposition control After the switching to the superposition axis, an interpolation process for moving the superposition axis by adding the movement amount of the basic axis to the superposition axis movement command is performed.

【0032】つぎの発明による多系統数値制御装置は、
上述の多系統数値制御装置において、前記任意重畳補間
処理手段は任意の時点での重畳終了指令により重畳軸を
重畳制御用の加減速時定数により減速停止させ、前記ク
ランプ速度・時定数切り換え手段が、重畳軸の停止をも
って基本軸の状態の如何に拘らず重畳軸のクランプ速度
と加減速時定数とを通常制御用のものに切り換え、基本
軸が停止し次第、基本軸のクランプ速度と加減速時定数
とを通常制御用のものに切り換えるものである。
The multi-system numerical controller according to the next invention has
In the above-described multi-system numerical controller, the arbitrary superimposition interpolation processing means decelerates and stops the superimposition axis by an acceleration / deceleration time constant for superimposition control according to a superimposition end command at an arbitrary time, and the clamp speed / time constant switching means is provided. When the superimposed axis stops, the clamp speed and acceleration / deceleration time constant of the superimposed axis are switched to those for normal control regardless of the state of the basic axis, and as soon as the basic axis stops, the clamp speed and acceleration / deceleration of the basic axis are changed. The time constant is switched to that for normal control.

【0033】この発明による多系統数値制御装置では、
任意重畳補間処理手段が任意の時点での重畳終了指令に
より重畳軸を重畳制御用の加減速時定数により減速停止
させ、クランプ速度・時定数切り換え手段が、重畳軸の
停止をもって基本軸の状態の如何に拘らず重畳軸のクラ
ンプ速度と加減速時定数とを通常制御用のものに切り換
え、基本軸が停止し次第、基本軸のクランプ速度と加減
速時定数とを通常制御用のものに切り換える。
In the multi-system numerical controller according to the present invention,
Arbitrary superimposition interpolation processing means decelerates and stops the superimposition axis according to the acceleration / deceleration time constant for superimposition control according to the superimposition end command at any time, and the clamp speed / time constant switching means changes the state of the basic axis when the superimposition axis stops. Regardless, the clamping speed and acceleration / deceleration time constant of the superimposed axis are switched to those for normal control, and as soon as the basic axis stops, the clamping speed and acceleration / deceleration time constant of the basic axis are switched to those for normal control. .

【0034】つぎの発明による多系統数値制御装置は、
上述の多系統数値制御装置において、重畳開始指令ある
いはパラメータによって基本軸のワーク座標原点に対す
る偏倚量をもって設定された重畳軸ワーク座標原点か
ら、基本軸の基本機械座標原点と重畳軸の基本機械座標
原点との相対距離と、基本軸の基本機械座標原点と基本
軸のワーク座標原点との相対距離とに基づいて基本機械
座標系における重畳軸ワーク座標原点の座標値を計算す
る重畳軸ワーク座標原点計算手段と、重畳開始指令ある
いはパラメータによって重畳軸ワーク座標原点に対する
偏倚量をもって設定された重畳制御開始位置を、前記重
畳軸ワーク座標原点計算手段により計算された重畳軸ワ
ーク座標原点の座標値に基づいて基本機械座標系におけ
る座標値に変換する計算を行う任意重畳制御開始位置計
算手段とを有し、前記任意重畳制御開始位置計算手段に
より計算された座標値をもって重畳軸を重畳制御開始位
置に移動させるものである。
The multi-system numerical controller according to the next invention has
In the above-described multi-system numerical controller, the basic machine coordinate origin of the basic axis and the basic machine coordinate origin of the superimposed axis are calculated from the superimposed axis work coordinate origin set by the superimposition start command or the parameter with the amount of deviation from the basic axis work coordinate origin. Calculates the coordinate value of the work coordinate origin of the superimposed axis in the basic machine coordinate system based on the relative distance between the base machine coordinate origin of the basic axis and the work coordinate origin of the basic axis. Means, and a superimposition control start position set by a superimposition start command or a parameter with a deviation amount from the superimposition axis work coordinate origin based on the coordinate value of the superimposition axis work coordinate origin calculated by the superimposition axis work coordinate origin calculation means. An arbitrary superimposition control start position calculating means for performing a calculation for converting to a coordinate value in the basic machine coordinate system; Is to move to the superposition control start position superimposition shaft with a calculated coordinate value by any superposition control start position calculation unit.

【0035】この発明による多系統数値制御装置では、
重畳軸ワーク座標原点計算手段が、重畳開始指令あるい
はパラメータによって基本軸のワーク座標原点に対する
偏倚量をもって設定された重畳軸ワーク座標原点から、
基本軸の基本機械座標原点と重畳軸の基本機械座標原点
との相対距離と、基本軸の基本機械座標原点と基本軸の
ワーク座標原点との相対距離とに基づいて基本機械座標
系における重畳軸ワーク座標原点の座標値を計算し、任
意重畳制御開始位置計算手段が重畳開始指令あるいはパ
ラメータによって重畳軸ワーク座標原点に対する偏倚量
をもって設定された重畳制御開始位置を、前記重畳軸ワ
ーク座標原点計算手段により計算された重畳軸ワーク座
標原点の座標値に基づいて基本機械座標系における座標
値に変換する計算を行い、任意重畳制御開始位置計算手
段により計算された座標値をもって重畳軸を重畳制御開
始位置に移動させることが行われる。
In the multi-system numerical controller according to the present invention,
The superimposing axis work coordinate origin calculating means calculates the superimposing axis work coordinate origin set by the superimposition start command or the parameter with the amount of deviation from the work coordinate origin of the basic axis.
The superimposed axis in the basic machine coordinate system based on the relative distance between the basic machine coordinate origin of the basic axis and the basic machine coordinate origin of the superimposed axis, and the relative distance between the basic machine coordinate origin of the basic axis and the work coordinate origin of the basic axis The coordinate value of the work coordinate origin is calculated, and the superimposition control start position set by the arbitrary superimposition control start position calculating means with the amount of deviation from the superimposition axis work coordinate origin by a superposition start command or parameter is calculated by the superimposition axis work coordinate origin calculation means. Is calculated based on the coordinate value of the work coordinate origin calculated by the superimposing axis, and the superimposing axis is superimposed on the basis of the coordinate value calculated by the arbitrary superimposing control start position calculating means. To be moved.

【0036】つぎの発明による多系統数値制御装置は、
上述の多系統数値制御装置において、前記任意重畳制御
開始位置計算手段により計算された任意重畳制御開始位
置を重畳開始指令あるいはパラメータによって設定され
た使用工具の工具長などを定義するオフセット量をもっ
て補正するオフセット補正手段を有しているものであ
る。
The multi-system numerical control device according to the next invention is as follows.
In the above-described multi-system numerical controller, the arbitrary superposition control start position calculated by the arbitrary superposition control start position calculation means is corrected with an offset amount that defines a tool length of a used tool set by a superposition start command or a parameter. It has offset correction means.

【0037】この発明による多系統数値制御装置では、
オフセット補正手段が任意重畳制御開始位置計算手段に
より計算された任意重畳制御開始位置を重畳開始指令あ
るいはパラメータによって設定された使用工具の工具長
などを定義するオフセット量をもって補正する。
In the multi-system numerical controller according to the present invention,
The offset correction means corrects the arbitrary superposition control start position calculated by the arbitrary superposition control start position calculation means with an offset amount defining a tool length of a used tool set by a superposition start command or a parameter.

【0038】つぎの発明による多系統数値制御装置は、
上述の多系統数値制御装置において、重畳終了指令によ
って重畳軸の基本機械座標系あるいはワーク座標系で指
定された重畳軸の重畳終了位置を計算する任意重畳制御
終了位置計算手段を有し、重畳軸を重畳終了指令による
重畳軸の停止後に通常制御用の加減速時定数を使用して
前記任意重畳制御終了位置計算手段により計算された重
畳終了位置に軸移動させるものである。
The multi-system numerical controller according to the next invention has
In the above-described multi-system numerical control device, there is provided an arbitrary superimposition control end position calculating means for calculating the superimposition end position of the superimposition axis specified in the basic mechanical coordinate system or the work coordinate system of the superimposition axis by the superimposition end command, Is moved to the superimposition end position calculated by the arbitrary superimposition control end position calculating means using the acceleration / deceleration time constant for normal control after the superimposition axis is stopped by the superimposition end command.

【0039】この発明による多系統数値制御装置では、
任意重畳制御終了位置計算手段が重畳終了指令によって
重畳軸の基本機械座標系あるいはワーク座標系で指定さ
れた重畳軸の重畳終了位置を計算し、重畳軸を重畳終了
指令による重畳軸の停止後に通常制御用の加減速時定数
を使用して任意重畳制御終了位置計算手段により計算さ
れた重畳終了位置に軸移動させることが行われる。
In the multi-system numerical controller according to the present invention,
Arbitrary superimposition control end position calculation means calculates the superimposition end position of the superimposition axis specified in the basic mechanical coordinate system or the work coordinate system of the superimposition axis by the superimposition end command, and sets the superimposition axis normally after the superimposition axis is stopped by the superimposition end command. The axis is moved to the superimposition end position calculated by the arbitrary superimposition control end position calculation means using the control acceleration / deceleration time constant.

【0040】つぎの発明による多系統数値制御装置は、
上述の多系統数値制御装置において、重畳制御用の重畳
軸のクランプ速度を、重畳制御時の基本軸の移動速度に
基づいて通常制御用の重畳軸のクランプ速度を超えない
ように計算し、重畳制御用の重畳軸のクランプ速度を最
適設定する重畳軸クランプ速度計算切り換え手段を有し
ているものである。
The multi-system numerical controller according to the next invention has
In the above-described multi-system numerical controller, the clamping speed of the superimposition axis for superimposition control is calculated based on the moving speed of the basic axis during superimposition control so as not to exceed the clamping speed of the superimposition axis for normal control, and the superimposition is performed. A superimposition axis clamping speed calculation switching means for optimally setting the clamping speed of the superposition axis for control is provided.

【0041】この発明による多系統数値制御装置では、
重畳軸クランプ速度計算切り換え手段が、重畳制御用の
重畳軸のクランプ速度を、重畳制御時の基本軸の移動速
度に基づいて通常制御用の重畳軸のクランプ速度を超え
ないように計算し、重畳制御用の重畳軸のクランプ速度
を最適設定する。
In the multi-system numerical controller according to the present invention,
The superimposing axis clamping speed calculation switching means calculates the clamping speed of the superimposing axis for superimposing control based on the moving speed of the basic axis during the superimposing control so as not to exceed the clamping speed of the superimposing axis for normal control. Optimum setting of the clamp speed of the superimposed axis for control.

【0042】[0042]

【発明の実施の形態】以下に添付の図を参照してこの発
明の実施の形態を詳細に説明する。なお、以下に説明す
るこの発明の実施の形態において上述の従来例と同一構
成の部分は、上述の従来例に付した符号と同一の符号を
付してその説明を省略する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In the embodiments of the present invention described below, the same components as those of the above-described conventional example are denoted by the same reference numerals as those of the above-described conventional example, and description thereof will be omitted.

【0043】(実施の形態1)図1はこの発明による多
系統数値制御装置の実施の形態1を示している。
(Embodiment 1) FIG. 1 shows Embodiment 1 of a multi-system numerical controller according to the present invention.

【0044】加工プログラム解析処理部10は通常の加
工プログラム解析手段11とに加えて任意重畳制御指令
解析手段12を含んでいる。任意重畳制御指令解析手段
12は、重畳開始指令(任意重畳開始指令)と、重畳終
了指令(任意重畳終了指令)とを解析する。
The machining program analysis processing section 10 includes an optional superimposition control command analyzing means 12 in addition to the ordinary machining program analyzing means 11. The arbitrary superposition control command analysis means 12 analyzes a superposition start command (arbitrary superposition start command) and a superposition end command (arbitrary superposition end command).

【0045】任意重畳開始指令は、例えば、G156の
指令コードで行われ、”G156重畳軸名称=基準軸名
称,P_D_R_F_;”と云う指令フォーマットで記
述される。
The arbitrary superposition start command is performed, for example, with a command code of G156, and is described in a command format of "G156 superimposed axis name = reference axis name, P_D_R_F_;".

【0046】基準軸名称は或る系統の一つの軸、例えば
第1系統Z軸(Z1軸)を基本軸として指定し、重畳軸
名称は他の系統において基本軸と平行な一つの軸、例え
ば第2系統Z軸(Z2軸)を重畳軸として指定する。
The reference axis name designates one axis of a certain system, for example, the first system Z axis (Z1 axis) as a basic axis, and the superimposed axis name designates one axis parallel to the basic axis in another system, for example, The second system Z axis (Z2 axis) is designated as the superimposition axis.

【0047】アドレスPは、重畳軸ワーク座標系指定を
意味し、重畳軸Z2のワーク座標原点を基本軸Z1のワ
ーク座標系で指定する。即ち、重畳軸Z2のワーク座標
原点を基本軸のワーク座標原点に対する偏倚量をもって
設定する。P指定は省略でき、P指定が省略されれば、
P0になり、基本軸Z1と重畳軸Z2のワーク座標原点
が一致する。
The address P means designation of the work coordinate system of the superimposition axis, and designates the work coordinate origin of the superimposition axis Z2 in the work coordinate system of the basic axis Z1. That is, the work coordinate origin of the superimposed axis Z2 is set with the amount of deviation from the work coordinate origin of the basic axis. The P specification can be omitted, and if the P specification is omitted,
P0 is reached, and the work coordinate origins of the basic axis Z1 and the superimposed axis Z2 match.

【0048】アドレスDは、重畳軸ワーク座標系オフセ
ット量を意味し、重畳軸Z2のワークオフセット量を指
定する。工具長が重畳軸の座標軸方向に存在する場合、
ワークオフセット量は使用工具の工具長を定義するオフ
セット量を含むことになる。D指定は省略でき、D指定
が省略されれば、D0になる。
The address D means an offset amount of the superimposed axis work coordinate system, and designates a work offset amount of the superimposed axis Z2. When the tool length exists in the coordinate axis direction of the superimposed axis,
The work offset amount includes an offset amount that defines the tool length of the used tool. The D designation can be omitted, and if the D designation is omitted, it becomes D0.

【0049】アドレスRは、任意重畳制御開始位置を意
味し、重畳制御を開始する時の重畳軸Z2の座標位置を
任意重畳開始指令後の重畳軸ワーク座標系で指定する。
R指定がない場合には、重畳軸Z2を移動せずに任意重
畳開始指令時の位置で重畳制御を開始する。
The address R indicates an arbitrary superposition control start position, and specifies the coordinate position of the superposition axis Z2 at the time of starting the superposition control in the superposition axis work coordinate system after the arbitrary superposition start command.
If there is no R designation, the superposition control is started at the position at the time of the arbitrary superposition start command without moving the superposition axis Z2.

【0050】アドレスFは、重畳制御開始位置移動速度
を意味し、重畳制御開始位置まで重畳軸Z2を移動する
速度を指定する。F指定がない場合には、パラメータ設
定された早送り速度になる。
The address F means the speed at which the superposition control start position moves, and specifies the speed at which the superposition axis Z2 is moved to the superposition control start position. If no F is specified, the fast-forward speed is set to the parameter.

【0051】任意重畳終了指令は、例えば、G156の
指令コードで行われ、”G156重畳軸名称,Qまたは
R_F_;”と云う指令フォーマットで記述される。
The arbitrary superimposition end command is performed by, for example, a G156 command code, and is described in a command format such as “G156 superimposition axis name, Q or R_F_;”.

【0052】アドレスQは、基本機械座標系による任意
重畳制御終了位置を意味し、重畳制御を終了する時の重
畳軸Z2の位置を重畳軸基本機械座標系で指定する。
The address Q means the end position of the arbitrary superimposition control in the basic machine coordinate system, and specifies the position of the superimposition axis Z2 when the superimposition control ends in the superimposition axis basic mechanical coordinate system.

【0053】アドレスRは、ワーク座標系による重畳制
御終了位置を意味し、重畳制御を終了する時の重畳軸Z
2の位置を任意重畳制御指令前の重畳軸ワーク座標系で
指定する。
The address R indicates a position at which the superimposition control in the work coordinate system ends, and the superimposition axis Z at the time of ending the superposition control.
Position 2 is specified in the superimposition axis work coordinate system before the arbitrary superposition control command.

【0054】なお、Q指定とR指定の何れの指定もない
場合には、重畳軸Z2を移動せず、その位置で重畳制御
を終了し、Q指定とR指定の両方がある場合にはQ指定
を優先する。
When neither the Q designation nor the R designation is specified, the superposition axis Z2 is not moved, and the superposition control ends at that position. Give priority to the specification.

【0055】アドレスFは、重畳制御終了位置移動速度
を意味し、任意重畳制御終了位置まで重畳軸Z2を移動
する速度を指定する。F指定がない場合には、パラメー
タ設定された早送り速度になる。
The address F means the moving speed of the superimposition control end position, and designates the speed of moving the superimposition axis Z2 to the arbitrary superimposition control end position. If no F is specified, the fast-forward speed is set to the parameter.

【0056】補間処理部30は、通常の補間処理手段3
1と、クランプ速度・時定数切り換え手段32と、任意
重畳補間処理手段33と、重畳軸ワーク座標原点計算手
段34と、任意重畳制御開始位置計算手段35と、オフ
セット補正手段36と、任意重畳制御終了位置計算手段
37とを有している。
The interpolation processing unit 30 is provided with a normal interpolation processing unit 3
1; clamping speed / time constant switching means 32; arbitrary superimposition interpolation processing means 33; superimposition axis work coordinate origin calculation means 34; arbitrary superposition control start position calculation means 35; offset correction means 36; And an end position calculating means 37.

【0057】クランプ速度・時定数切り換え手段32
は、軸送りの限界速度を意味する重畳軸Z2および基本
軸Z1のクランプ速度と軸送りの加減速に要する時間を
意味する重畳軸Z2および基本軸Z1の加減速時定数を
通常制御用のものと重畳制御用のものとの切り換えを重
畳軸Z2と基本軸Z1の個別の停止時に個別に行う。
Clamping speed / time constant switching means 32
Is used for normal control of the clamping speed of the superimposed axis Z2 and the basic axis Z1 meaning the limit speed of the axis feed and the acceleration / deceleration time constant of the superimposed axis Z2 and the basic axis Z1 meaning the time required for acceleration / deceleration of the axis feed. And switching for superimposition control are performed individually when the superimposition axis Z2 and the basic axis Z1 are individually stopped.

【0058】クランプ速度・時定数切り換え手段32
は、重畳軸Z2が停止していると云う限定条件のみで任
意の時点での重畳開始指令により重畳軸Z2のクランプ
速度と加減速時定数とを重畳制御用のものに切り換え、
基本軸Z1が停止し次第、基本軸Z1のクランプ速度と
加減速時定数とを重畳制御用のものに切り換える。
Clamping speed / time constant switching means 32
Switches the clamping speed and acceleration / deceleration time constant of the superimposition axis Z2 to those for superimposition control by a superposition start command at an arbitrary time only under the limited condition that the superimposition axis Z2 is stopped,
As soon as the basic axis Z1 stops, the clamp speed and the acceleration / deceleration time constant of the basic axis Z1 are switched to those for superimposition control.

【0059】任意重畳補間処理手段33は、重畳制御時
における重畳軸Z2の補間処理を行うものであり、重畳
軸Z2のクランプ速度と加減速時定数がクランプ速度・
時定数切り換え手段32によって重畳制御用のものに切
り換った時点で任意重畳制御開始位置に対する重畳軸Z
2の移動を開始し、任意重畳開始指令(F指令)による
速度値で重畳軸Z2を任意重畳制御開始位置まで移動さ
せる補間処理を行う。そして、基本軸Z2の停止により
基本軸Z1のクランプ速度と加減速時定数がクランプ速
度・時定数切り換え手段32によって重畳制御用のもの
に切り換えられた後に基本軸Z1の移動量を重畳軸Z2
の移動指令に加算して重畳軸Z2を移動させる補間処理
を行う。
The arbitrary superimposition interpolation processing means 33 performs interpolation processing of the superimposition axis Z2 during superimposition control.
When switching to the superposition control unit by the time constant switching means 32, the superposition axis Z with respect to the arbitrary superposition control start position
2 is started, and an interpolation process is performed to move the superimposition axis Z2 to an arbitrary superposition control start position at a speed value according to the arbitrary superposition start command (F command). After the stop of the basic axis Z2, the clamp speed and the acceleration / deceleration time constant of the basic axis Z1 are switched to those for superimposition control by the clamp speed / time constant switching means 32, and then the movement amount of the basic axis Z1 is changed to the superposition axis Z2.
Is added to the movement command to move the superimposition axis Z2.

【0060】また、任意重畳補間処理手段33は、任意
の時点での重畳終了指令により重畳軸Z2を重畳制御用
の加減速時定数により減速停止させ、クランプ速度・時
定数切り換え手段32は、重畳軸Z2の停止をもって基
本軸Z1の状態(停止あるいは移動中)の如何に拘ら
ず、重畳軸Z2のクランプ速度と加減速時定数とを通常
制御用のものに切り換え、基本軸Z1が停止し次第、基
本軸Z1のクランプ速度と加減速時定数とを通常制御用
のものに切り換える。
Further, the arbitrary superimposition interpolation processing means 33 decelerates and stops the superimposition axis Z2 according to the acceleration / deceleration time constant for superimposition control in response to the superimposition end command at an arbitrary time. Regardless of the state (stopping or moving) of the basic axis Z1 when the axis Z2 stops, the clamping speed and the acceleration / deceleration time constant of the superimposed axis Z2 are switched to those for normal control, and as soon as the basic axis Z1 stops. Then, the clamp speed and acceleration / deceleration time constant of the basic axis Z1 are switched to those for normal control.

【0061】重畳軸ワーク座標原点計算手段34は、図
2に示されているように、任意重畳開始指令(P指定)
あるいはパラメータによって基本軸Z1のワーク座標原
点に対する偏倚量pをもって設定された重畳軸Z2のワ
ーク座標原点から、基本軸Z1の基本機械座標原点と重
畳軸Z2の基本機械座標原点との相対距離(basep
s)と、基本軸Z1の基本機械座標原点と基本軸Z1の
ワーク座標原点との相対距離Aとに基づいて基本機械座
標系における重畳軸ワーク座標原点の座標値Moを計算
する。この計算は下式により行われる。
As shown in FIG. 2, the superimposing axis work coordinate origin calculating means 34 has an arbitrary superimposing start command (P designation).
Alternatively, a relative distance (basep) between the basic machine coordinate origin of the basic axis Z1 and the basic machine coordinate origin of the superimposed axis Z2 from the work coordinate origin of the superimposed axis Z2, which is set with a deviation amount p from the workpiece coordinate origin of the basic axis Z1 by a parameter.
s) and the coordinate value Mo of the superimposed axis work coordinate origin in the basic machine coordinate system is calculated based on the relative distance A between the basic machine coordinate origin of the basic axis Z1 and the work coordinate origin of the basic axis Z1. This calculation is performed by the following equation.

【0062】 座標値Mo=(baseps)−p−A …(1)Coordinate value Mo = (bases) −p−A (1)

【0063】任意重畳制御開始位置計算手段35は、図
2に示されているように、任意重畳開始指令(R指定)
あるいはパラメータによって重畳軸Z2のワーク座標原
点に対する偏倚量rをもって設定された任意重畳制御開
始位置から、重畳軸ワーク座標原点計算手段34により
計算された重畳軸ワーク座標原点の座標値Moに基づい
て基本機械座標系における任意重畳制御開始位置の座標
値Msを計算する。この計算は下式により行われる。
As shown in FIG. 2, the arbitrary superposition control start position calculating means 35 outputs an arbitrary superposition start command (R designation).
Alternatively, based on the coordinate value Mo of the superimposed axis work coordinate origin calculated by the superimposed axis work coordinate origin calculation means 34 from an arbitrary superimposition control start position set by the parameter with the deviation amount r of the superimposed axis Z2 with respect to the work coordinate origin. The coordinate value Ms of the arbitrary superposition control start position in the machine coordinate system is calculated. This calculation is performed by the following equation.

【0064】 座標値Ms=Mo−r …(2)Coordinate value Ms = Mor (2)

【0065】オフセット補正手段36は、図2に示され
ているように、任意重畳制御開始位置計算手段35によ
り計算された任意重畳制御開始位置を任意重畳開始指令
(D指定)あるいはパラメータによって設定された使用
工具の工具長などを定義するオフセット量dをもって補
正する。
As shown in FIG. 2, the offset correction means 36 sets the arbitrary superposition control start position calculated by the arbitrary superposition control start position calculation means 35 by an arbitrary superposition start command (D designation) or a parameter. The correction is performed using the offset amount d that defines the tool length of the used tool.

【0066】このオフセット量dを考慮する場合には、
任意重畳制御開始位置の座標値Ms’は下式により計算
される。
When considering the offset amount d,
The coordinate value Ms' of the arbitrary superimposition control start position is calculated by the following equation.

【0067】 座標値Ms’=Mo−r−d …(3)Coordinate value Ms ′ = Mord− (3)

【0068】図3に示されているように、重畳軸側の系
統に所属する刃物台100に、重畳軸Z2の軸線方向
(例えばZ軸方向)に長さがd1 、d2 、d3 と互いに
異なる工具T21〜T23が装備されている場合、D指
定は、図4(a)、(b)に示されているように、使用
工具に応じて選択される。これにより工具長の如何に拘
らず任意重畳制御開始位置がR指定による位置に決ま
り、工具長に応じてR指定を変更する必要がない。
As shown in FIG. 3, the tool rest 100 belonging to the system on the superimposed axis side has lengths d 1 , d 2 , d 3 in the axial direction (for example, the Z axis direction) of the superimposed axis Z2. When tools T21 to T23 different from each other are provided, the D designation is selected according to the tool to be used, as shown in FIGS. 4 (a) and 4 (b). As a result, the arbitrary superposition control start position is determined by the R designation regardless of the tool length, and there is no need to change the R designation according to the tool length.

【0069】任意重畳制御終了位置計算手段37は、任
意重畳終了指令(Q指定あるいはR指定)によって重畳
軸Z2の基本機械座標系あるいはワーク座標系で指定さ
れた重畳軸Z2の任意重畳制御終了位置を計算する。図
5はQ指定がq、R指定がrの時の重畳軸Z2の任意重
畳制御終了位置を示している。
The arbitrary superposition control end position calculating means 37 calculates an arbitrary superposition control end position of the superimposition axis Z2 specified in the basic mechanical coordinate system or the work coordinate system of the superposition axis Z2 by the arbitrary superposition end command (Q designation or R designation). Is calculated. FIG. 5 shows an arbitrary superimposition control end position of the superimposition axis Z2 when the Q designation is q and the R designation is r.

【0070】任意重畳補間処理手段33は、重畳軸Z2
を、任意重畳終了指令による重畳軸Z2の停止後に通常
制御用の加減速時定数を使用して任意重畳制御終了位置
計算手段37により計算された任意重畳制御終了位置に
軸移動させる。この時の移動速度は任意重畳終了指令の
F指定で設定することができる。
The arbitrary superimposition interpolation processing means 33 outputs the superimposition axis Z2
Is moved to the arbitrary superimposition control end position calculated by the arbitrary superimposition control end position calculating means 37 using the acceleration / deceleration time constant for normal control after the superposition axis Z2 is stopped by the arbitrary superimposition end command. The moving speed at this time can be set by F designation of an arbitrary superimposition end command.

【0071】機械制御信号処理部50は、機械制御信号
処理手段51に加えて、任意重畳完了信号出力手段52
を有している。
The machine control signal processing section 50 includes, in addition to the machine control signal processing section 51, an arbitrary superimposition completion signal output section 52.
have.

【0072】つぎに図6〜図12のフローチャートとタ
イミングチャートとを用いてこの発明による多系統数値
制御装置の動作およびこの発明による重畳制御方法の実
施要領について説明する。
Next, the operation of the multi-system numerical controller according to the present invention and the procedure for implementing the superposition control method according to the present invention will be described with reference to the flowcharts and timing charts of FIGS.

【0073】図6、図7は任意重畳制御開始ルーチンを
示している。加工プログラム解析処理部10の任意重畳
制御指令解析手段12によって任意重畳開始指令が解析
されると(ステップS10)、この解析結果をメモリ2
0に書き込み、任意重畳制御フラグをオンする(ステッ
プS11)。
FIGS. 6 and 7 show an arbitrary superposition control start routine. When the arbitrary superposition start command is analyzed by the arbitrary superposition control command analysis means 12 of the processing program analysis processing unit 10 (step S10), the analysis result is stored in the memory 2
0 is written, and the optional superimposition control flag is turned on (step S11).

【0074】つぎに、任意重畳開始指令より、重畳軸Z
2のワーク座標原点の指令値rと、任意重畳制御開始位
置の指令値rと、重畳制御開始位置移動速度fと、重畳
軸ワーク座標系オフセット量dを順に読み出し(ステッ
プS12〜ステップS15)、重畳軸ワーク座標原点計
算手段34によって(1)式により機械機械座標系によ
る重畳軸ワーク原点の座標値Moを計算し、任意重畳制
御開始位置計算手段35によって(3)式により任意重
畳制御開始位置の座標値Ms’を計算する(ステップS
16)。
Next, based on an arbitrary superposition start command, the superposition axis Z
2, the command value r of the work coordinate origin, the command value r of the arbitrary superposition control start position, the superposition control start position moving speed f, and the superposition axis work coordinate system offset d are sequentially read (steps S12 to S15). The superimposing axis work coordinate origin calculating means 34 calculates the coordinate value Mo of the superimposing axis work origin in the machine-mechanical coordinate system by the equation (1), and the arbitrary superimposing control starting position by the arbitrary superimposing control starting position calculating means 35 by the equation (3) Is calculated (step S
16).

【0075】つぎに、クランプ速度・時定数切り換え手
段32が停止中の重畳軸Z2のクランプ速度と加減速時
定数を重畳制御用のものに切り換え(ステップS1
7)、この切り換え完了後に、任意重畳補間処理手段3
3によって重畳軸Z2がプログラムで指定された速度f
をもって任意重畳制御開始位置に対する軸移動を開始す
る(ステップS18)。この重畳軸Z2の移動開始時点
は、図8で時点t1 により示されており、基準軸Z1は
移動中である。
Next, the clamp speed / time constant switching means 32 switches the clamp speed and acceleration / deceleration time constant of the stopped superimposition axis Z2 to those for superimposition control (step S1).
7) After the completion of this switching, the arbitrary superimposition interpolation processing means 3
3. The superimposed axis Z2 is set to the speed f specified by the program.
Then, the axis movement with respect to the arbitrary superposition control start position is started (step S18). Movement start time of the superimposed axis Z2 is shown by the time t 1 in FIG. 8, the reference axis Z1 is moving.

【0076】つぎに、重畳軸Z2が任意重畳制御開始位
置(Ms’)に移動したか否かを判別する(ステップS
20)。重畳軸Z2がまだ任意重畳制御開始位置(M
s’)に移動していない場合には(ステップS20否
定)、任意重畳制御フラグがオン状態で、基準軸Z1が
停止することを待つ(ステップS21)。
Next, it is determined whether or not the superimposition axis Z2 has moved to the arbitrary superposition control start position (Ms') (step S).
20). The superimposition axis Z2 is still at the arbitrary superposition control start position (M
If it has not moved to (s ′) (No at Step S20), the arbitrary superimposition control flag is on, and the control waits until the reference axis Z1 stops (Step S21).

【0077】図8の時点t2 で、停止確認手段62によ
って基準軸Z1の停止が確認されると、クランプ速度・
時定数切り換え手段32が停止中の基準軸Z1のクラン
プ速度と加減速時定数を重畳制御用のものに切り換え
(ステップS22)、重畳軸Z2のワーク座標を基準軸
の移動に同期して移動するように変更する(ステップS
23)。
At time t 2 in FIG. 8, when the stop of the reference axis Z 1 is confirmed by the stop confirmation means 62, the clamping speed
The time constant switching means 32 switches the clamp speed and acceleration / deceleration time constant of the stopped reference axis Z1 to those for superposition control (step S22), and moves the work coordinates of the superposition axis Z2 in synchronization with the movement of the reference axis. (Step S
23).

【0078】この後に基準軸側の加工プログラムの次ブ
ロックの実行により基準軸Z1が移動を開始し(ステッ
プS24)、任意重畳補間処理手段33が基準軸Z1の
移動量を重畳軸Z2の指令に加算して出力し(ステップ
S25)、基準軸停止フラグをオンする(ステップS2
6)。
Thereafter, the reference axis Z1 starts moving by executing the next block of the machining program on the reference axis side (step S24), and the arbitrary superimposition interpolation processing means 33 uses the movement amount of the reference axis Z1 as a command for the superimposition axis Z2. The output is added (step S25), and the reference axis stop flag is turned on (step S2).
6).

【0079】図8の時点t3 で示されているように、重
畳軸Z2が任意重畳制御開始位置(Ms’)に移動すれ
ば(ステップS20肯定)、任意重畳制御フラグがオン
で、且つ基準軸停止フラグであるかをチェックし、任意
重畳制御フラグがオンで、且つ基準軸停止フラグである
か否かを判断し(ステップS27)、肯定された場合に
は、任意重量完了信号出力手段52がラダー回路部55
に対して任意重畳完了信号を出力し(ステップS2
8)、否定された場合には、アラーム処理を行う(ステ
ップS29)。これにより任意重畳制御開始動作は完了
する。
[0079] As shown at t 3 in FIG. 8, if superimposed axis Z2 is them moved to any superposition control start position (Ms') (step S20: Yes), is on any superposition control flag, and the reference It is checked whether the flag is an axis stop flag, and it is determined whether or not the optional superimposition control flag is ON and whether or not it is a reference axis stop flag (step S27). Is the ladder circuit section 55
, An arbitrary superimposition completion signal is output (step S2
8) If negative, an alarm process is performed (step S29). Thereby, the arbitrary superposition control start operation is completed.

【0080】図9は任意重畳制御終了ルーチンを示して
いる。加工プログラム解析処理部10の任意重畳制御指
令解析手段12によって任意の時点での任意重畳終了指
令が解析されると(ステップS30)、この解析結果を
メモリ20に書き込み、任意重畳制御フラグがオフする
(ステップS31)。
FIG. 9 shows an arbitrary superposition control end routine. When the arbitrary superimposition end instruction at any time is analyzed by the arbitrary superimposition control instruction analysis means 12 of the processing program analysis processing unit 10 (step S30), the analysis result is written into the memory 20, and the arbitrary superposition control flag is turned off. (Step S31).

【0081】つぎに、任意重畳終了指令より、任意重畳
制御終了位置の指令値qあるいはrと、重畳制御終了位
置移動速度fとを読み出し(ステップ32、ステップS
33)、基準軸停止フラグと任意重畳完了信号とをオフ
し(ステップS34、ステップS35)、任意重畳制御
終了位置計算手段37によって任意重畳制御終了位置を
計算する(ステップS36)。
Next, the command value q or r of the arbitrary superimposition control end position and the superimposition control end position moving speed f are read from the arbitrary superimposition end command (step 32, step S32).
33) The reference axis stop flag and the optional superimposition completion signal are turned off (steps S34 and S35), and the optional superimposition control end position is calculated by the arbitrary superposition control end position calculating means 37 (step S36).

【0082】任意重畳制御終了位置の計算は、図10に
示されているように、基本機械座標系での重畳制御終了
位置指令である場合には(ステップS50肯定)、下式
に従って基本機械座標系での重畳制御終了位置を計算す
る(ステップS51)。
As shown in FIG. 10, if the superposition control end position command in the basic machine coordinate system is calculated (step S50: YES), the arbitrary superposition control end position is calculated according to the following equation. The superimposition control end position in the system is calculated (step S51).

【0083】任意重畳制御終了位置=重畳軸基本機械座
標原点+q
Arbitrary superposition control end position = superposition axis basic machine coordinate origin + q

【0084】これに対しワーク座標系での重畳制御終了
位置指令であれば(ステップS50否定)、下式に従っ
てワーク座標系での重畳制御終了位置を計算する(ステ
ップS52)。
On the other hand, if the command is the superimposition control end position command in the work coordinate system (No at Step S50), the superimposition control end position in the work coordinate system is calculated according to the following equation (Step S52).

【0085】任意重畳制御終了位置=任意重畳制御開始
指令前の重畳軸ワーク座標原点+r
Arbitrary superimposition control end position = work axis origin of superimposition axis before arbitrary superimposition control start command + r

【0086】また任意重畳終了指令の解析により、図1
2の時点t10で、重畳軸Z2が任意重畳補間処理手段3
3によって重畳制御用の加減速時定数をもって減速停止
させる(ステップS37)。
By analyzing the arbitrary superimposition end command, FIG.
At t 10 2, superimposed axis Z2 is optionally superimposed interpolation processing means 3
3 to decelerate and stop with the acceleration / deceleration time constant for superposition control (step S37).

【0087】図12の時点t11で、重畳軸Z2の停止が
確認されると(ステップS38)、基本軸Z2の状態の
如何に拘らずクランプ速度・時定数切り換え手段32に
よって重畳軸Z2のクランプ速度と加減速時定数とを任
意重畳制御開始指令前のもの、換言すれば通常制御用の
ものに切り換え(ステップS39)、重畳軸Z2のワー
ク座標原点を任意重畳制御開始指令前のものに戻す(ス
テップS40)。そして任意重畳補間処理手段33が重
畳軸Z2に基準軸Z1の指令を加算することを停止する
(ステップS41)。
[0087] At the time t 11 in FIG. 12, the stop of the superimposed axis Z2 is confirmed (step S38), the clamping of the superimposed axis Z2 by irrespective clamp speed and the time constant switching means 32 of the state basic axis Z2 The speed and the acceleration / deceleration time constant are switched to those before the start of the arbitrary superposition control, in other words, to those for the normal control (step S39), and the work coordinate origin of the superimposition axis Z2 is returned to that before the start of the arbitrary superposition control. (Step S40). Then, the arbitrary superimposition interpolation processing means 33 stops adding the command of the reference axis Z1 to the superimposition axis Z2 (step S41).

【0088】この後に、任意重畳補間処理手段33によ
って重畳軸Z2がプログラムで指定された速度fをもっ
て任意重畳制御終了位置に対する軸移動を開始する(ス
テップS42)。
Thereafter, the superimposition axis Z2 is started to move to the arbitrary superimposition control end position at the speed f specified by the program by the arbitrary superimposition interpolation processing means 33 (step S42).

【0089】この後は、図11に示されているように、
任意重畳制御フラグがオフ状態で、基準軸Z1が停止す
ることを待つ(ステップS43)。
After that, as shown in FIG.
While the arbitrary superimposition control flag is off, the control waits for the reference axis Z1 to stop (step S43).

【0090】図12の時点t12で、停止確認手段62に
よって基準軸Z1の停止が確認されると、クランプ速度
・時定数切り換え手段32が停止中の基準軸Z1のクラ
ンプ速度と加減速時定数とを任意重畳制御開始指令前の
もの、換言すれば通常制御用のものに切り換え(ステッ
プS44)、基準軸Z1を重畳制御の対象軸より切り離
す。
[0090] At the time t 12 in FIG. 12, the stop of the reference axis Z1 is confirmed by the stop confirming means 62, the clamping speed and acceleration and deceleration time constant of the reference axis Z1 of the clamp speed and the time constant switching means 32 is halted Are switched to the one before the arbitrary superposition control start command, in other words, the one for normal control (step S44), and the reference axis Z1 is disconnected from the target axis of the superposition control.

【0091】また図12の時点t13で、重畳軸Z2が任
意重畳制御終了位置に位置すると、任意重畳制御終了動
作が完了し、重畳軸Z2は任意重畳制御終了位置で、次
の動作に備える。
[0091] Also at time t 13 in FIG. 12, when the superposition axis Z2 is located at any superposition control end position, any superposition control termination operation is complete, superimposed axis Z2 is optionally superimposed control end position, ready for the next operation .

【0092】(実施の形態2)図13はこの発明による
多系統数値制御装置の実施の形態2を示している。尚、
図13に於いて、図1に対応する部分は図1に付した符
号と同一の符号を付けてその説明を省略する。
(Embodiment 2) FIG. 13 shows a multi-system numerical controller according to Embodiment 2 of the present invention. still,
13, portions corresponding to those in FIG. 1 are denoted by the same reference numerals as those in FIG. 1, and description thereof will be omitted.

【0093】この実施の形態2では、補間処理部30に
重畳軸クランプ速度計算切り換え手段38を有してい
る。重畳軸クランプ速度計算切り換え手段38は、重畳
軸Z2の重畳制御用のクランプ速度を、重畳制御時の基
本軸Z1の移動速度に基づいて通常制御用の重畳軸のク
ランプ速度を超えないように計算し、重畳制御用の重畳
軸のクランプ速度を最適設定する。この最適設定は、一
例として、図14に示されているように、重畳軸の通常
制御用の重畳軸のクランプ速度Vcより重畳制御時の基
準軸の指令移動速度Vbを差し引いた値に設定され、こ
れをカレントクランプ速度と呼ぶ。
In the second embodiment, the interpolation processing section 30 has the superimposing axis clamp speed calculation switching means 38. The superimposing axis clamp speed calculation switching means 38 calculates the superimposing axis Z2 superimposing control clamping speed so as not to exceed the normal control superimposing axis clamping speed based on the moving speed of the basic axis Z1 during the superimposing control. Then, the clamp speed of the superimposition axis for superimposition control is optimally set. As an example, this optimum setting is set to a value obtained by subtracting the command moving speed Vb of the reference axis during superposition control from the clamping speed Vc of the superposition axis for normal control of the superposition axis, as shown in FIG. , Which is called the current clamp speed.

【0094】図15は重畳軸の移動速度設定ルーチンを
示している。まず、基準軸Z1の指令移動速度Vbの読
み出しを行い(ステップS60)、重畳軸の通常制御用
のクランプ速度Vcより基準軸の指令移動速度Vbを差
し引いてカレントクランプ速度を計算する(ステップS
61)。
FIG. 15 shows a routine for setting the moving speed of the superimposed axis. First, the command movement speed Vb of the reference axis Z1 is read (step S60), and the current clamp speed is calculated by subtracting the command movement speed Vb of the reference axis from the clamp speed Vc for normal control of the superimposed axis (step S60).
61).

【0095】つぎに重畳軸の指令移動の速度が重畳軸の
カレントクランプ速度より大きいか否かの判別を行い
(ステップS62)、カレントクランプ速度≦重畳軸の
指令移動の速度であれば、速度オバーであるとして、重
畳軸の実移動速度をカレントクランプ速度に制限し(ス
テップS63)、カレントクランプ速度≦重畳軸の指令
移動の速度でない場合には、重畳軸の指令移動の速度を
そのまま重畳軸の実移動速度とする(ステップS6
4)。
Next, it is determined whether or not the speed of the command movement of the superposition axis is higher than the current clamping speed of the superposition axis (step S62). The actual moving speed of the superimposed axis is limited to the current clamp speed (step S63). If the current clamp speed is not equal to or less than the commanded speed of the superimposed axis, the commanded speed of the superimposed axis is used as it is. Set to the actual moving speed (Step S6
4).

【0096】これにより重畳軸が任意重畳制御開始位置
あるいは任意重畳制御終了位置にまで移動するのに要す
る時間が、Vc/2による一般的な重畳時クランプ速度
による場合に比して、図14にてΔtだけ短縮されるよ
うになる。
As a result, the time required for the superimposition axis to move to the arbitrary superimposition control start position or the arbitrary superimposition control end position is shorter than that in the case of the general superimposition clamping speed based on Vc / 2 in FIG. As a result, the time is reduced by Δt.

【0097】[0097]

【発明の効果】以上の説明から理解される如く、この発
明による多系統数値制御装置における重畳制御方法によ
れば、重畳軸および基本軸のクランプ速度と重畳軸およ
び基本軸の加減速時定数の通常制御用・重畳制御用切り
換えが重畳軸と基本軸の個別の停止時に個別に行われ、
重畳軸が停止していると云う限定条件のみで任意の時点
での重畳開始指令により重畳軸のクランプ速度と加減速
時定数とが重畳制御用のものに切り換えられて重畳軸が
重畳制御開始位置への移動開始し、基本軸が停止し次
第、基本軸のクランプ速度と加減速時定数とが重畳制御
用のものに切り換えられ、重畳制御が行われるから、重
畳制御指令前の系統間待ち合せ指令が不要になり、また
重畳制御指令時に、基準軸、重畳以外の軸は停止する必
要がなくなり、サイクルタイムが従来に比して短くな
る。
As will be understood from the above description, according to the superposition control method in the multi-system numerical controller according to the present invention, the clamping speed of the superposition axis and the basic axis and the acceleration / deceleration time constant of the superposition axis and the basic axis are determined. Switching between normal control and superimposition control is performed individually when the superimposition axis and basic axis are individually stopped,
The clamp speed and acceleration / deceleration time constant of the superimposed axis are switched to those for superimposition control by the superimposition start command at any time only under the limited condition that the superimposition axis is stopped, and the superimposition axis is shifted to the superimposition control start position. As soon as the basic axis is stopped and the basic axis stops, the clamping speed and the acceleration / deceleration time constant of the basic axis are switched to those for superimposition control, and superimposition control is performed. Is unnecessary, and when the superimposition control command is issued, it is not necessary to stop the reference axis and the axes other than the superimposition, and the cycle time becomes shorter than before.

【0098】つぎの発明による多系統数値制御装置にお
ける重畳制御方法によれば、任意の時点での重畳終了指
令により重畳軸が重畳制御用の加減速時定数をもって減
速停止し、この重畳軸の停止をもって基本軸の状態の如
何に拘らず重畳軸のクランプ速度と加減速時定数とが通
常制御用のものに切り換えられ、基本軸が停止し次第、
基本軸のクランプ速度と加減速時定数とが通常制御用の
ものに切り換えられるから、重畳制御指令前の系統間待
ち合せ指令が不要になり、また重畳制御指令時に、基準
軸、重畳以外の軸は停止する必要がなくなり、サイクル
タイムが従来に比して短くなる。
According to the superimposition control method in the multi-system numerical controller according to the next invention, the superimposition axis is decelerated and stopped with the acceleration / deceleration time constant for the superimposition control by the superimposition end command at an arbitrary time, and the superimposition axis is stopped. Regardless of the state of the basic axis, the clamping speed and the acceleration / deceleration time constant of the superimposed axis are switched to those for normal control, and as soon as the basic axis stops,
Since the clamping speed and the acceleration / deceleration time constant of the basic axis are switched to those for normal control, a waiting command between systems before the superimposition control command is unnecessary. There is no need to stop, and the cycle time is shorter than before.

【0099】つぎの発明による多系統数値制御装置にお
ける重畳制御方法によれば、座標値に変換された重畳軸
ワーク座標原点の座標値に基づいて、重畳開始指令ある
いはパラメータによって重畳軸ワーク座標原点に対する
偏倚量をもって設定した重畳制御開始位置が重畳軸ワー
ク座標原点の基本機械座標系における座標値に基づいて
基本機械座標系における座標値に変換され、この座標値
をもって重畳軸を重畳制御開始位置に移動させることが
行われるから、重畳制御時の基準軸と重畳軸の位置関係
を常に一定とするためにユーザプログラムで決められた
位置に重畳軸を予め位置決めする必要がなくなり、ユー
ザが予め演算して座標軸系設定しなくてもよくなり、プ
ログラムの作成が簡単になる共に、サイクルタイムが従
来に比して短くなる。
According to the superposition control method in the multi-system numerical controller according to the next invention, the superposition start command or the parameter is used to control the superposition axis work coordinate origin based on the coordinate value of the superposition axis work coordinate origin converted into the coordinate value. The superimposition control start position set based on the amount of deviation is converted into a coordinate value in the basic machine coordinate system based on the coordinate value of the work coordinate origin in the basic machine coordinate system, and the superimposition axis is moved to the superimposition control start position using the coordinate values. Is performed, it is not necessary to previously position the superimposition axis at a position determined by a user program in order to always keep the positional relationship between the reference axis and the superimposition axis during superimposition control, and the user has to calculate in advance. It is not necessary to set the coordinate axis system, making program creation easier and cycle time shorter than before. .

【0100】つぎの発明による多系統数値制御装置にお
ける重畳制御方法によれば、使用工具の工具長などを定
義するオフセット量が重畳開始指令あるいはパラメータ
によって設定され、このオフセット量を考慮して基本機
械座標系における前記重畳制御開始位置の座標値が自動
演算されるから、工具が変換されても、工具長を考慮し
て同じ位置で重畳制御を行うことができる。
According to the superposition control method in the multi-system numerical controller according to the next invention, an offset amount defining a tool length of a tool to be used is set by a superposition start command or a parameter. Since the coordinate value of the superposition control start position in the coordinate system is automatically calculated, the superposition control can be performed at the same position in consideration of the tool length even if the tool is converted.

【0101】つぎの発明による多系統数値制御装置にお
ける重畳制御方法によれば、重畳終了指令によって重畳
軸の重畳終了位置が重畳軸の基本機械座標系あるいはワ
ーク座標系で指定され、重畳終了指令による重畳軸の停
止後に通常制御用の加減速時定数を使用して重畳軸を重
畳終了位置に軸移動させることが行われるから、重畳制
御を終了するときの状況で、重畳軸を基本機械座標系で
位置決めしたいケースとワーク座標系で位置決めしたい
ケースの何れにも対応できるようになる。
According to the superimposition control method in the multi-system numerical controller according to the next invention, the superimposition end position of the superimposition axis is specified in the basic mechanical coordinate system or the work coordinate system of the superimposition axis by the superimposition end command, After the superimposition axis is stopped, the superimposition axis is moved to the superimposition end position using the acceleration / deceleration time constant for normal control. Therefore, when the superimposition control ends, the superimposition axis is moved to the basic mechanical coordinate system. Thus, it is possible to cope with both cases where positioning is desired and cases where positioning is desired in the work coordinate system.

【0102】つぎの発明による多系統数値制御装置にお
ける重畳制御方法によれば、重畳制御用の重畳軸のクラ
ンプ速度が通常制御用の重畳軸のクランプ速度より重畳
制御時の基本軸の移動速度より差し引いた値に応じて設
定されるから、重畳制御用の重畳軸のクランプ速度が必
要以上に低い値に設定されることがなくなり、サイクル
タイムが従来に比して短くなる。
According to the superposition control method in the multi-system numerical controller according to the next invention, the clamping speed of the superposition axis for the superposition control is more than the moving speed of the basic axis during the superposition control than the clamping speed of the superposition axis for the normal control. Since the setting is made in accordance with the subtracted value, the clamping speed of the superposition axis for superposition control is not set to a value lower than necessary, and the cycle time is shortened as compared with the related art.

【0103】つぎの発明による多系統数値制御装置によ
れば、クランプ速度・時定数切り換え手段が重畳軸が停
止していると云う限定条件のみで任意の時点での重畳開
始指令により重畳軸のクランプ速度と加減速時定数とを
重畳制御用のものに切り換え、基本軸が停止し次第、基
本軸のクランプ速度と加減速時定数とを重畳制御用のも
のに切り換え、重畳軸のクランプ速度と加減速時定数が
重畳制御用のものに切り換った時点で任意重畳補間処理
手段が重畳制御開始位置に対する重畳軸の移動を開始さ
せるから、重畳制御指令前の系統間待ち合せ指令が不要
になり、また重畳制御指令時に、基準軸、重畳以外の軸
は停止する必要がなくなり、サイクルタイムが従来に比
して短くなる。
According to the multi-system numerical controller according to the next invention, the clamping speed / time constant switching means performs the clamping of the superimposed axis by the superimposition start command at any time only under the limited condition that the superimposed axis is stopped. The speed and acceleration / deceleration time constant are switched to those for superimposition control, and as soon as the basic axis stops, the clamp speed and acceleration / deceleration time constant of the basic axis are switched to those for superimposition control, and the clamping speed and acceleration / deceleration of the superposition axis are changed. When the deceleration time constant is switched to the one for superimposition control, the arbitrary superimposition interpolation processing means starts moving the superimposition axis with respect to the superimposition control start position, so that a waiting command between systems before the superimposition control command becomes unnecessary. In addition, at the time of the superimposition control command, it is not necessary to stop the reference axis and the axes other than the superimposition, and the cycle time becomes shorter than before.

【0104】つぎの発明による多系統数値制御装置によ
れば、任意重畳補間処理手段が畳開始指令あるいはパラ
メータ設定による速度値で重畳軸を重畳制御開始位置ま
で移動させる補間処理を行い、基本軸の停止により基本
軸のクランプ速度と加減速時定数が重畳制御用のものに
切り換わった以降に基本軸の移動量を重畳軸の移動指令
に加算して重畳軸を移動させる補間処理を行うから、重
畳制御指令前の系統間待ち合せ指令が不要になり、また
重畳制御指令時に、基準軸、重畳以外の軸は停止する必
要がなくなり、サイクルタイムが従来に比して短くな
る。
According to the multi-system numerical controller according to the next invention, the arbitrary superimposition interpolation processing means performs an interpolation process of moving the superimposition axis to the superimposition control start position by the tatami start command or the speed value according to the parameter setting. After the stop, the clamp speed and acceleration / deceleration time constant of the basic axis are switched to those for superimposition control. After that, the interpolation processing for adding the movement amount of the basic axis to the superposition axis movement command and moving the superimposition axis is performed. There is no need for a waiting command between systems before the superposition control command, and at the time of the superposition control command, there is no need to stop the axes other than the reference axis and the superposition, and the cycle time is shorter than in the past.

【0105】つぎの発明による多系統数値制御装置によ
れば、任意重畳補間処理手段が任意の時点での重畳終了
指令により重畳軸を重畳制御用の加減速時定数により減
速停止させ、クランプ速度・時定数切り換え手段が、重
畳軸の停止をもって基本軸の状態の如何に拘らず重畳軸
のクランプ速度と加減速時定数とを通常制御用のものに
切り換え、基本軸が停止し次第、基本軸のクランプ速度
と加減速時定数とを通常制御用のものに切り換えるか
ら、重畳終了前の系統間待ち合せ指令が不要になり、サ
イクルタイムが従来に比して短くなる。
According to the multi-system numerical controller according to the next invention, the arbitrary superimposition interpolation processing means decelerates and stops the superimposition axis according to the acceleration / deceleration time constant for the superimposition control in response to the superimposition end command at any time. Time constant switching means switches the clamping speed and acceleration / deceleration time constant of the superimposed axis to those for normal control when the superimposed axis stops, regardless of the state of the basic axis. Since the clamp speed and the acceleration / deceleration time constant are switched to those for normal control, there is no need for a waiting command between systems before the end of superposition, and the cycle time is shorter than in the past.

【0106】つぎの発明による多系統数値制御装置によ
れば、重畳軸ワーク座標原点計算手段が基本機械座標系
における重畳軸ワーク座標原点の座標値を計算し、任意
重畳制御開始位置計算手段が重畳開始指令あるいはパラ
メータによって重畳軸ワーク座標原点に対する偏倚量を
もって設定された重畳制御開始位置を、前記重畳軸ワー
ク座標原点計算手段により計算された重畳軸ワーク座標
原点の座標値に基づいて基本機械座標系における座標値
に変換する計算を行い、任意重畳制御開始位置計算手段
により計算された座標値をもって重畳軸を重畳制御開始
位置に移動させるから、重畳制御時の基準軸と重畳軸の
位置関係を常に一定とするためにユーザプログラムで決
められた位置に重畳軸を予め位置決めする必要がなくな
り、ユーザが予め演算して座標軸系設定しなくてもよく
なり、プログラムの作成が簡単になる共に、サイクルタ
イムが従来に比して短くなる。
According to the multi-system numerical controller according to the next invention, the superimposition axis work coordinate origin calculating means calculates the coordinate value of the superimposition axis work coordinate origin in the basic machine coordinate system, and the arbitrary superposition control start position calculating means calculates the superimposition control start position. A superimposition control start position set by a start command or a parameter with a deviation amount with respect to the superimposed axis work coordinate origin is determined based on the coordinate value of the superimposed axis work coordinate origin calculated by the superimposed axis work coordinate origin calculation means. Is performed, and the superimposition axis is moved to the superimposition control start position based on the coordinate value calculated by the arbitrary superimposition control start position calculation means. There is no need to pre-position the superimposition axis at the position determined by the user program in order to keep it constant. Calculation was made may not be set coordinate system, both the creation of the program becomes simple, the cycle time is shortened compared with the conventional.

【0107】つぎの発明による多系統数値制御装置によ
れば、オフセット補正手段が任意重畳制御開始位置計算
手段により計算された任意重畳制御開始位置を重畳開始
指令あるいはパラメータによって設定された使用工具の
工具長などを定義するオフセット量をもって補正するか
ら、工具が変換されても、工具長を考慮して同じ位置で
重畳制御を行うことができる。
According to the multi-system numerical controller according to the next invention, the offset correction means sets the arbitrary superposition control start position calculated by the arbitrary superposition control start position calculation means by the tool of the tool used by the superposition start command or the parameter. Since the correction is performed using the offset amount that defines the length and the like, even when the tool is converted, the superposition control can be performed at the same position in consideration of the tool length.

【0108】つぎの発明による多系統数値制御装置によ
れば、任意重畳制御終了位置計算手段が重畳終了指令に
よって重畳軸の基本機械座標系あるいはワーク座標系で
指定された重畳軸の重畳終了位置を計算し、重畳軸を重
畳終了指令による重畳軸の停止後に通常制御用の加減速
時定数を使用して任意重畳制御終了位置計算手段により
計算された重畳終了位置に軸移動させることが行われる
から、重畳制御を終了するときの状況で、重畳軸を基本
機械座標系で位置決めしたいケースとワーク座標系で位
置決めしたいケースの何れにも対応できるようになる。
According to the multi-system numerical controller according to the next invention, the arbitrary superimposition control end position calculating means determines the superimposition end position of the superimposition axis specified in the basic mechanical coordinate system or the work coordinate system of the superimposition axis by the superimposition end command. After calculation, the superimposition axis is moved to the superimposition end position calculated by the arbitrary superimposition control end position calculation means using the acceleration / deceleration time constant for normal control after the superimposition axis is stopped by the superimposition end command. In the situation where the superimposition control is ended, it becomes possible to cope with both the case where the superposition axis is to be positioned in the basic machine coordinate system and the case where the superposition axis is to be positioned in the work coordinate system.

【0109】つぎの発明による多系統数値制御装置によ
れば、重畳軸クランプ速度計算切り換え手段が、重畳制
御用の重畳軸のクランプ速度を、重畳制御時の基本軸の
移動速度に基づいて通常制御用の重畳軸のクランプ速度
を超えないように計算し、重畳制御用の重畳軸のクラン
プ速度を最適設定するから、重畳制御用の重畳軸のクラ
ンプ速度が必要以上に低い値に設定されることがなくな
り、サイクルタイムが従来に比して短くなる。
According to the multi-system numerical controller according to the next invention, the superposition axis clamping speed calculation switching means controls the clamping speed of the superposition axis for superposition control based on the moving speed of the basic axis during the superposition control. The clamping speed of the superposition axis for superposition control is calculated so as not to exceed the clamping speed of the superposition axis for superposition control, and the clamping speed of the superposition axis for superposition control is set to an unnecessarily low value. And the cycle time becomes shorter than before.

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

【図1】 この発明による多系統数値制御装置の実施の
形態1を示すブロック線図である。
FIG. 1 is a block diagram showing Embodiment 1 of a multi-system numerical controller according to the present invention.

【図2】 重畳制御開始時における基準軸と重畳軸の座
標位置関係を示す説明図である。
FIG. 2 is an explanatory diagram illustrating a coordinate positional relationship between a reference axis and a superimposed axis at the time of starting superimposition control.

【図3】 複数個の工具を装備された刃物台の一例を示
す平面図である。
FIG. 3 is a plan view showing an example of a tool rest equipped with a plurality of tools.

【図4】 (a)、(b)は各々重畳制御における工具
長オフセット補正を示す説明図である。
FIGS. 4A and 4B are explanatory diagrams illustrating tool length offset correction in superimposition control, respectively.

【図5】 重畳制御終了時における基準軸と重畳軸の座
標位置関係を示す説明図である。
FIG. 5 is an explanatory diagram showing a coordinate positional relationship between a reference axis and a superimposed axis at the time of completion of superimposition control.

【図6】 任意重畳制御開始ルーチンの前半部分を示す
フローチャートである。
FIG. 6 is a flowchart showing a first half of an arbitrary superposition control start routine.

【図7】 任意重畳制御開始ルーチンの後半部分を示す
フローチャートである。
FIG. 7 is a flowchart showing a latter half of an arbitrary superposition control start routine.

【図8】 任意重畳制御開始時の基準軸と重畳軸の動作
タイミングを示すタイミングチャートである。
FIG. 8 is a timing chart showing operation timings of the reference axis and the superimposition axis at the start of the arbitrary superposition control.

【図9】 任意重畳制御終了ルーチンを示すフローチャ
ートである。
FIG. 9 is a flowchart illustrating an arbitrary superposition control end routine.

【図10】 任意重畳制御終了位置の計算ルーチンを示
すフローチャートである。
FIG. 10 is a flowchart showing a routine for calculating an arbitrary superposition control end position.

【図11】 任意重畳制御終了ルーチンにおける基準軸
停止処理を示すフローチャートである。
FIG. 11 is a flowchart showing reference axis stop processing in an arbitrary superposition control end routine.

【図12】 任意重畳制御終了時の基準軸と重畳軸の動
作タイミングを示すタイミングチャートである。
FIG. 12 is a timing chart showing the operation timing of the reference axis and the superimposed axis at the end of the arbitrary superposition control.

【図13】 この発明による多系統数値制御装置の実施
の形態2を示すブロック線図である。
FIG. 13 is a block diagram showing Embodiment 2 of the multi-system numerical controller according to the present invention.

【図14】 任意重畳制御時の動作状態を示すタイミン
グチャートである。
FIG. 14 is a timing chart showing an operation state at the time of arbitrary superposition control.

【図15】 重畳軸の移動速度設定ルーチンを示すフロ
ーチャートである。
FIG. 15 is a flowchart illustrating a moving speed setting routine of a superimposition axis.

【図16】 重畳制御機能を有する多系統数値制御装置
の従来例を示すブロック線図である。
FIG. 16 is a block diagram showing a conventional example of a multi-system numerical controller having a superimposition control function.

【図17】 従来の多系統数値制御装置における重畳制
御動作を示すタイミングチャートである。
FIG. 17 is a timing chart showing a superposition control operation in a conventional multi-system numerical controller.

【符号の説明】[Explanation of symbols]

1 数値制御装置,10 加工プログラム解析処理部,
11 加工プログラム解析処理手段,12 任意重畳制
御指令解析手段,20 メモリ,21 パラメータ設定
部,22 画面表示処理部,30 補間処理部,31
補間処理手段,32 クランプ速度・時定数切り換え手
段,33 任意重畳補間処理手段,34重畳軸ワーク座
標原点計算手段,35 任意重畳制御開始位置計算手
段,36オフセット補正手段,37 任意重畳制御終了
位置計算手段,38 重畳軸クランプ速度計算切り換え
手段,50 機械制御信号処理部,51 機械制御信号
処理手段,52 任意重畳完了信号出力手段,55 ラ
ダー回路部,60 軸制御部,61 加減速処理手段,
62 停止確認手段,70 軸移動量出力回路,80
サーボ制御部,90 サーボモータ
1 Numerical control unit, 10 Machining program analysis processing unit,
11 processing program analysis processing means, 12 arbitrary superposition control command analysis means, 20 memory, 21 parameter setting section, 22 screen display processing section, 30 interpolation processing section, 31
Interpolation processing means, 32 Clamping speed / time constant switching means, 33 Arbitrary superimposition interpolation processing means, 34 Superimposition axis work coordinate origin calculation means, 35 Arbitrary superimposition control start position calculation means, 36 Offset correction means, 37 Arbitrary superimposition control end position calculation Means, 38 superimposition axis clamp speed calculation switching means, 50 machine control signal processing section, 51 machine control signal processing means, 52 arbitrary superposition completion signal output means, 55 ladder circuit section, 60 axis control section, 61 acceleration / deceleration processing means,
62 Stop confirmation means, 70 Axis movement amount output circuit, 80
Servo control unit, 90 servo motor

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 或る系統の一つの軸を基本軸として指定
し、他の系統において基本軸と平行な一つの軸を重畳軸
として指定し、重畳制御指令により重畳軸の移動指令に
基本軸の移動指令を重畳した移動指令で重畳軸の軸移動
制御を行う多系統数値制御装置における重畳制御方法に
おいて、 軸送りの限界速度を意味する重畳軸および基本軸のクラ
ンプ速度と軸送りの加減速に要する時間を意味する重畳
軸および基本軸の加減速時定数の通常制御用・重畳制御
用切り換えを重畳軸と基本軸の個別の停止時に個別に行
い、重畳軸が停止していると云う限定条件のみで任意の
時点での重畳開始指令により重畳軸のクランプ速度と加
減速時定数とを重畳制御用のものに切り換えて重畳制御
開始位置への重畳軸の移動開始を行い、基本軸が停止し
次第、基本軸のクランプ速度と加減速時定数とを重畳制
御用のものに切り換え、重畳制御を行うことを特徴とす
る多系統数値制御装置における重畳制御方法。
1. An axis of a certain system is designated as a basic axis, and an axis parallel to the basic axis in another system is designated as a superposition axis. In the superimposition control method in the multi-system numerical controller that controls the axis movement of the superimposed axis by the superimposed movement command, the clamping speed of the superimposed axis and the basic axis, which means the limit speed of the axis feed, and the acceleration / deceleration of the axis feed Switching between normal control and superimposition control of the acceleration and deceleration time constants of the superimposed axis and the basic axis, which means the time required for the superimposed axis and the basic axis, is individually performed when the superimposed axis and the basic axis are individually stopped, and the superimposed axis is stopped Switching the clamp speed and acceleration / deceleration time constant of the superimposed axis to those for superimposition control by the superimposition start command at any time only under the conditions, and start the movement of the superimposition axis to the superimposition control start position, and stop the basic axis As soon as Switching a clamp speed and acceleration and deceleration time constant of the axis to that for superposing control, superimposing control method in the multi-path numerical control device and performs superposition control.
【請求項2】 任意の時点での重畳終了指令により重畳
軸を重畳制御用の加減速時定数により減速停止させ、重
畳軸の停止をもって基本軸の状態の如何に拘らず重畳軸
のクランプ速度と加減速時定数とを通常制御用のものに
切り換え、基本軸が停止し次第、基本軸のクランプ速度
と加減速時定数とを通常制御用のものに切り換えること
を特徴とする請求項1に記載の多系統数値制御装置にお
ける重畳制御方法。
2. A superimposition axis is decelerated and stopped by an acceleration / deceleration time constant for superimposition control according to a superimposition end command at an arbitrary time. The acceleration / deceleration time constant is switched to that for normal control, and as soon as the basic axis stops, the clamp speed and acceleration / deceleration time constant of the basic axis are switched to those for normal control. Superposition control method in the multi-system numerical controller of the above.
【請求項3】 重畳開始指令あるいはパラメータによっ
て重畳軸ワーク座標原点を基本軸のワーク座標原点に対
する偏倚量をもって設定し、基本軸の基本機械座標原点
と重畳軸の基本機械座標原点との相対距離と、基本軸の
基本機械座標原点と基本軸のワーク座標原点との相対距
離とから自動演算によって重畳軸ワーク座標原点を基本
機械座標系における座標値に変換し、この座標値に基づ
いて重畳開始指令あるいはパラメータによって重畳軸ワ
ーク座標原点に対する偏倚量をもって設定した重畳制御
開始位置を、重畳軸ワーク座標原点の基本機械座標系に
おける座標値に基づいて基本機械座標系における座標値
に変換し、この座標値をもって重畳軸を重畳制御開始位
置に移動させることを特徴とする請求項1または2に記
載の多系統数値制御装置における重畳制御方法。
3. The work coordinate origin of the superimposition axis is set with a deviation amount from the work coordinate origin of the basic axis by a superposition start command or a parameter, and the relative distance between the basic machine coordinate origin of the basic axis and the basic machine coordinate origin of the superposition axis is determined. Based on the relative distance between the basic machine coordinate origin of the basic axis and the work coordinate origin of the basic axis, the work axis origin of the superimposed axis is automatically converted into a coordinate value in the basic machine coordinate system by the automatic calculation. Alternatively, the superimposition control start position set by the parameter with the amount of deviation from the origin of the superimposed axis work coordinate is converted into a coordinate value in the basic machine coordinate system based on the coordinate value of the origin of the superimposed axis work coordinate in the basic machine coordinate system. 3. The multi-system numerical control according to claim 1, wherein the superimposing axis is moved to the superimposition control start position by the following. Superposition control method in the device.
【請求項4】 使用工具の工具長などを定義するオフセ
ット量を重畳開始指令あるいはパラメータによって設定
し、このオフセット量を考慮して基本機械座標系におけ
る前記重畳制御開始位置の座標値を自動演算することを
特徴とする請求項3に記載の多系統数値制御装置におけ
る重畳制御方法。
4. An offset amount defining a tool length of a tool to be used or the like is set by a superposition start command or a parameter, and a coordinate value of the superposition control start position in a basic machine coordinate system is automatically calculated in consideration of the offset amount. 4. The superposition control method in the multi-system numerical control device according to claim 3, wherein:
【請求項5】 重畳終了指令によって重畳軸の重畳終了
位置を重畳軸の基本機械座標系あるいはワーク座標系で
指定し、重畳終了指令による重畳軸の停止後に通常制御
用の加減速時定数を使用して重畳軸を重畳終了位置に軸
移動させることを特徴とする請求項2〜4の何れかに記
載の多系統数値制御装置における重畳制御方法。
5. The superimposition end position of the superimposition axis is designated by the superposition end command in the basic mechanical coordinate system or the work coordinate system of the superposition axis, and the acceleration / deceleration time constant for normal control is used after the superposition axis is stopped by the superposition end command. The superimposition control method according to any one of claims 2 to 4, wherein the superimposition axis is moved to the superimposition end position.
【請求項6】 重畳制御用の重畳軸のクランプ速度を、
通常制御用の重畳軸のクランプ速度より重畳制御時の基
本軸の移動速度から差し引いた値に応じて設定すること
を特徴とする請求項1〜4の何れかに記載の多系統数値
制御装置における重畳制御方法。
6. A clamping speed of a superimposing axis for superimposing control,
The multi-system numerical controller according to any one of claims 1 to 4, wherein the setting is performed in accordance with a value obtained by subtracting a moving speed of a basic axis during superimposition control from a clamping speed of a superimposition axis for normal control. Superposition control method.
【請求項7】 或る系統の一つの軸を基本軸として指定
され、他の系統において基本軸と平行な一つの軸を重畳
軸として指定され、重畳制御指令により重畳軸の移動指
令に基本軸の移動指令を重畳した移動指令で重畳軸を軸
移動制御を行う多系統数値制御装置において、 軸送りの限界速度を意味する重畳軸および基本軸のクラ
ンプ速度と軸送りの加減速に要する時間を意味する重畳
軸および基本軸の加減速時定数の通常制御用・重畳制御
用切り換えを重畳軸と基本軸の個別の停止時に個別に行
うクランプ速度・時定数切り換え手段と、重畳軸の補間
処理を行う任意重畳補間処理手段と、を有し、前記クラ
ンプ速度・時定数切り換え手段は、重畳軸が停止してい
ると云う限定条件のみで任意の時点での重畳開始指令に
より重畳軸のクランプ速度と加減速時定数とを重畳制御
用のものに切り換え、基本軸が停止し次第、基本軸のク
ランプ速度と加減速時定数とを重畳制御用のものに切り
換え、重畳軸のクランプ速度と加減速時定数が重畳制御
用のものに切り換った時点で前記任意重畳補間処理手段
により重畳制御開始位置に対する重畳軸の移動を開始す
ることを特徴とする多系統数値制御装置。
7. An axis of a certain system is designated as a basic axis, an axis parallel to the basic axis in another system is designated as a superimposition axis, and a movement command of the superimposition axis is given by a superposition control command. In a multi-system numerical control device that performs axis movement control of a superimposed axis with a move command that superimposes the movement command of A means for switching the acceleration / deceleration time constant of the superimposed axis and the basic axis for normal control and superimposition control individually when the superimposed axis and the basic axis are individually stopped, and a clamping speed / time constant switching means, and interpolation processing of the superimposed axis. And an arbitrary superimposition interpolation processing means for performing the superimposition axis, wherein the clamp speed / time constant switching means performs a superimposition axis clamping speed by a superposition start command at an arbitrary time only under a limited condition that the superimposition axis is stopped. The acceleration / deceleration time constant is switched to that for superimposition control, and as soon as the basic axis stops, the clamp speed of the basic axis and the acceleration / deceleration time constant are switched to that for superimposition control. A multi-system numerical control device, wherein the arbitrary superposition interpolation processing means starts moving the superimposition axis with respect to the superposition control start position when the constant is switched to that for superimposition control.
【請求項8】 前記任意重畳補間処理手段は、重畳開始
指令あるいはパラメータ設定による速度値で重畳軸を重
畳制御開始位置まで移動させる補間処理を行い、基本軸
の停止により基本軸のクランプ速度と加減速時定数が重
畳制御用のものに切り換わった以降に基本軸の移動量を
重畳軸の移動指令に加算して重畳軸を移動させる補間処
理を行うことを特徴とする請求項7に記載の多系統数値
制御装置。
8. The arbitrary superimposition interpolation processing means performs an interpolation process of moving a superimposition axis to a superimposition control start position by a superposition start command or a speed value according to a parameter setting. 8. The interpolation processing according to claim 7, wherein after the deceleration time constant is switched to the one for superimposition control, an interpolation process of moving the superimposition axis by adding a movement amount of the basic axis to a superposition axis movement command. Multi-path numerical controller.
【請求項9】 前記任意重畳補間処理手段は、任意の時
点での重畳終了指令により重畳軸を重畳制御用の加減速
時定数により減速停止させ、前記クランプ速度・時定数
切り換え手段は、重畳軸の停止をもって基本軸の状態の
如何に拘らず重畳軸のクランプ速度と加減速時定数とを
通常制御用のものに切り換え、基本軸が停止し次第、基
本軸のクランプ速度と加減速時定数とを通常制御用のも
のに切り換えることを特徴とする請求項7または8に記
載の多系統数値制御装置。
9. The optional superimposition interpolation processing means decelerates and stops the superimposition axis by an acceleration / deceleration time constant for superimposition control in response to a superimposition end command at an arbitrary time, and the clamping speed / time constant switching means includes: When the basic axis stops, the clamp speed and acceleration / deceleration time constant of the superimposed axis are switched to those for normal control regardless of the state of the basic axis, and as soon as the basic axis stops, the clamp speed and acceleration / deceleration time constant of the basic axis are changed. 10. The multi-system numerical controller according to claim 7, wherein the control is switched to the one for normal control.
【請求項10】 重畳開始指令あるいはパラメータによ
って基本軸のワーク座標原点に対する偏倚量をもって設
定された重畳軸ワーク座標原点から、基本軸の基本機械
座標原点と重畳軸の基本機械座標原点との相対距離と、
基本軸の基本機械座標原点と基本軸のワーク座標原点と
の相対距離とに基づいて基本機械座標系における重畳軸
ワーク座標原点の座標値を計算する重畳軸ワーク座標原
点計算手段と、 重畳開始指令あるいはパラメータによって重畳軸ワーク
座標原点に対する偏倚量をもって設定された重畳制御開
始位置を、前記重畳軸ワーク座標原点計算手段により計
算された重畳軸ワーク座標原点の座標値に基づいて基本
機械座標系における座標値に変換する計算を行う任意重
畳制御開始位置計算手段と、 を有し、前記任意重畳制御開始位置計算手段により計算
された座標値をもって重畳軸を重畳制御開始位置に移動
させることを特徴とする請求項7〜9の何れかに記載の
多系統数値制御装置。
10. The relative distance between the basic machine coordinate origin of the basic axis and the basic mechanical coordinate origin of the superimposed axis from the superimposed axis work coordinate origin set by the superimposition start command or a parameter with the amount of deviation from the workpiece coordinate origin of the basic axis. When,
Superimposition axis work coordinate origin calculating means for calculating the coordinate value of the superimposition axis work coordinate origin in the basic machine coordinate system based on the relative distance between the basic machine coordinate origin of the basic axis and the work coordinate origin of the basic axis, and a superposition start command Alternatively, the superimposition control start position set by the parameter with the amount of deviation from the superimposition axis work coordinate origin is determined by the coordinates in the basic machine coordinate system based on the coordinate value of the superimposition axis work coordinate origin calculated by the superimposition axis work coordinate origin calculation means. Arbitrary superimposition control start position calculating means for performing a calculation for converting the value into a value, wherein the superimposing axis is moved to the superimposition control start position with the coordinate values calculated by the arbitrary superimposition control start position calculating means. The multi-system numerical control device according to claim 7.
【請求項11】 前記任意重畳制御開始位置計算手段に
より計算された任意重畳制御開始位置を重畳開始指令あ
るいはパラメータによって設定された使用工具の工具長
などを定義するオフセット量をもって補正するオフセッ
ト補正手段を有していることを特徴とする請求項10に
記載の多系統数値制御装置。
11. An offset correction means for correcting an arbitrary superposition control start position calculated by the arbitrary superposition control start position calculation means with an offset amount defining a tool length of a used tool set by a superposition start command or a parameter. The multi-system numerical control device according to claim 10, wherein the multi-system numerical control device is provided.
【請求項12】 重畳終了指令によって重畳軸の基本機
械座標系あるいはワーク座標系で指定された重畳軸の重
畳終了位置を計算する任意重畳制御終了位置計算手段を
有し、重畳軸を重畳終了指令による重畳軸の停止後に通
常制御用の加減速時定数を使用して前記任意重畳制御終
了位置計算手段により計算された重畳終了位置に軸移動
させることを特徴とする請求項9〜11の何れかに記載
の多系統数値制御装置。
12. An arbitrary superposition control end position calculating means for calculating a superposition end position of a superposition axis specified in a basic mechanical coordinate system or a work coordinate system of a superposition axis in accordance with a superposition end command. 12. After the superimposition axis is stopped by (1), the axis is moved to the superimposition end position calculated by the arbitrary superimposition control end position calculation means using the acceleration / deceleration time constant for normal control. 2. The multi-system numerical controller according to item 1.
【請求項13】 重畳制御用の重畳軸のクランプ速度
を、重畳制御時の基本軸の移動速度に基づいて通常制御
用の重畳軸のクランプ速度を超えないように計算し、重
畳制御用の重畳軸のクランプ速度を最適設定する重畳軸
クランプ速度計算切り換え手段を有していることを特徴
とする請求項7〜12の何れかに記載の多系統数値制御
装置。
13. A method for calculating a clamping speed of a superimposition axis for superimposition control based on a moving speed of a basic axis during superimposition control so as not to exceed a clamping speed of a superimposition axis for normal control. 13. The multi-path numerical control device according to claim 7, further comprising a superimposed shaft clamp speed calculation switching unit that optimally sets a shaft clamp speed.
JP15464796A 1996-06-14 1996-06-14 Superposition control method and multi-system numerical controller in multi-system numerical controller Expired - Fee Related JP3399745B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15464796A JP3399745B2 (en) 1996-06-14 1996-06-14 Superposition control method and multi-system numerical controller in multi-system numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15464796A JP3399745B2 (en) 1996-06-14 1996-06-14 Superposition control method and multi-system numerical controller in multi-system numerical controller

Publications (2)

Publication Number Publication Date
JPH103305A true JPH103305A (en) 1998-01-06
JP3399745B2 JP3399745B2 (en) 2003-04-21

Family

ID=15588808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15464796A Expired - Fee Related JP3399745B2 (en) 1996-06-14 1996-06-14 Superposition control method and multi-system numerical controller in multi-system numerical controller

Country Status (1)

Country Link
JP (1) JP3399745B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002077729A1 (en) * 2001-03-27 2002-10-03 Technowave, Inc. Multispindle finishing machine and its motor control method
JP2015230655A (en) * 2014-06-06 2015-12-21 ファナック株式会社 Numerical control device including speed control function of superposition control

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002077729A1 (en) * 2001-03-27 2002-10-03 Technowave, Inc. Multispindle finishing machine and its motor control method
JP2015230655A (en) * 2014-06-06 2015-12-21 ファナック株式会社 Numerical control device including speed control function of superposition control
US9841746B2 (en) 2014-06-06 2017-12-12 Fanuc Corporation Numerical controller having function of controlling speed by superimposed control

Also Published As

Publication number Publication date
JP3399745B2 (en) 2003-04-21

Similar Documents

Publication Publication Date Title
KR100591978B1 (en) Numerical control device
EP1566713A2 (en) Threading/tapping control apparatus
US7689300B2 (en) Numerical control unit
JP2899075B2 (en) Synchronous drive device and synchronous drive method
JPS61157909A (en) System for correcting route error of robot
US20140214193A1 (en) Machining program creating device numerical control device, machining system, machining program creating method, numerical control method, and machining program
US7044830B2 (en) Numeric controller
JP3452899B2 (en) Synchronous control method and device
US6029098A (en) Numerical controller for automatic axial feed
US6111382A (en) Device for controlling tapping device provided with composite tool having boring and tapping sections
JP3459516B2 (en) Superposition control method by numerical controller
JP3399745B2 (en) Superposition control method and multi-system numerical controller in multi-system numerical controller
US20180173190A1 (en) Numerical controller
EP0436887B1 (en) A numerical control unit
JP2588610B2 (en) Synchronous tapping control method
JP2004348448A (en) Device and method of numerical control for machine tool
JP3405797B2 (en) Laser output control system
CN107728579B (en) Main shaft cooperative numerical control system and method for different forms
JPH08320714A (en) Method and device for synchronous control in numerical controller
JPH07185901A (en) Method for controlling superposed machining and its device numerical control
JP2009163414A (en) Device and method for preventing tool collision, and nc program
JP2925414B2 (en) Speed control method and apparatus for numerically controlled machine tool
EP0128767B1 (en) Numerically controlled machine system
JPS63157206A (en) Numerical controller
JPS6232508A (en) Positioning control method for servo-system of numerical controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20080221

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20090221

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100221

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100221

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110221

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20120221

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130221

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130221

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140221

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees