JPH11167404A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH11167404A
JPH11167404A JP33434697A JP33434697A JPH11167404A JP H11167404 A JPH11167404 A JP H11167404A JP 33434697 A JP33434697 A JP 33434697A JP 33434697 A JP33434697 A JP 33434697A JP H11167404 A JPH11167404 A JP H11167404A
Authority
JP
Japan
Prior art keywords
unit
module
information
control
numerical
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
JP33434697A
Other languages
Japanese (ja)
Inventor
Tomoyuki Mizuno
智之 水野
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP33434697A priority Critical patent/JPH11167404A/en
Publication of JPH11167404A publication Critical patent/JPH11167404A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a numerical controller which analyzes the cause of a trouble when the trouble occurs and restores a control system at an early stage. SOLUTION: Processing information transmitted among the respective modules of a system control part 121, an analysis part 122, an operation control part 123 and a PLC part 124 or information on an operation result which the respective modules output are recorded in a memory 125 for the respective modules and for the respective operation units of the modules. When the trouble occurs, information which are recorded in the memory 125 through a man machine interface part and correspond to the respective modules are associated each other and are outputted or information stored in the memory 125 are transmitted to an outer unit 104 through a driver part when the trouble occurs.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は工作機械等の動きを
制御する数値制御装置に係り、特に、マンマシンインタ
フェース部、オペレーティングシステム部、ドライバ
部、インタプリタ部、サーボ/主軸パルス生成部、プロ
グラムロジックコントローラ部などのモジュールを備え
たモジュール組込型の数値制御装置において、モジュー
ル毎の内部データを該モジュール固有の動作単位毎に記
録してこれらを関連づけて出力することにより、発生頻
度の著しく低いトラブル等が発生した場合でも、より適
切でより多い情報を出力して、トラブル発生時の該トラ
ブルの要因解析および制御システムの早期復旧を可能と
した数値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller for controlling the movement of a machine tool or the like, and more particularly to a man-machine interface, an operating system, a driver, an interpreter, a servo / spindle pulse generator, and a program logic. In a module-incorporated numerical controller equipped with a module such as a controller, the internal data of each module is recorded for each operation unit unique to the module, and these are output in association with each other. The present invention relates to a numerical control device that outputs more appropriate and more information even when a trouble occurs, and enables analysis of a cause of the trouble when trouble occurs and early recovery of the control system.

【0002】[0002]

【従来の技術】従来の数値制御(NC;Numerical Cont
roller)装置としては、例えば図2に示すようなものが
ある。同図において、本従来例の数値制御装置202
は、表示/操作パネル201と接続されてマンマシンイ
ンタフェースを司ると共に、他の外部機器との通信(デ
ータ転送)を行い、また当該数値制御装置202内の各
モジュールを統括するシステム統括部221と、システ
ム統括部221を介して供給されるNCプログラムを逐
次解釈してNC指令に変換する解析部(インタープリ
タ)222と、NC指令に基づきサーボ機構(サーボア
ンプ、主軸アンプ等)への指令パルスを生成して該サー
ボ機構を介して工作機械203を駆動制御する動作統括
部223と、NC指令に対応したラダープログラム等を
起動して工作機械203を操作制御するPLC(プログ
ラムロジックコントローラ)部224とを備えて構成さ
れている。このような数値制御装置202は、人間に代
わって工作機械203等を操作して、均質な製品をより
早くより安く作り出す装置として生み出され発展してき
たものであり、製品の生産性を向上させるためにも、ト
ラブル発生時の該トラブルの要因解析および制御システ
ムの早期復旧は重要であり、数値制御装置またはそれを
含む制御システムが備えるべき機能として重要視されて
きている。例えば、実開平5−2205号公報に開示さ
れた「故障診断装置」では、数値制御装置の不具合が発
生したときに、その不具合が発生した前後の数値制御装
置の状態を再現し、容易に不具合状況を解析可能とする
ために、上位コントローラが数値制御装置の内部データ
をサンプリングするのを、アラーム等の不具合が発生し
た時に停止できるようにし、サンプリングした数値制御
装置の内部データを数値制御装置に送ることによって、
数値制御装置がサンプリング時点の数値制御状態を再現
できるようにしたものが提案されている。
2. Description of the Related Art Conventional numerical control (NC: Numerical Control)
Roller devices include, for example, those shown in FIG. In FIG. 1, a numerical controller 202 of the conventional example is shown.
Is connected to the display / operation panel 201, controls a man-machine interface, performs communication (data transfer) with other external devices, and controls a system control unit 221 that controls each module in the numerical control device 202. An analyzing unit (interpreter) 222 for sequentially interpreting an NC program supplied through the system control unit 221 and converting the NC program into an NC command; and a command pulse to a servo mechanism (servo amplifier, spindle amplifier, etc.) based on the NC command. An operation control unit 223 that generates and drives and controls the machine tool 203 via the servo mechanism; and a PLC (program logic controller) unit 224 that activates a ladder program or the like corresponding to the NC command and controls the machine tool 203. It is provided with. Such a numerical control device 202 has been created and developed as a device for operating a machine tool 203 or the like on behalf of a human to produce a homogeneous product faster and cheaper. In order to improve product productivity, In particular, it is important to analyze the cause of a trouble and to quickly recover the control system when the trouble occurs, and it has been regarded as an important function of the numerical controller or a control system including the same. For example, in the "failure diagnosis device" disclosed in Japanese Utility Model Laid-Open No. 5-2205, when a failure of the numerical control device occurs, the state of the numerical control device before and after the failure occurred is reproduced, and the failure is easily performed. In order to be able to analyze the situation, the upper controller can stop sampling the internal data of the numerical controller when an alarm or other trouble occurs, and the sampled internal data of the numerical controller is sent to the numerical controller. By sending
There has been proposed an apparatus in which a numerical controller can reproduce a numerical control state at the time of sampling.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の数値制御装置にあっては、数値制御装置の内部デー
タとしてサンプリングされるのは、図2の構成で言え
ば、動作統括部223の工作機械203に対する制御情
報(サーボ機構への指令パルス)やPLC部224の工
作機械203に対する制御情報であって、より高度な数
値制御を行う数値制御装置では、これらの内部データの
みから故障原因を解析するには、数値制御が複雑で熟練
を要するなどの問題があった。また、数値制御装置に不
具合が発生したときの数値制御状態を再現しようとして
も、再現性のない故障が発生した場合などでは、結局、
故障原因を解明できないという問題もあった。これらの
問題点は、特に発生頻度の著しく低いトラブル等におい
て顕著である。本発明は、上記従来の問題点に鑑みてな
されたものであって、マンマシンインタフェース部、オ
ペレーティングシステム部、ドライバ部、インタプリタ
部、サーボ/主軸パルス生成部、プログラムロジックコ
ントローラ部などのモジュールを備えたモジュール組込
型の数値制御装置において、モジュール毎の内部データ
を該モジュール固有の動作単位毎に記録してこれらを関
連づけて出力することにより、発生頻度の著しく低いト
ラブル等が発生した場合でも、より適切でより多い情報
を出力して、トラブル発生時の該トラブルの要因解析お
よび制御システムの早期復旧を可能とした数値制御装置
を提供することを目的としている。
However, in the above-mentioned conventional numerical controller, the data sampled as internal data of the numerical controller is, in the configuration of FIG. Numerical control devices that control the machine 203 (command pulses to the servo mechanism) and control information of the PLC unit 224 on the machine tool 203 and perform more advanced numerical control analyze the cause of failure from only these internal data. Has a problem that the numerical control is complicated and requires skill. In addition, even if an attempt is made to reproduce the numerical control state at the time of occurrence of a failure in the numerical control device, when a failure that cannot be reproduced occurs,
There was also a problem that the cause of the failure could not be clarified. These problems are remarkable especially in troubles with extremely low frequency of occurrence. The present invention has been made in view of the above-mentioned conventional problems, and includes modules such as a man-machine interface unit, an operating system unit, a driver unit, an interpreter unit, a servo / spindle pulse generation unit, and a program logic controller unit. In a module embedded type numerical control device, by recording internal data of each module for each operation unit unique to the module and outputting them in association with each other, even when a trouble or the like with extremely low frequency of occurrence occurs, It is an object of the present invention to provide a numerical control device capable of outputting more appropriate and more information to enable analysis of a cause of a trouble and early recovery of the control system when the trouble occurs.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するため
に、本発明の請求項1に係る数値制御装置は、マンマシ
ンインタフェース部、オペレーティングシステム部、ド
ライバ部、インタプリタ部、サーボ/主軸パルス生成
部、プログラムロジックコントローラ部などのモジュー
ルを備えて工作機械等を数値制御する数値制御装置にお
いて、前記各モジュール間で伝達される処理情報または
前記各モジュールが出力する演算結果等の情報を、各モ
ジュール毎に、該モジュールの所定動作単位毎に記録す
る記憶手段を具備するものである。また、請求項2に係
る数値制御装置は、請求項1に記載の数値制御装置にお
いて、前記マンマシンインタフェース部は、トラブル発
生時に、前記記憶手段に記録された各モジュールに対応
した情報を、互いに関連づけて出力するものである。ま
た、請求項3に係る数値制御装置は、請求項1または2
に記載の数値制御装置において、前記ドライバ部は、ト
ラブル発生時に、前記記憶手段に記憶された情報を外部
機器に伝送するものである。本発明に係る数値制御装置
では、記憶手段に、マンマシンインタフェース部、オペ
レーティングシステム部、ドライバ部、インタプリタ
部、サーボ/主軸パルス生成部、プログラムロジックコ
ントローラ部などの各モジュール間で伝達される処理情
報または各モジュールが出力する演算結果等の情報を、
各モジュール毎に、該モジュールの所定動作単位毎に記
録し、トラブル発生時には、マンマシンインタフェース
部を介して、記憶手段に記録された各モジュールに対応
した情報を、互いに関連づけて出力したり、ドライバ部
を介して、記憶手段に記憶された情報を外部機器に伝送
するようにしている。このように、モジュール毎の内部
データを該モジュール固有の動作単位毎に記録してこれ
らを関連づけて表示出力または伝送出力することによ
り、発生頻度の著しく低いトラブル等が発生した場合で
も、より適切でより多い情報を獲得することができ、ト
ラブル発生時の該トラブルの要因解析および制御システ
ムの早期復旧を可能とすることができる。
According to a first aspect of the present invention, there is provided a numerical control apparatus comprising: a man-machine interface unit; an operating system unit; a driver unit; an interpreter unit; Unit, a numerical controller for numerically controlling a machine tool or the like including a module such as a program logic controller unit, the processing information transmitted between the respective modules or information such as the operation results output by the respective modules, and the like, each module Storage means for recording, for each predetermined operation unit of the module. The numerical controller according to claim 2 is the numerical controller according to claim 1, wherein the man-machine interface unit transmits information corresponding to each module recorded in the storage unit when a trouble occurs. It is output in association. The numerical control device according to claim 3 is the numerical control device according to claim 1 or 2.
Wherein the driver unit transmits information stored in the storage unit to an external device when a trouble occurs. In the numerical control device according to the present invention, processing information transmitted between modules such as a man-machine interface unit, an operating system unit, a driver unit, an interpreter unit, a servo / spindle pulse generation unit, and a program logic controller unit is stored in the storage unit. Or, information such as the operation results output by each module
For each module, the information is recorded for each predetermined operation unit of the module, and when a trouble occurs, information corresponding to each module recorded in the storage means is output in association with each other via a man-machine interface unit, or a driver The information stored in the storage means is transmitted to an external device via the unit. In this way, by recording the internal data of each module for each operation unit peculiar to the module and correlating them for display output or transmission output, even if a trouble or the like with extremely low frequency of occurrence occurs, it becomes more appropriate. More information can be obtained, and when a trouble occurs, analysis of the cause of the trouble and early recovery of the control system can be performed.

【0005】[0005]

【発明の実施の形態】以下、本発明の数値制御装置の実
施の形態について、図面を参照して詳細に説明する。図
1は本発明の一実施形態に係る数値制御装置の構成図で
ある。同図において、本実施形態の数値制御装置102
は、入力および表示出力手段として表示・操作パネル1
01を備えて、工作機械103を数値制御するものであ
り、システム統括部121、解析部(インタープリタ)
122、動作統括部123およびPLC(プログラムロ
ジックコントローラ)部124の各モジュールと、記憶
手段としてのメモリ125とを備えて構成されている。
システム統括部121は、表示/操作パネル101と接
続されてマンマシンインタフェース部を司ると共に、内
部に備えるドライバ部によって該ドライバ部に接続され
ている他の外部機器104との通信(シリアル通信、ネ
ットワーク通信や外部記憶装置とのデータ転送等)を行
い、また、内部に備えるオペレーティングシステム部
(リアルタイムOSであることが望ましい)によって当
該数値制御装置102内の他のモジュールを統括するも
のである。尚、NCプログラムbのプログラミングや表
示・操作パネル101からのデータや操作指示aの入力
は、マンマシンインタフェース部を介して行われる。解
析部222は、システム統括部121を介して供給され
るNCプログラムbを逐次解釈し、形状解析や軌跡生成
等を行ってNC指令に変換する。すなわち、当該数値制
御装置102の入力は、与えられた加工物の図面に対し
て、その加工に必要な工具経路や加工条件等の全ての全
ての情報を記述するべく数値制御動作を記述する言語で
書かれたNCプログラムbであり、解析部222は、こ
れを逐次解釈(インタープリット)してNC指令cに変
換するものである。動作統括部123は、サーボアン
プ、主軸アンプ等のサーボ機構、サーボ/主軸パルス生
成部等を備えて、解析部222から供給されるNC指令
cに基づき、サーボ機構(サーボアンプ、主軸アンプ
等)への指令パルスを生成して、該サーボ機構を介して
工作機械103を駆動制御する。すなわち、工作機械1
03からのフィードバック情報やモニタ情報等の制御量
diを入力して、これらを数値制御に反映させつつ、サ
ーボアンプ、主軸アンプ等のサーボ機構を制御して工作
機械103へ操作量doを出力する。また、PLC部1
24は、NC指令cに対応したラダープログラム等を起
動して工作機械103を操作制御する。予め、ラダーツ
ール等で作成した信号処理のプログラムを用意してお
き、NC指令cに対応したラダープログラム等を起動し
て、工作機械103からのフィードバック情報やモニタ
情報等の制御量fiを入力して、これらを信号処理に反
映させつつ工作機械103へ操作量foを出力する。さ
らに、メモリ125は、各モジュール間で伝達される処
理情報または各モジュールが出力する演算結果等の情報
(b,c,do,di,e,fo,fi)を、各モジュ
ール毎に、該モジュールの所定動作単位毎に記録する。
すなわち、例えばNCプログラムb、NC指令c、動作
統括部123の操作量do、動作統括部123への制御
量di、PLC部124へのNC指令e、PLC部12
4の操作量foおよびPLC部124への制御量fi毎
に記憶領域を設けて、それぞれの記憶領域に、プログラ
ム単位毎に、NC指令の機能的にまとまりを持つブロッ
ク単位毎に、機能的にまとまりを持つ動作単位毎に、或
いは、所定周期のサンプリング時間毎に記録する。尚、
メモリ125の記憶容量が限られている場合には、それ
ぞれの記憶領域ごとに最新の情報が記録されるようにF
IFO形式で順次記録していくのが望ましい。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the numerical controller according to the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration diagram of a numerical control device according to an embodiment of the present invention. In the figure, the numerical controller 102 according to the present embodiment
Is a display / operation panel 1 as input and display output means.
01, for numerically controlling the machine tool 103, a system control unit 121, an analysis unit (interpreter)
122, each module of an operation control section 123 and a PLC (program logic controller) section 124, and a memory 125 as storage means.
The system control unit 121 is connected to the display / operation panel 101 and controls a man-machine interface unit, and communicates with other external devices 104 connected to the driver unit by an internal driver unit (serial communication, network communication). Communication and data transfer to and from an external storage device), and other modules in the numerical controller 102 are controlled by an operating system unit (preferably a real-time OS) provided therein. The programming of the NC program b and the input of data and operation instructions a from the display / operation panel 101 are performed via the man-machine interface. The analysis unit 222 sequentially interprets the NC program b supplied via the system control unit 121, performs shape analysis, trajectory generation, and the like, and converts the NC program into an NC command. That is, the input of the numerical control device 102 is a language that describes a numerical control operation for describing all information such as a tool path and a processing condition necessary for the processing with respect to a given drawing of the workpiece. The analysis unit 222 sequentially interprets (interprets) this and converts it into an NC command c. The operation control unit 123 includes a servo mechanism such as a servo amplifier and a spindle amplifier, a servo / spindle pulse generator, and the like. Based on the NC command c supplied from the analysis unit 222, the servo mechanism (servo amplifier, spindle amplifier, etc.) , And drive-controls the machine tool 103 via the servo mechanism. That is, the machine tool 1
A control amount di such as feedback information and monitor information from the control unit 03 is input, and while reflecting these in numerical control, a servo mechanism such as a servo amplifier and a spindle amplifier is controlled to output an operation amount do to the machine tool 103. . PLC unit 1
24 activates a ladder program or the like corresponding to the NC command c and controls the operation of the machine tool 103. A signal processing program created by a ladder tool or the like is prepared in advance, a ladder program or the like corresponding to the NC command c is started, and a control amount fi such as feedback information or monitor information from the machine tool 103 is input. Then, the operation amount fo is output to the machine tool 103 while reflecting these in the signal processing. Further, the memory 125 stores processing information transmitted between the modules or information (b, c, do, di, e, fo, fi) such as an operation result output by each module for each module. Is recorded for each predetermined operation unit.
That is, for example, the NC program b, the NC command c, the operation amount do of the operation control unit 123, the control amount di to the operation control unit 123, the NC command e to the PLC unit 124, the PLC unit 12
4, a storage area is provided for each of the operation amount fo of FIG. 4 and the control amount fi to the PLC unit 124, and in each storage area, for each program unit, for each block unit having a functional unit of the NC command, Recording is performed for each unit of operation having a unity or for each sampling time of a predetermined cycle. still,
If the storage capacity of the memory 125 is limited, the F
It is desirable to record sequentially in the IFO format.

【0006】次に、本実施形態の数値制御装置102に
おける動作について説明する。まず、操作者は、表示/
操作パネル101およびシステム統括部121のマンマ
シンインタフェース部を介してデータや操作指示aを入
力し、NCプログラムbのプログラミングを行う。作成
されたNCプログラムbは解析部222に供給され、解
析部222によって逐次解釈されてNC指令cに変換さ
れる。動作統括部123では、解析部222から供給さ
れるNC指令cに基づき、サーボ機構(サーボアンプ、
主軸アンプ等)への指令パルスを生成し、工作機械10
3へ操作量doを出力して駆動制御する。尚、フィード
バック制御が行われる場合には、工作機械103からの
フィードバック情報やモニタ情報等の制御量diを数値
制御に反映させながら行われる。また、PLC部124
では、NC指令cに対応したラダープログラム等を起動
して、工作機械103からのフィードバック情報やモニ
タ情報等の制御量fiを信号処理に反映させながら、工
作機械103へ操作量foを出力して操作制御する。以
上の動作の流れにおいて、NCプログラムbは解析部1
22への供給時にプログラム単位毎にNCプログラム記
憶領域に記録され、NC指令cおよびPLC部124へ
のNC指令eはNC指令の機能的にまとまりを持つブロ
ック単位毎にそれぞれNC指令記憶領域およびPLCへ
のNC指令記憶領域に記録され、動作統括部123の操
作量do、動作統括部123への制御量di、PLC部
124の操作量foおよびPLC部124への制御量f
iは機能的にまとまりを持つ動作単位毎または所定周期
のサンプリング時間毎に、それぞれ動作統括部操作量記
憶領域、動作統括部制御量記憶領域、PLC部操作量記
憶領域およびPLC部制御量記憶領域に記録される。ト
ラブル発生時には、システム統括部121のマンマシン
インタフェース部を介して、メモリ125の各記憶領域
に記録された各モジュールに対応した情報を、表示/操
作パネル101上に、互いに関連づけて出力する。これ
により、トラブル発生時点の動作統括部123の操作量
do、動作統括部123への制御量di、PLC部12
4の操作量foおよびPLC部124への制御量fi
が、NC指令またはNCプログラムのステートメントと
対応づけて認識することができ、どの操作制御の時点で
トラブルが発生したかを即座に判断することができる。
また、発生頻度の著しく低いトラブル等が発生した場合
でも、動作統括部123の操作量do、動作統括部12
3への制御量di、PLC部124の操作量foおよび
PLC部124への制御量fiをNC指令またはNCプ
ログラムのステートメントと対応づけながら、時間的に
順次遡って(トレースして)行くことにより、発生要因
が、操作者のミスや勘違いによるものか、機械系の問題
によるものか、或いは、数値制御装置102自体の問題
によるものかといった大まかな大別も即座に判断するこ
とが可能になる。また、メモリ125に記憶された情報
を、システム統括部121のドライバ部を介してホスト
等の上位の情報処理装置(外部機器)104に伝送し、
該情報処理装置104に予め用意されているデバッガ、
トレーサ、故障診断プログラム等のツールによって、よ
り詳細にトラブルシューティングすることも可能であ
る。
Next, the operation of the numerical controller 102 according to the present embodiment will be described. First, the operator displays /
Data and an operation instruction a are input via the operation panel 101 and the man-machine interface of the system control unit 121, and the NC program b is programmed. The created NC program b is supplied to the analysis unit 222, and is sequentially interpreted by the analysis unit 222 and converted into the NC command c. In the operation control unit 123, based on the NC command c supplied from the analysis unit 222, the servo mechanism (servo amplifier,
Command pulse to the main spindle amplifier, etc.
The operation amount do is output to 3 and drive control is performed. When the feedback control is performed, the feedback control is performed while reflecting a control amount di such as feedback information or monitor information from the machine tool 103 in the numerical control. Also, the PLC unit 124
Then, a ladder program or the like corresponding to the NC command c is started, and the operation amount fo is output to the machine tool 103 while the control amount fi such as feedback information or monitor information from the machine tool 103 is reflected in the signal processing. Control the operation. In the above operation flow, the NC program b is
The NC command c and the NC command e to the PLC unit 124 are recorded in the NC program storage area and the PLC command 124 for each block unit having a functional unit of the NC command. , The operation amount do of the operation control unit 123, the control amount di of the operation control unit 123, the operation amount fo of the PLC unit 124, and the control amount f of the PLC unit 124.
i is an operation control unit operation amount storage area, an operation control unit control amount storage area, a PLC unit operation amount storage area, and a PLC unit control amount storage area for each operation unit having a functional unity or for each sampling time of a predetermined cycle. Will be recorded. When a trouble occurs, information corresponding to each module recorded in each storage area of the memory 125 is output to the display / operation panel 101 in association with each other via the man-machine interface unit of the system control unit 121. Accordingly, the operation amount do of the operation control unit 123 at the time of occurrence of the trouble, the control amount di for the operation control unit 123, and the PLC unit 12
4 and the control amount fi to the PLC unit 124.
Can be recognized in association with the NC command or the statement of the NC program, and it is possible to immediately determine at which operation control the trouble occurred.
Further, even when a trouble or the like having a very low frequency of occurrence occurs, the operation amount do of the operation control unit 123 and the operation control unit 12
3, the control amount di for the PLC unit 124, the operation amount fo of the PLC unit 124, and the control amount fi for the PLC unit 124 are correlated with the NC command or the statement of the NC program, and are sequentially traced back (traced) in time. It is also possible to immediately determine whether the occurrence is caused by an operator's mistake or misunderstanding, a mechanical system problem, or a problem of the numerical controller 102 itself. . Further, the information stored in the memory 125 is transmitted to a higher-level information processing device (external device) 104 such as a host via a driver unit of the system control unit 121,
A debugger prepared in advance in the information processing device 104,
More detailed troubleshooting is possible with tools such as a tracer and a failure diagnosis program.

【0007】最後に、本実施形態の数値制御装置102
におけるトラブル発生、並びに、そのトラブルに対する
トラブルシューティングの具体例を示して、本実施形態
の数値制御装置102の特徴および効果をより明確にす
る。ここでは、サーボ軸移動中に工作機械103にショ
ックが発生する現象をトラブルの例として説明する。サ
ーボ軸移動は、単位時間当たりの払い出し移動量が数値
制御装置102から工作機械103に通知されることに
より行われる。このような事例を解決するためには、数
値制御装置102の問題か、或いは、工作機械103の
問題化を切り分ける必要がある。まず、単位時間当たり
の移動量は、動作統括部123で作成される。この作成
された移動量は、メモリ125に格納されている操作量
doで参照することができ、該参照により、異常な払い
出しがされたかどうかの判断が可能となる。またここ
で、工作機械103にショックが発生する場合の異常な
払い出しには、突然大きな移動量が動作統括部123か
ら工作機械103に指令されていることが考えられる。
したがって、メモリ125に格納された操作量doに異
常が見当たらなければ工作機械103の問題と言える。
この場合は、さらに、メモリ125に格納されている制
御量diを表示/操作パネル101上で参照することに
より、サーボモータが操作量doにしたがって正常に駆
動したかどうかを判断することができ、工作機械103
の構造上の問題であるか、或いは、サーボモータの問題
であるか等について要因を分別することが可能である。
また他方で、操作量doに異常があった場合には、数値
制御装置102の問題と言える。この場合には、さら
に、「動作統括部123が何故異常な払い出しを行った
か?」という原因究明の観点で、メモリ125に格納さ
れたデータや操作指示a、NCプログラムbおよびNC
命令cを、表示/操作パネル101上で参照することに
より、現象発生の条件を抽出することが可能となる。以
上のように、本実施形態の数値制御装置102では、工
作機械103におけるショック現象のような発生頻度の
低い不足のトラブルが発生した場合でも、各モジュール
に対応した情報を、表示/操作パネル101上に互いに
関連づけて出力するので、トラブル要因究明の調査が容
易となり、早期の問題解決が期待できる。
Finally, the numerical controller 102 of the present embodiment
The features and effects of the numerical control device 102 according to the present embodiment will be clarified by showing a specific example of the occurrence of a trouble and the troubleshooting for the trouble. Here, a phenomenon in which a shock occurs in the machine tool 103 during movement of the servo axis will be described as an example of a trouble. The servo axis movement is performed when the numerical control device 102 notifies the machine tool 103 of the payout movement amount per unit time. In order to solve such a case, it is necessary to isolate the problem of the numerical controller 102 or the problem of the machine tool 103. First, the movement amount per unit time is created by the operation control unit 123. The created movement amount can be referred to by the operation amount do stored in the memory 125, and by this reference, it can be determined whether or not an abnormal payout has been made. In addition, here, it is conceivable that a large movement amount is suddenly instructed to the machine tool 103 from the operation control unit 123 in the abnormal payout when the shock occurs in the machine tool 103.
Therefore, if no abnormality is found in the operation amount do stored in the memory 125, it can be said that the problem is with the machine tool 103.
In this case, by further referring to the control amount di stored in the memory 125 on the display / operation panel 101, it can be determined whether the servo motor has been normally driven according to the operation amount do. Machine tool 103
It is possible to discriminate the factor as to whether the problem is a structural problem or a servo motor problem.
On the other hand, if there is an abnormality in the manipulated variable do, it can be said that the numerical controller 102 has a problem. In this case, the data stored in the memory 125, the operation instruction a, the NC program b, and the NC are further considered from the viewpoint of investigating the reason why the operation control unit 123 has performed an abnormal payout.
By referring to the command c on the display / operation panel 101, it is possible to extract the condition of the occurrence of the phenomenon. As described above, in the numerical controller 102 according to the present embodiment, even when a short-circuit deficiency such as a shock phenomenon in the machine tool 103 occurs, information corresponding to each module is displayed on the display / operation panel 101. Since these are output in association with each other, it is easy to investigate the cause of the trouble, and early problem solving can be expected.

【0008】[0008]

【発明の効果】以上説明したように、本発明の数値制御
装置によれば、記憶手段に、マンマシンインタフェース
部、オペレーティングシステム部、ドライバ部、インタ
プリタ部、サーボ/主軸パルス生成部、プログラムロジ
ックコントローラ部などの各モジュール間で伝達される
処理情報または各モジュールが出力する演算結果等の情
報を、各モジュール毎に、該モジュールの所定動作単位
毎に記録し、トラブル発生時には、マンマシンインタフ
ェース部を介して、記憶手段に記録された各モジュール
に対応した情報を、互いに関連づけて出力したり、ドラ
イバ部を介して、記憶手段に記憶された情報を外部機器
に伝送することとして、モジュール毎の内部データを該
モジュール固有の動作単位毎に記録してこれらを関連づ
けて表示出力または伝送出力することにより、発生頻度
の著しく低いトラブル等が発生した場合でも、より適切
でより多い情報を獲得することができ、トラブル発生時
の該トラブルの要因解析および制御システムの早期復旧
を可能とした数値制御装置を提供することができる。
As described above, according to the numerical controller of the present invention, the storage means stores the man-machine interface, the operating system, the driver, the interpreter, the servo / spindle pulse generator, and the program logic controller. The processing information transmitted between each module such as the unit or the information such as the operation result output by each module is recorded for each module for each predetermined operation unit of the module. The information corresponding to each module recorded in the storage unit is output in association with each other, or the information stored in the storage unit is transmitted to an external device via a driver unit, thereby making the internal Data is recorded for each operation unit unique to the module, and these are correlated and displayed or output. By transmitting and outputting, even if a trouble with extremely low frequency of occurrence occurs, more appropriate and more information can be obtained, enabling analysis of the cause of the trouble when trouble occurs and early recovery of the control system. A numerical control device can be provided.

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

【図1】本発明の一実施形態に係る数値制御装置の構成
図である。
FIG. 1 is a configuration diagram of a numerical control device according to an embodiment of the present invention.

【図2】従来の数値制御装置の構成図である。FIG. 2 is a configuration diagram of a conventional numerical control device.

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

101,201 表示・操作パネル 102,202 数値制御装置 103,203 工作機械 104 外部機器 121,221 システム統括部 122,222 解析部(インタープリタ) 123,223 動作統括部 124,224 PLC(プログラムロジックコント
ローラ)部 125 メモリ(記憶手段) a データや操作指示 b NCプログラム c NC指令 do 動作統括部123の操作量 di 動作統括部123への制御量 e PLC部124へのNC指令 fo PLC部124の操作量 fi PLC部124への制御量
101, 201 Display / operation panel 102, 202 Numerical control device 103, 203 Machine tool 104 External device 121, 221 System control unit 122, 222 Analysis unit (interpreter) 123, 223 Operation control unit 124, 224 PLC (program logic controller) Unit 125 memory (storage means) a data or operation instruction b NC program c NC command do operation amount of operation control unit 123 di control amount to operation control unit 123 e NC command to PLC unit 124 fo operation amount of PLC unit 124 fi Control amount to PLC section 124

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 マンマシンインタフェース部、オペレー
ティングシステム部、ドライバ部、インタプリタ部、サ
ーボ/主軸パルス生成部、プログラムロジックコントロ
ーラ部などのモジュールを備えて工作機械等を数値制御
する数値制御装置において、 前記各モジュール間で伝達される処理情報または前記各
モジュールが出力する演算結果等の情報を、各モジュー
ル毎に、該モジュールの所定動作単位毎に記録する記憶
手段を有することを特徴とする数値制御装置。
1. A numerical control device for numerically controlling a machine tool or the like including modules such as a man-machine interface unit, an operating system unit, a driver unit, an interpreter unit, a servo / spindle pulse generator, and a program logic controller. Numerical control apparatus comprising storage means for recording, for each module, processing information transmitted between the modules or information such as a calculation result output from each module for each predetermined operation unit of the module. .
【請求項2】 前記マンマシンインタフェース部は、ト
ラブル発生時に、前記記憶手段に記録された各モジュー
ルに対応した情報を、互いに関連づけて出力することを
特徴とする請求項1に記載の数値制御装置。
2. The numerical controller according to claim 1, wherein the man-machine interface unit outputs information corresponding to each module recorded in the storage unit in association with each other when a trouble occurs. .
【請求項3】 前記ドライバ部は、トラブル発生時に、
前記記憶手段に記憶された情報を外部機器に伝送するこ
とを特徴とする請求項1または2に記載の数値制御装
置。
3. The driver unit, when a trouble occurs,
3. The numerical control device according to claim 1, wherein the information stored in the storage unit is transmitted to an external device.
JP33434697A 1997-12-04 1997-12-04 Numerical controller Pending JPH11167404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33434697A JPH11167404A (en) 1997-12-04 1997-12-04 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33434697A JPH11167404A (en) 1997-12-04 1997-12-04 Numerical controller

Publications (1)

Publication Number Publication Date
JPH11167404A true JPH11167404A (en) 1999-06-22

Family

ID=18276346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33434697A Pending JPH11167404A (en) 1997-12-04 1997-12-04 Numerical controller

Country Status (1)

Country Link
JP (1) JPH11167404A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1231527A2 (en) * 2001-02-09 2002-08-14 Toyoda Koki Kabushiki Kaisha Control system of machine tool
US6580965B2 (en) 2000-06-08 2003-06-17 Exy Concept Co., Ltd. Raw garbage liquefying apparatus and method of managing same
US7590468B2 (en) 2003-09-29 2009-09-15 Fanuc Ltd Robot system
JP2018534680A (en) * 2015-10-13 2018-11-22 サンドビック インテレクチュアル プロパティー アクティエボラーグ Process monitoring and adaptive control of machine tools
JP2020139741A (en) * 2019-02-26 2020-09-03 ファナック株式会社 Case opening recording device and case opening recording system for recording whether case has been removed from circuit board

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6580965B2 (en) 2000-06-08 2003-06-17 Exy Concept Co., Ltd. Raw garbage liquefying apparatus and method of managing same
EP1231527A2 (en) * 2001-02-09 2002-08-14 Toyoda Koki Kabushiki Kaisha Control system of machine tool
EP1231527A3 (en) * 2001-02-09 2008-02-06 Jtekt Corporation Control system of machine tool
US7590468B2 (en) 2003-09-29 2009-09-15 Fanuc Ltd Robot system
JP2018534680A (en) * 2015-10-13 2018-11-22 サンドビック インテレクチュアル プロパティー アクティエボラーグ Process monitoring and adaptive control of machine tools
JP2020139741A (en) * 2019-02-26 2020-09-03 ファナック株式会社 Case opening recording device and case opening recording system for recording whether case has been removed from circuit board
US11564323B2 (en) 2019-02-26 2023-01-24 Fanuc Corporation Case opening recording apparatus and case opening recording system that record whether or not case is removed from circuit board

Similar Documents

Publication Publication Date Title
US5715388A (en) Computer system for controlling an industrial robot subsystem which can monitor and detect abnormalities therein
JP2574983B2 (en) Multitask control system
CN101093392A (en) Digital control system controlled based on computer online or off line method, and operation method
CN107042513B (en) Machining robot system
JPH11167404A (en) Numerical controller
JP6633477B2 (en) Production control device with a function to identify the cause when the operation of a production facility consisting of multiple production facilities is stopped
EP0428950B1 (en) Motor driving control apparatus
JP2004227047A (en) Machining device
JPH08263113A (en) Abnormality processing control unit
JPH0262606A (en) Cnc diagnosing system
JP2514882B2 (en) Communication network system of resistance welding machine
JPH0217509A (en) Cad cam device
CN116736798B (en) Servo control method and system
JPH11143523A (en) State diagnostic device for numerical controller
JP2003022109A (en) Numerical controller
JPH0392907A (en) Numerical controller
JPS63102892A (en) Uncontrolled movement preventive method of robot
JPH02287801A (en) Fault information display system for numerical controller
JPH06110900A (en) Production management device
JP2820190B2 (en) Remote NC processing system
JPH07104810A (en) Numerical controller
KR20010011041A (en) servo drive system for motor and control method thereof
JPH02257308A (en) Check plotting system for working program
JP2597635B2 (en) All key operation check method and device
JPH0268606A (en) Cnc diagnosing system