JPH11110019A - Numerical controller and its control method - Google Patents

Numerical controller and its control method

Info

Publication number
JPH11110019A
JPH11110019A JP9275610A JP27561097A JPH11110019A JP H11110019 A JPH11110019 A JP H11110019A JP 9275610 A JP9275610 A JP 9275610A JP 27561097 A JP27561097 A JP 27561097A JP H11110019 A JPH11110019 A JP H11110019A
Authority
JP
Japan
Prior art keywords
spindle
superimposed
acceleration
deceleration
driving
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
JP9275610A
Other languages
Japanese (ja)
Other versions
JP3543571B2 (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 JP27561097A priority Critical patent/JP3543571B2/en
Publication of JPH11110019A publication Critical patent/JPH11110019A/en
Application granted granted Critical
Publication of JP3543571B2 publication Critical patent/JP3543571B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Control Of Multiple Motors (AREA)
  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the wrong tapping work by calculating the rotational frequency of a superimposed main spindle when a spindle is superimposed based on the rotational directions of a reference spindle and the superimposed spindle, the rotational direction of a spindle superimposition command and the rotational frequency of both reference and superimposed spindles which are set in a spindle superimposition control mode. SOLUTION: A spindle superimposition command is given to a block of a machining program 2, and a machining program analysis processing part 3 analyzes the command and sends its analysis result to a superimposed spindle rotational frequency calculation means 21 of an interpolation processing part 4A to calculate the actual rotational frequency of a superimposed spindle. That is, the means 21 receives the notification from the part 3 and reads the information on both current rotational direction and frequency of a reference main spindle and also on those of the superimposed spindle out of a memory 7. Then the means 21 calculates the actual rotational frequency of the superimposed spindle based on the information on the spindle superimposition command that is notified from the part 3 and also those information which are read out of the memory 7.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は数値制御装置及び
その制御方法に係わり、さらに詳しくは、旋盤の基準主
軸を駆動する主軸モータと重畳主軸を駆動する主軸モー
タの主軸重畳制御に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller and a control method thereof, and more particularly to a spindle superposition control of a spindle motor driving a reference spindle of a lathe and a spindle motor driving a superposition spindle.

【0002】[0002]

【従来の技術】数値制御装置は、紙テープ等から指令さ
れた加工プログラムに基づいて数値制御処理を実行し、
該処理結果により工作機械を駆動してワークに指令通り
の加工を施すものである。
2. Description of the Related Art A numerical controller executes a numerical control process based on a processing program instructed from a paper tape or the like.
The machine tool is driven based on the processing result to perform the processing on the work as instructed.

【0003】図14は、旋盤の基準主軸を駆動する主軸
モータ13と、同期主軸を駆動する主軸モータ13Aと
を主軸同期制御する数値制御装置の概要を示す要部ブロ
ック図である。図において、1は数値制御装置を表わし
ており、数値制御装置1は、加工プログラム解析処理部
3と、補間処理部4と、機械制御信号処理部6と、ラダ
ー回路5と、軸制御部10、10Aと、データ入出力回
路11と、メモリ7と、パラメータ設定部8と、画面表
示部9とから構成されている。また、数値制御装置1と
主軸モータ13、13Aとの間には、数値制御装置1か
らの指令を解析し、主軸モータ13,13Aを制御する
ための主軸アンプ12、12Aが存在する。
FIG. 14 is a main block diagram showing an outline of a numerical control device for controlling the spindle synchronously with a spindle motor 13 for driving a reference spindle of a lathe and a spindle motor 13A for driving a synchronous spindle. In the figure, reference numeral 1 denotes a numerical control device. The numerical control device 1 includes a machining program analysis processing unit 3, an interpolation processing unit 4, a machine control signal processing unit 6, a ladder circuit 5, and an axis control unit 10. 10A, a data input / output circuit 11, a memory 7, a parameter setting unit 8, and a screen display unit 9. Further, between the numerical controller 1 and the spindle motors 13 and 13A, there are spindle amplifiers 12 and 12A for analyzing commands from the numerical controller 1 and controlling the spindle motors 13 and 13A.

【0004】図14のブロック図を使って以下に基準主
軸を駆動する主軸モータ13と、同期主軸を駆動する主
軸モータ13Aとの主軸同期制御の説明を行う。基準主
軸を駆動する主軸モータ13と、同期主軸を駆動する主
軸モータ13Aは、加工プログラム中の主軸同期指令
(G164)で指令される。図14において、2は加工
プログラムであり、テープリーダ等から読み込まれた加
工プログラム2はメモリ7に格納される。加工プログラ
ム2を実行する際には、加工プログラム解析処理部3が
メモリ7から1ブロックずつ加工プログラムを読み出
し、読み出された加工プログラム2は加工プログラム解
析処理部3で処理される。まず、主軸同期指令をメモリ
7から読み出す。次に読み出された該指令は、加工プロ
グラム解析処理部3で、主軸同期指令から基準主軸と同
期主軸と同期主軸の回転方向の情報が解析され、補間処
理部4に渡される。補間処理部4では、回転速度指令か
ら基準主軸を駆動する主軸モータ13の回転位置指令に
換算する。また、主軸同期指令で指令された同期主軸に
対しても、基準主軸を駆動する主軸モータ13に対する
回転速度指令から、同期主軸を駆動する主軸モータ13
Aに対する回転位置指令を計算する。基準主軸を駆動す
る主軸モータ13と同期主軸を駆動する主軸モータ13
Aに対する回転位置指令は、基準主軸を駆動する主軸モ
ータ13と同期主軸を駆動する主軸モータ13Aとに対
応する軸制御部10、10Aに出力され、該回転位置指
令は軸制御部10、10Aで、予め指定された加減速パ
ターンに従って加減速を考慮した単位時間あたりのサー
ボ位置指令に計算し直して、データ入出力回路11に出
力する。該サーボ位置指令は、データ入出力回路11を
介して基準主軸と同期主軸の主軸アンプ12、12Aに
送信される。主軸アンプ12、12Aは、受信した該指
令に従って主軸モータ13、13Aを位置制御しながら
回転させる。ここで基準主軸を駆動する主軸モータ13
に対応する軸制御部10と、同期主軸を駆動する主軸モ
ータ13Aに対応する軸制御部10Aの加減速パターン
が同じになるように調整されているため、基準主軸にチ
ャックされたワークと同期主軸は、回転速度が変化して
いる場合でも同期して回転することができる。
With reference to the block diagram of FIG. 14, a description will be given below of the spindle synchronous control of the spindle motor 13 for driving the reference spindle and the spindle motor 13A for driving the synchronous spindle. The spindle motor 13 that drives the reference spindle and the spindle motor 13A that drives the synchronous spindle are commanded by a spindle synchronization command (G164) in the machining program. In FIG. 14, reference numeral 2 denotes a processing program, and the processing program 2 read from a tape reader or the like is stored in the memory 7. When executing the machining program 2, the machining program analysis processing unit 3 reads the machining program from the memory 7 block by block, and the read machining program 2 is processed by the machining program analysis processing unit 3. First, a spindle synchronization command is read from the memory 7. Next, in the machining program analysis processing unit 3, information on the reference spindle, the synchronization spindle, and the rotation direction of the synchronization spindle is analyzed from the spindle synchronization command in the machining program analysis processing unit 3, and is passed to the interpolation processing unit 4. The interpolation processing unit 4 converts the rotation speed command into a rotation position command of the spindle motor 13 that drives the reference spindle. Also, for the synchronous spindle designated by the spindle synchronization command, the rotation speed command for the spindle motor 13 for driving the reference spindle is converted to the spindle motor 13 for driving the synchronous spindle.
Calculate the rotational position command for A. A spindle motor 13 for driving a reference spindle and a spindle motor 13 for driving a synchronous spindle
The rotational position command for A is output to the axis controllers 10 and 10A corresponding to the spindle motor 13 that drives the reference spindle and the spindle motor 13A that drives the synchronous spindle, and the rotational position command is sent to the axis controllers 10 and 10A. According to the acceleration / deceleration pattern specified in advance, the servo position command per unit time in consideration of acceleration / deceleration is recalculated and output to the data input / output circuit 11. The servo position command is transmitted via the data input / output circuit 11 to the spindle amplifiers 12 and 12A of the reference spindle and the synchronous spindle. The spindle amplifiers 12 and 12A rotate the spindle motors 13 and 13A while performing position control according to the received command. Here, the spindle motor 13 that drives the reference spindle
Are adjusted so that the acceleration / deceleration patterns of the axis control unit 10 corresponding to the main spindle and the axis control unit 10A corresponding to the main spindle motor 13A for driving the synchronous main spindle are the same. Can rotate synchronously even when the rotational speed is changing.

【0005】次に基準主軸の回転停止の加工プログラム
指令が指令されると、加工プログラム解析処理部3が切
削油のオン・オフ等の機械制御信号の制御を記述するラ
ダー回路5に通知すべき指令と判断し、機械制御信号処
理部6に解析結果を通知する。機械制御信号処理部6
は、通知された解析結果を機械制御信号に変換してラダ
ー回路5に出力する。
Next, when a machining program command for stopping the rotation of the reference spindle is issued, the machining program analysis processing unit 3 should notify the ladder circuit 5 which describes the control of a machine control signal such as turning on / off the cutting oil. It is determined to be a command, and the machine control signal processing unit 6 is notified of the analysis result. Machine control signal processing unit 6
Converts the notified analysis result into a machine control signal and outputs it to the ladder circuit 5.

【0006】ラダー回路5では、回転停止指令を受けて
他の機械的条件を判断して回転開始信号をオフする。機
械制御信号処理部6が回転開始信号をオフになったこと
を検出して、補間処理部4に回転停止指令を通知する。
補間処理部4では、基準主軸を駆動する主軸モータ13
と同期主軸を駆動する主軸モータ13Aとに対応する軸
制御部10、10Aに回転速度指令0を指令する。該指
令は、軸制御部10、10Aで予め指定された加減速パ
ターンに従って加減速を考慮したサーボ位置指令に計算
し直して、データ入出力回路11に出力する。該サーボ
位置指令は、データ入出力回路11を介して基準主軸と
同期主軸の主軸アンプ12、12Aに送信される。主軸
アンプ12は、受信した該指令に従って基準主軸を駆動
する主軸モータ13と同期主軸を駆動する主軸モータ1
3Aとを同期させながら減速停止させる。
The ladder circuit 5 receives the rotation stop command, determines other mechanical conditions, and turns off the rotation start signal. The machine control signal processing unit 6 detects that the rotation start signal has been turned off, and notifies the interpolation processing unit 4 of a rotation stop command.
The interpolation processing unit 4 includes a spindle motor 13 for driving the reference spindle.
And a spindle control unit 10 corresponding to the spindle motor 13A for driving the synchronous spindle. This command is recalculated into a servo position command in consideration of acceleration / deceleration in accordance with the acceleration / deceleration pattern specified in advance by the axis control units 10 and 10A, and is output to the data input / output circuit 11. The servo position command is transmitted via the data input / output circuit 11 to the spindle amplifiers 12 and 12A of the reference spindle and the synchronous spindle. The spindle amplifier 12 includes a spindle motor 13 that drives a reference spindle according to the received command and a spindle motor 1 that drives a synchronous spindle.
Decelerate and stop while synchronizing with 3A.

【0007】[0007]

【発明が解決しようとする課題】基準主軸と同期主軸の
主軸同期制御を基準主軸と同期主軸(以降、重畳主軸と
記述する)に回転差を持たせて同期させる制御を考える
と(以降、主軸重畳制御と記述する)、重畳主軸に対す
る回転指令を演算する場合に、基準主軸と重畳主軸の回
転方向や、主軸重畳指令の重畳主軸に対する回転方向等
の場合分けを行わなければならず、演算が複雑になる問
題点がある。
Considering a control for synchronizing the main spindle synchronous control between the reference main spindle and the synchronous main spindle by providing a rotational difference between the reference main spindle and the synchronous main spindle (hereinafter referred to as a superimposed main spindle) (hereinafter, the main spindle). When calculating the rotation command for the superimposed spindle, the rotation direction of the reference spindle and the superimposed spindle, the rotation direction of the spindle superimposed command with respect to the superimposed spindle, and the like must be classified. There are problems that are complicated.

【0008】また、重畳主軸の主軸アンプ12Aは、経
済性を考慮して基準主軸の主軸アンプ12より性能が劣
るものが一般に用いられ、また基準主軸と重畳主軸の加
減速パターンは、各主軸アンプ12、12Aの性能を最
大限利用できるように予め夫々設定される(基準主軸の
加減速パターンより重畳主軸の加減速パターンの方が傾
きが緩やかとなる)。
The spindle amplifier 12A of the superimposed spindle is generally of lower performance than the spindle amplifier 12 of the reference spindle in consideration of economy, and the acceleration / deceleration pattern of the reference spindle and the superimposed spindle is determined by each spindle amplifier. 12 and 12A are set in advance so that the performance can be used to the maximum (the acceleration / deceleration pattern of the superimposed spindle becomes gentler than the acceleration / deceleration pattern of the reference spindle).

【0009】ところでこのような状況において、上記主
軸重畳制御時において基準主軸が加減速を行う場合、基
準主軸の加減速パターンに従って重畳主軸を加減速を行
うと、基準主軸の加減速パターンより重畳主軸の加減速
パターンの方が傾きが緩やかであるので、重畳主軸の主
軸アンプ12Aが加減速能力を越えてアラームになって
しまう問題点がある。
In such a situation, when the reference spindle accelerates / decelerates during the spindle superimposition control, if the acceleration / deceleration of the superimposed spindle is performed according to the acceleration / deceleration pattern of the reference spindle, the acceleration / deceleration pattern of the reference spindle is used. Since the acceleration / deceleration pattern of the above is gentler in inclination, there is a problem that the spindle amplifier 12A of the superimposed spindle exceeds the acceleration / deceleration ability and generates an alarm.

【0010】また、主軸重畳制御時において、基準主軸
と重畳主軸の加減速が重なる場合、重畳主軸は基準主軸
の加速または減速に加えて自分自身の加速または減速が
加算されるため、重畳主軸の主軸アンプ12Aの加減速
能力を越えてアラームになってしまう問題点がある。
In addition, when the acceleration and deceleration of the reference spindle and the superimposed spindle overlap during the spindle superimposition control, the superimposed spindle adds its own acceleration or deceleration in addition to the acceleration or deceleration of the reference spindle. There is a problem that an alarm is generated beyond the acceleration / deceleration capability of the spindle amplifier 12A.

【0011】また、基準主軸と重畳主軸の間で同期タッ
プを行う場合、タップ主軸である重畳主軸が予めパラメ
ータで決められたタップ時定数で加減速を行うと、基準
主軸の加減速パターンで決まる時定数より小さい場合に
重畳主軸の主軸アンプ12Aの加減速能力を越えてアラ
ームになってしまう問題点がある。
In addition, when synchronous tapping is performed between the reference spindle and the superimposed spindle, if the superimposed spindle that is the tap spindle performs acceleration / deceleration with a tap time constant determined in advance by a parameter, the acceleration / deceleration pattern of the reference spindle is determined. When the time constant is smaller than the time constant, there is a problem that the acceleration exceeds the acceleration / deceleration capability of the spindle amplifier 12A of the superimposed spindle and an alarm is generated.

【0012】また、基準主軸と重畳主軸の間で同期タッ
プを行う場合、タップ主軸である重畳主軸の回転数が同
期タップを行うことによってクランプ速度を越えてしま
う状態になると、重畳主軸はクランプ速度を終えて回転
しないため、正常な同期タップ加工ができない問題点が
ある。
In the case where a synchronous tap is performed between the reference spindle and the superimposed spindle, if the rotation speed of the superimposed spindle, which is the tap spindle, exceeds the clamp speed by performing the synchronous tap, the superimposed spindle becomes the clamp speed. There is a problem that normal synchronous tapping cannot be performed because the rotation is not completed after the rotation.

【0013】本発明は、上記のような問題点を解決する
ためになされたもので、主軸重畳制御時において、重畳
主軸に対する回転指令を演算する場合に、基準主軸と重
畳主軸の回転方向や、主軸重畳指令の重畳主軸に対する
回転方向等の場合分けを行わず、演算が簡単になる数値
制御装置及びその制御方法を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems. In the spindle superimposition control, when a rotation command for the superimposed spindle is calculated, the rotation directions of the reference spindle and the superimposed spindle are determined. It is an object of the present invention to provide a numerical control device and a control method thereof that do not classify a rotation direction or the like of a spindle superimposition command with respect to a superimposition main shaft and that simplify calculations.

【0014】また、主軸重畳制御時において、基準主軸
が加減速を行う場合、主軸アンプがアラームにならない
数値制御装置及びその制御方法を得ることを目的とす
る。
It is another object of the present invention to provide a numerical controller and a control method thereof in which the spindle amplifier does not generate an alarm when the reference spindle performs acceleration / deceleration during spindle superposition control.

【0015】また、主軸重畳制御時において、基準主軸
と重畳主軸の加減速が重なる場合、主軸アンプがアラー
ムにならない数値制御装置及びその制御方法を得ること
を目的とする。
Another object of the present invention is to provide a numerical controller and a control method for a spindle amplifier that does not generate an alarm when acceleration and deceleration of the reference spindle and the superimposed spindle overlap during the spindle superposition control.

【0016】また、基準主軸と重畳主軸の間で同期タッ
プを行う場合、主軸アンプがアラームにならない数値制
御装置及びその制御方法を得ることを目的とする。
Another object of the present invention is to provide a numerical control device and a control method thereof in which a spindle amplifier does not generate an alarm when a synchronous tap is performed between a reference spindle and a superimposed spindle.

【0017】更にまた、基準主軸と重畳主軸の間で同期
タップを行う場合、タップ主軸である重畳主軸の回転数
が同期タップを行うことによって回転数がクランプ速度
を越えてしまう可能性があると、同期タップを開始しな
い数値制御装置及びその制御方法を得ることを目的とす
る。
Furthermore, when a synchronous tap is performed between the reference spindle and the superimposed spindle, there is a possibility that the rotational speed of the superimposed spindle that is the tap spindle may exceed the clamp speed due to the synchronous tap. It is an object of the present invention to obtain a numerical control device that does not start a synchronous tap and a control method thereof.

【0018】[0018]

【課題を解決するための手段】第1の発明における数値
制御装置は、主軸重畳制御時において、基準主軸と重畳
主軸の回転方向と、主軸重畳指令の回転方向と、基準主
軸と重畳主軸の指令回転数とから主軸重畳時の重畳主軸
の回転数を算出する重畳主軸回転数計算手段を備えるも
のである。
According to a first aspect of the present invention, there is provided a numerical controller for controlling a rotation direction of a reference spindle and a superimposition spindle, a rotation direction of a spindle superimposition command, a command of a reference spindle and a superimposition spindle during spindle superposition control. A superimposed spindle rotation speed calculating means for calculating the rotation speed of the superimposed spindle when the spindle is superimposed from the rotation speed is provided.

【0019】第2の発明における数値制御装置は、主軸
重畳制御時において、基準主軸が加減速を行う場合、基
準主軸と重畳主軸の加減速パターンのうち、傾斜の緩や
か加減速パターンを決定する多段加減速決定手段を備え
るものである。
A numerical controller according to a second aspect of the present invention is a multi-stage numerical controller for determining a gentle acceleration / deceleration pattern among acceleration / deceleration patterns of the reference spindle and the superimposed spindle when the reference spindle performs acceleration / deceleration during spindle superposition control. It has acceleration / deceleration determining means.

【0020】第3の発明における数値制御装置は、主軸
重畳制御時において、基準主軸と重畳主軸が同時に同方
向に加減速が重なる場合、基準主軸と重畳主軸のアンプ
の加減速能力を超えない加減速時定数を計算する加減速
時定数計算手段を備えるものである。
According to a third aspect of the present invention, in the spindle control, when acceleration and deceleration of the reference spindle and the superimposed spindle overlap simultaneously in the same direction during the spindle superimposition control, the acceleration and deceleration capabilities of the amplifiers of the reference spindle and the superimposed spindle are not exceeded. An acceleration / deceleration time constant calculating means for calculating a deceleration time constant is provided.

【0021】第4の発明における数値制御装置は、基準
主軸と重畳主軸との間の同期タップ実行時にタップ主軸
となる重畳主軸に対する加減速時定数を、予めパラメー
タで決められたタップ時定数と重畳主軸の多段加減速の
時定数のうち、大きい値(傾きが緩やかな方)を使うこ
とを決定する同期タップ時定数決定手段を備えるもので
ある。
According to a fourth aspect of the present invention, there is provided a numerical control apparatus which superimposes an acceleration / deceleration time constant for a superimposed spindle serving as a tap spindle upon execution of a synchronous tap between a reference spindle and a superimposed spindle with a tap time constant determined in advance by a parameter. It is provided with a synchronous tap time constant determining means for determining to use a large value (a gentler slope) among the time constants of the multi-stage acceleration / deceleration of the spindle.

【0022】第5の発明における数値制御装置は、同期
タップ開始時にタップ主軸となる重畳主軸が同期タップ
を実行した場合、重畳主軸の回転数がクランプ速度を越
えるかどうかをチェックし、クランプ速度を越える場合
は同期タップを開始せずアラームにする同期タップクラ
ンプ速度チェック手段を備えるものである。
According to a fifth aspect of the present invention, when the superimposing spindle serving as the tap spindle at the start of the synchronization tap executes the synchronization tap, the numerical controller checks whether the rotation speed of the superimposing spindle exceeds the clamping speed, and adjusts the clamping speed. If it exceeds, a synchronous tap clamp speed check means is provided to make an alarm without starting the synchronous tap.

【0023】第6の発明における数値制御装置の制御方
法は、加工プログラムより主軸重畳指令が指令される前
の、基準主軸と重畳主軸の回転方向と、基準主軸と重畳
主軸の指令回転数とを予めメモリに記憶しておき、加工
プログラムより主軸重畳指令が指令されたとき、上記メ
モリより基準主軸と重畳主軸の回転方向と、基準主軸と
重畳主軸の指令回転数とを読込むとともに、この基準主
軸と重畳主軸の回転方向と、基準主軸と重畳主軸の指令
回転数と、主軸重畳指令の回転方向とから主軸重畳時の
重畳主軸の回転数を算出するものである。
According to a sixth aspect of the present invention, there is provided a control method of a numerical control device, comprising the steps of: determining a rotation direction of a reference spindle and a superimposing spindle; When the spindle superimposition command is instructed from the machining program in advance, the rotation direction of the reference spindle and the superimposition spindle and the command rotation speed of the reference spindle and the superimposition spindle are read from the memory, and the reference spindle is stored. The rotation speed of the superimposed main shaft at the time of main shaft superimposition is calculated from the rotation direction of the superimposed main shaft, the command rotational speed of the reference main shaft and the superimposed main shaft, and the rotation direction of the main shaft superimposed command.

【0024】第7の発明における数値制御装置の制御方
法は、主軸重畳制御時に基準主軸が加減速を行う場合、
基準主軸の加減速パターンと重畳主軸の加減速パターン
とを比較して傾斜が緩やかな方の加減速パターンを選択
し、この選択した加減速パターンを用いて加減速を行う
ものである。
According to a seventh aspect of the present invention, there is provided a method of controlling a numerical controller, comprising:
The acceleration / deceleration pattern of the reference spindle and the acceleration / deceleration pattern of the superimposed spindle are compared to select an acceleration / deceleration pattern with a gentle inclination, and acceleration / deceleration is performed using the selected acceleration / deceleration pattern.

【0025】第8の発明における数値制御装置の制御方
法は、基準主軸と重畳主軸が同時に同方向に加減速が重
なる場合、基準主軸と重畳主軸のアンプの加減速能力を
超えない加減速時定数を計算し、この計算した時定数で
加減速を行うものである。
The control method of the numerical controller according to the eighth aspect of the present invention is the control method according to the present invention, wherein when the acceleration and deceleration of the reference spindle and the superimposed spindle overlap simultaneously in the same direction, the acceleration / deceleration time constant does not exceed the acceleration / deceleration capacity of the amplifier of the reference spindle and the superimposed spindle. Is calculated, and acceleration / deceleration is performed with the calculated time constant.

【0026】第9の発明における数値制御装置の制御方
法は、基準主軸と重畳主軸との間の同期タップ実行時
に、タップ主軸となる重畳主軸に対する加減速時定数
を、予めパラメータで決められたタップ時定数と重畳主
軸の多段加減速の時定数とを比較して大きい値の方を使
うものである。
According to a ninth aspect of the present invention, in the control method of the numerical controller, when a synchronous tap is performed between the reference spindle and the superimposed spindle, the acceleration / deceleration time constant for the superimposed spindle which is the tap spindle is determined by a tap determined in advance by a parameter. The time constant is compared with the time constant of the multi-stage acceleration / deceleration of the superimposed spindle, and the larger value is used.

【0027】第10の発明における数値制御装置の制御
方法は、同期タップ開始時にタップ主軸となる重畳主軸
が同期タップを実行した場合、重畳主軸の回転数がクラ
ンプ速度を越えるかどうかをチェックし、クランプ速度
を越える場合は同期タップを開始せずアラームにするも
のである。
According to a tenth aspect of the present invention, in the control method of the numerical controller, when the superimposing spindle serving as the tap spindle at the start of the synchronization tap executes the synchronization tap, it is checked whether or not the rotation speed of the superimposing spindle exceeds the clamping speed; When the clamp speed is exceeded, an alarm is issued without starting the synchronous tap.

【0028】[0028]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、実施の形態1を図1〜図7を用い
て説明する。即ち、図1はこの発明に係る数値制御装置
の要部ブロック図であり、図14に示した従来の数値制
御装置のブロック図と比較して、重畳主軸回転数計算手
段21と、多段加減速決定手段22と、加減速時定数計
算手段23とが付加されたことが特徴である。
Embodiment 1 FIG. Hereinafter, Embodiment 1 will be described with reference to FIGS. That is, FIG. 1 is a block diagram of a main part of a numerical control device according to the present invention. Compared with the block diagram of the conventional numerical control device shown in FIG. It is characterized in that a determining means 22 and an acceleration / deceleration time constant calculating means 23 are added.

【0029】図1において、補間処理手段20は従来例
で説明した補間処理部4と同じ機能を実行し、また補間
処理部4Aは、重畳主軸回転数計算手段21と、多段加
減速決定手段22と、加減速時定数計算手段23とを含
んだ補間処理部を表わしている。また、加工プログラム
2、プログラム解析処理部3、ラダー回路5、機械制御
信号処理部6、メモリ7、パラメータ設定部8、画面表
示部9、軸制御部10、10A、データ入出力回路1
1、主軸アンプ12、12A及び主軸モータ13、13
Aは、従来例で説明したものと同じものを表している。
In FIG. 1, an interpolation processing means 20 performs the same function as the interpolation processing section 4 described in the conventional example, and an interpolation processing section 4A includes a superimposing main spindle rotation speed calculation means 21 and a multi-stage acceleration / deceleration determination means 22. And an interpolation processing unit including acceleration / deceleration time constant calculation means 23. A machining program 2, a program analysis processing unit 3, a ladder circuit 5, a machine control signal processing unit 6, a memory 7, a parameter setting unit 8, a screen display unit 9, an axis control unit 10, 10A, a data input / output circuit 1,
1. Spindle amplifiers 12, 12A and spindle motors 13, 13
A represents the same one as described in the conventional example.

【0030】次にこの数値制御装置の動作を、図1のブ
ロック図と、図2の重畳主軸回転数計算手段21、多段
加減速決定手段22及び加減速時定数計算手段23の動
作を示すフローチャートと、図3、図4の重畳制御動作
の説明図と、図5の多段加減速パターンを決定するため
の説明図と、図6の主軸の加減速の時定数を決定するテ
ーブルと、図7の基準主軸と重畳主軸の加減速が重なっ
た場合の重畳主軸の加減速動作を示す図とを用いて説明
する。なお図3、図4において、各図の上部が加工プロ
グラムを示し、また下部がその加工プログラムが指令さ
れたときの基準主軸及び重畳主軸の動作(回転数)を示
す。
Next, the operation of this numerical control device will be described with reference to the block diagram of FIG. 1 and the flowcharts showing the operations of the superimposed spindle speed calculating means 21, multi-stage acceleration / deceleration determining means 22 and acceleration / deceleration time constant calculating means 23 of FIG. FIG. 7 is an explanatory diagram of the superimposition control operation of FIGS. 3 and 4, FIG. 5 is an explanatory diagram for determining the multi-stage acceleration / deceleration pattern, FIG. 6 is a table for determining the time constant of the main shaft acceleration / deceleration, and FIG. A diagram showing the acceleration / deceleration operation of the superimposed spindle when the acceleration / deceleration of the reference spindle overlaps the acceleration / deceleration of the superimposed spindle. 3 and 4, the upper part of each figure shows the machining program, and the lower part shows the operation (rotation speed) of the reference spindle and the superimposed spindle when the machining program is instructed.

【0031】まず、図2におけるステップ1において、
例えば図3における加工プログラムのブロック(2)に
示すように主軸重畳指令(G164)が指令されると、
加工プログラム解析処理部3が指令の解析を行い、この
加工プログラム解析処理部3で解析された結果が補間処
理部4Aの重畳主軸回転数計算手段21に渡され、この
重畳主軸回転数計算手段21が重畳主軸の実際の回転数
を計算する。なお、図3における加工プログラムのブロ
ック(2)におけるG164は主軸重畳指令を表わして
おり、H1は基準主軸を正転方向に回転させることを、
D3は重畳主軸を正転方向に回転させることを表わして
いる。
First, in step 1 in FIG.
For example, when a spindle superimposition command (G164) is issued as shown in block (2) of the machining program in FIG.
The machining program analysis processing unit 3 analyzes the command, and the result analyzed by the machining program analysis processing unit 3 is passed to the superimposing main spindle rotation speed calculating means 21 of the interpolation processing unit 4A. Calculates the actual number of revolutions of the superimposed spindle. G164 in block (2) of the machining program in FIG. 3 indicates a spindle superimposition command, and H1 indicates that the reference spindle is rotated in the normal rotation direction.
D3 indicates that the superimposed main shaft is rotated in the normal rotation direction.

【0032】具体的には、重畳主軸回転数計算手段21
が加工プログラム解析処理部3からの通知を受けて、現
在の基準主軸の回転方向と回転数の情報と、現在の重畳
主軸の回転方向と回転数の情報とを、加工プログラム解
析処理部3の解析結果が書かれているメモリ7から読み
込む。次に、加工プログラム解析処理部3から通知され
た主軸重畳指令の情報と、メモリ7から読み込んだ上記
情報を基に重畳主軸の実際の回転数を下記の計算式に従
って計算する。 重畳主軸の実際の回転数=(主軸重畳指令の重畳主軸の符号) ×(基準主軸の回転方向の符号) ×(基準主軸の指令回転数) +(重畳主軸の回転方向の符号) ×(重畳主軸の指令回転数)・・・・・・(A) ここで、基準主軸の回転方向の符号、重畳主軸の回転方
向の符号は正転の場合がプラス、逆転の場合がマイナス
を表わしている。
More specifically, the superimposed spindle rotation speed calculating means 21
Receives the notification from the machining program analysis processing unit 3 and converts the information on the current rotation direction and rotation speed of the reference spindle and the information on the current rotation direction and rotation speed of the superimposed spindle into the machining program analysis processing unit 3. It is read from the memory 7 in which the analysis result is written. Next, based on the information of the spindle superimposition command notified from the machining program analysis processing unit 3 and the information read from the memory 7, the actual rotational speed of the superimposed spindle is calculated according to the following formula. Actual rotation speed of superimposed spindle = (sign of superimposed spindle of spindle superimposition command) × (sign of rotation direction of reference spindle) × (command rotation speed of reference spindle) + (sign of rotation direction of superimposed spindle) × (superimposition (Commanded number of rotations of the main spindle) (A) Here, the sign of the rotation direction of the reference main shaft and the sign of the rotation direction of the superimposed main shaft indicate plus for forward rotation and minus for reverse rotation. .

【0033】図3における加工プログラムのブロック
(2)の例で言えば、主軸重畳指令の重畳主軸の符号は
プラス,基準主軸の回転方向の符号はプラス、基準主転
の指令回転数は3000rpm、重畳主軸の回転方向の
符号はプラス、重畳主軸の指令回転数は0rpmである
から、前述の式(A)にあてはめると、重畳主軸の実際
の回転数は、 (+1)×(+1)×(3000)+(+1)× 0=
3000(rpm) となる。重畳主軸回転数計算手段21の計算結果から、
重畳主軸は0rpmから3000rpmに加速すること
になる。
In the example of block (2) of the machining program in FIG. 3, the sign of the superimposed spindle of the spindle superimposition command is plus, the sign of the rotation direction of the reference spindle is plus, the command rotation speed of the reference spindle is 3000 rpm, Since the sign of the rotation direction of the superimposed main shaft is plus and the commanded rotational speed of the superimposed main shaft is 0 rpm, when applied to the above equation (A), the actual rotational speed of the superimposed main shaft is (+1) × (+1) × ( 3000) + (+ 1) × 0 =
3000 (rpm). From the calculation result of the superimposed spindle speed calculation means 21,
The superimposed spindle will accelerate from 0 rpm to 3000 rpm.

【0034】更に、図4を使って重畳主軸の回転数つい
て説明する。図4における加工プログラムのブロック
(2)の指令では、前述の式(A)に従って重畳主軸の回転
数を計算すると (−1)×(+1)×750+(−1)× 0 = −
750(rpm) となる。図4における加工プログラムのブロック(3)の
指令では、 (−1)×(+1)×750+(−1)×500 = −
1250(rpm) となる。図4における加工プログラムのブロック(4)の
指令では、 (−1)×(−1)×750+(−1)×500 =
250(rpm) となる。図4における加工プログラムのブロック(5)の
指令では、 (−1)×(−1)×750+(+1)×250 = 1
000(rpm) となる。従って図4における加工プログラムで指令され
る重畳主軸は、0(rpm)→−750(rpm)→−1
250(rpm)→250(rpm)→1000(rp
m)と回転数が変化する。
Further, the rotation speed of the superimposed spindle will be described with reference to FIG. Block of the machining program in FIG.
In the command of (2), when the rotation speed of the superimposed spindle is calculated according to the above-described equation (A), (-1) × (+1) × 750 + (− 1) × 0 = −
750 (rpm). In the command of the block (3) of the machining program in FIG. 4, (-1) × (+1) × 750 + (− 1) × 500 = −
1250 (rpm). In the command of the block (4) of the machining program in FIG. 4, (-1) × (−1) × 750 + (− 1) × 500 =
250 (rpm). In the command of the block (5) of the machining program in FIG. 4, (-1) × (−1) × 750 + (+ 1) × 250 = 1
000 (rpm). Therefore, the superimposed spindle commanded by the machining program in FIG. 4 is 0 (rpm) → −750 (rpm) → −1
250 (rpm) → 250 (rpm) → 1000 (rpm
m) and the rotation speed changes.

【0035】次に、ステップ2に進む。ステップ2で
は、図3における加工プログラムのブロック(4)に示
すように重畳制御時に基準主軸に加減速するような指令
が入った場合には、多段加減速決定手段22によって重
畳主軸の加減速パターンを決定する。この具体例を図5
を用いて説明する。なお、図5において(a)は通常時
(重畳制御されることなく、基準主軸単独で加減速を行
う時)の基準主軸の加減速パターンを、(b)は重畳主
軸の加減速パターン、(c)は多段加減速決定手段22
によって決定された基準主軸の加減速パターンを表して
いる。また基準主軸と重畳主軸の加減速パターンは、パ
ラメータ設定部8を用いて、各主軸アンプ12、12A
の性能を最大限利用できるように予め夫々設定される
が、この実施の態様1においては、重畳主軸の主軸アン
プ12Aが、経済性を考慮して基準主軸の主軸アンプ1
2より加減速能力が劣るものが用いられた例を示してい
るので、基準主軸の加減速パターンより重畳主軸の加減
速パターンの方が傾きが緩やかなものとなっている。こ
こで重畳制御時において、基準主軸が1000rpmか
ら3000rpmに加速する場合を考えてみる。100
0rpmから3000rpmまで加速するときの基準主
軸と重畳主軸の傾きを計算してみると、基準主軸の場合
は、(3300−0)/(0.5−0)=6600(r
pm/s)となり、重畳主軸の場合は (1500−0)/(0.4−0)=3750(rpm
/s) (5000−1500)/(2.5−0.4)=166
7(rpm/s) となり、 6600(rpm/s)> 3750(rpm/s) 6600(rpm/s)> 1667(rpm/s) となる。従って、傾きは重畳主軸の傾きが基準主軸の傾
きより1つでも小さいため、図5の(c)に示すよう
に、重畳制御時において、基準主軸の加減速は重畳主軸
の加減速パターンに従うことが、多段加減速決定手段2
2によって決定される。このため、重畳制御時に基準主
軸に加減速するような指令が入った場合にあっても、重
畳主軸の主軸アンプ12Aの加減速能力を超えることが
なくなり、ひいては重畳主軸の主軸アンプ12Aがアラ
ームになることがなくなる。
Next, the routine proceeds to step 2. In step 2, when a command for accelerating or decelerating the reference spindle is input during superimposition control as shown in block (4) of the machining program in FIG. To determine. This specific example is shown in FIG.
This will be described with reference to FIG. In FIG. 5, (a) shows the acceleration / deceleration pattern of the reference spindle at normal time (when acceleration / deceleration is performed by the reference spindle alone without superimposition control), (b) shows the acceleration / deceleration pattern of the superimposed spindle, c) is a multi-stage acceleration / deceleration determining means 22
Represents the acceleration / deceleration pattern of the reference spindle determined by the above. The acceleration / deceleration patterns of the reference spindle and the superimposed spindle are determined by using the parameter setting unit 8 and the respective spindle amplifiers 12 and 12A.
In the first embodiment, the spindle amplifier 12A of the reference spindle is replaced with the spindle amplifier 1A of the reference spindle in consideration of economy.
In this example, the acceleration / deceleration pattern of the superimposed spindle is gentler than the acceleration / deceleration pattern of the reference spindle. Here, consider a case where the reference spindle accelerates from 1000 rpm to 3000 rpm during the superimposition control. 100
When calculating the inclination of the reference main axis and the superimposed main axis when accelerating from 0 rpm to 3000 rpm, in the case of the reference main axis, (3300-0) / (0.5-0) = 6600 (r
pm / s), and (1500-0) / (0.4-0) = 3750 (rpm)
/ S) (5000-1500) / (2.5-0.4) = 166
7 (rpm / s), and 6600 (rpm / s)> 3750 (rpm / s) 6600 (rpm / s)> 1667 (rpm / s). Accordingly, since at least one of the inclinations of the superimposed main axis is smaller than the inclination of the reference main axis, the acceleration / deceleration of the reference main axis follows the acceleration / deceleration pattern of the superimposed main axis during the superimposition control as shown in FIG. Is multi-stage acceleration / deceleration determining means 2
2 determined. Therefore, even if a command to accelerate / decelerate the reference spindle during the superimposition control is input, the acceleration / deceleration capability of the spindle amplifier 12A of the superimposed spindle will not be exceeded, and the spindle amplifier 12A of the superimposed spindle will generate an alarm. Will not be.

【0036】なお、この実施の態様1においては、重畳
主軸の主軸アンプ12Aが、経済性を考慮して基準主軸
の主軸アンプ12より加減速能力が劣るものが用いられ
た例を示しており、基準主軸の加減速パターンより重畳
主軸の加減速パターンの方が傾きが緩やかなものとなっ
ているため、基準主軸の加減速は重畳主軸の加減速パタ
ーンに従うが、仮に重畳主軸の主軸アンプ12Aとして
基準主軸の主軸アンプ12より加減速能力が優れるもの
が用いられた場合(重畳主軸の加減速パターンより基準
主軸の加減速パターンの方が傾きが緩やかなものとな
る)等には、基準主軸の加減速パターンに従うことは言
うまでもない。
In the first embodiment, an example is shown in which the spindle amplifier 12A of the superimposed spindle has a lower acceleration / deceleration capacity than the spindle amplifier 12 of the reference spindle in consideration of economy. Since the inclination of the acceleration / deceleration pattern of the superimposed spindle is gentler than that of the reference spindle, the acceleration / deceleration of the reference spindle follows the acceleration / deceleration pattern of the superimposed spindle. In the case where a motor having a higher acceleration / deceleration capability than the main shaft amplifier 12 of the reference main shaft is used (the acceleration / deceleration pattern of the reference main shaft has a gentler slope than the acceleration / deceleration pattern of the superimposed main shaft), etc. Obviously, it follows the acceleration / deceleration pattern.

【0037】次に、ステップ3に進む。ステップ3で
は、加減速時定数計算手段23が、メモリ7に格納され
ている図6の表に従って基準主軸と重畳主軸の加減速時
定数を計算する。例えば、基準主軸と重畳主軸が正転重
畳制御状態、即ち、図3における加工プログラムのブロ
ック(2)の指令のD3のように、主軸重畳指令の重畳主
軸の符号がプラスの場合において、基準主軸と重畳主軸
が同時に正転方向に加速するとき、図6の表の(1)から
基準主軸、重畳主軸の加減速時定数は多段加減速決定手
段22で決められた多段加減速の時定数の2倍となる。
図7の例では(1)の区間が、正転重畳制御状態で基準主
軸が正転減速で、重畳主軸が正転減速となり、図6の表
で言えば(2)になるため、基準主軸、重畳主軸の加減
速時定数は多段加減速決定手段22で決められた多段加
減速の時定数の2倍になっている。図3における加工プ
ログラムのブロック(2)の場合は、正転重畳制御状態で
基準主軸が一定回転(定常回転)で重畳主軸は正転加速
するため、図6の(3)に相当し、多段加減速決定手段2
2で決められた多段加減速の時定数のまま(1倍)で加
速を行う。このため基準主軸と重畳主軸が同時に同方向
に加減速する場合にあっても、重畳主軸の主軸アンプ1
2Aの加減速能力を超えることがなくなり、ひいては重
畳主軸の主軸アンプ12Aがアラームになることがなく
なる。最後にステップ4で、上記計算結果に基づいて基
準主軸及び重畳主軸の加減速を行う。
Next, the routine proceeds to step 3. In step 3, the acceleration / deceleration time constant calculating means 23 calculates the acceleration / deceleration time constants of the reference spindle and the superimposed spindle according to the table of FIG. For example, when the reference spindle and the superimposed spindle are in the normal rotation superimposition control state, that is, when the sign of the superimposed spindle of the spindle superimposition command is plus, as in D3 of the command in block (2) of the machining program in FIG. When the superimposed spindle and the superimposed spindle simultaneously accelerate in the forward rotation direction, the acceleration / deceleration time constants of the reference spindle and the superimposed spindle are determined by the multistage acceleration / deceleration time constant determined by the multistage acceleration / deceleration determining means 22 from (1) in the table of FIG. Double.
In the example of FIG. 7, in the section (1), in the normal rotation superimposing control state, the reference main spindle is in normal rotation deceleration, and the superimposed main spindle is in normal rotation deceleration. In the table of FIG. The acceleration / deceleration time constant of the superimposed spindle is twice the time constant of the multi-stage acceleration / deceleration determined by the multi-stage acceleration / deceleration determining means 22. In the case of block (2) of the machining program in FIG. 3, since the reference spindle is rotated at a constant speed (steady rotation) in the forward rotation superimposed control state and the superimposed spindle is accelerated forward, it corresponds to (3) in FIG. Acceleration / deceleration determination means 2
Acceleration is performed with the time constant of multi-stage acceleration / deceleration determined in 2 (1 time). Therefore, even when the reference main axis and the superimposed main axis accelerate and decelerate simultaneously in the same direction, the main axis amplifier 1
The acceleration / deceleration capacity of 2A will not be exceeded, and the spindle amplifier 12A of the superimposed spindle will not generate an alarm. Finally, in step 4, acceleration and deceleration of the reference spindle and the superimposed spindle are performed based on the above calculation results.

【0038】実施の形態2.次に実施の態様2を図8〜
図13を用いて説明する。図8はこの発明に係る数値制
御装置の要部ブロック図であり、図1に示した実施の態
様1のブロック図と比較して、同期タップ時定数決定手
段24と、同期タップクランプ速度チェック手段25と
が付加されたことが特徴である。
Embodiment 2 Next, Embodiment 2 will be described with reference to FIGS.
This will be described with reference to FIG. FIG. 8 is a block diagram of a main part of a numerical control device according to the present invention. Compared with the block diagram of the first embodiment shown in FIG. 1, a synchronous tap time constant determining unit 24 and a synchronous tap clamp speed checking unit 25 is added.

【0039】補間処理手段20は、従来例で説明した補
間処理部4と同じ機能を実行し、4Bは、重畳主軸回転
数計算手段21、多段加減速決定手段22、加減速時定
数計算手段23、、同期タップ時定数決定手段24及び
同期タップクランプ速度チェック手段25を含んだ補間
処理部を表わしている。また、加工プログラム2、プロ
グラム解析処理部3、ラダー回路5、機械制御信号処理
部6、メモリ7、パラメータ設定部8、画面表示部9、
軸制御部10、10A、データ入出力回路11、主軸ア
ンプ12、12A及び主軸モータ13、13Aは従来例
で説明したものと同じものを表している。また、重畳主
軸回転数計算手段21、多段加減速決定手段22及び加
減速時定数計算手段23は、実施の態様1で説明したも
のと同じものを表している。
The interpolation processing means 20 performs the same function as the interpolation processing unit 4 described in the conventional example, and 4B designates a superimposed spindle speed calculation means 21, a multi-stage acceleration / deceleration determination means 22, an acceleration / deceleration time constant calculation means 23 , And an interpolation processing section including a synchronous tap time constant determining means 24 and a synchronous tap clamp speed checking means 25. Also, a machining program 2, a program analysis processing unit 3, a ladder circuit 5, a machine control signal processing unit 6, a memory 7, a parameter setting unit 8, a screen display unit 9,
The axis control units 10, 10A, the data input / output circuit 11, the spindle amplifiers 12, 12A and the spindle motors 13, 13A are the same as those described in the conventional example. The superimposing main spindle rotation speed calculating means 21, the multi-stage acceleration / deceleration determining means 22, and the acceleration / deceleration time constant calculating means 23 are the same as those described in the first embodiment.

【0040】次に実施の態様2の動作を、図8のブロッ
ク図と、図9の同期タップ時定数決定手段24及び同期
タップクランプ速度チェック手段25の動作を示すフロ
ーチャートと、図10の基準主軸と重畳主軸の差速によ
る同期タップの例を示す図と、図11の基準主軸と重畳
主軸の差速による同期タップの動作を説明する図と、図
12の基準主軸と重畳主軸の差速による同期タップの加
減速の時定数を決定するための説明図と、図13の基準
主軸と重畳主軸の差速による同期タップにおいて重畳主
軸がクランプ速度を越える場合の動作を説明する図とを
使用して説明する。なお図11及び図13において、各
図の上部が加工プログラムを示し、また下部がその加工
プログラムが指令されたときの基準主軸及び重畳主軸の
動作(回転数)を示す。
Next, the operation of the second embodiment will be described with reference to the block diagram of FIG. 8, a flowchart showing the operation of the synchronous tap time constant determining means 24 and the synchronous tap clamp speed checking means 25 of FIG. 9, and the reference spindle of FIG. FIG. 11 is a diagram showing an example of a synchronization tap based on the differential speed between the superimposed spindle and the superimposed spindle, FIG. 11 is a diagram illustrating the operation of the synchronization tap based on the differential speed between the reference spindle and the superimposed spindle, and FIG. An explanatory diagram for determining the acceleration / deceleration time constant of the synchronous tap and a diagram for explaining the operation when the superimposed spindle exceeds the clamping speed in the synchronous tap based on the difference speed between the reference spindle and the superimposed spindle in FIG. 13 are used. Will be explained. In FIGS. 11 and 13, the upper part of each figure shows the machining program, and the lower part shows the operation (rotation speed) of the reference spindle and the superimposed spindle when the machining program is instructed.

【0041】まず、図10、図11を使って基準主軸と
重畳主軸の差速による同期タップ加工の例を説明する。
図10ではチャックされたワークが基準主軸によって4
000rpmで回転している。また、対向側にタップ工
具が装着された重畳主軸も4000rpmで回転してお
り、この状態から基準主軸にチャックされたワークの中
心に、Z軸の移動で基準主軸と重畳主軸に1000rp
mの回転差を持たせる事によってタップを加工を行う。
即ち、Z軸が前進(図10では左側に移動)する場合、
重畳主軸は5000rpmで回転し、穴底、つまりZ軸
が停止した瞬間は重畳主軸は4000rpmで回転して
おり、また、Z軸が後退(図10では右側に移動)する
場合は重畳主軸は3000rpmで回転することによっ
てワークの中心にタップ加工を行うことができる。図1
1の加工プログラム例と基準主軸,重畳主軸の動作例で
説明すると、まず加工プログラムのブロック(1)の指令
で、基準主軸が4000rpmで回転する。次に加工プ
ログラムのブロック(2)の指令で、前述の式(A)に従っ
て重畳主軸も4000rpmで回転する。加工プログラ
ムのブロック(3)のZ軸移動指令によって重畳主軸のタ
ップ工具をワークに近づけて、(4)の同期タップ指令に
よってZ軸の移動によって重畳主軸の回転が5000r
pmに上がり、穴底のZ軸の停止によって重畳主軸の回
転が4000rpmに減速し、Z軸のもどりの移動によ
って重畳主軸の回転が3000rpmに減速し、タップ
加工の終了でZ軸が停止すると重畳主軸の回転が400
0rpmに上がるという動作を行う。
First, an example of synchronous tapping based on the speed difference between the reference spindle and the superimposed spindle will be described with reference to FIGS.
In FIG. 10, the chucked work is moved by the reference spindle.
It is rotating at 000 rpm. In addition, the superimposed spindle with the tap tool mounted on the opposite side is also rotating at 4000 rpm, and from this state, the center of the work chucked to the reference spindle is moved to the center of the reference spindle and the superimposed spindle by the Z-axis movement at 1000 rpm.
The tap is processed by giving a rotation difference of m.
That is, when the Z axis moves forward (moves to the left in FIG. 10),
The superimposed spindle rotates at 5000 rpm, and at the moment the hole bottom, that is, the Z axis stops, the superimposed spindle is rotating at 4000 rpm. When the Z axis moves backward (moves to the right in FIG. 10), the superimposed spindle is 3000 rpm. By rotating with, tapping can be performed at the center of the work. FIG.
Explaining the example of the machining program 1 and the operation example of the reference spindle and the superimposed spindle, first, the reference spindle is rotated at 4000 rpm according to the command of the block (1) of the machining program. Next, according to the command of the block (2) of the machining program, the superimposed spindle also rotates at 4000 rpm in accordance with the above-described equation (A). The tap tool of the superimposed spindle is brought closer to the workpiece by the Z-axis movement command of the machining program block (3), and the rotation of the superimposed spindle is 5000r by the movement of the Z-axis by the synchronous tap command of (4).
pm, the rotation of the superimposed spindle is reduced to 4000 rpm by the stop of the Z-axis at the bottom of the hole, and the rotation of the superimposed spindle is reduced to 3000 rpm by the return movement of the Z-axis. When the Z-axis is stopped at the end of tapping, the superimposition is performed. 400 spindle rotation
An operation of increasing to 0 rpm is performed.

【0042】次に図9のフローチャートを使って、基準
主軸と重畳主軸の差速よる同期タップの時定数の決定方
法と、重畳主軸のクランプ速度のチェック方法について
記述する。ステップ21では加工プログラム解析処理部
3が、図11の加工プログラムのブロック(4)に示した
ような同期タップ指令を解析し、同期タップ指令であれ
ば、補間処理部4Bの同期タップ時定数決定手段24に
同期タップモードであることを通知する。同期タップ指
令でなければ何もしない。
Next, a method for determining the time constant of the synchronization tap based on the speed difference between the reference spindle and the superimposed spindle and a method for checking the clamping speed of the superimposed spindle will be described with reference to the flowchart of FIG. In step 21, the machining program analysis processing unit 3 analyzes the synchronous tap command as shown in block (4) of the machining program in FIG. 11, and if the synchronous tap command, determines the synchronous tap time constant of the interpolation processing unit 4B. The means 24 is notified of the synchronous tap mode. If there is no synchronous tap command, do nothing.

【0043】ステップ22では、同期タップ時定数決定
手段24が加工プログラム解析処理部3からの通知を受
けて、例えば図12に示したような、同期タップ時定数
と重畳主軸の加減速パターンの時定数を比較することに
よって、傾きが緩やかな方の時定数を同期タップの時定
数として決定する。具体的には下記に記述する方法によ
って決定する。まず(a)の基準主軸と重畳主軸の差速
よらない、通常の同期タップ時の加減速パターンから3
000rpm〜5000rpmの傾きを次のように算出
する。 (2000−0)/(1.0−0)=2000(rpm
/s) 次に(b)の重畳主軸の多段加減速パターンから300
0rpm〜5000rpmの傾きを次のように算出す
る。 (5000−1500)/(2.5−0.4)=166
7(rpm/s) 次に上記算出した傾きを比較する。この結果、 2000(rpm/s)>1667(rpm/s) となり、重畳主軸の多段加減速パターンの方が傾きが小
さいため、本時定数を同期タップ加工に用いることを決
定する。
In step 22, the synchronous tap time constant determining means 24 receives the notification from the machining program analysis processing unit 3 and determines the synchronous tap time constant and the acceleration / deceleration pattern of the superimposed spindle as shown in FIG. By comparing the constants, the time constant having a gentler slope is determined as the time constant of the synchronization tap. Specifically, it is determined by the method described below. First, based on the acceleration / deceleration pattern at the time of a normal synchronous tap, which is not dependent on the speed difference between the reference spindle and the superimposed spindle shown in FIG.
The gradient between 000 rpm and 5000 rpm is calculated as follows. (2000-0) / (1.0-0) = 2000 (rpm)
/ S) Next, the multi-stage acceleration / deceleration pattern of the superimposed spindle shown in FIG.
The gradient between 0 rpm and 5000 rpm is calculated as follows. (5000-1500) / (2.5-0.4) = 166
7 (rpm / s) Next, the calculated slopes are compared. As a result, 2000 (rpm / s)> 1667 (rpm / s), and the inclination of the multi-stage acceleration / deceleration pattern of the superimposed spindle is smaller, so that it is decided to use this time constant for synchronous tapping.

【0044】ステップ23では、図13の加工プログラ
ムのブロック(4)の同期タップ指令(G84)を加工プ
ログラム解析処理部3で解析する。同期タップクランプ
速度チェック手段25が、加工プログラム解析処理部3
の解析結果から、タップ回転数(図13の加工プログラ
ムのブロック(4)の指令の例では2000rpm)を読
み込む。次に現在の回転している重畳主軸の回転数にこ
の2000rpmを加算また減算した計算結果の絶対値
を、予め、パラメータで設定されているクランプ速度と
比較する。計算結果がクランプ速度より大きい場合は、
ステップ24に進む。
At step 23, the machining program analysis processor 3 analyzes the synchronous tap command (G84) of the block (4) of the machining program in FIG. Synchronous tap clamp speed checking means 25 is used for processing program analysis processing unit 3
Is read from the analysis result of (2) (2000 rpm in the example of the command of the block (4) of the machining program in FIG. 13). Next, the absolute value of the calculation result obtained by adding or subtracting this 2000 rpm to or from the current rotation speed of the superimposed spindle is compared with a clamp speed set in advance by a parameter. If the calculation result is higher than the clamp speed,
Proceed to step 24.

【0045】ステップ24では、計算結果がクランプ速
度をこえていることを、同期タップクランプ速度チェッ
ク手段25が補間処理手段20にアラーム通知する。補
間処理手段20は、同期タップクランプ速度チェック手
段25からのアラーム通知を受けて、同期タップ指令の
実行をせず、メモリ7を介して画面表示部9に同期タッ
プを実行するとクランプ速度を超える旨のアラームメッ
セージを画面表示部9に表示する。同期タップクランプ
速度チェック手段25の計算結果がクランプ速度により
小さい場合にはステップ25に進む。ステップ25で
は、前述したように同期タップ加工を行う。
In step 24, the synchronous tap clamp speed check means 25 notifies the interpolation processing means 20 of an alarm that the calculation result exceeds the clamp speed. Upon receiving the alarm notification from the synchronous tap clamp speed checking unit 25, the interpolation processing unit 20 does not execute the synchronous tap command, and executes the synchronous tap on the screen display unit 9 via the memory 7 to exceed the clamp speed. Is displayed on the screen display unit 9. If the calculation result of the synchronous tap clamp speed check means 25 is smaller than the clamp speed, the process proceeds to step 25. In step 25, synchronous tapping is performed as described above.

【0046】[0046]

【発明の効果】以上の説明より理解されるように、この
発明によれば、主軸重畳指令の重畳主軸の符号、基準主
軸の回転方向の符号、基準主軸の指令回転数、重畳主軸
の回転方向の符号、重畳主軸の指令回転数から、重畳主
軸の実際の回転数を計算するようにしたので、基準主軸
と重畳主軸の主軸重畳制御の演算が簡単になり構成がシ
ンプルになる。
As will be understood from the above description, according to the present invention, the sign of the superimposing spindle of the spindle superimposition command, the sign of the rotation direction of the reference spindle, the command rotation speed of the reference spindle, the rotation direction of the superimposing spindle. Since the actual rotation speed of the superimposed main shaft is calculated from the sign of (1) and the commanded rotation speed of the superimposed main shaft, the calculation of the main shaft superimposition control of the reference main shaft and the superimposed main shaft is simplified, and the configuration is simplified.

【0047】つぎの発明によれば、基準主軸と重畳主軸
の加減速パターンのうち、傾斜の緩やかな方の加減速パ
ターンを選択して基準主軸と重畳主軸の加減速を行うよ
うにしたので、主軸アンプの加減速能力を超えてアラー
ムになることはなくなる。
According to the next invention, of the acceleration / deceleration patterns of the reference spindle and the superimposed spindle, the acceleration / deceleration pattern with a gentler slope is selected to accelerate / decelerate the reference spindle and the superimposed spindle. The alarm will not be generated if the acceleration / deceleration capacity of the spindle amplifier is exceeded.

【0048】つぎの発明によれば、基準主軸と重畳主軸
が同時に同方向に加減速が重なる場合、基準主軸と重畳
主軸のアンプの加減速能力を超えない加減速時定数を計
算するようにしたので、基準主軸の加速または減速して
重畳主軸の加速または減速が重なっても、重畳主軸の主
軸アンプの加減速能力を超えてアラームになることはな
くなる。
According to the next invention, when the acceleration and deceleration of the reference spindle and the superimposed spindle overlap simultaneously in the same direction, the acceleration / deceleration time constant that does not exceed the acceleration / deceleration capability of the amplifier of the reference spindle and the superimposed spindle is calculated. Therefore, even if the acceleration or deceleration of the reference spindle is overlapped with the acceleration or deceleration of the superimposed spindle, an alarm will not be generated beyond the acceleration / deceleration capability of the spindle amplifier of the superimposed spindle.

【0049】つぎの発明によれば、基準主軸と重畳主軸
が回転し、差速による同期タップ加工実行時に、タップ
主軸となる重畳主軸に対する加減速時定数を予めパラメ
ータで決められたタップ時定数と重畳主軸の多段加減速
のうち、値が大きい方を使うようにしたので、重畳主軸
の主軸アンプの加減速能力をこえてアラームになること
はなくなる。
According to the next invention, the reference spindle and the superimposed spindle rotate, and when synchronous tapping is performed by the differential speed, the acceleration / deceleration time constant for the superimposed spindle serving as the tap spindle is set to the tap time constant determined in advance by a parameter. Since the larger value of the multi-stage acceleration / deceleration of the superimposed spindle is used, an alarm will not be generated when the acceleration / deceleration capability of the spindle amplifier of the superimposed spindle is exceeded.

【0050】つぎの発明にによれば、基準主軸と重畳主
軸が回転、差速による同期タップ加工開始時にタップ主
軸となる重畳主軸がクランプ速度をこえるかどうかチェ
ックし、クランプ速度を超える場合は同期タップを開始
せずアラームにするようにしたので、不正なタップ加工
を未然に防ぐことができる。
According to the next invention, when the reference spindle and the superimposed spindle rotate and the synchronous spindle is started by the differential speed, it is checked whether or not the superimposed spindle serving as the tap spindle exceeds the clamping speed. Since the alarm is activated without starting tapping, illegal tapping can be prevented.

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

【図1】 本発明の実施の態様1に係わる数値制御装置
の要部ブロック図である。
FIG. 1 is a main part block diagram of a numerical control device according to a first embodiment of the present invention.

【図2】 本発明の実施の態様1に係わる数値制御装置
の動作を説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining an operation of the numerical control device according to the first embodiment of the present invention.

【図3】 本発明の実施の態様1に係わる正転主軸重畳
制御の動作を説明図である。
FIG. 3 is an explanatory diagram illustrating an operation of a forward rotation spindle superposition control according to the first embodiment of the present invention.

【図4】 本発明の実施の態様1に係わる逆転主軸重畳
制御の動作を説明図である。
FIG. 4 is an explanatory diagram illustrating an operation of reverse spindle superimposition control according to the first embodiment of the present invention.

【図5】 本発明の実施の態様1に係わる多段加減速パ
ターンを決定するための説明図である。
FIG. 5 is an explanatory diagram for determining a multi-stage acceleration / deceleration pattern according to the first embodiment of the present invention.

【図6】 本発明の実施の態様1に係わる主軸の加減速
の時定数を決定するテーブルである。
FIG. 6 is a table for determining a time constant of acceleration / deceleration of the spindle according to the first embodiment of the present invention.

【図7】 本発明の実施の態様1に係わる基準主軸と重
畳主軸の加減速が重なった場合の重畳主軸の加減速動作
を示す図である。
FIG. 7 is a diagram illustrating an acceleration / deceleration operation of the superimposed spindle when the acceleration / deceleration of the reference spindle and the superimposed spindle overlaps according to the first embodiment of the present invention.

【図8】 本発明の実施の態様2に係わる数値制御装置
の要部ブロック図である。
FIG. 8 is a main part block diagram of a numerical control device according to a second embodiment of the present invention.

【図9】 本発明の実施の態様2に係わる数値制御装置
の動作を説明するためのフローチャートである。
FIG. 9 is a flowchart for explaining the operation of the numerical control device according to the second embodiment of the present invention.

【図10】 本発明の実施の態様2に係わる基準主軸と
重畳主軸の差速による同期タップの例を示す図である。
FIG. 10 is a diagram illustrating an example of a synchronization tap based on a speed difference between a reference spindle and a superimposed spindle according to Embodiment 2 of the present invention.

【図11】 本発明の実施の態様2に係わる基準主軸と
重畳主軸の差速による同期タップの動作を説明する図で
ある。
FIG. 11 is a diagram illustrating an operation of a synchronization tap based on a speed difference between a reference spindle and a superimposed spindle according to Embodiment 2 of the present invention.

【図12】 本発明の実施の態様2に係わる基準主軸と
重畳主軸の差速による同期タップの加減速の時定数を決
定するための説明図である。
FIG. 12 is an explanatory diagram for determining a time constant of acceleration / deceleration of a synchronous tap based on a speed difference between a reference spindle and a superimposed spindle according to Embodiment 2 of the present invention.

【図13】 本発明の実施の態様2に係わる基準主軸と
重畳主軸の差速による同期タップにおいて重畳主軸がク
ランプ速度を越える場合の動作を説明する図である。
FIG. 13 is a diagram for explaining an operation when the superimposed spindle exceeds the clamping speed in the synchronization tap based on the speed difference between the reference spindle and the superimposed spindle according to the second embodiment of the present invention.

【図14】従来の数値制御装置の要部ブロック図であ
る。
FIG. 14 is a block diagram of a main part of a conventional numerical control device.

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

1 数値制御装置、2 加工プログラム、3 加工プロ
グラム解析処理部、4A、4B 補間処理部、5 ラダ
ー回路、6 機械信号処理部、7 メモリ、8 パラメ
ータ設定部、9 画面表示部、10、10A 軸制御
部、11 データ入出力回路、12、12A 主軸アン
プ、13、13A 主軸モータ、20 補間処理手段、
21 重畳主軸回転数計算手段、22 多段加減速決定
手段、23 加減速時定数計算手段、24 同期タップ
時定数決定手段、25 同期タップクランプ速度チェッ
ク手段。
1 Numerical control unit, 2 machining program, 3 machining program analysis processing unit, 4A, 4B interpolation processing unit, 5 ladder circuit, 6 machine signal processing unit, 7 memory, 8 parameter setting unit, 9 screen display unit, 10 and 10A axes Control unit, 11 data input / output circuit, 12, 12A spindle amplifier, 13, 13A spindle motor, 20 interpolation processing means,
21 Superimposing spindle speed calculating means, 22 Multi-stage acceleration / deceleration determining means, 23 Acceleration / deceleration time constant calculating means, 24 Synchronous tap time constant determining means, 25 Synchronous tap clamp speed checking means.

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 基準主軸を駆動する主軸モータと重畳主
軸を駆動する主軸モータを、指令された回転差で主軸重
畳制御させる数値制御装置において、基準主軸と重畳主
軸の回転方向と、主軸重畳指令の回転方向と、基準主軸
と重畳主軸の指令回転数とから主軸重畳時の重畳主軸の
回転数を算出する重畳主軸回転数計算手段を備えたこと
を特徴とする数値制御装置。
1. A numerical controller for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposed spindle with a commanded rotation difference, comprising: a rotation direction of the reference spindle and the superimposed spindle; And a superimposing spindle rotation speed calculating means for calculating a rotation speed of the superimposing main shaft at the time of superimposing the main spindle from the rotation direction of the reference spindle and the command rotation speed of the superimposing main shaft.
【請求項2】 基準主軸を駆動する主軸モータと重畳主
軸を駆動する主軸モータを、指令された回転差で主軸重
畳制御させる数値制御装置において、主軸重畳制御時に
基準主軸が加減速を行う場合、基準主軸と重畳主軸の加
減速パターンのうち、傾斜の緩やかな加減速パターンを
決定する多段加減速決定手段を備えたことを特徴とする
数値制御装置。
2. A numerical controller for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposed spindle with a commanded rotation difference, wherein the reference spindle performs acceleration / deceleration during spindle superposition control. A numerical control device comprising: multi-stage acceleration / deceleration determining means for determining a gentle acceleration / deceleration pattern among acceleration / deceleration patterns of a reference spindle and a superimposed spindle.
【請求項3】 基準主軸を駆動する主軸モータと重畳主
軸を駆動する主軸モータを、指令された回転差で主軸重
畳制御させる数値制御装置において、基準主軸と重畳主
軸が同時に同方向に加減速が重なる場合、基準主軸と重
畳主軸のアンプの加減速能力を超えない加減速時定数を
計算する加減速時定数計算手段を備えたことを特徴とす
る数値制御装置。
3. A numerical controller for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposing spindle with a commanded rotation difference, wherein the reference spindle and the superimposing spindle simultaneously accelerate and decelerate in the same direction. A numerical control device comprising an acceleration / deceleration time constant calculating means for calculating an acceleration / deceleration time constant that does not exceed the acceleration / deceleration capacity of the amplifier of the reference spindle and the superimposed spindle when they overlap.
【請求項4】 基準主軸を駆動する主軸モータと重畳主
軸を駆動する主軸モータを、指令された回転差で主軸重
畳制御させる数値制御装置において、基準主軸と重畳主
軸との間の同期タップ実行時に、タップ主軸となる重畳
主軸に対する加減速時定数を、予めパラメータで決めら
れたタップ時定数と重畳主軸の多段加減速の時定数のう
ち、大きい値を使うことを決定する同期タップ時定数決
定手段を備えたことを特徴とする数値制御装置。
4. A numerical controller for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposing spindle with a commanded rotation difference, wherein a synchronous tap between the reference spindle and the superimposing spindle is executed. A synchronous tap time constant determining means for deciding to use the larger value of the acceleration / deceleration time constant for the superimposed spindle serving as the tap spindle and the time constant of the multi-stage acceleration / deceleration of the superimposed spindle and the tap time constant determined in advance by the parameter. A numerical control device comprising:
【請求項5】 基準主軸を駆動する主軸モータと重畳主
軸を駆動する主軸モータを、指令された回転差で主軸重
畳制御させる数値制御装置において、同期タップ開始時
にタップ主軸となる重畳主軸が同期タップを実行した場
合、重畳主軸の回転数がクランプ速度を越えるかどうか
をチェックし、クランプ速度を越える場合は同期タップ
を開始せずアラームにする同期タップクランプ速度チェ
ック手段を備えたことを特徴とする数値制御装置。
5. A numerical controller for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposed spindle with a commanded rotation difference, wherein the superimposed spindle serving as a tap spindle at the start of a synchronous tap is a synchronous tap. Is performed, it is checked whether or not the rotation speed of the superimposed spindle exceeds the clamping speed, and if the rotation speed exceeds the clamping speed, a synchronization tap clamping speed check means is provided which does not start the synchronization tap and sets an alarm. Numerical control unit.
【請求項6】 基準主軸を駆動する主軸モータと重畳主
軸を駆動する主軸モータを、指令された回転差で主軸重
畳制御させる数値制御装置の制御方法において、加工プ
ログラムより主軸重畳指令が指令される前の、基準主軸
と重畳主軸の回転方向と、基準主軸と重畳主軸の指令回
転数とを予めメモリに記憶しておき、加工プログラムよ
り主軸重畳指令が指令されたとき、上記メモリより基準
主軸と重畳主軸の回転方向と、基準主軸と重畳主軸の指
令回転数とを読込むとともに、この基準主軸と重畳主軸
の回転方向と、基準主軸と重畳主軸の指令回転数と、主
軸重畳指令の回転方向とから主軸重畳時の重畳主軸の回
転数を算出することを特徴とする数値制御装置の制御方
法。
6. A control method of a numerical control device for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposed spindle with a commanded rotation difference, wherein a spindle superimposition command is issued from a machining program. Previously, the rotation direction of the reference spindle and the superimposed spindle, and the command rotation speed of the reference spindle and the superimposed spindle are stored in advance in a memory, and when a spindle superimposition command is issued from a machining program, the reference spindle and the reference spindle are read from the memory. While reading the rotation direction of the superimposed spindle, the commanded rotation speed of the reference spindle and the superimposed spindle, the rotation direction of the reference spindle and the superimposed spindle, the commanded rotation speed of the reference spindle and the superimposed spindle, and the rotation direction of the spindle superimposition command. Calculating the number of revolutions of the superimposed spindle when the spindle is superimposed.
【請求項7】 基準主軸を駆動する主軸モータと重畳主
軸を駆動する主軸モータを、指令された回転差で主軸重
畳制御させる数値制御装置の制御方法において、主軸重
畳制御時に基準主軸が加減速を行う場合、基準主軸の加
減速パターンと重畳主軸の加減速パターンとを比較して
傾斜が緩やかな方の加減速パターンを選択し、この選択
した加減速パターンを用いて加減速を行うことを特徴と
する数値制御装置の制御方法。
7. A control method of a numerical control device for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposed spindle with a commanded rotation difference, wherein the reference spindle accelerates and decelerates during spindle superposition control. When performing, the acceleration / deceleration pattern of the reference spindle and the acceleration / deceleration pattern of the superimposed spindle are compared, and the acceleration / deceleration pattern with a gentler slope is selected, and acceleration / deceleration is performed using the selected acceleration / deceleration pattern. Control method of the numerical control device.
【請求項8】 基準主軸を駆動する主軸モータと重畳主
軸を駆動する主軸モータを、指令された回転差で主軸重
畳制御させる数値制御装置の制御方法において、基準主
軸と重畳主軸が同時に同方向に加減速が重なる場合、基
準主軸と重畳主軸のアンプの加減速能力を超えない加減
速時定数を計算し、この計算した時定数で加減速を行う
ことを特徴とする数値制御装置の制御方法。
8. A control method of a numerical controller for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposed spindle with a commanded rotation difference, wherein the reference spindle and the superimposed spindle are simultaneously in the same direction. A control method for a numerical control device, wherein when acceleration / deceleration overlaps, an acceleration / deceleration time constant not exceeding the acceleration / deceleration capacity of the amplifier of the reference spindle and the superimposed spindle is calculated, and acceleration / deceleration is performed using the calculated time constant.
【請求項9】 基準主軸を駆動する主軸モータと重畳主
軸を駆動する主軸モータを、指令された回転差で主軸重
畳制御させる数値制御装置の制御方法において、基準主
軸と重畳主軸との間の同期タップ実行時に、タップ主軸
となる重畳主軸に対する加減速時定数を、予めパラメー
タで決められたタップ時定数と重畳主軸の多段加減速の
時定数とを比較して大きい値の方を使うことを特徴とす
る数値制御装置の制御方法。
9. A control method of a numerical controller for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposed spindle with a commanded rotation difference, wherein the synchronization between the reference spindle and the superimposed spindle is performed. When tapping, the acceleration / deceleration time constant for the superimposed spindle that is the tap spindle is compared with the tap time constant determined in advance by the parameter and the time constant of the multi-stage acceleration / deceleration of the superimposed spindle, and the larger value is used. Control method of the numerical control device.
【請求項10】 基準主軸を駆動する主軸モータと重畳
主軸を駆動する主軸モータを、指令された回転差で主軸
重畳制御させる数値制御装置の制御方法において、同期
タップ開始時にタップ主軸となる重畳主軸が同期タップ
を実行した場合、重畳主軸の回転数がクランプ速度を越
えるかどうかをチェックし、クランプ速度を越える場合
は同期タップを開始せずアラームにすることを特徴とす
る数値制御装置の制御方法。
10. A control method of a numerical controller for controlling a spindle motor for driving a reference spindle and a spindle motor for driving a superimposed spindle with a commanded rotation difference, wherein the superimposed spindle which becomes a tap spindle at the start of a synchronous tap. The method of controlling a numerical control device characterized in that when a synchronous tap is executed, it is checked whether or not the rotation speed of the superimposed spindle exceeds the clamp speed, and if the rotational speed exceeds the clamp speed, an alarm is issued without starting the synchronous tap. .
JP27561097A 1997-10-08 1997-10-08 Numerical control device and control method thereof Expired - Fee Related JP3543571B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27561097A JP3543571B2 (en) 1997-10-08 1997-10-08 Numerical control device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27561097A JP3543571B2 (en) 1997-10-08 1997-10-08 Numerical control device and control method thereof

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003099205A Division JP3925450B2 (en) 2003-04-02 2003-04-02 Numerical control device and control method thereof

Publications (2)

Publication Number Publication Date
JPH11110019A true JPH11110019A (en) 1999-04-23
JP3543571B2 JP3543571B2 (en) 2004-07-14

Family

ID=17557856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27561097A Expired - Fee Related JP3543571B2 (en) 1997-10-08 1997-10-08 Numerical control device and control method thereof

Country Status (1)

Country Link
JP (1) JP3543571B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5631467B1 (en) * 2013-09-06 2014-11-26 株式会社牧野フライス製作所 Drilling method and numerical control device
WO2019054329A1 (en) * 2017-09-12 2019-03-21 シチズン時計株式会社 Machine tool

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5631467B1 (en) * 2013-09-06 2014-11-26 株式会社牧野フライス製作所 Drilling method and numerical control device
WO2019054329A1 (en) * 2017-09-12 2019-03-21 シチズン時計株式会社 Machine tool
JPWO2019054329A1 (en) * 2017-09-12 2020-10-15 シチズン時計株式会社 Machine Tools
TWI771490B (en) * 2017-09-12 2022-07-21 日商西鐵城時計股份有限公司 machine tool
US11484947B2 (en) 2017-09-12 2022-11-01 Citizen Watch Co., Ltd. Machine tool

Also Published As

Publication number Publication date
JP3543571B2 (en) 2004-07-14

Similar Documents

Publication Publication Date Title
JP3285663B2 (en) Tool breakage detection device
JPS62237504A (en) Numerical controller
JP2006004275A (en) Numerical control device
JPH11129144A (en) Control device for nc machine tool
JP7035875B2 (en) Numerical control device, numerical control method, and numerical control program
JPH01146642A (en) Stop control device for cutting tool
JP2007000941A (en) Screw cutting control method and device
JP3543571B2 (en) Numerical control device and control method thereof
JP3925450B2 (en) Numerical control device and control method thereof
JP4434209B2 (en) Numerical control device and control method thereof
JP4434210B2 (en) Numerical control device and control method thereof
JP2004114176A (en) Numerical controller
WO1992009018A1 (en) Method for executing auxiliary function in numerical control equipment
JPH0751992A (en) Drilling work method
JP4110959B2 (en) Spindle synchronous control method and apparatus
JP2001134321A (en) Numerical controller
US11114967B2 (en) Controller of rotary axis
JP3136851B2 (en) Screw processing equipment
JPH03204703A (en) Numerical controller
JP2003015713A (en) Numerical controller
WO2023139743A1 (en) Information processing device, machine tool control device, and computer program
JP2575894B2 (en) Numerical control unit
JP2712881B2 (en) Numerical control unit
JPH11156638A (en) Numerical control device
JPH10202471A (en) Numerical control device with spindle control function

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040316

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040329

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

Free format text: PAYMENT UNTIL: 20080416

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090416

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100416

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100416

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110416

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120416

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120416

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140416

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees