JPS63143605A - Numerical controller having preprocessing function for block data - Google Patents

Numerical controller having preprocessing function for block data

Info

Publication number
JPS63143605A
JPS63143605A JP29023586A JP29023586A JPS63143605A JP S63143605 A JPS63143605 A JP S63143605A JP 29023586 A JP29023586 A JP 29023586A JP 29023586 A JP29023586 A JP 29023586A JP S63143605 A JPS63143605 A JP S63143605A
Authority
JP
Japan
Prior art keywords
preprocessing
block data
data
block
function
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
JP29023586A
Other languages
Japanese (ja)
Inventor
Minoru Sugiyama
実 杉山
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP29023586A priority Critical patent/JPS63143605A/en
Publication of JPS63143605A publication Critical patent/JPS63143605A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the generation of a suspending state in a working machine controlled by a numerical controller and to attain continuous operation by previously executing the preprocessing of all block data specified by a repeating function prior to program operation and storing the reprocessed data in a repeating function preprocessing data memory area of a memory. CONSTITUTION:A repeating function specification block data preprocessing means 72 executes the reprocessing of all block data specified by the repeating function prior to program operation and a repeating function preprocessing data memory area 83 stores preprocessed data. When the block data to be preprocessed at the time of program operation are not the block data specified by the repeating function, a block data preprocessing means 71 executes the preprocessing of the block data and a preprocessed data storing area 82 stores the data preprocessed by the means 71. Consequently, the generation of a suspending state in a working machine or the like to be controlled can be prevented and continuous operation can be attained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はブロックデータの前処理機能を有する数値制御
装置に関し、特に工作機械等を制御するブロックデータ
の前処理機能を有する数値制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a numerical control device having a block data preprocessing function, and more particularly to a numerical control device having a block data preprocessing function for controlling a machine tool or the like.

〔従来の技術〕[Conventional technology]

従来、この種のブロックデータの前処理機能を有する数
値制御装置では、運転中のブロック(工作機械を制御す
るために数値制御装置に入力される運転プログラムの構
成要素。以下同様)の数ブロック先までのブロックデー
タの前処理(プログラム運転中に実行の対象になってい
るブロックよりも後のブロックのブロックデータを補間
演算器等で処理できる情報に変換する処理。以下同様)
しか行うことができなかった。
Conventionally, in numerical control devices that have this kind of block data preprocessing function, a block that is several blocks ahead of the currently operating block (component of the operation program that is input to the numerical control device to control the machine tool; the same applies hereinafter) Pre-processing of block data up to (processing to convert block data of blocks subsequent to the block to be executed during program operation into information that can be processed by an interpolator, etc.)
I just couldn't do it.

そのため、1ブロツクに該当する工作機械の動作時間が
1ブロツクのブロックデータの前処理時間よりも短いよ
うな多数のブロックが続く場合(この場合に運転プログ
ラム中では、同一の内容の連続するブロックが繰返し機
能で指定されることが多い)には、メモリ中に格納され
ている前処理データがなくなり、あるブロックデータの
前処理が終了するのを待ってそのブロックに該当する工
作機械の動作が行われていた。
Therefore, if there are many consecutive blocks in which the operating time of the machine tool corresponding to one block is shorter than the preprocessing time of the block data of one block (in this case, in the operation program, consecutive blocks with the same content are (often specified by the repeat function), the preprocessing data stored in memory runs out and the machine tool operation corresponding to that block waits until the preprocessing of a certain block data is completed. I was worried.

第3図は、従来のブロックデータの前処理機能を有する
数値制御装置の一例におけるブロックデータの前処理を
示す流れ図である。
FIG. 3 is a flowchart showing block data preprocessing in an example of a conventional numerical control device having a block data preprocessing function.

この数値制御装置におけるブロックデータの前処理では
、まずメモリ中に格納されている運転プログラム中のブ
ロックデータが順次読み出される(ステップ31)。
In the preprocessing of block data in this numerical control device, first, block data in the operating program stored in the memory is sequentially read out (step 31).

読み出されたブロックデータについて前処理が行われ(
ステップ32)、その前処理の結果である前処理データ
がメモリ中の前処理データメモリエリアに格納される(
ステップ33)。
Preprocessing is performed on the read block data (
Step 32), the preprocessed data that is the result of the preprocessing is stored in the preprocessed data memory area in the memory (
Step 33).

1つのブロックデータの前処理が終了すると、運転プロ
グラム中に次のブロックデータがまだ存在するか否かが
判定され(ステップ34)、存在する場合にはステップ
31の処理に制御が戻り、存在しない場合には処理が終
了する。
When the preprocessing of one block data is completed, it is determined whether the next block data still exists in the operation program (step 34), and if the next block data exists, control returns to the process of step 31, and if the next block data does not exist. If so, the process ends.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のブロックデータの前処理機能を有する数
値制御装置では、前処理時間よりも動作時間が短い多数
のブロックのプログラム運転を小きざみに連続して行う
場合にメモリ中の前処理データメモリエリアに格納され
ている前処理データがなくなってしまうので、あるブロ
ックの前処理時間と直前のブロックの動作時間との差だ
け制御される工作機械が休止状態になってしまうという
欠点がある。
In the above-mentioned conventional numerical control device having a block data preprocessing function, when program operation of a large number of blocks is performed continuously in small increments with an operation time shorter than the preprocessing time, the preprocessing data memory area in the memory is used. Since the preprocessing data stored in the block will be lost, the machine tool, which is controlled by the difference between the preprocessing time of a certain block and the operation time of the immediately preceding block, will be in a standstill state.

例えば、制御される工作機械が研削盤である場合には、
砥石で研削した加工物の加工面に筋状の傷が生じるとい
う欠点がこの休止状態に起因して発生する。
For example, if the machine tool to be controlled is a grinding machine,
This resting state causes the disadvantage that streak-like scratches appear on the machined surface of the workpiece ground by the grindstone.

本発明の目的は、上述の点に鑑み、動作時間が前処理時
間よりも短いブロックの連続運転をそのブロックを繰返
し機能で指定して行う場合に、繰返し機能で指定される
ブロックデータをプログラム運転を行う前にあらかじめ
全て前処理してメモリ内の繰返し機能用前処理データメ
モリエリアという専用エリアに格納することにより、制
御する工作機械等に休止状態が発生することを防ぎ連続
運転を可能にするブロックデータの前処理機能を有する
数値制御装置を提供することにある。
In view of the above-mentioned points, it is an object of the present invention to provide a program to operate the block data specified by the repeat function when performing continuous operation of a block whose operation time is shorter than the preprocessing time by specifying the block with the repeat function. By pre-processing all the data beforehand and storing it in a dedicated area called the pre-processing data memory area for repeated functions in the memory, it is possible to prevent the machine tools, etc. to be controlled from being in a sleep state and enable continuous operation. An object of the present invention is to provide a numerical control device having a block data preprocessing function.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のブロックデータの前処理機能を有する数値制御
装置は、プログラム運転を行う前に繰返し機能で指定さ
れた全てのブロックデータの前処理を行う繰返し機能指
定ブロックデータ前処理手  。
The numerical control device having a block data preprocessing function according to the present invention has a repeat function designated block data preprocessing unit that preprocesses all block data designated by the repeat function before performing a program operation.

段と、この繰返し機能指定ブロックデータ前処理手段に
より前処理が行われた前処理データが格納される繰返し
機能用前処理データメモリエリアと、プログラム運転時
に前処理を行おうとするブロックデータが繰返し機能で
指定されたブロックデータでないときにそのブロックデ
ータの前処理を行。
a repeat function preprocessing data memory area in which preprocessed data preprocessed by this repeat function designated block data preprocessing means is stored; and a repeat function preprocessing data memory area in which the preprocessed data preprocessed by this repeat function designated block data preprocessing means is stored, and block data to be preprocessed during program operation is stored in the repeat function. Preprocesses the block data when it is not the block data specified by .

うブロックデータ前処理手段と、このブロックデータ前
処理手段により前処理が行われた前処理データが格納さ
れる前処理データメモリエリアと、前記繰返し機能指定
ブロックデータ前処理手段および前記ブロックデータ前
処理手段を有しプログラム運転時に実行しようとするブ
ロックデータが繰返し機能で指定されたブロックデータ
であるときには前記繰返し機能用前処理データメモリエ
リアに格納されている前処理データを補間演算器に転送
し繰返し機能で指定されたブロックデータでないときに
は前記前処理データメモリエリアに格納されている前処
理データを前記補間演算器に転送するブロックデータプ
ログラム運転処理手段とを有する。
a block data preprocessing means; a preprocessing data memory area in which preprocessed data preprocessed by the block data preprocessing means is stored; the repeat function specifying block data preprocessing means; and the block data preprocessing means. When the block data to be executed during program operation is the block data specified by the repeat function, the preprocessing data stored in the preprocessing data memory area for the repeat function is transferred to the interpolation calculator and repeated. and block data program operation processing means for transferring the preprocessing data stored in the preprocessing data memory area to the interpolation calculator when the block data is not specified by the function.

〔作用〕[Effect]

本発明のブロックデータの前処理機能を有する数値制御
装置では、繰返し機能指定ブロックデータ前処理手段が
プログラム運転を行う前に繰返し機能で指定された全て
のブロックデータの前処理を行い、繰返し機能用前処理
データメモリエリアが繰返し機能指定ブロックデータ前
処理手段により前処理が行われた前処理データを格納し
、ブロックデータ前処理手段がプログラム運転時に前処
理を行おうとするブロックデータが繰返し機能で指定さ
れたブロックデータでないときにそのブロックデータの
前処理を行い、前処理データメモリエリアがブロックデ
ータ前処理手段により前処理が行われた前処理データを
格納し、繰返し機能指定ブロックデータ前処理手段およ
びプロ・7クデ一タ前処理手段を有するブロックデータ
プログラム運転処理手段がプログラム運転時に実行しよ
うとするブロックデータが繰返し機能で指定されたブロ
ックデータであるときには繰返し機能用前処理データメ
モリエリアに格納されている前処理データを補間演算器
に転送し繰返し機能で指定されたブロックデータでない
ときには前処理データメモリエリアに格納されている前
処理データを補間演算器に転送する。
In the numerical control device having the block data preprocessing function of the present invention, the repetition function specified block data preprocessing means preprocesses all the block data specified by the repetition function before performing the program operation. The preprocessing data memory area stores the preprocessing data preprocessed by the block data preprocessing means designated by the repeat function, and the block data to be preprocessed by the block data preprocessing means during program operation is designated by the repeat function. The block data preprocessing means preprocesses the block data when it is not the block data that has been processed, the preprocessing data memory area stores the preprocessing data that has been preprocessed by the block data preprocessing means, and the block data preprocessing means specifies a repeat function. When the block data that the block data program operation processing means with the PRO-7 data preprocessing means attempts to execute during program operation is the block data specified by the repeat function, it is stored in the preprocessing data memory area for the repeat function. The preprocessing data stored in the preprocessing data memory area is transferred to the interpolation calculator when the block data is not specified by the repeat function.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明のブロックデータの前処理機能を有す
る数値制御装置の一実施例の構成とその数値制御装置1
により制御される工作機械2とを示すブロック図である
。本実施例のブロックデータの前処理機能を有する数値
制御装置1は、操作者との情報交換が行われ工作機械2
のプログラム運転を行うためのブロックデータ(運転プ
ログラム)が入力される操作部3と、入力されたブロッ
クデータに基づいて工作機械2を制御するために必要な
演算処理を行う頭脳部4と、頭脳部4から入力された制
御情報に基づいて工作機械2の運転において必要な位置
や速度等の情報を駆動部6に転送する制御部5と、サー
ボモータ(図示せず)や検出器(図示せず)により構成
されており制御部5から入力された情報に基づき工作機
械2を駆動する・(工作機械2からのフィードバック情
報の入力も行う)駆動部6とから構成されている。
FIG. 1 shows the configuration of an embodiment of a numerical control device having a block data preprocessing function according to the present invention, and its numerical control device 1.
2 is a block diagram showing a machine tool 2 controlled by the machine tool 2. FIG. The numerical control device 1 having the block data preprocessing function of this embodiment exchanges information with the operator and the machine tool 2.
an operation unit 3 into which block data (operation program) for performing program operation is input; a brain unit 4 which performs arithmetic processing necessary to control the machine tool 2 based on the input block data; A control unit 5 transmits information such as position and speed necessary for operation of the machine tool 2 to a drive unit 6 based on control information input from the unit 4, and a servo motor (not shown) and a detector (not shown). The drive unit 6 drives the machine tool 2 based on information input from the control unit 5 (also inputs feedback information from the machine tool 2).

頭脳部4は、プログラム運転時に実行しようとするブロ
ックデータが繰返し機能で指定されたものであるときに
はメモリ8内の繰返し機能用前処理データメモリエリア
83に格納されている前処理データを補間演算器9に転
送し繰返し機能で指定されたものでないときには前処理
データメモリエリア82に格納されている前処理データ
を補間演算器9に転送するブロックデータプログラム運
転処理手段7と、演算処理のために必要な情報を記憶し
ているメモリ8と、前処理データに基づいて補間演算処
理を行い制御情報を制御部5に転送する補間演算器9と
を含んで構成されている。
When the block data to be executed during program operation is specified by the repeat function, the brain unit 4 uses the preprocessing data stored in the repeat function preprocessing data memory area 83 in the memory 8 with an interpolation calculator. 9 and transfers the preprocessing data stored in the preprocessing data memory area 82 to the interpolation calculator 9 if it is not specified by the repeat function, and the block data program operation processing means 7 necessary for calculation processing. The interpolation calculator 9 includes a memory 8 that stores information, and an interpolation calculator 9 that performs interpolation calculation processing based on preprocessed data and transfers control information to the control unit 5.

ブロックデータプログラム運転処理手段7は、プログラ
ム運転時に前処理を行おうとするブロックデータが繰返
し機能で指定されたブロックデータでないときにブロッ
クデータの前処理を行うブロックデータ前処理手段71
と、プログラム運転を行う前に繰返し機能で指定された
全てのブロックデータの前処理を行う繰返し機能指定ブ
ロックデータ前処理手段72とを含んで構成されている
The block data program operation processing means 7 includes a block data preprocessing means 71 that performs preprocessing of block data when the block data to be preprocessed during program operation is not the block data specified by the repeat function.
and a repetitive function specified block data preprocessing means 72 that preprocesses all block data specified by the repetitive function before performing the program operation.

メモリ8は、工作機械2を制御するための運転プログラ
ムを構成するブロックデータが格納されているブロック
データメモリエリア81と、ブロックデータ前処理手段
71の処理結果の前処理データが格納されている前処理
データメモリエリア82と、繰返し機能指定ブロックデ
ータ前処理手段72の処理結果の前処理データが格納さ
れている繰返し機能用前処理データメモリエリア83と
を含んで構成されている。
The memory 8 includes a block data memory area 81 in which block data constituting an operation program for controlling the machine tool 2 is stored, and a block data memory area 81 in which preprocessed data as a result of processing by the block data preprocessing means 71 is stored. It is configured to include a processing data memory area 82 and a repeating function preprocessing data memory area 83 in which preprocessing data of the processing result of the repeating function designation block data preprocessing means 72 is stored.

第2図を参照すると、数値制御装置1におけるブロック
データの前処理は、プログラム判定ステップ11と、繰
返し機能存在判定ステップ12と、繰返し機能指定プロ
ソクデーク前処理ステップ13と、繰返し機能用前処理
データセーブステ・7プ14と、次ブロツク存在判定ス
テップ15と、ブロックデータ読出しステップ16と、
繰返し機能存在判定ステツブ17と、ブロックデータ前
処理ステップ18と、前処理データセーブステップ19
と、次ブロツク存在判定ステップ20とからなる。
Referring to FIG. 2, preprocessing of block data in the numerical control device 1 includes a program determination step 11, a repetitive function existence determination step 12, a repetitive function designation process preprocessing step 13, and a repetitive function preprocessing data save. Step 7 Step 14, next block existence determination step 15, block data reading step 16,
Repetitive function existence determination step 17, block data preprocessing step 18, and preprocessing data save step 19
and a next block existence determination step 20.

次に、このように構成されたブロックデータの前処理機
能を有する数値制御装置1の動作について説明する。
Next, the operation of the numerical control device 1 having the block data preprocessing function configured as described above will be explained.

数値制御装置1の制御により工作機械2の運転を行う場
合には、まず運転プログラムが操作部3から入力され、
この運転プログラムを構成するブロックデータが頭脳部
4のブロックデータメモリエリア81に格納される。
When operating the machine tool 2 under the control of the numerical control device 1, an operating program is first input from the operation unit 3,
Block data constituting this driving program is stored in the block data memory area 81 of the brain section 4.

頭脳部4では、この運転プログラムが数値制御装置1の
1動作期間中(電源投入から電源切断までの間)におけ
る新規な運転プログラムまたは変更された運転プログラ
ムであるか否かが判定される(ステップ11)。
The brain unit 4 determines whether this operating program is a new operating program or a changed operating program during one operation period (from power-on to power-off) of the numerical control device 1 (step 11).

この判定で新規な運転プログラムまたは変更された運転
プログラムであるときには、運転プログラムの中に繰返
し機能が含まれているか否かが判定される(ステップ1
2)。
If this determination indicates that the driving program is a new driving program or a changed driving program, it is determined whether or not the driving program includes a repeat function (step 1).
2).

この判定で繰返し機能が含まれているときには、繰返し
機能で指定されたブロックデータの前処理がブロックデ
ータプログラム運転処理手段7中の・繰返し機能指定ブ
ロックデータ前処理手段72により行われ(ステップ1
3)、メモリ8中の繰返し機能用前処理データメモリエ
リア83に格納される(ステップ14)。
If it is determined that a repeat function is included, preprocessing of the block data specified by the repeat function is performed by the repeat function specified block data preprocessing means 72 in the block data program operation processing means 7 (step 1).
3) is stored in the repetitive function preprocessing data memory area 83 in the memory 8 (step 14).

次に、繰返し機能で指定されたブロックデータが運転プ
ログラム中にまだ存在するか否かが判定される(ステッ
プ15)。
Next, it is determined whether the block data designated by the repeat function still exists in the driving program (step 15).

この判定で繰返し機能で指定されたブロックデータが存
在するときには、ステップ13の処理に制御卸が戻る。
If it is determined that the block data designated by the repeat function exists, the control unit returns to the process of step 13.

ステップ11の判定で新規な運転プログラムまたは変更
された運転プログラムでないとき(このときには繰返し
機能で指定されたブロックデータの前処理データがすで
にメモリs内に格納されている)、ステップ12の判定
で運転プログラム中に繰返し機能が含まれていないとき
またはステップ15の判定で繰返し機能で指定されたブ
ロックデータかもう存在しないときには、プログラム運
転が開始されブロックデータメモリエリア81に格納さ
れているブロックデータが前処理のためにブロックデー
タプログラム運転処理手段7により読み出される(ステ
ップ16)。
If the operation program is not a new operation program or a changed operation program as determined in step 11 (at this time, the preprocessed data of the block data specified by the repeat function is already stored in the memory s), the operation program as determined in step 12 is When the repeat function is not included in the program, or when the block data specified by the repeat function no longer exists in the judgment in step 15, program operation is started and the block data stored in the block data memory area 81 is The block data program is read out by the program operation processing means 7 for processing (step 16).

読み出されたブロックデータは、繰返し機能を示すブロ
ックデータであるか否かが判定される(ステップ17)
It is determined whether the read block data is block data indicating a repeat function (step 17).
.

この判定でブロックデータが繰返し機能を示すブロック
データではないときには、プロ・7クデ一タ前処理手段
71によりブロックデータの前処理が行われる(ステッ
プ18)。
If it is determined in this judgment that the block data is not block data indicating a repetitive function, the block data is preprocessed by the programmer 7 data preprocessing means 71 (step 18).

この処理で得られた前処理データは、前処理データメモ
リエリア82に格納される(ステップ19)。
The preprocessed data obtained through this process is stored in the preprocessed data memory area 82 (step 19).

この処理が終了すると、ブロックデータメモリエリア8
1に格納されている運転プログラムに次のブロックデー
タがまだ存在するか否かが判定される(ステップ20)
When this process is completed, block data memory area 8
It is determined whether the next block data still exists in the operation program stored in 1 (step 20).
.

ステップ17の判定で読み出されたプロ・ツクデータが
繰返し機能を示すブロックデータであるとき(このブロ
ックデータについてはステップ13およびステップ14
ですでに前処理が行われている)にも、ステップ20の
判定が行われる。
When the program data read out in the judgment of step 17 is block data indicating a repeat function (for this block data, step 13 and step 14
The determination in step 20 is also made for the preprocessing (which has already been preprocessed).

この判定で次のブロックデータが存在するときには、ス
テップ16の処理に制御が戻る。
If it is determined that the next block data exists, control returns to step 16.

ステップ20の判定で次のブロックデータが存在しない
ときには、ブロックデータメモリエリア81に格納され
ている運転プログラムのブロックデータの前処理が終了
する。
If it is determined in step 20 that the next block data does not exist, the preprocessing of the block data of the driving program stored in the block data memory area 81 is completed.

上述のようにして前処理が行われている間にも工作機械
2のプログラム運転は行われており、実行しようとする
ブロックデータが繰返し機能で指定されたブロックデー
タであるときには繰返し機能用前処理データメモリエリ
ア83に格納されている前処理データが補間演算器9に
ブロックデータプログラム運転処理手段7により転送さ
れ、繰返。
Even while the preprocessing is being performed as described above, the program operation of the machine tool 2 is being performed, and if the block data to be executed is the block data specified by the repeat function, the preprocessing for the repeat function is performed. The preprocessing data stored in the data memory area 83 is transferred to the interpolation calculator 9 by the block data program operation processing means 7, and the process is repeated.

し機能で指定されたブロックデータでないときには前処
理データメモリエリア82に格納されている前処理デー
タが補間演算器9に転送される。
However, if the block data is not specified by the function, the preprocessed data stored in the preprocessed data memory area 82 is transferred to the interpolation calculator 9.

補間演算器9では、転送された前処理データの補間演算
処理が行われ、処理結果の制御情報が制御部5に転送さ
れる。
In the interpolation calculator 9, interpolation calculation processing is performed on the transferred preprocessed data, and control information as a result of the processing is transferred to the control unit 5.

頭脳部4の補間演算器9から転送された制御情報に基づ
いて、制御部5の制御および駆動部6の駆動により工作
機械2が運転される。
Based on the control information transferred from the interpolation calculator 9 of the brain section 4, the machine tool 2 is operated under the control of the control section 5 and the driving of the drive section 6.

次に、上述のようにして数値制御装置1により制御され
る工作機械2の動作を従来のブロックデータの前処理機
能を有する数値制御装置により制御される工作機械(工
作機械2と同一のもの)の動作と比較してタイムチャー
トに表して説明する。
Next, the operation of the machine tool 2 controlled by the numerical control device 1 as described above is changed to a machine tool (same as the machine tool 2) controlled by a numerical control device having a conventional block data preprocessing function. This will be explained using a time chart in comparison with the operation of .

なお、ここでは第4図に示すような運転プログムにより
工作機械2(この運転プログラムでは研削盤を想定して
いる)が制御される場合を例にとって説明する。
Here, an explanation will be given taking as an example a case where the machine tool 2 (this operating program assumes a grinding machine) is controlled by an operating program as shown in FIG.

第4図に示す運転プログラムは、シーケンス番号N30
とN40との2ブロツクを100回連続して実行するた
めに、シーケンス番号NIOの繰返し機能G27でシー
ケンス番号N30とN40とが指定されている運転プロ
グラムである。
The operation program shown in FIG. 4 has sequence number N30.
This is an operation program in which sequence numbers N30 and N40 are specified in the repeat function G27 of sequence number NIO in order to execute the two blocks N40 and N40 100 times in succession.

シーケンス番号N30およびN40のブロックに対応す
る工作機械2の動作時間および前処理時間は、それぞれ
約10m秒および約80m秒であるとする。また、1ブ
ロツクに該当する前処理データが補間演算器9に転送さ
れる時間(ブロック転送時間)は約5m秒であるとする
It is assumed that the operation time and preprocessing time of the machine tool 2 corresponding to blocks with sequence numbers N30 and N40 are approximately 10 msec and approximately 80 msec, respectively. Further, it is assumed that the time (block transfer time) in which preprocessed data corresponding to one block is transferred to the interpolation calculator 9 is approximately 5 msec.

この運転プログラムを数値制御装置1の制御により実行
する場合には、上述したようにプログラム運転を行う前
にあらかじめN30およびN40のブロックデータの前
処理が終了しているので各ブロックの動作時間はブロッ
ク転送時間が間に入るだけで連続することとなる(第5
図参照)。
When this operation program is executed under the control of the numerical control device 1, the preprocessing of the block data of N30 and N40 is completed before the program operation as described above, so the operation time of each block is It will be continuous just by the transfer time (5th
(see figure).

一方、この運転プログラムを従来のブロックデータの前
処理機能を有する数値制御装置の制御により実行する場
合には、最初の数ブロツク以外はあるブロック(例えば
、シーケンス番号N40のブロック)の前処理時間(約
80m秒)と直前のシーケンス番号N30のブロックの
動作時間(約10m秒)との差の約70m秒間の休止状
態が工作機械2に生じることになる。
On the other hand, when this operation program is executed under the control of a numerical control device having a conventional block data preprocessing function, the preprocessing time (for example, the block with sequence number N40) of a certain block (for example, the block with sequence number N40) is The machine tool 2 will be in a rest state for about 70 msec, which is the difference between the operation time (about 80 msec) and the operation time of the immediately preceding block with sequence number N30 (about 10 msec).

本実施例のブロックデータの前処理機能を有する数値制
御装置1によると、この休止状態を回避することができ
る。
According to the numerical control device 1 having the block data preprocessing function of this embodiment, this dormant state can be avoided.

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

以上説明したように本発明は、動作時間が前処理時間よ
りも短いブロックの高速で小きざみな連続運転をそのブ
ロックを繰返し機能で指定して行う場合に、繰返し機能
で指定されるブロックデータをプログラム運転を行う前
にあらかじめ全て前処理してメモリ内の繰返し機能用前
処理データメモリエリアに格納することにより、数値制
御装置に制御される工作機械等に休止状態が発生するこ
とを防ぎ連続運転を可能にするという効果がある。
As explained above, in the present invention, when a block whose operating time is shorter than the preprocessing time is operated continuously at high speed in small steps by specifying that block with the repeat function, the block data specified by the repeat function is By pre-processing all the data in advance and storing it in the pre-processing data memory area for repeated functions in the memory before starting programmed operation, machine tools controlled by numerical control devices can be prevented from being in a pause state and can be operated continuously. It has the effect of making it possible.

【図面の簡単な説明】 第1図は本発明の一実施例の構成とその実施例のブロッ
クデータの前処理機能を有する数値制御装置により制御
される工作機械とを示すブロック図・ 第2図は本実施例のブロックデータの前処理機能を有す
る数値制御装置におけるブロックデータの前処理を示す
流れ図、 第3図は従来のブロックデータの前処理機能を有する数
値制御装置の一例におけるブロックデータの前処理を示
す流れ図、 第4図は第1図中の工作機械を運転するための運転プロ
グラムの一例を示す図、 第5図は本実施例のブロックデータの前処理機能を有す
る数値制御装置により第4図に示す運転プログラムに基
づき運転される工作機械の動作のタイムチャートを示す
図、 第6図は従来のブロックデータの前処理機能を有する数
値制御装置により第4図に示す運転プログラムに基づき
運転される工作機械の動作のタイムチャートを示す図で
ある。 図において、 1・・・数値制御装置、 2・・・工作機械、 3・・・操作部、 4・・・頭脳部、 5・・・制御部、 6・・・駆動部、 7・・・ブロックデータプログラム運転処理手段、 8・・・メモリ、 9・・・補間演算器、 71・・・ブロックデータ前処理手段、72・・・繰返
し機能指定ブロックデータ前処理手段、 81・・・ブロックデータメモリエリア、82・・・前
処理データメモリエリア、83・・・繰返し機能用前処
理データメモリエリアである。
[Brief Description of the Drawings] Fig. 1 is a block diagram showing the configuration of an embodiment of the present invention and a machine tool controlled by a numerical control device having a block data preprocessing function of the embodiment. 3 is a flowchart showing the preprocessing of block data in the numerical control device having the block data preprocessing function of this embodiment. FIG. A flowchart showing the processing; FIG. 4 is a diagram showing an example of an operation program for operating the machine tool shown in FIG. 1; FIG. Figure 4 shows a time chart of the operation of a machine tool that is operated based on the operation program shown in Figure 6. FIG. 3 is a diagram showing a time chart of the operation of the machine tool. In the figure, 1... numerical control device, 2... machine tool, 3... operating section, 4... brain section, 5... control section, 6... drive section, 7... Block data program operation processing means, 8...Memory, 9...Interpolation calculator, 71...Block data preprocessing means, 72...Repetition function specification block data preprocessing means, 81...Block data Memory area, 82... Preprocessing data memory area, 83... Preprocessing data memory area for repeat function.

Claims (1)

【特許請求の範囲】 プログラム運転を行う前に繰返し機能で指定された全て
のブロックデータの前処理を行う繰返し機能指定ブロッ
クデータ前処理手段と、 この繰返し機能指定ブロックデータ前処理手段により前
処理が行われた前処理データが格納される繰返し機能用
前処理データメモリエリアと、プログラム運転時に前処
理を行おうとするブロックデータが繰返し機能で指定さ
れたブロックデータでないときにそのブロックデータの
前処理を行うブロックデータ前処理手段と、 このブロックデータ前処理手段により前処理が行われた
前処理データが格納される前処理データメモリエリアと
、 前記繰返し機能指定ブロックデータ前処理手段および前
記ブロックデータ前処理手段を有しプログラム運転時に
実行しようとするブロックデータが繰返し機能で指定さ
れたブロックデータであるときには前記繰返し機能用前
処理データメモリエリアに格納されている前処理データ
を補間演算器に転送し繰返し機能で指定されたブロック
データでないときには前記前処理データメモリエリアに
格納されている前処理データを前記補間演算器に転送す
るブロックデータプログラム運転処理手段と、 を有することを特徴とするブロックデータの前処理機能
を有する数値制御装置。
[Claims] A repetitive function specified block data preprocessing means for preprocessing all block data specified by the repetitive function before program operation; A preprocessing data memory area for the repeat function in which preprocessed data is stored, and a preprocessing area for preprocessing the block data when the block data to be preprocessed during program operation is not the block data specified by the repeat function. a block data preprocessing means to perform the block data preprocessing; a preprocessing data memory area in which preprocessed data preprocessed by the block data preprocessing means is stored; the repeating function specifying block data preprocessing means and the block data preprocessing. When the block data to be executed during program operation is the block data specified by the repeat function, the preprocessing data stored in the preprocessing data memory area for the repeat function is transferred to the interpolation calculator and repeated. block data program operation processing means for transferring the preprocessing data stored in the preprocessing data memory area to the interpolation calculator when the block data is not specified by the function; Numerical control device with pre-processing function.
JP29023586A 1986-12-05 1986-12-05 Numerical controller having preprocessing function for block data Pending JPS63143605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29023586A JPS63143605A (en) 1986-12-05 1986-12-05 Numerical controller having preprocessing function for block data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29023586A JPS63143605A (en) 1986-12-05 1986-12-05 Numerical controller having preprocessing function for block data

Publications (1)

Publication Number Publication Date
JPS63143605A true JPS63143605A (en) 1988-06-15

Family

ID=17753503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29023586A Pending JPS63143605A (en) 1986-12-05 1986-12-05 Numerical controller having preprocessing function for block data

Country Status (1)

Country Link
JP (1) JPS63143605A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0312712A (en) * 1989-06-09 1991-01-21 Nec Corp High speed numerical controller using fixed cycle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0312712A (en) * 1989-06-09 1991-01-21 Nec Corp High speed numerical controller using fixed cycle

Similar Documents

Publication Publication Date Title
JP4119372B2 (en) Numerical control method and numerical control system
JP2523004B2 (en) Graphic display method of machining status in numerical control grinding machine
JPS63181005A (en) Parallel processing method for numerical controller
US6397123B1 (en) Numerical control apparatus
JPS63143605A (en) Numerical controller having preprocessing function for block data
JP2852986B2 (en) Processing system
JP3050991B2 (en) Tool offset shape data input type numerical control method and device
JPS61256407A (en) Numerical controller
JPH02151909A (en) Control device for industrial machine
JPS6125211A (en) Parallel processing numerical controller
JPS60142403A (en) Nc machine tool
JP2669641B2 (en) Numerical controller for machining non-round workpieces
JP2992163B2 (en) Numerical control method and device
JP3072918B2 (en) Schedule operation method
JPS6255708A (en) Numerical controller
JP2931455B2 (en) Numerical control device with auxiliary cutting display function
JPS63105868A (en) Machining area division process device for turn-machining
JPH01200409A (en) Scheduling operation method
JPH0682299B2 (en) Program data input / output method in NC device automatic operation mode
JPS63100508A (en) Numerical controller
JPH05204421A (en) Method for processing nc program
JPS6353605A (en) Numerical controller
JPS63250705A (en) Numerical controller
JPH0611948U (en) Numerical control device
JPS6249519A (en) Numerical controller