JPH0237404A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH0237404A
JPH0237404A JP18685588A JP18685588A JPH0237404A JP H0237404 A JPH0237404 A JP H0237404A JP 18685588 A JP18685588 A JP 18685588A JP 18685588 A JP18685588 A JP 18685588A JP H0237404 A JPH0237404 A JP H0237404A
Authority
JP
Japan
Prior art keywords
machining program
block
count value
feed rate
machining
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
JP18685588A
Other languages
Japanese (ja)
Inventor
Toshihiro Niwa
俊広 丹羽
Kazuo Mizutani
水谷 和男
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP18685588A priority Critical patent/JPH0237404A/en
Publication of JPH0237404A publication Critical patent/JPH0237404A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は数値制御装置に関し、さらに詳しくは複数の加
工プログラムを同期して実行できる数値制御装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a numerical control device, and more particularly to a numerical control device capable of synchronously executing a plurality of machining programs.

[従来の技術] 第7図は同時かつ独立に加工プログラムをそれぞれ実行
できる数値制御装置のブロック図である。
[Prior Art] FIG. 7 is a block diagram of a numerical control device that can simultaneously and independently execute machining programs.

第7図において、(1a)、(1b)は第8図(a)(
b)に示した加工プログラムがそれぞれ穿孔されている
紙テープ、(2a)、(2b)はそれぞれ紙テープ(1
a)、(1b)の加工プログラムを解析する加工プログ
ラム解析装置、(5a)、(5b)はそれぞれ加工プロ
グラム解析装置(2a)、(2b)の解析結果に基づい
て、移動量を算出する移動量処理装置、(6a)、(e
b)、(6c)、(6d)は移動量処理装置(5a〉、
(5b)の算出結果に基づいて駆動されるモータである
。
In Figure 7, (1a) and (1b) are shown in Figure 8 (a) (
Paper tapes (2a) and (2b) are perforated with the processing programs shown in b), respectively.
a), (1b) is a machining program analysis device that analyzes the machining program; (5a), (5b) is a movement that calculates the amount of movement based on the analysis results of the machining program analysis device (2a), (2b), respectively; quantity processing device, (6a), (e
b), (6c), and (6d) are movement amount processing devices (5a);
This is a motor that is driven based on the calculation result of (5b).

第7図に示したように、従来の数値制御装置は系統1及
び系統2の2系統から構成されており、系統1のプログ
ラム及び系統2のプログラムを独立かつ同時に実行でき
る。即ち、加工プログラム解析装置(2a)及び(2b
)がそれぞれ加工プログラムを解析し、移動量処理装置
(5a)及び(5b)がそれぞれ加工プログラム解析装
置(2a)及び(2b)の解析結果に基づいて、モータ
(6a)〜(6d)をそれぞれ駆動制御するのである。
As shown in FIG. 7, the conventional numerical control device is composed of two systems, system 1 and system 2, and the program of system 1 and the program of system 2 can be executed independently and simultaneously. That is, the machining program analysis devices (2a) and (2b
) respectively analyze the machining program, and the movement amount processing devices (5a) and (5b) respectively control the motors (6a) to (6d) based on the analysis results of the machining program analyzers (2a) and (2b), respectively. It controls the drive.

この場合、系統1の所定のブロックと系統2の所定のブ
ロックとを同期して実行することがある。
In this case, a predetermined block of system 1 and a predetermined block of system 2 may be executed synchronously.

例えば、第8図(a)及び(b)に示した系統1の4番
目のブロックrN13 z200; J及び系統2の4
番目のブロックrN23 XO; Jを同時に実行する
ときは、第9図(a) 、(b)に示すような加工プロ
グラムを実行する。
For example, the fourth block rN13 z200 of system 1 shown in FIGS. 8(a) and (b);
When executing the th block rN23XO; J at the same time, a machining program as shown in FIGS.

第9図(a)  (b)の加工プログラムに示した「i
;」は同期命令である。この同期命令「!;」は同期命
令の次のブロックを同時に実行開始することを指示する
ものである。同期命令「!;」により、系統1の3番目
のブロックrNL2 X200 F2000. Jの実
行を終了しても、系統2の3番目のブロックrN22 
X300; Jの実行を終了するまでは、系統1の5番
目のブロックrN14 Z200. Jは実行されない
。系統2の3番目のブロックrN22 X300: J
の実行が終了すると、系統1の5番目のブロックrN1
4 z200. Jと系統2の5番目のブロックrN2
4 XO; Jとが同時に実行開始される。
“i” shown in the machining program in Figures 9(a) and (b)
;'' is a synchronous command. This synchronization command "!;" instructs to start executing the block following the synchronization command at the same time. Due to the synchronization command "!;", the third block rNL2 X200 F2000. Even if the execution of J is finished, the third block rN22 of system 2
X300; until the execution of J is finished, the fifth block rN14 Z200. J is not executed. 3rd block of lineage 2 rN22 X300: J
When the execution of is completed, the fifth block rN1 of system 1
4 z200. J and the fifth block rN2 of lineage 2
4 XO; and J start execution at the same time.

[発明が解決しようとする課題] しかし、同期命令「!:」は加工プログラムをシーケン
ス番号NIO、Nil 、・・・の昇順に実行(以下、
正行という)させたときは有効に作用するが、加工プロ
グラムをシーケンス番号の降順に実行(以下、逆行とい
う)させたときは無視されるので、加工プログラムの逆
行時には系統1と系統2との同期を図れないという問題
点があった。
[Problem to be solved by the invention] However, the synchronization command "!:" executes the machining program in ascending order of sequence numbers NIO, Nil, ... (hereinafter referred to as
It works effectively when the machining program is executed in the descending order of the sequence number (hereinafter referred to as the "reverse run"), but it is ignored when the machining program is executed in the descending order of sequence numbers (hereinafter referred to as "reverse run"). The problem was that it was not possible to

又、加工プログラムのチエツクに際しては、加工プログ
ラムを1ブロツクずつ実行する、いわゆるシングルブロ
ック運転をするが、加工プログラムで設定した送り速度
で動かすと、加工プログラムのチエツクができない場合
があるという問題点があった。
Furthermore, when checking the machining program, the machining program is executed one block at a time, so-called single block operation, but there is a problem that if the machining program is moved at the feed rate set in the machining program, it may not be possible to check the machining program. there were.

本発明は上記問題点を解決するためになされたもので、
加工プログラムの逆行時にも同期を図ることができると
ともに、送り速度を任意に設定できる数値制御装置を提
供することを目的とする。
The present invention has been made to solve the above problems,
It is an object of the present invention to provide a numerical control device that can achieve synchronization even when reversing a machining program and can arbitrarily set the feed rate.

[課題を解決するための手段] 本発明に係る数値制御装置は、複数の加工プログラムの
各ブロックでそれぞれ設定されている送り速度を所定の
送り速度に変換する送り速度変換手段と、加工プログラ
ムの進行方向が正行のときにカウントアツプし、加工プ
ログラムの進行方向が逆行のときにカウントダウンする
カウント手段と、加工プログラムの進行方向が正行のと
きに、各ブロックを実行したときにおけるカウント手段
のカウント値を記憶する記憶手段と、加工プログラムの
進行方向が逆行のときに、カウント手段のカウント値が
記憶手段の記憶しているカウント値に等しくなったとき
に、このカウント値に対応するブロックをそれぞれ実行
させる同期制御手段とを備えている。
[Means for Solving the Problems] A numerical control device according to the present invention includes a feed rate conversion means that converts the feed rate set in each block of a plurality of machining programs into a predetermined feed rate, and A counting means that counts up when the direction of progress is forward and counts down when the direction of progress of the machining program is backward, and a count value of the counting means when each block is executed when the direction of progress of the machining program is forward. and a memory means for storing, and when the progress direction of the machining program is reverse and the count value of the counting means becomes equal to the count value stored in the memory means, each block corresponding to this count value is executed. and a synchronization control means for

[作 用] 上記構成の数値制御装置は、加工プログラムの進行方向
が正行のときに、送り速度変換手段により変換された送
り速度で、加工プログラムを実行するとともに、記憶手
段が加工プログラムの各ブロックを実行するときのカウ
ント手段のカウント値を記憶しておく。
[Function] The numerical control device having the above configuration executes the machining program at the feed rate converted by the feed rate conversion means when the progress direction of the machining program is forward, and the storage means stores each block of the machining program. The count value of the counting means when executing is stored.

又、加工プログラムの進行方向が逆行のときに、カウン
ト手段のカウント値と記憶手段のカウント値が一致した
ときに、同期制御手段がそのカウント値に対応するブロ
ックをそれぞれ実行させる。
Further, when the processing program is running in the reverse direction and the count value of the counting means and the count value of the storage means match, the synchronization control means causes each block corresponding to the count value to be executed.

[実施例] 以下、本発明の一実施例を添付図面を参照して詳細に説
明する。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明の一実施例に係る数値制御装置のブロッ
ク図である。第1図において、(1a)、(tb)は第
9図(a) 、(b)に示した加工プログラムがそれぞ
れ穿孔されている紙テープ、(2a)、(2b)はそれ
ぞれ紙テープ(la)、<lb)の加工プログラムを解
析して、補間データを作成する加工プログラム解析装置
、(3a)、(3b)はそれぞれ加工プログラム解析装
置(2a)、(2b)から補間データを受は取るデータ
転送処理装置、(4a)、(4b)は補間データを読み
書きする補間データ記憶装置、(5a)、(5b)は補
間データに基づいて移動量を算出する移動量処理装置、
(6a)、(6b)、(8C)、(8d)はモータ、(
7)は送り速度を設定する手動送り速度ダイアル、(8
)は加工プログラムの正行又は逆行を選択する正行・逆
行スイッチ、(9)は加工プログラムの送り速度及び手
動送り速度ダイアルの送り速度に基づいて、実効送り速
度を算出する速度制御処理装置、(10)は系統1と系
統2との同期を図る同期制御処理装置である。
FIG. 1 is a block diagram of a numerical control device according to an embodiment of the present invention. In Fig. 1, (1a) and (tb) are paper tapes perforated with the processing programs shown in Figs. 9 (a) and (b), respectively, and (2a) and (2b) are paper tapes (la), respectively. (3a) and (3b) are data transfer devices that receive and receive interpolated data from the machining program analysis devices (2a) and (2b), respectively. a processing device; (4a) and (4b) are interpolation data storage devices that read and write interpolation data; (5a) and (5b) are movement amount processing devices that calculate a movement amount based on the interpolation data;
(6a), (6b), (8C), (8d) are motors, (
7) is a manual feed rate dial to set the feed rate, (8)
) is a forward/reverse switch that selects forward or backward movement of the machining program; (9) is a speed control processing device that calculates the effective feed rate based on the feed rate of the machining program and the feed rate of the manual feed rate dial; ) is a synchronous control processing device that synchronizes system 1 and system 2.

次に、第1図に示した数値制御装置の動作について、第
2図、第3図、第4図及び第5図を参照して説明する。
Next, the operation of the numerical control device shown in FIG. 1 will be explained with reference to FIGS. 2, 3, 4, and 5.

なお、第2図は速度制御処理装置(9)の動作を示すフ
ローチャート、第3図は加工プログラム解析装置(2a
)、(2b)及びデータ転送処理装置(3a)、(3b
)の動作を示すフローチャート、第4図は補間データの
説明図、第5図は同期制御処理装置(10)の動作を示
すフローチャート、第6図は系統1及び系統2のタイミ
ングチャートである。
In addition, FIG. 2 is a flowchart showing the operation of the speed control processing device (9), and FIG.
), (2b) and data transfer processing devices (3a), (3b
), FIG. 4 is an explanatory diagram of interpolation data, FIG. 5 is a flowchart showing the operation of the synchronous control processing device (10), and FIG. 6 is a timing chart of system 1 and system 2.

(1)ステップ821〜S24 手動送り速度ダイアル(7)により送り速度Aが入力さ
れるとともに(ステップ821 ) 、正行・逆行スイ
ッチク8)により正行又は逆行が入力されると(ステッ
プS22 ) 、速度処理制御装置(9)は系統1の1
番目のブロックの指令速度Bを入力するとともに(ステ
ップS23 ) 、系統2の1番目のブロック目の加工
プログラムの指令速度Cを入力する(ステップ524)
。この指令速度B及び指令速度Cは加工プログラム解析
装置(2a)及び(2b〉がそれぞれ紙テープ(1a)
及び(1b)から読み込んだものである。
(1) Steps 821 to S24 When feed rate A is input using the manual feed rate dial (7) (step 821), and forward or reverse is input using the forward/reverse switch 8) (step S22), the speed is Processing control device (9) is 1 of system 1
The command speed B of the 1st block is input (step S23), and the command speed C of the machining program for the 1st block of system 2 is input (step 524).
. The command speed B and command speed C are determined by the machining program analysis devices (2a) and (2b), respectively, using the paper tape (1a).
and (1b).

なお、プログラムによっては指令速度・をキーボード(
図示せず)等の入力装置によって入力する場合もある。
In addition, depending on the program, the command speed can be entered using the keyboard (
Input may also be made using an input device such as a device (not shown).

(2)ステップ325〜S26 速度処理制御装置(9)は系統1の実効送り速度りを算
出するとともに(ステップS25 ) 、系統2の実効
送り速度Eを算出する(ステップ828)。
(2) Steps 325 to S26 The speed processing control device (9) calculates the effective feed rate E of system 1 (step S25) and calculates the effective feed rate E of system 2 (step 828).

実効送り速度り及びEは、 D−(A/定数1)×B 及び E−(B/定数1)×C により算出される。The effective feed rate and E are: D-(A/constant 1)×B as well as E-(B/constant 1)×C Calculated by

(3)ステップ331〜334 加工プログラムを読み込んだ加工プログラム解析装置(
2a)、(2b)が補間データを作成するとともに、加
工プログラムの進行方向(正行又は逆行)をデータ転送
処理装置(3a)、(3b)に出力する(ステップS3
1 )。
(3) Steps 331 to 334 The machining program analysis device that has read the machining program (
2a) and (2b) create interpolation data and output the progress direction (forward or backward) of the machining program to the data transfer processing devices (3a) and (3b) (step S3
1).

データ転送処理装置(3a)、(3b)は加工プログラ
ムの進行方向が正行のときは(ステップ532)、補間
データ記憶装置(4a)、(4b)に補間データを記憶
させるとともに(ステップ833 ) 、この補間デー
タを移動量処理装置(5a)、(5b)に出力する。
When the progress direction of the machining program is forward (step 532), the data transfer processing devices (3a) and (3b) store interpolation data in the interpolation data storage devices (4a) and (4b) (step 833), This interpolated data is output to movement amount processing devices (5a) and (5b).

なお、補間データは第4図に示すように各ブロック毎に
作成され、補間モード(直線補間又は曲線補間)、始点
、終点、送り速度及びカウント値から構成されている。
Note that the interpolation data is created for each block as shown in FIG. 4, and is composed of an interpolation mode (linear interpolation or curved interpolation), a starting point, an ending point, a feed rate, and a count value.

又、カウント値とは各ブロックを実行するときを示すも
のであり、 (A/定数2)×tOn により算出される。ただし、t は正行・逆行スn イッチ(8)が正行又は逆行になっている時間である。
Further, the count value indicates when each block is executed, and is calculated by (A/constant 2)×tOn. However, t is the time during which the forward/reverse switch (8) is in the forward or reverse direction.

カウント値のカウントは同期制御処理装置(6)が行な
う。
The count value is counted by the synchronous control processing device (6).

加工プログラムの進行方向が正行のときは、第6図に示
すように系統1はカウント値「0」からr200Jまで
、1番目のブロックrN10 Go X100;J 、
カウント値r200 Jからr500 Jまで、2番目
のブo ツクrNll GI Zloo FlooO;
J 、7’7 ラント値r500Jからr700Jまで
、3番目のブロックrNL2 X200 P2O00,
J 、カウント値r70(14からr 1150Jまで
、4番目のブロックrN13 !;J、カウント値r 
1150Jからr 1350Jまで、5番目のブロック
rN14 Z200; J 、・・・ というように実
行される。
When the progress direction of the machining program is forward, as shown in FIG. 6, system 1 runs from count value "0" to r200J, the first block rN10 Go
Count value r200 J to r500 J, second book rNll GI Zloo FlooO;
J , 7'7 Runt value r500J to r700J, 3rd block rNL2 X200 P2O00,
J, count value r70 (from 14 to r 1150J, 4th block rN13!; J, count value r
From 1150J to r 1350J, the fifth block rN14 Z200; J, . . . is executed.

同様にして、系統2はカウント値「0」からr700J
まで、1番目のブo ツクr N20 GI X200
FLOOO;J 、カウント値r700Jからr800
 Jまで、2番目のブロックrN21 GO; J 、
カウント値「800」からr l100Jまで、3番目
のブロック「N22X300. J 、カウント値r 
l100Jからr 1150Jまで、4番目のブロック
rN23 !;J  カウント値r 1150J力)ら
r 1700Jまで、5番目のブロックrN24 XO
; J 、・・・ というように実行される。
Similarly, system 2 is r700J from the count value "0".
Until, the first book is N20 GI X200
FLOOO;J, count value r700J to r800
up to J, second block rN21 GO; J,
From count value "800" to r l100J, third block "N22X300.J, count value r
From l100J to r1150J, 4th block rN23! ;J count value r 1150J force) to r 1700J, 5th block rN24 XO
; J, . . . are executed as follows.

データ転送処理装置(3a)、(3b)は加工プログラ
ムの進行方向が逆行又は逆行後の正行のときは、加工プ
ログラムの進行方向が正行のときに既に補間データか作
成されているので(ステップS33参照)、補間データ
記憶装置(4a)、(4b)から補間データを読み出し
て(ステップS34 ) 、移動量処理装置(5a)、
(5b)に出力する。
The data transfer processing devices (3a) and (3b) have already created interpolated data when the machining program is running backwards or forwards after going backwards (step S33). ), reads the interpolated data from the interpolated data storage devices (4a) and (4b) (step S34), moves the amount processing device (5a),
(5b).

移動量処理装置(5a)、(5b)は速度制御処理装置
(9)から出力される実効送り速度り、E及び補間デー
タに基づいて、モータ(6a)〜(6d)を駆動する。
The movement amount processing devices (5a) and (5b) drive the motors (6a) to (6d) based on the effective feed rate E and interpolation data output from the speed control processing device (9).

このようにシングルブロック運転では加工プログラムを
1ブロツク毎に解析して、補間データを作成し、この補
間データを記憶するとともに、補間データに基づいてモ
ータ(6a)〜(6d)を駆動制御する。
In this manner, in the single block operation, the machining program is analyzed block by block to create interpolation data, which is stored, and the motors (6a) to (6d) are driven and controlled based on the interpolation data.

(4)ステップ851〜854 同期制御処理装置くlO)は系統1の5番目のブロック
rN142200; J及び系統2の5番目のブロック
rN24 XO; Jに対して同期命令「!」があるの
で、正行・逆行スイッチ(8)により(ステップ551
)、加工プログラムの進行方向を判断する(ステップ5
52)。
(4) Steps 851 to 854 The synchronous control processing unit (klO) executes the 5th block rN142200; J of system 1 and the 5th block rN24 XO; - By the reverse switch (8) (step 551
), determine the direction of progress of the machining program (step 5
52).

同期制御処理装置(10)は加工プログラムの進行方向
が正行のときは、カウンタ値をカウントアツプしくステ
ップS53 ) 、加工プログラムの進行方向が逆行の
ときは、カウンタ値をカウントダウンする(ステップ5
54)。
The synchronous control processing device (10) counts up the counter value when the direction of progress of the machining program is forward (step S53), and counts down the counter value when the direction of progress of the machining program is backward (step S53).
54).

(5)ステップ355〜S62 同期制御処理装置(10)は補間しているブロックの実
行が終了すると(ステップS55 ) 、加工プログラ
ムの進行方向に応じて(ステップ95B ) 、系′&
1の加工プログラム及び系統2の加工プログラムの同期
を図る。
(5) Steps 355 to S62 When the synchronous control processing device (10) finishes executing the block being interpolated (step S55), the synchronous control processing device (10) executes the system '&
The machining program of system 1 and the machining program of system 2 are synchronized.

即ち、同期制御処理装置(10)は加工プログラムの進
行方向が正行のときは、加工プログラム解析装置(2a
)、(2b)に対して次のブロックの解析を要求する(
ステップ557)。又、加工プログラムの進行方向が逆
行のときは、補間データ記憶装置(4a)、(4b)に
記憶されているカウンタ値と現在のカウンタ値とを比較
しくステップ958 ) 、記憶されているカウンタ値
が現在のカウンタ値より大きいか等しいときは(ステッ
プ859 ) 、データ転送処理装置(3a)、(3b
)に補間データの読み出しを要求する(ステップ560
)。さらに、加工プログラムの進行方向が逆行後の正行
のときは、補間データ記憶装置(4a)、(4b)に記
憶されているカウンタ値と現在のカウンタ値とを比較し
くステップ561)  記憶されているカウンタ値が現
在のカウンタ値より小さいか等しいときは(ステップ5
62)、補間データの読み出しを要求する(ステップ5
60)。
That is, when the progress direction of the machining program is normal, the synchronous control processing device (10) executes the machining program analysis device (2a).
), requests analysis of the next block for (2b) (
Step 557). Further, when the progress direction of the machining program is backward, the counter values stored in the interpolation data storage devices (4a) and (4b) are compared with the current counter value (step 958), and the stored counter value is is greater than or equal to the current counter value (step 859), the data transfer processing devices (3a) and (3b
) to read interpolated data (step 560
). Furthermore, when the progress direction of the machining program is forward after backward, the counter value stored in the interpolation data storage devices (4a) and (4b) is compared with the current counter value (step 561). If the counter value is less than or equal to the current counter value (step 5
62), requests reading of interpolated data (step 5
60).

移動量処理装置(5a)及び(5b)は同期制御処理装
置(10)の同期制御により、系統1の5番目のブロッ
クrN14 z200: J及び系統2の5番目のブロ
ックrN24 xo; Jをともにカウント値r 11
50Jから実行開始する。
The movement amount processing devices (5a) and (5b) both count the fifth block rN14 z200: J of system 1 and the fifth block rN24 xo; J of system 2 under the synchronous control of the synchronous control processing device (10). value r 11
Execution starts from 50J.

この場合、加工プログラムの進行方向が逆行又は逆行後
の正行であっても、カウント値に従って第6図のパター
ンを右から左に進むことになる。
In this case, even if the machining program is running backwards or forwards after going backwards, the pattern shown in FIG. 6 will proceed from right to left according to the count value.

(6)ステップ3133 同期制御処理装置(10)は全ての系統の処理が終了す
るまで、ステップ354〜S[i2を繰り返し実行する
。
(6) Step 3133 The synchronous control processing device (10) repeatedly executes steps 354 to S[i2 until processing of all systems is completed.

[発明の効果] 以上説明したように本発明によれば、加工プログラムの
進行方向が正行のときに、各ブロックが実行されるとき
のカウント手段のカウント値を記憶しておき、加工プロ
グラムの進行方向が逆行のときには、送り速度変換手段
により設定された送り速度で動かすとともに、カウント
手段のカウント値と記憶手段の記憶しているカウント値
とが等しくなったときに、同期制御手段がカウント値に
対応するブロックをそれぞれ実行させるようにしたので
、加工プログラムの逆行時にも、各加工プログラムの同
期を図れる数値制御装置が得られるという効果を奏する
。
[Effects of the Invention] As explained above, according to the present invention, when the progress direction of the machining program is forward, the count value of the counting means when each block is executed is stored, and the progress of the machining program is When the direction is reverse, the movement is performed at the feed rate set by the feed rate conversion means, and when the count value of the counting means and the count value stored in the storage means become equal, the synchronization control means changes the count value to Since the corresponding blocks are respectively executed, it is possible to obtain a numerical control device that can synchronize each machining program even when the machining program runs backwards.

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

第1図は本発明の一実施例に係る数値制御装置のブロッ
ク図、第2図は第1図に示した速度制御処理装置の動作
を示すフローチャート、第3図は第1図に示した加工プ
ログラム解析装置及びデータ転送処理装置の動作を示す
フローチャート、第4図は補間データの説明図、第5図
は第1図に示した同期制御処理装置の動作を示すフロー
チャート、第6図は系統1及び系統2の加工プログラム
が実行されるタイミングチャート、第7図は従来の数値
制御装置のブロック図、第8図及び第9図は加工プログ
ラムの説明図である。 各図中、Las lb・・・紙テープ、2a、 2b・
・・加工プログラム解析装置、3a、3b・・・データ
転送処理装置、4a、 4b・・・補間データ記憶装置
、5a、 5b・・・移動量処理装置、Gas 6b、
 6c、 8d・・・モータ、7・・・手動送り速度ダ
イアル、8・・・正行・逆行スイッチ、9・・・速度制
御処理装置、10・・・同期制御処理装置。 なお、各図中同一符号は同−又は相当部分を示すもので
ある。
FIG. 1 is a block diagram of a numerical control device according to an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the speed control processing device shown in FIG. 1, and FIG. 3 is a processing process shown in FIG. Flowchart showing the operation of the program analysis device and data transfer processing device, FIG. 4 is an explanatory diagram of interpolation data, FIG. 5 is a flowchart showing the operation of the synchronous control processing device shown in FIG. 1, and FIG. 7 is a block diagram of a conventional numerical control device, and FIGS. 8 and 9 are explanatory diagrams of the machining program. In each figure, Las lb...Paper tape, 2a, 2b.
...Machining program analysis device, 3a, 3b...Data transfer processing device, 4a, 4b...Interpolation data storage device, 5a, 5b...Movement amount processing device, Gas 6b,
6c, 8d...Motor, 7...Manual feed speed dial, 8...Forward/reverse switch, 9...Speed control processing device, 10...Synchronization control processing device. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] それぞれ複数のブロックから構成されている複数の加工
プログラムを、同時かつ独立に実行する数値制御装置に
おいて、前記複数の加工プログラムの各ブロックでそれ
ぞれ設定されている送り速度を、所定の送り速度に変換
する送り速度変換手段と、前記加工プログラムの進行方
向が正行のときに、カウントアップし、該加工プログラ
ムの進行方向が逆行のときにカウントダウンするカウン
ト手段と、前記加工プログラムの進行方向が正行のとき
に、各ブロックを実行したときの前記カウント手段のカ
ウント値を記憶する記憶手段と、前記加工プログラムの
進行方向が逆行のときに、前記カウント手段のカウント
値が、前記記憶手段の記憶しているカウント値に等しく
なったときに、該カウント値に対応するブロックをそれ
ぞれ実行させる同期制御手段とを備えたことを特徴とす
る数値制御装置。
In a numerical control device that simultaneously and independently executes a plurality of machining programs each consisting of a plurality of blocks, the feed rate set in each block of the plurality of machining programs is converted into a predetermined feed rate. a feed rate converting means for counting up when the machining program is running in the forward direction, and counting down when the machining program is running in the reverse direction; a storage means for storing the count value of the counting means when each block is executed; and a storage means for storing the count value of the counting means when the processing program is running in a reverse direction; 1. A numerical control device comprising: synchronization control means for executing each block corresponding to a count value when the count value becomes equal to the count value.
JP18685588A 1988-07-28 1988-07-28 Numerical controller Pending JPH0237404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18685588A JPH0237404A (en) 1988-07-28 1988-07-28 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18685588A JPH0237404A (en) 1988-07-28 1988-07-28 Numerical controller

Publications (1)

Publication Number Publication Date
JPH0237404A true JPH0237404A (en) 1990-02-07

Family

ID=16195833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18685588A Pending JPH0237404A (en) 1988-07-28 1988-07-28 Numerical controller

Country Status (1)

Country Link
JP (1) JPH0237404A (en)

Similar Documents

Publication Publication Date Title
EP0829804A3 (en) Synchronous semiconductor memory device having macro command storage and execution method therefor
JPS62117001A (en) Programmable sequence controller input/output processing method
JPH01113841A (en) Multi-task debugging mechanism
JPH02282837A (en) Instruction tracer
JPH0261721A (en) Buffer memory controller
JPS5854465A (en) Detecting system for final block of magnetic tape
JPH08329034A (en) Analog data reading circuit by microcomputer
Edwards Jr Evaluation and performance of computers: interaction of hardware and software parameters in tape operations
JPH02195448A (en) Device for tracing instruction
JPS6154535A (en) Arithmetic circuit for maximum and minimum values
JPS6241325B2 (en)
JPH03209542A (en) System and device for automatic production of interlocking test data on communication control program
JPH03198104A (en) Numerical controller
JPS61253526A (en) Automatic executing processor for interactive program
JPS6341950A (en) Branch instruction execution measurement controlling system
JPH05282395A (en) Bidirectional pin input/output switching method for hardware simulator
JPH01133268A (en) Disk controller
JPH0115902B2 (en)
JPS62286134A (en) Tracer system
JPS6270951A (en) Memory system for information hysteresis
JPH053636B2 (en)
JPH03137869A (en) Magnetic tape data recording system
JPH01283602A (en) sequence controller
JPS61141021A (en) Machine cycle information setting method
JPH058646U (en) Memory device