JPS63143607A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPS63143607A
JPS63143607A JP29186986A JP29186986A JPS63143607A JP S63143607 A JPS63143607 A JP S63143607A JP 29186986 A JP29186986 A JP 29186986A JP 29186986 A JP29186986 A JP 29186986A JP S63143607 A JPS63143607 A JP S63143607A
Authority
JP
Japan
Prior art keywords
block
numerical control
control code
waiting
time
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
JP29186986A
Other languages
Japanese (ja)
Inventor
Koichiro Masai
正井 耕一郎
Takahiko Tanji
能彦 丹治
Tatsuya Nakamura
達哉 中村
Satoshi Tanaka
聡 田中
Hirobumi Nishigaki
西垣 寛文
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP29186986A priority Critical patent/JPS63143607A/en
Publication of JPS63143607A publication Critical patent/JPS63143607A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To reduce useless time by providing a program memory with a table for a numerical control code executing the succeeding block without waiting the block end of a certain numerical control code and a table for a numerical control code waiting the end of an unended block at the time of the existence of the unended block. CONSTITUTION:A numerical control code table area is secured in a RAM 6 so that reference data can be inputted from a keyboard 3 to the area. Or, a numerical control code table may be integrated in a ROM of a program memory 4. Whether the numerical control code to be executed is a numerical control code to execute the succeeding block without waiting the block end or not is compared with the contents of the table, and at the time of discrepancy, the end of the execution of the block is waited. When the numerical control code to be successively executed has an unended block at the time of coincidence with the table, the table is compared with a table for a numerical control code waiting the end of the block, and when both tables coincide with each other, the end of the block is waited. At the time of discrepancy, the block is executed.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は数値制御コードにより動作を行なう数値制御装
置に関し、工作機械・ブロック等に適用可能なものであ
る。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a numerical control device that operates using numerical control codes, and is applicable to machine tools, blocks, and the like.

従来の技術 従来の数値制御装置においては数値制御コードの実行は
各ブロックの終わりを意味するセミコロンに)で区切ら
れた各ブロックの動作終了により、2ヘージ 次のブロックを実行するシーケンシャルな動作を行なっ
ている。
2. Description of the Related Art In conventional numerical control devices, numerical control code is executed in a sequential manner, in which each block (separated by a semicolon indicating the end of each block) completes its operation and the next block is executed for 2 hages. ing.

発明が解決しようとする問題点 上記数値制御装置において、実行速度を遅くしている原
因の一つとして、補助機能の制御を行なうMコード、T
コードの実行がある。M、Tコードは、数値制御装置よ
り外部に出力し、外部より何らかの終了信号を数値制御
装置に入力することにより、数値制御装置は次のブロッ
クの実行へと動作を進める。一般的に、数値制御装置の
本来の目的である位置の制御(スライドの移動、モータ
の制御)に用する時間より、M、Tコードの実行時間の
方が長い。この時間は無駄時間と考えられている。
Problems to be Solved by the Invention In the numerical control device mentioned above, one of the causes of slow execution speed is the M code and T code that control the auxiliary functions.
There is code execution. The M and T codes are output from the numerical control device to the outside, and by inputting some kind of end signal to the numerical control device from the outside, the numerical control device proceeds to execute the next block. Generally, the execution time of the M and T codes is longer than the time used for position control (slide movement, motor control), which is the original purpose of the numerical control device. This time is considered wasted time.

本発明は、この無駄時間を軽減することを目的とする。The present invention aims to reduce this wasted time.

問題点を解決するだめの手段 上記問題点を解決するため、本発明の数値制御装置は、
RAMまたはROMに、数値制御コードのブロック終了
を待たずに次のブロックを実行す3t\−7゛ る数値制御コードのテーブルと、終了していないブロッ
クがある時にそのブロックの終了を待つ数値制御コード
のテーブルを有してなるものである。
Means for Solving the Problems In order to solve the above problems, the numerical control device of the present invention includes:
There is a table of numerical control codes in RAM or ROM that executes the next block without waiting for the end of the numerical control code block, and a numerical control code that waits for the end of the block when there is an unfinished block. It has a table of codes.

作  用 上記構成において、数値制御コードのブロック終了を待
たずに次のブロックを実行する数値制御コードのテーブ
ルに、実行時間が長く、且つ、終了を待たずに、次のブ
ロックを実行しても、正常に動作を行なう数値制御コー
ドを登録することにより、前述の無駄時間の軽減を図る
ことが可能と々る。
Effect In the above configuration, there is a table of numerical control code that executes the next block without waiting for the block of numerical control code to finish, and if the execution time is long and the next block is executed without waiting for the block of numerical control code to finish. By registering numerical control codes that operate normally, it is possible to reduce the aforementioned wasted time.

しかしながら、各ブロックの実行時間は、プログラムの
内容により(移動距離の長短等)差があり、終了を待た
ずに、次のブロックを実行すると、正常に動作を行なえ
ない時が発生する。
However, the execution time of each block varies depending on the content of the program (such as length of travel distance, etc.), and if the next block is executed without waiting for the program to finish, normal operation may not be possible.

この為、終了していないブロックがある時に、そのブロ
ックの終了を待つ数値制御コードのテーブルを有するこ
とにより、プログラムの内容による、誤動作を防げる。
Therefore, when there is a block that has not been completed, by having a table of numerical control codes that wait for the completion of that block, malfunctions due to the contents of the program can be prevented.

実施例 以下、本発明の実施例について添付図面を参照して説明
する。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.

第1図において、1はCPU、2はCRT、 3はキー
ボード、4はプログラムメモリ(ROM/RAM)、6
は位置制御部、6はバッテリーバックアップされたRA
Mである。このRA M 7に数値制御コードテーブル
領域を確保し、キーボード3よ一す、数値制御コードテ
ーブル領域に基準データを入力できる様にしている。も
ちろん、バッテリーバックアップされたRAMeの変わ
りに、ROM等不揮発性メモリを用いてもよい。また、
プログラムメモ、す4のROMの中に数値制御コードテ
ーブルを組み込んでもよい。
In Figure 1, 1 is the CPU, 2 is the CRT, 3 is the keyboard, 4 is the program memory (ROM/RAM), and 6
is the position control unit, and 6 is the battery-backed RA.
It is M. A numerical control code table area is secured in this RAM 7, and reference data can be input into the numerical control code table area via the keyboard 3. Of course, a non-volatile memory such as a ROM may be used instead of the battery-backed RAMe. Also,
The numerical control code table may be incorporated into the ROM of the program memo.

この様に構成された、数値制御装置を旋盤に適用した時
のプログラムの実行手順を以下に示す。
The program execution procedure when the numerical control device configured in this way is applied to a lathe is shown below.

まず、第1制御フローIで、実行する数値制御コードが
ブロック終  ′、  ゛   、了を待たずに次のブ
ロックを実行する数値制御コードか否かをテーブルと比
較し、一致しなければ、第2制御フロー■でそのブロッ
クの実行終了を待5A−ン つ。
First, in the first control flow I, the numerical control code to be executed is compared with the table to see if it executes the next block without waiting for the end of the block. 2. In the control flow ■, wait for the end of execution of the block.

テーブルと一致すれば、第3制御ンロー■で、次に実行
する数値制御コードが、終了していないブロックがある
時にそのブロックの終了を待つ数値制御コードのテーブ
ルと比較し、一致すれば、第4制御ンロー■で終了を待
ち、一致しなければ、第6制御フロー■で次のブロック
を実行する。
If it matches the table, the numerical control code to be executed next is compared with the table of numerical control codes that wait for the completion of the block when there is an unfinished block, and if they match, the numerical control code to be executed next is Wait for completion in the 4th control flow ■, and if they do not match, execute the next block in the 6th control flow ■.

この様にして無駄時間の軽減を可能とする。In this way, it is possible to reduce wasted time.

さらに具体的に説明すると、第3図は数値制御プログラ
ムを示し、この数値制御プログラムのブロック11を実
行する時(本プログラムでは主軸モータの回転指令)、
第4図に示された数値制御コードのブロック終了を待た
ずに次のブロックを実行する数値制御コードと比較し、
一致するので主軸モータが回転し、ブロック11が動作
終了する前にブロック12.13を実行する。
To explain more specifically, FIG. 3 shows a numerical control program, and when executing block 11 of this numerical control program (in this program, rotation command of the spindle motor),
Comparing with the numerical control code shown in Fig. 4, which executes the next block without waiting for the end of the block,
Since they match, the spindle motor rotates and blocks 12 and 13 are executed before block 11 completes its operation.

ブロック14では、第5図に示された終了していないブ
ロックがある時に、そのブロックの終了を待つ数値制御
コードと比較し、一致するのでブロック11の実行終了
を待ち、終了するとプロワ6A−/゛ り14を実行する。
In block 14, when there is a block that has not been completed as shown in FIG. Execute step 14.

このようにして、ブロック11の実行中にブロック12
.13を実行することにより、トータル的な実行速度を
上げることができる。
In this way, during the execution of block 11, block 12
.. By executing step 13, the total execution speed can be increased.

一般に主軸モータの回転は、0.6〜2.5秒程度要す
るので、上記数値制御装置では0.5〜2.5秒の時間
短縮が行なわれることになる。
Generally, it takes about 0.6 to 2.5 seconds to rotate the main shaft motor, so the above-mentioned numerical control device reduces the time by 0.5 to 2.5 seconds.

発明の効果 以上のように本発明によれば数値制御コードのブロック
終了を待たずに次のブロックを実行する数値制御コード
のテーブルによシ、千差万別に作成、された数値制御プ
ログラムより、ブロック終了を待たない数値制御コード
の認識を可能とした。
Effects of the Invention As described above, according to the present invention, a numerical control program created and created in various ways based on a table of numerical control codes that executes the next block without waiting for the end of a block of numerical control codes. It is now possible to recognize numerical control codes without waiting for the end of a block.

終了していないブロックがある時に、そのブロックの終
了を待つ数値制御コードのテーブルにより、数値制御プ
ログラムの作成方法の影響をうけることなく、次のブロ
ックを実行するか否かの判定が可能となる。
When there is a block that has not finished, it is possible to determine whether to execute the next block without being affected by the method of creating the numerical control program by using a table of numerical control codes that wait for the block to finish. .

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

第1図は本発明の実施例を示す数値制御装置の7 ヘ=
ノ ブロック図、第2図は同装置による動作順序を示すフロ
ーチャート、第3図は同装置のプログラムメモリに収納
された数値制御コードのブロックを示す図、第4図は同
装置のRAMに、数値制御コードのブロック終了を待た
ずに次のブロックを実行する数値制御コードを収納した
状態を示す図、第5図は同RAMに、終了していないブ
ロックがある時に、そのブロックの終了を待つ数値制御
コードを収納した状態を示す図である。 1・・・・・・CPU14・・・・・・プログラムメモ
リ、5・・・・・・位置制御部、6・・・・・・RAM
0代理人の氏名 弁理士 中 尾 敏 男 ほか1名第
 1 図 第2図 第3図 ■ 4図    第5図
FIG. 1 shows a numerical control device showing an embodiment of the present invention.
FIG. 2 is a flowchart showing the sequence of operations performed by the same device, FIG. 3 is a block diagram of the numerical control code stored in the program memory of the same device, and FIG. 4 is a block diagram showing numerical control code stored in the RAM of the device. A diagram showing a state in which numerical control code is stored to execute the next block without waiting for the end of the control code block. Figure 5 shows the numerical value that waits for the end of the block when there is an unfinished block in the same RAM. FIG. 3 is a diagram showing a state in which control codes are stored. 1... CPU14... Program memory, 5... Position control section, 6... RAM
0 Name of agent Patent attorney Toshio Nakao and 1 other person Figure 1 Figure 2 Figure 3 ■ Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 数値制御コードにより動作を行なう数値制御装置におい
て、RAMまたはROMに、数値制御コードのブロック
終了を待たずに次のブロックを実行する数値制御コード
のテーブルと、終了していないブロックがある時にその
ブロックの終了を待つ数値制御コードのテーブルを有す
る数値制御装置。
In a numerical control device that operates using numerical control codes, RAM or ROM contains a numerical control code table that executes the next block without waiting for the completion of the numerical control code block, and a table for executing the next block when there is an unfinished block. A numerical control device that has a table of numerical control codes that wait for the completion of the numerical control code.
JP29186986A 1986-12-08 1986-12-08 Numerical controller Pending JPS63143607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29186986A JPS63143607A (en) 1986-12-08 1986-12-08 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29186986A JPS63143607A (en) 1986-12-08 1986-12-08 Numerical controller

Publications (1)

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

Family

ID=17774485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29186986A Pending JPS63143607A (en) 1986-12-08 1986-12-08 Numerical controller

Country Status (1)

Country Link
JP (1) JPS63143607A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63311408A (en) * 1987-06-12 1988-12-20 Brother Ind Ltd Numerical controller
JP2010033150A (en) * 2008-07-25 2010-02-12 Okuma Corp Numerically controlled machine tool
JP2011039701A (en) * 2009-08-07 2011-02-24 Mitsubishi Electric Corp Numerical control device, method and program
JP2013050934A (en) * 2011-08-31 2013-03-14 Brother Ind Ltd Machining center and machining method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6120104A (en) * 1984-07-06 1986-01-28 Fanuc Ltd Numerical control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6120104A (en) * 1984-07-06 1986-01-28 Fanuc Ltd Numerical control system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63311408A (en) * 1987-06-12 1988-12-20 Brother Ind Ltd Numerical controller
JP2010033150A (en) * 2008-07-25 2010-02-12 Okuma Corp Numerically controlled machine tool
JP2011039701A (en) * 2009-08-07 2011-02-24 Mitsubishi Electric Corp Numerical control device, method and program
JP2013050934A (en) * 2011-08-31 2013-03-14 Brother Ind Ltd Machining center and machining method

Similar Documents

Publication Publication Date Title
WO2003067345A1 (en) Numeric control method and numeric control system
JP4311349B2 (en) Numerical control system
JPS59216205A (en) Numerical control device
JPS63143607A (en) Numerical controller
JPS63311408A (en) Numerical controller
JPH0542685B2 (en)
JPS60168206A (en) Numerical control device
JPH02151909A (en) Control device for industrial machine
JPS58103023A (en) Field input system for display terminal
JPS6125211A (en) Parallel processing numerical controller
JPS6149206A (en) Process operation method
JP2942812B2 (en) Device for creating a variant and variable production program
JPS59192440A (en) Control device for resumption of nc processing
JPH0545966B2 (en)
JPH06155103A (en) Machining controlling method for two opposed spindle lathe
JPH02159605A (en) Numerical controller
JP3259987B2 (en) Interactive numerical controller
JPH05197408A (en) Numerical controller
JPS61146448A (en) Chip removal controlling method in lathe
JPS6063610A (en) Numerical controller with graphic display device capable of drawing clamping device
JPH06110525A (en) Numerical controller
JPS60263210A (en) Program generating method of numerical control device
JPH07113851B2 (en) Numerical control machine tool
JPS6290705A (en) Controlling system for numerical controller
JPS59142614A (en) Numerical controller of machine tool