JPH02281301A - Trouble diagnostic device - Google Patents

Trouble diagnostic device

Info

Publication number
JPH02281301A
JPH02281301A JP10289389A JP10289389A JPH02281301A JP H02281301 A JPH02281301 A JP H02281301A JP 10289389 A JP10289389 A JP 10289389A JP 10289389 A JP10289389 A JP 10289389A JP H02281301 A JPH02281301 A JP H02281301A
Authority
JP
Japan
Prior art keywords
cycle
relay
reference time
output
failure
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
JP10289389A
Other languages
Japanese (ja)
Inventor
Sakae Ito
栄 伊東
Michio Koizumi
小泉 美智雄
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.)
Daihatsu Motor Co Ltd
Sharp Corp
Original Assignee
Daihatsu Motor Co Ltd
Sharp 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 Daihatsu Motor Co Ltd, Sharp Corp filed Critical Daihatsu Motor Co Ltd
Priority to JP10289389A priority Critical patent/JPH02281301A/en
Publication of JPH02281301A publication Critical patent/JPH02281301A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To make an accurate and quick diagnosis by using a cycle diagram to independently start individual cycles by a start relay and comparing turning- on/off states of the output, the original end, and the arrival end of the cycle with each reference time. CONSTITUTION:Data related to the cycle number, the original end, the arrival end, the output element, and respective reference times to turning-on of the output, turning-off of the original end, and turning-off of the arrival end of each cycle constituting a sequence is preliminarily stored in a cycle diagram table 7 by a keyboard 5 with a CRT. The number of the relay which starts a cycle as the diagnosis object and data related to turning-on/off for start are stored in a start relay table 8. The signal of a timer 9 which counts each reference time and the state signal of a relay 2 which is inputted through an interface circuit 6 are compared with data in the table 8. With respect to the start cycle where both of them coincide with each other, trouble elements are diagnosed based on state signals of the original end, the arrival end, and the output element of the start cycle and time counting of each reference time of the timer 9.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、メモリに記憶したシーケンスプログラムに基
づいてプログラマブルコントローラによって制御される
被制御機器の故障を診断する故障診断装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a fault diagnosis device that diagnoses a fault in a controlled device controlled by a programmable controller based on a sequence program stored in a memory.

〈従来の技術〉 従来、この種の故障診断装置として、例えば特開昭51
−148178号公報に記載のものがある。この故障診
断装置は、人、出力要素を備えた被制御機器をメモリに
記憶したシーケンスプログラムに基づいて制御するプロ
グラマブルコントローラに付加され、被制御機器の動作
ステップに応じたサイクル番号を計数するサイクルカウ
ンタと、このサイクルカウンタのサイクル番号を監視す
ることにより異常を検出し、その原因を上記シーケンス
プログラムを検索して診断するコンピュータで構成され
る。そして、このコンピュータは、そのソフトウェアに
よって、異常発生時のサイクル番号に対応する動作ステ
ップの出力要素と到達端要素の信号状態から故障要因を
見い出し、この故障要因に対応するプログラムを上記シ
ーケンスプログラム中より探し出すとともに、探し出し
たプログラムをシミュレートして上記出力要素の作動切
替障害条件を見い出し、この障害条件を警報表示部に出
力するようになっている。
<Prior art> Conventionally, as this type of failure diagnosis device, for example,
There is one described in Japanese Patent No.-148178. This fault diagnosis device is attached to a programmable controller that controls a controlled device equipped with a human and an output element based on a sequence program stored in memory, and a cycle counter that counts cycle numbers according to the operation steps of the controlled device. The computer detects an abnormality by monitoring the cycle number of the cycle counter, and diagnoses the cause by searching the sequence program. Then, this computer uses its software to find the cause of the failure from the signal states of the output element and reaching end element of the operation step corresponding to the cycle number at the time of the abnormality occurrence, and selects a program corresponding to this failure cause from among the above sequence programs. At the same time, the found program is simulated to find the operation switching failure condition of the output element, and this failure condition is output to the alarm display section.

〈発明が解決しようとする課題〉 ところが、上記従来の故障診断装置は、コンピュータが
、故障要因に対応するプログラムをラダー図(展開接続
図)のレベル宅詳細に記述されたシーケンスプログラム
中より探し出し、探し出したプログラムを逐次シミュレ
ートして作動切替障害条件を見い出すものであるため、
そのためのソフトウェアが膨大になるうえ、診断に長時
間を要するという欠点がある。また、プログラマブルコ
ントローラのメモリに記憶させるシーケンスプログラム
即ちラダー図の人力を誤れば、故障要因の的確な検索が
できず、正しい故障診断ができないという欠点がある。
<Problems to be Solved by the Invention> However, in the conventional fault diagnosis device described above, a computer searches for a program corresponding to a cause of a fault from among a sequence program described in detail at the level of a ladder diagram (expanded connection diagram). Since it sequentially simulates the found program to find the operation switching failure condition,
The drawback is that the amount of software needed for this is enormous and that diagnosis takes a long time. In addition, if the sequence program, ie, the ladder diagram, which is stored in the memory of the programmable controller is made incorrectly, an accurate search for the cause of the failure cannot be made, and a correct failure diagnosis cannot be made.

さらに、上記従来の故障診断装置は、完成された被制御
機器の実稼働時における故障の自動診断を目的として設
計されているため、設備として据付けられる際の個々の
サイクル毎の異常診断が全く考慮されていない。即ち、
被制御機器の操作盤に個々のサイクルを起動する手動ボ
タンはあっても、故障診断装置側に診断対象のサイクル
のみを指定する手段がないため、サイクル毎の故障診断
が実質的にできない。また、時間監視のため各サイクル
に設定された基準時間が実稼働時のみを対象とするため
短かく、サイクル終了に長時間を要する据付は時の手動
運転においては、正常に動作していてもタイムオーバー
で異常と診断されてしまうという問題がある。
Furthermore, since the above-mentioned conventional failure diagnosis devices are designed for the purpose of automatically diagnosing failures during actual operation of completed controlled equipment, abnormality diagnosis for each individual cycle when installed as equipment is not considered at all. It has not been. That is,
Although there is a manual button on the operation panel of the controlled device to start each cycle, the failure diagnosis device does not have a means for specifying only the cycle to be diagnosed, so it is virtually impossible to diagnose the failure for each cycle. In addition, the reference time set for each cycle for time monitoring is short because it only covers actual operation, and installations that require a long time to complete the cycle may be difficult to install even if the cycle is operating normally. There is a problem in that it is diagnosed as abnormal when the time is over.

一方、別の故障診断手法として、正常な制御状態をメモ
リに記憶し、これと現在の状態を比較して異常を検出す
る学習方式があるが、この学習方式は、以前の正常動作
があって初めて成り立つものであり、設備据付時の個々
のサイクルの故障診断には全く役立たない。
On the other hand, as another fault diagnosis method, there is a learning method that stores the normal control state in memory and compares it with the current state to detect abnormalities. This is true only for the first time, and is of no use in diagnosing failures of individual cycles during equipment installation.

そこで、本発明の目的は、ラダー図よりも簡易なサイク
ル線図に基づく診断手法を用いるとともに、診断対象た
る個々のサイクルの起動リレーをその状態と共に指定し
、記憶する手段と、この記憶内容と実際の起動リレーの
状態を比較する手段を備えることによって、少ないソフ
トウェアで個々のサイクルの故障を据付時等において正
確かつ迅速に診断することができる故障診断装置を提供
することである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to use a diagnostic method based on a cycle diagram that is simpler than a ladder diagram, and to provide means for specifying and storing the starting relay of each cycle to be diagnosed along with its status, and the storage contents. It is an object of the present invention to provide a failure diagnosis device that can accurately and quickly diagnose failures in individual cycles at the time of installation, etc., with a small amount of software, by providing a means for comparing the actual state of a starting relay.

く課題を解決するための手段〉 上記目的を達成するため、本発明の故障診断装置は、メ
モリに記憶したシーケンスプログラムに基づいてプログ
ラマブルコントローラによって制御される被制御機器の
故障を診断するものであって、シーケンスを構成する各
サイクルのサイクル番号、原端要素、到達端要素、出力
要素、出力オン、原端オフ、到達端オンまでの各基準時
間に関するデータを格納するサイクル線図テーブルと、
診断対象たる各サイクルを起動する起動リレーの番号と
状態に関するデータを格納する起動リレーテーブルと、
上記両テーブルにデータを入力するための入力部と、上
記サイクル線図テーブルに格納された各サイクルの各基
準時間を計時するタイマと、上記プログラマブルコント
ローラを介して入力される各起動リレーの状態信号を上
記起動リレーテーブルのデータと比較して、両者が一致
した起動サイクルについて、プログラマブルコントロー
ラを介して入力されるその起動サイクルの原端。
Means for Solving the Problems> In order to achieve the above object, a fault diagnosis device of the present invention diagnoses a fault in a controlled device controlled by a programmable controller based on a sequence program stored in a memory. a cycle diagram table storing data regarding the cycle number of each cycle constituting the sequence, the origin element, the destination element, the output element, each reference time from output on, origin off, and destination end on;
a starting relay table that stores data regarding the number and status of the starting relay that starts each cycle to be diagnosed;
An input section for inputting data into both of the above tables, a timer for measuring each reference time of each cycle stored in the above cycle diagram table, and a status signal of each starting relay inputted via the above programmable controller. is compared with the data in the starting relay table above, and for starting cycles in which both match, the original end of that starting cycle is inputted via the programmable controller.

到達端、出力要素の状態信号ケ上記タイマによる各基準
時間の計時に基づいて故障原因や故障要素を診断する演
算装置を備える。
It is equipped with an arithmetic device that diagnoses the cause of failure and failure element based on the status signals of the reaching end and the output element and the measurement of each reference time by the above-mentioned timer.

く作用〉 サイクル線図テーブルには、入力部から入力される制御
シーケンスを構成する各サイクルのサイクル番号、原端
、到達端、出力要素、出力オン、原端オフ、到達端オン
までの各基準時間に関するデ−タが格納され、起動リレ
ーテーブルには、入力部から入力された診断対象たるサ
イクルを起動する起動リレーの番号と状態に関するデー
タが格納されている。被制御機器側の起動リレーが投入
されて特定のサイクルのシーケンス制御が始まると、演
算手段は、プログラマブルコントローラを介して入力さ
れる各起動リレーの状態信号を上記起動リレーテーブル
のデータと比較して、両者が一致した起動サイクルにつ
いて、そのサイクルの上記各基準時間を順次計時するタ
イマの計時に基づいて、プログラマブルコントローラを
経て入力されるそのサイクルの出力、原端、到達端要素
の状態信号が基準時間内に夫々オン、オフ、オンするか
否かを判断し、例えば出力がオンにならねばラダー図の
誤り等、原端がオフにならねば原端等の故障、到達端が
オンにならねば到達端等の故障などと、故障原因や故障
要素を診断した後、次の起動リレーの投入を待つ。
The cycle diagram table includes the cycle number of each cycle that makes up the control sequence input from the input section, the source end, the destination end, the output element, and the criteria for output on, source off, and destination end on. Data relating to time is stored, and the starting relay table stores data relating to the number and state of the starting relay that starts the cycle to be diagnosed that is input from the input section. When the start relays on the controlled equipment side are turned on and sequence control for a specific cycle begins, the calculation means compares the status signal of each start relay input via the programmable controller with the data in the start relay table. , for a startup cycle in which both coincide, the state signals of the output, source end, and arrival end elements of that cycle input via the programmable controller are determined based on the timing of a timer that sequentially measures each of the reference times of that cycle. For example, if the output is not turned on, there is an error in the ladder diagram, if the source end is not turned off, there is a problem with the source end, etc., and if the destination end is not turned on, it is determined whether the output is turned on, off, or not. After diagnosing the failure of the reaching end, etc., the cause of the failure, and the failure elements, wait for the next activation relay to be turned on.

〈実施例〉 以下、本発明を図示の実施例により詳細に説明する。<Example> Hereinafter, the present invention will be explained in detail with reference to illustrated embodiments.

第1図は本発明の故障診断装置の一実施例を示すブロッ
ク図であり、!はリミットスイッチ1a等の原端、到達
端要素およびコイル!b等の出力要素を有してシーケン
ス動作する被制御機器、2は図示しない操作盤の押しボ
タンスイッチで動作せしめられ、据付時等に被制御機器
iの各サイクルを個々に起動する複数の起動リレー、3
は上記被制御機器1と起動リレー2を図示しないメモリ
に記憶したシーケンスプログラムに基づいて制御するプ
ログラマブルコントローラ、4はこのプログラマブルコ
ントローラ3に接続され、上記被制御機器lの故障を診
断する故障診断装置である。
FIG. 1 is a block diagram showing one embodiment of the failure diagnosis device of the present invention. are the origin of the limit switch 1a, etc., the reaching end element, and the coil! A controlled device having output elements such as b and operating in sequence, 2 is activated by a push button switch on an operation panel (not shown), and is a plurality of activation devices that individually start each cycle of the controlled device i during installation, etc. relay, 3
4 is a programmable controller that controls the controlled device 1 and the starting relay 2 based on a sequence program stored in a memory (not shown); 4 is a failure diagnosis device that is connected to the programmable controller 3 and that diagnoses a failure of the controlled device 1; It is.

上記故障診断装置4は、プログラマブルコントローラ3
とデータを送受するインターフェース回路6と、CRT
付キーボード5から入力されるシーケンスを構成する各
サイクルのサイクル番号、原端要素、到達端要素、出力
要素、出力オン、原端オフ、到達端オンまでの各基準時
間T 1. T t 、 T 3(第2図参照)に関す
るデータを格納するサイクル線図テーブル7と、CRT
付キーボード5から入力される診断対象たるサイクルを
起動する起動リレー2の番号と状態に関するデータを格
納する起動リレーテーブル8と、上記サイクル線図テー
ブル7に格納された各サイクルの各基準時間を計時する
タイマ9と、上記インターフェース回路6を介して入力
される各起動リレー2の状態信号を起動リレーテーブル
8のデータと比較して、両者が一致した起動サイクルに
ついて、インターフェース回路6を介して人力されるそ
の起動サイクルの原端、到達端、出力要素の状態信号と
上記タイマ9による各基準時間の計時に基づいて故障原
因や故障要素を診断する演算装置としてのcputoで
構成される。
The failure diagnosis device 4 includes a programmable controller 3
and an interface circuit 6 for transmitting and receiving data to and from the CRT.
The cycle number of each cycle constituting the sequence inputted from the attached keyboard 5, the origin element, the destination element, the output element, each reference time T until the output is turned on, the origin is turned off, and the destination is turned on.1. A cycle diagram table 7 storing data regarding T t and T 3 (see FIG. 2), and a CRT
A starting relay table 8 stores data related to the number and status of the starting relay 2 that starts the cycle to be diagnosed, which is entered from the attached keyboard 5, and each reference time of each cycle stored in the cycle diagram table 7 is clocked. The state signal of each starting relay 2 inputted via the timer 9 and the interface circuit 6 is compared with the data of the starting relay table 8, and for starting cycles in which both match, the state signal is manually inputted via the interface circuit 6. The computer is comprised of a CPU as an arithmetic unit that diagnoses the cause of a failure or a failure element based on the status signals of the origin, arrival end, and output elements of the startup cycle and the measurement of each reference time by the timer 9.

第2図は、上記被制御機器lのシーケンスを構成するl
っのサイクルの正常動作を模式的に示しており、対応す
る番号の起動リレー2によってこのサイクルが起動され
ると、基準時間T1後までにその出力要素11がオンと
なり(第2図(a)参照)、出力要素がオンになってか
ら基準時間T、までに、ワークWが右方へ移動して原端
12がオフとなり(第2図(b)参照)、原端がオフに
なってから基準時間T3までに、ワークWが到達端13
に到達して到達端がオンになる(第2図(e)参照)。
FIG. 2 shows l constituting the sequence of the above-mentioned controlled equipment l.
The normal operation of the cycle is schematically shown. When this cycle is started by the starting relay 2 with the corresponding number, the output element 11 is turned on by the reference time T1 (see Fig. 2(a)). ), the workpiece W moves to the right and the origin 12 is turned off by the reference time T after the output element is turned on (see Fig. 2 (b)), and the origin is turned off. to the reference time T3, the workpiece W reaches the reaching end 13.
, and the reaching end turns on (see FIG. 2(e)).

上記構成の故障診断装置4の動作について、第3図を参
照しつつ次に述べる。
The operation of the failure diagnosis device 4 having the above configuration will be described below with reference to FIG.

操作者は、予めCRT付キーボード5によって、サイク
ル線図テーブル7に、シーケンスを構成する各サイクル
のサイクル番号、原端、到達端、出力要素、出力オン、
原端オフ、到達端オンまでの各基準時間T r 、 T
 t 、 T 3に関するデータを格納し、起動リレー
テーブル8に、診断対象たるサイクルを起動する起動リ
レーの番号と起動時のオン、オフ状態に関するデータを
格納する。次に、据付時等の被制御機器Iにおいて診断
しようとするサイクルの起動リレー2を、操作盤の押し
ボタンスイッチを投入してオンにする。すると、プログ
ラマブルコントローラ3は、そのサイクルを動作させる
一方、故障診断装置4のCPUl0は、ステップSlで
プログラマブルコントローラ3を経て各起動リレー2の
状態信号を読み出し、ステップS2で読み出した状態信
号が起動リレーテーブル8のデータと一致しているか否
かを判断し、肯と判断すると、ステップS3に進んで一
致したサイクルの各基準時間T、、T、、T、をサイク
ル線図テーブル7から読み出す。
The operator uses the CRT keyboard 5 to input the cycle number, source end, destination end, output element, output on,
Each reference time T r , T from origin off to arrival end on
t and T 3 are stored, and the starting relay table 8 stores data regarding the number of the starting relay that starts the cycle to be diagnosed and the on/off state at the time of starting. Next, the activation relay 2 of the cycle to be diagnosed in the controlled device I during installation or the like is turned on by turning on the push button switch on the operation panel. Then, the programmable controller 3 operates the cycle, while the CPU 10 of the fault diagnosis device 4 reads the status signal of each starting relay 2 via the programmable controller 3 in step Sl, and the status signal read out in step S2 is used as the starting relay. It is determined whether or not they match the data in table 8, and if it is determined to be yes, the process proceeds to step S3, where each reference time T, , T, , T, of the matched cycle is read out from cycle diagram table 7.

次いで、出力オンまでの基準時間T1をタイマ7にセッ
トし、ステップS5でタイマ7がT1の計時を終えるま
でに出力要素2がオンになるか否かをステップS4で判
断する。そして、時間T。
Next, a reference time T1 until the output is turned on is set in the timer 7, and it is determined in step S4 whether the output element 2 is turned on before the timer 7 finishes timing T1 in step S5. And time T.

内に出力要素11がオンになれば、正常と判定してステ
ップS6に進み、タイマ7に原端オフまでの基準時間T
、を新たにセットする。一方、出力要素11がオフのま
まT、の計時が終わると、ラダー図の誤り等で出力に異
常が生じたと診断して、ステップS7でこれを表示出力
した後ステップS!に戻る。さらに、CPU1は、ステ
ップS9でタイマ7がTtの計時を終えるまでに原端1
2がオフになるか否かをステップS8で判断する。そし
て、時間T、内に原端12がオフになれば、正常と判定
してステップ810に進み、タイマ7に到達端オンまで
の基準時間T、を新たにセットする。一方、原端12が
オンのままT、の計時が終わると、原端12や出力要素
11の故障または配線ミス等と診断して、ステップSl
lでこれを表示出力した後ステップSt(こ戻る。
If the output element 11 is turned on within this time, it is determined to be normal and the process proceeds to step S6, where the timer 7 sets the reference time T until the origin is turned off.
, is newly set. On the other hand, when the time measurement of T is completed while the output element 11 is off, it is diagnosed that an abnormality has occurred in the output due to an error in the ladder diagram, etc., and this is displayed and output in step S7, and then step S! Return to Furthermore, the CPU 1 controls the origin 1 by the time the timer 7 finishes timing Tt in step S9.
2 is turned off or not is determined in step S8. If the origin 12 turns off within the time T, it is determined to be normal and the process proceeds to step 810, where the timer 7 is newly set with a reference time T until the arrival end is turned on. On the other hand, if the timing T is completed while the source end 12 is on, it is diagnosed that the source end 12 or the output element 11 is malfunctioning or there is a wiring error, and step Sl
After displaying and outputting this at l, return to step St.

最後に、CPU1は、ステップS13でタイマ7がT、
の計時を終えるまでに到達端I3がオンになるか否かを
ステップS12で判断する。そして、時間T、内に到達
端13がオンになれば、正常と判定してそのサイクルの
診断を終了する。
Finally, in step S13, the CPU 1 sets the timer 7 to T,
It is determined in step S12 whether or not the reaching end I3 is turned on by the time the time measurement is completed. If the reaching end 13 is turned on within time T, it is determined to be normal and the diagnosis for that cycle is ended.

方、到達端13がオフのままT3の計時が終わると、そ
のサイクルの機械や到達端13の故障または配線ミス等
と診断して、ステップS14でこれを表示出力した後ス
テップSlに戻る。
On the other hand, when the time measurement of T3 ends with the reaching end 13 being off, a failure or wiring error in the machine or reaching end 13 of that cycle is diagnosed, and this is displayed and output in step S14, and then the process returns to step Sl.

こうして、操作盤の押しボタンスイッチの投入で起動し
たサイクルが終了すれば、シーケンスはプログラマブル
コントローラ3によって自動的に停止し、そのサイクル
に故障があればその内容が上述の如<CRT付キーボー
ド5に表示されるから、操作者は直ちに故障箇所の修理
等を行なうことができる。しかる後、押しボタンスイッ
チの投入で新たなサイクルを起動すれば、そのサイクル
について上述と同様の故障診断が行なわれる。
In this way, when the cycle started by turning on the pushbutton switch on the operation panel ends, the sequence is automatically stopped by the programmable controller 3, and if there is a failure in that cycle, the contents are displayed on the CRT keyboard 5 as described above. Since the information is displayed, the operator can immediately repair the malfunctioning part. Thereafter, when a new cycle is started by turning on the push button switch, the same fault diagnosis as described above is performed for that cycle.

このように、上記実施例を含む本発明では、ラダー図よ
りも簡易なサイクル線図を用いて起動リレーによって個
々のサイクルを単動作させ、そのサイクルの出力、原端
、到達端のオン、オフ状態を各基準時間に基づいて時間
監視して各す、イクルの故障原因や故障要素を診断する
ようにしているので、従来よりも少ないソフトウェアで
もって個々のサイクルの故障を据付時等において正確か
つ迅速に診断することができる。
In this way, in the present invention including the above-mentioned embodiments, a cycle diagram that is simpler than a ladder diagram is used to cause each cycle to perform a single operation using a starting relay, and the output, source end, and final end of the cycle are turned on and off. Since the status of each cycle is monitored based on each reference time and the causes and failure elements of each cycle are diagnosed, it is possible to accurately and accurately detect individual cycle failures during installation, etc. with less software than before. Can be diagnosed quickly.

なお、本発明が図示の実施例に限られないのはいうまで
もない。
It goes without saying that the present invention is not limited to the illustrated embodiment.

〈発明の効果〉 以上の説明で明らかなように、本発明のプログラマブル
コントローラで制御される被制御機器のための故障診断
装置は、サイクル線図テーブルに各サイクルのサイクル
番号、原端、到達端、出力要素、出力オン、原端オフ、
到達端オンまでの各基準時間に関するデータを格納し、
駆動リレーテーブルに診断対象たるサイクルを起動する
起動リレーの番号と状態に関するデータを格納するとと
らに、起動リレーの実際の状態信号と起動リレーテーブ
ルのデータが一致したサイクルについて、原端。
<Effects of the Invention> As is clear from the above explanation, the fault diagnosis device for controlled equipment controlled by the programmable controller of the present invention has the cycle number, original end, and destination end of each cycle in the cycle diagram table. , output element, output on, primitive off,
Stores data regarding each reference time until the reaching end is turned on,
In addition to storing data regarding the number and status of the starting relay that starts the cycle to be diagnosed in the driving relay table, the data for the cycle in which the actual status signal of the starting relay and the data in the starting relay table match is stored.

到達端、出力要素の実際の状態信号およびタイマによる
上記各基準時間の計時に基づいて演算装置で時間監視を
行なって、故障原因や故障要素を診断するようにしてい
るので、従来よりも少ないソフトウェアでもって個々の
サイクルの故障を据付時等において正確かつ迅速に診断
することができる。
The arithmetic unit monitors the time based on the actual status signals of the reaching end and output elements and the measurement of each of the reference times mentioned above using a timer, and diagnoses the cause of failure and failure element, so less software is required than before. As a result, failures in individual cycles can be diagnosed accurately and quickly at the time of installation, etc.

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

第1図は本発明の故障診断装置の一実施例を示すブロッ
ク図、第2図は被制御機器のシーケンスを構成する【サ
イクルの正常動作を示す模式図、第3図は上記故障診断
装置の処理の流れを示すフローチャートである。 l・・・被制御機器、2・・・起動リレー3・・・プロ
グラマブルコントローラ、4・・・故障診断装置、5・
・・CRT付キーボーア・・・サイクル線図テーブル、 8・・・駆動リレーテーブル、9・・・タイマ、10・
・・CPU0 ド、 特許出願人  シャープ株式会社 はが1名代理人弁理
士 青白 葆 ほか1名 6一
Fig. 1 is a block diagram showing an embodiment of the fault diagnosis device of the present invention, Fig. 2 is a schematic diagram showing the normal operation of the cycle configuring the sequence of the controlled equipment, and Fig. 3 is a schematic diagram showing the normal operation of the above-mentioned fault diagnosis device. It is a flowchart which shows the flow of processing. l...Controlled equipment, 2...Start relay 3...Programmable controller, 4...Fault diagnosis device, 5...
・・Keyboard with CRT・Cycle diagram table, 8・Drive relay table, 9・Timer, 10・
・・CPU0 Do, Patent applicant: Sharp Corporation, 1 representative patent attorney: Aohaku Ao, and 1 other person 61

Claims (1)

【特許請求の範囲】[Claims] (1)メモリに記憶したシーケンスプログラムに基づい
てプログラマブルコントローラによって制御される被制
御機器の故障を診断する故障診断装置であって、 シーケンスを構成する各サイクルのサイクル番号、原端
要素、到達端要素、出力要素、出力オン、原端オフ、到
達端オンまでの各基準時間に関するデータを格納するサ
イクル線図テーブルと、診断対象たる各サイクルを起動
する起動リレーの番号と状態に関するデータを格納する
起動リレーテーブルと、上記両テーブルにデータを入力
するための入力部と、上記サイクル線図テーブルに格納
された各サイクルの各基準時間を計時するタイマと、上
記プログラマブルコントローラを介して入力される各起
動リレーの状態信号を上記起動リレーテーブルのデータ
と比較して、両者が一致した起動サイクルについて、プ
ログラマブルコントローラを介して入力されるその起動
サイクルの原端、到達端、出力要素の状態信号と上記タ
イマによる各基準時間の計時に基づいて故障原因や故障
要素を診断する演算装置を備えた故障診断装置。
(1) A failure diagnosis device that diagnoses failures in controlled equipment controlled by a programmable controller based on a sequence program stored in a memory, which includes the cycle number, origin element, and destination element of each cycle that constitutes the sequence. , a cycle diagram table that stores data regarding each reference time from output element, output on, source end off, and arrival end on, and a start table that stores data regarding the number and status of the starting relay that starts each cycle to be diagnosed. a relay table, an input section for inputting data into both of the above tables, a timer for measuring each reference time of each cycle stored in the above cycle diagram table, and each activation inputted via the above programmable controller. The relay status signal is compared with the data in the starting relay table, and for starting cycles in which both match, the status signals of the starting end, reaching end, and output element of the starting cycle input via the programmable controller and the above timer are A failure diagnosis device equipped with an arithmetic device that diagnoses the cause of failure and failure elements based on measurement of each reference time.
JP10289389A 1989-04-21 1989-04-21 Trouble diagnostic device Pending JPH02281301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10289389A JPH02281301A (en) 1989-04-21 1989-04-21 Trouble diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10289389A JPH02281301A (en) 1989-04-21 1989-04-21 Trouble diagnostic device

Publications (1)

Publication Number Publication Date
JPH02281301A true JPH02281301A (en) 1990-11-19

Family

ID=14339542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10289389A Pending JPH02281301A (en) 1989-04-21 1989-04-21 Trouble diagnostic device

Country Status (1)

Country Link
JP (1) JPH02281301A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59218523A (en) * 1983-05-27 1984-12-08 Nissan Motor Co Ltd Fault diagnosing device for sequence machine
JPS63303407A (en) * 1987-06-02 1988-12-12 Mazda Motor Corp Monitoring device for sequence program control
JPS6415809A (en) * 1987-07-10 1989-01-19 Fuji Electric Co Ltd Monitor system for working time of control panel
JPS6438809A (en) * 1987-08-04 1989-02-09 Mazda Motor Monitor device for sequence program control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59218523A (en) * 1983-05-27 1984-12-08 Nissan Motor Co Ltd Fault diagnosing device for sequence machine
JPS63303407A (en) * 1987-06-02 1988-12-12 Mazda Motor Corp Monitoring device for sequence program control
JPS6415809A (en) * 1987-07-10 1989-01-19 Fuji Electric Co Ltd Monitor system for working time of control panel
JPS6438809A (en) * 1987-08-04 1989-02-09 Mazda Motor Monitor device for sequence program control system

Similar Documents

Publication Publication Date Title
US4851985A (en) Fault diagnosis system for comparing counts of commanded operating state changes to counts of actual resultant changes
US3908117A (en) Method and apparatus for monitoring and diagnosing troubles in sequential control operations
EP0292914B1 (en) Trouble diagnosis apparatus for controlled device
JP2003068865A (en) Self-diagnosis method and apparatus of semiconductor device
JP2000358029A (en) Automatic fault diagnostic network system, and automatic fault diagnostic method for network
JPH02281301A (en) Trouble diagnostic device
JP2001067122A (en) Method for diagnosing ladder program and equipment diagnostic device
JP2540127B2 (en) Programmable controller failure diagnosis device
JPS58208532A (en) Self-diagnosing device for air conditioner
JPH06274298A (en) Monitoring device for control apparatus
JPH04291428A (en) Fault information display device
JPH02253306A (en) Fault diagnosing device
JP2701842B2 (en) Fault diagnosis device for programmable controller
JPS63292202A (en) Device for diagnosing fault of programmable controller
KR20140029859A (en) Appartus and method for real-time diagnosis network 0f in redundant plc system
JP3309533B2 (en) Fault diagnosis device
JPS6310203A (en) Programmable controller
JPH04251333A (en) Fault diagnosing device
JP2549690B2 (en) Pseudo-fault test method for channel processor
JPH05200658A (en) Production control system of finishing machine
JPS63223808A (en) Trouble diagnosing device
JPH07271411A (en) Fault diagnostic device for programmable controller
JPH07182036A (en) Fault generation simulation device for equipment
KR910012843A (en) How to diagnose failure of production line
JPH02273805A (en) Fault diagnostic device