JP2788461B2 - Processing machine status detector - Google Patents

Processing machine status detector

Info

Publication number
JP2788461B2
JP2788461B2 JP63312977A JP31297788A JP2788461B2 JP 2788461 B2 JP2788461 B2 JP 2788461B2 JP 63312977 A JP63312977 A JP 63312977A JP 31297788 A JP31297788 A JP 31297788A JP 2788461 B2 JP2788461 B2 JP 2788461B2
Authority
JP
Japan
Prior art keywords
change
information
memory
bit
state
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.)
Expired - Fee Related
Application number
JP63312977A
Other languages
Japanese (ja)
Other versions
JPH02158808A (en
Inventor
秀樹 山本
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.)
Amada Metrecs Co Ltd
Original Assignee
Amada Metrecs Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amada Metrecs Co Ltd filed Critical Amada Metrecs Co Ltd
Priority to JP63312977A priority Critical patent/JP2788461B2/en
Publication of JPH02158808A publication Critical patent/JPH02158808A/en
Application granted granted Critical
Publication of JP2788461B2 publication Critical patent/JP2788461B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は加工機械の状態検出装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial application field) The present invention relates to a state detection device of a processing machine.

(従来の技術) パンチプレスやレーザ加工機など各種加工機には数値
制御装置(以下、NC装置と略称する)が付属され、この
数値制御装置にて2次元XY軸や3次元XYZ軸などを駆動
すると共に、ローダやアンローダその他の付属装置を制
御し、所定の加工を行っている。
(Prior art) A numerical control device (hereinafter abbreviated as NC device) is attached to various processing machines such as a punch press and a laser processing machine, and two-dimensional XY axes, three-dimensional XYZ axes, and the like are attached to the numerical control devices. While driving, the loader, unloader and other attached devices are controlled to perform predetermined processing.

ここに、上記のNC装置には各種制御を行うためにソフ
トウェアが搭載されるのであるが、このソフトウェア
は、多くの場合加工機械のメーカサイドで準備され、ユ
ーザはこのソフトウェアのパラメータに数値代入するこ
とにより前記機械に所望の動作を行わせるようになって
いる。
Here, the above-mentioned NC device is equipped with software for performing various controls, and this software is often prepared by the manufacturer of the processing machine, and the user substitutes numerical values for parameters of the software. This allows the machine to perform a desired operation.

ところが、上記の如き加工機械にあっては、メーカ側
で注意深く作成されたソフトウェアにもいわゆるバグが
残っていることがあり、ユーザ側で実際加工に際して思
いがけない動作をしてしまったり、不意に停止してしま
うなどの異常な事態が生ずることがある。
However, with the above-mentioned processing machines, software that has been carefully created on the manufacturer side may still have so-called bugs, causing the user to perform unexpected operations during actual processing or stop unexpectedly. Abnormal situations such as accidents may occur.

そこで、従来は、このような事態に対し、メーカサイ
ドから技術者を派遣し、その原因を求明し、所定の対策
を取ることが行われていた。
Therefore, conventionally, in order to deal with such a situation, a technician has been dispatched from the manufacturer side, the cause has been determined, and predetermined measures have been taken.

(発明が解決しようとする課題) しかしながら、上記の従来よりの対策は、機械停止時
の現在状態を観察し、ソフトウェアに原因があると判断
されたときは、ソフトウェアを見直す作業を行うような
方式であったため、同一の異常事態を再発させてみるの
も難しく、ソフトウェアに原因があると判断されるまで
に相当時間を要していた。又、ソフトウェアに原因があ
ると判断されても、そのバグを取り除くために相当多く
の手間と時間を要していた。さらに、この間ユーザ側の
機械を停止させてしまうので、機械の稼働率を低下さ
せ、場合によっては工場ライン全体を停止させ納期を間
にあわなくするなどの問題点があった。
(Problems to be Solved by the Invention) However, the conventional countermeasures described above involve a method of observing the current state at the time of machine stop and performing a work of reviewing the software when it is determined that there is a cause in the software. Therefore, it was difficult to re-create the same abnormal situation, and it took a considerable amount of time before it was determined that the software had the cause. Also, even if it is determined that the cause is in the software, it takes a lot of trouble and time to remove the bug. Furthermore, since the machine on the user side is stopped during this time, there is a problem that the operation rate of the machine is reduced, and in some cases, the entire factory line is stopped to make the delivery time short.

そこで、本発明は、機械故障の原因を迅速に求明で
き、その対策を即座に行うことができる加工機械の状態
検出装置を提供することを目的とする。
Therefore, an object of the present invention is to provide a state detection device of a processing machine that can quickly determine the cause of a machine failure and can immediately take a countermeasure.

[発明の構成] (課題を解決するための手段) 前述のごとき従来の問題に鑑みて、本発明は、第1図
に示すように、数値制御装置と当該数値制御装置によっ
て制御される加工機械との間の指令状況を示すビット情
報の変化を所定のサンプリング周期で検出するビット変
化検出手段1と、このビット変化検出手段1によって検
出されたビット情報の変化の状態をリングバッファ的メ
モリまたはシフトレジスタ的メモリに順次記憶する変化
情報記憶手段2と、当該変化情報記憶手段2のメモリを
電源バックアップする電源バックアップ手段3と、前記
加工機械に異常が発生した状態で前記メモリに記憶され
た内容を最新情報から順次古い情報へと情報出力を指令
する操作手段4と、この操作手段4の指令に基づき前記
メモリに記憶されたビット情報に該当する指令状況をメ
ッセージテーブルから検索し、ビット情報及び指令状況
並びに状態を示すON又はOFFを表示装置に表示せしめる
変化状態報知手段5とを備えた構成である。
[Constitution of the Invention] (Means for Solving the Problems) In view of the conventional problems as described above, the present invention provides a numerical control device and a processing machine controlled by the numerical control device as shown in FIG. A bit change detecting means 1 for detecting a change in bit information indicating a command condition between the two at a predetermined sampling period, and a state of change of the bit information detected by the bit change detecting means 1 is stored in a ring buffer memory or a shift buffer. Change information storage means 2 for sequentially storing in a register memory, power supply backup means 3 for backing up the power of the memory of the change information storage means 2, and the contents stored in the memory when an abnormality has occurred in the processing machine. Operating means 4 for instructing information output from the latest information to older information sequentially, and bits stored in the memory based on the instruction of the operating means 4 Find the command status corresponding to the broadcast from the message table, a configuration in which a change state informing means 5 allowed to display on the display device ON or OFF indicating the bit information and command status and status.

(実施例) 次に、本発明をNC装置の付属されたパンチプレス機に
適用した実施例を説明する。
(Example) Next, an example in which the present invention is applied to a punch press equipped with an NC device will be described.

第2図は、パンチプレス機に付属されるNC装置のブロ
ック図である。
FIG. 2 is a block diagram of an NC device attached to the punch press.

図示のように、このNC装置は、CPU6,ROM7,RAM8A,8Bを
備えて成り、システムバス9に、デジタルインプット
(以下DIと略称する)10,デジタルアウトプット(以
下、DOと略称する)11,プログラマブルコントローラ
(以下、PCと略称する)12を備えて成る。
As shown in the figure, the NC device includes a CPU 6, a ROM 7, RAMs 8A, 8B, and a digital input (hereinafter abbreviated as DI) 10 and a digital output (hereinafter abbreviated as DO) 11 , A programmable controller (hereinafter abbreviated as PC) 12.

前記RAM8Aは読み書き可能のメモリであり、CPU6の処
理中に所要のデータを記憶するのに使用されるものであ
る。また、NCプログラムも、ここにロードとして使用す
る。
The RAM 8A is a readable and writable memory, and is used to store required data during processing of the CPU 6. The NC program is also used here as a load.

前記RAM8Bは電源バックアップされた16KBの読み書き
可能のメモリであり、本例では、うち4KBを後述するよ
うに状態検出されたビット変化の書き込みに利用する。
The RAM 8B is a 16-KB readable / writable memory that is backed up by a power supply. In this example, 4 KB is used for writing a bit change whose state is detected as described later.

前記DI10及びDO11は、パンチプレスのインダクション
モータ13など各種アクチュエータ及び各種センサ類に対
しコネクタモジュール14を介して接続されている。
The DI 10 and DO 11 are connected to various actuators such as an induction motor 13 of a punch press and various sensors via a connector module 14.

DI10は、PC12が機械から入力する最大48種の信号を1
又は0のビット信号で記憶するものである。
DI10 can receive up to 48 signals from PC12
Alternatively, it is stored as a 0 bit signal.

DO11は、PC12が機械へ出力する最大48種の信号を1又
は0のビット信号で記憶するものである。
The DO 11 stores up to 48 types of signals output from the PC 12 to the machine as 1 or 0 bit signals.

PC12は、機械動作の手順をプログラマブルに記憶する
ものであり、前記CPU6に対し、CPU6がPC12から入力する
最大96点の信号を1又は0のビット信号でDIイメージと
して記憶すると共に、CPU6がPC12へ出力する最大96点の
信号も1又は0のビット信号でDOイメージとして記憶す
るようになっている。
The PC 12 stores machine operation procedures in a programmable manner.The CPU 6 stores up to 96 signals input from the PC 12 by the CPU 6 as a DI image as 1 or 0 bit signals to the CPU 6, and the CPU 6 A maximum of 96 signals to be output to the memory are also stored as DO images with 1 or 0 bit signals.

前記システムバス9には、この他双方向性のRAM(DP
−RAMとも称する)15と、複数のシリアル通信用インタ
フェイス(SIOとも称する)16,17と、パラレル通信用イ
ンタフェイス(以下、PIOと称する)18が接続されてい
る。
The system bus 9 has another bidirectional RAM (DP
-RAM 15, a plurality of serial communication interfaces (also referred to as SIOs) 16, 17 and a parallel communication interface (hereinafter, referred to as PIO) 18.

前記DP−RAM15は、サーボアンプ19を介してエンコー
ダE及びタコジェネレータTGを付属させたサーボモータ
Mを駆動するために、各軸XY毎に備えられた補間演算部
20と接続され、主に前記CPU6と補間演算部20との軸制御
データのやりとりを高速に行うものである。
The DP-RAM 15 includes an interpolation calculation unit provided for each axis XY in order to drive a servomotor M having an encoder E and a tacho generator TG via a servo amplifier 19.
It is connected to the CPU 20 and mainly performs high-speed exchange of axis control data between the CPU 6 and the interpolation calculation unit 20.

前記SIO16は、CRT21及びマニュアルデータインプット
(以下、MDIと称する)パネル22の制御装置23と接続さ
れ、CRT21への表示情報をシリアル伝送すると共にMDIパ
ネル22よりの操作信号をシリアル信号で入力するための
ものである。
The SIO 16 is connected to a control device 23 of a CRT 21 and a manual data input (hereinafter referred to as MDI) panel 22 to serially transmit display information to the CRT 21 and to input an operation signal from the MDI panel 22 as a serial signal. belongs to.

前記SIO17はコントロールパネル24の制御装置25と接
続され、コントロールパネル24より入力されたシリアル
信号を前記CPU6などに伝達するためのものである。
The SIO 17 is connected to the control device 25 of the control panel 24 and transmits a serial signal input from the control panel 24 to the CPU 6 or the like.

前記PIO18は、紙テープリーダ26より入力されたパラ
レルデータを入力するためのものである。
The PIO 18 is for inputting parallel data input from the paper tape reader 26.

第3図は、上記NC装置のオペレーティングシステムを
モジュール構成で示す説明図である。
FIG. 3 is an explanatory diagram showing the operating system of the NC device in a module configuration.

図示のように、NC装置の全体を統轄管理するメインモ
ジュールM1の下には、各種運転モードを管理する運転処
理モジュールM2及び人と機械の関係を管理するマン・マ
シンインタフェイスモジュールM3並びに軸駆動とDIとDO
など動作の伴う事項について管理する動作制御モジュー
ルM4が配置されている。
As shown in the figure, an operation processing module M2 that manages various operation modes, a man-machine interface module M3 that manages the relationship between human and machine, and an axis drive are provided below a main module M1 that supervises and manages the entire NC device. And DI and DO
For example, an operation control module M4 for managing items associated with operations is arranged.

運転処理モジュールM2の下には、自動運転モジュール
M5及び原点復帰モジュールM6並びに手動運転モジュール
M7が配置されている。マン・マシンインタフェイスモジ
ュールM3の下にはCRT及びMDI制御モジュールM8が配置さ
れている。動作制御モジュールM4の下には、駆動軸制御
モジュールM9及びDI又はDO制御モジュールM10が配置さ
れている。
Below the operation processing module M2, there is an automatic operation module
M5 and homing module M6 and manual operation module
M7 is arranged. Below the man-machine interface module M3, a CRT and an MDI control module M8 are arranged. Below the operation control module M4, a drive axis control module M9 and a DI or DO control module M10 are arranged.

上記モジュール構成において、上位のモジュールの下
に下位のモジュールを配置し管理することにより、シス
テム全体を円滑に動作させるようにしているのである。
詳しくは、各モジュールM1〜M10は、8m sの制御単位で
自己の管理下における状況を確認し、他のモジュールに
所要の指令を実行する。
In the above-described module configuration, a lower module is arranged and managed under a higher module, so that the entire system operates smoothly.
More specifically, each of the modules M1 to M10 confirms a situation under its own control in units of 8 ms, and executes necessary commands to other modules.

第4図は、上記運転処理モジュールM2にて8m sec毎に
行う状態検出処理のフローチャートである。
FIG. 4 is a flowchart of a state detection process performed every 8 msec in the operation processing module M2.

ステップ401では、前記DI10及びDO11並びにPC12のイ
メージの信号につき、うち1つについて指令状況を示す
最新ビット情報を入力する。
In step 401, the latest bit information indicating the command status is input for one of the image signals of the DI10, DO11 and PC12.

ステップ402では、前回の指令状況を示すビット情報
と今回の指令状況を示すビット情報とを比較する。
In step 402, the bit information indicating the previous command status is compared with the bit information indicating the current command status.

ステップ403では、今回のビット情報のうち前回のビ
ット情報と異なるものがあるか否かを判定し、変化があ
ればステップ404へ、なければステップ406へ移行する。
In step 403, it is determined whether or not there is bit information different from the previous bit information among the current bit information. If there is a change, the process proceeds to step 404, and if not, the process proceeds to step 406.

ステップ404では、第6図に示すように、変化のあっ
たビット番号を前記RAM8Bに書き込む。
In step 404, the changed bit number is written into the RAM 8B as shown in FIG.

ステップ405では、同第6図に示すように、書き込み
位置を印すためのポインタ27のカウントアップを行う。
ポインタ27はRAM8B内に記憶され、電源バックアップさ
れている。
In step 405, the pointer 27 for marking the write position is counted up as shown in FIG.
The pointer 27 is stored in the RAM 8B and is backed up by a power supply.

ステップ406では、運転処理モジュールM2による各種
運転モード管理において異常発生であるか否かを判定
し、異常発生であればサンプリングを強制終了し、以後
本来の処理へ移行するが、そうでない限りにおいてステ
ップ407へ移行する。
In step 406, it is determined whether or not an abnormality has occurred in the various operation modes managed by the operation processing module M2. If an abnormality has occurred, the sampling is forcibly terminated, and the process proceeds to the original process. Move on to 407.

機械に異常が発生した場合、この時点でステップ406
にてサンプリング終了指令を出しておくのは、検査員の
来るのを待ってRAM8Bの内容を調べれば、例えこの間に
機械を動作させたとしても以後RAM8Bの内容は変化しな
いので異常原因を正確に把握することができるからであ
る。
If an abnormality occurs in the machine, step 406 is performed at this point.
In order to issue a sampling end command at, if the contents of RAM8B are checked after the inspector arrives, even if the machine is operated during this time, since the contents of RAM8B will not change thereafter, the cause of the abnormality can be accurately determined. This is because it can be grasped.

ステップ407では、全ビットについての終了を判断
し、全ビットについて終了するまでステップ402〜406を
繰り返えさせ、変化のあった全てのビット情報をRAM8B
へ順次書き込ませ、その数に応じてポインタをカウント
アップさせる。
In step 407, the end of all the bits is determined, and steps 402 to 406 are repeated until the end of all the bits is performed.
And the pointer is counted up according to the number.

したがって、第6図に示すように、RAM8Bには変化の
あったビット番号が順次書き込まれ、最後の書き込み位
置がポインタ27で示されるようになる。
Accordingly, as shown in FIG. 6, the changed bit numbers are sequentially written to the RAM 8B, and the last write position is indicated by the pointer 27.

ここで、次の制御周期では、RAM8Bの次の番地から書
き込まれ、最後の番地4096が書き込まれるとリングバッ
ファ的に1番地へ移行し前の情報を更新するものとす
る。
Here, in the next control cycle, it is assumed that data is written from the next address in the RAM 8B, and when the last address 4096 is written, the address is shifted to address 1 in a ring buffer and the previous information is updated.

つまり、1回のサンプリング処理にて平均1個のビッ
ト変化があったとすると、RAM8Bの4096の番地にて4096
回、すなわち約33秒間のビット変化の全ての経歴が書き
込まれることになる。
That is, if there is an average of one bit change in one sampling process, 4096 bits are assigned to address 4096 of RAM 8B.
A full history of bit changes, ie, about 33 seconds, will be written.

第5図は前記CRT及びMDI制御モジュールM8で行う状態
表示の処理のフローチャートである。
FIG. 5 is a flowchart of a status display process performed by the CRT and MDI control module M8.

ステップ501では、異常発生後に、MDIパネル22よりモ
ニタリング出力の指令があったか否かを判定し、モニタ
リングの出力指令がなければ本来の処理へ移行するが、
あればステップ502へ移行する。
In step 501, after the occurrence of the abnormality, it is determined whether or not there is a monitoring output command from the MDI panel 22, and if there is no monitoring output command, the process proceeds to the original processing.
If there is, the process proceeds to step 502.

ステップ502では、第6図に示すポインタ27の示す値
を入力する。
In step 502, the value indicated by the pointer 27 shown in FIG. 6 is input.

ステップ503では、このポインタ値に基いてRAM8Bを検
索し、指示された番地に書き込まれているビット情報を
読み込む。
In step 503, the RAM 8B is searched based on the pointer value, and the bit information written at the designated address is read.

ステップ504では、読み込まれたビット情報に基いて
第7図に示すメッセージテーブル28を参照し、例えばビ
ット情報の信号451から指令状況の「プレス起動信号」
を検索し、第8図に示すように、これにビット状態、す
なわちONかOFFを加えCRT21の画面21Aの下方側から前の
表示に対し上側へ詰めて表示する。すなわち、次の450
番の分配完了ONについては451番のプレス起動信号ONの
上に表示するというように、順序立てて表示する。
In step 504, referring to the message table 28 shown in FIG. 7 based on the read bit information, for example, the "press start signal"
Then, as shown in FIG. 8, a bit state, that is, ON or OFF, is added to this, and the display is shifted from the lower side of the screen 21A of the CRT 21 to the upper side with respect to the previous display. That is, the next 450
The number distribution completion ON is displayed in order, such as being displayed above the number 451 press start signal ON.

ステップ505では、ポインタ27のカウントダンンをす
る。
In step 505, the pointer 27 is counted down.

ステップ506では、検査員が異常を判定し、表示終了
を指令するのを判定し、表示終了でなく、次の表示の指
令を行っている間は、ステップ505でカウントダウンし
つつ、順次前の番号のビット情報を検索し、メッセージ
テーブル28を用いて機械の変化の状態を表示してゆく。
In step 506, it is determined that the inspector determines an abnormality and instructs the end of the display. Then, the state of the machine change is displayed using the message table 28.

以上により、本例のパンチプレス状態検出装置では、
異常が発生した時点までにおけるDI10,DO11、並びにPC1
2のDI,DOイメージの状態を時系列的に変化のあったビッ
トについてのみ記憶しこれをCRT21に表示するので、少
ないメモリ容量で確実、迅速に異常原因を追求でき、迅
速に異常対策を取ることができる。
As described above, in the punch press state detection device of this example,
DI10, DO11, and PC1 up to the time when the error occurred
The status of DI and DO images of 2 is stored only for bits that have changed in chronological order and displayed on the CRT21, so the cause of the error can be pursued reliably and quickly with a small memory capacity, and countermeasures for the error can be taken promptly. be able to.

ここに、異常発生原因の求明には、全てのビット情報
が検討されるので、従来例で示したソフトウェアのバグ
による原因及びその位置までも追求できるのは勿論のこ
と、ソフトウェアと関係のない機械自体の異常も判定で
きるものである。
Here, since all the bit information is examined to determine the cause of the abnormality, it is possible to pursue the cause and the position of the software bug shown in the conventional example, and of course, it is not related to the software. An abnormality of the machine itself can also be determined.

上記実施例では、検出したビット変化の情報をCRT21
に表示する例を示したが、これはプリンタに出力しても
よく、又電話回線にてメーカ側に送るようにしてもよ
く、さらに、ICカードなど情報媒体に記憶させて、これ
をメーカ側で解読させるようにしてもよいものである。
In the above embodiment, the detected bit change information is
Is displayed on the printer, but this may be output to a printer, or sent to the manufacturer via a telephone line, and stored in an information medium such as an IC card, and then stored in the manufacturer. Alternatively, it may be decrypted by using.

本発明は上記実施例に限定されるものではなく、適宜
の設計的変更を行うことにより、適宜の態様で実施し得
るものである。
The present invention is not limited to the above embodiments, but can be implemented in an appropriate mode by making appropriate design changes.

[発明の効果] 以上のごとき実施例の説明より理解されるように、要
するに本発明は、数値制御装置と当該数値制御装置によ
って制御される加工機械との間の指令状況を示すビット
情報の変化を所定のサンプリング周期で検出するビット
変化検出手段(1)と、このビット変化検出手段(1)
によって検出されたビット情報の変化の状態をリングバ
ッファ的メモリ又はシフトレジスタ的メモリに順次記憶
する変化情報記憶手段(2)と、当該変化情報記憶手段
(2)のメモリを電源バックアップする電源バックアッ
プ手段(3)と、前記加工機械に以上が発生した状態で
前記メモリに記憶された内容を最新情報から順次古い情
報へと情報出力を指令する操作手段(4)と、この操作
手段(4)の指令に基づき前記メモリに記憶されたビッ
ト情報に該当す指令状況をメッセージテーブルから検索
し、ビット情報及び指令状況並びに状態を示すON又はOF
Fを表示装置に表示せしめる変化状態報知手段(5)と
を備えた構成である。
[Effects of the Invention] As can be understood from the above description of the embodiments, in short, the present invention provides a method for changing bit information indicating a command state between a numerical controller and a processing machine controlled by the numerical controller. Bit change detecting means (1) for detecting at a predetermined sampling period, and the bit change detecting means (1)
Change information storage means (2) for sequentially storing the state of change of bit information detected by the memory in a ring buffer-like memory or a shift register-like memory, and power supply backup means for backing up the memory of the change information storage means (2) (3) operating means (4) for instructing the output of the contents stored in the memory from the latest information to the older information in a state where the above occurs in the processing machine; and The command status corresponding to the bit information stored in the memory is searched from the message table based on the command, and ON or OF indicating the bit information and the command status and status is displayed.
A change state notifying means (5) for displaying F on a display device.

すなわち本発明によれば、数値制御装置と加工機械と
の間の指令状況を示すビット情報を所定の周期でサンプ
リングし、ビット情報の変化を検出して変化の状態を例
えばリングバッファ的メモリに順次記憶し、加工機械に
異常が発生した場合に上記メモリに記憶された最新情報
から順次古い情報を出力し、ビット情報、指令状況及び
状態を表示装置に表示させることができ、加工機械の異
常発生の原因を迅速に求明することができる。
That is, according to the present invention, bit information indicating a command condition between the numerical controller and the processing machine is sampled at a predetermined cycle, a change in the bit information is detected, and the state of the change is sequentially stored in, for example, a ring buffer memory. When an abnormality occurs in the processing machine, the latest information stored in the memory is output sequentially from the latest information, and the bit information, command status and status can be displayed on the display device. Can be quickly determined.

この際、ビット情報の変化を検出して例えばリングバ
ッファ的メモリに順次記憶するので、小容量のメモリで
あっても異常発生前の所定範囲に亘ってビット情報の経
歴を知ることができ、異常発生の原因究明をより確実に
行うことができるものである。
At this time, since the change of the bit information is detected and sequentially stored in, for example, a ring buffer type memory, even if the memory has a small capacity, the history of the bit information can be known over a predetermined range before the occurrence of the abnormality. The cause of the occurrence can be more reliably determined.

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

第1図は本発明の概要を示す図、第2図以下は実施例を
示し、第2図はパンチプレスに付属されるNC装置のブロ
ック図、第3図は上記NC装置のモジュール構成を示すブ
ロック図、第4図は運転処理モジュールが行う状態検出
処理のフローチャート、第5図はCRT制御モジュールが
行う状態表示の処理のフローチャート、第6図はビット
変化の情報を時系列的に記憶するメモリ及び異常発生位
置を示すポインタの説明図、第7図は表示のときに使用
されるメッセージテーブルの説明図、第8図はCRT画面
の説明図である。 1……ビット変化検出手段 2……変化情報記憶手段 3……電源バックアップ手段 4……操作手段 5……変化状態報知手段 10……デジタルインプット 11……デジタルアウトプット 12……プログラマブルコントローラ 8A……電源バックアップRAM 21A……CRT画面 28……メッセージテーブル
FIG. 1 is a view showing an outline of the present invention, FIG. 2 and subsequent figures show an embodiment, FIG. 2 is a block diagram of an NC device attached to a punch press, and FIG. 3 shows a module configuration of the NC device. FIG. 4 is a flowchart of a state detection process performed by the operation processing module, FIG. 5 is a flowchart of a state display process performed by the CRT control module, and FIG. 6 is a memory that stores bit change information in time series FIG. 7 is an explanatory diagram of a message table used at the time of display, and FIG. 8 is an explanatory diagram of a CRT screen. DESCRIPTION OF SYMBOLS 1 ... Bit change detection means 2 ... Change information storage means 3 ... Power supply backup means 4 ... Operation means 5 ... Change state notification means 10 ... Digital input 11 ... Digital output 12 ... Programmable controller 8A … Power supply backup RAM 21A …… CRT screen 28 …… Message table

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】数値制御装置と当該数値制御装置によって
制御される加工機械との間の指令状況を示すビット情報
の変化を所定のサンプリング周期で検出するビット変化
検出手段(1)と、このビット変化検出手段(1)によ
って検出されたビット情報の変化の状態をリングバッフ
ァ的メモリ又はシフトレジスタ的メモリに順次記憶する
変化情報記憶手段(2)と、当該変化情報記憶手段
(2)のメモリを電源バックアップする電源バックアッ
プ手段(3)と、前記加工機械に異常が発生した状態で
前記メモリに記憶された内容を最新情報から順次古い情
報へと情報出力を指令する操作手段(4)と、この操作
手段(4)の指令に基づき前記メモリに記憶されたビッ
ト情報に該当する指令状況をメッセージテーブルから検
索し、ビット情報及び指令状況並びに状態を示すON又は
OFFを表示装置に表示せしめる変化状態報知手段(5)
とを備えたことを特徴とする加工機械の状態検出装置。
1. A bit change detecting means (1) for detecting a change in bit information indicating a command state between a numerical controller and a processing machine controlled by the numerical controller at a predetermined sampling period, A change information storage means (2) for sequentially storing a change state of bit information detected by the change detection means (1) in a ring buffer type memory or a shift register type memory, and a memory of the change information storage means (2). A power supply backup unit (3) for backing up a power supply; an operation unit (4) for instructing information output from the latest information to the older information sequentially from the contents stored in the memory when an abnormality occurs in the processing machine; A command status corresponding to the bit information stored in the memory is searched from a message table based on a command from the operating means (4), and the bit information and ON or show a decree situation as well as the state
Change state notifying means for displaying OFF on the display device (5)
And a state detecting device for a processing machine.
JP63312977A 1988-12-13 1988-12-13 Processing machine status detector Expired - Fee Related JP2788461B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63312977A JP2788461B2 (en) 1988-12-13 1988-12-13 Processing machine status detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63312977A JP2788461B2 (en) 1988-12-13 1988-12-13 Processing machine status detector

Publications (2)

Publication Number Publication Date
JPH02158808A JPH02158808A (en) 1990-06-19
JP2788461B2 true JP2788461B2 (en) 1998-08-20

Family

ID=18035757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63312977A Expired - Fee Related JP2788461B2 (en) 1988-12-13 1988-12-13 Processing machine status detector

Country Status (1)

Country Link
JP (1) JP2788461B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6151664B2 (en) * 2014-05-26 2017-06-21 ファナック株式会社 Numerical controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63245506A (en) * 1987-03-31 1988-10-12 Mitsubishi Heavy Ind Ltd Input/output signal storing and reproducing display device for various manufacturing machines
JPS63259702A (en) * 1987-04-16 1988-10-26 Toshiba Mach Co Ltd Information collecting device for controller

Also Published As

Publication number Publication date
JPH02158808A (en) 1990-06-19

Similar Documents

Publication Publication Date Title
US5315523A (en) Numerical control apparatus having a work simulation function
US4638227A (en) Method and apparatus for recovering normality in moving sequence of machinery
EP0027317B1 (en) Sequence control system for numerically controlled machine tool
EP1708063A1 (en) Display system for controller
EP0362386A1 (en) Expert system for a machine tool equipped with an nc apparatus
US4616307A (en) Programmable controller alarm display method
JP2608593B2 (en) Failure diagnosis method
EP0171435B1 (en) Numerical control method
JPS63111026A (en) Injection molding machine capable of making remote start and stop
JP2788461B2 (en) Processing machine status detector
JP2766283B2 (en) Machine maintenance inspection guidance device
JP2738029B2 (en) Control device
JP2000315105A (en) Management system for nc machine tool and its management program
JP2009223354A (en) Numerical control device having function for displaying alarm information
JP2000089821A (en) Monitor and control system
JP2921718B2 (en) Image processing method for industrial vision sensor
JP7425215B2 (en) Method for Changing of Storage Apparatus in Human Machine Interface System
EP0481082A1 (en) Symbol definition method for programmable machine controller
JP3213958B2 (en) Cycle time measuring device
US20240116191A1 (en) Robot control device, robot control system, and robot control method
EP0418393B1 (en) Input/output signal control system
WO2022107817A1 (en) Control device
WO2022244070A1 (en) Operation status display device and computer-readable storage medium
JP3309434B2 (en) PC programming device
JPS6155702A (en) Numerical controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees