JPH0275004A - Spindle control system - Google Patents

Spindle control system

Info

Publication number
JPH0275004A
JPH0275004A JP22787688A JP22787688A JPH0275004A JP H0275004 A JPH0275004 A JP H0275004A JP 22787688 A JP22787688 A JP 22787688A JP 22787688 A JP22787688 A JP 22787688A JP H0275004 A JPH0275004 A JP H0275004A
Authority
JP
Japan
Prior art keywords
spindle
command
servo motor
sub
control system
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
Application number
JP22787688A
Other languages
Japanese (ja)
Inventor
Takashi Iwagaya
孝 岩ヶ谷
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP22787688A priority Critical patent/JPH0275004A/en
Publication of JPH0275004A publication Critical patent/JPH0275004A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the number of servo motors by using a servo motor as a spindle or a feed shaft and switching these two axes with an NC command. CONSTITUTION:A servo motor 5 is used as a spindle or a feed shaft by switching, and a revolution command 2 or a movement command 1 is selected via an NC command. Then the motor 5 is controlled by the NC command as a spindle or a feed shaft. As a result, the number of motors 5 is decreased and the reduction of cost is attained in a spindle control system.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は1台のサーボモータを送り軸と主軸に切り換え
て使用する主軸制御方式に関し、特に小型の副主軸を有
する工作機械の主軸制御方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a spindle control system in which a single servo motor is used by switching between a feed axis and a main spindle, and particularly to a spindle control system for a machine tool having a small sub-spindle. Regarding.

〔従来の技術〕[Conventional technology]

CNC工作機械では、1台で複合的な加工を行い、1個
のワークに要求される加工をできるだけ1台のCNC工
作機械で処理しようとしている。
One CNC machine tool performs complex machining, and attempts are made to perform as much of the machining required for one workpiece as possible with a single CNC machine tool.

それによって、ワークの着脱、工具のセット等の時間が
節約できるからである。
This is because time for attaching and detaching workpieces, setting tools, etc. can be saved.

このために、主軸の他に副主軸と呼ばれる回転用の軸を
有するCNC工作機械が多く設計されている0例えば、
CNC旋盤でワークを回転させるための主軸と、小型の
ドリル加工、簡単なミーリング加工を行うための副主軸
を用意している。これらのCNC工作機械では、X、、
Z軸以外にも副主軸の移動等を制御する補助的な軸を有
する。
For this reason, many CNC machine tools are designed to have a rotation axis called a sub-spindle in addition to the main spindle.For example,
The CNC lathe has a main spindle for rotating the workpiece, and a sub-spindle for small drilling and simple milling. In these CNC machine tools,
In addition to the Z-axis, there is an auxiliary axis that controls the movement of the sub-main axis.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、一般にこれらの副主軸と補助的な軸は同時に動
作することは少ない、例えば、テーブル割り出し、マガ
ジン旋回軸等は副主軸と同時に動作することはない。さ
らに、副主軸の出力は一般に小さい。
However, generally these sub-spindles and auxiliary axes rarely operate at the same time; for example, table indexing, magazine rotation axes, etc. do not operate simultaneously with the sub-spindle. Furthermore, the output of the sub-spindle is generally small.

本発明はこのような点に迄みてなされたものであり、1
台のサーボモータを主軸と送り軸に切り換えて使用する
主軸制御方式を提供することを目的とする。
The present invention has been made in view of these points, and has the following features:
The purpose of the present invention is to provide a spindle control system in which a servo motor on a stand is switched between the spindle and the feed axis.

〔課題を解決するための手段] 本発明では上記課題を解決するために、1台のサーボモ
ータを送り軸と主軸に切り換えて使用する主軸制御方式
において、 NC指令で回転指令あるいは移動指令のいずれかを指令
し、 前記NC指令によってサーボモータを主軸あるいは送り
軸として制御するようにしたことを特徴とする主軸制御
方式が、 提供される。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides a spindle control system in which one servo motor is used by switching between a feed axis and a main axis. A spindle control method is provided, characterized in that the servo motor is controlled as a spindle or a feed axis by the NC instruction.

(作用) 1台のサーボモータを主軸あるいは送り軸とし7て使用
する。その切り換えはNC指令でおこなう。
(Function) One servo motor is used as the main shaft or feed shaft 7. The switching is performed by an NC command.

これによって、サーボモータの個数を減らすことができ
る。
This allows the number of servo motors to be reduced.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図に本発明の主軸制御方式のブロック図を示す、N
C指令によって、サーボモータ5を補助軸の送りとして
使用するときは、位置指令1が指令される。このときは
、補助の軸を指定するアドレスが指定される。サーボモ
ータ5を副主軸として使用したいときは、特定のGコー
ドと回転数を指令する。例えば、 G−−31500: と指令する。この指令はサーボ制御回路3に与えられ、
サーボ制御回路3は位置指令があれば、サーボ制御回路
5からの位置帰還パルスを受けて、位置制御を行う。ま
た、副主軸としての指令がされたときは、回転制御のみ
を行う。サーボ制御回路3はディジタルサーボ制御回路
が使用される。
Figure 1 shows a block diagram of the spindle control system of the present invention.
When the servo motor 5 is used to feed the auxiliary axis by the C command, a position command 1 is commanded. At this time, an address specifying the auxiliary axis is specified. When it is desired to use the servo motor 5 as a sub-spindle, a specific G code and rotation speed are commanded. For example, command G--31500:. This command is given to the servo control circuit 3,
If there is a position command, the servo control circuit 3 receives a position feedback pulse from the servo control circuit 5 and performs position control. Furthermore, when a command is given to use the spindle as a sub-spindle, only rotation control is performed. As the servo control circuit 3, a digital servo control circuit is used.

その指令はザーボアンブ4に送られ、サーボモータ5を
駆動する。サーボモータ5は補助軸として使用されると
きは、図示されていないクラッチによって、送り軸に結
合される。また、副主軸として使用されるときは、クラ
ッチによって、副主軸に結合される。このクラッチの制
御は位置指令あるいは主軸指令によって自動的に切り換
え信号を出力するようにできるし、あるいは特別の補助
(M)機能を使用してもよい。
The command is sent to the servo amplifier 4 and drives the servo motor 5. When the servo motor 5 is used as an auxiliary shaft, it is coupled to the feed shaft by a clutch (not shown). Moreover, when used as a sub-main shaft, it is coupled to the sub-main shaft by a clutch. This clutch can be controlled by automatically outputting a switching signal in response to a position command or a main shaft command, or by using a special auxiliary (M) function.

また、このような副主軸あるいは補助軸はPMC(プロ
グラマブル・マシン・コントローラ)等で制御される場
合が多いので、PMCのシーケンス・プログラムで切り
換えてもよい。
Further, since such a sub-main axis or auxiliary axis is often controlled by a PMC (programmable machine controller) or the like, it may be switched by a sequence program of the PMC.

第2図に本発明の主軸制御方式の概略のフローチャート
図を示す。図において、Sに続く数値はステップ番号を
示す。
FIG. 2 shows a schematic flowchart of the spindle control method of the present invention. In the figure, the number following S indicates the step number.

〔S1〕副主軸指令か調べ、副主軸指令ならばS2へ、
位置指令ならS3へいく。
[S1] Check if it is a sub-spindle command, and if it is a sub-spindle command, go to S2.
If it is a position command, go to S3.

〔S2〕指令された回転数の速度指令を作り出す。[S2] Create a speed command for the commanded rotation speed.

〔S3〕指令された移動指令を作り出す。[S3] Create a movement command.

〔S4〕サ一ボ制御回路へ、それぞれ位置あるいは速度
指令を出力する。
[S4] Output a position or speed command to each servo control circuit.

このようにして、1台のサーボモータも補助軸と副主軸
の制御に切り換えて使用することができ、コストが低減
される。
In this way, even one servo motor can be used to control the auxiliary shaft and the sub-main shaft, reducing costs.

上記の例では副主軸と補助軸で説明したが、これに限定
されることなく、出力が小さければ通常の主軸と送り軸
にも同様に適用することができる。
Although the above example has been explained using a sub-spindle and an auxiliary shaft, the present invention is not limited thereto, and can be similarly applied to a normal main spindle and feed shaft as long as the output is small.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、サーボモータを主軸と
送り軸で切り換えて使用するようにしまたので、サーボ
モータの数が減り、コストが低減される。
As explained above, in the present invention, the servo motor is used by switching between the main shaft and the feed shaft, so the number of servo motors is reduced and the cost is reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の主軸制御方式のブロック図、第2図は
本発明の主軸制御方式の概略のフローチャート図である
。 1・−−一一−−−−・−・−位置指令2−・−一一一
−−・−主軸指令 3−−−−−−−−−−−−サーボ制御回路4−−−−
−−・−・−−−−−サーボアンプ5−・−一−−−−
−−−−サーボモータ特許出願人 ファナック株式会社 代理人   弁理士  服部毅巖 第2図 第1v
FIG. 1 is a block diagram of the spindle control method of the present invention, and FIG. 2 is a schematic flowchart of the spindle control method of the present invention. 1・−−11−−−−・−・−Position command 2−・−111−−・−Spindle command 3−−−−−−−−−−−− Servo control circuit 4−−−−
−−・−・−−−−−Servo amplifier 5−・−1−−−−
--- Servo motor patent applicant Fanuc Co., Ltd. agent Patent attorney Takeshi Hattori Figure 2, Figure 1v

Claims (2)

【特許請求の範囲】[Claims] (1)1台のサーボモータを送り軸と主軸に切り換えて
使用する主軸制御方式において、NC指令で回転指令あ
るいは移動指令のいずれかを指令し、 前記NC指令によってサーボモータを主軸あるいは送り
軸として制御するようにしたことを特徴とする主軸制御
方式。
(1) In a spindle control method in which one servo motor is used by switching between the feed axis and the main axis, an NC command is used to issue either a rotation command or a movement command, and the NC command causes the servo motor to function as the main axis or the feed axis. A spindle control method characterized by the control.
(2)前記主軸としての指令はGコードで指令すること
を特徴とする特許請求の範囲第1項記載の主軸制御方式
(2) The spindle control system according to claim 1, wherein the instruction for the spindle is given using a G code.
JP22787688A 1988-09-12 1988-09-12 Spindle control system Pending JPH0275004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22787688A JPH0275004A (en) 1988-09-12 1988-09-12 Spindle control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22787688A JPH0275004A (en) 1988-09-12 1988-09-12 Spindle control system

Publications (1)

Publication Number Publication Date
JPH0275004A true JPH0275004A (en) 1990-03-14

Family

ID=16867731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22787688A Pending JPH0275004A (en) 1988-09-12 1988-09-12 Spindle control system

Country Status (1)

Country Link
JP (1) JPH0275004A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS508183A (en) * 1973-05-28 1975-01-28
JPS57103504A (en) * 1980-12-19 1982-06-28 Toyota Motor Corp Driving system of industrial robot

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS508183A (en) * 1973-05-28 1975-01-28
JPS57103504A (en) * 1980-12-19 1982-06-28 Toyota Motor Corp Driving system of industrial robot

Similar Documents

Publication Publication Date Title
US4862380A (en) Numerical control unit
KR940007130B1 (en) Nc instruction method
JP3459516B2 (en) Superposition control method by numerical controller
JPH02220103A (en) Spindle control command system
EP0343257B1 (en) Numerical controller
US6999844B2 (en) Numerical controller
JP3893334B2 (en) Multi-system numerical controller
JP4116640B2 (en) Numerical control device with multi-system control function
US6397123B1 (en) Numerical control apparatus
JP3264705B2 (en) Control method of robot hand of numerically controlled machine tool
JPH01193146A (en) Numerically controlled machine
JPH0275004A (en) Spindle control system
JP2002273601A (en) Multispindle machine tool
JPH04155406A (en) Numerical control system
WO1989001388A1 (en) Axis switching device
US20070073438A1 (en) Numerical controller
JP3050991B2 (en) Tool offset shape data input type numerical control method and device
JPH0146263B2 (en)
EP0380685A1 (en) Nc command system
JP3226459B2 (en) Turret indexing control device for lathe
JPH08234819A (en) Numerical controller
JP2899293B2 (en) Numerical control method for multi-spindle lathe
JP2654228B2 (en) Numerical control unit
WO1991013387A1 (en) Position correction system
JPH0554124B2 (en)