JPH07319519A - Spindle control method for multi-axis numerical controller - Google Patents
Spindle control method for multi-axis numerical controllerInfo
- Publication number
- JPH07319519A JPH07319519A JP10647294A JP10647294A JPH07319519A JP H07319519 A JPH07319519 A JP H07319519A JP 10647294 A JP10647294 A JP 10647294A JP 10647294 A JP10647294 A JP 10647294A JP H07319519 A JPH07319519 A JP H07319519A
- Authority
- JP
- Japan
- Prior art keywords
- rotation
- spindles
- rotary
- spindle
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Control Of Velocity Or Acceleration (AREA)
- Numerical Control (AREA)
Abstract
(57)【要約】
【目的】 多軸数値制御装置の主軸制御方法において、
同期制御する回転主軸の組が複数設定される場合に各組
の間で単独に回転制御を行う。同期制御される回転主軸
の間で回転比率が異なる回転制御を行う。
【構成】 多軸数値制御装置の主軸制御方法において、
各々独立に複数の回転主軸の回転速度及び加速度を設定
する段階と、複数の回転主軸の間で同期制御を行う回転
主軸の組を設定し、回転主軸の組毎に同期制御を行う段
階と、同期制御が行われる回転主軸の組で任意の回転主
軸の回転速度、加速度の少なくともいずれかを変更する
段階とを備える。異なる段階で同期制御を行う回転主軸
の組が設定されるとこの設定された回転主軸の組におい
て双方の回転主軸の間で同期制御が行われ、回転主軸の
組の間では同期制御が行われない。同期制御を行う回転
主軸の組として設定されない単独の回転主軸においては
単独に回転制御が行える。
(57) [Abstract] [Purpose] In the spindle control method of multi-axis numerical control device,
When a plurality of sets of rotary spindles to be synchronously controlled are set, rotation control is independently performed between the sets. Rotation control in which the rotation ratio is different between the rotation main shafts that are synchronously controlled is performed. [Configuration] In a spindle control method for a multi-axis numerical control device,
A step of setting the rotational speeds and accelerations of a plurality of rotating spindles independently, and a set of rotating spindles for performing synchronous control between the rotating spindles, and a step of performing synchronous control for each set of rotating spindles, Changing at least one of a rotation speed and an acceleration of an arbitrary rotary spindle in a set of rotary spindles for which synchronous control is performed. When a set of rotary spindles that perform synchronous control at different stages is set, synchronous control is performed between both rotary spindles in the set set of rotary spindles, and synchronous control is performed between the set of rotary spindles. Absent. Rotation control can be performed independently on a single rotation spindle that is not set as a set of rotation spindles that perform synchronous control.
Description
【0001】[0001]
【産業上の利用分野】本発明は多軸数値制御装置の主軸
制御方法に関する。特に本発明は複数の回転主軸のうち
任意に設定された回転主軸が所定回転比率で同期制御さ
れる多軸数値制御装置の主軸制御方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a spindle control method for a multi-axis numerical controller. In particular, the present invention relates to a spindle control method for a multi-axis numerical control device in which an arbitrarily set rotary spindle among a plurality of rotary spindles is synchronously controlled at a predetermined rotation ratio.
【0002】[0002]
【従来の技術】数値制御工作機械(NC工作機械)に装
備された複数の駆動モータの回転主軸は多軸数値制御装
置で制御される。この多軸数値制御装置においては複数
の回転主軸のうちマスタ軸及びスレーブ軸の関係で選択
された双方の回転主軸が所定回転比率で同期制御させる
主軸制御方法が採用される。2. Description of the Related Art The rotary spindles of a plurality of drive motors mounted on a numerically controlled machine tool (NC machine tool) are controlled by a multi-axis numerical controller. This multi-axis numerical control device employs a spindle control method in which both of the plurality of rotary spindles selected in relation to the master axis and the slave axis are synchronously controlled at a predetermined rotation ratio.
【0003】例えば、特開平4−238504号公報
に、複数の回転主軸が各々単独に回転制御され、また複
数の回転主軸が相互に同期して回転制御される多軸数値
制御装置の主軸制御方法が開示されている。この開示さ
れた主軸制御方法においては単独の回転制御と同期の回
転制御とが多軸数値制御装置に格納されたプログラムで
切り換えられる。同期の回転制御を行う場合には回転動
作を行う回転主軸のすべてが同一回転速度に設定され
る。For example, Japanese Laid-Open Patent Publication No. 4-238504 discloses a spindle control method for a multi-axis numerical control apparatus in which a plurality of rotary spindles are individually controlled to rotate and a plurality of rotary spindles are rotationally controlled in synchronization with each other. Is disclosed. In the disclosed spindle control method, independent rotation control and synchronous rotation control are switched by a program stored in the multi-axis numerical control device. When synchronous rotation control is performed, all of the rotating spindles that perform the rotating operation are set to the same rotation speed.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、前述の
開示された多軸数値制御装置の主軸制御方法においては
以下の点の配慮がなされていない。However, the following points have not been taken into consideration in the spindle control method of the above-disclosed multi-axis numerical control device.
【0005】第1に、同期の回転制御が回転動作を行う
すべての回転主軸において行われる理由から、同期制御
する回転主軸の組(同期ペア)を複数設定し、この設定
された複数の回転主軸の組の間で単独に回転制御が行え
ない。First, because synchronous rotation control is performed on all the rotary spindles that perform rotary motion, a plurality of sets (synchronous pairs) of rotary spindles to be synchronously controlled are set, and the set rotary spindles are set. The rotation control cannot be performed independently between the groups.
【0006】第2に、やはり同様の理由において、同期
制御される回転主軸の間で回転比率、例えば回転速度が
異なる回転制御が行えない。Secondly, for the same reason, the rotation control in which the rotation ratio, for example, the rotation speed, is different between the synchronously controlled rotating main shafts cannot be performed.
【0007】第3に、以上の回転制御を実現するには2
台以上の多軸数値制御装置が必要になる。このため、多
軸数値制御装置を含むNC工作機械が大型化し、さらに
設備費用が増大する。Third, to realize the above rotation control, 2
More than one multi-axis numerical control device is required. For this reason, the NC machine tool including the multi-axis numerical control device becomes large in size, and the equipment cost further increases.
【0008】本発明はこのような課題を解決するために
なされたものであり、本発明の目的は以下の通りであ
る。The present invention has been made to solve such problems, and the objects of the present invention are as follows.
【0009】第1に、同期制御する回転主軸の組が複数
設定される場合、各組の間で単独に回転制御が行える多
軸数値制御装置の主軸制御方法を提供する。Firstly, a spindle control method for a multi-axis numerical control device is provided in which, when a plurality of sets of rotary spindles to be synchronously controlled are set, rotation control can be independently performed between the sets.
【0010】第2に、同期制御される回転主軸の間で回
転比率が異なる回転制御が行える多軸数値制御装置の主
軸制御方法を提供する。Secondly, there is provided a spindle control method for a multi-axis numerical control device capable of performing rotation control with different rotation ratios among the synchronously controlled rotation spindles.
【0011】第3に、前記第1及び第2の目的を達成
し、多軸数値制御装置を含むNC工作機械を小型化し、
さらに設備費用が減少できる多軸数値制御装置の主軸制
御方法を提供する。Thirdly, the NC machine tool including the multi-axis numerical control device can be downsized by achieving the first and second objects.
Further, the present invention provides a spindle control method for a multi-axis numerical control device that can reduce equipment costs.
【0012】[0012]
【課題を解決するための手段】上記目的を達成するため
に、本発明は、複数の回転主軸のうち任意に設定された
回転主軸が所定回転比率で同期制御される多軸数値制御
装置の主軸制御方法において、各々独立に前記複数の回
転主軸の回転速度及び加速度を設定する段階と、前記複
数の回転主軸の間で同期制御を行う回転主軸の組を設定
し、前記回転主軸の組毎に同期制御を行う段階と、前記
同期制御が行われる回転主軸の組で任意の回転主軸の回
転速度、加速度の少なくともいずれかを変更自在に設定
する段階と、を備えたことを特徴とする。In order to achieve the above object, the present invention provides a spindle of a multi-axis numerical control device in which an arbitrarily set rotary spindle among a plurality of rotary spindles is synchronously controlled at a predetermined rotation ratio. In the control method, a step of independently setting the rotational speeds and accelerations of the plurality of rotary spindles, and a set of rotary spindles for performing synchronous control between the plurality of rotary spindles are set, and each of the rotary spindles is set. The present invention is characterized by including a step of performing synchronous control and a step of variably setting at least one of a rotational speed and an acceleration of an arbitrary rotary spindle in a set of rotary spindles on which the synchronous control is performed.
【0013】[0013]
【作用】本発明においては、複数の回転主軸の回転速度
及び加速度の設定、同期制御を行う回転主軸の組の設定
が各々別々の段階(ステップ)で設定される。異なる段
階で同期制御を行う回転主軸の組が設定されるとこの設
定された回転主軸の組において回転主軸の間(同期ペア
内の軸同士)では同期制御が行われ、回転主軸の組の間
(同期ペア同士)では同期制御が行われない。一方、同
期制御を行う回転主軸の組として設定されない単独の回
転主軸においては予め各々独立に回転速度及び加速度が
設定されるので単独に回転制御が行える。従って、単独
の回転制御及び同期の回転制御が混在する回転制御が行
える。In the present invention, the setting of the rotational speeds and accelerations of a plurality of rotary spindles, and the setting of the set of rotary spindles for performing synchronous control are set in different steps. When a set of rotary spindles that perform synchronous control is set at different stages, synchronous control is performed between the rotary spindles (axes in a synchronous pair) in this set of rotary spindles, and between the set of rotary spindles. Synchronous control is not performed between (synchronous pairs). On the other hand, in a single rotating spindle that is not set as a set of rotating spindles for which synchronous control is performed, the rotating speed and the acceleration are independently set in advance, so that the rotating control can be performed independently. Therefore, the rotation control in which the independent rotation control and the synchronous rotation control are mixed can be performed.
【0014】さらに、同期制御する回転主軸の組が複数
設定される場合、各組の間で単独に回転制御が行える。Further, when a plurality of sets of rotary spindles to be synchronously controlled are set, rotation control can be independently performed between the sets.
【0015】さらに、前記同期制御が行われた回転主軸
の組で任意の回転主軸の回転速度、加速度の少なくとも
いずれかが変更できる。つまり回転主軸には各々独立に
回転速度及び加速度が設定できるので、同期制御される
回転主軸の間で回転比率が異なる回転制御が行える。Further, at least one of the rotational speed and the acceleration of the rotary spindle can be changed in the set of rotary spindles subjected to the synchronous control. That is, since the rotational speed and the acceleration can be independently set for each of the rotary spindles, the rotation control can be performed with different rotation ratios among the synchronously controlled rotary spindles.
【0016】[0016]
【実施例】以下、本発明の好適な実施例について、図面
を用いて説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings.
【0017】本発明に係る多軸数値制御装置及びNC工
作機械のシステム構成を図1に示す。図1に示すよう
に、多軸数値制御装置1はサーボアンプ10に連結さ
れ、このサーボアンプ10は駆動モータ20に連結され
る。サーボアンプ10及び駆動モータ20はNC工作機
械に装備される。FIG. 1 shows a system configuration of a multi-axis numerical control device and an NC machine tool according to the present invention. As shown in FIG. 1, the multi-axis numerical controller 1 is connected to a servo amplifier 10, and the servo amplifier 10 is connected to a drive motor 20. The servo amplifier 10 and the drive motor 20 are mounted on the NC machine tool.
【0018】前記サーボアンプ10は複数のサーボアン
プ11〜18で構成される。この複数のサーボアンプ1
1〜18の各々と多軸数値制御装置1との間はバスケー
ブル7を通して電気的にかつ並列に接続される。バスケ
ーブル7には駆動モータ20の回転主軸を制御する信号
が送受信される情報信号線及び駆動モータ20の回転主
軸の同期タイミングをとるタイミング信号線(クロック
信号線)が含まれる。つまり、複数のサーボアンプ11
〜18には各々多軸数値制御装置1からバスケーブル7
を通して同期動作タイミング信号6が入力されることに
なる。The servo amplifier 10 is composed of a plurality of servo amplifiers 11-18. This multiple servo amplifier 1
Each of 1 to 18 and the multi-axis numerical control apparatus 1 are electrically and parallelly connected through a bus cable 7. The bus cable 7 includes an information signal line through which a signal for controlling the rotary spindle of the drive motor 20 is transmitted and received, and a timing signal line (clock signal line) for synchronizing the rotary spindle of the drive motor 20. That is, the plurality of servo amplifiers 11
To 18 are connected to the multi-axis numerical controller 1 to the bus cable 7 respectively.
Through this, the synchronous operation timing signal 6 is input.
【0019】前記駆動モータ20は複数の駆動モータ2
1〜28で構成される。駆動モータ21には対応して装
備されたサーボアンプ11が連結され、駆動モータ22
にはサーボアンプ12が連結され、以下同様に連結され
る。前記多軸数値制御装置1は最終的には駆動モータ2
0の回転主軸の回転制御を行う。The drive motor 20 comprises a plurality of drive motors 2.
1 to 28. The drive motor 21 is connected with the corresponding servo amplifier 11, and the drive motor 22
Is connected to the servo amplifier 12, and so on. The multi-axis numerical control device 1 finally has a drive motor 2
The rotation control of the 0 rotation main shaft is performed.
【0020】前記多軸数値制御装置1はNCプログラム
格納ユニット2、インタプリタユニット(プログラム変
換部)3及び速度パターン計算タスクユニット4を備え
る。NCプログラム格納ユニット2にはNCプログラム
が格納される。インタプリタユニット3においてはNC
プログラム格納ユニット2に格納されたNCプログラム
が解釈される。速度パターン計算タスクユニット4にお
いてはインタプリタユニット3で行われたNCプログラ
ムの解釈に基づいて駆動モータ20の回転主軸の回転制
御指令(動作指令)が作成される。この作成された回転
制御指令はバスケーブル7を通してサーボアンプ10に
伝送される。前記インタプリタユニット3と速度パター
ン計算タスクユニット4との間はメール5による通信が
行われる。The multi-axis numerical control apparatus 1 comprises an NC program storage unit 2, an interpreter unit (program conversion section) 3 and a speed pattern calculation task unit 4. The NC program is stored in the NC program storage unit 2. NC in the interpreter unit 3
The NC program stored in the program storage unit 2 is interpreted. In the speed pattern calculation task unit 4, a rotation control command (operation command) for the rotation main shaft of the drive motor 20 is created based on the interpretation of the NC program performed by the interpreter unit 3. The generated rotation control command is transmitted to the servo amplifier 10 through the bus cable 7. Communication by mail 5 is performed between the interpreter unit 3 and the speed pattern calculation task unit 4.
【0021】前記NCプログラム格納ユニット2に格納
されるNCプログラムの一例を図2に示す。図2に示す
NCプログラム30はステップ31からステップ43で
構成される。An example of the NC program stored in the NC program storage unit 2 is shown in FIG. The NC program 30 shown in FIG. 2 includes steps 31 to 43.
【0022】ステップ31 NCプログラム30のステップ31においては、駆動モ
ータ21の回転主軸が1000rpmに、時定数が50
0msに各々目標設定される。 Step 31 In step 31 of the NC program 30, the rotation spindle of the drive motor 21 is 1000 rpm and the time constant is 50.
Each is set to 0 ms.
【0023】各ステップのフォーマット(データ型式)
は基本的には共通で、コマンド及び各種設定パラメータ
で構成される。ステップ31においてコマンドは「SP
S」であり、コマンド「SPS」は回転主軸の同期速度
の設定で使用される。つまり、コマンド「SPS」は同
期制御を行う際に予め回転速度、加速度、トルクを指定
するために使用される。実際の同期制御は次段のステッ
プ(33)で設定されるコマンド「SPC」を実行した
ときに開始(更新)される。また、コマンド「SPS」
は同時に複数の回転主軸の回転速度を変更する際、特定
の回転主軸だけの回転速度を変更する際などに使用され
る。Format of each step (data type)
Are basically common and consist of commands and various setting parameters. In step 31, the command is "SP
S ”, and the command“ SPS ”is used for setting the synchronous speed of the rotary spindle. That is, the command "SPS" is used to previously specify the rotational speed, acceleration, and torque when performing the synchronous control. The actual synchronization control is started (updated) when the command "SPC" set in the next step (33) is executed. Also, the command "SPS"
Is used when changing the rotational speeds of a plurality of rotary spindles at the same time, and when changing the rotational speeds of only specific rotary spindles.
【0024】各種設定パラメータとしては「回転主軸の
番号」、「回転速度」、「加速度」及び「トルク」が設
定される。各種設定パラメータとしての「回転主軸の番
号」は駆動モータ21〜28にそれぞれ付されたNo.0
〜No.7までの番号(図1参照)に該当する。ステップ
31ではNo.0の番号の入力で駆動モータ21の回転主
軸が指定される。「回転速度」の設定には毎分回転数
(rpm)で数値が入力される。入力される数値の前に
正転を表わす符号「+」(省略できる)、逆転を表わす
符号「−」、停止を表わす符号「0」のいずれかが入力
される。「加速度」の設定には時定数が入力される。時
定数は所定の毎分回転数に加速するために必要な時間で
ある。「トルク」の設定にはトルク制限値が入力され
る。As various setting parameters, "rotational spindle number", "rotation speed", "acceleration" and "torque" are set. “Rotation spindle number” as various setting parameters is No. 0 assigned to each of the drive motors 21 to 28.
To No. 7 (see FIG. 1). In step 31, the rotation spindle of the drive motor 21 is designated by inputting No. 0. A number of revolutions per minute (rpm) is input to the "rotation speed" setting. Before the input numerical value, one of a sign "+" (which can be omitted) indicating a normal rotation, a sign "-" indicating a reverse rotation, and a sign "0" indicating a stop is input. A time constant is input to the "acceleration" setting. The time constant is the time required to accelerate to a predetermined rpm. A torque limit value is input to the "torque" setting.
【0025】ステップ32 ステップ32においては、駆動モータ22の回転主軸が
1500rpmに、時定数が500msに各々目標設定
される。 Step 32 In step 32, the rotational spindle of the drive motor 22 is set to 1500 rpm, and the time constant is set to 500 ms.
【0026】ステップ33 ステップ33においては、駆動モータ21の回転主軸及
び駆動モータ22の回転主軸が同期回転軸として設定さ
れ、同期制御が開始される。 Step 33 In step 33, the rotary main shaft of the drive motor 21 and the rotary main shaft of the drive motor 22 are set as the synchronous rotary shafts, and the synchronous control is started.
【0027】フォーマットは前述と同様にコマンド及び
各種設定パラメータで構成される。ステップ33におい
てコマンドは「SPC」であり、コマンド「SPC」は
回転主軸の回転制御を同期させる同期制御の動作開始
(更新)の設定に使用される。各種設定パラメータとし
ては「回転主軸bit」、「回転速度」、「加速度」及
び「トルク」が設定される。各種設定パラメータとして
の「回転主軸bit」は同期制御を行う回転主軸の組
(同期ペア)を設定する。この設定は駆動モータ21〜
28にそれぞれ付されたNo.0〜No.7の番号を表わす
16進数(0〜FF)で行われる。つまり、例えば同期
制御を行う場合には「1」が入力され、同期制御を行わ
ない場合には「0」が入力される。ステップ33ではN
o.0の番号が付された駆動モータ21の回転主軸に該当
するbitに「1」が入力され、No.1の番号が付され
た駆動モータ22の回転主軸に該当するbitに「1」
が入力されるので、16進数で数値「3」が入力され
る。複数の回転主軸において最初にbitを設定する際
に同時に設定される回転主軸がある場合には、この同時
に設定される回転主軸は以後同期制御される。その他の
設定パラメータとしての「回転速度」、「加速度」及び
「トルク」については前述と同様である。The format is composed of commands and various setting parameters as described above. In step 33, the command is “SPC”, and the command “SPC” is used to set the operation start (update) of the synchronous control for synchronizing the rotation control of the rotary spindle. "Rotation spindle bit", "rotation speed", "acceleration", and "torque" are set as various setting parameters. "Rotation spindle bit" as various setting parameters sets a group of rotation spindles (synchronization pair) for performing synchronous control. This setting is for drive motors 21-
It is carried out by hexadecimal numbers (0 to FF) representing the numbers No. 0 to No. 7 attached to 28. That is, for example, "1" is input when the synchronous control is performed, and "0" is input when the synchronous control is not performed. N in step 33
“1” is input to the bit corresponding to the rotary spindle of the drive motor 21 numbered 0. 0, and “1” is input to the bit corresponding to the rotary spindle of the drive motor 22 numbered No. 1.
Is input, the numerical value “3” is input in hexadecimal. If there is a rotary spindle that is simultaneously set when a bit is first set in a plurality of rotary spindles, the rotary spindles that are simultaneously set are synchronously controlled thereafter. The other parameters such as “rotational speed”, “acceleration” and “torque” are the same as described above.
【0028】ステップ34 ステップ34においては、駆動モータ23の回転主軸が
2000rpmに、時定数が300msに各々目標設定
される。 Step 34 In step 34, the rotational spindle of the drive motor 23 is set to 2000 rpm, and the time constant is set to 300 ms.
【0029】ステップ35 ステップ35においては、駆動モータ24の回転主軸が
2000rpmに、時定数が300msに各々目標設定
される。 Step 35 In step 35, the rotational spindle of the drive motor 24 is set to 2000 rpm, and the time constant is set to 300 ms.
【0030】ステップ36 ステップ36においては、駆動モータ23の回転主軸及
び駆動モータ24の回転主軸が同期回転軸として設定さ
れ、同期制御が開始される。 Step 36 In step 36, the rotary main shaft of the drive motor 23 and the rotary main shaft of the drive motor 24 are set as the synchronous rotary shafts, and the synchronous control is started.
【0031】ステップ37 ステップ37においては、駆動モータ25の回転主軸が
500rpmに、時定数が700msに各々目標設定さ
れ、単独に回転主軸が回転制御される。 Step 37 In step 37, the rotation spindle of the drive motor 25 is set to 500 rpm and the time constant is set to 700 ms, respectively, and the rotation spindle is controlled independently.
【0032】ステップ38 ステップ38においては、次段のステップ39を実行す
るまでの待機時間が2000msに設定される。 Step 38 In step 38, the waiting time until the next step 39 is executed is set to 2000 ms.
【0033】ステップ39 ステップ39においては、駆動モータ21の回転主軸の
回転速度を途中で変更するために、回転主軸が1500
rpmに目標設定される。 Step 39 In Step 39, in order to change the rotational speed of the rotary spindle of the drive motor 21, the rotary spindle is set to 1500.
Targeted to rpm.
【0034】ステップ40 ステップ40においては、予め設定された回転速度に駆
動モータ21の回転主軸を制御する回転速度変更指令が
実行される。 Step 40 In step 40, a rotation speed change command for controlling the rotation main shaft of the drive motor 21 is executed at a preset rotation speed.
【0035】ステップ41 ステップ41においては、駆動モータ25の回転主軸の
回転が停止される。 Step 41 In step 41, the rotation of the rotary spindle of the drive motor 25 is stopped.
【0036】ステップ42 ステップ42においては、次段のステップ43を実行す
るまでの待機時間が1000msに設定される。 Step 42 In Step 42, the waiting time until the next Step 43 is executed is set to 1000 ms.
【0037】ステップ43 ステップ43においては、駆動モータ21、22、23
及び24の回転主軸の回転が停止され、同期制御が終了
する同期制御終了指令が実行される。 Step 43 In step 43, the drive motors 21, 22, 23
The rotation of the rotating main shafts 24 and 24 is stopped, and the synchronous control end command for ending the synchronous control is executed.
【0038】以上がNCプログラム30の各ステップ3
1〜43の概要である。このNCプログラム30で制御
される各駆動モータ21〜25の動作パターンを図3に
示す。図3に示すように、駆動モータ21の回転主軸及
び駆動モータ22の回転主軸、駆動モータ23の回転主
軸及び駆動モータ24の回転主軸はいずれも同期制御が
行われる「回転主軸の組(同期ペア又は同期軸セッ
ト)」として設定される。駆動モータ25の回転主軸は
単独に回転制御される。また、駆動モータ21の回転主
軸及び駆動モータ22の回転主軸は回転比率(回転速
度)が異なる設定において同期制御を開始し、途中で駆
動モータ21の回転主軸の回転比率が変更される。この
変更においては、駆動モータ21の回転主軸の回転速度
が速められ(加速され)、この駆動モータ21の回転主
軸の回転速度が駆動モータ22の回転主軸の回転速度に
一致される。一方、駆動モータ23の回転主軸及び駆動
モータ24の回転主軸は終始同期制御が行われる。The above is each step 3 of the NC program 30.
It is an outline of 1-43. FIG. 3 shows the operation patterns of the drive motors 21 to 25 controlled by the NC program 30. As shown in FIG. 3, the rotary main shaft of the drive motor 21, the rotary main shaft of the drive motor 22, the rotary main shaft of the drive motor 23, and the rotary main shaft of the drive motor 24 are all subjected to synchronous control. Or a synchronous axis set) ". The rotation main shaft of the drive motor 25 is independently rotation controlled. Further, the rotation main shaft of the drive motor 21 and the rotation main shaft of the drive motor 22 start synchronous control when the rotation ratio (rotation speed) is different, and the rotation ratio of the rotation main shaft of the drive motor 21 is changed on the way. In this change, the rotation speed of the rotation main shaft of the drive motor 21 is increased (accelerated), and the rotation speed of the rotation main shaft of the drive motor 21 matches the rotation speed of the rotation main shaft of the drive motor 22. On the other hand, the rotary spindle of the drive motor 23 and the rotary spindle of the drive motor 24 are synchronously controlled from beginning to end.
【0039】以上説明したように、本実施例に係る多軸
数値制御装置の主軸制御方法においては、複数の回転主
軸の回転速度及び加速度の設定、同期制御を行う回転主
軸の組の設定が各々別々の段階で設定される。異なる段
階で同期制御を行う回転主軸の組が設定されるとこの設
定された回転主軸の組において任意の回転主軸の間では
同期制御が行われ、回転主軸の組の間では同期制御が行
われない。一方、同期制御を行う回転主軸の組として設
定されない単独の回転主軸においては各々独立に回転速
度及び加速度が設定されるので単独に回転制御が行え
る。従って、単独の回転制御及び同期の回転制御が混在
する回転制御が行える。As described above, in the spindle control method for the multi-axis numerical control apparatus according to this embodiment, the rotational speed and acceleration of a plurality of rotary spindles are set, and the set of rotary spindles for synchronous control is set. Set in separate stages. When a set of rotary spindles that perform synchronous control at different stages is set, synchronous control is performed between arbitrary rotary spindles in this set of rotary spindles, and synchronous control is performed between the set of rotary spindles. Absent. On the other hand, the rotation speed and the acceleration are independently set for each of the independent rotating spindles that are not set as a set of rotating spindles for which the synchronous control is performed, so that the rotating control can be performed independently. Therefore, the rotation control in which the independent rotation control and the synchronous rotation control are mixed can be performed.
【0040】また、同期制御する回転主軸の組が複数設
定される場合、各組の間で単独に回転制御が行える。Further, when a plurality of sets of rotary spindles to be synchronously controlled are set, rotation control can be independently performed between the sets.
【0041】さらに、本実施例に係る多軸数値制御装置
の主軸制御方法においては、前記同期制御が行われた回
転主軸の組で任意の回転主軸の回転速度、加速度の少な
くともいずれかが変更できる。回転主軸には各々独立に
回転速度及び加速度が設定され、同期制御される回転主
軸の間で回転比率が異なる回転制御が行える。Further, in the spindle control method for the multi-axis numerical control apparatus according to the present embodiment, at least one of the rotational speed and the acceleration of an arbitrary rotary spindle can be changed in the set of rotary spindles subjected to the synchronous control. . Rotational speeds and accelerations are independently set for the rotary spindles, and rotation control with different rotation ratios can be performed between the synchronously controlled rotary spindles.
【0042】従って、本実施例に係る多軸数値制御装置
の主軸制御方法においては、多軸数値制御装置を含むN
C工作機械の小型化が実現でき、さらに設備費用が減少
できる。Therefore, in the spindle control method of the multi-axis numerical control apparatus according to this embodiment, N including the multi-axis numerical control apparatus is used.
C Machine tools can be downsized, and equipment costs can be reduced.
【0043】さらに、本実施例に係る多軸数値制御装置
の主軸制御方法においては、同期制御されている回転主
軸の1つに属する複数の回転主軸のうち任意の回転主軸
を同期させたまま停止させた後、単独制御又は他の回転
主軸との新たな同期をとる制御ができる。Further, in the spindle control method of the multi-axis numerical control device according to the present embodiment, any of the plurality of rotary spindles belonging to one of the rotary spindles that are synchronously controlled is stopped while being synchronized. After that, it is possible to perform independent control or control to newly synchronize with another rotating spindle.
【0044】本発明に係る多軸数値制御装置の主軸制御
方法は、例えば2つの駆動モータの回転速度差で双方の
駆動モータの回転主軸に各々取り付けたねじを締め付け
るNCデフプレロード調整機に適用できる。NCデフプ
レロード調整機においては、まず、2つの雄ねじ及び雌
ねじが異なる回転速度で回転しながら締め付けトルクが
測定される。そして、徐々に回転速度差をなくして規定
の締め付けトルクに達した時点で回転速度がゼロに制御
され、双方の駆動モータの回転主軸において位相差をず
らさずに回転が停止される。回転の停止の際に双方の駆
動モータの回転主軸に位相差がない場合には、締めすぎ
ずかつ緩まない適正なねじの締め付けがなされる。The spindle control method for a multi-axis numerical controller according to the present invention can be applied to, for example, an NC differential preload adjuster that tightens the screws respectively attached to the rotary spindles of both drive motors by the difference in the rotational speeds of the two drive motors. . In the NC differential preload adjuster, first, the tightening torque is measured while the two male and female screws rotate at different rotational speeds. The rotational speed is controlled to zero at the time when the rotational speed difference is gradually eliminated and the prescribed tightening torque is reached, and rotation is stopped without shifting the phase difference between the rotation main shafts of both drive motors. When there is no phase difference between the rotating main shafts of both drive motors when the rotation is stopped, the screws are properly tightened without being overtightened and loosened.
【0045】なお、本発明は、前記実施例に限定される
ものではなく、その要旨を逸脱しない範囲において、種
々変更できる。The present invention is not limited to the above-mentioned embodiment, but various modifications can be made without departing from the scope of the invention.
【0046】[0046]
【発明の効果】本発明によれば、以下の効果が得られ
る。According to the present invention, the following effects can be obtained.
【0047】第1に、同期制御する回転主軸の組が複数
設定される場合、各組の間で単独に回転制御が行える多
軸数値制御装置の主軸制御方法が提供できる。First, when a plurality of sets of rotary spindles to be synchronously controlled are set, it is possible to provide a spindle control method for a multi-axis numerical control device capable of independently controlling the rotation between the sets.
【0048】第2に、同期制御される回転主軸の間で回
転比率が異なる回転制御が行える多軸数値制御装置の主
軸制御方法が提供できる。Secondly, it is possible to provide a spindle control method for a multi-axis numerical control apparatus that can perform rotation control with different rotation ratios between the rotationally controlled spindles.
【0049】第3に、前記第1の効果及び第2の効果が
得られ、多軸数値制御装置を含むNC工作機械が小型化
でき、さらに設備費用が減少できる多軸数値制御装置の
主軸制御方法が提供できる。Thirdly, the first and second effects are obtained, the NC machine tool including the multi-axis numerical control device can be downsized, and the equipment cost can be reduced. A method can be provided.
【図1】本発明に係る多軸数値制御装置及びNC工作機
械のシステム構成を示すブロック図である。FIG. 1 is a block diagram showing a system configuration of a multi-axis numerical control device and an NC machine tool according to the present invention.
【図2】前記多軸数値制御装置に格納されるNCプログ
ラムを示す図である。FIG. 2 is a diagram showing an NC program stored in the multi-axis numerical control device.
【図3】前記多軸数値制御装置で制御される駆動モータ
の動作パターンを示す図である。FIG. 3 is a diagram showing an operation pattern of a drive motor controlled by the multi-axis numerical control device.
1 多軸数値制御装置 2 NCプログラム格納ユニット 3 インタプリタユニット 4 速度パターン計算タスクユニット 7 バスケーブル 10、11〜18 サーボアンプ 20、21〜28 駆動モータ 30 NCプログラム 1 Multi-Axis Numerical Control Device 2 NC Program Storage Unit 3 Interpreter Unit 4 Speed Pattern Calculation Task Unit 7 Bus Cable 10, 11-18 Servo Amplifier 20, 21-28 Drive Motor 30 NC Program
Claims (1)
回転主軸が所定回転比率で同期制御される多軸数値制御
装置の主軸制御方法において、 各々独立に前記複数の回転主軸の回転速度及び加速度を
設定する段階と、 前記複数の回転主軸の間で同期制御を行う回転主軸の組
を設定し、前記回転主軸の組毎に同期制御を行う段階
と、 前記同期制御が行われる回転主軸の組で任意の回転主軸
の回転速度、加速度の少なくともいずれかを変更自在に
設定する段階と、 を備えたことを特徴とする多軸数値制御装置の主軸制御
方法。1. A spindle control method for a multi-axis numerical control device, wherein a rotation spindle set arbitrarily among a plurality of rotation spindles is synchronously controlled at a predetermined rotation ratio, wherein the rotation speeds of the plurality of rotation spindles are independent of each other. A step of setting an acceleration, a step of setting a set of rotary spindles for performing synchronous control among the plurality of rotary spindles, a step of performing synchronous control for each set of the rotary spindles, and a step of performing the synchronous control of the rotary spindles. A spindle control method for a multi-axis numerical control device, comprising: a step of freely setting at least one of a rotational speed and an acceleration of an arbitrary rotary spindle in a set.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10647294A JPH07319519A (en) | 1994-05-20 | 1994-05-20 | Spindle control method for multi-axis numerical controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10647294A JPH07319519A (en) | 1994-05-20 | 1994-05-20 | Spindle control method for multi-axis numerical controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07319519A true JPH07319519A (en) | 1995-12-08 |
Family
ID=14434473
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10647294A Pending JPH07319519A (en) | 1994-05-20 | 1994-05-20 | Spindle control method for multi-axis numerical controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07319519A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000075907A (en) * | 1998-09-01 | 2000-03-14 | Yokogawa Electric Corp | Production system |
| US6404160B2 (en) | 1998-12-24 | 2002-06-11 | Mitsubishi Denki Kabushiki Kaisha | Numerical control apparatus |
| JP2009282972A (en) * | 2008-05-19 | 2009-12-03 | Siemens Ag | Controller for controlling machine tool driving plurality of tools |
-
1994
- 1994-05-20 JP JP10647294A patent/JPH07319519A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000075907A (en) * | 1998-09-01 | 2000-03-14 | Yokogawa Electric Corp | Production system |
| US6404160B2 (en) | 1998-12-24 | 2002-06-11 | Mitsubishi Denki Kabushiki Kaisha | Numerical control apparatus |
| JP2009282972A (en) * | 2008-05-19 | 2009-12-03 | Siemens Ag | Controller for controlling machine tool driving plurality of tools |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4346824B2 (en) | Numerical controller | |
| CA2206746A1 (en) | Method of operating a drive system and device for carrying out the method | |
| JP4652661B2 (en) | Apparatus and method for synchronizing a plurality of electric drive units | |
| WO2013118169A1 (en) | Numerical control device | |
| JPH07319519A (en) | Spindle control method for multi-axis numerical controller | |
| US20130110278A1 (en) | Control device of gear processing machine | |
| WO1989008876A1 (en) | Numerical controller | |
| JPH10114058A (en) | Synchronous controller | |
| JP2824648B2 (en) | Spindle synchronous operation control apparatus and method for machine tool | |
| JP3873685B2 (en) | Multi-axis synchronous control device, multi-axis synchronous control method, and multi-axis synchronous control program | |
| JPS6389904A (en) | Numerical controller | |
| JP2850276B2 (en) | Control device for machine tool with two spindles | |
| JPH08328663A (en) | Robot device drive controller | |
| JP3114505B2 (en) | Synchronous control device | |
| JPH03251377A (en) | Motor controller and industrial robot controller | |
| JP2712881B2 (en) | Numerical control unit | |
| JP2646026B2 (en) | Control method for multi-system machine tools | |
| EP0371141A4 (en) | Numerical controller | |
| JP3136851B2 (en) | Screw processing equipment | |
| WO1989008875A1 (en) | Numerical controller | |
| KR840003366A (en) | Numerical Control Processing Method | |
| JPH06289914A (en) | Shaft rotation synchronism control system for cnc | |
| JP3301190B2 (en) | Spindle operation switching method | |
| JPH08234819A (en) | Numerical controller | |
| JPH0716802B2 (en) | Free-run method for synchronous rotation of opposed type two-spindle lathe |