JPS6381509A - Numerical controller provided with parallel operation function - Google Patents

Numerical controller provided with parallel operation function

Info

Publication number
JPS6381509A
JPS6381509A JP22739186A JP22739186A JPS6381509A JP S6381509 A JPS6381509 A JP S6381509A JP 22739186 A JP22739186 A JP 22739186A JP 22739186 A JP22739186 A JP 22739186A JP S6381509 A JPS6381509 A JP S6381509A
Authority
JP
Japan
Prior art keywords
data
priority
processing
unit
parallel
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
JP22739186A
Other languages
Japanese (ja)
Other versions
JPH0690646B2 (en
Inventor
Takao Yoneda
米田 孝夫
▲榊▼原 やすじ
Yasuji Sakakibara
Naoki Arimoto
有元 直樹
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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki 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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP61227391A priority Critical patent/JPH0690646B2/en
Publication of JPS6381509A publication Critical patent/JPS6381509A/en
Publication of JPH0690646B2 publication Critical patent/JPH0690646B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To facilitate the design of NC data for parallel processing by varying the priority of the processing depending on the NC data in executing the processing based on plural NC data in parallel. CONSTITUTION:A priority storage means storing a priority data deciding the priority of processing of plural NC data, a priority change means changing the priority data stored in the priority storage means, and a sequence control means controlling the order of execution of the NC data based on the priority data stored in the priority storage means are provided. Thus, the priority of the NC data in the parallel processing is changed freely. For example, the presence or absence of processing request is decided in order from the unit having higher priority set by a task switch 323 and when a processing request exists, the processing to the unit is executed thereby allowing a main CPU 31 to place the priority for the unit having higher priority at all times.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、たとえば工具修正処理と工作物の加工処理の
ように異なるタスクを並行して実行できる数値制御装置
に関する。
The present invention relates to a numerical control device that can perform different tasks in parallel, such as tool modification processing and workpiece machining processing.

【従来技術】[Prior art]

従来、数値制御研削盤には工具修正装置の制御軸を数値
制御し、その数値制御と加工に関する制御軸の数値1シ
リ御とをリアルタイムで並行に処理するものが知られて
いる(特開昭58−186561号公報)。この研削盤
は工具修正装置の制御軸に対しパルス分配を行うパルス
分配回路と工具、テーブルなどの送り軸に対してパルス
分配を行うパルス分配回路とを独立に有し、1つのcP
Uにてその2つのパルス分配回路を並行にリアルタイム
で制マ卸している。 この研削盤では工具修正を制御するために修正用NCデ
ータが用いられ、工作物の加工処理を制御するために加
工用NCデータが用いられる。この加工用NCデータ中
には、たとえば研削工程の終了後、工具の早送り後退を
指令するデータブロックの前に、修正用NCデータの実
行を起動する起動データがプログラムされている。そし
て、加工用NCデータが順次実行されて工作物の加工処
理が進行し、ある加工工程の終了後に上記起動データが
実行されると修正用NCデータが起動される。 CPUは上記のパルス分配回路に位置決めデータを出力
するとパルス分配が完了するまで待ち状態となるので、
その待ち状態を利用して加工用NCデータと修正用NC
データによる処理を並行に実行している。
Conventionally, a numerically controlled grinding machine is known that numerically controls the control axis of a tool correction device and processes the numerical control and the numerical one-series control of the control axis related to machining in parallel in real time. 58-186561). This grinding machine has an independent pulse distribution circuit that distributes pulses to the control axis of the tool correction device and a pulse distribution circuit that distributes pulses to the feed axis of tools, tables, etc., and has one cP.
U controls the two pulse distribution circuits in parallel in real time. In this grinding machine, correction NC data is used to control tool correction, and processing NC data is used to control processing of a workpiece. In this machining NC data, for example, after the grinding process is finished, starting data for starting the execution of the correction NC data is programmed before a data block that instructs the tool to move rapidly back. Then, the machining NC data are sequentially executed to progress the machining process of the workpiece, and when the activation data is executed after a certain machining process is completed, the correction NC data is activated. When the CPU outputs the positioning data to the above-mentioned pulse distribution circuit, it enters a waiting state until the pulse distribution is completed.
Using the waiting state, NC data for processing and NC for correction
Processing with data is performed in parallel.

【発明が解決しようとする問題点】[Problems to be solved by the invention]

上記の並行処理は、1つのNCデータを実行している時
の待ち時間を利用して他のNCデータを実行するもので
ある。このため、NCデータには実行の優先度が予め定
められており、あるNCデータのある処理過程において
待ち時間が生じると、次にfR先度の高い他のNCデー
タが実行される。 そして、元のNCデータの元の処理過程での待ち状態が
解消されると、直ちに他のNCデータの処理が中断され
その元の処理過程が再開される。 たとえば、上述した加工用NCデータと修正用NCデー
タとでは、加工処理の方が重要とされるため、前者の方
が後者よりも優先度が高く設定されている。したがって
、工具の修正中にたとえば工具送りのパルス分配が完了
すると、直ちに元の加工用NCデータによる処理が再開
され工具の修正処理は中断される。また加工用NCデー
タによる処理に待ち時間が生じると、工具の修正処理が
再開されるというように、工具の修正処理は途切れ途切
れの処理となる。このため、工具の修正面が滑らかに形
成されないという問題がある。 そして、従来の数値制御研削盤は上記の優先度をNCデ
ータにより自由に変化させる機能がないため、上記のよ
うに優先度が固定されていることから生じる並行処理の
欠点を解決することができなかった。 本発明は、上記の問題点を解決するために成されたもの
であり、その目的とするところは、並行処理におけるN
Cデータの優先度を自由に変化させるようにすることで
ある。
The above parallel processing is to execute other NC data using the waiting time when one NC data is being executed. For this reason, the priority of execution is determined in advance for NC data, and if a waiting time occurs in a certain processing process of certain NC data, other NC data with the next highest fR priority is executed. When the waiting state in the original processing process of the original NC data is eliminated, the processing of other NC data is immediately interrupted and the original processing process is resumed. For example, between the processing NC data and the correction NC data described above, the processing is considered more important, so the former is set to have a higher priority than the latter. Therefore, when, for example, pulse distribution for tool feed is completed during tool correction, processing based on the original machining NC data is immediately resumed and the tool correction processing is interrupted. Further, if a waiting time occurs in the processing using the machining NC data, the tool correction process is restarted, so that the tool correction process becomes an interrupted process. Therefore, there is a problem that the repair surface of the tool is not formed smoothly. Conventional numerically controlled grinding machines do not have a function to freely change the above-mentioned priorities using NC data, so it is not possible to solve the drawbacks of parallel processing caused by the above-mentioned fixed priorities. There wasn't. The present invention has been made in order to solve the above problems, and its purpose is to reduce N in parallel processing.
The purpose is to freely change the priority of C data.

【問題点を解決するための手段】[Means to solve the problem]

上記問題点を解決するための発明の構成は、NCデータ
を解読してそれに応じた処理を行う1つの処理装置によ
り、複数のNCデータに基づく処理を並行に行う数値制
御装置において、前記複数のNCデータの処理の優先度
を決定する優先度データを記憶する優先度記憶手段と、
前記NCデータに基づき前記優先度記憶手段に記憶され
ている優先度データを変更する優先度変更手段と、前記
優先度記憶手段に記憶されている優先度データに基づき
前記NCデータの実行の順序を制御する順序制御手段と
を設けたことである。
The structure of the invention for solving the above problem is that in a numerical control device that performs processing based on a plurality of NC data in parallel using one processing device that decodes the NC data and performs processing according to the processing, the plurality of priority storage means for storing priority data that determines the priority of processing the NC data;
priority changing means for changing the priority data stored in the priority storage means based on the NC data; and a priority change means for changing the priority data stored in the priority storage means based on the priority data stored in the priority storage means; This is because a sequence control means for controlling the sequence is provided.

【実施例】【Example】

以下、本発明を具体的な実施例に基づいて説明する。第
1図は数値制御研削盤を示した構成図である。10は数
値制御研削盤のベッドで、このベッド10上には螺子送
り機構を介してサーボモータ16により駆動されるテー
ブル11が主軸軸線手 に弱行なZ軸方向に摺動可能に配設されている。 テーブル11上には主軸13を軸架した主軸台12が配
設され、その主軸13はサーボモータ14により回転さ
れる。また、テーブル11上、右端には心押台15が載
置され、心押台15のセンタ19と主軸13のセンタ1
7とによってカムシャフトから成る工作物Kが挟持され
ている。工作物には主軸13に突設された位置決めピン
18に嵌合し、工作物にの回転位相は主軸13の回転位
相に一致している。 ベッド10の後方には工作物に側に向かって進退可能な
工具台20が案内され、工具台20にはモータ21によ
って回転駆動される砥石車Gが支承されている。この工
具台20は、回路の送り螺子を介してサーボモータ23
に連結され、サーボモータ23の正逆転により前進後退
される。 一方、工具台20の後部には、修正工具61を有し、そ
れと砥石車Gとの相対的位置関係を変化させることので
きる工具修正装置60が載置されている。修正工具61
はサーボモータ63により砥石車Gへの切込み、即ちU
軸方向の送りが制御され、サーボモータ64により砥石
車Gの研削面に並行、即ちW軸方向の送りが制御される
。 ドライブユニット50.51.52は数値制御装置30
から指令パルスを入力して、それぞれサーボモータ23
.14.16を駆動する回路である。また、ドライブユ
ニット53.54はサーボモータ63.64を駆動する
回路である。 数値制御装置30は主として制御軸の回転を数値制御し
て、工作物にの研削加工と砥石車Gの修正を制御する装
置である。その数値制御装置30には、加工用NCデー
タや修正用NCデータ等を入力するテープリーダ42と
加工処理の開始指令等の制御信号を与える制御盤43が
接続されている。 数値制御装置30は第2図に示すように、研削盤を制御
するためのメインCPU31と制御プログラムを記憶し
たROM 33と入力データ等を記憶するRAM32と
入出力インタフェース34とで主として構成されている
。RAM32上には加工用NCデータを記憶する加工用
NCデータ領域321と修正用NCデータを記憶する修
正用NCデータ領域322と優先ユニットを設定するタ
スクスイッチ323が形成されている。数値制御装置3
0はその他サーボモータ23.14.16の駆動系とし
てドライブCPU I 36とRAM35とパルス分配
回路37から成るユニット八と、サーボモータ63.6
4の駆動系としてRAM38、ドライブCPUn39と
パルス分配回路40から戊るユニッ)Bが設けられてい
る。RAM35はメインCPLI31から砥石車G、テ
ーブル11、主軸13の位置決めデータを入力する記憶
装置である。また、RAM38はメインCPU31から
修正工具61の位置決めデータを入力する記憶装置であ
る。ドライブCPUl36は加工に関する制御軸の送り
に関しスローアップ、スローダウン、目標点の補間等の
演算を行い補間点の位置決めデータを定周期で出力する
装置であり、パルス分配回路37はパルス分配の後、移
動指令パルスを各ドライブユニット50.51.52に
出力する回路である。一方、ドライブCPLIII39
は工具修正に関する制御軸に対し上記の作用と同様な作
用を行う装置である。 次に作用を説明する。 メインCPU31は第3図のフローチャートに従って処
理を行う。本プログラムはタイマインターバル割り込み
により一定周期で起動される。ステップ100〜ステツ
プ108の一連の処理により発明の構成要素の1つであ
る順序制御手段の機能が達成される。以下、加工用NC
データはNCデータ八へして、修正用NCデータはNC
データBとして参照する。初期状態においてタスクスイ
ッチ323には0が設定されており、ユニッ)Aに対す
る処理がユニツ)Bに対する処理より優先される。 まず、ステップ100でタスクスイッチ323の内容が
調べられ、ユニッI−Bが優先状態か否かが判定される
。ユニツl−Bが優先状態の場合にはステップ102へ
移行してユニットBからの処理要求が有るか否かが判定
される。処理要求が有る状態であれば、ステップ120
へ移行してNCデータBに関する処理が実行される。ま
た、ステップ102でユニッ)Bからの処理要求が無い
状態と判定された場合には、ステップ104へ移行して
ユニットΔからの処理要求が有るか否かが判定される。 処理要求が有れば、ステップ110へ移行してNCデー
タAに関する処理が実行される。 また、ユニッ)Aからの処理要求も無ければ、本プログ
ラムを終了する。一方、ステップ100の判定において
、ユニッl−Bに対する処理が優先状態に無い、即ちユ
ニッl−Aに対する処理が優先状態にあると、ステップ
106へ移行してユニット八からの処理要求が有る状態
か否かが判定され、処理要求が有ると判定された場合に
は、ステップ110へ移行してNCデータAに関する処
理が実行される。また、ユニッ)Aからの処理要求が無
い場合には、ステップ108へ移行してユニットBから
の処理要求が有るか否かが判定される。処理要求が有れ
ばステップ120へ移行し、NCデータBに関する処理
が実行され、処理要求が無い場合には本プログラムを終
了する。結局、上記の判定処理により、タスクスイッチ
323に設定されている優先度の高いユニットの方から
順に処理要求の有無が判定され、処理要求が有ればその
ユニットに対する処理を実行しているので、メインCP
U31の各ユニットに対する処理は、優先度の高い方が
常に優先される。 タスクスイッチ323が0に設定されていると、ユニッ
)Aの優先度の方が高い。この状態で、ユニッ)Aの方
から先に処理要求が出力されると、ステップ110以下
が実行される。まず、NCデータΔからデータが1ブロ
ック読み出される(110)。次にそのブロックデータ
はデコードされ(112)、データエンドか否がか判定
される(114)。データエンドであれば、プログラム
は終了するが、データエンドでない場合にはステップ1
16へ移行して、読み出されたデータに従って目標の位
置に制御軸を位置決めするための分配パルス数、速度等
の演算が行われる(116)。 この演算結果である位置決めデータは、ユニットAに出
力されて(118)、プログラムは終了する。ユニッ)
Aがパルス分配処理を完了して目標位置への位置決めが
完了されるまで、NCデータAの次のデータのデコード
は行われない。パルス分配が完了して、ユニッ)Aから
処理要求が出力されると、上記のステップ110〜11
8が実行される。 ユニットAから処理要求が出力されるまでは、ユニット
Bの方から処理要求が有れば、ユニー/ )已に対する
処理が実行される。ユニッ)Bからの処理要求が有ると
、ステップ108の判定がY[!Sとなり、ステップ1
20以下が実行される。まず、NCデータBのデータが
読み出され(120)、デコードされる(122)。そ
して、ステップ124の判定でデータエンドと判定され
た場合には、プログラムの実行は終了されるが、データ
エンドでない場合には、ステップ126、ステップ13
0の優先ユニットの切換を制御するコードが有るか否か
が判定される。無い場合には、ステップ134以下が実
行され、ステップ116と同様に指令された目標位置へ
の位置決めデータが演算され(134)、そのデータは
ユニットBに出力され(136)、本プログラムを終了
する。 このような処理により、ユニットAに対する処理を優先
して、ユニットAとユニット已によるパルス分配を並行
に実行できる。 ところで、上記のようにユニットAに対する処理が優先
されると、ユニッ)Aからの処理要求のタイミングによ
っては、ユニッ)Bからの処理要求の受理が遅延される
。したがって、たとえば砥石車の円筒研削面の修正指令
ブロックとそのRを有した肩部の修正指令ブロックのよ
うに、NCデータBのデータブロックで連続して処理さ
れる必要のあるブロックでは、処理が中断されないよう
に優先ユニットが切換られる必要がある。このために、
NGデータBのうち(優先して処理する必要がある一連
のデータブロックの前に命令コードrG72Jと、その
一連のデータブロックの後に命令コードrG73Jが挿
入される。rG72Jコードはユニッ)Bを優先ユニッ
トとし、rG73」コードはユニッ)Bの優先を解除し
て優先ユニットをユニットAとするものである。 rG72Jコードが有るが否かはステップ126で判定
され、そのコードが有る場合にはステップ128におい
て、タスクスイッチ323に1が設定され、優先ユニッ
トはユニット已に設定される。また、rG73Jコード
が有るか否かはステップ130で判定され、そのコード
が有る場合にはステップ132において、タスクスイッ
チ323に0が設定され、優先ユニットは初期状態のユ
ニットAに設定される。 ステップ128でユニットBが優先ユニットに設定され
ると、このプログラムの次の制御サイクルのステップ1
00の判定がYESとなり、ユニットBの方の処理要求
が有るか否かが先に判定され、処理要求があればユニッ
ト八に対する処理よりも先に処理されることになる。し
たがって、rG72」コードとrG73Jコードで挟ま
れたデータブロックの処理は中断されることなく実行さ
れる。 尚、上記の並行処理すべきNCデータの数は2つに限定
されない。また、複数のNCデータも加工用NCデータ
と修正用NCデータとに限定されるものではない。
The present invention will be described below based on specific examples. FIG. 1 is a configuration diagram showing a numerically controlled grinding machine. 10 is a bed of a numerically controlled grinding machine, and on this bed 10, a table 11 driven by a servo motor 16 via a screw feed mechanism is arranged so as to be slidable in the direction of the Z-axis, which is parallel to the spindle axis. ing. A headstock 12 having a main spindle 13 mounted thereon is disposed on the table 11, and the main spindle 13 is rotated by a servo motor 14. Further, a tailstock 15 is placed on the right end of the table 11, and the center 19 of the tailstock 15 and the center 1 of the main spindle 13 are
A workpiece K consisting of a camshaft is held between the two. A positioning pin 18 protruding from the main shaft 13 is fitted into the workpiece, and the rotational phase of the workpiece matches the rotational phase of the main shaft 13. A tool stand 20 that can move forward and backward toward the workpiece is guided behind the bed 10, and a grinding wheel G that is rotationally driven by a motor 21 is supported on the tool stand 20. This tool stand 20 is connected to a servo motor 23 via a feed screw of the circuit.
The servo motor 23 is connected to and moved forward and backward by forward and reverse rotation of the servo motor 23. On the other hand, a tool correction device 60 having a correction tool 61 and capable of changing the relative positional relationship between the tool and the grinding wheel G is mounted at the rear of the tool stand 20. Correction tool 61
is the cutting into the grinding wheel G by the servo motor 63, that is, U
The feed in the axial direction is controlled, and the feed parallel to the grinding surface of the grinding wheel G, that is, in the W-axis direction, is controlled by the servo motor 64. Drive units 50, 51, 52 are numerical control devices 30
command pulses are input from the respective servo motors 23
.. This is a circuit that drives 14.16. Further, drive units 53 and 54 are circuits that drive servo motors 63 and 64. The numerical control device 30 is a device that primarily numerically controls the rotation of a control shaft to control grinding of a workpiece and correction of the grinding wheel G. Connected to the numerical control device 30 are a tape reader 42 for inputting NC data for machining, NC data for correction, etc., and a control panel 43 for supplying control signals such as commands to start machining processing. As shown in FIG. 2, the numerical control device 30 is mainly composed of a main CPU 31 for controlling the grinding machine, a ROM 33 that stores a control program, a RAM 32 that stores input data, etc., and an input/output interface 34. . On the RAM 32, a processing NC data area 321 for storing processing NC data, a correction NC data area 322 for storing correction NC data, and a task switch 323 for setting a priority unit are formed. Numerical control device 3
0 is a unit 8 consisting of a drive CPU I 36, a RAM 35, and a pulse distribution circuit 37 as a drive system for the servo motors 23, 14, and 16, and a servo motor 63.6.
As a drive system of 4, a unit B is provided which is separated from the RAM 38, the drive CPUn 39, and the pulse distribution circuit 40. The RAM 35 is a storage device into which positioning data for the grinding wheel G, table 11, and spindle 13 is input from the main CPLI 31. Further, the RAM 38 is a storage device into which positioning data for the correction tool 61 is input from the main CPU 31. The drive CPU 36 is a device that performs calculations such as slow-up, slow-down, and interpolation of target points regarding the feed of control axes related to machining, and outputs positioning data of interpolation points at regular intervals. This is a circuit that outputs a movement command pulse to each drive unit 50, 51, and 52. On the other hand, drive CPLIII39
is a device that performs the same action as above on the control axis related to tool modification. Next, the effect will be explained. The main CPU 31 performs processing according to the flowchart shown in FIG. This program is activated at regular intervals by timer interval interrupts. A series of processes from step 100 to step 108 achieves the function of the sequence control means, which is one of the constituent elements of the invention. Below, NC for processing
The data goes to NC data 8, and the correction NC data goes to NC.
Reference as data B. In the initial state, the task switch 323 is set to 0, and processing for unit) A is given priority over processing for unit) B. First, in step 100, the contents of the task switch 323 are checked to determine whether or not unit I-B is in the priority state. If unit I-B is in the priority state, the process moves to step 102, where it is determined whether there is a processing request from unit B. If there is a processing request, step 120
Processing related to NC data B is executed. If it is determined in step 102 that there is no processing request from unit B, the process proceeds to step 104, where it is determined whether or not there is a processing request from unit Δ. If there is a processing request, the process moves to step 110 and processing regarding NC data A is executed. Also, if there is no processing request from unit A, this program ends. On the other hand, in the determination at step 100, if the processing for unit l-B is not in the priority state, that is, the processing for unit l-A is in the priority state, the process moves to step 106 and whether there is a processing request from unit 8 or not. If it is determined that there is a processing request, the process moves to step 110 and processing regarding NC data A is executed. If there is no processing request from unit A, the process moves to step 108, where it is determined whether or not there is a processing request from unit B. If there is a processing request, the process moves to step 120, and processing regarding NC data B is executed, and if there is no processing request, the program ends. After all, through the above determination process, the presence or absence of a processing request is determined in order from the unit with the highest priority set in the task switch 323, and if there is a processing request, the processing for that unit is executed. Main CP
Regarding the processing for each unit of U31, the one with higher priority is always given priority. If the task switch 323 is set to 0, unit A has a higher priority. In this state, if a processing request is output from unit A first, steps 110 and subsequent steps are executed. First, one block of data is read from the NC data Δ (110). Next, the block data is decoded (112), and it is determined whether it is the data end (114). If it is the data end, the program ends, but if it is not the data end, step 1
16, calculations are performed on the number of distributed pulses, speed, etc. for positioning the control axis at the target position according to the read data (116). Positioning data that is the result of this calculation is output to unit A (118), and the program ends. unit)
The next data of NC data A is not decoded until A completes the pulse distribution process and the positioning to the target position is completed. When the pulse distribution is completed and a processing request is output from unit A, steps 110 to 11 described above are performed.
8 is executed. Until a processing request is output from unit A, if there is a processing request from unit B, the processing for unit B will be executed. When there is a processing request from unit) B, the determination in step 108 is Y[! S, step 1
20 or less are executed. First, the data of NC data B is read out (120) and decoded (122). If the data end is determined in step 124, the execution of the program is terminated, but if it is not the data end, step 126 and step 13 are performed.
It is determined whether there is a code that controls switching of the priority unit of 0. If not, steps 134 and subsequent steps are executed, positioning data for the commanded target position is calculated in the same way as step 116 (134), the data is output to unit B (136), and this program ends. . Through such processing, processing for unit A can be prioritized, and pulse distribution between unit A and the other units can be executed in parallel. By the way, if the processing for unit A is prioritized as described above, depending on the timing of the processing request from unit) A, the acceptance of the processing request from unit) B may be delayed. Therefore, for blocks that need to be processed consecutively in the data block of NC data B, such as a correction command block for the cylindrical grinding surface of a grinding wheel and a correction command block for its shoulder with radius, the processing is Priority units need to be switched to avoid interruptions. For this,
Among the NG data B (instruction code rG72J is inserted before a series of data blocks that need to be processed with priority, and instruction code rG73J is inserted after that series of data blocks. The rG72J code is a unit) B is given as a priority unit. Then, the "rG73" code cancels the priority of unit B and makes unit A the priority unit. It is determined in step 126 whether or not the rG72J code is present. If the code is present, 1 is set in the task switch 323 in step 128, and the priority unit is set to unit level. Further, it is determined in step 130 whether or not the rG73J code is present. If the code is present, 0 is set in the task switch 323 in step 132, and the priority unit is set to unit A in the initial state. If unit B is set as the priority unit in step 128, step 1 of the next control cycle of this program
00 becomes YES, it is determined first whether or not there is a processing request for unit B, and if there is a processing request, it will be processed before the processing for unit 8. Therefore, the processing of the data block sandwiched between the "rG72" code and the rG73J code is executed without interruption. Note that the number of NC data to be processed in parallel is not limited to two. Furthermore, the plurality of NC data is not limited to processing NC data and correction NC data.

【発明の効果】【Effect of the invention】

本発明は、複数のNCデータに基づく処理を並行に実行
する場合において、その処理の優先度を。 NCデータにより変化できるようにしたので、データブ
ロックごとに優先度がプログラムでき、並行処理を行う
NCデータの設計が容易になる。
In the case where processing based on a plurality of NC data is executed in parallel, the present invention determines the priority of the processing. Since the priority can be changed depending on the NC data, the priority can be programmed for each data block, making it easier to design NC data for parallel processing.

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

第1図は本発明の実施例にかかる数値制御装置を用いた
数値制御研削盤を示した構成図。第2図は数値制御袋は
の電気的構成を示したブロックダイヤグラム。第3図は
CPUの処理手順を示したフローチャートである。 10 ゛ベッド 11°゛テーブル 13 ゛°主軸1
4.16.23.63.64・・−サーボモータ15 
心押台 20゛・°工具台 30・・・数値制御装置6
0−工具修正装置 61−修正工具  G・−砥石車 
K −工作物
FIG. 1 is a configuration diagram showing a numerically controlled grinding machine using a numerical control device according to an embodiment of the present invention. Figure 2 is a block diagram showing the electrical configuration of the numerically controlled bag. FIG. 3 is a flowchart showing the processing procedure of the CPU. 10゛Bed 11゛Table 13゛°Spindle 1
4.16.23.63.64...-Servo motor 15
Tailstock 20゛・°Tool stand 30...Numerical control device 6
0-Tool correction device 61-Correction tool G.-Grinding wheel
K - Workpiece

Claims (2)

【特許請求の範囲】[Claims] (1)NCデータを解読してそれに応じた処理を行う1
つの処理装置により、複数のNCデータに基づく処理を
並行に行う数値制御装置において、前記複数のNCデー
タの処理の優先度を決定する優先度データを記憶する優
先度記憶手段と、前記NCデータに基づき前記優先度記
憶手段に記憶されている優先度データを変更する優先度
変更手段と、 前記優先度記憶手段に記憶されている優先度データに基
づき前記NCデータの実行の順序を制御する順序制御手
段とを備えることを特徴とする並行処理機能を備えた装
置制御装置。
(1) Decode NC data and process accordingly 1
In a numerical control device that performs processing based on a plurality of NC data in parallel using one processing device, a priority storage means for storing priority data for determining processing priority of the plurality of NC data; priority changing means for changing the priority data stored in the priority storage means based on the priority data; and order control for controlling the order of execution of the NC data based on the priority data stored in the priority storage means. 1. A device control device with a parallel processing function, characterized by comprising: means.
(2)前記複数のNCデータは、工作物を加工処理する
ための制御軸を数値制御する加工用NCデータと工具を
修正する修正装置の制御軸を数値制御する修正用NCデ
ータであることを特徴とする特許請求の範囲第1項記載
の並行処理機能を備えた数値制御装置。
(2) The plurality of NC data are processing NC data that numerically controls the control axis for processing the workpiece, and correction NC data that numerically controls the control axis of the correction device that corrects the tool. A numerical control device having a parallel processing function according to claim 1.
JP61227391A 1986-09-25 1986-09-25 Numerical control device with parallel operation function Expired - Lifetime JPH0690646B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61227391A JPH0690646B2 (en) 1986-09-25 1986-09-25 Numerical control device with parallel operation function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61227391A JPH0690646B2 (en) 1986-09-25 1986-09-25 Numerical control device with parallel operation function

Publications (2)

Publication Number Publication Date
JPS6381509A true JPS6381509A (en) 1988-04-12
JPH0690646B2 JPH0690646B2 (en) 1994-11-14

Family

ID=16860085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61227391A Expired - Lifetime JPH0690646B2 (en) 1986-09-25 1986-09-25 Numerical control device with parallel operation function

Country Status (1)

Country Link
JP (1) JPH0690646B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02121003A (en) * 1988-10-31 1990-05-08 Toyoda Mach Works Ltd Numerical controller provided with parallel processing function
CN102914994A (en) * 2012-10-09 2013-02-06 苏州新代数控设备有限公司 Axial numerical value exchange controller for vertical/horizontal adjustable processing center
JP2019012472A (en) * 2017-06-30 2019-01-24 ファナック株式会社 Numerical control device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60160406A (en) * 1984-01-31 1985-08-22 Fanuc Ltd Control system of programmable controller
JPS61147360A (en) * 1984-12-21 1986-07-05 Canon Inc Resource common use system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60160406A (en) * 1984-01-31 1985-08-22 Fanuc Ltd Control system of programmable controller
JPS61147360A (en) * 1984-12-21 1986-07-05 Canon Inc Resource common use system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02121003A (en) * 1988-10-31 1990-05-08 Toyoda Mach Works Ltd Numerical controller provided with parallel processing function
CN102914994A (en) * 2012-10-09 2013-02-06 苏州新代数控设备有限公司 Axial numerical value exchange controller for vertical/horizontal adjustable processing center
JP2019012472A (en) * 2017-06-30 2019-01-24 ファナック株式会社 Numerical control device
US11226609B2 (en) 2017-06-30 2022-01-18 Fanuc Corporation Numerical controller

Also Published As

Publication number Publication date
JPH0690646B2 (en) 1994-11-14

Similar Documents

Publication Publication Date Title
JPH01252340A (en) Machining control device employing force sensor
JPS5968003A (en) Emergency machine origin resetting device of numerically controlled machine tool
JPH077296B2 (en) Numerical controller for machining non-round workpieces
JPS61293704A (en) Numerical controller for automatic lathe
JPS6381509A (en) Numerical controller provided with parallel operation function
JP2008036804A (en) Rapid feed control method of machine tool
JP2004202594A (en) Numerical control device
JPH0628019A (en) Method and device for calling robot program for numerically controlled machine tool
JP2002273601A (en) Multispindle machine tool
JPH07104823A (en) Numerically controlled working system
JPS63311408A (en) Numerical controller
JP2940975B2 (en) Numerically controlled grinding machine
JP4281218B2 (en) lathe
JP2669641B2 (en) Numerical controller for machining non-round workpieces
JP3587046B2 (en) Numerical control device that simultaneously controls two movable bodies on a common path
JP2520127B2 (en) Highly efficient tool selection method
JPH0641799Y2 (en) Numerical control grinder
JPS6384865A (en) Numerically controlled grinding machine
JP4261708B2 (en) NC machining equipment
JP2604003B2 (en) Numerical controller for machining non-round workpieces
JP2000094291A (en) Machining device for incompletely round work
JP4031571B2 (en) NC lathe control device
JPH0627322Y2 (en) Numerical control grinder
JPH04210373A (en) Automatic correction device for grinding wheel of numerical control grinder
JPH0523911B2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term