JP2654228B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP2654228B2
JP2654228B2 JP2108169A JP10816990A JP2654228B2 JP 2654228 B2 JP2654228 B2 JP 2654228B2 JP 2108169 A JP2108169 A JP 2108169A JP 10816990 A JP10816990 A JP 10816990A JP 2654228 B2 JP2654228 B2 JP 2654228B2
Authority
JP
Japan
Prior art keywords
spindle
servo
sub
mode
axis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2108169A
Other languages
Japanese (ja)
Other versions
JPH045706A (en
Inventor
明仁 柴田
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.)
OOKUMA KK
Original Assignee
OOKUMA KK
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 OOKUMA KK filed Critical OOKUMA KK
Priority to JP2108169A priority Critical patent/JP2654228B2/en
Publication of JPH045706A publication Critical patent/JPH045706A/en
Application granted granted Critical
Publication of JP2654228B2 publication Critical patent/JP2654228B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は数値制御装置に関するものであり、特に複数
の主軸を有し、被加工物を1つまたは2つの主軸にて把
持する数値制御工作機械に適用して好適な数値制御装置
に関する。
Description: BACKGROUND OF THE INVENTION (Field of Industrial Application) The present invention relates to a numerical control device, in particular, a numerical control machine having a plurality of spindles and holding a workpiece by one or two spindles. The present invention relates to a numerical control device suitable for application to a machine.

(従来の技術) 近年、機械加工の生産性を向上する目的で、従来は複
数台の数値制御(以下、NCという)工作機械で実現して
いた各種機能が1台のNC工作機械に具備されるようにな
ってきた。例えばNC工作機械の一種であるCNC旋盤には
第3図(A)に示すような旋盤C軸制御機能や同図
(B)に示すような2主軸完全同期制御機能が具備され
ている。旋盤C軸制御機能を実現するには、主軸の高精
度位置制御技術が必要であり、2主軸完全同期制御機能
を実現するには、更に2つの主軸間の高度な同期制御技
術及び少なくとも1つの主軸台を直線移動させる駆動機
構が必要となる。
(Prior art) In recent years, in order to improve the productivity of machining, various functions that were conventionally realized by multiple numerically controlled (hereinafter referred to as NC) machine tools are provided in one NC machine tool. It has become. For example, a CNC lathe, which is a kind of NC machine tool, has a lathe C-axis control function as shown in FIG. 3 (A) and a two-spindle perfect synchronous control function as shown in FIG. 3 (B). To realize the lathe C-axis control function, high-precision position control technology of the main spindle is required. To realize the two-spindle perfect synchronous control function, an advanced synchronous control technology between two main spindles and at least one A drive mechanism for linearly moving the headstock is required.

第4図はその駆動機構を有するCNC旋盤の一例を示す
概略図であり、サブスピンドル12がメインスピンドル11
に対して移動可能なように、サブスピンドル12が搭載さ
れる主軸台18に案内を取りつけ、この案内に螺合するW
軸ボールネジ16をW軸駆動モータ17で駆動して主軸台18
をW軸上可動範囲の任意の場所に位置決めし、被加工物
15の受渡しを行っている。
FIG. 4 is a schematic view showing an example of a CNC lathe having the driving mechanism, in which a sub spindle 12 is a main spindle 11
A guide is attached to a headstock 18 on which the sub-spindle 12 is mounted so as to be movable with respect to
The spindle ball screw 16 is driven by the W-axis drive motor 17 to
Is positioned at an arbitrary position within the movable range on the W axis,
There are 15 deliveries.

このようなW軸駆動機構を有する旋盤C軸制御機能及
び2主軸完全同期制御機能を具備したCNC旋盤の運転モ
ードの推移については以下説明する。例えば第5図に示
すようなメインスピンドル11とサブスピンドル12の2つ
の主軸を有し、A刃物台13,B刃物台14の2つの刃物台に
取付けられた工具にて棒材である被加工物(以下、ワー
クという)15を連続加工するような工程は一般に以下に
示すように組まれる。
The transition of the operation mode of the CNC lathe having the lathe C-axis control function having such a W-axis drive mechanism and the two-spindle perfect synchronous control function will be described below. For example, a workpiece having two main shafts, a main spindle 11 and a sub-spindle 12, as shown in FIG. A process for continuously processing an object (hereinafter referred to as a work) 15 is generally set as shown below.

メインスピンドル11に把持されたワーク15をA刃物台
13とB刃物台14にて加工する。この際、第3図(A)に
示す旋盤C軸制御加工(以下、創成加工という)が行わ
れる(この運転モードを以下ではC軸モードという)こ
とがあり、メインスピンドル11は位置制御モードにて運
転されることが多い。
A workpiece turret A held by the main spindle 11
Work with 13 and B tool post 14. At this time, the lathe C-axis control processing (hereinafter referred to as “generating processing”) shown in FIG. 3A may be performed (this operation mode is hereinafter referred to as “C-axis mode”), and the main spindle 11 is switched to the position control mode. It is often driven.

サブスピンドル12をW軸上でメインスピンドル11に近
づけ、サブスピンドル12でワークを把持してA刃物台13
またはB刃物台14にてワーク15を突切り、分断する(第
6図参照)。この際、メインスピンドル11とサブスピン
ドル12にて第3図(B)に示す2主軸完全同期制御が行
われ(この運転モードを以下ではビックオフモードとい
う)、メインスピンドル11,サブスピンドル12とも高精
度な位置制御にて運転される。
The sub-spindle 12 is moved closer to the main spindle 11 on the W axis,
Alternatively, the work 15 is cut off and divided by the B tool post 14 (see FIG. 6). At this time, two-spindle perfect synchronization control shown in FIG. 3B is performed by the main spindle 11 and the sub-spindle 12 (this operation mode is hereinafter referred to as a big-off mode), and both the main spindle 11 and the sub-spindle 12 have high precision. It is operated with a simple position control.

分断されたワークを把持したままサブスピンドル12を
W軸上でメインスピンドル11と反対方向に戻し、サブス
ピンドル12にて把持されたワーク(以下、サブスピンド
ルワークという)52をA刃物台13(もしくはB刃物台1
4)にて背面加工を行うとともに、メインスピンドル11
に把持されたワーク(以下、メインスピンドルワークと
いう)51を残りの刃物台であるB刃物台14(もしくはA
刃物台13)にて加工する(第7図参照)。この際、メイ
ンスピンドル11,サブスピンドル12とも必要に応じて位
置制御される。
The sub-spindle 12 is returned in the direction opposite to the main spindle 11 on the W axis while holding the divided work, and the work (hereinafter, referred to as a sub-spindle work) 52 held by the sub-spindle 12 is moved to the A tool post 13 (or B tool post 1
4) Back processing is performed in the main spindle 11
(Hereinafter, referred to as a main spindle work) 51 is held by the B tool post 14 (or A
Processing is performed by the tool post 13) (see FIG. 7). At this time, the position of both the main spindle 11 and the sub-spindle 12 is controlled as needed.

サブスピンドルワーク52の加工を終了し、メインスピ
ンドルワーク51をA刃物台13(もしくはB刃物台14)又
は両刃物台13,14にて加工する。この際、メインスピン
ドル11は必要に応じて位置制御される。
After the machining of the sub spindle work 52 is completed, the main spindle work 51 is machined by the A tool post 13 (or the B tool post 14) or the double tool post 13 and 14. At this time, the position of the main spindle 11 is controlled as needed.

そして、の工程が終了すると再度の工程から繰返
し、これにより棒材が1台のCNC旋盤にて連続加工され
る。以上の繰返し工程をまとめると表1のようになる。
When the process is completed, the process is repeated from the second process, whereby the bar is continuously processed by one CNC lathe. Table 1 summarizes the above repetitive steps.

第8図は上述したCNC旋盤の駆動制御を行う従来のNC
装置の一例を示すブロック図であり、例えばバブルメモ
リ等の不揮発性記憶素子から成るサーボパラメータ格納
部3には、予めサーボ調整時に設定された各軸毎のサー
ボパラメータ(速度ルーブゲイン,位置ルーブゲイン,
加減速時定数等のデータ)が各軸毎に1組づつまとめて
格納されている。電源投入時には、NC指令部2によりメ
インスピンドル用のサーボパラメータがサーボパラメー
タ格納部3から読出され、メインスピンドル制御部5Mに
接続されているメインスピンドル運転用サーボパラメー
タ記憶部4Mに転送される。メインスピンドル運転用サー
ボパラメータ記憶部4Mへのメインスピンドル用サーボパ
ラメータの転送終了後、NC指令部2により次の制御軸で
あるサブスピンドル用のサーボパラメータがサーボパラ
メータ格納部3から読出され、サブスピンドル制御部5S
に接続されているサブスピンドル運転用サーボパラメー
タ記憶部4Sに転送される。以下順にW軸,XA軸,……,ZB
軸に対応するサーボパラメータがNC指令部2によりサー
ボパラメータ格納部3から読出され、対応する軸の制御
部5W,5XA,……5ZBに接続されているサーボパラメータ記
憶部4W,4XA,……,4ZBにそれぞれ転送される。これらの
サーボパラメータは、各軸に想定されるサーボ制御条
件,負荷条件等により各軸の制御に支障が無いレベルに
設定されており、各運転モードに対して同一のサーボパ
ラメータが適用される。
Fig. 8 shows a conventional NC that controls the drive of the above-mentioned CNC lathe.
FIG. 2 is a block diagram showing an example of the device. For example, servo parameters (speed lube gain, position lube gain, and position lube gain) for each axis set in advance in servo adjustment are stored in a servo parameter storage unit 3 composed of a nonvolatile storage element such as a bubble memory.
Data such as acceleration / deceleration time constants are stored collectively for each axis. When the power is turned on, the servo parameters for the main spindle are read from the servo parameter storage section 3 by the NC command section 2 and transferred to the main spindle operation servo parameter storage section 4M connected to the main spindle control section 5M. After the transfer of the main spindle servo parameters to the main spindle operation servo parameter storage unit 4M, the NC command unit 2 reads the servo parameters for the next control axis, the sub spindle, from the servo parameter storage unit 3 and Control unit 5S
Is transferred to the sub-spindle operation servo parameter storage unit 4S connected to. W axis, XA axis, ..., ZB
The servo parameters corresponding to the axis are read from the servo parameter storage unit 3 by the NC command unit 2, and the servo parameter storage units 4W, 4XA,..., Connected to the control units 5W, 5XA,. Each is transferred to 4ZB. These servo parameters are set to levels that do not hinder the control of each axis due to servo control conditions, load conditions, and the like assumed for each axis, and the same servo parameters are applied to each operation mode.

このような構成において、電源投入時の各軸制御部へ
のサーボパラメータの転送が終了し、通常のNC運転が実
行される際の各部の動作について説明する。
In such a configuration, the operation of each unit when the transfer of the servo parameters to each axis control unit at the time of power-on and the normal NC operation is performed will be described.

NC指令部2は、NCプログラム1を読込んだ後にその解
釈を行い、速度指令や位置指令等の移動指令を各制御部
5M〜5ZBに送出し、また各制御部5M〜5ZBからの制御状態
データ(各軸の現在位置,速度,異常検出信号等)を監
視して正常な制御状態が保たれているか否かを確認し、
NCプログラム1により指令される運転指令を実現する。
The NC command unit 2 reads the NC program 1 and interprets it, and sends movement commands such as speed commands and position commands to each control unit.
Sends to 5M-5ZB and monitors control status data (current position, speed, abnormality detection signal, etc. of each axis) from each control unit 5M-5ZB to check whether the normal control status is maintained And
An operation command issued by the NC program 1 is realized.

メインスピンドル制御部5Mは、NC指令部2からの移動
指令に応じて、メインスピンドル駆動用の誘導モータ6
に結合されているパルスジェネレータ7の検出値から誘
導モータ6の現在位置や速度を算出してNC指令部2に送
出するとともに、誘導モータ6をフィードバック制御す
る。また、誘導モータ6やパルスジェネレータ7の異常
を検出したら、誘導モータ6を停止させるとともに異常
検出信号をNC指令部2に送出する。
The main spindle control section 5M responds to a movement command from the NC command section 2 to drive the main spindle driving induction motor 6M.
The current position and speed of the induction motor 6 are calculated from the detection values of the pulse generator 7 connected to the control unit 2 and sent to the NC command unit 2 and the feedback control of the induction motor 6 is performed. When the abnormality of the induction motor 6 or the pulse generator 7 is detected, the induction motor 6 is stopped and an abnormality detection signal is sent to the NC command unit 2.

以下、各制御部5S〜5ZBは、メインスピンドル制御部5
Mと同様に各軸駆動用の同期モータ8S〜8ZBをフィードバ
ック制御し、各軸駆動用の同期モータ8S〜8ZBやそれら
に結合されているレゾルバ9S〜9ZBの異常検出等を行
う。
Hereinafter, each of the control units 5S to 5ZB is a main spindle control unit 5
Similarly to M, feedback control is performed on the synchronous motors 8S to 8ZB for driving the respective axes, and abnormality detection of the synchronous motors 8S to 8ZB for driving the respective axes and the resolvers 9S to 9ZB coupled thereto is performed.

以上述べてきたような方式により、NC指令部2は2つ
の主軸制御部5M,5Sおよび各送り軸制御部5W〜5ZBをコン
トロールし、メインスピンドル11あるいはサブスピンド
ル12におけるC軸モードや2つのスピンドル11,12によ
るピックオフモードを実現すべく動作する。
According to the method described above, the NC command unit 2 controls the two spindle control units 5M and 5S and the feed axis control units 5W to 5ZB, and controls the C-axis mode or the two spindles in the main spindle 11 or the sub spindle 12. It operates to realize the pick-off mode by 11,12.

(発明が解決しようとする課題) 一般にモータを安定に位置制御するためにはモータの
ロータイナーシャの1〜3倍程度の範囲内に負荷イナー
シャを設定することが経験上必要とされている。上述し
た2スピンドル仕様のCNCの旋盤においては、通常サブ
スピンドルは、メインスピンドルよりも出力の小さなモ
ータにて駆動されることが多いので、軸換算の負荷イナ
ーシャの範囲は絶対値から見てメインスピンドルを負荷
としたサブスピンドル軸換算負荷イナーシャの方がサブ
スピンドルを負荷としたメインスピンドル軸換算負荷イ
ナーシャより広く、またロータイナーシャも同様にメイ
ンスピンドルモータの方がサブスピンドルモータよりも
大きくなる場合が多い。そして、ピックオフモードの際
にはそれぞれのロータイナーシャが対向するスピンドル
の負荷イナーシャに加わることになる。
(Problems to be Solved by the Invention) Generally, in order to control the position of the motor stably, it is necessary from experience to set the load inertia within a range of about 1 to 3 times the rotor inertia of the motor. In the above-mentioned two-spindle CNC lathe, the sub-spindle is usually driven by a motor whose output is smaller than that of the main spindle. The load inertia of the sub-spindle shaft converted to load is wider than that of the main spindle shaft converted to load of the sub-spindle, and the rotor inertia of the main spindle motor is also often larger than that of the sub-spindle motor. . In the pick-off mode, each rotor inertia adds to the load inertia of the opposing spindle.

通常サーボ調整時においては各スピンドル単独の運転
にて適切なサーボパラメータが決定・設定される。しか
し、ピックオフモード時のように両スピンドルがワーク
により連結状態になった時には、負荷イナーシャの制御
範囲の狭いサブスピンドル側が激しく共振することがあ
る。この理由は、各スピンドル単独運転にて設定した速
度ループゲイン等のサーボパラメータでは、各スピンド
ル単独の許容負荷イナーシャをはるかに越えるようなピ
ックオフモード時の負荷イナーシャに対して過大ゲイン
となることによる。従って、ピックオフモード時の加工
品位に決定的なダメージを与えることになる。これを避
ける為に支障が生じない程度にまでサーボパラメータを
小さく設定し直せばよいが、設定し直したサーボパラメ
ータにてサブスピンドル単独の加工、例えばサブスピン
ドル側の背面の創成加工を行うと設定ゲインが過小とな
る為、追従遅れが生じたり、加工に必要以上に時間がか
かったりするという問題があった。
Normally, during servo adjustment, appropriate servo parameters are determined and set by the operation of each spindle alone. However, when both spindles are connected by a work as in the pick-off mode, the sub-spindle having a narrow control range of the load inertia may resonate violently. The reason for this is that the servo parameters such as the speed loop gain set in the individual operation of each spindle have an excessive gain with respect to the load inertia in the pick-off mode that far exceeds the allowable load inertia of each spindle alone. Therefore, processing quality in the pick-off mode is definitely damaged. In order to avoid this, the servo parameters may be reset to a value that does not cause a problem.However, it is necessary to perform processing of the sub-spindle alone with the reset servo parameters, for example, creation of the back side of the sub-spindle side Since the gain is too small, there is a problem that a tracking delay occurs or processing takes longer than necessary.

本発明は上述した事情から成されたものであり、本発
明の目的は、複数の主軸を有し、被加工物を1つまたは
2つの主軸で把持させて運転するNC工作機械において、
複数の運転モードに対応したサーボパラメータを適時切
換えることが可能なNC装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an NC machine tool that has a plurality of spindles and operates while gripping a workpiece with one or two spindles.
An object of the present invention is to provide an NC device capable of appropriately switching servo parameters corresponding to a plurality of operation modes.

(課題を解決するための手段) 本発明は、NCプログラムを解釈することにより各軸の
移動指令を生成し、前記移動指令に応じて各軸駆動モー
タを制御するNC装置に関するもので、本発明の上記目的
は、被加工物の両端を同時に2つの主軸に把持させて運
転するモードに対応するサーボパラメータ及び前記被加
工物の片端を前記2つの主軸の一方に把持させて運転す
るモードに対応するサーボパラメータを予め格納してお
く格納部と、前記NCプログラムを解釈して現在の運転モ
ードを判定する指令部と、前記判定された運転モードに
対応するサーボパラメータの切替信号を生成する生成部
とを備えて、前記切替信号により自動選択されたサーボ
パラメータにより当該軸駆動モータを制御することによ
って達成される。
(Means for Solving the Problems) The present invention relates to an NC device that generates a movement command for each axis by interpreting an NC program and controls each axis drive motor according to the movement command. The above objects of the present invention correspond to a servo parameter corresponding to a mode in which both ends of a workpiece are simultaneously gripped by two main spindles and a mode in which one end of the workpiece is gripped by one of the two spindles to operate. A storage unit that stores servo parameters to be stored in advance, a command unit that interprets the NC program to determine a current operation mode, and a generation unit that generates a servo parameter switching signal corresponding to the determined operation mode. And controlling the shaft drive motor with the servo parameters automatically selected by the switching signal.

(作用) 本発明にあっては、被加工物を把持する主軸数に応じ
た各軸のサーボパラメータを運転モードに対応させて予
め格納しており、NCプログラムの解釈により判定した運
転モードに対応するサーボパラメータに切替えて当該軸
を駆動制御するので、例えばCNC旋盤におけるサブスピ
ンドルのC軸モードとピックオフモードの如く、サーボ
制御条件が大きく異なる運転モードにおいても不要な振
動を生じさせることなく、高い生産性を容易に実現する
ことができる。
(Operation) In the present invention, the servo parameters of each axis corresponding to the number of spindles gripping the workpiece are stored in advance in correspondence with the operation mode, and correspond to the operation mode determined by interpreting the NC program. Drive control of the relevant axis by switching to the servo parameter to be performed, so that unnecessary vibration is not generated even in an operation mode in which servo control conditions are greatly different, such as a C-axis mode and a pick-off mode of a sub spindle in a CNC lathe, for example. Productivity can be easily realized.

(実施例) 第1図は本発明のNC装置の一例を第8図に対応させて
示すブロック図であり、同一構成箇所は同符号を付して
説明を省略する。C軸モードとピックオフモードのサー
ボパラメータがサーボパラメータ格納部3内のサブスピ
ンドル用サーボパラメータとして格納されている。電源
投入時には、NC指令部2によりC軸モードにおけるサブ
スピンドル用サーボパラメータがサーボパラメータ格納
部3から読出され、サブスピンドル制御部5Sに接続され
ているサブスピンドル運転用サーボパラメータ記憶部4S
aに転送され、引き続き、ピックオフモードにおけるサ
ブスピンドル用サーボパラメータがサーボパラメータ格
納部3から読出され、サブスピンドル制御部5Sに接続さ
れているサブスピンドル運転用サーボパラメータ記憶部
4Sbに転送される。各サブスピンドル運転用サーボパラ
メータ記憶部4Sa又は4Sbに記憶されているC軸モードの
サブスピンドル用サーボパラメータ又はピックオフモー
ドのサブスピンドル用サーボパラメータは、パラメータ
切替信号生成部10から送出されて来る切替信号PSにより
切替わる切替スイッチ10Aを介してサブスピンドル制御
部5Sに転送されるようになっている。
(Embodiment) FIG. 1 is a block diagram showing an example of an NC apparatus according to the present invention in correspondence with FIG. 8, and the same components are denoted by the same reference numerals and description thereof is omitted. Servo parameters for the C-axis mode and the pick-off mode are stored as servo parameters for the sub spindle in the servo parameter storage unit 3. When the power is turned on, the sub-spindle servo parameters in the C-axis mode are read from the servo parameter storage unit 3 by the NC command unit 2, and the sub-spindle operation servo parameter storage unit 4S connected to the sub-spindle control unit 5S.
The sub-spindle servo parameters in the pick-off mode are read out from the servo parameter storage unit 3 and are subsequently read from the servo parameter storage unit 3, and are connected to the sub-spindle control unit 5S.
Transferred to 4Sb. The sub-spindle servo parameter in the C-axis mode or the sub-spindle servo parameter in the pick-off mode stored in each sub-spindle operation servo parameter storage unit 4Sa or 4Sb is a switching signal transmitted from the parameter switching signal generation unit 10. The data is transferred to the sub-spindle control unit 5S via the changeover switch 10A switched by the PS.

このような構成において、その動作例を説明すると、
パラメータ切替信号生成部10は、初期値としてC軸モー
ドのサブスピンドル用サーボパラメータを用いるべくパ
ラメータ切替信号PSを生成して切替スイッチ10Aへ送出
する。サブスピンドル制御部5Sは、C軸モードのサブス
ピンドル用サーボパラメータにてサブスピンドルの位置
制御もしくは速度制御を行う。
In such a configuration, an operation example will be described.
The parameter switching signal generation unit 10 generates a parameter switching signal PS so as to use the sub-spindle servo parameter in the C-axis mode as an initial value, and sends it to the switch 10A. The sub-spindle control unit 5S controls the position or speed of the sub-spindle using the sub-spindle servo parameters in the C-axis mode.

次に、NC指令部2は、解釈中のNCプログラムから2ス
ピンドルの同期回転制御を始めるコード(第2図に示す
ビックオフモードのNCプログラム例では“M151")を検
出すると、ピックオフモードが開始するものと判断して
パラメータ切替信号生成部10に運転モードの切替わりを
伝達する。これを受けてパラメータ切替信号生成部10
は、ピックオフモードのサブスピンドル用サーボパラメ
ータを用いるべくパラメータ切替信号PSを生成して切替
スイッチ10Aへ送出する。サブスピンドル制御部5Sは、
ピックオフモードのサブスピンドル用サーボパラメータ
にてサブスピンドルの制御を行う。
Next, when the NC command unit 2 detects a code (“M151” in the example of the NC program in the big off mode shown in FIG. 2) for starting synchronous rotation control of two spindles from the NC program being interpreted, the pickoff mode starts. Then, the switching of the operation mode is transmitted to the parameter switching signal generator 10. In response to this, the parameter switching signal generator 10
Generates a parameter switching signal PS to use the sub-spindle servo parameter in the pick-off mode and sends it to the changeover switch 10A. The sub spindle control unit 5S
The sub-spindle is controlled by the sub-spindle servo parameter in the pick-off mode.

そして、NC指令部2は、解釈中のNCプログラムから2
スピンドルの同期回転制御を終えるコード(第2図に示
すピックオフモードのNCプログラム例では“M150")を
検出すると、ピックオフモードが終了したものと判断し
てパラメータ切替信号生成部10に運転モードの切替わり
を伝達する。以下、“M151"の検出の際と同じ手順に
て、サブスピンドル制御部5Sは、C軸モードのサブスピ
ンドル用のサーボパラメータにて以降のサブスピンドル
の制御を行う。
Then, the NC command unit 2 uses the NC program under interpretation to
When a code for ending the synchronous rotation control of the spindle ("M150" in the example of the NC program in the pick-off mode shown in FIG. 2) is detected, it is determined that the pick-off mode has ended, and the parameter switching signal generation unit 10 switches the operation mode. Communicate the change. Hereinafter, the sub-spindle control unit 5S controls the subsequent sub-spindle using the servo parameters for the sub-spindle in the C-axis mode in the same procedure as when detecting “M151”.

(発明の効果) 以上のように本発明のNC装置によれば、複数の主軸を
有し、被加工物を1つまたは2つの主軸で把持させて運
転するNC工作機械において、サーボ制御条件が異なる複
数の運転モードに対応した適切なサーボパラメータをNC
プログラムの解釈処理に伴なって自動的に切替えて当該
軸を制御するので、サーボ性能を損なうことなく複数の
運転モードに応じて高速・高精度のモータコントロール
を実現することができる。
(Effects of the Invention) As described above, according to the NC apparatus of the present invention, in an NC machine tool having a plurality of spindles and operating while holding a workpiece by one or two spindles, the servo control conditions are NC suitable servo parameters corresponding to multiple different operation modes
Since the axis is controlled by switching automatically in accordance with the interpretation of the program, high-speed and high-accuracy motor control can be realized according to a plurality of operation modes without impairing the servo performance.

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

第1図は本発明のNC装置の一例を示すブロック図、第2
図はピックオフモードのNCプログラムの一例を示す図、
第3図(A)は旋盤C軸制御機能を説明するための図、
同図(B)は2主軸完全同期制御機能を説明するための
図、第4図はサブスピンドルの駆動機構を有するCNC旋
盤の一例を示す概略図、第5図は2主軸,2刃物台を有す
るCNC旋盤の配置図、第6図は第5図で示したCNC旋盤に
おけるピックオフモードを説明するための図、第7図は
第4図で示したCNC旋盤における2主軸単独のC軸モー
ドを説明するための図、第8図は従来のNC装置に一例を
示すブロック図である。 1…NCプログラム、2…NC指令部、3…サーボパラメー
タ格納部、4M,4S,4Sa,4Sb,4W,4XA,4ZB…サーボパラメー
タ記憶部、5M…メインスピンドル制御部、5S…サブスピ
ンドル制御部、5W…W軸制御部、5XA…XA軸制御部、5ZB
…ZB軸制御部、6…誘導モータ、7…パルスジュネレー
タ、8S,8W,8XA,8ZB…同期モータ、9S,9W,9XA,9ZB…レゾ
ルバ、10…パラメータ切替信号生成部、10A…切替スイ
ッチ、11…メインスピンドル、12…サブスピンドル、13
…A刃物台、14…B刃物台、15…被加工物、16…W軸ボ
ールネジ、17…W軸駆動モータ、18…主軸台、51…メイ
ンスピンドルワーク、52…サブスピンドルワーク。
FIG. 1 is a block diagram showing an example of an NC device according to the present invention.
The figure shows an example of NC program in pick-off mode,
FIG. 3A is a diagram for explaining a lathe C-axis control function,
FIG. 4B is a view for explaining a two-spindle perfect synchronization control function, FIG. 4 is a schematic view showing an example of a CNC lathe having a sub spindle drive mechanism, and FIG. 5 is a view showing a two-spindle, two turret. FIG. 6 is a diagram for explaining a pick-off mode in the CNC lathe shown in FIG. 5, and FIG. 7 is a diagram showing a C-axis mode of two spindles alone in the CNC lathe shown in FIG. FIG. 8 is a block diagram showing an example of a conventional NC device. 1: NC program, 2: NC command unit, 3: Servo parameter storage unit, 4M, 4S, 4Sa, 4Sb, 4W, 4XA, 4ZB: Servo parameter storage unit, 5M: Main spindle control unit, 5S: Sub spindle control unit , 5W ... W axis control unit, 5XA ... XA axis control unit, 5ZB
... ZB axis control unit, 6 ... Induction motor, 7 ... Pulse generator, 8S, 8W, 8XA, 8ZB ... Synchronous motor, 9S, 9W, 9XA, 9ZB ... Resolver, 10 ... Parameter switching signal generator, 10A ... Switch , 11… Main spindle, 12… Sub spindle, 13
... A tool post, 14 ... B tool post, 15 ... Workpiece, 16 ... W-axis ball screw, 17 ... W-axis drive motor, 18 ... Spindle stand, 51 ... Main spindle work, 52 ... Sub spindle work.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】数値制御プログラムを解釈することにより
各軸の移動指令を生成し、前記移動指令に応じて各軸駆
動モータを制御する数値制御装置において、被加工物の
両端を同時に2つの主軸に把持させて運転するモードに
対応するサーボパラメータ及び前記被加工物の片端を前
記2つの主軸の一方に把持させて運転するモードに対応
するサーボパラメータを予め格納しておく格納部と、前
記数値制御プログラムを解釈して現在の運転モードを判
定する指令部と、前記判定された運転モードに対応する
サーボパラメータの切替信号を生成する生成部とを有
し、前記切替信号により自動選択されたサーボパラメー
タにより当該軸駆動モータを制御するようにしたことを
特徴とする数値制御装置。
1. A numerical control device for generating a movement command for each axis by interpreting a numerical control program and controlling each axis drive motor in accordance with the movement command. A storage unit for storing in advance servo parameters corresponding to a mode in which the operation is performed by holding the workpiece and servo parameters corresponding to a mode in which one end of the workpiece is gripped by one of the two main spindles. A command unit that interprets a control program to determine a current operation mode; and a generation unit that generates a switching signal of a servo parameter corresponding to the determined operation mode, and a servo automatically selected by the switching signal. A numerical control device wherein the shaft drive motor is controlled by a parameter.
JP2108169A 1990-04-24 1990-04-24 Numerical control unit Expired - Lifetime JP2654228B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2108169A JP2654228B2 (en) 1990-04-24 1990-04-24 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2108169A JP2654228B2 (en) 1990-04-24 1990-04-24 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH045706A JPH045706A (en) 1992-01-09
JP2654228B2 true JP2654228B2 (en) 1997-09-17

Family

ID=14477735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2108169A Expired - Lifetime JP2654228B2 (en) 1990-04-24 1990-04-24 Numerical control unit

Country Status (1)

Country Link
JP (1) JP2654228B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003140715A (en) * 2001-10-30 2003-05-16 Toshiba Mach Co Ltd Numerical controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0276664A (en) * 1988-09-09 1990-03-16 Yamazaki Mazak Corp Method and device for c-axis control of spindle drive motor

Also Published As

Publication number Publication date
JPH045706A (en) 1992-01-09

Similar Documents

Publication Publication Date Title
EP0331749B1 (en) Synchronization control of spindle motor and feed motor
JPH046001B2 (en)
WO2007074748A1 (en) Machine tool and its program conversion method
US4347470A (en) Spindle orientation control apparatus
US6856854B2 (en) Numerical control device for a machine tool
KR940007130B1 (en) Nc instruction method
US6111382A (en) Device for controlling tapping device provided with composite tool having boring and tapping sections
JPH10143216A (en) Collision detector for movable unit
EP0416116A1 (en) Spindle control instruction system
JP5059360B2 (en) Rapid feed control method for machine tools
US6628097B2 (en) Machine tool and control method therefor
JP2702575B2 (en) Work replacement method
JP2004202594A (en) Numerical control device
EP0647892B1 (en) Numeric controller
JP2654228B2 (en) Numerical control unit
JPH0615547A (en) Method and device for control of one or more axial lines in machine tool
JPH0649260B2 (en) Synchronous control device
JPH11202926A (en) Method and device for feed speed control in numerical control
JP2642211B2 (en) Numerical control device with superposition control function
JPS61152351A (en) Machine tool with function of returning to original position
US5010492A (en) Spindle control system and numerical control apparatus
JPH03126104A (en) Feed speed control system
JP3301190B2 (en) Spindle operation switching method
JP2712881B2 (en) Numerical control unit
JPH04322303A (en) Numerical controller