JP2527803B2 - Fault diagnosis device - Google Patents

Fault diagnosis device

Info

Publication number
JP2527803B2
JP2527803B2 JP1075497A JP7549789A JP2527803B2 JP 2527803 B2 JP2527803 B2 JP 2527803B2 JP 1075497 A JP1075497 A JP 1075497A JP 7549789 A JP7549789 A JP 7549789A JP 2527803 B2 JP2527803 B2 JP 2527803B2
Authority
JP
Japan
Prior art keywords
cycle
data
abnormality
programmable controller
operating condition
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 - Lifetime
Application number
JP1075497A
Other languages
Japanese (ja)
Other versions
JPH02253306A (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.)
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 JP1075497A priority Critical patent/JP2527803B2/en
Publication of JPH02253306A publication Critical patent/JPH02253306A/en
Application granted granted Critical
Publication of JP2527803B2 publication Critical patent/JP2527803B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

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

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

一方、簡易な故障診断方法として、シーケンスを構成
する各サイクルのサイクル番号、原端,到達端,出力要
素、基準時間等を順次記述したサイクル線図に基づいて
時間監視を行なう手法があるが、このサイクル線図では
インターロックや次サイクルへの移行に必要な条件が直
接的には分からないため、診断の精度が悪くなるという
欠点がある。
On the other hand, as a simple fault diagnosis method, there is a method of performing time monitoring based on a cycle diagram in which the cycle number, original end, reaching end, output element, reference time, etc. of each cycle constituting a sequence are sequentially described. In this cycle diagram, the conditions required for interlocking and transition to the next cycle cannot be directly understood, so that there is a drawback that the accuracy of diagnosis deteriorates.

そこで、本発明の目的は、従来のサイクル線図に基づ
く診断手法を改善することによって、少ないソフトウェ
アで正確な故障診断を迅速に行なうことができる故障診
断装置を提供することである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a failure diagnosing device capable of quickly performing an accurate failure diagnosis with a small amount of software by improving a conventional diagnosis method based on a cycle diagram.

<課題を解決するための手段> 上記目的を達成するため、本発明の故障診断装置は、
メモリに記憶したシーケンスプログラムに基づいてプロ
グラマブルコントローラによって制御される被制御機器
の故障を診断する故障診断装置であって、シーケンスを
構成する各サイクルのサイクル番号,原端要素,到達端
要素,出力要素,前後のサイクル番号,基準時間に関す
るデータを少なくとも格納するサイクル線図テーブル
と、上記各サイクルの動作条件に関するデータを格納す
る動作条件テーブルと、上記サイクル線図テーブルに格
納された各サイクルの基準時間を計時するタイマと、上
記プログラマブルコントローラを介して入力される被制
御機器の原端,到達端,出力要素の状態信号およびシー
ケンスプログラムならびに上記タイマの計時に基づいて
故障診断に関する演算を行なう演算手段と、各サイクル
についてそれ以前に動作するサイクルによって決定され
る原端,到達端要素の状態を上記サイクル線図テーブル
を検索してデータとして抽出し、各サイクル毎に上記動
作条件テーブルに記憶させる動作条件抽出手段と、上記
演算手段の時間監視により異常が検知されたとき、上記
プログラマブルコントローラを介して入力されている被
制御機器の原端,到達端要素の実際の状態信号を上記動
作条件テーブルに格納された異常が検知されたサイクル
のデータと比較して、原端要素のみがオフにならない、
到達端要素のみがオンにならない、あるいは出力要素の
みがそれ自体の異常によりオンにならないと判断した場
合は、そのサイクル自体に異常が発生したと診断する一
方、出力要素のみが他の異常でオンにならないと判断し
た場合は、それ以前のサイクルの異常と判断し、上記プ
ログラマブルコントローラを介して入力されているそれ
以前のサイクルに対応する原端,到達端要素の実際の状
態信号を上記動作条件テーブルのデータと各サイクル毎
に前方へ逐次比較していき、両者が合致しないサイクル
で異常が発生したと診断する検出手段を備える。
<Means for Solving the Problems> In order to achieve the above object, the failure diagnosis apparatus of the present invention is
A fault diagnosis device for diagnosing a fault in a controlled device controlled by a programmable controller based on a sequence program stored in a memory, the cycle number of each cycle constituting a sequence, a source end element, a reaching end element, an output element. , A cycle diagram table that stores at least data related to cycle numbers before and after, and reference time, an operation condition table that stores data related to operation condition of each cycle, and a reference time of each cycle stored in the cycle diagram table A timer for counting the time, a source and a destination of the controlled device input via the programmable controller, a state signal of an output element and a sequence program, and an arithmetic means for performing an operation relating to a failure diagnosis based on the timing of the timer. , Before each cycle An operating condition extracting means for searching the cycle diagram table for extracting the states of the original end element and the reaching end element, which are determined by the cycle to be created, as data, and storing the data in the operating condition table for each cycle, and the computing means. When an anomaly is detected by the time monitoring of, the anomaly stored in the operating condition table is the actual state signal of the original end and reaching end elements of the controlled device input via the programmable controller. Compared with the cycle data, only the raw end element is not turned off,
If it is determined that only the reaching element does not turn on or that only the output element does not turn on due to its own abnormality, it is diagnosed that an abnormality has occurred in the cycle itself, while only the output element turns on due to another abnormality. If it is determined that the previous cycle is abnormal, it is determined that the cycle is abnormal, and the actual state signals of the original end and reaching end elements corresponding to the previous cycle input through the programmable controller are used as the operating conditions. A detection unit is provided that sequentially compares the data in the table with each cycle forward and diagnoses that an abnormality has occurred in a cycle in which the two do not match.

<作用> サイクル線図テーブルには、制御シーケンスを構成す
る各サイクルのサイクル番号、原端,到達端,出力要
素、前後のサイクル番号、基準時間等に関するデータが
格納されている。動作条件抽出手段は、サイクル線図テ
ーブルのデータに基づいて、各サイクルについてそれ以
前に動作するサイクルによって決定される原端,到達端
要素の状態を順次抽出し、抽出データを各サイクル毎に
動作条件テーブルに記憶させる。シーケンス制御が始ま
ると、演算手段は、タイマが計時する基準時間内に各サ
イクルが終了するか否か、即ちそのサイクルの原端要素
がオフになり、到達端要素がオンになり、かつ出力要素
がオンになるか否かをプログラマブルコントローラを介
して入力される実際の状態信号に基づいて監視し、否の
とき異常を検知する。演算手段が異常を検知すると、検
出手段は、そのときの被制御機器の原端,到達端要素の
実際の状態信号を上記動作条件テーブルに格納されたそ
のサイクルのデータと比較して、原端要素のみがオフに
ならない、到達端要素のみがオンにならない、あるいは
出力要素のみがそれ自体の異常によりオンにならないと
判断した場合は、そのサイクル自体に異常が発生したと
診断する一方、出力要素のみが他の異常でオンにならな
いと判断した場合は、それ以前のサイクルの異常と判断
し、上記プログラマブルコントローラを介して入力され
ているそれ以前のサイクルに対応する原端,到達端要素
の実際の状態信号を上記動作条件テーブルのデータと各
サイクル毎に前方へ逐次比較していき、両者が合致しな
いサイクルで異常が発生したと診断する。
<Operation> The cycle diagram table stores data on the cycle number of each cycle constituting the control sequence, the original end, the reaching end, the output element, the preceding and succeeding cycle numbers, the reference time, and the like. The operating condition extracting means sequentially extracts the states of the original end element and the reaching end element, which are determined by the cycle that operates before that, based on the data in the cycle diagram table, and operates the extracted data for each cycle. Store in the condition table. When the sequence control starts, the arithmetic means determines whether or not each cycle ends within the reference time measured by the timer, that is, the original end element of the cycle is turned off, the reaching end element is turned on, and the output element is turned on. Whether or not is turned on is monitored based on the actual state signal input via the programmable controller, and when it is not, an abnormality is detected. When the computing means detects an abnormality, the detecting means compares the actual state signals of the original end and the arriving end element of the controlled device at that time with the data of the cycle stored in the operation condition table, and the original end is detected. If it is determined that only the element does not turn off, only the reaching end element does not turn on, or only the output element does not turn on due to its own abnormality, it is diagnosed that an abnormality has occurred in the cycle itself, while the output element If it is determined that only one of them is not turned on due to another abnormality, it is determined as an abnormality in the previous cycle and the actual of the original end and reaching end elements corresponding to the previous cycle input via the programmable controller The state signal of is compared with the data of the operating condition table forward for each cycle, and it is diagnosed that an abnormality has occurred in a cycle in which the two do not match.

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

第1図は本発明の故障診断装置の一実施例を示すブロ
ック図であり、1はリミットスイッチ1a等の原端,到達
端要素およびコイル1b等の出力要素を有してシーケンス
動作する被制御機器、2はこの被制御機器1を図示しな
いメモリに記憶したシーケンスプログラムに基づいて制
御するプログラマブルコントローラ、3はこのプログラ
マブルコントローラ2に接続され、上記被制御機器1の
故障を診断する故障診断装置である。
FIG. 1 is a block diagram showing an embodiment of the failure diagnosis device of the present invention, in which 1 is a controlled device that has a source end such as a limit switch 1a, a reaching end element, and an output element such as a coil 1b to perform a sequence operation. A device, 2 is a programmable controller for controlling the controlled device 1 based on a sequence program stored in a memory (not shown), and 3 is a failure diagnosis device connected to the programmable controller 2 for diagnosing a failure of the controlled device 1. is there.

上記故障診断装置3は、プログラマブルコントローラ
2とデータを送受するインターフェース回路4と、シー
ケンスを構成する各サイクルのサイクル番号,原端要
素,到達端要素,出力要素,前後のサイクル番号,基準
時間に関するデータ等を格納するサイクル線図テーブル
5と、上記各サイクルの動作条件に関するデータを格納
する動作条件テーブル6と、上記サイクル線図テーブル
5に格納された各サイクルの基準時間を計時するタイマ
7と、上記インターフェース回路4を介して入力される
被制御機器1の原端,到達端,出力要素の状態信号およ
びシーケンスプログラムならびに上記タイマ7の計時に
基づいて故障診断に関する演算を行なう演算手段として
のCPU8からなる。
The failure diagnosis device 3 includes an interface circuit 4 for transmitting and receiving data to and from the programmable controller 2, a cycle number of each cycle forming a sequence, a source end element, a reaching end element, an output element, preceding and following cycle numbers, and data relating to a reference time. And the like, a cycle diagram table 5 for storing the above, an operation condition table 6 for storing data relating to the operation condition of each cycle, a timer 7 for measuring the reference time of each cycle stored in the cycle diagram table 5, From the CPU 8 as an arithmetic means for performing an arithmetic operation relating to a failure diagnosis based on the original signal, the arriving signal of the controlled device 1 input via the interface circuit 4, the state signal of the output element and the sequence program, and the timing of the timer 7. Become.

上記CPU8は、駆動プログラムの形でソフトウェアとし
て、動作条件抽出手段と検出手段を備えており、前者
は、各サイクルについてそれ以前に動作するサイクルに
よって決定される原端,到達端要素の状態を上記サイク
ル線図テーブル5を検索してデータとして抽出し、これ
を各サイクル毎に上記動作条件テーブル6に記憶させる
一方、後者は、CPU8が各サイクルの時間監視によって異
常を検出したとき、プログラマブルコントローラ2を介
して入力されている被制御機器1の原端,到達端要素1a
の実際の状態信号を上記動作条件テーブル6のデータと
各サイクル毎に比較して、故障したサイクルを検出す
る。
The CPU 8 is provided with operating condition extracting means and detecting means as software in the form of a driving program. In the former, the states of the original end element and the reaching end element which are determined by the cycle operating before each cycle are described above. While the cycle diagram table 5 is searched and extracted as data and stored in the operating condition table 6 for each cycle, the latter is the programmable controller 2 when the CPU 8 detects an abnormality by time monitoring of each cycle. Original end and reaching end element 1a of controlled device 1 input via
The actual state signal of is compared with the data of the operating condition table 6 for each cycle to detect the failed cycle.

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

第2図は、シーケンスを構成するサイクルを順次並べ
て記述したサイクル線図の一例を示している。図中の数
字,,,…は、各サイクルの動作順序を示すサイ
クル番号であり、これに対応するA,E,F,…は、そのサイ
クルの出力要素(第1図中1b参照)を示す。また、各出
力要素の左端の−C,−G,−I,…は、そのサイクルの原端
要素(第1図中1aの参照)を、各出力要素の右端のD,H,
J,…は、そのサイクルの到達端要素(第1図中1a参照)
を夫々示している。1つのサイクルが実行されると、そ
の原端要素がオフになり、その到達要素と出力要素がオ
ンになるので、原端要素には負号(−)を付している。
また、サイクルとサイクルのC,Dは、同一要素であ
ることを示し、サイクルとサイクルは、同時並行的
に実行される。
FIG. 2 shows an example of a cycle diagram in which the cycles forming the sequence are sequentially arranged and described. The numbers in the figure ... Cycle numbers indicating the operation order of each cycle, and the corresponding A, E, F, ... Indicate output elements of that cycle (see 1b in FIG. 1). . Further, -C, -G, -I, ... At the left end of each output element is the original end element of the cycle (see 1a in FIG. 1), and D, H, at the right end of each output element.
J, ... are the end elements of the cycle (see 1a in Fig. 1)
Are shown respectively. When one cycle is executed, the original end element is turned off, and the arrival element and the output element are turned on. Therefore, the original end element is given a negative sign (-).
Further, the cycle and the C and D of the cycle indicate that they are the same element, and the cycle and the cycle are executed concurrently in parallel.

操作者は、第2図のサイクル線図の各サイクルについ
て、第3図のようなデータを作り、このデータを図示し
ないキーボードとCPU8を介してサイクル線図テーブル5
に記憶させる。即ち、サイクルについていえば、第3
図の如くサイクル番号5,原端−L,到達端M,出力K,前サイ
クル番号4,次サイクル番号6,先頭サイクル・ノー,終了
サイクル・ノー,基準時間T5のデータが、サイクル線図
テーブル5に格納される。
The operator creates data as shown in FIG. 3 for each cycle of the cycle diagram of FIG. 2, and this data is sent to the cycle diagram table 5 via the keyboard (not shown) and the CPU 8.
To memorize. That is, regarding the cycle, the third
As shown in the figure, the data of cycle number 5, source end-L, reaching end M, output K, previous cycle number 4, next cycle number 6, start cycle no, end cycle no, and reference time T 5 is the cycle diagram. Stored in Table 5.

一方、動作条件抽出手段は、上記サイクル線図テーブ
ル5のデータを検索して、各サイクルについてそれ以前
に動作するサイクルによって決定される原端,到達端要
素の状態を第4図の如く抽出し、これを動作条件テーブ
ル6に記憶させる。即ち、サイクルについていえば、
それ以前のサイクルをデータ中の前サイクル番号につい
て,,,…とループの先頭まで順次リストアッ
プし、リストアップしたサイクルのデータをサイクル
から遠い順に逐次読み出して、その原端をオフ、到達端
をオンにしていき、文字列−C,D,−G,H,−I,J,…を得
る。なお、サイクルとのように同一の原端,到達端
が出た場合は、後のサイクルの内容を優先し、最初の
−C,Dを削除して、最終的に第4図に示す文字列−G,H,
−I,J,−D,C,−L,Mを得る。そして、この文字列がサイ
クルのデータとして動作条件テーブル6に格納され
る。このような動作条件の抽出作業は、勿論各サイクル
について行なわれる。
On the other hand, the operating condition extracting means retrieves the data in the cycle diagram table 5 and extracts the states of the original end and the reaching end elements determined by the cycle operating before each cycle as shown in FIG. , Are stored in the operating condition table 6. That is, regarding the cycle,
For the previous cycle number in the data, list the previous cycles up to the beginning of the loop, read the data of the listed cycles sequentially in the order distant from the cycle, turn off the original end, and set the reaching end. It is turned on to obtain the character strings -C, D, -G, H, -I, J, ... When the same original end and reaching end appear as in a cycle, the contents of the subsequent cycle are given priority, the first -C and D are deleted, and the character string shown in Fig. 4 is finally given. −G, H,
-I, J, -D, C, -L, M are obtained. Then, this character string is stored in the operation condition table 6 as cycle data. Of course, such operation condition extraction work is performed for each cycle.

次に、プログラマブルコントローラ2による被制御機
器1のシーケンス制御が始まると、故障診断装置3のCP
U8は、タイマ7が計時する上記基準時間Ti内にサイクル
iが終了するか否か、即ちサイクルiの原端要素がオ
フ,到達端要素がオン,出力要素がオンの全てが成立す
るか否かを、プログラマブルコントローラ2を介して入
力される実際の各要素の状態信号によって監視し、否の
とき異常が発生したと判別する。かくて、異常が検知さ
れると、検出手段は、上記状態信号に基づいてそのとき
のサイクルの原端要素のみがオフにならない、到達端要
素のみがオンにならない、あるいは出力要素のみがそれ
自体の異常によりオンにならないと判別した場合は、そ
のサイクル自体に異常が発生したと診断する。一方、出
力要素のみが他の異常でオンにならないと判別した場合
は、このサイクルに関する動作条件即ちそれ以前のサイ
クルの異常と判断する。そして、プログラマブルコント
ローラ2を介して入力されているそれ以前のサイクルに
対応する原端,到達端要素の実際の状態信号を動作条件
テーブル6のデータと各サイクル毎に前方へ逐次比較し
ていき、両者が合致していないサイクルで異常が発生し
たと診断する。
Next, when the sequence control of the controlled device 1 by the programmable controller 2 is started, the CP of the failure diagnosis device 3 is started.
U8 determines whether or not the cycle i ends within the reference time Ti measured by the timer 7, that is, whether or not the original end element of the cycle i is off, the reaching end element is on, and the output element is on. This is monitored by an actual state signal of each element input via the programmable controller 2, and when it is not, it is determined that an abnormality has occurred. Thus, when an abnormality is detected, the detection means determines, based on the status signal, that only the original end element of the current cycle is not turned off, only the reaching end element is not turned on, or only the output element is itself turned on. If it is determined that the power will not be turned on due to the abnormal condition, the abnormality is diagnosed in the cycle itself. On the other hand, when it is determined that only the output element is not turned on due to another abnormality, it is determined that the operation condition regarding this cycle, that is, the abnormality of the cycle before that. Then, the actual state signals of the original end and reaching end elements corresponding to the previous cycle input via the programmable controller 2 are sequentially compared with the data of the operation condition table 6 forward every cycle, It is diagnosed that an abnormality has occurred in a cycle in which the two do not match.

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

<発明の効果> 以上の説明で明らかなように、本発明のプログラマブ
ルコントローラで制御される被制御機器のための故障診
断装置は、サイクル線図テーブルに各サイクルのサイク
ル番号,原端,到達端,出力要素,前後のサイクル番
号,基準時間等に関するデータを格納し、このサイクル
線図テーブルを動作条件抽出手段に検索させて、各サイ
クルについてそれ以前に動作するサイクルによって決ま
る原端,到達端要素の状態を動作条件テーブルに記憶さ
せるとともに、演算手段の時間監視で異常が検知された
とき、検出手段によって原端,到達端要素の実際の状態
信号を上記動作条件テーブルのデータを各サイクル毎に
逐次比較して、両者が合致しないサイクルで異常が発生
したと診断するようにしているので、シーケンス中にサ
イクル線図に表われない条件や複雑なインターロックが
あっても異常箇所を的確に診断できるうえ、従来のよう
なラダー図に基づく診断でないので、ラダー図の入力間
違いによる誤診断もなく、ソフトウェアが少なくて経済
性に優れかつ迅速な診断をすることができる。また、異
常が検知されたサイクルから前方のサイクルに向かって
実際の状態信号と予め記憶した正常データを逐次比較し
て、両者が合致しないサイクルで異常発生と診断するの
で、他の診断手法に比してサイクル線図テーブルにサイ
クル番号,原端要素,到達端要素,出力要素,前後のサ
イクル番号,基準時間に関するデータのみを格納するた
けで診断ができ、正常データを記憶するためのメモリの
小容量化を図ることができる。
<Effects of the Invention> As is apparent from the above description, the failure diagnosis device for controlled equipment controlled by the programmable controller of the present invention has the cycle number, the original end, and the arrival end of each cycle in the cycle diagram table. , Output element, preceding and following cycle numbers, reference time, and other data are stored, and the operation condition extraction means searches this cycle diagram table to determine the original end and arrival end elements for each cycle. The state of is stored in the operating condition table, and when an abnormality is detected by the time monitoring of the calculating means, the detecting means outputs the actual state signals of the original end element and the reaching end element to the data of the operating condition table for each cycle. Since it is diagnosed that an abnormality has occurred in a cycle in which the two do not match by successive comparison, the cycle Abnormal parts can be accurately diagnosed even if there are conditions or complicated interlocks that are not shown in the diagram, and since it is not based on the conventional ladder diagram diagnosis, there is no misdiagnosis due to the input mistake of the ladder diagram, and the software A small number, excellent in economic efficiency, and capable of quick diagnosis. In addition, since the actual state signal and the normal data stored in advance are sequentially compared from the cycle in which the abnormality is detected to the preceding cycle, the abnormality is diagnosed in the cycle in which the two do not match, so it is better than other diagnostic methods. Therefore, it is possible to make a diagnosis by storing only the data relating to the cycle number, the source end element, the reaching end element, the output element, the preceding and following cycle numbers, and the reference time in the cycle diagram table. The capacity can be increased.

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

第1図は本発明の故障診断装置の一実施例を示すブロッ
ク図、第2図はシーケンス制御のサイクル線図の一例を
示す図、第3図は第1図のサイクル線図テーブルのデー
タを示す図、第4図は第1図の動作条件テーブルのデー
タを示す図である。 1……被制御機器、2……プログラマブルコントロー
ラ、3……故障診断装置、5……サイクル線図テーブ
ル、6……動作条件テーブル、7……タイマ、8……CP
U。
FIG. 1 is a block diagram showing an embodiment of the failure diagnosis apparatus of the present invention, FIG. 2 is a diagram showing an example of a sequence control cycle diagram, and FIG. 3 is data of the cycle diagram table of FIG. 4 and FIG. 4 are views showing the data of the operation condition table of FIG. 1 ... Controlled device, 2 ... Programmable controller, 3 ... Failure diagnosis device, 5 ... Cycle diagram table, 6 ... Operating condition table, 7 ... Timer, 8 ... CP
U.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭59−218523(JP,A) 特開 平1−38809(JP,A) 特開 昭63−303407(JP,A) 特開 平1−15809(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-59-218523 (JP, A) JP-A-1-38809 (JP, A) JP-A-63-303407 (JP, A) JP-A-1- 15809 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】メモリに記憶したシーケンスプログラムに
基づいてプログラマブルコントローラによって制御され
る被制御機器の故障を診断する故障診断装置であって、 シーケンスを構成する各サイクルのサイクル番号,原端
要素,到達端要素,出力要素,前後のサイクル番号,基
準時間に関するデータを少なくとも格納するサイクル線
図テーブルと、 上記各サイクルの動作条件に関するデータを格納する動
作条件テーブルと、 上記サイクル線図テーブルに格納された各サイクルの基
準時間を計時するタイマと、 上記プログラマブルコントローラを介して入力される被
制御機器の原端,到達端,出力要素の状態信号およびシ
ーケンスプログラムならびに上記タイマの計時に基づい
て故障診断に関する演算を行なう演算手段と、 各サイクルについてそれ以前に動作するサイクルによっ
て決定される原端,到達端要素の状態を上記サイクル線
図テーブルを検索してデータとして抽出し、各サイクル
毎に上記動作条件テーブルに記憶させる動作条件抽出手
段と、 上記演算手段の時間監視により異常が検知されたとき、
上記プログラマブルコントローラを介して入力されてい
る被制御機器の原端,到達端要素の実際の状態信号を上
記動作条件テーブルに格納された異常が検知されたサイ
クルのデータと比較して、原端要素のみがオフにならな
い、到達端要素のみがオンにならない、あるいは出力要
素のみがそれ自体の異常によりオンにならないと判断し
た場合は、そのサイクル自体に異常が発生したと診断す
る一方、出力要素のみが他の異常でオンにならないと判
断した場合は、それ以前のサイクルの異常と判断し、上
記プログラマブルコントローラを介して入力されている
それ以前のサイクルに対応する原端,到達端要素の実際
の状態信号を上記動作条件テーブルのデータと各サイク
ル毎に前方へ逐次比較していき、両者が合致しないサイ
クルで異常が発生したと診断する検出手段を備えた故障
診断装置。
1. A failure diagnostic device for diagnosing a failure of a controlled device controlled by a programmable controller based on a sequence program stored in a memory, wherein the cycle number of each cycle constituting a sequence, a source end element, and an arrival. A cycle diagram table that stores at least data on end elements, output elements, cycle numbers before and after, reference time, an operation condition table that stores data on operation conditions of each cycle, and a cycle diagram table stored on the cycle diagram table A timer for counting the reference time of each cycle, a source signal of the controlled device input via the programmable controller, a reaching end, a status signal of the output element and a sequence program, and a calculation for failure diagnosis based on the timing of the timer. And the calculation means for each cycle And an operating condition extracting means for extracting the states of the original end and the reaching end elements determined by the cycle operating before that as the data by searching the cycle diagram table and storing the data in the operating condition table for each cycle. , When an abnormality is detected by the time monitoring of the calculating means,
The actual state signals of the source and destination elements of the controlled device, which are input via the programmable controller, are compared with the cycle data in which an abnormality is detected stored in the operating condition table, and the source element is compared. If it is determined that only the reaching end element does not turn on, or that only the output element does not turn on due to its own abnormality, it is diagnosed that an abnormality has occurred in the cycle itself, while only the output element If it is judged that the other cycle does not turn on, it is judged as an abnormality in the previous cycle, and the actual elements of the original end and reaching end corresponding to the previous cycle input via the programmable controller are actually detected. The status signal is successively compared with the data in the above operating condition table forward for each cycle, and an error occurs in the cycle where the two do not match. Fault diagnosis apparatus having a detecting means for diagnosing that.
JP1075497A 1989-03-27 1989-03-27 Fault diagnosis device Expired - Lifetime JP2527803B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1075497A JP2527803B2 (en) 1989-03-27 1989-03-27 Fault diagnosis device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1075497A JP2527803B2 (en) 1989-03-27 1989-03-27 Fault diagnosis device

Publications (2)

Publication Number Publication Date
JPH02253306A JPH02253306A (en) 1990-10-12
JP2527803B2 true JP2527803B2 (en) 1996-08-28

Family

ID=13577964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1075497A Expired - Lifetime JP2527803B2 (en) 1989-03-27 1989-03-27 Fault diagnosis device

Country Status (1)

Country Link
JP (1) JP2527803B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5964228B2 (en) * 2012-02-22 2016-08-03 三菱重工業株式会社 Steam table value calculation system, steam table value calculation method and control device

Family Cites Families (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

Also Published As

Publication number Publication date
JPH02253306A (en) 1990-10-12

Similar Documents

Publication Publication Date Title
JP3657027B2 (en) Time management system and method for vehicle fault diagnosis apparatus
US4535456A (en) Method of detecting execution errors in program-controlled apparatus
JP2562701B2 (en) Error display device for data transmission system
US4554662A (en) Input signal testing device for electronic copier
JP2527803B2 (en) Fault diagnosis device
JPH09205429A (en) Network fault diagnostic device, fault prediction device, and its diagnostic and prediction method
JP3277247B2 (en) Method for creating an abnormality diagnosis reference pattern in an automated equipment system and an automatic diagnosis apparatus using the reference pattern
JPH0577143A (en) Failure diagnosis device for automated line
JPH07160326A (en) Plant monitor device
JP2554282B2 (en) Fault diagnosis device for sequence controller
JP2572386B2 (en) Fault diagnosis device
JPH02273805A (en) Fault diagnostic device
JPH066866A (en) Plant monitor system
JP3428235B2 (en) Self-monitoring device and self-monitoring method
JPS61813A (en) Deciding system for faulty area of sequence controller
JP2607620B2 (en) Grouping method of sequence program control system monitor
JPH05101228A (en) Analog switch input card system
JPH06244935A (en) Fault diagnostic system for configuration equipment of electronic exchange
JPS6161426B2 (en)
KR910012843A (en) How to diagnose failure of production line
JP2633378B2 (en) Self-failure occurrence / learning device
JPH0883199A (en) Failure monitor device
JPS63213039A (en) Fault analysis system for diagnosing device
JPH05313712A (en) Programmable controller
JPH0119166B2 (en)