JP2932593B2 - Multi-sequence control NC device - Google Patents

Multi-sequence control NC device

Info

Publication number
JP2932593B2
JP2932593B2 JP2100399A JP10039990A JP2932593B2 JP 2932593 B2 JP2932593 B2 JP 2932593B2 JP 2100399 A JP2100399 A JP 2100399A JP 10039990 A JP10039990 A JP 10039990A JP 2932593 B2 JP2932593 B2 JP 2932593B2
Authority
JP
Japan
Prior art keywords
series
specific code
program
execution
executed
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
JP2100399A
Other languages
Japanese (ja)
Other versions
JPH04607A (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.)
YASUKAWA DENKI KK
Original Assignee
YASUKAWA DENKI 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 YASUKAWA DENKI KK filed Critical YASUKAWA DENKI KK
Priority to JP2100399A priority Critical patent/JP2932593B2/en
Publication of JPH04607A publication Critical patent/JPH04607A/en
Application granted granted Critical
Publication of JP2932593B2 publication Critical patent/JP2932593B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数のNC加工プログラムを同時に実行でき
る多系列制御NC装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multi-sequence control NC device capable of simultaneously executing a plurality of NC machining programs.

[従来の技術] 従来、多系列のNC加工プログラムを実行させていく場
合、系列間の同期をとりたい時は、第11図に示すよう
に、同一番号のMコード指令を各系列のNC加工プログラ
ム中に指令する方法がとられていた。第11図の例では、
第1系列のNC加工プログラムでM900のMコード指令が実
行されると、該NC加工プログラムの実行が中断される。
そして第2系列のNC加工プログラムで同じM900のコード
指令が実行されると、第1系列のNC加工プログラムの実
行が再開されて、第1系列と第2系列のNC加工プログラ
ムは再び同時に実行される。M901のMコード指令の場合
も同様である。
[Prior art] Conventionally, when executing a multi-line NC machining program, if it is desired to synchronize between the series, as shown in FIG. The method of giving a command during the program was used. In the example of FIG. 11,
When the M code command of M900 is executed by the first series of NC machining programs, the execution of the NC machining program is interrupted.
Then, when the same M900 code command is executed in the second series of NC machining programs, the execution of the first series of NC machining programs is resumed, and the first and second series of NC machining programs are simultaneously executed again. You. The same applies to the M code command of M901.

[発明が解決しようとする課題] ところが、この方法では、第12図に示すように、例え
ば第2系列から第1系列の軸を制御するような場合、第
1系列を待ち状態にするために、Mコード指令を2つ続
けてNC加工プログラム中指令する必要があり、さらに第
2系列側に第1系列が待ちに入るまで待つドウエル指令
等が必要となる。また、3系列以上から他系列へ複雑な
軸乗り入れを行なう場合、非常に複雑なコード指令を行
なわないと実現不可能であった。
[Problems to be Solved by the Invention] However, in this method, as shown in FIG. 12, for example, when controlling the axis of the first stream from the second stream, it is necessary to put the first stream in a waiting state. , M code commands must be successively issued during the NC machining program, and a dowel command or the like for waiting for the first system to wait on the second system is required. Further, when a complicated axis is entered from three or more systems to another system, it cannot be realized unless a very complicated code command is issued.

本発明の目的は、他系列にて軸制御される待ち側の系
列は1つの特定コードを指令すればよく、また他系列の
軸制御を行なう乗り入れ側の系列も簡単な特定コードを
指令すればよい多系列制御NC装置を提供することにあ
る。
It is an object of the present invention that the wait-side system controlled by another system needs to issue one specific code, and the entry-side system that performs axis control of another system also issues a simple specific code. It is to provide a good multi-sequence control NC device.

[課題を解決するための手段] 本発明の多系列制御NC装置は、 第1の系列のNC加工プログラムと、第1の系列のNC加
工プログラムの実行を中断させ、その間に所定のプログ
ラムを実行する1つ以上の第2の系列のNC加工プログラ
ム中に指令された特定のコードの各々に対応して、これ
ら第1、第2の系列から共通に参照、更新される特定の
コードカウンタが設けられ、 第1の系列のプログラム実行部には、自系列の特定の
コードが実行されると、所定の規定によって増減される
特定のコードカウンタの値を特定コード実行中に参照・
更新し、第2の系列の特定のコードが既に実行されてい
ることを特定コードカウンタの値が示していれば第2の
系列のプログラム実行部にNC加工プログラムの実行を再
開するように通知し、自系列のNC加工プログラムの実行
を中断させ、第2の系列の特定コードが未だ実行されて
いないことを特定コードカウンタの値が示していれば、
自系列のNC加工プログラムの実行を中断させる待ち合わ
せ処理プログラムが設けられ、 第2の系列のプログラム実行部には、自系列の特定コ
ードが実行されると、該特定コードの実行が1回目で、
第1の系列の特定コードが未だ実行されていないことを
特定コードカウンタの値が示していれば自系列のNC加工
プログラムの実行を中断させ、該特定コードの実行が1
回目で、第1の系列の特定コードが既に実行されている
ことを特定コードカウンタの値が示していれば自系列の
NC加工プログラムの実行を続行させ、第2の系列の数が
1つで、該特定のコードの実行が2回目で第1の系列の
特定コードが既に実行されていることを特定コードカウ
ンタの値が示していれば第1の系列のプログラム実行部
にNC加工プログラムの実行を再開するように通知し、第
2の系列の数が2つ以上で該特定コードの実行がn回目
で、自系列が2つ以上の第2の系列の中で1番最後にn
回目の該特定コードを実行し、第1の系列の特定コード
が既に実行されていることを特定コードカウンタの値が
示していれば、第1の系列のプログラム実行部にNC加工
プログラムの実行を再開するように通知する待ち合わせ
処理プログラムが設けられている。
[Means for Solving the Problems] A multi-series control NC apparatus of the present invention interrupts execution of a first series of NC machining programs and a first series of NC machining programs, and executes a predetermined program during the interruption. A specific code counter which is commonly referred to and updated from the first and second sequences is provided in correspondence with each of the specific codes specified in the one or more second series of NC machining programs. When the specific code of the own system is executed, the program execution unit of the first system refers to a value of a specific code counter which is increased or decreased by a predetermined rule during execution of the specific code.
If the value of the specific code counter indicates that the specific code of the second series has already been executed, the program execution unit of the second series is notified to restart the execution of the NC machining program. If the value of the specific code counter indicates that the execution of the own series of NC machining program is interrupted and the specific code of the second series has not been executed yet,
A queuing processing program for interrupting the execution of the own series of NC machining programs is provided. When a specific code of the own series is executed, the second series of program execution units executes the specific code for the first time.
If the value of the specific code counter indicates that the specific code of the first system has not been executed yet, the execution of the NC machining program of the own system is interrupted, and the execution of the specific code becomes 1
At the second time, if the value of the specific code counter indicates that the specific code of the first sequence has already been executed,
The execution of the NC machining program is continued, and the value of the specific code counter indicates that the number of the second series is one, the execution of the specific code is the second time, and the specific code of the first series is already executed. Indicates that the execution of the NC machining program is restarted to the program execution unit of the first series, the number of the second series is two or more, the execution of the specific code is the nth time, and the own series is executed. Is the last n among the two or more second series
If the value of the specific code counter indicates that the specific code of the first series has already been executed, the execution of the NC machining program is performed by the program execution unit of the first series. A queuing processing program for notifying the user to restart is provided.

[作用] 特定コードをNC加工プログラム中に指令し、他系列に
て軸制御される系列の待ちを他系列の別の特定コードの
複数回の実行で解除するので、軸制御される待ち側の系
列は1つの特定コードの指令だけでよいため、NC加工プ
ログラムのプログラミングが容易となり、乗り入れ側の
系列も簡単な特定コードを指令するだけで軸の乗り入れ
制御を実現する。
[Operation] The specific code is commanded in the NC machining program, and the waiting for the axis controlled by another system is released by executing the specific code of another system multiple times, so that the axis controlled waiting side Since the series only needs to be instructed by one specific code, the programming of the NC machining program becomes easy, and the entry side system realizes the axis entry control by simply issuing a simple specific code.

なお、本発明は、軸の乗り入れ制御のみならず、NC加
工プログラムの実行の系列間の同期をとる場合にも適用
できる。
The present invention can be applied not only to the control of the access of the axis but also to the case where the synchronization between the execution sequences of the NC machining program is taken.

[実施例] 次に、本発明の実施例について図面を参照して説明す
る。
Example Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す多系列制御NC装置の
ブロック図、第2図は軸乗り入れ制御の例を示すブロッ
ク図、第3図、第4図はそれぞれ第2系列から第1系列
へ軸乗り入れ制御を行なう場合の待ち合わせ処理フログ
ラム91と92の流れ図、第5図、第6図、第7図はそれぞ
れ第1系列と第3系列から第2系列へ軸乗り入れ制御を
行なう場合の待ち合わせ処理プログラム91,92,93の流れ
図、第8図は第2系列から第1系列へ軸乗り入れ制御を
行なう場合のNC加工プログラム81と82のプログラミング
例を示す図、第9図は第1系列と第3系列から第2系列
へ軸乗り入れ制御を行なう場合のNC加工プログラム81,8
2,83のプログラミング例を示す図、第10図は第1系列と
第3系列から第2系列へ軸乗り入れ制御を行なう場合の
タイミング図である。
FIG. 1 is a block diagram of a multi-sequence control NC apparatus showing one embodiment of the present invention, FIG. 2 is a block diagram showing an example of axis entry control, and FIG. 3 and FIG. performing a flow diagram of the queuing process Furoguramu 9 1 and 9 2 in the case of performing axial fly control the sequence, Figure 5, Figure 6, the FIG. 7 is an axial fly control from the first series and the third series respectively to the second series FIG. 8 is a flowchart of a waiting process program 9 1 , 9 2 , 9 3 in the case; FIG. 8 is a diagram showing an example of programming of NC machining programs 8 1 and 8 2 in the case of performing the shaft entry control from the second system to the first system; FIG. 9 shows the NC machining programs 8 1 , 8 in the case where the shaft entry control is performed from the first system and the third system to the second system.
2, 8 3 illustrates an example of programming, FIG. 10 is a timing diagram of the case where the shaft fly control from the first sequence and the third sequence to the second sequence.

本実施例のNC装置は3系列制御NC装置で、かつ各系列
X軸、Z軸の2軸ずつの制御を行なうもので、第1図に
示すように、第1系列、第2系列、第3系列のNC加工プ
ログラム81,82,83が格納されている不揮発性メモリ1
と、不揮発性メモリ1からそれぞれNC加工プログラム
81,82,83を読出し、解析するプログラム解折部21,22,23
と、軸乗り入れ制御を行なう場合の待ち合わせ処理プロ
グラム91,92,93をそれぞれ含み、解折されたNC加工プロ
グラムを実行するプログラム実行部31,32,33と、補間処
理部41,42,43と、軸乗り入れ処理部5と、X軸モータ7x
1,7x2,7x3をそれぞれ制御するX軸サーポ制御部6x1,6
x2,6x3と、Z軸モータ7z1,7z2,7z3をそれぞれ制御する
Z軸サーポ制御部6z1,6z2,6z3とで構成されている。
The NC apparatus of the present embodiment is a three-series control NC apparatus and performs control of each of two axes of each series X axis and Z axis. As shown in FIG. Non-volatile memory 1 in which three series of NC machining programs 8 1 , 8 2 , 8 3 are stored
And the NC machining program from the non-volatile memory 1 respectively
8 1 , 8 2 , 8 3 Read and analyze program analysis unit 2 1 , 2 2 , 2 3
And a program execution unit 3 1 , 3 2 , 3 3 that includes a waiting process program 9 1 , 9 2 , 9 3 for performing the axis entry control, and executes the broken NC machining program, and an interpolation processing unit. 4 1 , 4 2 , 4 3 , axis entry processing unit 5, X-axis motor 7x
X-axis servo control units 6x 1 and 6 for controlling 1 , 7x 2 and 7x 3 respectively
and x 2, 6x 3, and a Z-axis motor 7z 1, 7z 2, Z-axis Sapo controller 6z 1 for controlling 7z 3 respectively, 6z 2, 6z 3.

各系列は起動されると不揮発性メモリ1から各々NC装
置プログラム81〜83を読み込み、プログラム解析部21
23で解析し、補間処理部41〜43で補完を行ない、各軸の
サーボ制御部6x1〜6x3に移動指令を与える。通常は第1
系列で7x1,7z1軸、第2系列で7x2,7z2軸、第3系列で7x
3,7z3軸の制御を行なっている。
Each series each reads the NC device program 8 1-8 3 when activated nonvolatile memory 1, the program analyzing unit 2 1 -
It was analyzed by 2 3 performs complemented by interpolation processor 41 to 3, giving a moving command to the servo control unit 6x 1 ~6x 3 for each axis. Usually the first
7x 1 and 7z 1 axis for the series, 7x 2 and 7z 2 axes for the second series, 7x for the third series
3, and performs a control of 7z 3 axes.

本実施例では他系列へ軸制御を乗り入れるための乗り
入れ処理部5があり、これを利用すると、第2図に示す
ように、第2系列の補間処理部42で発生させたΔx2,Δz
2のパルス指令のうちΔx2を7x1軸に割り当てることが可
能であり、第2系列から第1系列の軸を制御することが
できる。このとき第1系列では自系列の軸が他系列から
使用されるため、動作が行なえず待ち状態としておく必
要がある。このために、本実施例では、第8図に示すよ
うに、NC加工プログラム81中に特定コードM999が指令さ
れ、NC加工プログラム82中に特定コード998が指令さ
れ、プログラム実行部31,32にはそれぞれ第3図、第4
図の流れ図に示す処理を行なう待ち合わせ処理プログラ
ム91,92が含まれている。
In the present embodiment has served processor 5 for drive over the axis control to another sequence, the use of this, as shown in FIG. 2, [Delta] x 2 was generated by the interpolation processing section 4 2 of the second series, Delta] z
2 of the [Delta] x 2 of pulse command may be assigned to 7x 1 axis, it is possible to control the axis of the first sequence from the second sequence. At this time, in the first stream, since the axis of the own stream is used from another stream, the operation cannot be performed and it is necessary to be in a waiting state. Therefore, in this embodiment, as shown in FIG. 8, the command is specific code M999 while NC machining program 81, the specific code 998 is commanded in the NC machining program 82, the program execution unit 3 1 , 3 Figure 3 to 2, respectively, fourth
Is waiting processing program 9 1, 9 2 performs processing shown in the flowchart of FIG contained.

プログラム実行部31はNC加工プログラム81中の特定M
コードM999を実行すると、待ち合わせ処理プログラム91
を実行する。待ち合わせ処理プログラム91は第3図に示
すように、特定MコードM998に対するM998カウンターを
−1し(ステップ11)、M998カウンタが0かどうか調べ
(ステップ12)、M998カウンタが0ならば「解除待ち」
になっている第2系列のプログラム実行部32に「待ち解
除」を通知するように第1系列のプログラム実行部31に
指示し(ステップ13)、M998カウンタが0でないならば
何もせず、次にM999カウンタを+2し(ステップ14)、
第2系列のプログラム実行部32から「待ち解除」の通知
がくるまでNC加工プログラム81の実行を中断する(ステ
ップ15)。
The program execution part 31 is a specific M in the NC machining program 81.
When the code M999 is executed, the wait processing program 91
Execute As shown in FIG. 3, the queuing processing program 91 decrements the M998 counter for the specific M code M998 by 1 (step 11) and checks whether the M998 counter is 0 (step 12). "
The first sequence program execution unit 31 is instructed to notify the second sequence program execution unit 32 of "wait release" (step 13). If the M998 counter is not 0, nothing is performed. +2 to the M999 counter (step 14)
Execution of the NC machining program 81 is interrupted until a notification of "wait release" is received from the second-series program execution unit 32 (step 15).

すなわち、第1系列で自系列の特定コード(M999)が
実行されると、特定コードカウンタの値を参照・更新し
(M998カウンタ−1→M998カウンタ、M999カウンタ+2
→M999カウンタ(ステップ11,14))、第2系列で特定
コード(M998)がすでに実行されていることを特定コー
ドカウンタ(M998カウンタ)が示していれば(M998カウ
ンタが0ならばすでに実行されている)、第2系列のプ
ログラム実行部32にNCの加工プログラムの実行を再開す
るように通知し(「待ち解除」を通知するように第1系
列のプログラム実行部31に指示し(ステップ13))、自
系列(第1系列)のNC加工プログラムの実行を中断させ
(ステップ15)、第2系列の特定コード(M998)が未だ
実行されていないことを特定コードカウンタの値が示し
ていれば(M998カウンタが0でないならば)、自系列
(第1系列)NC加工プグラムの実行を中断させる(ステ
ップ15)。
That is, when the specific code (M999) of the own system is executed in the first system, the value of the specific code counter is referred to and updated (M998 counter-1 → M998 counter, M999 counter + 2).
→ M999 counter (steps 11 and 14)) If the specific code counter (M998 counter) indicates that the specific code (M998) has already been executed in the second stream (if the M998 counter is 0, it is already executed) ), And notifies the second-system program execution unit 32 to restart the execution of the NC machining program (instructs the first-system program execution unit 31 to notify "wait release" (step 13). )), The execution of the own series (first series) NC machining program is interrupted (step 15), and the value of the specific code counter indicates that the second series specific code (M998) has not been executed yet. If the M998 counter is not 0, the execution of the self-series (first-series) NC processing program is interrupted (step 15).

プログラム実行部32はNC加工プログラム82中の特定コ
ードM998を実行すると、待ち合わせ処理プログラム92を
実行する。待ち合わせ処理プログラム92は、第4図に示
すように、特定コードM999に対するM999カウンタ(初期
値は0)を−1し(ステップ21)、M999カウンタが0か
どうか調べ(ステッペ22)、M999カウンタが0ならば、
「解除待ち」になっている第1系列のプログラム実行部
31に「待ち解除」を通知するように第2系列のプログラ
ム実行部32に指示し(ステップ23)、M999カウンタが0
でないなら何もせず、次に特定コードM998の実行が2回
目かどうか示す2回目フラグを調べ(ステップ24)、2
回目フラグがオフ、すなわち特定コードM998の実行が1
回目ならば特定コードM998に対するM998カウンタ(初期
値は0)を+1し(ステップ25)、M998カウンタが0か
どうか調べ(ステップ26)、0ならば2回目フラグをオ
ンにし(ステップ28)、処理を終了し、0でないならば
第1系列のプログラム実行部31から「待ち解除」の通知
がくるまでNC加工プログラム82の実行を中断し(ステッ
プ27)、ステップ24で2回目のフラグがオンならば、2
回目のフラグをオンにして(ステップ29)、処理を終了
する。
When executing the specific code M998 in the NC machining program 82, the program execution unit 32 executes the waiting processing program 92. As shown in FIG. 4, the queuing processing program 92 decrements the M999 counter (initial value is 0) for the specific code M999 by 1 (step 21), checks whether the M999 counter is 0 (step 22), and determines whether the M999 counter is 0 (step 21). If 0,
The first series of program execution units that are "waiting for release"
The second-series program execution unit 32 is instructed to notify “wait release” to 31 (step 23), and the M999 counter is set to 0.
If not, do nothing and check the second flag indicating whether the execution of the specific code M998 is the second time (step 24).
The second time flag is off, that is, execution of specific code M998 is 1
If it is the first time, the M998 counter (initial value is 0) for the specific code M998 is incremented by 1 (step 25), and it is checked whether or not the M998 counter is 0 (step 26). If it is 0, the second flag is turned on (step 28), and the process is performed. If the flag is not 0, the execution of the NC machining program 82 is interrupted until the notification of "waiting release" is received from the program execution unit 31 of the first series (step 27). If 2
The second flag is turned on (step 29), and the process ends.

すなわち、第2系列の特定コード(M998)が実行され
ると、該特定コードの実行が1回目で(ステップ24 2
回目フラグがオフ)、第1系列の特定コード(M999)が
未だ実行されていないことを特定コードカウンタの値が
示していれば(ステップ25〜27、M998カウンタ+1→M9
98カウンタ、M998カウンタが0でなければ未実行)、自
系列(第2系列)のNC加工プログラムの実行を中断させ
(ステップ27)、該特定コードの実行が1回目で、第1
系列の特定コード(M999)が既に実行されていること特
定コードカウンタの値が示していれば(ステップ25〜2
7、M998カウンタ+1→M998カウンタ、M998カウンタが
0ならば既実行)、自系列のNC加工プログラムの実行を
読出させ、第2の系列の数が1つで、該特定コード(M9
98)の実行が2回目で第1系列の特定コード(M999)が
既に実行されていることを特定コードカウンタの値が示
していれば(ステップ11,12、M999カウンタ−1→M999
カウンタでM999カウンタが0ならばM998 2回目の実行
で、M999が既に実行されていることになる)、第1系列
のプログラム実行部にNC加工プログラムの実行を再開す
るように通知する(ステップ23)。
That is, when the second sequence specific code (M998) is executed, the specific code is executed for the first time (step 242).
If the value of the specific code counter indicates that the first series specific code (M999) has not been executed yet (step 25 to 27, M998 counter + 1 → M9).
If the 98 counter and the M998 counter are not 0, the execution is not executed), the execution of the own series (second series) NC machining program is interrupted (step 27), and the execution of the specific code is performed for the first time and the first
If the value of the specific code counter indicates that the specific code (M999) of the series has already been executed (steps 25 to 2)
7, M998 counter + 1 → M998 counter, if M998 counter is 0, the execution has already been performed), the execution of the own series of NC machining program is read out, the number of the second series is one, and the specific code (M9
If the value of the specific code counter indicates that the specific code (M999) of the first system has already been executed (steps 11 and 12, M999 counter-1 → M999)
If the M999 counter is 0 in the counter, M998 has already been executed by the second execution of M998), and the program execution unit of the first system is notified to restart the execution of the NC machining program (step 23). ).

ここで、特定コードカウンタ(M998カウンタ、M999カ
ウンタ)は、待ち合わせ指令の特定コード(M998、M99
9)を実行することにより増減するカウンタで待ち合わ
せの制御に使用する。
Here, the specific code counters (M998 counter, M999 counter) correspond to the specific codes (M998, M99
The counter that increases or decreases by executing 9) is used for waiting control.

M998カウンタはM998とM999のどちらが時間的に先に実
行されたかを調べるのに使用する。例えば、第8図のNC
加工プログラムを実行した場合、第2系列で1回目のM9
98指令が実行されたとき、M998カウンタが+1され1に
なる。次に、第1系列でM999が実行されたとき、M998カ
ウンタが−1され0になる。0になると、既に第2系列
でM998が1回実行済みであると判断され、第2系列の待
ちを解除する。もし、第1系列のM999指令が先に実行さ
れた場合、M999実行でM998カウンタが−1され−1とな
り、第2系列のM998実行でM998カウンタが+1され0と
なり、このときは第2系列は第1系列からの解除待ちと
ならない。
The M998 counter is used to determine which of M998 and M999 was executed earlier in time. For example, NC in Fig. 8
When the machining program is executed, the first M9 in the second series
When the 98 command is executed, the M998 counter is incremented by 1 and becomes 1. Next, when M999 is executed in the first sequence, the M998 counter is decremented by 1 to 0. When it becomes 0, it is determined that M998 has already been executed once in the second stream, and the waiting for the second stream is canceled. If the M999 command of the first series is executed first, the M998 counter is decremented to -1 by execution of M999, and the M998 counter is incremented to 0 by execution of M998 of the second series. In this case, the second series is executed. Does not wait for release from the first series.

M999カウンタはM999を実行して待ちになっている系列
の待ちを解除するときに使用する。M999を実行したと
き、M999カウンタは+2され、M998を実行したときM999
カウンタは−1される。M998を2回実行するとM999カウ
ンタは0になり、そのときM999実行で解除待ちになって
いる第1系列の待ちを解除する。
The M999 counter is used when executing M999 and releasing the waiting of the waiting series. When M999 is executed, the M999 counter is incremented by 2, and when M998 is executed, M999
The counter is decremented by one. When M998 is executed twice, the M999 counter becomes 0. At that time, the waiting of the first series which is waiting to be released by executing M999 is released.

このように、特定コードカウンタは待ち合わせ処理を
行なうNCプログラム実行時に増減される。また、1つの
特定コードカウンタに対し、第1系列、第2系列どちら
からも増減される。
As described above, the specific code counter is increased or decreased when the NC program for performing the waiting process is executed. In addition, for one specific code counter, the number is increased or decreased from both the first stream and the second stream.

また、この特定コードカウンタは、カウンタの増減値
を変えることにより3系列の待ち合わせ制御にも適応で
きる。
This specific code counter can also be adapted to three-series queuing control by changing the increment / decrement value of the counter.

なお、M998カウンタ、M999カウンタの値は第1系列と
第2系列間で参照、更新されるため、これら系列に共通
のデータエリア(図示せず)に格納され、かつNC装置の
リセット操作で動作するリセット処理部(図示せず)に
より初期化される。
Since the values of the M998 counter and the M999 counter are referred to and updated between the first and second streams, they are stored in a data area (not shown) common to these streams and operated by a reset operation of the NC unit. The initialization is performed by a reset processing unit (not shown).

ここで、特定コードM999とM998が、第8図に示すよう
に、それぞれNC加工プログラム81,82中に指令され、第
2系列から第1系列へ軸乗り入れ制御を行なう場合の動
作を説明する。
Here, the specific code M999 and M998, as shown in FIG. 8, is commanded to 8 1, 8 in 2 NC machining program, respectively, illustrating the operation when the second line is performed axis fly control to the first series I do.

時刻t1にNC加工プログラム82中の特定コードM998がプ
ログラム実行部32で実行されると、待ち合わせ処理プロ
グラム92が実行される。すなわち、M999カウンタは0か
ら−1されて−1になり、また2回目フラグはオフであ
るため、M998カウンタは0に+1されて1となり、プロ
グラム実行部32はNC加工プログラム82の実行を中断して
第1系列からの「解除待ち」となる。時刻t2にNC加工プ
ログラム81中の特定コードM999がプログラム実行部31
実行されると、待ち合わせ処理プログラム91が実行され
る。すなわち、M998カウンタは1から−1されて0にな
り「解除待ち」になっている第2系列のプログラム実行
部32に「待ち解除」を通知するように第1系列のプログ
ラム実行部31に指示し、M999カウンタは−1に+2され
て1になり、プログラム実行部31はNC加工プログラム81
の実行を中断して第2系列からの「解除待ち」となる。
これにより、軸乗り入れ処理部5は第2系列の補間処理
部42から出力されたパルス指示Δx2を第1系列のX軸サ
ーボ制御部6x1に出力し、第2系列から第1系列への軸
乗り入れ制御が行なわれる。時刻t3に、NC加工プログラ
ム82中の特定コードM998がプログラム実行部32で再び実
行されると、待ち合わせ処理プログラム92が再び実行さ
れる。すなわち、M999カウンタは1から−1されて0に
なり、「解除待ち」になっている第1系列のプログラム
実行部31に「待ち解除」を通知するように第2系列のプ
ログラム実行部32に指示し、2回目のフラグはオンであ
るので2回目のフラグはオフにされる。これにより、第
2系列から第1系列への軸乗り入れ制御が終了する。
When a particular code M998 of NC machining program 8 2 at time t 1 is executed by the program execution unit 3 2, waiting processing program 9 2 is executed. That, M999 counter becomes -1 is -1 from 0, also since the second flag is OFF, M998 counter 0 +1 has been become 1, the program execution unit 3 2 executes the NC machining program 82 Is interrupted, and "waiting for release" from the first stream is set. When a particular code M999 of NC machining program 8 in 1 at time t 2 is executed by the program execution unit 3 1, queuing process program 9 1 is executed. That, M998 counter 1 -1 has been 0 to become the first sequence of program execution unit 3 to notify the "wait release" in which the program execution unit 3 of the second series to "release wait" 1 instructs, M999 counter becomes 1 is +2 to -1, the program execution unit 3 1 NC machining program 81
Is interrupted and "waiting for release" from the second system is reached.
Thus, the shaft served processor 5 outputs a pulse instruction [Delta] x 2 output from the interpolation processing section 4 2 of the second sequence to the X-axis servo control unit 6x 1 of the first series, the second series to the first-line Is performed. At time t 3, the specific code M998 of NC machining program 8 in 2 when executed again by the program execution unit 3 2, waiting processing program 9 2 is executed again. In other words, the M999 counter is decremented from 1 to 0 to become 0, and the second system program execution unit 3 is notified so as to notify the first system program execution unit 31 "waiting for cancellation" of "wait release". 2 and the second flag is on, so the second flag is turned off. Thus, the control of entering the axis from the second stream to the first stream is completed.

このように、第1系列のNC加工プログラム81中には特
定コードM999を指令し、第2系列のNC加工プログラム82
中に特定コードM998を2回指令することにより、第1系
列のNC加工プログラム81の実行中断が解除される。
Thus, the NC machining program 8 in 1 of the first sequence to command a specific code M999, NC machining program 82 of the second series
By commanding a specific code M998 2 times during the execution interruption NC machining program 81 of the first series is released.

また、第1系列から第2系列に軸の乗り入れをする場
合にも、第2系列のプログラム実行部32に第4図の待ち
合わせ処理プログラム、第1系列のプログラム実行部31
に第3図の待ち合わせ処理プログラムを入れ、第2系列
のNCプログラム82中の特定コードM999を指令し、第1系
列のNCプログラム81中に特定コードM998を2回指令する
ことにより可能である。以上は2系列の例であるが、こ
れを拡張し3つの系列間でも同様の制御ができる。
Further, even when the fly of the shaft from the first sequence to the second sequence, Figure 4 of the queuing process program to the program execution unit 3 of the second series, the program execution unit of the first series 3 1
Figure 3 put queuing processing programs, possible by a specific code M999 NC program 8 2 of the second series to command a specific code M998 commanding twice NC program 8 in 1 of the first sequence to the is there. The above is an example of two sequences, but the same control can be performed between three sequences by extending this.

次に、2つの系列から1つの系列に軸乗り入れ制御を
行なうために、すなわち第2系列の7x2軸を第1系列
で、第2系列の7z2軸を第3系列で制御するために、特
定コードM698,M699,M700が、第9図に示すように、それ
ぞれNC加工プログラム81,82,83中に指令され、プログラ
ム実行部31,32,33にそれぞれ第5図、第6図、第7図の
流れ図に示す処理を行なう待ち合わせ処理プログラム
91,92,93が含まれている例を説明する。
Next, in order to perform the control of entering the axis from two streams to one stream, that is, to control the 7x2 axis of the second stream by the first stream and the 7z2 axis of the second stream by the third stream, specific code M698, M699, M700, as shown in FIG. 9, is commanded in the NC machining program 81, 82, 8 3 respectively, the program execution unit 3 1, 3 2, 3 respectively FIG. 5 to 3 , A queuing processing program for performing the processing shown in the flowcharts of FIGS.
An example in which 9 1 , 9 2 , and 9 3 are included will be described.

プログラム実行部31はNC加工プログラム81中の特定コ
ードM698を実行すると、待ち合わせ処理プログラム91
実行する。待ち合わせ処理プログラム91は、第5図に示
すように、特定コードM699に対するM699カウンタ(初期
値は0)を−1し(ステップ31)、M699カウンタが0か
どうか調べ(ステップ32)、M699カウンタが0ならば、
「解除待ち」になっている第2系列のプログラム実行部
32に「待ち解除」を通知するよう第1系列のプログラム
実行部31に指示し(ステップ33)、M699カウンタが0で
ないならば何のもせず、次に特定コードM698の実行が2
回目かどうかを示す2回目フラグを調べ(ステップ3
4)、2回目フラグがオフ、すなわち特定コードM698の
実行が1回目ならば特定コードM698に対するM698カウン
タ(初期値は0)を+1し(ステップ35)、M698カウン
タが0かどうか調べ(ステップ36)、0ならば2回目フ
ラグをオンにして(ステップ38)、処理を終了し、0で
ないならば第2系列のプログラム実行部32から「待ち解
除」の通知がくるまでNC加工プログラム81の実行を中断
し(ステップ37)、ステップ34で2回目フラグがオンな
らば、2回目フラグをオフにして(ステップ39)、処理
を終了する。
The program execution unit 3 1 when executing the specific code M698 of 8 in 1 NC machining program and executes the queuing process program 9 1. Queuing processing program 9 1, as shown in FIG. 5, M699 counter for a specific code M699 (initial value is 0) -1 Mr. (step 31), examines whether the M699 counter 0 (step 32), M699 counter If is 0,
The second series of program execution units that are "waiting for release"
3 2 "wait release" instructs the program execution unit 3 of the first series so as to notify (step 33), what is also not if M699 counter is not zero, then execution of the specific code M698 is 2
Check the second flag indicating whether it is the first time (step 3
4) If the second flag is off, that is, if the execution of the specific code M698 is the first time, the M698 counter (initial value is 0) for the specific code M698 is incremented by 1 (step 35), and it is checked whether the M698 counter is 0 (step 36). ), check the 0 if the second flag (step 38), the processing is terminated, NC machining program 81 if not zero from the program execution unit 3 of the second series until a notice of "wait release" Is interrupted (step 37), and if the second flag is on in step 34, the second flag is turned off (step 39) and the process is terminated.

プログラム実行部32はNC加工プログラム82中の特定コ
ードM699を実行すると、待ち合わせ処理プログラム92
実行する。待ち合わせ処理プログラム92は、第6図に示
すように、第1、第3系列の特定コードM698,M700(初
期値0)に対するM698カウンタ、M700カウンタを−1し
(ステップ41,44)、M698,M700カウンタが0かどうか調
べ(ステップ42,45)、M698カウンタ、M700カウンタが
0ならば「解除待ち」になっている第1、第3系列のプ
ログラム実行部31,33に「待ち解除」を通知するように
第2系列のプログラム実行部32に指示し(ステップ43,4
6)、M689カウンタ、M700カウンタが0でないならば何
もせず、次にM699カウンタを+4し(ステップ47)、第
1、第3系列のプログラム実行部31または32から「待ち
解除」の通知がくるまでNC加工プログラム82の実行を中
断する(ステップ48)。
The program execution unit 3 2 when executing the specific code M699 in NC machining program 82 and executes the queuing process program 9 2. Queuing processing program 9 2, as shown in FIG. 6, the 1, M698 counter for a specific code M698, M700 (initial value 0) of the third series, -1 said the M700 counter (step 41 and 44), M698 , M700 counter it is checked whether or not 0 (step 42,45), M698 counter, the first 1 M700 counter is set to 0, the "release wait", the third program execution unit 3 1 of the series, 3 3 in the "wait release "instructs the program execution unit 3 of the second series to notify (step 43,4
6), M689 counter, nothing if M700 counter is not 0, then the M699 counter +4 Mr (Step 47), the first, the third series of program execution unit 3 1 or 3 2 of "wait release" It suspends execution of the NC machining program 82 until notification arrives (step 48).

プログラム実行部33はNC加工プログラム83中の特定コ
ードM700を実行すると、待ち合わせ処理プログラム93
実行する。待ち合わせ処理プログラム93は、第7図に示
すように、ステップ51〜59からなり、待ち合わせ処理プ
ログラム91(第5図)中のM698カウンタをM700カウンタ
に置き換えたものと同じである。
The program execution unit 3 3 Running the specific code M700 in NC machining program 8 3 executes the queuing process program 9 3. Queuing processing program 9 3, as shown in FIG. 7, made from step 51 to 59 are the same as those obtained by replacing the M698 counter queuing process program 9 1 (Figure 5) in the M700 counter.

なお、M698カウンタ、M699カウンタ、M700カウンタ
は、M998カウンタ、M999カウンタと同様に複数の系列
(第1〜第3系列間)間で参照、更新されるため、第1
〜第3系列に共通のデータエリア(図示せず)に格納さ
れ、かつNC装置のリセット操作で動作するリセット処理
部(図示せず)により初期化される。
The M698 counter, the M699 counter, and the M700 counter are referred to and updated between a plurality of streams (between the first to third streams) like the M998 counter and the M999 counter.
系列 are stored in a data area (not shown) common to the third series, and are initialized by a reset processing unit (not shown) that operates by a reset operation of the NC device.

次に、特定コードM698,M699,M700がそれぞれNC加工プ
ログラム81,82,83中に、第9図に示すように指令され、
第1系列と第3系列から第2系列へ軸乗り入れ制御を行
なう場合の動作を第10図のタイミング図を参照して説明
する。
Next, during a particular code M698, M699, M700 are NC machining program 8 respectively 1, 8 2, 8 3, are commanded as shown in FIG. 9,
The operation in the case where the control for entering the axis from the first system and the third system to the second system will be described with reference to the timing chart of FIG.

時刻t1にNC加工プログラム81中の特定コードM698がプ
ログラム実行部31で実行されると、待ち合わせ処理プロ
グラム91が実行される。すなわち、M699カウンタは0か
ら−1されて−1となり、2回目フラグはオフであるの
でM698カウンタは0に+1されて1となり、プログラム
実行部31はNC加工プログラム81の実行を中断して第2系
列から「解除待ち」となる。時刻t3にNC加工プログラム
83中の特定コードM700がプログラム実行部33で実行され
ると、待ち合わせ処理プログラム93が実行される。すな
わち、M699カウンタは−1から−1されて−2となり、
2回目フラグはオフであるのでM700カウンタは0に+1
されて1となり、プログラム実行部33はNC加工プログラ
ム83の実行を中断して第2系列からの「解除待ち」とな
る。時刻t3にNC加工プログラム82中の特定コードM699が
プログラム実行部32で実行されると、待ち合わせ処理プ
ログラム92が実行される。すなわち、M698カウンタとM7
00カウンタが1から−1されて0になり、第2系列のプ
ログラム実行部32は「解除待ち」になっている第1およ
び第3系列のプログラム実行部31,33に「待ち解除」を
通知し、M699カウンタは−2の+4されて2になりプロ
グラム実行部32はNC加工プログラム82の実行を中断して
第1系列または第3系列からの「解除待ち」となる。こ
れにより、軸乗り入れ処理部5は第1、第3系列の補間
処理部41、43から出力されたパルス指令Δx1,Δx3をそ
れぞれ第2系列のX軸サーボ制御部6x2、Z軸サーボ制
御部6z2に出力し、第1系列と第3系列から第2系列へ
の軸乗り入れ制御が行なわれる。時刻t4にNC加工プログ
ラム83中の特定コードM700がプログラム実行部33で実行
されると、待ち合わせ処理プログラム93が実行される。
すなわち、M699カウンタが2から−1されて1となり、
2回目フラグはオンであるので、2回目フラグはオフに
される。時刻t5にNC加工プログラム81中の特定コードM6
98がプログラム実行部31で実行されると、待ち合わせ処
理プログラム91が実行される。すなわち、M699カウンタ
が1から−1されて0となり、第1系列のプログラム実
行部31は「解除待ち」になっている第2系列のプログラ
ム実行部32に「待ち解除」を通知し、2回目フラグはオ
ンであるのでオフされる。これにより、第1系列と第3
系列から第2系列への軸乗り入れ制御が終了する。
When a particular code M698 of NC machining program 8 in 1 at time t 1 is executed by the program execution unit 3 1, queuing process program 9 1 is executed. That, M699 counter becomes -1 is -1 from 0, the second flag M698 counter 0 +1 has been become 1 because it is off, the program execution unit 3 1 interrupts the execution of the NC machining program 81 From the second system to "waiting for release". NC machining program in time t 3
When 8 3 in particular code M700 is executed by the program execution unit 3 3, queuing process program 9 3 is executed. That is, the M699 counter is decremented by -1 from -1 to -2,
Since the second flag is off, the M700 counter is set to 0 and +1
Has been become 1, the program execution unit 3 3 is "release wait" from the second line to interrupt the execution of the NC machining program 8 3. When a particular code M699 of NC machining program 8 2 at time t 3 is executed by the program execution unit 3 2, waiting processing program 9 2 is executed. That is, M698 counter and M7
00 counter becomes 0 is -1 1, the program execution unit 3 of the second series 1 first and third series of program execution unit 3 that is a "release wait" 3 3 "wait release notify ", M699 counter is" release wait "from +4 to the program execution unit becomes 2 3 2 the first series or third series interrupts the execution of the NC machining program 82 -2. As a result, the axis entry processing unit 5 converts the pulse commands Δx 1 , Δx 3 output from the first and third series of interpolation processing units 4 1 , 4 3 into the second series of X-axis servo control units 6x 2 , Z outputs to the axis servo controller 6z 2, axis fly control is performed from the first sequence and the third sequence to the second sequence. When a particular code M700 of NC machining program 8 3 at time t 4 is executed by the program execution unit 3 3, queuing process program 9 3 is executed.
That is, the M699 counter is decremented from 2 to 1 to 1,
Since the second flag is on, the second flag is turned off. Specific code of NC machining program 8 in 1 at time t 5 M6
98 when executed by the program execution unit 3 1, queuing process program 9 1 is executed. In other words, notifies the "wait release" from 1 M699 counter -1 has been 0, the program execution unit 3 of the first series in which the program execution unit 3 of the second series to "release wait" Since the second flag is on, it is turned off. Thereby, the first series and the third series
The axis entry control from the series to the second series ends.

このように、第2系列のNC加工プログラム82中には1
つの特定コードM699を指令し、第1、第3系列のNC加工
プログラム81,83中には特定コードM698,M700を2回指令
することにより、第2系列のNC加工プログラム82の実行
中断が解除される。
Thus, the NC machining program 8 2 of the second series 1
One of the specific code M699 commands, first, by commanding a specific code M698, M700 2 times in NC machining program 81, 82 3 of the third series, the execution of the NC machining program 82 of the second series The suspension is released.

以上の実施例は1系列と2系列の軸乗り入れの場合で
あるが、3系列以上の軸乗り入れ制御の場合も、同様の
待ち合わせ処理プログラムにより容易に行なうことがで
きる。また、特定コードとしてMコードを使用したが、
Gコードを使用してもよい。他系列に軸制御される系の
待ち解除は、他系列の特定コードの3回以上の実行でも
よい。
Although the above embodiment is for the case of one-line and two-line shaft entry control, the case of three-line or more axis entry control can be easily performed by a similar queuing processing program. Also, although the M code was used as the specific code,
A G code may be used. The waiting release of the system that is axis-controlled by another system may be executed three or more times by a specific code of another system.

[発明の効果] 以上説明したように本発明は、特定コードをNC加工プ
ログラム中に指令し、他系列にて軸制御される系列の待
ちを他系列の別の特定コードの複数回の実行で解除する
ことにより、軸制御される待ち側の系列は1つの特定コ
ードの指令だけでよいため、NC加工プログラムのプログ
ラムが容易となり、軸制御を行なう乗り入れ側の系列も
簡単な特定コードの指令だけで実現できる効果がある。
[Effects of the Invention] As described above, the present invention instructs a specific code in an NC machining program, and waits for a series controlled by another system by a plurality of executions of another specific code of another system. By canceling, the axis on the waiting side to be controlled by the axis needs only one specific code command, so the NC machining program can be easily programmed. The axis on the entry side that performs axis control requires only a simple specific code command. There is an effect that can be realized.

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

第1図は本発明の一実施例を示す多系列制御NC装置のブ
ロック図、第2図は軸乗り入れ制御の例を示すブロック
図、第3図、第4図はそれぞれ第2系列から第1系列へ
軸制御を乗り入れる場合の待ち合わせ処理プログラム91
と92の流れ図、第5図、第6図、第7図はそれぞれ第1
系列、第3系列から第2系列へ軸制御を乗り入れる場合
の待ち合わせ処理プログラム91,92,93の流れ図、第8図
は第2系列から第1系列へ軸制御を乗り入れる場合のNC
加工プログラム81と82のプログラミング例を示す図、第
9図は第1系列、第3系列から第2系列へ軸制御を乗り
入れる場合のNC加工プログラム81,82,83のプログラミン
グ例を示す図、第10図は第1系列、第3系列から第2系
列へ軸制御を乗り入れる場合のタイミング図、第11図は
第1系列と第2系列の間で通常の待ち合わせを行なう場
合の従来のNC加工プログラムのプログラミング例を示す
図、第12図は軸制御の乗り入れ時の待ち合わせを行なう
場合の従来のNC加工プログラムのプログラミング例を示
す図である。 1……不揮発性メモリ、 21,22,23……プログラム解析部、 31,32,33……プログラム実行部、 41,42,43……補間処理部、 5……軸乗り入れ処理部、 6x1,6x2,6x3……X軸サーボ制御部、 6z1,6z2,6z3……Z軸サーボ制御部、 7x1,7x2,7x3……X軸モータ、 7z1,7z2,7z3……Z軸モータ、 81,82,83……NC加工プログラム、 91,92,93……待ち合わせ処理プログラム、 11〜15,21〜29,31〜39,41〜48,51〜59……ステップ。
FIG. 1 is a block diagram of a multi-sequence control NC apparatus showing one embodiment of the present invention, FIG. 2 is a block diagram showing an example of axis entry control, and FIG. 3 and FIG. A queuing processing program when entering axis control into the series 9 1
When 9 2 of the flowchart, Figure 5, Figure 6, Figure 7 is first respectively
Series, queuing process program 9 1 when drive over the third series-axis control to the second series, 9 2, 9 3 flow diagram of FIG. 8 is NC when drive over the axis control from the second series to the first-line
Machining program 8 1 and 8 shows two programming examples, FIG. 9 is the first sequence, NC machining program 81 in the case of drive over the third series-axis control to the second series, 8 2, 8 3 programming examples FIG. 10 is a timing chart when the axis control is shifted from the first stream and the third stream to the second stream, and FIG. 11 is a timing chart when a normal waiting is performed between the first stream and the second stream. FIG. 12 is a diagram showing a programming example of a conventional NC machining program, and FIG. 12 is a diagram showing a programming example of a conventional NC machining program in a case of waiting when entering axis control. 1 Non-volatile memory, 2 1 , 2 2 , 2 3 … Program analysis unit, 3 1 , 3 2 , 3 3 … Program execution unit, 4 1 , 4 2 , 4 3 … Interpolation processing unit, 5 ...... axis fly processing unit, 6x 1, 6x 2, 6x 3 ...... X -axis servo control unit, 6z 1, 6z 2, 6z 3 ...... Z -axis servo control unit, 7x 1, 7x 2, 7x 3 ...... X axis motor, 7z 1, 7z 2, 7z 3 ...... Z-axis motor, 8 1, 8 2, 8 3 ...... NC machining program, 9 1, 9 2, 9 3 ...... queuing program, 11~15,21 ~ 29,31 ~ 39,41 ~ 48,51 ~ 59 ... step.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の系列のNC加工プログラムを同時に実
行できる多系列制御NC装置において、 第1の系列のNC加工プログラムと、第1の系列のNC加工
プログラムの実行を中断させ、その間に所定のプログラ
ムを実行する1つ以上の第2の系列のNC加工プログラム
中に指令された特定のコードの各々に対応して、これら
第1、第2の系列から共通に参照、更新される特定のコ
ードカウンタが設けられ、 第1の系列のプログラム実行部には、自系列の特定のコ
ードが実行されると、所定の規定によって増減される特
定のコードカウンタの値を特定コード実行中に参照・更
新し、第2の系列の特定のコードが既に実行されている
ことを特定コードカウンタの値が示していれば第2の系
列のプログラム実行部にNC加工プログラムの実行を再開
するように通知し、自系列のNC加工プログラムの実行を
中断させ、第2の系列の特定コードが未だ実行されてい
ないことを特定コードカウンタの値が示していれば、自
系列のNC加工プログラムの実行を中断させる待ち合わせ
処理プログラムが設けられ、 第2の系列のプログラム実行部には、自系列の特定コー
ドが実行されると、該特定コードの実行が1回目で、第
1の系列の特定コードが未だ実行されていないことを特
定コードカウンタの値が示していれば自系列のNC加工プ
ログラムの実行を中断させ、該特定コードの実行が1回
目で、第1の系列の特定コードが既に実行されているこ
とを特定コードカウンタの値が示していれば自系列のNC
加工プログラムの実行を続行させ、第2の系列の数が1
つで、該特定のコードの実行が2回目で第1の系列の特
定コードが既に実行されていることを特定コードカウン
タの値が示していれば第1の系列のプログラム実行部に
NC加工プログラムの実行を再開するように通知し、第2
の系列の数が2つ以上で、該特定コードの実行がn回目
で、自系列が2つ以上の第2の系列の中で1番最後にn
回目の該特定コードを実行し、第1の系列の特定コード
が既に実行されていることを特定コードカウンタの値が
示していれば、第1の系列のプログラム実行部にNC加工
プログラムの実行を再開するように通知する待ち合わせ
処理プログラムが設けられていることを特徴とする多系
列制御NC装置。
1. A multi-sequence control NC apparatus capable of simultaneously executing a plurality of series of NC machining programs, wherein the execution of the first series of NC machining programs and the execution of the first series of NC machining programs are interrupted, and a predetermined In response to each of the specific codes specified in the one or more second series of NC machining programs that execute the first program, the first and second series commonly refer to and update a specific code. A code counter is provided, and when the specific code of the own system is executed, the program execution unit of the first system refers to the value of the specific code counter which is increased or decreased by a predetermined rule during execution of the specific code. When the value of the specific code counter indicates that the specific code of the second sequence has already been executed, the program execution unit of the second sequence restarts the execution of the NC machining program. If the value of the specific code counter indicates that the second series of specific codes has not been executed, the execution of the own series of NC machining programs is interrupted. A queuing processing program to be interrupted is provided, and when the specific code of the own system is executed, the program execution unit of the second system executes the specific code for the first time and the specific code of the first system is not yet executed. If the value of the specific code counter indicates that it has not been executed, the execution of the own series of NC machining program is interrupted, and the execution of the specific code is performed for the first time, and the specific code of the first series is already executed. If the value of the specific code counter indicates that
The execution of the machining program is continued, and the number of the second
If the value of the specific code counter indicates that the execution of the specific code is the second time and the specific code of the first series has already been executed, the program execution unit of the first series is executed.
Notify to resume execution of NC machining program,
The number of the series is two or more, the execution of the specific code is the n-th time, and the own series is the last one among the two or more second series.
If the value of the specific code counter indicates that the specific code of the first series has already been executed, the execution of the NC machining program is performed by the program execution unit of the first series. A multi-sequence control NC device comprising a queuing processing program for notifying a restart.
JP2100399A 1990-04-18 1990-04-18 Multi-sequence control NC device Expired - Lifetime JP2932593B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2100399A JP2932593B2 (en) 1990-04-18 1990-04-18 Multi-sequence control NC device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2100399A JP2932593B2 (en) 1990-04-18 1990-04-18 Multi-sequence control NC device

Publications (2)

Publication Number Publication Date
JPH04607A JPH04607A (en) 1992-01-06
JP2932593B2 true JP2932593B2 (en) 1999-08-09

Family

ID=14272909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2100399A Expired - Lifetime JP2932593B2 (en) 1990-04-18 1990-04-18 Multi-sequence control NC device

Country Status (1)

Country Link
JP (1) JP2932593B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS602674U (en) * 1983-06-01 1985-01-10 ティーディーケイ株式会社 Storage box for magnetic tape cassettes

Also Published As

Publication number Publication date
JPH04607A (en) 1992-01-06

Similar Documents

Publication Publication Date Title
US20080103625A1 (en) Numerical controller with machining resume function
JPH01164280A (en) Acceleration or deceleration controlling system
US6880029B2 (en) Programmable controller
JP2932593B2 (en) Multi-sequence control NC device
JP2824921B2 (en) Multi-sequence control NC device
US5225989A (en) Apparatus and method for performing simultaneous control of control axes of a machine tool
JPH056213A (en) Method and device for controlling industrial robot
JPH07115278B2 (en) Control device for compound machine tools
EP0476154A1 (en) System for executing instruction of pc
JP3277947B2 (en) Speed control method of NC controller
US5027286A (en) Peripheral control device
WO2022244072A1 (en) Numerical control device and computer-readable storage medium
JPS599706A (en) Numerical controlling system
JPH0331909A (en) System for executing nc data
US7363527B2 (en) Error tolerant automation system and method for error handling in a real-time automation system
JPS60245002A (en) Skipping device for dowel
JPS60160406A (en) Control system of programmable controller
JPS6063605A (en) Numerical controller with composite skipping function
KR19990018437A (en) Multi robot control system and program
JP2875841B2 (en) Programmable controller
JP2023151731A (en) Control system, control method, and control program
JP3013619B2 (en) Programmable controller
JPH01295306A (en) Numerical controller
JPH0793015A (en) Numerical control unit
JPS63109507A (en) Numerical controller

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20070823

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20070823

Year of fee payment: 5

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20070823

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

Free format text: PAYMENT UNTIL: 20080823

Year of fee payment: 6

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

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20080823

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

Free format text: PAYMENT UNTIL: 20090823

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090823

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100823

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110823

Year of fee payment: 9

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20110823

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20120823

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

Free format text: PAYMENT UNTIL: 20120823

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130823

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250