JP2003022109A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JP2003022109A
JP2003022109A JP2001205544A JP2001205544A JP2003022109A JP 2003022109 A JP2003022109 A JP 2003022109A JP 2001205544 A JP2001205544 A JP 2001205544A JP 2001205544 A JP2001205544 A JP 2001205544A JP 2003022109 A JP2003022109 A JP 2003022109A
Authority
JP
Japan
Prior art keywords
personal computer
restart
block
numerical control
interpolation
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
JP2001205544A
Other languages
Japanese (ja)
Inventor
Koji Tanaka
康治 田中
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.)
Okuma Corp
Original Assignee
Okuma Corp
Okuma Machinery Works 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 Okuma Corp, Okuma Machinery Works Ltd filed Critical Okuma Corp
Priority to JP2001205544A priority Critical patent/JP2003022109A/en
Publication of JP2003022109A publication Critical patent/JP2003022109A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a numerical controller having a numerical control part and a personal computer part, to enable interruption of a processing without generating failures such as bite in a work processing surface when the personal computer falls in an abnormal stop state and to enable automatic restart of the processing at an interrupted position after restart of the personal computer part or the personal computer part and the numerical control part. SOLUTION: In the numerical controller having the numerical control part to perform an interpolation processing according to a prescribed processing program and a personal computer part to provide a personal computer function, it is provided with an abnormal stop detecting means to detect abnormal stop of the personal computer part and to output an interpolation stop instruction and an interpolating means to perform the interpolation processing based on block data to be generated by interpreting the processing program and to decelerate and stop the interpolation processing at the end of a block of the processing program when the interpolation stop instruction from the abnormal stop detecting means is received and the processing is interrupted by decelerating and stopping the interpolation processing at the end of the block when the personal computer is abnormally stopped.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、数値制御部とパソ
コン部とを備えた数値制御装置において、パソコン部の
異常停止により減速停止し加工を中断するとともに、数
値制御部及びパソコン部を再起動して加工を再開するこ
とが可能であるようにした数値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device having a numerical control section and a personal computer section, which causes a deceleration stop due to an abnormal stop of the personal computer section to interrupt machining and restart the numerical control section and the personal computer section. The present invention relates to a numerical control device capable of restarting machining.

【0002】[0002]

【従来の技術】近年、情報量が多く視認性の高い画面表
示の実現、ユーザ・インターフェース操作性及びカスタ
マイズ性の向上(例えば、グラフィカル・ユーザ・イン
ターフェースによる加工プログラムの管理や操作)、や
ネットワーク対応による機械の遠隔管理などの目的で、
パソコン(パーソナルコンピュータ)を搭載した数値制
御装置が登場している。
2. Description of the Related Art In recent years, realization of a screen display with a large amount of information and high visibility, improvement of user interface operability and customizability (for example, management and operation of machining programs by a graphical user interface), and network compatibility For the purpose of remote management of machines by
Numerical control devices equipped with a personal computer have appeared.

【0003】しかしながら、上述したようなパソコンを
搭載した数値制御装置においては、パソコン部の汎用オ
ペレーティング・システムやその上で動作するアプリケ
ーション・プログラムの不具合が原因で、パソコン部が
異常停止する可能性がある。このようなパソコン部が異
常停止になった状態では、パソコン部で制御されている
画面表示が制御不能になったため、数値制御装置の状態
を把握することが困難になるので、数値制御装置は数値
制御部が動作継続可能な状態であっても緊急停止処理を
行い加工を中断するようにするという問題点がある。
However, in the numerical control device equipped with the personal computer as described above, there is a possibility that the personal computer part may stop abnormally due to a defect in the general-purpose operating system of the personal computer part or an application program operating thereon. is there. In such a state where the personal computer section stops abnormally, the screen display controlled by the personal computer section becomes uncontrollable, making it difficult to grasp the state of the numerical control device. There is a problem that the processing is interrupted by performing an emergency stop process even if the control unit is in a state where the operation can be continued.

【0004】この問題点を解決するために、例えば、特
開2000−181524公報に開示されたように、数
値制御装置のパソコン部にだけではなく、数値制御装置
の数値制御部にも画面表示機能を持たせ、パソコン部が
異常停止状態に陥った場合には、ビデオ切換スイッチを
動作させて数値制御部からの画面表示を使用すること
で、数値制御装置の状態を把握できるようにした数値制
御装置が提案されている。
In order to solve this problem, for example, as disclosed in Japanese Patent Laid-Open No. 2000-181524, a screen display function is provided not only in the personal computer section of the numerical control apparatus but also in the numerical control section of the numerical control apparatus. When the computer section falls into an abnormal stop state, the video control switch is operated and the screen display from the numerical control section is used to grasp the state of the numerical control device. A device has been proposed.

【0005】図5は上述した数値制御装置の構成を示す
ブロック図である。図5に示されるように、該数値制御
装置においては、数値制御用ハードウェア51のリアル
タイム・オペレーティング・システム上で数値制御部5
11を動作させ、一方、パソコン用ハードウェア52の
汎用オペレーティング・システム上でパソコン部521
を動作させるように構成されている。また、外部I/O
54と接続されている数値制御部511は、駆動部56
に対し、サーボ指令値を出力する。パソコン部521
は、キーボードやネットワークなどから成る外部I/O
55と接続されている。数値制御用ハードウェア51と
パソコン用ハードウェア52とはバス53で接続されて
いる。数値制御部511は、このバス53を介して、パ
ソコン部521との通信やパソコン部521の異常停止
の検出を行う。通常、ビデオ切換スイッチ57は、パソ
コン部521からのビデオ信号出力を選択して表示装置
58に送っているが、一方、数値制御部511がパソコ
ン部521の異常停止を検出した場合に、ビデオ切換ス
イッチ57は、数値制御部511からのビデオ信号出力
を選択して表示装置58に送る。
FIG. 5 is a block diagram showing the configuration of the above-mentioned numerical control device. As shown in FIG. 5, in the numerical control device, the numerical control unit 5 is provided on the real-time operating system of the numerical control hardware 51.
11 on the other hand, on the other hand, on the general-purpose operating system of the personal computer hardware 52, the personal computer section 521
Is configured to operate. In addition, external I / O
The numerical control unit 511 connected to the driving unit 54 is connected to the driving unit 56.
, The servo command value is output. PC part 521
Is an external I / O consisting of a keyboard, network, etc.
It is connected to 55. The numerical control hardware 51 and the personal computer hardware 52 are connected by a bus 53. The numerical controller 511 communicates with the personal computer 521 and detects abnormal stop of the personal computer 521 via the bus 53. Normally, the video changeover switch 57 selects the video signal output from the personal computer section 521 and sends it to the display device 58. On the other hand, when the numerical control section 511 detects an abnormal stop of the personal computer section 521, the video changeover switch 57 is changed over. The switch 57 selects the video signal output from the numerical controller 511 and sends it to the display device 58.

【0006】数値制御装置にパソコン機能を持たせる方
法としては、上述したように、パソコンのハードウェア
を数値制御装置に付加して、数値制御部とパソコン部と
を別々のハードウェア上で動作させる図5のような構成
のほか、数値制御部とパソコン部とを1つのハードウェ
ア上で動作させるような構成も考えられる。
As a method of providing a numerical controller with a personal computer function, as described above, the hardware of the personal computer is added to the numerical controller so that the numerical controller and the personal computer operate on separate hardware. In addition to the configuration shown in FIG. 5, a configuration in which the numerical control unit and the personal computer unit are operated on one piece of hardware can be considered.

【0007】例えば、図6(a)はこのような構成を有
する数値制御装置の一例を示すブロック図である。図6
(a)に示されるように、該数値制御装置においては、
パソコン用ハードウェア61にリアルタイム・オペレー
ティング・システムと汎用オペレーティング・システム
とを載せ、リアルタイム・オペレーティング・システム
上では数値制御部611を動作させ、一方、汎用オペレ
ーティング・システム上ではパソコン部612を動作さ
せるように構成されている。
For example, FIG. 6A is a block diagram showing an example of a numerical controller having such a configuration. Figure 6
As shown in (a), in the numerical controller,
A real-time operating system and a general-purpose operating system are mounted on the personal computer hardware 61, and the numerical controller 611 is operated on the real-time operating system, while the personal computer 612 is operated on the general-purpose operating system. Is configured.

【0008】また、信頼性を高めるために、パソコン用
ハードウェア61にはパソコン互換の専用ハードウェア
を用いることもある。数値制御部611とパソコン部6
12の間には、メッセージ通信や共有メモリなどから成
る通信手段613が用意される。数値制御部611は、
通信手段613やリアルタイム・オペレーティング・シ
ステムが提供する汎用オペレーティング・システム監視
機能などによって、パソコン部612の異常停止を検出
する。表示装置62はパソコン部612からのビデオ信
号出力を表示する。 なお、図6(a)における外部I
/O54、外部I/O55及び駆動部56は、それぞれ
図5における外部I/O54、外部I/O55及び駆動
部56と同様な機能を有する。
Further, in order to improve reliability, dedicated hardware compatible with a personal computer may be used as the personal computer hardware 61. Numerical control unit 611 and personal computer unit 6
A communication unit 613 including message communication and a shared memory is provided between the two. The numerical controller 611
The communication unit 613 and a general-purpose operating system monitoring function provided by the real-time operating system detect an abnormal stop of the personal computer unit 612. The display device 62 displays the video signal output from the personal computer section 612. Note that the external I in FIG.
The / O 54, the external I / O 55, and the drive unit 56 have the same functions as the external I / O 54, the external I / O 55, and the drive unit 56 in FIG. 5, respectively.

【0009】さらに、図6(b)は、数値制御部とパソ
コン部とを1つのハードウェア上で動作させるような構
成を有する数値制御装置の別の一例を示すブロック図で
ある。図6(b)に示されるように、該数値制御装置に
おいては、パソコン用ハードウェア63に汎用オペレー
ティング・システムを載せ、この汎用オペレーティング
・システムにさらにリアルタイム拡張機能を付加するこ
とで、リアルタイム性を確保するように構成されてい
る。
Further, FIG. 6B is a block diagram showing another example of a numerical control device having a configuration in which the numerical control unit and the personal computer unit are operated on one piece of hardware. As shown in FIG. 6B, in the numerical controller, a general-purpose operating system is mounted on the personal computer hardware 63, and a real-time extension function is added to the general-purpose operating system to improve real-time performance. Configured to secure.

【0010】要は、図6(b)に示された数値制御装置
において、数値制御部631はリアルタイム拡張機能が
提供する環境上で動作し、パソコン部632は汎用オペ
レーティングシステム上で動作する。また、信頼性を高
めるために、図6(a)に示された数値制御装置と同様
に、図6(b)に示された数値制御装置においても、パ
ソコン用ハードウェア63にはパソコン互換の専用ハー
ドウェアを用いることもある。
In short, in the numerical controller shown in FIG. 6B, the numerical controller 631 operates in the environment provided by the real-time extension function, and the personal computer 632 operates on a general-purpose operating system. Further, in order to improve reliability, in the numerical control device shown in FIG. 6B as well as the numerical control device shown in FIG. 6A, the computer hardware 63 is compatible with the computer. Dedicated hardware may be used.

【0011】数値制御部631とパソコン部632の間
には、メッセージ通信や共有メモリなどから成る通信手
段633が用意される。数値制御部631は、通信手段
633やリアルタイム拡張機能が提供する汎用オペレー
ティング・システム監視機能などによって、パソコン部
632の異常停止を検出する。表示装置64はパソコン
部632からのビデオ信号出力を表示する。なお、図6
(b)における外部I/O54、外部I/O55及び駆
動部56は、それぞれ図5における外部I/O54、外
部I/O55及び駆動部56と同様な機能を有する。
Between the numerical control section 631 and the personal computer section 632, a communication means 633 including message communication and shared memory is prepared. The numerical control unit 631 detects an abnormal stop of the personal computer unit 632 by the communication means 633, the general-purpose operating system monitoring function provided by the real-time extension function, and the like. The display device 64 displays the video signal output from the personal computer section 632. Note that FIG.
The external I / O 54, the external I / O 55, and the drive unit 56 in (b) have the same functions as the external I / O 54, the external I / O 55, and the drive unit 56 in FIG. 5, respectively.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、上述し
た従来技術において、1つのハードウェア上に数値制御
部とパソコン部とを実装した場合には、画面表示機能は
パソコン部用の1つしか存在しないため、上述した特開
2000−181524公報に開示されたように、数値
制御部にも画面表示機能を持たせることはできない。こ
のため、パソコン部が異常停止すると、画面表示を制御
することができないという問題点がある。
However, in the above-mentioned prior art, when the numerical control section and the personal computer section are mounted on one piece of hardware, there is only one screen display function for the personal computer section. Therefore, as disclosed in the above-mentioned Japanese Patent Laid-Open No. 2000-181524, the numerical controller cannot have the screen display function. Therefore, there is a problem that the screen display cannot be controlled when the personal computer section abnormally stops.

【0013】一方、パソコン部が異常停止している状態
において、リアルタイム・オペレーティング・システム
あるいはリアルタイム拡張機能から、パソコン部の画面
表示機能を直接制御することも可能ではあるが、その性
能・機能は低く、数値制御装置の状態を把握するには不
十分であるため動作継続は困難であるという問題点があ
る。
On the other hand, it is possible to directly control the screen display function of the personal computer section from the real-time operating system or the real-time extension function when the personal computer section is abnormally stopped, but its performance and function are low. However, there is a problem that it is difficult to continue the operation because it is insufficient to grasp the state of the numerical control device.

【0014】さらに、パソコン部が異常停止した場合に
緊急停止させる従来技術では、加工プログラム中断によ
って加工軌跡がプログラム軌跡から逸脱し、ワーク加工
面への食い込みなどの不具合が発生する可能性が高いだ
けではなく、無人運転時などオペレータ不在の状態で
は、加工が中断されたままになるため効率も悪いという
問題点がある。
Further, in the prior art in which an emergency stop is performed when the personal computer section is abnormally stopped, it is highly possible that the machining locus deviates from the program locus due to the interruption of the machining program, resulting in a problem such as biting into the workpiece machining surface. Instead, in the absence of an operator such as during unmanned operation, machining remains suspended, resulting in poor efficiency.

【0015】本発明は上述のような事情よりなされたも
のであり、本発明の目的は、数値制御部とパソコン部と
を備えた数値制御装置であって、パソコン部が異常停止
状態に陥った場合にワーク加工面への食い込みなどの不
具合を発生させることなく加工を中断し、パソコン部、
又はパソコン部及び数値制御部の再起動後に中断位置か
ら加工を自動的に再開することを可能にした数値制御装
置を提供することにある。
The present invention has been made under the circumstances as described above, and an object of the present invention is a numerical control device having a numerical control section and a personal computer section, in which the personal computer section is in an abnormal stop state. In this case, the machining can be interrupted without causing problems such as cutting into the machining surface of the workpiece,
Another object of the present invention is to provide a numerical control device capable of automatically resuming machining from the interruption position after restarting the personal computer unit and the numerical control unit.

【0016】[0016]

【課題を解決するための手段】本発明は、数値制御部と
パソコン部とを備えた数値制御装置に関し、本発明の上
記目的は、所定の加工プログラムに従って補間処理を行
う数値制御部とパソコン機能を提供するパソコン部とを
備えた数値制御装置において、前記パソコン部の異常停
止を検出して補間停止指令を出力する異常停止検出手段
と、前記加工プログラムを解釈して生成されるブロック
データに基づいて補間処理を行い、前記異常停止検出手
段からの前記補間停止指令を受けた場合には、前記加工
プログラムのブロック終点で補間処理を減速停止する補
間手段とを備え、前記パソコン部が異常停止した場合に
ブロック終点で減速停止して加工を中断することによっ
て達成される。
SUMMARY OF THE INVENTION The present invention relates to a numerical controller having a numerical control section and a personal computer section, and the above object of the present invention is to provide a numerical control section and a personal computer function for performing interpolation processing in accordance with a predetermined machining program. In a numerical control device having a personal computer section for providing an abnormal stop of the personal computer section, an abnormal stop detecting means for outputting an interpolation stop command, and a block data generated by interpreting the machining program. When the interpolation stop command is received from the abnormal stop detection means, the personal computer part is abnormally stopped with the interpolation means for decelerating and stopping the interpolation processing at the block end point of the machining program. In this case, it is achieved by decelerating and stopping at the end point of the block to interrupt the machining.

【0017】また、本発明の上記目的は、前記パソコン
部の異常停止による加工中断後に前記パソコン部に対し
て再起動を指令する再起動制御手段と、前記パソコン部
の再起動完了を確認し、前記補間手段に対して停止して
いた補間処理の再開を指令する再起動完了確認手段とを
備え、前記パソコン部の異常停止による加工中断後に、
前記パソコン部を再起動して加工中断位置から加工を再
開することにより、あるいは前記パソコン部の異常停止
によって加工が中断されたブロックの次のブロックの番
号を再開ブロック番号として記憶する再開ブロック番号
記憶手段と、再開ブロック番号記憶後に前記数値制御部
及び前記パソコン部に対して再起動を指令する再起動制
御手段と、前記数値制御部の再起動後に前記再開ブロッ
ク番号記憶手段から前記再開ブロック番号を読み込み、
前記加工プログラムを解釈して前記再開ブロック番号の
ブロックからのブロックデータを生成する解釈手段と、
前記パソコン部の再起動完了を確認し、前記補間手段に
対して前記再開ブロック番号のブロックからの補間処理
の再開を指令する再起動完了確認手段とを備え、前記パ
ソコン部の異常停止による加工中断後に、前記数値制御
部と前記パソコン部とを再起動して加工中断位置から加
工を再開することによってより効果的に達成される。
Further, the above-mentioned object of the present invention is to confirm the restart control means for instructing the personal computer part to restart after machining interruption due to abnormal stop of the personal computer part, and confirming the restart completion of the personal computer part, And a restart completion confirmation means for instructing the interpolation means to restart the interpolation processing that has been stopped, and after machining interruption due to abnormal stop of the personal computer section,
Resuming block number storage that stores the number of the block next to the block in which the machining was interrupted by restarting the personal computer and restarting the machining from the machining interruption position or by the abnormal stop of the personal computer as the restart block number Means for restarting the numerical control unit and the personal computer unit after storing the restart block number, and the restart block number from the restart block number storage unit after restarting the numerical control unit. Read,
Interpreting means for interpreting the processing program and generating block data from the block of the restart block number;
Reboot completion confirmation means for confirming completion of restart of the personal computer section and for instructing the interpolation means to restart interpolation processing from the block of the restart block number, and interruption of machining due to abnormal stop of the personal computer section This is more effectively achieved by restarting the numerical control unit and the personal computer unit and restarting the machining from the machining interruption position later.

【0018】[0018]

【発明の実施の形態】以下、図面に基づいて本発明の好
適な実施形態について詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Preferred embodiments of the present invention will now be described in detail with reference to the drawings.

【0019】図1は本発明に係る数値制御装置の一実施
例を示すブロック図である。図1に示されるように、数
値制御部12は、制御指令演算部121と、異常停止検
出手段122と、再起動制御手段123と、再起動完了
確認手段124とで構成され、リアルタイム・オペレー
ティング・システム上あるいはリアルタイム拡張機能が
提供する環境上で動作する。制御指令演算部121は、
解釈手段121aと補間手段121bとで構成される。
解釈手段121aは加工プログラム11を読み取ってブ
ロックデータを生成する。そして、補間手段121bは
解釈手段121aで生成されたブロックデータに基づい
てサーボ指令値を出力する。
FIG. 1 is a block diagram showing an embodiment of a numerical controller according to the present invention. As shown in FIG. 1, the numerical controller 12 includes a control command calculator 121, an abnormal stop detector 122, a restart controller 123, and a restart completion confirmer 124. Operates on the system or in the environment provided by the real-time extension function. The control command calculator 121 is
It is composed of an interpreter 121a and an interpolator 121b.
The interpretation means 121a reads the machining program 11 and generates block data. Then, the interpolating means 121b outputs a servo command value based on the block data generated by the interpreting means 121a.

【0020】一方、パソコン部13は、汎用オペレーテ
ィング・システム上で動作する。また、再開ブロック番
号記憶手段14は、再開ブロック番号を記憶する。サー
ボ15X,15Y,15Zは、制御指令演算部121か
ら入力されるサーボ指令値を基に、各軸毎にサーボモー
タ16X,16Y,16Zを駆動する。
On the other hand, the personal computer section 13 operates on a general-purpose operating system. Further, the restart block number storage means 14 stores the restart block number. The servos 15X, 15Y, 15Z drive the servomotors 16X, 16Y, 16Z for each axis based on the servo command value input from the control command calculator 121.

【0021】図2はパソコン部異常停止時の動作の一例
を示すフローチャートである。図示されるように、先
ず、パソコン部13が異常停止すると、異常停止検出手
段122は、これを検出し、そして補間手段121bに
補間停止指令を出力する(ステップS21)。なお、パ
ソコン部13の異常停止を検出するのに、異常停止検出
手段122は、パソコン部13が定期的に更新する変数
を監視する方法や、リアルタイム・オペレーティング・
システムあるいはリアルタイム拡張機能によって提供さ
れる汎用オペレーティング・システム異常検出機能を用
いる方法などを使用することができる。
FIG. 2 is a flow chart showing an example of the operation when the personal computer section stops abnormally. As shown in the figure, first, when the personal computer section 13 abnormally stops, the abnormal stop detection means 122 detects this and outputs an interpolation stop command to the interpolation means 121b (step S21). In order to detect an abnormal stop of the personal computer section 13, the abnormal stop detection means 122 uses a method of monitoring a variable that the personal computer section 13 regularly updates or a real-time operating system.
A method using a general-purpose operating system abnormality detection function provided by the system or the real-time extension function can be used.

【0022】次に、補間停止指令を受け取った補間手段
121bは、加工プログラム11のブロック終点で減速
停止し、加工を中断する(ステップS22)。このよう
に、補間手段121bがブロック終点で加工を中断する
ようにしていることによって、切削中のワークへの影響
を小さくして食い込みなどの不具合の発生を防止するこ
とができる。
Next, the interpolation means 121b which has received the interpolation stop command decelerates and stops at the block end point of the machining program 11 and interrupts machining (step S22). In this way, the interpolation means 121b suspends the machining at the block end point, so that it is possible to reduce the influence on the workpiece during cutting and prevent the occurrence of defects such as biting.

【0023】それから、補間手段121bは加工を中断
した後に再起動制御手段123に補間停止完了を出力
し、そして、補間停止完了を受け取った再起動制御手段
123は、パソコン部13に再起動指令を出力してパソ
コン部13を再起動させる(ステップS23)。次に、
パソコン部13の再起動完了が確認される(ステップS
24)。パソコン部13の再起動完了が確認された場合
に、再起動完了確認手段124は補間再開指令を補間手
段121bに出力し、そして、補間再開指令を受け取っ
た補間手段121bは、加工が中断されたブロック以降
のブロックから加工を再開する(ステップS25)。一
方、パソコン部13の再起動完了が確認されていない場
合に、再起動完了確認手段124は、再起動完了が確認
されるまで、補間再開指令を補間手段121bに出力し
ないようにしておく。
Then, the interpolation means 121b outputs the completion of interpolation stop to the restart control means 123 after interrupting the machining, and the restart control means 123 which has received the completion of interpolation stop issues a restart command to the personal computer section 13. The data is output and the personal computer section 13 is restarted (step S23). next,
Completion of restart of the personal computer unit 13 is confirmed (step S
24). When the restart completion of the personal computer unit 13 is confirmed, the restart completion confirming unit 124 outputs the interpolation restart command to the interpolation unit 121b, and the interpolation unit 121b receiving the interpolation restart command interrupts the machining. The processing is restarted from the block after the block (step S25). On the other hand, when the restart completion of the personal computer unit 13 is not confirmed, the restart completion confirming unit 124 does not output the interpolation restart command to the interpolation unit 121b until the restart completion is confirmed.

【0024】ここで、図2のステップS22を図4のフ
ローチャートでより詳細に説明する。要は、現ブロック
と次ブロックの少なくとも一方が切削送りブロック以外
のブロックであれば、更にワークへの影響を減らすこと
が可能である。その際に、加工を中断する制御(つまり
ステップS22における処理)の手順の一例を図4に示
す。
Now, step S22 of FIG. 2 will be described in more detail with reference to the flowchart of FIG. In short, if at least one of the current block and the next block is a block other than the cutting feed block, it is possible to further reduce the influence on the work. At that time, an example of a procedure of control for interrupting the processing (that is, the processing in step S22) is shown in FIG.

【0025】先ず、現ブロックが切削送りブロックであ
るかどうかを判定する(ステップS41)。現ブロック
が切削送りブロック以外のブロックである場合に、補間
手段121bは、現ブロックを実行完了し停止する(ス
テップS42)。一方、現ブロックが切削送りブロック
である場合に、次ブロックが切削送りブロックであるか
どうかをさらに判定する(ステップS43)。次ブロッ
クが切削送りブロック以外のブロックである場合に、補
間手段121bは、現ブロック終点で減速停止する(ス
テップS44)。一方、次ブロックが切削送りブロック
である場合に、補間手段121bは、現ブロックを補間
した後にブロックデータを進めて次ブロックを現ブロッ
クにしてから(ステップS45)、ステップS43に戻
る。要は、図4に示す手順により、補間手段121b
は、常に切削動作の終了点で加工を停止させるようにす
ることが可能になる。
First, it is determined whether the current block is a cutting feed block (step S41). When the current block is a block other than the cutting feed block, the interpolation means 121b completes the execution of the current block and stops (step S42). On the other hand, when the current block is the cutting feed block, it is further determined whether the next block is the cutting feed block (step S43). If the next block is a block other than the cutting feed block, the interpolation means 121b decelerates and stops at the end point of the current block (step S44). On the other hand, when the next block is the cutting feed block, the interpolation means 121b advances the block data by interpolating the current block to make the next block the current block (step S45), and then returns to step S43. In short, the interpolation means 121b is executed by the procedure shown in FIG.
Can always stop the machining at the end point of the cutting operation.

【0026】また、リアルタイム・オペレーティング・
システムの機能あるいはリアルタイム拡張機能を提供す
る汎用オペレーティング・システムのリアルタイム拡張
機能によっては、パソコン部13の再起動を行うのに、
数値制御部12の再起動が必要になる場合がある。図3
は、この場合におけるパソコン部異常停止時の動作の一
例を示すフローチャートである。図示されるように、先
ず、ステップS31を経てからステップS32に進む。
なお、図3のステップS31,S32は、それぞれ図2
のステップS21,S22と同様な処理を有する。そこ
で、ステップS31,S32についての説明を省略す
る。
In addition, real-time operating
Depending on the function of the system or the real-time expansion function of a general-purpose operating system that provides the real-time expansion function, it may be necessary to restart the personal computer unit 13.
It may be necessary to restart the numerical controller 12. Figure 3
FIG. 6 is a flowchart showing an example of an operation when the personal computer section abnormally stops in this case. As shown in the figure, first, after step S31, the process proceeds to step S32.
Note that steps S31 and S32 of FIG.
It has the same processing as steps S21 and S22. Therefore, the description of steps S31 and S32 is omitted.

【0027】次に、補間手段121bは、加工を中断し
たブロックの次のブロックの番号(再開ブロック番号)
を再開ブロック番号記憶手段14に記憶させる(ステッ
プS33)。なお、再開ブロック番号記憶手段14に格
納されている記憶内容が、数値制御部12及びパソコン
部13の再起動時に変更されることはない。その後、再
起動制御手段123は、パソコン部13に再起動指令を
出力してパソコン部13を再起動させるとともに(ステ
ップS34)、数値制御部12にも再起動指令を出力し
て数値制御部12を再起動させる(ステップS35)。
Next, the interpolating means 121b is the block number (restart block number) next to the block whose processing has been interrupted.
Is stored in the restart block number storage means 14 (step S33). The storage contents stored in the restart block number storage means 14 are not changed when the numerical control unit 12 and the personal computer unit 13 are restarted. After that, the restart control means 123 outputs a restart command to the personal computer section 13 to restart the personal computer section 13 (step S34), and also outputs a restart command to the numerical control section 12 to output the numerical control section 12. Is restarted (step S35).

【0028】数値制御部12の再起動後に、解釈手段1
21aは、再開ブロック番号記憶手段14から読み出し
た再開ブロック番号のブロックからブロックデータを生
成する(ステップS36)。次に、パソコン部13の再
起動完了が確認される(ステップS37)。パソコン部
13の再起動完了が確認された場合に、再起動完了確認
手段124は、補間再開指令を補間手段121bに出力
し、そして、補間再開指令を受け取った補間手段121
bは、ステップS36における解釈手段121aにて生
成されたブロックデータを実行することで、再開ブロッ
ク番号のブロックから加工を再開する(ステップS3
8)。一方、パソコン部13の再起動完了が確認されて
いない場合に、再起動完了確認手段124は、再起動完
了が確認されるまで、補間再開指令を補間手段121b
に出力しないようにしておく。
After restarting the numerical control unit 12, the interpreting means 1
21a generates block data from the block of the restart block number read from the restart block number storage means 14 (step S36). Next, it is confirmed that the personal computer unit 13 has been restarted (step S37). When the restart completion of the personal computer unit 13 is confirmed, the restart completion confirming unit 124 outputs the interpolation restart command to the interpolation unit 121b, and then receives the interpolation restart command.
By executing the block data generated by the interpretation unit 121a in step S36, b restarts the processing from the block having the restart block number (step S3).
8). On the other hand, when the restart completion of the personal computer unit 13 is not confirmed, the restart completion confirming unit 124 issues the interpolation restart command to the interpolation unit 121b until the restart completion is confirmed.
Do not output to.

【0029】なお、数値制御部12とパソコン部13が
1つのハードウェア上で動作していても、複数のハード
ウェア上で分散して動作していても、本発明は適用可能
である。
The present invention can be applied whether the numerical control unit 12 and the personal computer unit 13 operate on one piece of hardware or a plurality of pieces of hardware operate in a distributed manner.

【0030】[0030]

【発明の効果】本発明に係る数値制御装置によれば、パ
ソコン部が異常停止した場合においても、安全かつワー
ク加工面への食い込みなどの不具合を発生させることな
く、加工を中断することができるとともに、パソコン
部、又はパソコン部及び数値制御部を再起動し加工中断
位置から加工を再開することができる。
According to the numerical control apparatus of the present invention, even when the personal computer section is abnormally stopped, the processing can be interrupted safely and without causing any trouble such as cutting into the work surface of the work. At the same time, the personal computer section or the personal computer section and the numerical control section can be restarted to resume machining from the machining interruption position.

【0031】要は、本発明に係る数値制御装置によれ
ば、パソコン部が異常停止した場合には、ブロック終点
で減速停止して加工を中断し、パソコン部、又はパソコ
ン部及び数値制御部を再起動した後に中断位置から加工
を自動的に再開することが可能であるため、パソコン部
の異常停止による影響を最小限に抑えて数値制御装置を
正常状態に戻すことができるという優れた効果を奏す
る。
In short, according to the numerical control device of the present invention, when the personal computer section is abnormally stopped, the processing is interrupted by decelerating and stopping at the end point of the block so that the personal computer section, or the personal computer section and the numerical control section are stopped. Since it is possible to automatically restart machining from the interrupted position after restarting, the excellent effect of being able to return the numerical control device to the normal state while minimizing the effect of abnormal stop of the personal computer Play.

【0032】つまり、本発明に係る数値制御装置は、パ
ソコン部の異常停止の検出から加工再開までの全てのこ
とを、人手を介さずに自動的に処理することが可能であ
るため、また、不良ワークの発生を防止することもでき
るので、作業効率が大変良いという効果を奏する。
That is, since the numerical control device according to the present invention can automatically process everything from detection of abnormal stop of the personal computer section to resumption of processing without human intervention, Since it is possible to prevent the occurrence of defective work, the work efficiency is very good.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係る数値制御装置の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a numerical controller according to the present invention.

【図2】パソコン部異常停止時の動作の一例を示すフロ
ーチャートである。
FIG. 2 is a flowchart showing an example of an operation at the time of abnormal stop of a personal computer section.

【図3】パソコン部異常停止時の動作の他の例を示すフ
ローチャートである。
FIG. 3 is a flowchart showing another example of the operation when the personal computer section abnormally stops.

【図4】現ブロックと次ブロックの少なくとも一方が切
削送りブロック以外のブロックである場合における、ブ
ロック終点で加工を中断する制御の一例を示すフローチ
ャートである。
FIG. 4 is a flowchart showing an example of control for interrupting machining at a block end point when at least one of a current block and a next block is a block other than a cutting feed block.

【図5】数値制御部にも画面表示機能を持たせた従来の
数値制御装置の一例を示すブロック図である。
FIG. 5 is a block diagram showing an example of a conventional numerical control device in which a numerical control unit also has a screen display function.

【図6】数値制御部とパソコン部とを1つのハードウェ
ア上で動作させる数値制御装置の例を示すブロック図で
ある。
FIG. 6 is a block diagram showing an example of a numerical control device that operates a numerical control unit and a personal computer unit on one piece of hardware.

【符号の説明】[Explanation of symbols]

11 加工プログラム 12 数値制御部 121 制御指令演算部 121a 解釈手段 121b 補間手段 122 異常停止検出手段 123 再起動制御手段 124 再起動完了確認手段 13 パソコン部 14 再開ブロック番号記憶手段 15X,15Y,15Z サーボ 16X,16Y,16Z サーボモータ 51 数値制御用ハードウェア 511 数値制御部 52 パソコン用ハードウェア 521 パソコン部 53 バス 54,55 外部I/O 56 駆動部 57 ビデオ切換スイッチ 58 表示装置 61 パソコン用ハードウェア 611 数値制御部 612 パソコン部 613 通信手段 62 表示装置 63 パソコン用ハードウェア 631 数値制御部 632 パソコン部 633 通信手段 64 表示装置 11 Processing program 12 Numerical control part 121 Control command calculator 121a Interpretation means 121b Interpolation means 122 Abnormal stop detection means 123 Restart control means 124 Reboot completion confirmation means 13 PC department 14 Resuming block number storage means 15X, 15Y, 15Z servo 16X, 16Y, 16Z servo motor 51 Numerical control hardware 511 Numerical control unit 52 PC hardware 521 Personal computer section 53 bus 54,55 External I / O 56 Drive 57 Video selector switch 58 display device 61 PC hardware 611 Numerical control unit 612 PC Department 613 communication means 62 display device 63 PC hardware 631 Numerical control unit 632 PC department 633 Communication means 64 display device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】所定の加工プログラムに従って補間処理を
行う数値制御部とパソコン機能を提供するパソコン部と
を備えた数値制御装置において、 前記パソコン部の異常停止を検出して補間停止指令を出
力する異常停止検出手段と、 前記加工プログラムを解釈して生成されるブロックデー
タに基づいて補間処理を行い、前記異常停止検出手段か
らの前記補間停止指令を受けた場合には、前記加工プロ
グラムのブロック終点で補間処理を減速停止する補間手
段とを備え、 前記パソコン部が異常停止した場合にブロック終点で減
速停止して加工を中断することを特徴とする数値制御装
置。
1. A numerical control device comprising a numerical control unit for performing interpolation processing according to a predetermined machining program and a personal computer unit providing a personal computer function, and outputs an interpolation stop command upon detecting an abnormal stop of the personal computer unit. An abnormal stop detection means and interpolation processing is performed based on block data generated by interpreting the machining program, and when the interpolation stop command from the abnormal stop detection means is received, a block end point of the machining program And an interpolating means for decelerating and stopping the interpolation processing, and when the personal computer section abnormally stops, decelerating and stopping at the block end point to interrupt the machining.
【請求項2】前記パソコン部の異常停止による加工中断
後に前記パソコン部に対して再起動を指令する再起動制
御手段と、 前記パソコン部の再起動完了を確認し、前記補間手段に
対して停止していた補間処理の再開を指令する再起動完
了確認手段とを備え、 前記パソコン部の異常停止による加工中断後に、前記パ
ソコン部を再起動して加工中断位置から加工を再開する
請求項1に記載の数値制御装置。
2. A restart control means for instructing restart to the personal computer part after processing interruption due to abnormal stop of the personal computer part, and confirmation of completion of restart of the personal computer part, and stopping for the interpolating means. The restart completion confirming means for instructing the restart of the interpolation processing which has been performed is provided, and after the machining is interrupted due to the abnormal stop of the personal computer, the personal computer is restarted to resume the machining from the machining interrupted position. Numerical control device described.
【請求項3】前記パソコン部の異常停止によって加工が
中断されたブロックの次のブロックの番号を再開ブロッ
ク番号として記憶する再開ブロック番号記憶手段と、 再開ブロック番号記憶後に前記数値制御部及び前記パソ
コン部に対して再起動を指令する再起動制御手段と、 前記数値制御部の再起動後に前記再開ブロック番号記憶
手段から前記再開ブロック番号を読み込み、前記加工プ
ログラムを解釈して前記再開ブロック番号のブロックか
らのブロックデータを生成する解釈手段と、 前記パソコン部の再起動完了を確認し、前記補間手段に
対して前記再開ブロック番号のブロックからの補間処理
の再開を指令する再起動完了確認手段とを備え、 前記パソコン部の異常停止による加工中断後に、前記数
値制御部と前記パソコン部とを再起動して加工中断位置
から加工を再開する請求項1に記載の数値制御装置。
3. A restart block number storage means for storing, as a restart block number, a block number next to a block of which processing has been interrupted due to an abnormal stop of the personal computer part, and the numerical controller and the personal computer after storing the restart block number. Restart control means for instructing a restart to the part, and after restarting the numerical control part, the restart block number is read from the restart block number storage means, the machining program is interpreted, and the block of the restart block number is read. And an restarting completion confirming means for confirming the restart completion of the personal computer section and for instructing the interpolation means to restart the interpolation processing from the block of the restart block number. Equipped, and restarting the numerical control unit and the personal computer unit after processing interruption due to abnormal stop of the personal computer unit The numerical controller according to claim 1, wherein the machining is restarted from the machining interruption position.
JP2001205544A 2001-07-06 2001-07-06 Numerical controller Pending JP2003022109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001205544A JP2003022109A (en) 2001-07-06 2001-07-06 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001205544A JP2003022109A (en) 2001-07-06 2001-07-06 Numerical controller

Publications (1)

Publication Number Publication Date
JP2003022109A true JP2003022109A (en) 2003-01-24

Family

ID=19041833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001205544A Pending JP2003022109A (en) 2001-07-06 2001-07-06 Numerical controller

Country Status (1)

Country Link
JP (1) JP2003022109A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004299049A (en) * 2003-03-28 2004-10-28 Kuka Roboter Gmbh Method and device for controlling a plurality of manipulators
JP2008204366A (en) * 2007-02-22 2008-09-04 Sodick Co Ltd Machine tool equipped with cylinder-type balancing device
JP2009053801A (en) * 2007-08-24 2009-03-12 Fanuc Ltd Numerical controller with program restart function
JP2014038562A (en) * 2012-08-20 2014-02-27 Fanuc Ltd Numerical control device with maintenance function during hmi abnormality
JP2016103166A (en) * 2014-11-28 2016-06-02 Dmg森精機株式会社 Numerical control device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004299049A (en) * 2003-03-28 2004-10-28 Kuka Roboter Gmbh Method and device for controlling a plurality of manipulators
JP2008204366A (en) * 2007-02-22 2008-09-04 Sodick Co Ltd Machine tool equipped with cylinder-type balancing device
JP4614242B2 (en) * 2007-02-22 2011-01-19 株式会社ソディック Machine tool with cylinder type balance device
JP2009053801A (en) * 2007-08-24 2009-03-12 Fanuc Ltd Numerical controller with program restart function
JP2014038562A (en) * 2012-08-20 2014-02-27 Fanuc Ltd Numerical control device with maintenance function during hmi abnormality
JP2016103166A (en) * 2014-11-28 2016-06-02 Dmg森精機株式会社 Numerical control device

Similar Documents

Publication Publication Date Title
JP2007511806A (en) Redundancy automation system for controlling technical equipment and method of operation thereof
JP2608593B2 (en) Failure diagnosis method
EP0171435A1 (en) Numerical control method
JP3679844B2 (en) Sequence program execution device
JP2010120095A (en) Robot system
JP2003022109A (en) Numerical controller
JP2006172388A (en) Numerical controller
JP2002373008A (en) Numerical controller
JP4122725B2 (en) Real-time control system
US20050267626A1 (en) Numerical controller
JP2002099310A (en) Controller
JP7448377B2 (en) Processing program management device, management system, and management method
JP2002123307A (en) Monitor system for machine tool and numerical controller
JPH09200872A (en) Plant monitor and control equipment
JPH09222911A (en) Method for diagnosing fault for nc machine tool and device therefor
JP3460747B2 (en) Numerical control unit
JP2000315108A (en) Machine control system
JP2019195852A (en) System for operating device
JP2000172317A (en) Programmable machine controller built in numerical controller and network system for numerical controller
JP2022068919A (en) Numerical control arithmetic system
JP2702555B2 (en) Numerical control unit reordering method
JPH0217509A (en) Cad cam device
JPH08339220A (en) Nc controller for machine tool
JPH0259186A (en) Controller of working machine
JPH07104822A (en) Numerical control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040907

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060606

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061107