JPH04324502A - Numerical controller for controlling program synchronization between multiple systems - Google Patents

Numerical controller for controlling program synchronization between multiple systems

Info

Publication number
JPH04324502A
JPH04324502A JP12208791A JP12208791A JPH04324502A JP H04324502 A JPH04324502 A JP H04324502A JP 12208791 A JP12208791 A JP 12208791A JP 12208791 A JP12208791 A JP 12208791A JP H04324502 A JPH04324502 A JP H04324502A
Authority
JP
Japan
Prior art keywords
synchronization command
synchronization
program
systems
command
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
JP12208791A
Other languages
Japanese (ja)
Other versions
JP2792754B2 (en
Inventor
Yuji Kondo
祐二 近藤
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works Ltd
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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP3122087A priority Critical patent/JP2792754B2/en
Publication of JPH04324502A publication Critical patent/JPH04324502A/en
Application granted granted Critical
Publication of JP2792754B2 publication Critical patent/JP2792754B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To provide a numerical controller which can control program synchronization between arbitrary plural systems. CONSTITUTION:The 1st storing means A stores the 1st and 2nd synchronizing commands given in the program of each system. The 2nd storing means B stores each system in groups. The group read out by a control means C from the 2nd storing means B reads out the 1st synchronizing command for the same system from the 1st storing means A and controls the program synchronization of the system. Then the group read out by the control means C from the 2nd storing means B reads out the 2nd synchronizing command for different systems from the 1st storing means A and controls program synchronization between the different systems.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、多系統を有する数値制
御旋盤における各系統間のプログラム同期を制御する数
値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device for controlling program synchronization between systems in a numerically controlled lathe having multiple systems.

【0002】0002

【従来の技術】図5は多系統を有する数値制御旋盤の構
成例を示す図であり、第1のワークW1を回転させる第
1主軸S1と、X1軸方向及びZ1軸方向に移動制御さ
れる第1の刃物台T1とにより構成される系統を第1の
系統とし、第1主軸S1と、X2軸方向及びZ2軸方向
に移動制御される第2の刃物台T2とにより構成される
系統を第2の系統とし、第2のワークW2を回転させる
第2主軸S2と、X3軸方向及びZ3軸方向に移動制御
される第3の刃物台T3とにより構成される系統を第3
の系統とし、第2主軸S2と、X4軸方向及びZ4軸方
向に移動制御される第4の刃物台T4とにより構成され
る系統を第4の系統とする。
[Prior Art] FIG. 5 is a diagram showing an example of the configuration of a numerically controlled lathe having multiple systems, in which a first main shaft S1 rotates a first workpiece W1, and its movement is controlled in the X1-axis direction and the Z1-axis direction. A system constituted by the first tool rest T1 is referred to as a first system, and a system constituted by the first main shaft S1 and the second tool rest T2 whose movement is controlled in the X2-axis direction and the Z2-axis direction is referred to as the first system. The second system is a system consisting of the second main shaft S2 that rotates the second workpiece W2, and the third tool rest T3 whose movement is controlled in the X3-axis direction and the Z3-axis direction.
A system constituted by the second main shaft S2 and a fourth tool post T4 whose movement is controlled in the X4-axis direction and the Z4-axis direction is referred to as a fourth system.

【0003】図6は上述した4つの系統のうち第1の系
統と第2の系統を有する数値制御旋盤における各系統間
のプログラム同期を制御する従来の数値制御装置の一例
を示すブロック図であり、順次実行されていく第1の系
統の加工プログラムからプログラム同期指令PS1が第
1系統同期指令読出部1に読出されて第1系統同期指令
メモリ3に記憶され、同様に第2の系統の加工プログラ
ム同期指令PS2が第2系統同期指令読出部2に読出さ
れて第2系統同期指令メモリ4に記憶される。各系統の
同期指令メモリ3、4から各プログラム同期指令PS1
、PS2が同期指令読出部5に読出されて同期指令比較
部6に送出され、各プログラム同期指令PS1、PS2
が比較されてその比較結果CRが制御信号生成部7に送
出される。そして、送出されて来た比較結果CRに基づ
いて各系統の制御信号SC1、SC2が生成されて外部
に送出されるようになっている。
FIG. 6 is a block diagram showing an example of a conventional numerical control device for controlling program synchronization between systems in a numerically controlled lathe having a first system and a second system among the four systems described above. , a program synchronization command PS1 is read out by the first system synchronization command reading unit 1 from the machining program of the first system that is executed sequentially, and stored in the first system synchronization command memory 3. The program synchronization command PS2 is read out by the second system synchronization command reading section 2 and stored in the second system synchronization command memory 4. Each program synchronization command PS1 from the synchronization command memory 3, 4 of each system
, PS2 are read out by the synchronization command reading unit 5 and sent to the synchronization command comparison unit 6, and each program synchronization command PS1, PS2
are compared and the comparison result CR is sent to the control signal generation section 7. Then, control signals SC1 and SC2 for each system are generated based on the sent comparison result CR and sent out to the outside.

【0004】このような構成において、その動作例を図
7のフローチャートで説明すると、第1系統同期指令読
出部1は第1の系統の加工プログラムにプログラム同期
指令が指令されているか否か判定し(ステップS1) 
、第1の系統の加工プログラムにプログラム同期指令が
指令されていない場合にはステップS3に進む。一方、
第1の系統の加工プログラムにプログラム同期指令が指
令されている場合には、そのプログラム同期指令を第1
系統同期指令メモリ3に記憶させる(ステップS2) 
。次に、第2系統同期指令読出部2は第2の系統の加工
プログラムにプログラム同期指令が指令されているか否
か判定し(ステップS3) 、第2の系統の加工プログ
ラムにプログラム同期指令が指令されていない場合には
全ての処理を終了する。一方、第2の系統の加工プログ
ラムにプログラム同期指令が指令されている場合には、
そのプログラム同期指令を第2系統同期指令メモリ4に
記憶させる(ステップS4)。そして、同期指令比較部
6は各系統同期指令メモリ3、4から同期指令読出部5
を介して送出されて来た各プログラム同期指令を比較し
(ステップS5)、第1の系統の加工プログラムに指令
されているプログラム同期指令のコード番号が第2の系
統の加工プログラムに指令されているプログラム同期指
令のコード番号より大きい場合はその比較結果を制御信
号生成部7に送出する。制御信号生成部7は第1の系統
の加工プログラムの進行を停止させて第1の系統を待機
させると共に第2の系統の加工プログラムの進行をスタ
ートさせる制御信号を生成して外部へ出力し(ステップ
S6、S7)、全ての処理を終了する。
In such a configuration, an example of its operation will be explained with reference to the flowchart of FIG. 7. The first system synchronization command reading section 1 determines whether a program synchronization command has been issued to the machining program of the first system. (Step S1)
If the program synchronization command is not issued to the machining program of the first system, the process advances to step S3. on the other hand,
If a program synchronization command is specified in the machining program of the first system, the program synchronization command is
Store it in the system synchronization command memory 3 (step S2)
. Next, the second system synchronization command reading unit 2 determines whether or not a program synchronization command has been commanded to the machining program of the second system (step S3), and determines whether a program synchronization command has been commanded to the machining program of the second system. If not, all processing ends. On the other hand, if a program synchronization command is issued to the machining program of the second system,
The program synchronization command is stored in the second system synchronization command memory 4 (step S4). Then, the synchronization command comparison section 6 reads the synchronization command memory 3 and 4 from the synchronization command reading section 5.
It compares each program synchronization command sent via (step S5) and determines whether the code number of the program synchronization command commanded to the machining program of the first system is commanded to the machining program of the second system. If the code number is greater than the code number of the current program synchronization command, the comparison result is sent to the control signal generation section 7. The control signal generation unit 7 generates a control signal to stop the progress of the machining program of the first system, put the first system on standby, and start the progress of the machining program of the second system, and outputs it to the outside ( Steps S6 and S7), all processing ends.

【0005】一方、第1の系統の加工プログラムに指令
されているプログラム同期指令のコード番号が第2の系
統の加工プログラムに指令されているプログラム同期指
令のコード番号より小さい場合はその比較結果を制御信
号生成部7に送出する。制御信号生成部7は第2の系統
の加工プログラムの進行を停止させて第2の系統を待機
させると共に第1の系統の加工プログラムの進行をスタ
ートさせる制御信号を生成して外部へ出力し(ステップ
S8、S9)、全ての処理を終了する。一方、第1の系
統の加工プログラムに指令されているプログラム同期指
令のコード番号が第2の系統の加工プログラムに指令さ
れているプログラム同期指令のコード番号と同じ場合は
その比較結果を制御信号生成部7に送出する。制御信号
生成部7は第1の系統及び第2の系統の加工プログラム
の進行をスタートさせる制御信号を生成して外部へ出力
し(ステップS11)、全ての処理を終了する。
On the other hand, if the code number of the program synchronization command commanded to the machining program of the first system is smaller than the code number of the program synchronization command commanded to the machining program of the second system, the comparison result is The signal is sent to the control signal generator 7. The control signal generation unit 7 generates a control signal to stop the progress of the machining program of the second system and put the second system on standby, and also starts the progress of the machining program of the first system, and outputs it to the outside ( Steps S8 and S9), all processing ends. On the other hand, if the code number of the program synchronization command commanded to the machining program of the first system is the same as the code number of the program synchronization command commanded to the machining program of the second system, the comparison result is used to generate a control signal. Send it to Department 7. The control signal generation unit 7 generates a control signal to start the processing programs of the first system and the second system and outputs it to the outside (step S11), and ends all processing.

【0006】[0006]

【発明が解決しようとする課題】上述した従来の多系統
間のプログラム同期を制御する数値制御装置では、例え
ば図5に示す4つの系統を有する数値制御旋盤における
任意の複数の系統間のプログラム同期が出来ないという
問題があった。本発明は上述のような事情から成された
ものであり、本発明の目的は、プログラム同期を任意の
複数の系統間で行なうことが出来る数値制御装置を提供
することにある。
[Problems to be Solved by the Invention] In the above-mentioned conventional numerical control device that controls program synchronization between multiple systems, it is difficult to achieve program synchronization between arbitrary systems in a numerically controlled lathe having four systems as shown in FIG. The problem was that it was not possible. The present invention was made in view of the above-mentioned circumstances, and an object of the present invention is to provide a numerical control device that can perform program synchronization between any plurality of systems.

【0007】[0007]

【課題を解決するための手段】本発明は多系統間のプロ
グラム同期を制御する数値制御装置に関するものであり
、本発明の上記目的は、前記各系統のプログラムにて指
令された第1の同期指令及び第2の同期指令を記憶する
第1の記憶手段と、前記各系統をグループ化して記憶す
る第2の記憶手段と、前記第2の記憶手段から読出した
グループが同一の系統の第1の同期指令を前記第1の記
憶手段から読出し、当該系統間のプログラム同期を制御
し、前記第2の記憶手段から読出したグループが異なる
系統の第2の同期指令を前記第1の記憶手段から読出し
、当該系統間のプログラム同期を制御する制御手段とを
具備することによって達成される。
[Means for Solving the Problems] The present invention relates to a numerical control device for controlling program synchronization between multiple systems, and the above object of the present invention is to control the first synchronization commanded by the program of each system. a first storage means for storing commands and a second synchronization command; a second storage means for storing the respective systems in groups; and a first storage means for storing the respective systems in groups; A synchronization command is read from the first storage means to control program synchronization between the systems, and a second synchronization command for a system whose group is different from the second storage means is read from the first storage means. This is achieved by providing a control means for reading and controlling program synchronization between the systems.

【0008】[0008]

【作用】本発明にあっては、2種類の同期指令を用いて
おり、また各系統を任意にグループ化することができる
ので、グループに基づいて2種類の同期指令を実行する
ことによりプログラム同期を任意の複数の系統間で行な
うことが出来る。
[Operation] The present invention uses two types of synchronization commands, and since each system can be arbitrarily grouped, program synchronization can be achieved by executing two types of synchronization commands based on the groups. can be performed between any number of systems.

【0009】[0009]

【実施例】図1は図5に示した4つの系統を有する数値
制御旋盤における各系統間のプログラム同期を制御する
本発明の数値制御装置の一例を示すブロック図であり、
順次実行されていく第1の系統の加工プログラムからプ
ログラム同期指令PS1が第1系統同期指令読出部11
に読出されて第1の同期指令と第2の同期指令に区別さ
れて第1系統第1・第2同期指令メモリ15に記憶され
る。同様に第2、第3、第4の各系統の加工プログラム
からプログラム同期指令PS2、PS3、PS4が第2
、第3、第4系統同期指令読出部12、13、14にそ
れぞれ読出され、第1の同期指令と第2の同期指令に区
別されて第2、第3、第4系統第1・第2同期指令メモ
リ16、17、18にそれぞれ記憶されており、第1の
記憶手段Aを構成している。グループ記憶メモリ19に
は各系統がどのグループに属しているかがグループ番号
でキーボード等により予め設定されており、第2の記憶
手段Bを構成している。グループ記憶メモリ19から各
系統のグループSGが同一グループの第1同期指令読出
部20及び異なるグループの第2同期指令読出部21に
読出される。そして、同一グループの第1同期指令読出
部20にて各系統第1・第2同期指令メモリ15、16
、17、18から同一グループの第1の同期指令SP1
1、SP21、SP31、SP41が読出されて第1同
期指令比較部22に送出され、それぞれの第1の同期指
令SP11、SP21、SP31、SP41が比較され
てその比較結果CR1が制御信号生成部24に送出され
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an example of a numerical control device of the present invention for controlling program synchronization between each system in a numerically controlled lathe having four systems shown in FIG.
The program synchronization command PS1 is sent from the machining program of the first system that is executed sequentially to the first system synchronization command reading unit 11.
The synchronization commands are read out and stored in the first and second synchronization command memory 15 of the first system, where they are distinguished into a first synchronization command and a second synchronization command. Similarly, the program synchronization commands PS2, PS3, and PS4 from the machining programs of the second, third, and fourth systems are
, the third and fourth system synchronization command reading units 12, 13, and 14, respectively, and are distinguished into the first synchronization command and the second synchronization command, and the first and second synchronization commands of the second, third, and fourth systems are read out. They are stored in synchronization command memories 16, 17, and 18, respectively, and constitute a first storage means A. In the group storage memory 19, the group to which each system belongs is preset by a group number using a keyboard or the like, and constitutes a second storage means B. The group SG of each system is read out from the group storage memory 19 to the first synchronization command reading section 20 of the same group and the second synchronization command reading section 21 of a different group. Then, in the first synchronization command reading unit 20 of the same group, the first and second synchronization command memories 15 and 16 of each system are read out.
, 17, 18 to the first synchronization command SP1 of the same group.
1, SP21, SP31, and SP41 are read out and sent to the first synchronization command comparison section 22, and the respective first synchronization commands SP11, SP21, SP31, and SP41 are compared, and the comparison result CR1 is sent to the control signal generation section 24. sent to.

【0010】一方、異なるグループの第2同期指令読出
部21にて各系統第1・第2同期指令メモリ15、16
、17、18から異なるグループの第2の同期指令DP
12、DP22、DP32、DP42が読出されて第2
同期指令比較部23に送出され、それぞれの第2の同期
指令DP12、DP22、DP32、DP42が比較さ
れてその比較結果CR2が制御信号生成部24に送出さ
れる。そして、送出されて来た比較結果CR1、CR2
に基づいて各系統の制御信号SC1、SC2、SC3、
SC4が生成されて外部に出力されるようになっており
、制御手段Cを構成している。
On the other hand, the second synchronization command reading section 21 of the different group reads the first and second synchronization command memories 15 and 16 of each system.
, 17, 18, the second synchronization command DP of a different group
12, DP22, DP32, and DP42 are read out and the second
The second synchronization commands DP12, DP22, DP32, and DP42 are compared, and the comparison result CR2 is sent to the control signal generation section 24. Then, the sent comparison results CR1, CR2
Based on the control signals SC1, SC2, SC3,
SC4 is generated and output to the outside, and constitutes control means C.

【0011】このような構成において、その動作例を図
2のフローチャートで説明すると、4つの系統の加工プ
ログラムはオペレータによる起動操作により同時にスタ
ートし先頭のブロックより順次実行されていく。各系統
同期指令読出部11、12、13、14は各系統の加工
プログラムにプログラム同期指令が指令されているか否
か判定し(ステップS21)、各系統の加工プログラム
にプログラム同期指令が指令されていない場合にはステ
ップS42へ進む。一方、プログラム同期指令が指令さ
れている場合には、それが第1の系統のプログラム同期
指令であるか否か判定し(ステップS22,S23)、
第1の系統のプログラム同期指令でない場合にはステッ
プS27へ進む。一方、第1の系統のプログラム同期指
令である場合には、さらにそれが第1の同期指令である
か否か判定し(ステップS24)、第1の同期指令であ
る場合にはそれを第1系統第1・第2同期指令メモリ1
5の第1のエリアに記憶させ(ステップS25)、第2
の同期指令である場合にはそれを第1系統第1・第2同
期指令メモリ15の第2エリアに記憶させる(ステップ
S26)。そして、同様の処理を第4系統まで行なう(
ステップS27、S28)。
In such a configuration, an example of its operation will be explained with reference to the flowchart of FIG. 2. The four systems of machining programs are started simultaneously by an operator's activation operation and are executed sequentially from the first block. Each system synchronization command reading section 11, 12, 13, 14 determines whether a program synchronization command has been instructed to the machining program of each system (step S21), and determines whether a program synchronization command has been commanded to the machining program of each system. If not, the process advances to step S42. On the other hand, if a program synchronization command has been issued, it is determined whether or not it is a program synchronization command of the first system (steps S22, S23);
If it is not a program synchronization command of the first system, the process advances to step S27. On the other hand, if it is a program synchronization command of the first system, it is further determined whether or not it is the first synchronization command (step S24), and if it is the first synchronization command, it is System first and second synchronization command memory 1
5 (step S25), and the second
If it is a synchronization command, it is stored in the second area of the first system first and second synchronization command memory 15 (step S26). Then, the same process is performed up to the fourth system (
Steps S27, S28).

【0012】次に、同一グループの第1同期指令読出部
20はグループ記憶メモリ19から各系統のグループを
読出し、まず第1系統の第1の同期指令を第1系統第1
・第2同期指令メモリ15から読出し、次に第1系統の
グループと同一の第2系統の第1の同期指令を第2系統
第1・第2同期指令メモリ16から読出して第1同期指
令比較部22に送出する。第1同期指令比較部22は送
出されて来た第1系統の第1の同期指令と第2系統の第
1の同期指令を比較し(ステップS30)、その比較結
果を制御信号制御部24に送出する。制御信号制御部2
4は第1系統の第1の同期指令のコード番号が第2系統
の第1の同期指令のコード番号より大きいときは第1系
統の加工プログラムの進行を停止させ(ステップS31
)、第1系統の第1の同期指令のコード番号が第2系統
の第1の同期指令のコード番号より小さいときは第1系
統の加工プログラムをスタートさせる(ステップS32
)。そして、同様の処理を第4系統まで行なう(ステッ
プS33,S34)。
Next, the first synchronization command reading unit 20 of the same group reads out the group of each system from the group storage memory 19, and first reads the first synchronization command of the first system into the first synchronization command of the first system.
- Read from the second synchronization command memory 15, then read the first synchronization command of the second system, which is the same as the group of the first system, from the second system first and second synchronization command memories 16, and compare the first synchronization commands. 22. The first synchronization command comparison unit 22 compares the first synchronization command of the first system and the first synchronization command of the second system that have been sent out (step S30), and sends the comparison result to the control signal control unit 24. Send. Control signal control section 2
4, when the code number of the first synchronization command of the first system is larger than the code number of the first synchronization command of the second system, the progress of the machining program of the first system is stopped (step S31
), when the code number of the first synchronization command of the first system is smaller than the code number of the first synchronization command of the second system, the machining program of the first system is started (step S32
). Then, similar processing is performed up to the fourth system (steps S33, S34).

【0013】次に、制御信号生成部24は第1系統の加
工プログラムの進行が停止中か否か判定し(ステップS
35,S36)、第1系統の加工プログラムの進行が停
止中であればステップS40に進む。一方、第1系統の
加工プログラムの進行が停止中でなければ、異なるグル
ープの第2同期指令読出部21はグループ記憶メモリ1
9から各系統のグループを読出し、まず第1系統の第2
の同期指令を第1系統第1・第2同期指令メモリ15か
ら読出し、次に第1系統のグループと異なる第3系統の
第2の同期指令を第3系統第1・第2同期指令メモリ1
7から読出して第2同期指令比較部23に送出する。第
2の同期指令比較部23は送出されて来た第1系統の第
2同期指令と第3系統の第2同期指令を比較し(ステッ
プS37)、その比較結果を制御信号制御部24に送出
する。制御信号制御部24は第1系統の第2の同期指令
のコード番号が第3系統の第2の同期指令のコード番号
より大きいときは第1系統の加工プログラムの進行を停
止させ(ステップS38)、第1系統の第2の同期指令
のコード番号が第3系統の第2の同期指令のコード番号
より小さいときは第1系統の加工プログラムをスタート
させる(ステップS39)。そして、同様の処理を第4
系統まで行ない(ステップS40,S41)、全系統の
加工プログラムが終了したか否か判定し(ステップS4
2)、全系統の加工プログラムが終了していない場合に
はステップS21に戻って上述した動作を繰返し、全系
統の加工プログラムが終了した場合には全ての処理を終
了する。
Next, the control signal generation unit 24 determines whether or not the progress of the first system machining program is stopped (step S
35, S36), if the progress of the first system machining program is stopped, the process advances to step S40. On the other hand, if the progress of the machining program of the first system is not stopped, the second synchronization command reading section 21 of a different group
9, read out the groups of each system, and first read out the groups of the first system and the second system.
The synchronization command of the first system is read from the first and second synchronization command memory 15 of the first system, and then the second synchronization command of the third system, which is different from the group of the first system, is read out from the first and second synchronization command memory 1 of the third system.
7 and sends it to the second synchronization command comparison section 23. The second synchronization command comparison unit 23 compares the second synchronization command of the first system and the second synchronization command of the third system that have been sent (step S37), and sends the comparison result to the control signal control unit 24. do. When the code number of the second synchronization command of the first system is larger than the code number of the second synchronization command of the third system, the control signal control unit 24 stops the progress of the machining program of the first system (step S38). If the code number of the second synchronization command of the first system is smaller than the code number of the second synchronization command of the third system, the machining program of the first system is started (step S39). Then, the same process is applied to the fourth
It is determined whether the machining programs for all systems have been completed (steps S40 and S41).
2) If the machining programs for all systems have not been completed, the process returns to step S21 and the above-described operations are repeated, and when the machining programs for all systems have been completed, all processes are completed.

【0014】例えば図4に示す第1、第2、第3、第4
系統の加工プログラムK1、K2、K3,K4のうち、
K1とK2及びK3とK4が同一グループとしてグルー
プ化されており、第1の同期指令がPコード、第2の同
期指令がQコードにより行なわれるものとして各系統の
加工プログラム進行状態を以下に説明する。4つの系統
の加工プログラムはオペレータによる起動操作により同
時にスタートして先頭のブロックから順次実行されてい
く。第1系統の加工プログラムK1は、P10が読込ま
れた時点で同一グループの第2系統の加工プログラムK
2のP10が読込まれるまで待機状態になる。第2系統
の加工プログラムK2は、Q1が読込まれた時点で異な
るグループの第4系統の加工プログラムK4のQ1が読
込まれるまで待機状態になる。第3系統の加工プログラ
ムK3は、P1が読込まれた時点で同一グループの第4
系統の加工プログラムK4のP1が読込まれるまで待機
状態になり、さらにP2が読込まれた時点で同一グルー
プの第4系統の加工プログラムK4のP2が読込まれる
まで待機状態になる。なお、上述した実施例では4系統
で説明したが、任意の数の系統であっても本発明を適用
することができる。
For example, the first, second, third, fourth shown in FIG.
Among the system machining programs K1, K2, K3, and K4,
The machining program progress status of each system is explained below assuming that K1 and K2 and K3 and K4 are grouped as the same group, and the first synchronization command is performed by P code and the second synchronization command is performed by Q code. do. The four systems of machining programs are started simultaneously by an operator's activation operation and are executed sequentially from the first block. The machining program K1 of the first system is changed to the machining program K of the second system of the same group at the time when P10 is read.
It is in a standby state until P10 of No. 2 is read. The machining program K2 of the second system is in a standby state until Q1 of the machining program K4 of the fourth system of a different group is read at the time when Q1 is read. The machining program K3 of the third system is the fourth machining program in the same group at the time P1 is read.
The system is in a standby state until P1 of the machining program K4 of the system is read, and when P2 is read, the system is in a standby state until P2 of the machining program K4 of the fourth system of the same group is read. In addition, although four systems were explained in the above-mentioned embodiment, the present invention can be applied to any number of systems.

【0015】[0015]

【発明の効果】以上のように本発明の多系統間のプログ
ラム同期を制御する数値制御装置によれば、多系統を有
する数値制御旋盤におけるプログラム同期が任意の複数
の系統間で行なうことができるので、複雑な形状の加工
を効率良く行なうことができる。
[Effects of the Invention] As described above, according to the numerical control device for controlling program synchronization between multiple systems of the present invention, program synchronization can be performed between arbitrary multiple systems in a numerically controlled lathe having multiple systems. Therefore, complex shapes can be processed efficiently.

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

【図1】本発明のプログラム同期を制御する数値制御装
置の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a numerical control device for controlling program synchronization according to the present invention.

【図2】本発明装置の動作例を示す第1のフローチャー
トである。
FIG. 2 is a first flowchart showing an example of the operation of the device of the present invention.

【図3】本発明装置の動作例を示す第2のフローチャー
トである。
FIG. 3 is a second flowchart showing an example of the operation of the device of the present invention.

【図4】本発明装置における加工プログラムの進行を説
明するための図である。
FIG. 4 is a diagram for explaining the progress of a machining program in the apparatus of the present invention.

【図5】多系統を有する数値制御旋盤の構成例を示す図
である。
FIG. 5 is a diagram showing a configuration example of a numerically controlled lathe having multiple systems.

【図6】従来のプログラム同期を制御する数値制御装置
の一例を示すブロック図である。
FIG. 6 is a block diagram showing an example of a conventional numerical control device that controls program synchronization.

【図7】従来装置の動作例を示すフローチャートである
FIG. 7 is a flowchart showing an example of the operation of a conventional device.

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

19    グループ記憶メモリ 20    同一グループの第1同期指令読出部21 
   異なるグループの第2同期指令読出部22   
 第1同期指令比較部 23    第2同期指令比較部
19 Group storage memory 20 First synchronization command reading unit 21 of the same group
Second synchronization command reading unit 22 of a different group
First synchronization command comparison section 23 Second synchronization command comparison section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  多系統間のプログラム同期を制御する
数値制御装置において、前記各系統のプログラムにて指
令された第1の同期指令及び第2の同期指令を記憶する
第1の記憶手段と、前記各系統をグループ化して記憶す
る第2の記憶手段と、前記第2の記憶手段から読出した
グループが同一の系統の第1の同期指令を前記第1の記
憶手段から読出し、当該系統間のプログラム同期を制御
し、前記第2の記憶手段から読出したグループが異なる
系統の第2の同期指令を前記第1の記憶手段から読出し
、当該系統間のプログラム同期を制御する制御手段とを
備えたことを特徴とする多系統間のプログラム同期を制
御する数値制御装置。
1. A numerical control device for controlling program synchronization between multiple systems, comprising: a first storage means for storing a first synchronization command and a second synchronization command commanded by the program of each system; A second storage means for grouping and storing the respective systems; and a first synchronization command for the same system read from the second storage means are read from the first storage means, control means for controlling program synchronization, reading out from the first storage means a second synchronization command for systems in different groups read from the second storage means, and controlling program synchronization between the systems; A numerical control device for controlling program synchronization between multiple systems, characterized by:
JP3122087A 1991-04-24 1991-04-24 Numerical controller for controlling program synchronization between multiple systems Expired - Lifetime JP2792754B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3122087A JP2792754B2 (en) 1991-04-24 1991-04-24 Numerical controller for controlling program synchronization between multiple systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3122087A JP2792754B2 (en) 1991-04-24 1991-04-24 Numerical controller for controlling program synchronization between multiple systems

Publications (2)

Publication Number Publication Date
JPH04324502A true JPH04324502A (en) 1992-11-13
JP2792754B2 JP2792754B2 (en) 1998-09-03

Family

ID=14827334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3122087A Expired - Lifetime JP2792754B2 (en) 1991-04-24 1991-04-24 Numerical controller for controlling program synchronization between multiple systems

Country Status (1)

Country Link
JP (1) JP2792754B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5870306A (en) * 1996-06-13 1999-02-09 Mitsubishi Denki Kabushiki Kaisha Automatic programming method and device for multi-system machine tool
JP2005346740A (en) * 2005-09-01 2005-12-15 Yaskawa Electric Corp Controller for work machine, synchronous control method for work machine, and work machine control system
JP2016162205A (en) * 2015-03-02 2016-09-05 ファナック株式会社 Control device capable of centralized management of control by grouping multiple systems
JP6125123B1 (en) * 2016-05-09 2017-05-10 三菱電機株式会社 Numerical controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01295741A (en) * 1988-05-19 1989-11-29 Fanuc Ltd Control device for compound machine tool
JPH02108103A (en) * 1988-10-17 1990-04-20 Mitsubishi Electric Corp Numerical controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01295741A (en) * 1988-05-19 1989-11-29 Fanuc Ltd Control device for compound machine tool
JPH02108103A (en) * 1988-10-17 1990-04-20 Mitsubishi Electric Corp Numerical controller

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5870306A (en) * 1996-06-13 1999-02-09 Mitsubishi Denki Kabushiki Kaisha Automatic programming method and device for multi-system machine tool
JP2005346740A (en) * 2005-09-01 2005-12-15 Yaskawa Electric Corp Controller for work machine, synchronous control method for work machine, and work machine control system
JP2016162205A (en) * 2015-03-02 2016-09-05 ファナック株式会社 Control device capable of centralized management of control by grouping multiple systems
JP6125123B1 (en) * 2016-05-09 2017-05-10 三菱電機株式会社 Numerical controller
WO2017195259A1 (en) * 2016-05-09 2017-11-16 三菱電機株式会社 Numerical control device

Also Published As

Publication number Publication date
JP2792754B2 (en) 1998-09-03

Similar Documents

Publication Publication Date Title
CN101458509B (en) Numerical controller having control mode switching function
US20030090230A1 (en) Synchronization control method and synchronization control device
US20100004760A1 (en) Numerical controller with tabular data for operating arbitrary axes
US6401005B1 (en) Programmable synchronous and asynchronous block execution for a computer numerical control
WO2002025388A1 (en) Numeric control lathe and method for controlling the same
JPS59216205A (en) Numerical control device
JPH04324502A (en) Numerical controller for controlling program synchronization between multiple systems
JP2735209B2 (en) Numerical control unit
WO1990006542A1 (en) Cnc control system
US6999844B2 (en) Numerical controller
JPH01229305A (en) Numerical controller
JP3893334B2 (en) Multi-system numerical controller
US5083071A (en) Spindle control system
WO1988006752A1 (en) Numerical control method capable of variably setting positioning precision
WO1990002978A1 (en) Numerical control method
JPH0871979A (en) Robot controller
JP2820823B2 (en) Numerical control unit
JPH01229304A (en) Numerical controller
WO1989005483A1 (en) Cnc control system
JPH0328908A (en) Numerical controller
JPH09311706A (en) Numerical controller
JPH0969007A (en) Multi-robot reproduction control system
JPH02231602A (en) General-purpose learning controller
JPH0573128A (en) Feed rate control method for numerical controller
JPH02109601A (en) Method for controlling numerically controlled lathe

Legal Events

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

Free format text: PAYMENT UNTIL: 20080619

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090619

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090619

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100619

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100619

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110619

Year of fee payment: 13

EXPY Cancellation because of completion of term