JPH07104822A - Numerical control system - Google Patents

Numerical control system

Info

Publication number
JPH07104822A
JPH07104822A JP5251288A JP25128893A JPH07104822A JP H07104822 A JPH07104822 A JP H07104822A JP 5251288 A JP5251288 A JP 5251288A JP 25128893 A JP25128893 A JP 25128893A JP H07104822 A JPH07104822 A JP H07104822A
Authority
JP
Japan
Prior art keywords
controller
numerical control
bus
machine
man
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
JP5251288A
Other languages
Japanese (ja)
Inventor
Hideaki Inoue
秀明 井上
Katahito Ichijo
賢仁 一條
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 JP5251288A priority Critical patent/JPH07104822A/en
Publication of JPH07104822A publication Critical patent/JPH07104822A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To provide a numerical control system capable of diagnosis from the outside when the use of fault diagnostic systems provided in a numerical controller and a programmable machine controller themselves is disabled. CONSTITUTION:In the configuration where a numerical controller 12 provided with the fault diagnostic system, programmable machine controller 13, manmachine interface controller 14 provided with no fault diagnostic function and graphic board 15 are connected to a bus 11, a debugging means 16 is connected to the man-machine interface controller 14 by a communication line, when the use of the fault diagnostic system is impossible, access can be performed from the debugging means 16 connected to the man-machine interface controller 14 through the bus 11 to an alarm message storage area 12a or 13a of the numerical controller 12 or the programmable machine controller 13. And also fault diagnosis is made possible by performing access through the bus 11 to an alarm message storage area 15a of the graphic board 15.

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 system having a debug function, and particularly to a board having a processor connected to each other by a bus, in which a failure diagnosis function cannot be used or a board without a failure diagnosis function has a failure diagnosis function. The present invention relates to a numerical control system having a debug function that enables the above.

【0002】[0002]

【従来の技術】数値制御システムは、数値制御システム
全体の制御とサーボモータの制御とを実行する数値制御
装置と、数値制御装置からのM機能(補助機能指令)、
S機能(主軸機能指令)、T機能(工具選択指令)など
の信号を受け、工作機械を制御するプログラマブル・マ
シン・コントローラと、オペレータと数値制御システム
とのインタフェースとしての機能を果たすマン・マシー
ン・インタフェース・コントローラとによって構成され
ており、それぞれプロセッサを有し、それぞれ1枚のプ
リント板に収められている。また、数値制御システムに
おいて独自にプロセッサを備えたものとしては数値制御
装置のグラフィック制御関係の機能を有するグラフィッ
クボードがある。
2. Description of the Related Art A numerical control system includes a numerical control device for controlling the entire numerical control system and a servomotor, and an M function (auxiliary function command) from the numerical control device.
A programmable machine controller that receives signals from the S function (spindle function command), T function (tool selection command), etc., and controls the machine tool, and a man machine that functions as an interface between the operator and the numerical control system. An interface controller and each of them have a processor and are housed in a single printed board. Further, as a numerical control system having a processor uniquely, there is a graphic board having a graphic control function of a numerical control device.

【0003】図3はデバッグ機能を有する従来の数値制
御システムの構成を示す図である。図において、1はバ
スであり、このバス1には数値制御装置(CNC装置)
2、プログラマブル・マシン・コントローラ(PMC装
置)3、マン・マシーン・インタフェース・コントロー
ラ(MMC装置)4及びグラフィックボード5の各プリ
ント板が接続されている。マン・マシーン・インタフェ
ース・コントローラ4には、たとえばRS232Cのよ
うな通信回線を介してマン・マシーン・インタフェース
・コントローラ4に専用のデバッグ手段6が接続されて
いる。このデバッグ手段6は専用又は汎用のコンピュー
タ及びこのコンピュータに搭載のデバッグ用アプリケー
ションプログラムより構成されている。
FIG. 3 is a diagram showing the configuration of a conventional numerical control system having a debug function. In the figure, reference numeral 1 denotes a bus, and the bus 1 has a numerical control device (CNC device).
Printed boards 2, programmable machine controller (PMC device) 3, man-machine interface controller (MMC device) 4, and graphic board 5 are connected. A dedicated debug means 6 is connected to the man machine interface controller 4 via a communication line such as RS232C. The debugging means 6 is composed of a dedicated or general-purpose computer and a debugging application program installed in this computer.

【0004】従来の数値制御システムにおいては、数値
制御装置2及びプログラマブル・マシン・コントローラ
3にはメモリダンプ機能などの故障診断システムをそれ
ぞれ独自に有しており、メモリダンプ機能によってメモ
リのアラームメッセージ格納領域に記憶されているアラ
ーム番号を見たり、過去のエラーの内容を見ることがで
きるようになっている。また、マン・マシーン・インタ
フェース・コントローラ4自身には故障診断機能を有し
ていないが、プロセッサ内のプログラムカウンタの内容
やプロセッサに対するアクセス内容などを記憶しておく
メモリ領域があり、これを外部に接続されたデバッグ手
段6からアクセスすることができる。すなわち、デバッ
グ手段6が起動すると、マン・マシーン・インタフェー
ス・コントローラ4のアプリケーションプログラムが停
止し、デバッグ手段6から特定のメモリ領域を直接アク
セスすることによってアプリケーションプログラムのデ
バッグ操作が可能になっている。なお、グラフィックボ
ード5についても自身には、故障診断機能を有していな
い。
In the conventional numerical control system, the numerical control device 2 and the programmable machine controller 3 each have their own failure diagnosis system such as a memory dump function, and the memory dump function stores the alarm message in the memory. You can see the alarm numbers stored in the area and the contents of past errors. Further, although the man-machine interface controller 4 itself does not have a failure diagnosis function, it has a memory area for storing the contents of the program counter in the processor, the contents of access to the processor, etc. It can be accessed from the connected debug means 6. That is, when the debugging means 6 is activated, the application program of the man-machine interface controller 4 is stopped, and the debugging operation of the application program is possible by directly accessing a specific memory area from the debugging means 6. The graphic board 5 itself does not have a failure diagnosis function.

【0005】[0005]

【発明が解決しようとする課題】しかし、デバッグ機能
を有する従来の数値制御システムにおいて、数値制御装
置2及びプログラマブル・マシン・コントローラ3はそ
れぞれ独自の故障診断システムを有していて、プログラ
ムに障害が発生したときにそれぞれ単独で故障を自己診
断することができるが、数値制御装置2及びプログラマ
ブル・マシン・コントローラ3自身がシステムエラーな
どによってハングアップした場合には、同じプロセッサ
が故障診断システムを制御しているので、故障診断シス
テムも使用不能となってしまい、アラームメッセージを
読むことができない、という問題点があった。
However, in the conventional numerical control system having the debug function, the numerical control device 2 and the programmable machine controller 3 each have their own failure diagnosis system, so that the program is not affected. When they occur, they can self-diagnose the failure independently, but if the numerical controller 2 and programmable machine controller 3 themselves hang up due to a system error, the same processor controls the failure diagnosis system. Therefore, there is a problem that the failure diagnosis system cannot be used and the alarm message cannot be read.

【0006】本発明はこのような点に鑑みてなされたも
のであり、数値制御装置及びプログラマブル・マシン・
コントローラ自身の持つ故障診断システムが使用不能に
なった場合に、外部から診断することができる数値制御
システムを提供することを目的とする。
The present invention has been made in view of the above points, and a numerical controller and a programmable machine
It is an object of the present invention to provide a numerical control system capable of diagnosing externally when the failure diagnosis system of the controller itself becomes unusable.

【0007】[0007]

【課題を解決するための手段】本発明では上記課題を解
決するために、デバッグ機能を有する数値制御システム
において、数値制御システム全体の制御及びサーボモー
タの制御を実行するプロセッサを持った数値制御装置
と、前記数値制御装置からの指令を受けて工作機械を制
御するプロセッサを持ったプログラマブル・マシン・コ
ントローラと、オペレータとのインタフェースとしての
機能を果たすプロセッサを持ったマン・マシーン・イン
タフェース・コントローラと、グラフィック制御を行う
プロセッサを持ったグラフィックボードと、前記数値制
御装置、前記プログラマブル・マシン・コントローラ、
前記マン・マシーン・インタフェース・コントローラ及
び前記グラフィックボードに接続され、これらの間でデ
ータの転送を行うバスと、前記数値制御装置、前記プロ
グラマブル・マシン・コントローラ又は前記マン・マシ
ーン・インタフェース・コントローラと通信回線で接続
され、前記バスを経由して前記バスに接続されている他
の前記数値制御装置、前記プログラマブル・マシン・コ
ントローラ、前記マン・マシーン・インタフェース・コ
ントローラ又は前記グラフィックボードのアラームメッ
セージ格納領域にアクセスするデバッグ手段とを備えた
ことを特徴とする数値制御システムが提供される。
In order to solve the above-mentioned problems, the present invention provides a numerical control system having a debugging function, which has a processor for controlling the entire numerical control system and the servomotor. And a programmable machine controller having a processor for controlling a machine tool in response to a command from the numerical control device, and a man-machine interface controller having a processor that functions as an interface with an operator, A graphic board having a processor for graphic control, the numerical controller, the programmable machine controller,
A bus connected to the man-machine interface controller and the graphic board for transferring data between them, and communicating with the numerical controller, the programmable machine controller or the man-machine interface controller. In the alarm message storage area of the other numerical control device, the programmable machine controller, the man-machine interface controller, or the graphic board connected by a line and connected to the bus via the bus A numerical control system is provided, which comprises a debug means for accessing.

【0008】[0008]

【作用】上述の手段によれば、バスに接続された故障診
断機能を有する数値制御装置又はプログラマブル・マシ
ン・コントローラがシステムのハングアップによりその
故障診断機能を使用できない場合、デバッグ手段を他の
数値制御装置、プログラマブル・マシン・コントローラ
又はマン・マシーン・インタフェース・コントローラに
接続し、バスを経由して故障診断機能が使用できなくな
った数値制御装置又はプログラマブル・マシン・コント
ローラのアラームメッセージ格納領域にアクセスする。
また、故障診断機能を持たないグラフィックボードにつ
いても、数値制御装置、プログラマブル・マシン・コン
トローラ又はマン・マシーン・インタフェース・コント
ローラに接続されたデバッグ手段からバスを経由してグ
ラフィックボードのアラームメッセージ格納領域にアク
セスする。
According to the above-mentioned means, when the numerical control device or the programmable machine controller having the fault diagnosis function connected to the bus cannot use the fault diagnosis function due to the system hang-up, the debug means is changed to another numerical value. Connect to the controller, programmable machine controller or man-machine interface controller, and access the alarm message storage area of the numerical controller or programmable machine controller whose fault diagnosis function is disabled via the bus. .
In addition, even for graphic boards that do not have a failure diagnosis function, the debug means connected to the numerical controller, programmable machine controller, or man-machine interface controller can access the alarm message storage area of the graphic board via the bus. to access.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本発明によるデバッグ機能を有する数値
制御システムの構成を示す図である。図において、11
はそれぞれプロセッサを有するボードが接続されるバス
であり、このバス11に、数値制御装置12、プログラ
マブル・マシン・コントローラ13、マン・マシーン・
インタフェース・コントローラ14及びグラフィックボ
ード15の各ボードが接続されている。マン・マシーン
・インタフェース・コントローラ14にはデバッグ手段
16が通信回線により接続されている。また、デバッグ
手段16は、必要に応じて、数値制御装置12又はプロ
グラマブル・マシン・コントローラ13にこれらの通信
回線を使用して選択的に接続することができる。さら
に、バス11に接続された各ボードには、それぞれのプ
ロセッサの制御動作中に発生したアラームの内容が記憶
されているアラームメッセージ格納領域12a、13
a、14a、15aを有している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration of a numerical control system having a debug function according to the present invention. In the figure, 11
Is a bus to which boards each having a processor are connected, and to the bus 11, a numerical controller 12, a programmable machine controller 13, a man machine,
The interface controller 14 and the graphic board 15 are connected to each other. Debug means 16 is connected to the man-machine interface controller 14 by a communication line. Further, the debug means 16 can be selectively connected to the numerical controller 12 or the programmable machine controller 13 by using these communication lines, if necessary. Further, each board connected to the bus 11 stores alarm message storage areas 12a and 13 in which the contents of alarms generated during the control operation of the respective processors are stored.
a, 14a, 15a.

【0010】デバッグ手段16はたとえばパーソナルコ
ンピュータにデバッグ用アプリケーションプログラムを
搭載したものとすることができる。通信回線としては、
数値制御装置12、プログラマブル・マシン・コントロ
ーラ13及びマン・マシーン・インタフェース・コント
ローラ14がそれぞれ備えているRS232Cが利用さ
れる。
The debugging means 16 may be, for example, a personal computer equipped with a debugging application program. As a communication line,
The RS232C provided in each of the numerical control device 12, the programmable machine controller 13, and the man-machine interface controller 14 is used.

【0011】デバッグ手段16は、主としてマン・マシ
ーン・インタフェース・コントローラ14のためのデバ
ッガとして作用する。したがって、通常は、デバッグ手
段16からマン・マシーン・インタフェース・コントロ
ーラ14のメモリのアラームメッセージ格納領域14a
を直接アクセスし、アラームの内容を見て、アプリケー
ションプログラムのデバッグ操作を行う。
The debug means 16 acts primarily as a debugger for the man machine interface controller 14. Therefore, normally, the alarm message storage area 14a of the memory of the man-machine interface controller 14 from the debug means 16
Directly access and see the contents of the alarm to debug the application program.

【0012】このとき、数値制御装置12及びプログラ
マブル・マシン・コントローラ13においても、プログ
ラムの障害発生時に、それぞれアラームメッセージ格納
領域12a、13aにアラームの内容が記憶され、これ
に基づいて故障診断システムを単独に働かせることがで
きる。グラフィックボード15については、そのプロセ
ッサが障害発生時にアラームメッセージ格納領域15a
にアラームの内容を書き込むようにしている。
At this time, also in the numerical controller 12 and the programmable machine controller 13, when a program failure occurs, the contents of the alarm are stored in the alarm message storage areas 12a and 13a, respectively, and the failure diagnosis system is based on this. Can work alone. Regarding the graphic board 15, an alarm message storage area 15a when the processor fails
The contents of the alarm are written in.

【0013】ここで、数値制御装置12又はプログラマ
ブル・マシン・コントローラ13が何らかの理由でダウ
ンして、それぞれの故障診断システムが動作不能になっ
た場合には、これらのアラームメッセージ格納領域12
a、13aに記憶されているアラームの内容を、デバッ
グ手段16からマン・マシーン・インタフェース・コン
トローラ14が接続されているバス11を経由してアク
セスすることにより見ることができる。また、もともと
故障診断機能のないグラフィックボード15に対して
も、そのアラームメッセージ格納領域15aに、同じよ
うにしてバス11経由でアクセスすることができ、アラ
ームの内容を見ることができる。
Here, if the numerical control device 12 or the programmable machine controller 13 goes down for some reason and the respective failure diagnosis systems become inoperable, these alarm message storage areas 12 are stored.
The contents of the alarms stored in a and 13a can be viewed by accessing from the debug means 16 via the bus 11 to which the man-machine interface controller 14 is connected. Further, even for the graphic board 15 originally having no failure diagnosis function, the alarm message storage area 15a can be accessed in the same way via the bus 11, and the content of the alarm can be viewed.

【0014】このようにして、デバッグ手段16からバ
ス11経由でバス11に繋がっているボードのアラーム
の内容を見にいくことができるが、数値制御装置12及
びプログラマブル・マシン・コントローラ13が従来よ
り持っている故障診断機能はそのまま保持している。こ
れは、それぞれのプロセッサが動いていなければできな
いような診断機能があるためである。
In this way, the contents of the alarm of the board connected to the bus 11 via the bus 11 from the debug means 16 can be seen, but the numerical controller 12 and the programmable machine controller 13 are different from the conventional ones. The fault diagnosis function it has is retained. This is because there is a diagnostic function that cannot be done unless each processor is running.

【0015】また、デバッグ手段16は数値制御装置1
2又はプログラマブル・マシン・コントローラ13に通
信回線を通じて接続し、バス11を介してこのバス11
に繋がっている他のボードのアラームメッセージ格納領
域にアクセスするように構成することもできる。たとえ
ば、デバッグ手段16を数値制御装置12に接続し、バ
ス11を経由してプログラマブル・マシン・コントロー
ラ13のアラームメッセージ格納領域13aにアクセス
したり、その逆の操作も可能である。
The debug means 16 is the numerical controller 1
2 or the programmable machine controller 13 through a communication line, and the bus 11 through the bus 11.
It can also be configured to access the alarm message storage area of another board connected to. For example, it is possible to connect the debug means 16 to the numerical controller 12 and access the alarm message storage area 13a of the programmable machine controller 13 via the bus 11 and vice versa.

【0016】図2は本発明の一実施例である対話形数値
制御装置の構成を示すブロック図である。図において、
数値制御装置12は、プロセッサ21、読み取り専用メ
モリ(ROM)22、ランダムアクセスメモリ(RA
M)23、不揮発性メモリ24及び入出力インタフェー
ス25を有し、それぞれバス26に接続されている。ラ
ンダムアクセスメモリ23の一部にはアラームメッセー
ジ格納領域12aが設定されている。さらに、このバス
26には軸制御回路27が接続され、この軸制御回路2
7はサーボアンプ28を介して工作機械30に接続され
ている。
FIG. 2 is a block diagram showing the configuration of an interactive numerical control apparatus which is an embodiment of the present invention. In the figure,
The numerical controller 12 includes a processor 21, a read-only memory (ROM) 22, a random access memory (RA).
M) 23, a non-volatile memory 24, and an input / output interface 25, each connected to a bus 26. An alarm message storage area 12a is set in a part of the random access memory 23. Further, an axis control circuit 27 is connected to the bus 26, and the axis control circuit 2
7 is connected to a machine tool 30 via a servo amplifier 28.

【0017】プログラマブル・マシン・コントローラ1
3はバス26に接続され、詳細は示さないが、自身の故
障診断システムを実行することができるプロセッサを有
し、あるメモリ領域にはアラームメッセージ格納領域1
3aが設定されている。
Programmable machine controller 1
3 is connected to the bus 26, has a processor (not shown in detail) capable of executing its own failure diagnosis system, and has an alarm message storage area 1 in a certain memory area.
3a is set.

【0018】マン・マシーン・インタフェース・コント
ローラ14は、プロセッサ41、読み取り専用メモリ
(ROM)42、ランダムアクセスメモリ(RAM)4
3、不揮発性メモリ44、入出力インタフェース45、
ビデオRAM(VRAM)46及びグラフィック制御回
路47を有し、それぞれバス48に接続されている。ラ
ンダムアクセスメモリ43の一部にはアラームメッセー
ジ格納領域14aが設定されている。入出力インタフェ
ース45にはデバッグ手段16が接続されている。ま
た、バス48はバス49によりバス26に接続されて、
図1のバス11を構成している。
The man-machine interface controller 14 includes a processor 41, a read-only memory (ROM) 42, and a random access memory (RAM) 4.
3, non-volatile memory 44, input / output interface 45,
It has a video RAM (VRAM) 46 and a graphic control circuit 47, each connected to a bus 48. An alarm message storage area 14a is set in a part of the random access memory 43. The debug means 16 is connected to the input / output interface 45. Also, the bus 48 is connected to the bus 26 by the bus 49,
It constitutes the bus 11 of FIG.

【0019】グラフィックボード15はCRT/MDI
(Cathod Ray Tube / Manual DataInput )ユニット5
0のグラフィック制御回路51に相当し、バス26に接
続されている。このグラフィック制御回路51にも同様
にアラームメッセージ格納領域15aを有している。
The graphic board 15 is a CRT / MDI
(Cathod Ray Tube / Manual DataInput) Unit 5
It corresponds to the graphic control circuit 51 of 0 and is connected to the bus 26. The graphic control circuit 51 also has an alarm message storage area 15a.

【0020】CRT/MDIユニット50は他に、切換
器52、表示装置53、キーボード54及びソフトウェ
アキー55を有している。数値制御装置12用のプロセ
ッサ21は読み取り専用メモリ22に格納されたシステ
ムプログラムに従って対話形数値制御装置全体を制御す
る。ランダムアクセスメモリ23はアラームメッセージ
の他、各種のデータあるいは入出力信号が格納される。
不揮発性メモリ24には、電源切断後も保持すべき加工
プログラム、パラメータ、ピッチ誤差補正量、工具補正
量などが格納される。また、入出力インタフェース46
には、フロッピーディスク装置、プリンタ、あるいは紙
テープリーダなどの外部機器が接続され、これらとの間
でNCデータを含むデータの入出力を制御する。
The CRT / MDI unit 50 also has a switch 52, a display device 53, a keyboard 54 and a software key 55. The processor 21 for the numerical controller 12 controls the entire interactive numerical controller according to the system program stored in the read-only memory 22. The random access memory 23 stores various data or input / output signals in addition to the alarm message.
The non-volatile memory 24 stores a machining program, parameters, pitch error correction amount, tool correction amount, etc. that should be retained even after the power is turned off. Also, the input / output interface 46
An external device such as a floppy disk device, a printer, or a paper tape reader is connected to the device, and the input / output of data including NC data is controlled between these devices.

【0021】軸制御回路27はプロセッサ21から軸の
移動指令を受けて、軸の指令をサーボアンプ28に出力
する。サーボアンプ28はこの移動指令を受けて、工作
機械30のサーボモータを駆動する。
The axis control circuit 27 receives the axis movement command from the processor 21 and outputs the axis command to the servo amplifier 28. The servo amplifier 28 receives the movement command and drives the servo motor of the machine tool 30.

【0022】プログラマブル・マシン・コントローラ1
3はNCプログラムを実行する際に、T機能信号(工具
選択指令)などを受け取る。そして、これらの信号をシ
ーケンス・プログラムで処理して、動作指令として信号
を出力し、工作機械30を制御する。また、工作機械3
0から状態信号を受けて、シーケンス処理を行なって、
プロセッサ21へ必要な入力信号を転送する。
Programmable machine controller 1
3 receives a T function signal (tool selection command) or the like when executing the NC program. Then, these signals are processed by the sequence program, the signals are output as operation commands, and the machine tool 30 is controlled. In addition, machine tool 3
Receive status signal from 0, perform sequence processing,
Transfer the required input signals to the processor 21.

【0023】マン・マシーン・インタフェース・コント
ローラ14用のプロセッサ41は読み取り専用メモリ4
2に格納された対話処理用のプログラムを実行して、対
話形データの入力画面において、設定可能な作業又はデ
ータなどをメニュー形式でCRT/MDIユニット50
の表示装置53に表示する。また、こうして入力された
データから加工プログラムを作成するとともに、バック
グラウンドアニメーションとして、工具の全体の動作軌
跡などを表示する。読み取り専用メモリ42には対話処
理用のプログラムの他に、対話形データの入力画面など
が格納される。ランダムアクセスメモリ43には、アラ
ームメッセージの他、対話用の各種データなどが格納さ
れる。不揮発性メモリ44は図示されていないバッテリ
によってバックアップされており、電源切断後も保持す
べきプログラムデータ及び加工プログラムなどが格納さ
れる。入出力インタフェース45はハードウェアがたと
えばパーソナルコンピュータによって構成されたデバッ
グ手段16にRS232Cで接続されている。ビデオR
AM46は高速にアクセス可能なRAMであって、不揮
発性メモリ44にNC文として格納された加工プログラ
ムに基づき工作機械30の切削シミュレーションを行う
際にアニメーション表示のためのグラフィックデータが
格納される。グラフィック制御回路47はビデオRAM
46に格納されたグラフィックデータを表示用の信号に
変換して出力する。
The processor 41 for the man-machine interface controller 14 is a read-only memory 4
The interactive processing program stored in 2 is executed, and the work or data that can be set on the interactive data input screen is displayed in the menu format in the CRT / MDI unit 50.
Is displayed on the display device 53. In addition, a machining program is created from the data thus input, and the overall motion trajectory of the tool is displayed as a background animation. In the read-only memory 42, an interactive data input screen and the like are stored in addition to the interactive processing program. The random access memory 43 stores various data for dialogue in addition to the alarm message. The non-volatile memory 44 is backed up by a battery (not shown), and stores program data and machining programs that should be retained even after the power is turned off. The input / output interface 45 is connected by RS232C to the debug means 16 whose hardware is constituted by, for example, a personal computer. Video R
The AM 46 is a RAM that can be accessed at high speed, and stores graphic data for animation display when a cutting simulation of the machine tool 30 is performed based on a machining program stored as an NC sentence in the non-volatile memory 44. The graphic control circuit 47 is a video RAM
The graphic data stored in 46 is converted into a signal for display and output.

【0024】また、オペレータとのヒューマンインタフ
ェースをとるCRT/MDIユニット50のグラフィッ
ク制御回路51はプロセッサ21などから出力されたデ
ィジタル信号を表示用の信号に変換して出力する。切換
器52はグラフィック制御回路47又はグラフィック制
御回路51から出力された表示用の信号を切り換えて表
示装置53に与える。キーボード54はシンボリックキ
ー、数値キーなどから成り、必要な図形データ、NCデ
ータをこれらのキーを使用して入力する。ソフトウェア
キー55はシステムプログラムなどによって機能が変化
する指令キーであって、その機能名称などは表示装置5
3の所定の画面位置に表示される。
Further, the graphic control circuit 51 of the CRT / MDI unit 50 which takes a human interface with the operator converts a digital signal output from the processor 21 or the like into a signal for display and outputs it. The switch 52 switches the display signal output from the graphic control circuit 47 or the graphic control circuit 51 and supplies it to the display device 53. The keyboard 54 is composed of symbolic keys, numerical keys and the like, and the necessary graphic data and NC data are input using these keys. The software key 55 is a command key whose function changes according to a system program or the like, and the function name and the like are displayed on the display device 5.
3 is displayed at a predetermined screen position.

【0025】なお、表示装置53において、グラフィッ
ク制御回路47からの表示用の信号については、対話用
のプロセッサ41により処理され、作成されたプログラ
ムデータによってバックグラウンドアニメーション表示
が行われる。同様に、グラフィック制御回路51からの
表示用の信号では、対話形式で加工プログラムを作成し
ていくときに、形状及び加工条件などが表示される。
In the display device 53, the display signal from the graphic control circuit 47 is processed by the interactive processor 41, and the background animation is displayed by the created program data. Similarly, in the signal for display from the graphic control circuit 51, the shape, the processing conditions, etc. are displayed when the processing program is created interactively.

【0026】[0026]

【発明の効果】以上説明したように本発明では、バスに
接続されている各種ボードのアラームメッセージをバス
経由で見にいくことができるようになったので、システ
ムがハングアップして故障診断システムが動かなくなっ
たボードや自分自身に故障診断機能を有していないボー
ドの故障診断が可能になり、数値制御システムのデバッ
グ機能を向上させることができる。
As described above, according to the present invention, it becomes possible to see the alarm messages of various boards connected to the bus via the bus. Therefore, the system hangs up and the failure diagnosis system is executed. It is possible to diagnose the failure of the board that does not work or the board that does not have the failure diagnosis function by itself, and improve the debugging function of the numerical control system.

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

【図1】本発明によるデバッグ機能を有する数値制御シ
ステムの構成を示す図である。
FIG. 1 is a diagram showing a configuration of a numerical control system having a debug function according to the present invention.

【図2】本発明の一実施例である対話形数値制御装置の
構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of an interactive numerical control device that is an embodiment of the present invention.

【図3】デバッグ機能を有する従来の数値制御システム
の構成を示す図である。
FIG. 3 is a diagram showing a configuration of a conventional numerical control system having a debug function.

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

11 バス 12 数値制御装置 13 プログラマブル・マシン・コントローラ 14 マン・マシーン・インタフェース・コントローラ 15 グラフィックボード 16 デバッグ手段 11 Bus 12 Numerical Control Unit 13 Programmable Machine Controller 14 Man Machine Interface Controller 15 Graphic Board 16 Debug Means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 デバッグ機能を有する数値制御システム
において、 数値制御システム全体の制御及びサーボモータの制御を
実行するプロセッサを持った数値制御装置と、 前記数値制御装置からの指令を受けて工作機械を制御す
るプロセッサを持ったプログラマブル・マシン・コント
ローラと、 オペレータとのインタフェースとしての機能を果たすプ
ロセッサを持ったマン・マシーン・インタフェース・コ
ントローラと、 グラフィック制御を行うプロセッサを持ったグラフィッ
クボードと、 前記数値制御装置、前記プログラマブル・マシン・コン
トローラ、前記マン・マシーン・インタフェース・コン
トローラ及び前記グラフィックボードに接続され、これ
らの間でデータの転送を行うバスと、 前記数値制御装置、前記プログラマブル・マシン・コン
トローラ又は前記マン・マシーン・インタフェース・コ
ントローラと通信回線で接続され、前記バスを経由して
前記バスに接続されている他の前記数値制御装置、前記
プログラマブル・マシン・コントローラ、前記マン・マ
シーン・インタフェース・コントローラ又は前記グラフ
ィックボードのアラームメッセージ格納領域にアクセス
するデバッグ手段と、 を備えたことを特徴とする数値制御システム。
1. A numerical control system having a debug function, comprising: a numerical control device having a processor for controlling the entire numerical control system and a servomotor; and a machine tool receiving a command from the numerical control device. A programmable machine controller having a processor for controlling, a man-machine interface controller having a processor that functions as an interface with an operator, a graphic board having a processor for performing graphic control, and the numerical control A bus connected to the device, the programmable machine controller, the man-machine interface controller and the graphic board for transferring data among them, the numerical controller, the programmable machine Other numerical control device, the programmable machine controller, and the man machine, which are connected to the computer controller or the man machine interface controller by a communication line and are connected to the bus via the bus. A numerical control system comprising: an interface controller or a debug means for accessing the alarm message storage area of the graphic board.
【請求項2】 前記デバッグ手段は、前記マン・マシー
ン・インタフェース・コントローラに接続され、前記バ
スを経由して前記数値制御装置、前記プログラマブル・
マシン・コントローラ又は前記グラフィックボードのア
ラームメッセージ格納領域にアクセスするよう構成した
ことを特徴とする請求項1記載の数値制御システム。
2. The debug means is connected to the man-machine interface controller, and the numerical control device and the programmable controller are connected via the bus.
The numerical control system according to claim 1, wherein the numerical control system is configured to access an alarm message storage area of a machine controller or the graphic board.
【請求項3】 前記デバッグ手段は、パーソナルコンピ
ュータ及びデバッグ用アプリケーションプログラムから
構成されることを特徴とする請求項1記載の数値制御シ
ステム。
3. The numerical control system according to claim 1, wherein the debug means comprises a personal computer and a debug application program.
JP5251288A 1993-10-07 1993-10-07 Numerical control system Pending JPH07104822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5251288A JPH07104822A (en) 1993-10-07 1993-10-07 Numerical control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5251288A JPH07104822A (en) 1993-10-07 1993-10-07 Numerical control system

Publications (1)

Publication Number Publication Date
JPH07104822A true JPH07104822A (en) 1995-04-21

Family

ID=17220581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5251288A Pending JPH07104822A (en) 1993-10-07 1993-10-07 Numerical control system

Country Status (1)

Country Link
JP (1) JPH07104822A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104914849A (en) * 2015-05-12 2015-09-16 安徽江淮汽车股份有限公司 Fault recording device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104914849A (en) * 2015-05-12 2015-09-16 安徽江淮汽车股份有限公司 Fault recording device and method

Similar Documents

Publication Publication Date Title
CA2266446C (en) Emulator for visual display object files and method of operation thereof
JP2608593B2 (en) Failure diagnosis method
JPS59186007A (en) Alarm display system of programmable controller
US5784621A (en) Sequence program display apparatus
US4789985A (en) Document processing apparatus having fauet detection capabilities
JPH07104822A (en) Numerical control system
WO1990014620A1 (en) System for displaying data on a screen
US5331540A (en) Symbol definition system and method a programmable machine controller
EP0418393B1 (en) Input/output signal control system
JPH0268606A (en) Cnc diagnosing system
JPH09114513A (en) Numerical control system
JPH0863218A (en) Program constitution display system
JPH0460805A (en) Sequence program generating method
JPH0245803A (en) Automatic preparing method for sequence program
JPH08171483A (en) Data processor
JPS59149509A (en) Programmable controller
JP2622419B2 (en) System parameter management method
JPS62243009A (en) Numerical controller having diagnostic cassette
JPH0811073A (en) Robot controller
JPH11143523A (en) State diagnostic device for numerical controller
JPH06175708A (en) Sequence program execution system
JPH02226307A (en) Numerical controller
WO1988010454A1 (en) Operation time display system
JPS62298811A (en) Numerical controller
JPS6362004A (en) Robot controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020521