JP2005108205A - Numerical control device - Google Patents

Numerical control device Download PDF

Info

Publication number
JP2005108205A
JP2005108205A JP2004261374A JP2004261374A JP2005108205A JP 2005108205 A JP2005108205 A JP 2005108205A JP 2004261374 A JP2004261374 A JP 2004261374A JP 2004261374 A JP2004261374 A JP 2004261374A JP 2005108205 A JP2005108205 A JP 2005108205A
Authority
JP
Japan
Prior art keywords
program
check
abnormality
numerical control
checking
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
JP2004261374A
Other languages
Japanese (ja)
Inventor
Haruhiko Kozai
治彦 香西
Eiji Genma
栄治 弦間
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP2004261374A priority Critical patent/JP2005108205A/en
Publication of JP2005108205A publication Critical patent/JP2005108205A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently perform checking of a machining program, and actual machining. <P>SOLUTION: In the process background of machining by performing the machining program and by driving each shaft, the checking process of the machining program is performed at high speed. Only when a set corner R and chamfering block insertion conditions is met, the corner R and chamfering block is inserted into the joint of blocks (203, 204). Forward blocks and inserted blocks are executed at maximum feeding speed and at maximum acceleration, and format checking, stroke limit checking and interference checking are performed (205). In case of abnormality, an alarm flag is made to be '1' and after revising the program, it is made to be '0' (207-210). The checking actions are performed after returning to a desired program position (211-213, 201). In the actual foreground machining process, if the alarm flag is '1', a single block stop is implemented and re-execution is initialized by a re-start command. Since the actual machining and program checking are performed in parallel, it would be more efficient. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、数値制御装置に関し、特に、プログラムチェックを行う数値制御装置に関する。   The present invention relates to a numerical control device, and more particularly to a numerical control device that performs a program check.

数値制御装置で制御される工作機械によって実際に加工を行う場合、加工プログラムのフォーマットチェック、ストロークリミットチェック(進入禁止領域への進入チェック)、工具や機械構造物などとの干渉チェックを行い加工プログラムが正しく実行できるか確認し、正しく実行できることが確認された後、加工プログラムを実行し、実加工を行っている。
数値制御装置におけるこのプログラムチェックについては、上述したプログラムチェック以外に、本願発明に関連するような発明が記載された公知文献は発見できなかった。
When machining is actually performed by a machine tool controlled by a numerical control device, the machining program is checked by checking the format of the machining program, checking the stroke limit (checking the approach to the entry prohibited area), checking for interference with tools and machine structures, etc. After confirming whether or not can be executed correctly, and confirming that it can be executed correctly, the machining program is executed to perform actual machining.
Regarding this program check in the numerical control device, other than the above-described program check, no publicly known document describing an invention related to the present invention could be found.

従来から行われている加工プログラムに対してフォーマットチェック、ストロークリミットチェック、干渉チェックのプログラムチェックを行った後に、実際の加工を行う方法では、加工プログラムの確認が終了するまで実際の加工を始めることができず、作業効率が悪い。
そこで、本発明の目的は、プログラムのチェックと実際の加工を効率よく実行できる数値制御装置を提供することにある。
In the method of performing actual machining after performing the program check for format check, stroke limit check, and interference check for the machining program that has been performed conventionally, the actual machining is started until the machining program confirmation is completed. Work efficiency is poor.
Therefore, an object of the present invention is to provide a numerical control apparatus that can efficiently execute program checking and actual machining.

本願請求項1に係る発明は、プログラムに従って制御対象物を駆動制御する数値制御装置において、前記プログラムを実行し、前記制御対象物への駆動指令を出力するフォアグランドプログラム実行手段と、前記制御対象物を駆動制御処理に並行して制御対象物への駆動指令を出力することなく、前記プログラムを実行すると共に、プログラム異常をチェックするプログラムチェック手段を備えたバックグランドプログラム実行手段と、前記バックグランドプログラム実行手段にてプログラム異常が検出されたとき、その異常が検出されたブロックに対応して異常を記憶する手段と、前記フォアグランドプログラム実行手段によるプログラム実行時にプログラム異常が記憶された前のブロック終点で停止させる手段とを設け、プログラムチェックをバックグランド処理で高速に行うようにした。
請求項2に係る発明は、さらに、前記バックグランドプログラム実行手段によるプログラム実行を、最大送り速度、最大加減時定数にて行うものとした。又、請求項3に係る発明は、前記プログラムチェック手段により実施されるチェックを、加工プログラムのフォーマットチェック、進入禁止領域への進入チェック、干渉チェックのプログラム異常のチェックとした。
The invention according to claim 1 of the present application is a numerical control device that drives and controls a controlled object according to a program, executes the program, and outputs a foreground program execution unit that outputs a drive command to the controlled object; The program is executed without outputting a drive command to the object to be controlled in parallel with the drive control process, and a background program execution means comprising a program check means for checking a program abnormality, and the background When a program abnormality is detected by the program execution means, a means for storing the abnormality corresponding to the block in which the abnormality is detected, and a block before the program abnormality is stored during the program execution by the foreground program execution means Means for stopping at the end point, and It was to perform at a high speed in the background processing a click.
In the invention according to claim 2, the program execution by the background program execution means is further performed at the maximum feed speed and the maximum adjustment time constant. According to a third aspect of the present invention, the checking performed by the program checking means is a machining program format check, an entry check into an entry prohibited area, and an interference check program abnormality check.

又、請求項4に係る発明は、前記バックグランドプログラム実行手段により、ブロックとブロックの間にコーナR及び面取りブロックを挿入して実行し、前記プログラムチェック手段は該実行に基づいてプログラムのチェックを行うものとした。請求項5に係る発明は、フォアグランド処理で実行される前記制御対象物を駆動制御するプログラムの実行時に挿入されたコーナR及び面取りブロックをも実行するものとした。請求項6に係る発明は、前記プログラムチェック手段でプログラム異常が検出されたとき、前記プログラムの編集を可能とする編集手段を備え、該編集手段でプログラムの修正が完了としたとき記憶手段に記憶したプログラム異常を消去する手段を備えるものとした。更に、請求項7に係る発明は、前記プログラムの任意のブロックを指定する指定手段を設け、前記編集手段でのプログラム修正後、前記指定手段で指定されたブロックから前記バックグランドプログラム実行手段でプログラムを実行し、プログラムチェックを再開するようにした。   According to a fourth aspect of the invention, the background program execution means inserts a corner R and a chamfer block between the blocks and executes the program, and the program check means checks the program based on the execution. To do. The invention according to claim 5 also executes the corner R and the chamfer block inserted when executing the program for driving and controlling the control object executed in the foreground process. The invention according to claim 6 is provided with an editing means for enabling editing of the program when a program abnormality is detected by the program checking means, and storing in the storage means when the editing of the program is completed by the editing means. A means for erasing the programmed abnormality is provided. Further, the invention according to claim 7 is provided with a specifying means for specifying an arbitrary block of the program, and after the program is corrected by the editing means, the program is executed by the background program executing means from the block specified by the specifying means. Was executed and the program check was resumed.

加工プログラムのチェック、確認と実際の加工を同時並行して行うことができるから、従来加工プログラムのチェック、確認のみに要していた時間が短縮され、作業効率を向上させることができる。また、プログラム異常でアラームが発生した場合でも、プログラム編集手段によってプログラムを修正することによって、実際の加工に影響なく、若しくは、実際の加工が停止しても、プログラム修正後、続行させることができるので、作業を容易に効率的に進めることができる。   Since the checking and confirmation of the machining program and the actual machining can be performed in parallel, the time required only for checking and confirming the conventional machining program can be shortened and the work efficiency can be improved. Even if an alarm is generated due to a program error, the program can be corrected by the program editing means without affecting the actual machining or even if the actual machining stops, the program can be continued after the modification. Therefore, the work can be easily and efficiently proceeded.

図1は本発明の一実施形態の数値制御装置10の要部ブロック図である。CPU11は数値制御装置10を全体的に制御するプロセッサである。CPU11は、ROM12に格納されたシステムプログラムを、バス19を介して読み出し、該システムプログラムに従って数値制御装置全体を制御する。RAM13には一時的な計算データや表示データ及びCRTや液晶等で構成される表示器とキーボート等で構成される手動入力手段とからなる表示器/手動入力手段ユニット20を介してオペレータが入力した各種データが格納される。CMOSメモリ14は図示しないバッテリでバックアップされ、数値制御装置10の電源がオフされても記憶状態が保持される不揮発性メモリとして構成される。CMOSメモリ14中には、インターフェイス15を介して読み込まれた加工プログラムや表示器/手動入力手段ユニット20を介して入力された加工プログラム等が記憶される。また、ROM12には、加工プログラムの作成及び編集のために必要とされる編集機能や後述するフォアグランド処理、バックグランド処理を実施するための各種システムプログラムが予め格納されている。   FIG. 1 is a principal block diagram of a numerical controller 10 according to an embodiment of the present invention. The CPU 11 is a processor that controls the numerical controller 10 as a whole. The CPU 11 reads out a system program stored in the ROM 12 via the bus 19 and controls the entire numerical control device according to the system program. The RAM 13 is input by an operator via a display / manual input means unit 20 comprising temporary calculation data, display data, a display composed of CRT, liquid crystal, etc. and manual input means composed of a keyboard or the like. Various data are stored. The CMOS memory 14 is configured as a non-volatile memory that is backed up by a battery (not shown) and that retains the storage state even when the power of the numerical controller 10 is turned off. In the CMOS memory 14, a machining program read via the interface 15, a machining program input via the display / manual input means unit 20, and the like are stored. The ROM 12 stores in advance various editing programs required for creating and editing a machining program and various system programs for performing foreground processing and background processing described later.

インターフェイス15は、数値制御装置10と外部機器との接続を可能とするものである。PMC(プログラマブル・マシン・コントローラ)16は、数値制御装置10に内蔵されたシーケンスプログラムで制御対象物の工作機械の補助装置(例えば、工具交換用のロボットハンドといったアクチュエータ)にI/Oユニット17を介して信号を出力し制御する。また、数値制御装置で制御される制御対象物である工作機械の本体に配備された操作盤の各種スイッチ等の信号を受け、必要な信号処理をした後、CPU11に渡す。 各軸の軸制御回路30〜32はCPU11からの各軸の移動指令量を受けて、各軸の指令をサーボアンプ40〜42に出力する。サーボアンプ40〜42はこの指令を受けて、機械(制御対象物)の各軸のサーボモータ50〜52を駆動する。各軸のサーボモータ50〜52は位置・速度検出器を内蔵し、この位置・速度検出器からの位置・速度フィードバック信号を軸制御回路30〜32にフィードバックし、位置・速度のフィードバック制御を行う。なお、図1では、位置・速度のフィードバックについては省略している。   The interface 15 enables connection between the numerical controller 10 and an external device. The PMC (programmable machine controller) 16 is a sequence program built in the numerical controller 10, and attaches the I / O unit 17 to an auxiliary device of a machine tool to be controlled (for example, an actuator such as a robot hand for tool change). Through which signals are output and controlled. In addition, it receives signals from various switches on the operation panel provided on the machine tool main body, which is a control object controlled by the numerical control device, performs necessary signal processing, and then passes them to the CPU 11. The axis control circuits 30 to 32 for each axis receive the movement command amount for each axis from the CPU 11 and output the command for each axis to the servo amplifiers 40 to 42. In response to this command, the servo amplifiers 40 to 42 drive the servo motors 50 to 52 of each axis of the machine (control target). The servo motors 50 to 52 of each axis have a built-in position / speed detector, and a position / speed feedback signal from the position / speed detector is fed back to the axis control circuits 30 to 32 to perform position / speed feedback control. . In FIG. 1, the position / speed feedback is omitted.

また、スピンドル制御回路60は主軸回転指令を受け、スピンドルアンプ61にスピンドル速度信号を出力する。スピンドルアンプ61はスピンドル速度信号を受けて、主軸モータ62を指令された回転速度で回転させる。ポジションコーダ63は、主軸モータ62の回転に同期して帰還パルスをスピンドル制御回路60にフィードバックし、速度制御を行う。   The spindle control circuit 60 receives a spindle rotation command and outputs a spindle speed signal to the spindle amplifier 61. The spindle amplifier 61 receives the spindle speed signal and rotates the spindle motor 62 at the commanded rotational speed. The position coder 63 feeds back a feedback pulse to the spindle control circuit 60 in synchronization with the rotation of the spindle motor 62 to perform speed control.

上述した数値制御装置の構成は、従来の数値制御装置の構成と同一であり、相違する点は、後述するように、フォアグランド処理で通常の加工プログラムの実行処理を行い各軸制御回路30〜32に移動指令を分配し各軸サーボモータ50〜52を駆動すると共にバックグランド処理で、各軸への移動指令の出力は行わず数値処理のみ行う加工プログラムの実行処理を高速で行うようにした点である。   The configuration of the numerical control device described above is the same as the configuration of the conventional numerical control device. The difference is that, as will be described later, a normal machining program is executed in the foreground processing, and each axis control circuit 30 to The movement command is distributed to 32, the servo motors 50 to 52 are driven, and background processing is performed, and the machining program execution process that performs only numerical processing is performed at high speed without outputting the movement command to each axis. Is a point.

図2は、フォアグランドで実行する処理のフローチャートであり、図3は、フォアグランド処理と並行して同時に実行されるバックグランド処理のフローチャートである。図2に示すフォアグランド処理は通常の加工プログラムの処理と同様である。バックグランドの処理は、この数値制御装置10で制御される機械の最高送り速度、最大加速度で加工プログラムを実行し、かつ、加工プログラムを実行して得られる各軸への移動指令は出力されず、数値処理のみが行われ、プログラムチェックがなされるものである。   FIG. 2 is a flowchart of processing executed in the foreground, and FIG. 3 is a flowchart of background processing executed simultaneously with the foreground processing. The foreground process shown in FIG. 2 is the same as the normal machining program process. In the background process, the machining program is executed at the maximum feed speed and the maximum acceleration of the machine controlled by the numerical control device 10, and the movement command to each axis obtained by executing the machining program is not output. Only numerical processing is performed and a program check is performed.

数値制御装置10に加工プログラム実行開始指令が入力されると、CPU11はフォアグランドで図2に示す処理を開始し、バックグランドで図3に示す処理を開始する。まず、バックグランド処理について説明する。なお、各軸のストロークリミットは工作機械に応じて予め設定されており、干渉チェックについては、例えば工具や機械構造物等の干渉領域をパラメータで設定しておく。更に、後述するようにコーナR、面取りブロックの挿入条件もパラメータ設定しておく。   When a machining program execution start command is input to the numerical control device 10, the CPU 11 starts the process shown in FIG. 2 in the foreground, and starts the process shown in FIG. 3 in the background. First, background processing will be described. In addition, the stroke limit of each axis is set in advance according to the machine tool, and for the interference check, for example, an interference region such as a tool or a machine structure is set as a parameter. Further, as described later, the corner R and chamfer block insertion conditions are also set with parameters.

このバックグランド処理は高速で処理されるもので、加工プログラムの最初のブロックを読み出しレジスタRe1に格納し(ステップ200)、該レジスタRe1の記憶内容をレジスタRe2に格納し(ステップ201)、加工プログラムから次のブロックを読み出しレジスタRe1に格納する(ステップ202)。次に、このレジスタRe1,Re2に格納された指令内容から、予めパラメータ設定されているコーナR、面取りブロックの挿入条件に合致しているか否か判断する(ステップ203)。例えば、従来から行われているように、直線移動指令と直線移動指令のブロックの間にコーナR、面取りブロックを挿入するような場合など、コーナR、面取りブロックを挿入する条件をパラメータで設定しておく。   This background processing is performed at high speed. The first block of the machining program is read and stored in the register Re1 (step 200), and the storage content of the register Re1 is stored in the register Re2 (step 201). The next block is read out and stored in the register Re1 (step 202). Next, it is determined from the contents of the commands stored in the registers Re1 and Re2 whether or not the corner R and chamfer block insertion conditions set in advance are met (step 203). For example, the condition for inserting the corner R and the chamfer block is set as a parameter in the case where the corner R and the chamfer block are inserted between the linear movement command and the block of the linear movement command as is conventionally done. Keep it.

そして、このパラメータで設定された条件に合致するか否か判断し、合致している場合には、このレジスタRe1とRe2に格納されたブロック間にコーナR、面取りブロックを挿入し(ステップ204)、レジスタRe2に格納されたブロックの指令を実行すると共に、挿入したコーナR、面取りブロックをも実行し、加工プログラムのフォーマットチェック、ストロークリミットチェック、干渉チェックを行う(ステップ205)。また、ステップ203でパラメータで設定された条件に合致するか否か判断された場合には、コーナR、面取りブロックを挿入することなくステップ205に移行し、レジスタRe2に格納されたブロックの指令を実行しプログラムチェックを行う。このステップ205におけるプログラムの実行においては、指令された送り速度を無視して最高送り速度でかつ最大加速度で加工プログラムを実行する。この実行によって加工プログラムのフォーマットが異なりプログラム異常ではないか、プログラム実行により求められた各軸移動位置がそのストロークリミットを越えていないかのアラーム発生を判別し(ステップ206)、フォーマットの異常はなく、各軸移動位置がストロークリミットも越えていなければ、アラーム発生なしとして、ステップ214に移行する。又、アラームが発生している場合には、当該ブロック(レジスタRe2に記憶されたブロック)に対応してメモリにアラームフラグを「1」にセットしプログラム異常を記憶する(ステップ207)。そして、オペレータによるプログラム編集を可能にする(ステップ208)。オペレータが表示器/手動入力手段ユニット20を介してプログラム異常を修正し、プログラム修正完了指令が入力されると(ステップ209)、記憶していたアラームフラグをリセットし「0」とする(ステップ210)。そしてオペレータは、所望する加工プログラムチェック位置まで戻し、プログラムチェックの再スタート指令を入力すると(ステップ211,212)、CPU11は、この戻されたプログラムチェック位置の最初のブロックをレジスタRe1に格納し(ステップ213)、プログラム終了か判断し(ステップ214)、終了してなければステップ201に戻り、前述したステップ201以下の処理を実行する。
以上のように、バックグランドの処理では加工プログラムが、最高送り速度、最大加速度で、かつ各軸への移動指令への分配は行わず、高速で処理されてプログラムチェックがなされ、プログラム異常があれば、アラームフラグが「1」にセットされ、プログラム修正が完了するとこのアラームフラグが「0」にリセットされる処理が実行される。
Then, it is determined whether or not the condition set by this parameter is met. If the condition is met, a corner R and a chamfer block are inserted between the blocks stored in the registers Re1 and Re2 (step 204). In addition to executing the block command stored in the register Re2, the inserted corner R and chamfer block are also executed, and the machining program format check, stroke limit check, and interference check are performed (step 205). If it is determined in step 203 whether or not the condition set by the parameter is met, the process proceeds to step 205 without inserting the corner R and the chamfer block, and the block command stored in the register Re2 is designated. Execute and check program. In executing the program in step 205, the machining program is executed at the maximum feed speed and the maximum acceleration ignoring the commanded feed speed. This execution determines whether the machining program format is different and is not a program error, or whether an alarm has occurred whether each axis movement position obtained by the program execution exceeds the stroke limit (step 206), and there is no format error. If each axis movement position does not exceed the stroke limit, no alarm is generated and the process proceeds to step 214. If an alarm has occurred, the alarm flag is set to “1” in the memory corresponding to the block (the block stored in the register Re2), and the program abnormality is stored (step 207). Then, the program can be edited by the operator (step 208). When the operator corrects the program abnormality via the display / manual input means unit 20 and a program correction completion command is input (step 209), the stored alarm flag is reset to "0" (step 210). ). When the operator returns to the desired machining program check position and inputs a program check restart command (steps 211 and 212), the CPU 11 stores the first block of the returned program check position in the register Re1 ( In step 213), it is determined whether the program is finished (step 214). If not finished, the process returns to step 201, and the processing from step 201 onward is executed.
As described above, in the background processing, the machining program has the maximum feed speed and maximum acceleration, and is not distributed to the movement commands for each axis. For example, the alarm flag is set to “1”, and when the program correction is completed, the alarm flag is reset to “0”.

一方、フォアグランドでは、図2に示すように、従来と同様な加工プログラムの実行処理を行う。ブロックを読み(ステップ100)、該ブロックに対してアラームフラグが「1」にセットされていないか判断し(ステップ101)、「1」にセットされていなければ、当該ブロックを実行し、各軸制御回路30〜32に移動指令を分配し、各軸のサーボモータ50〜52を駆動する(ステップ102)。そして、プログラム終了か判断し(ステップ103)、終了でなければステップ100に戻る。ステップ101でアラームフラグが「1」であることが検出された場合は、ステップ100で読み出したブロックを実行することなくシングルブロック停止を行う(ステップ104)。以下、再開の起動指令が入力されるまで、この停止状態を保持する。
なお、バックグランド処理で挿入されたコーナR、面取りブロックもこのフォアグランドでは、加工プログラムのブロックとして実施される。この場合、ブロック間での減速を少なくすることができ、実加工の時間の短縮を図ることができる。
On the other hand, in the foreground, as shown in FIG. Read the block (step 100), determine whether the alarm flag is set to "1" for the block (step 101), and if not set to "1", execute the block and execute each axis The movement command is distributed to the control circuits 30 to 32, and the servo motors 50 to 52 of each axis are driven (step 102). Then, it is determined whether or not the program is finished (step 103). When it is detected in step 101 that the alarm flag is “1”, single block stop is performed without executing the block read in step 100 (step 104). Hereinafter, this stop state is maintained until a restart command is input.
Note that the corner R and the chamfering block inserted in the background processing are also implemented as processing program blocks in this foreground. In this case, deceleration between the blocks can be reduced, and the actual machining time can be shortened.

以上のように、アラームフラグが「1」にセットされていると、そのブロックは実行されず、シングルブロック停止がなされる。そのため、プログラム異常のブロックについては、実際の加工はなされないことになる。そしてオペレータがプログラム修正処理をするとアラームフラグが「0」にリセットとされるので(ステップ208〜210)、オペレータはプログラム修正して、再開の起動指令を入力すると、フォアグランド処理では、停止していたプログラム位置から、ステップ100以下の処理が開始される。又バックグランドの処理は高速で実施されるため、アラームが発生し、該アラームによる実際の加工の停止前に、プログラムの修正が完了することが多く、完了していれば、アラームフラグは「0」にリセットされるものであるから、加工停止することなく続行されることになる。   As described above, when the alarm flag is set to “1”, the block is not executed and the single block is stopped. Therefore, the actual processing is not performed for the block having the program abnormality. When the operator corrects the program, the alarm flag is reset to “0” (steps 208 to 210). When the operator corrects the program and inputs a restart instruction, the foreground process stops. The processing after step 100 is started from the program position. In addition, since background processing is performed at a high speed, an alarm is generated, and the correction of the program is often completed before the actual machining is stopped by the alarm. Since the process is reset to "", the process is continued without stopping the machining.

本発明の一実施形態の要部ブロック図である。It is a principal part block diagram of one Embodiment of this invention. 同実施形態におけるフォアグランドでの処理のフローチャートである。It is a flowchart of the process in the foreground in the embodiment. 同実施形態におけるバックグランドでの処理のフローチャートである。It is a flowchart of the process in the background in the embodiment.

符号の説明Explanation of symbols

10 数値制御装置
50、51,52 サーボモータ
62 主軸モータ
63 ポジションコーダ
10 Numerical control device 50, 51, 52 Servo motor 62 Spindle motor 63 Position coder

Claims (7)

プログラムに従って制御対象物を駆動制御する数値制御装置において、
前記プログラムを実行し、前記制御対象物への駆動指令を出力するフォアグランドプログラム実行手段と、
前記制御対象物を駆動制御処理に並行して制御対象物への駆動指令を出力することなく、前記プログラムを実行すると共に、プログラム異常をチェックするプログラムチェック手段を備えたバックグランドプログラム実行手段と、
前記バックグランドプログラム実行手段にてプログラム異常が検出されたとき、その異常が検出されたブロックに対応して異常を記憶する手段と、
前記フォアグランドプログラム実行手段によるプログラム実行時にプログラム異常が記憶された前のブロック終点で停止させる手段と、
を備えたことを特徴とする数値制御装置。
In a numerical control device that drives and controls a controlled object according to a program,
Foreground program execution means for executing the program and outputting a drive command to the control object;
The program is executed without outputting a drive command to the control object in parallel with the drive control processing of the control object, and a background program execution means including a program check means for checking a program abnormality,
When a program abnormality is detected by the background program execution means, means for storing the abnormality corresponding to the block in which the abnormality is detected;
Means for stopping at the end point of the block before the program abnormality was stored during the program execution by the foreground program execution means;
A numerical control device comprising:
前記バックグランドプログラム実行手段は、最大送り速度、最大加減時定数にてプログラムを実行することを特徴とする請求項1に記載の数値制御装置。   2. The numerical control apparatus according to claim 1, wherein the background program execution means executes the program at a maximum feed speed and a maximum adjustment time constant. 前記プログラムチェック手段は、加工プログラムのフォーマットチェック、進入禁止領域への進入チェック、干渉チェックのプログラム異常のチェックを行うことを特徴とする請求項1又は請求項2に記載の数値制御装置。   The numerical control apparatus according to claim 1, wherein the program check unit performs a program abnormality check of a machining program format check, an entry check into an entry prohibited area, and an interference check. 前記バックグランドプログラム実行手段は、ブロックとブロックの間にコーナR及び面取りブロックを挿入して実行し、前記プログラムチェック手段は該実行に基づいてプログラムのチェックを行うことを特徴とする請求項1乃至3の内いずれか1項に記載の数値制御装置。   The background program execution means inserts a corner R and a chamfer block between the blocks and executes the program, and the program check means checks the program based on the execution. 4. The numerical control device according to any one of 3. フォアグランド処理で実行される前記制御対象物を駆動制御するプログラムの実行時には、挿入されたコーナR及び面取りブロックをも実行することを特徴とする請求項4に記載の数値制御装置。   The numerical control device according to claim 4, wherein the inserted corner R and the chamfer block are also executed when the program for driving and controlling the control object executed in the foreground process is executed. 前記プログラムチェック手段でプログラム異常が検出されたとき、前記プログラムの編集を可能とする編集手段を備え、該編集手段でプログラムの修正が完了としたとき記憶手段に記憶したプログラム異常を消去する手段を備えることを特徴とする請求項1乃至5の内いずれか1項に記載の数値制御装置。   Editing means for enabling editing of the program when a program abnormality is detected by the program checking means, and means for erasing the program abnormality stored in the storage means when correction of the program is completed by the editing means; The numerical control apparatus according to claim 1, further comprising: 前記プログラムの任意のブロックを指定する指定手段を有し、前記編集手段でのプログラム修正後、前記指定手段で指定されたブロックから前記バックグランドプログラム実行手段でプログラムを実行し、プログラムチェックを再開することを特徴とする請求項6に記載の数値制御装置。
A specifying means for specifying an arbitrary block of the program is provided, and after the program is corrected by the editing means, the program is executed by the background program executing means from the block specified by the specifying means, and the program check is resumed. The numerical control apparatus according to claim 6.
JP2004261374A 2003-09-10 2004-09-08 Numerical control device Pending JP2005108205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004261374A JP2005108205A (en) 2003-09-10 2004-09-08 Numerical control device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003318781 2003-09-10
JP2004261374A JP2005108205A (en) 2003-09-10 2004-09-08 Numerical control device

Publications (1)

Publication Number Publication Date
JP2005108205A true JP2005108205A (en) 2005-04-21

Family

ID=34554287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004261374A Pending JP2005108205A (en) 2003-09-10 2004-09-08 Numerical control device

Country Status (1)

Country Link
JP (1) JP2005108205A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110097624A (en) * 2010-02-23 2011-08-31 스타 마이크로닉스 컴퍼니 리미티드 Control apparatus of machine tool and method of controlling operation of the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110097624A (en) * 2010-02-23 2011-08-31 스타 마이크로닉스 컴퍼니 리미티드 Control apparatus of machine tool and method of controlling operation of the same
KR101686518B1 (en) 2010-02-23 2016-12-14 스타 마이크로닉스 컴퍼니 리미티드 Control apparatus of machine tool and method of controlling operation of the same

Similar Documents

Publication Publication Date Title
JP4374045B2 (en) Numerical control device with program restart function
JP4280241B2 (en) Numerical control device having learning control function
JP3671020B2 (en) Numerical controller
US9310799B2 (en) Numerical controller having function of operation based on table format data
JP4271159B2 (en) Interactive numerical controller
JP4282631B2 (en) Numerical control device that operates with tabular data
US8155779B2 (en) Numerical controller with tabular data for operating arbitrary axes
US7024269B2 (en) Numerical control apparatus
US9804583B2 (en) Numerical control device
JP2007245247A (en) Machine having program validation function
JP2006004275A (en) Numerical control device
WO1992013302A1 (en) Method of restarting operation of punch press machine and numerically controlled device
JP2006172388A (en) Numerical controller
JP2014026430A (en) Numerical control device having function to display differences in status at suspension and at restart of machining
JPH11143519A (en) Acceleration-deceleration control method for numerical control, and numerical controller
US10162335B2 (en) Numerical controller capable of neighboring point search with consideration for tool attitude
US10048677B2 (en) Numerical controller that shortens cycle time of machining program
JP4116640B2 (en) Numerical control device with multi-system control function
EP1403747A2 (en) Numerical controller
JP2008269483A (en) Numerical controller
US6397123B1 (en) Numerical control apparatus
JP2005108205A (en) Numerical control device
JP2004326177A (en) Numerical control device
JP4233559B2 (en) Numerically controlled machine tool
JP2003225783A (en) Method and device for resuming laser beam machining after midway stoppage

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20050815

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051025

A521 Written amendment

Effective date: 20051216

Free format text: JAPANESE INTERMEDIATE CODE: A523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060613