JPS60238906A - Device for detecting abnormal operation of sequence circuit - Google Patents

Device for detecting abnormal operation of sequence circuit

Info

Publication number
JPS60238906A
JPS60238906A JP59094312A JP9431284A JPS60238906A JP S60238906 A JPS60238906 A JP S60238906A JP 59094312 A JP59094312 A JP 59094312A JP 9431284 A JP9431284 A JP 9431284A JP S60238906 A JPS60238906 A JP S60238906A
Authority
JP
Japan
Prior art keywords
signals
operating
section
signal
circuit
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
JP59094312A
Other languages
Japanese (ja)
Inventor
Munenori Ishida
石田 宗紀
Hidenori Okuyama
奥山 英憲
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.)
Misuzu Erie Co Ltd
Original Assignee
Misuzu Erie 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 Misuzu Erie Co Ltd filed Critical Misuzu Erie Co Ltd
Priority to JP59094312A priority Critical patent/JPS60238906A/en
Publication of JPS60238906A publication Critical patent/JPS60238906A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To easily explicate the cause of an abnormal operation of a sequence circuit, by comparing signals indicating the operating state of a circuit element with previously stored operating state signals whenever the operating state of the circuit element changes and, when they do not continuously coincide with each other, deciding the operating state of the circuit element as abnormal one and storing the operating state signals before and after the abnormal state occurs. CONSTITUTION:Signals indicating operating states of plural representative circuit elements 2, 3, 5, and 6 of a sequence circuit are inputted in an operation comparing and deciding section 11 through an input section 8 in the orde of operation. On the other hand, signals from a storage section 9 which previously stores the operating states and operating order of the circuit elements 2, 3, 5, and 6 in the form of digital signals (ON-OFF signals) are inputted from an operation setting section 10 and the first mentioned signals are compared with the second mentioned signals. When a main device 7 is operated, an operation stage at which both signals coincide with each other is firstly retrieved and a state in which both signals continuously coincide with each other with a change in the operating state in-between is retrieved by using the retrieved stage as the starting point. If a section continuously showing the similar change does not exist in the other section of the storage section 9 when discordance occurs, it is judged as an abnormal state and operating states before and after the abnormal state occurs and the current signal is stored.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明はシーケンス回路を構成する全回路要素の動作状
態あるいはその中の複数個の回路要素の動作状態を動作
順序に従って常に監視し、その動作状態がシーケンスに
よって定められた動作状態と異なるとき、異常と判定し
て警報1表示を行なうと共に異常発生前後の動作状態を
記録するためのシーケンス回路の動作異常検出装置に関
する。
[Detailed description of the invention] [Technical field to which the invention pertains] The present invention constantly monitors the operating state of all circuit elements constituting a sequence circuit or the operating states of a plurality of circuit elements therein according to the operating order, and The present invention relates to an operation abnormality detection device for a sequence circuit that determines an abnormality when the state differs from an operating state determined by a sequence, displays an alarm 1, and records the operating state before and after the occurrence of the abnormality.

〔従業技術〕[Employee technology]

従来のシーケンス回路の動作検出方式としては、■シー
ケンス回路を構成する接点、コイル等の回路要素の動作
状態が変化する度毎に変化し之時刻、変化した回路要素
及び変化内容を印字しておき、異常が発生した時は後刻
その記録を読み取り、回路動作をその内容からトレース
で異常原因を解明する。 ■回路要素の動作状態を常に
磁気テープ等に記録しておき、上記■の方式と同様に後
刻異常原因を解明する方式が採られているが、いずれの
方式もデータ量が膨大となり、その解明に多大の労力と
時間を必要とする欠点がある。
Conventional sequence circuit operation detection methods include: - Each time the operating state of circuit elements such as contacts and coils that make up the sequence circuit changes, the time of the change, the circuit element that changed, and the details of the change are printed out. When an abnormality occurs, the record is read later and the cause of the abnormality can be determined by tracing the circuit operation. ■A method has been adopted in which the operating status of circuit elements is constantly recorded on magnetic tape, etc., and the cause of the abnormality can be later determined in the same way as the method described in The disadvantage is that it requires a lot of effort and time.

〔発明の目的〕[Purpose of the invention]

本発明は上記の欠点を改良するためになされたものであ
って、予めシーケンス回路を構成す壱全回路要素または
そのうちの複数個の回路要素の動作状態及び動作順序を
信号で記憶部に記憶しておき、回路要素の動作状態が変
化する度毎にその動作状態を表した信号を記憶部に記憶
した動作状態を表す信号と比較してシーケンス回路を常
に監視し、両信号が動作j順序に従って連続的に合致し
た場合はシーケンス回路が正常と判定して回路の監視を
続行し、両信号が合致しなくなった時には異常と判定し
て警報2表示を行なわせることができるシーケンス回路
の異常検出装置であり、異常発生時刻、異常発生前後の
回路要素の動作状態を記憶、印字等の手段により記録さ
せることができ、異常原因の解明のための労力と時間を
大幅に短縮できるにかりでなく、シーケンス回路の異常
検出をどの動作段階から開始しても自己判断して監視。
The present invention has been made to improve the above-mentioned drawbacks, and the present invention stores in advance the operating states and operating orders of all or a plurality of circuit elements constituting a sequence circuit in a storage section using signals. Then, each time the operating state of a circuit element changes, the sequence circuit is constantly monitored by comparing the signal representing the operating state with the signal representing the operating state stored in the storage section, and both signals are checked according to the order of operation. An abnormality detection device for sequence circuits that determines that the sequence circuit is normal when they match continuously and continues monitoring the circuit, and when both signals no longer match, it determines that it is abnormal and displays alarm 2. It is possible to record the time of abnormality occurrence and the operating status of the circuit elements before and after the abnormality occurrence by means such as memorization or printing, which not only greatly reduces the labor and time required to clarify the cause of the abnormality, but also Self-determine and monitor abnormality detection of sequence circuits from any operating stage.

異常検出ができるシーケンス回路の動作異常検出装置を
提供することを目的とするものである。
It is an object of the present invention to provide an operation abnormality detection device for a sequence circuit that can detect abnormalities.

〔発明の構成〕[Structure of the invention]

本発明装置は上記の目的を達成するため、図示のように
シーケンス回路を構成する全回路要素2゜3.3g 、
4,4a 、4b 、5,5a 、6またはそのうちの
複数個の回路要素2,3,5.6の動作状態を表す信号
を動作順序に従って入力して順次出力する入力部8と、
予め前記全回路要素または複数個の回路要素の動作状態
を表す信号及び動作順序を表す信号を記憶した記憶部9
と、前記入力部8より出力する信号を入力し、この信号
をこの記憶部9に記憶した信号と照合して両信号が動作
順序に従って連続して合致する状態を検索し2両信号が
合致する状態が続く時は正常と判定してシーケンス回路
の監視を続行し1両信号が合致しなくなった動作段階で
異常信号及びその前後の動作段階での信号を出力する動
作比較判定・動作制御部11と、この動作比較判定・動
作制御部11より出力する異常信号を入力して警報2表
示を行なわせるための信号を出力すると共に異常発生前
後の動作段階での信号を入力して異常発生前後の回路素
子の動作状態を記録させるための信号を出力する出力部
12とよりなる構成とする。
In order to achieve the above object, the device of the present invention has all the circuit elements 2°3.3g constituting the sequence circuit as shown in the figure.
4, 4a, 4b, 5, 5a, 6 or a plurality of circuit elements 2, 3, 5.6 therein, an input unit 8 that inputs signals representing the operating states of the circuit elements 2, 3, 5.6 according to the operating order and sequentially outputs the signals;
a storage unit 9 that stores in advance signals representing the operating states of all the circuit elements or a plurality of circuit elements and signals representing the operation order;
input the signal output from the input section 8, compare this signal with the signal stored in the storage section 9, search for a state in which both signals match consecutively according to the operating order, and both signals match. If the condition continues, the operation comparison judgment/operation control unit 11 determines that the sequence circuit is normal, continues monitoring the sequence circuit, and outputs an abnormal signal at the operation stage where the two signals no longer match and the signals at the operation stages before and after that. Then, the abnormality signal output from the operation comparison judgment/operation control section 11 is inputted to output a signal for displaying alarm 2, and the signals at the operation stages before and after the occurrence of the abnormality are inputted to determine the timing before and after the occurrence of the abnormality. The configuration includes an output section 12 that outputs a signal for recording the operating state of a circuit element.

3− 〔実施例の構成〕 第1図は本発明の対象となるシーケンス回路の一例を示
す接続図、第2図はその動作説明用タイムチャートであ
る。
3- [Configuration of Embodiment] FIG. 1 is a connection diagram showing an example of a sequence circuit to which the present invention is applied, and FIG. 2 is a time chart for explaining its operation.

まず第1図のシーケンス回路を説明すると、111゜1
bは電源ライン、2は入力接点、3はリレー(コイル)
、31はその常開接点、4は第1タイマ(コイル)、4
m、4bはその常開接点、5は第2タイマ(コイル)、
5.はその常閉接点、6は電磁弁(ソレノイド)である
First, to explain the sequence circuit in Figure 1, 111°1
b is the power line, 2 is the input contact, 3 is the relay (coil)
, 31 is its normally open contact, 4 is the first timer (coil), 4
m, 4b is its normally open contact, 5 is the second timer (coil),
5. is its normally closed contact, and 6 is a solenoid valve (solenoid).

このシーケンス回路は第2図示のように入力接点2が閉
じると、リレー3が作動して常開接点3mが閉じ、自己
保持すると共に第1タイマ4が動作を開始し、第1タイ
マ時間1a経過後に常開接点4゜4bが閉じる。常開接
点41の閉により第2タイマ5が動作を開始すると共に
常開接点4bの閉により電磁弁6が作動する。第2タイ
マ時間tb経過すると、常閉接点51が開き、リレー3
が復帰して常開接点3aが開く。常開接点3aの開によ
シ第1タイマ4が復帰し、常開接点4゜、4bが開いて
第2タ4− イマ5が復帰し常閉接点5aが閉じると共に電磁弁6が
復帰する。
In this sequence circuit, as shown in the second diagram, when the input contact 2 closes, the relay 3 operates and the normally open contact 3m closes, self-holding occurs, and the first timer 4 starts operating, and the first timer time 1a elapses. Afterwards, the normally open contact 4°4b closes. The closing of the normally open contact 41 causes the second timer 5 to start operating, and the closing of the normally open contact 4b causes the solenoid valve 6 to operate. When the second timer time tb has elapsed, the normally closed contact 51 opens and the relay 3
returns and the normally open contact 3a opens. When the normally open contact 3a opens, the first timer 4 returns, the normally open contacts 4° and 4b open, the second timer 5 returns, and the normally closed contact 5a closes, and the solenoid valve 6 returns. .

このシーケンス回路の動作衣を動作順序に従って作成す
ると、次の第1表の如くなる。但し、シーケンス回路を
構成する回路要素(接点、リレー。
If the operating sequence of this sequence circuit is created according to the operating order, it will be as shown in Table 1 below. However, the circuit elements (contacts, relays) that make up the sequence circuit.

タイマ、電磁弁等)の動作状態をオン、オフで表示し、
動作段階及び動作順序t4〜■(第2図参照)で示しで
ある。
Displays the operating status of timers, solenoid valves, etc.) as on or off.
The operation stages and the operation order are shown by t4 to (2) (see FIG. 2).

第 1 表 シーケンス回路を構成する回路要素の全てKついてその
動作状態を監視し、異状検出を行なうようにしてもよい
が、代表的に複数個の回路要素を選び、その動作状態を
監視し、異常検出を行なうようにするのが、データ量の
低減につながり、異常原因の解明が一層容易になるので
好ましい。
Table 1 Although all of the circuit elements constituting the sequence circuit may be monitored for their operating states to detect abnormalities, typically a plurality of circuit elements are selected, their operating states are monitored, It is preferable to perform abnormality detection because it leads to a reduction in the amount of data and makes it easier to clarify the cause of the abnormality.

いま、監視すべき回路要素として入力接点2゜リレー3
.第2タイマ5及び電磁弁6の合計4個の回路要素を選
んだとすると、これらの動作衣は次の第2表の如くなる
Now, the circuit elements to be monitored are input contact 2° and relay 3.
.. If a total of four circuit elements, the second timer 5 and the solenoid valve 6, are selected, their operation will be as shown in Table 2 below.

第 2 表 次に上記のように選んだ複数個の回路要素の動作状態を
監視し、異常検出を行なう本発明の一実施例の構成につ
いて説明する。
Table 2 Next, a configuration of an embodiment of the present invention for monitoring the operating states of a plurality of circuit elements selected as described above and detecting an abnormality will be described.

第3図は本発明装置の一実施例の構成を示すブロック線
図である。第3図において2,3,5.6ハそれぞれシ
ーケンス回路を構成する入力接点、リレー、第2タイマ
及び電磁弁で、以下これらを回路要素と記し、その動作
状態をオン、オフで説明することにする。
FIG. 3 is a block diagram showing the configuration of one embodiment of the device of the present invention. In Figure 3, 2, 3, and 5.6 are the input contacts, relays, second timers, and solenoid valves that constitute the sequence circuit, respectively.Hereinafter, these will be referred to as circuit elements, and their operating states will be explained as on and off. Make it.

7は本発明装置である。8は4個の回路要素2゜3.5
.6の動作状態を表す信号(第2表参照)を動作順序1
−vに従って入力し順次出力する入力部である。
7 is the device of the present invention. 8 is 4 circuit elements 2゜3.5
.. The signals representing the operating states of 6 (see Table 2) are assigned to the operating order 1.
This is an input section that inputs data according to -v and outputs them sequentially.

9は予め4個の回路要素2,3,5.6の動作状態及び
動作順序を動作設定部10によりデジタル信号(オン、
オフ信号)で動作比較判定・動作制御部11ヲ通して記
憶した記憶部である。
9 sets the operating states and operating order of the four circuit elements 2, 3, 5.6 in advance by digital signals (on,
This is a storage section in which the data is stored through the operation comparison/judgment/operation control section 11 at the off signal).

11は入力部8より出力する信号を入力し、この信号を
記憶部9に記憶した信号と照合して両信号が動作順序に
従って連続して合致する状態を検索し、両信号が合致す
る状態が続く時は正常と判定してシーケンス回路の監視
を続行し、両信号が合致しなくなった動作段階で異常信
号及び異常発生時刻、その前後の動作段階での信号を出
力する動7− 作比較判定部で、人、出力部8 、12、記憶部9及び
動作設定部10の相互動作を制御する動作制御部を備え
ている。
11 inputs the signal output from the input section 8, compares this signal with the signal stored in the storage section 9, searches for a state where both signals match consecutively according to the operation order, and searches for a state where both signals match. If it continues, it is determined to be normal and the sequence circuit is continued to be monitored, and at the operating stage where both signals no longer match, an abnormal signal, the time at which the abnormality occurred, and signals from the operating stages before and after that are output.7- Operation Comparison Judgment The apparatus is equipped with an operation control section that controls the mutual operations of the human body, the output sections 8 and 12, the storage section 9, and the operation setting section 10.

12はこの動作比較判定・動作制御部11より出力する
異常信号を入力して警報1表示を行なわせるための信号
を出力すると共に異常発生時刻、異常発生前後の回路要
素2,3,5.6の動作状態を記録させるための信号を
出力する出力部である。
Reference numeral 12 inputs the abnormality signal output from the operation comparison/judgment/operation control section 11 and outputs a signal for displaying alarm 1, and also indicates the abnormality occurrence time, circuit elements 2, 3, 5.6 before and after the abnormality occurrence. This is an output section that outputs a signal for recording the operating state of the device.

13はこの出力部12の出力警報信号を入力して警報を
発する警報回路、14は同じく出力表示信号を入力して
点灯表示するランプ回路、15は同じく出力記録信号入
力して異常発生時刻、異常発生前後の回路要素の動作状
態を印字するプリンタ、16はその他の記録装置である
13 is an alarm circuit that inputs the output alarm signal of this output section 12 and issues an alarm; 14 is a lamp circuit that also inputs an output display signal and lights up and displays; 15 is a lamp circuit that also inputs an output recording signal and outputs the abnormality occurrence time and abnormality. A printer 16 is another recording device that prints the operational status of the circuit elements before and after the occurrence.

〔実施例の作用〕[Effect of the embodiment]

以下その作用を説明する。本発明装置7を動作させると
、回路要素2,3,5.6の動作状態を表す信号が入力
部8に入力する。この入力部8より出力する信号と記憶
部9に記憶した信号を動作比較判定・動作制御部11に
より照合して両信号が合致す8− る動作段階を検索する。検索できたらそこを仮の監視、
異常検出開始点としてその位置を記憶して次の動作段階
で回路要素2,3,5.6の動作状態が変化し入力部8
より出力する信号が変化するのを待つ。変化したらこの
入力部8の出力信号と動作順序に従って記憶部9より出
力する信号を比較し、両信号が合致するかどうかを判断
する。もし合致しなければ、先の動作段階から今度変化
した動作段階で両信号が連続して合致する状態を検索し
、合致する部分があれば先にメモリーシた仮の監視異常
検出開始点〆を、今回合致した動作段階の先頭に再仮定
し楕。以下上記の検索動作を繰9返して両信号が動作順
序に従って連続して合致する状態を自動的に検索する。
The effect will be explained below. When the device 7 of the present invention is operated, signals representing the operating states of the circuit elements 2, 3, 5, and 6 are input to the input section 8. The signal output from the input section 8 and the signal stored in the storage section 9 are collated by the operation comparison/judgment/operation control section 11 to search for an operation stage where both signals match. If you can find it, temporarily monitor it.
The position is memorized as the abnormality detection starting point, and the operating state of the circuit elements 2, 3, 5.6 changes in the next operation stage, and the input section 8
Wait for the output signal to change. When the change occurs, the output signal from the input section 8 is compared with the signal output from the storage section 9 according to the operation order, and it is determined whether the two signals match. If they do not match, search for a state where both signals match continuously from the previous operation stage to the next operation stage, and if there is a matching part, set the temporary monitoring abnormality detection starting point that was previously stored in the memory. , re-assume the ellipse at the beginning of the action phase that matched this time. Thereafter, the above search operation is repeated nine times to automatically search for a state in which both signals match consecutively in accordance with the operation order.

例えば、回路要素2,3,5.6の動作状態が第2表の
動作段階■の時、即ち回路要素2,5.6がオフ、回路
要素3がオンで、この動作状態を表す信号がオフ、オン
、オフ、オフの信号である時に本発明装置7の動作を開
始したとすると、動作比較判定・動作制御部11は入力
部8より出力するオフ。
For example, when the operating state of circuit elements 2, 3, and 5.6 is in operating stage ■ in Table 2, that is, when circuit elements 2 and 5.6 are off and circuit element 3 is on, the signal representing this operating state is If the device 7 of the present invention starts operating when the signal is OFF, ON, OFF, OFF, the operation comparison/determination/operation control unit 11 outputs the OFF signal from the input unit 8.

オン、オフ、オフの信号と記憶部9に記憶された信号(
第2表に記した全信号)を照合して両信号が合致する動
作段階111−検索し、これを仮の監視。
On, off, off signals and signals stored in the storage unit 9 (
Operation step 111 - Search and temporarily monitor all the signals (listed in Table 2) in which both signals match.

異常検出開始点とする。次の動作段階で回路要素2.3
,5.6の動作状態が変化し入力部8の出力信号が変化
すW横つ。、回路要素5.6の動作状態がオフからオン
に変化し入力部8の出力信号がオフ、オン、オン、オン
に変化したとすると、動作比較判定・動作制御部11は
仮定した監視、異常検出開始点である動作段階■の次の
動作段階■の動作状態を記憶部9より読み出して入力部
8の出力信号と比較する。上記の如く入力部8の出力信
号がオフ、オン、オン、オンであり、記憶部9より読み
出した動作段階■の動作状態がオフ、オン。
Use as the starting point for abnormality detection. Circuit element 2.3 in the next operating stage
, 5.6 changes and the output signal of the input section 8 changes. , the operating state of the circuit element 5.6 changes from OFF to ON, and the output signal of the input section 8 changes from OFF, ON, ON, ON, the operation comparison judgment/operation control section 11 detects the assumed monitoring and abnormality. The operating state of the operating stage (2) following the operating stage (2), which is the detection start point, is read out from the storage section 9 and compared with the output signal of the input section 8. As mentioned above, the output signal of the input section 8 is OFF, ON, ON, ON, and the operating state of the operation stage (2) read from the storage section 9 is OFF, ON.

オン、オンであり連続して合致するからこの場合は仮の
監視・異常検出開始点は最初に仮定した通り動作段階■
としたま\さらに次の入力状態の変化を待つ。以上の如
くの動作をくり返して動作監視を続ける。しかし回路要
素3の動作状態のみがオンからオフに変化し入力部8の
出力信号がオンからオフの信号に変化したとすると、動
作比較判定・動作制御部11はこの入力部8より出力す
るオフ、オフ、オフ、オフの信号と動作順序に従って記
憶部9より出力する動作段階■のオフ、オン。
Since it is on and on and matches continuously, in this case, the temporary monitoring/abnormality detection starting point is the operation stage as originally assumed.
Totoma \Wait for the next input state change. The operations as described above are repeated to continue monitoring the operations. However, if only the operating state of the circuit element 3 changes from on to off and the output signal of the input section 8 changes from on to off, then the operation comparison/determination/operation control section 11 outputs an off signal from the input section 8. , OFF, ON of operation stage (3) outputted from the storage section 9 according to the OFF, OFF, OFF signals and the operation order.

オン、オンの信号を比較し、両信号が合致するかどうか
を判断する。合致しなければ先に仮定した監視・異常検
出開始点から、今回変化した入力状態に至る迄の動作状
態が連続して合致する部分が記憶部9の中の他の部分に
あるかを検索する。即ち、入力部8よシ連続して出力す
るオフ、オン。
Compare the on and on signals and determine whether the two signals match. If they do not match, a search is made to see if there is a part in the storage unit 9 in which the operating states from the previously assumed starting point of monitoring/abnormality detection to the input state that has changed continuously match. . That is, the input section 8 continuously outputs OFF and ON signals.

オフ、オフの信号及びオフ、オフ、オフ、オフの信号に
対して記憶部9より出力する信号が同じオフ、オン、オ
フ、オフの信号及びオフ、オフ、オフ、オフの信号にな
る状態があるかどうかを検索する。そして新しく合致し
た先頭の部分を新しく仮の監視・異常検出開始点とする
。以下上記の検索動作を繰り返して両信号が動作順序に
従って連続して合致する状態を検索する。
There is a state in which the signals output from the storage unit 9 in response to the off, off signal and the off, off, off, off signal become the same off, on, off, off signal and off, off, off, off signal. Search to see if it exists. Then, the first part that newly matches is set as a new temporary monitoring/abnormality detection starting point. Thereafter, the above search operation is repeated to search for a state in which both signals consecutively match according to the operation order.

回路要素2,3,5.6の動作が正常であるときは、検
索動作によって両信号が連続して合致す11− る。例えば動作段階が■から■へ移行して入力部8の出
力信号がオフ、オン、オフ、オフの信号よりオフ、オン
、オン、オンの信号に変化したとき、記憶部9の内容の
出力信号も同様に変化し両信号は合致する。このように
両信号が合致する状態が続く時は正常であって動作比較
判定・動作制御部11は信号を出力せず、両信号を動作
順序に従って比較する動作を続行してシーケンス回路の
監視を続けることになる。
When the circuit elements 2, 3, and 5.6 operate normally, the search operation causes both signals to match consecutively. For example, when the operation stage shifts from ■ to ■ and the output signal of the input section 8 changes from the off, on, off, off signal to the off, on, on, on signal, the output signal of the contents of the storage section 9 changes in the same way, and both signals match. When the state in which both signals match continues like this, it is normal, and the operation comparison/judgment/operation control section 11 does not output the signal, but continues to compare both signals in accordance with the operation order to monitor the sequence circuit. I will continue.

この実施例の場合は回路要素2,5.6がオフ。In this embodiment, circuit elements 2, 5.6 are off.

回路要素3がオンで、入力部8の出力信号がオフ。Circuit element 3 is on and the output signal of input section 8 is off.

オン、オフ、オフの信号のときは動作段階■の1箇所し
かなく、次の動作段階IVでは回路要素2がオフ、回路
要素3,5.6がオンで、入力部8の出力信号がオフ、
オン、オン、オンの信号となる筈である。従って動作段
階■から■に移行したとき、回路要素3,5のみがオン
で入力部8の出力信号がオフ、オン、オン、オフの信号
になった1工うな場合は他に連続して同様の変化をする
部分が記憶部9の中にないことより異常と判定して動作
比較12− 判定・動作制御部11より異常信号及び異常発生時刻、
その前後の動作段階■及び入力部8の入力信号を記録さ
せるための信号を出力する。
When the signal is on, off, and off, there is only one operation stage ■, and in the next operation stage IV, circuit element 2 is off, circuit elements 3 and 5.6 are on, and the output signal of input section 8 is off. ,
It should be an on, on, on signal. Therefore, when transitioning from operation stage ■ to ■, only circuit elements 3 and 5 are on and the output signal of input section 8 becomes an off, on, on, off signal. Since there is no part that changes in the storage unit 9, it is determined that it is abnormal, and the operation comparison 12- determines the abnormality signal and the abnormality occurrence time from the determination and operation control unit 11.
It outputs a signal for recording the operation step (1) before and after that and the input signal of the input section 8.

警報回路13及びランプ回路14はそれぞれ異常信号を
入力して警報を発し1点灯表示を行なう。またプリンタ
15に記録信号を入力して異常発生時刻。
The alarm circuit 13 and the lamp circuit 14 each receive an abnormality signal, issue an alarm, and display a one-light display. In addition, a recording signal is input to the printer 15 to record the time when the abnormality occurred.

異常発生前後の回路要素2,3,5.6の動作状態を印
字し記録する。またその他の記録装置16によって同様
に記録することもできる。
The operational states of circuit elements 2, 3, 5.6 before and after the occurrence of an abnormality are printed and recorded. Further, other recording devices 16 can also record in the same manner.

なお本発明では記憶部9に複数個の回路要素の動作状態
を記憶する動作段階数(ステップ数)は監視の目的ある
いは動作状態の変化が多いか少ないかによって決定する
。また、実施例のようにデジタル信号を記憶しておき、
デジタル入力を対象に監視して異常検出を行なう場合の
みに限らず、圧力、温度、電圧、電流、距離等のアナロ
グ信号を記憶しておき、アナログ入力を対象に監視して
異常検出を行なう場合にも適用できる。
In the present invention, the number of operation stages (step number) for storing the operation states of a plurality of circuit elements in the storage section 9 is determined depending on the purpose of monitoring or whether there are many or few changes in the operation states. In addition, as in the embodiment, a digital signal is stored,
Not only when detecting abnormalities by monitoring digital inputs, but also when storing analog signals such as pressure, temperature, voltage, current, distance, etc., and detecting abnormalities by monitoring analog inputs. It can also be applied to

〔発明の効果〕〔Effect of the invention〕

上述の説明よシ明らかなように本発明によれば、シーケ
ンス回路を構成する全回路要素2 、3 、3.。
As is clear from the above description, according to the present invention, all the circuit elements 2, 3, 3 . .

4,4a 、4b、5,5a 、6またはそのうちの複
数個の回路要素2,3,5.6の動作状態を表す信号を
動作順序に従って入力して順次出力する入力部8と、予
め前記全回路要素または複数個の回路要素の動作状態を
表す信号及び動作順序を表す信号を記憶した記憶部9と
、前記入力部8より出力する信号を入力し、この信号を
この記憶部9に記憶した信号と照合して両信号が動作順
序に従って連続して合致する状態を検索し、両信号が合
致する状態が続く時は正常と判定してシーケンス回路の
監視を続行し9両信号が連続して合致する部分がなくな
った動作段階で異常信号及びその前後の動作段階での信
号を出力する動作比較判定・動作制御部11と、この動
作比較判定・動作制御部11より出力する異常信号を入
力して警報1表示を行なわせるための信号を出力すると
共に異常発生前後の動作段階での信号を入力して異常発
生前後の回路要素の動作状態を記録させるための信号を
出力する出力部12とよりなるので、全回路要素または
複数個の回路要素の動作状態が変化する度毎にその動作
状態を表す信号を記憶部9に記憶した動作状態を表す信
号と比較してシーケンス回路を常に監視し、両信号が動
作順序に従って連続的に合致した場合はシーケンス回路
が正常と判定して回路の監視を続行することができ、両
信号が合致しなくなった時には異常と判定して警報1表
示を行なわせると共に異常発生時刻、異常発生前後の回
路要素の動作状態を記録させることができるから、異常
原因の解明のための労力と時間を大幅に短縮できるばか
りでなく、シーケンス回路の異常検出をどの動作段階か
ら開始しても自己判断して監視、異常検出ができる等の
効果を奏する。
4, 4a, 4b, 5, 5a, 6 or a plurality of circuit elements 2, 3, 5.6. A storage unit 9 that stores signals representing the operating state and operation order of the circuit element or a plurality of circuit elements, and a signal output from the input unit 8 is inputted, and this signal is stored in the storage unit 9. It compares the signals and searches for a state in which both signals match consecutively according to the operating order, and when the state in which both signals match continues, it is determined to be normal and the sequence circuit continues to be monitored. An operation comparison/determination/operation control section 11 that outputs an abnormal signal at an operation stage where no matching part exists and a signal at the operation stages before and after that, and an abnormal signal output from this operation comparison/judgment/operation control section 11 are input. an output section 12 which outputs a signal for displaying an alarm 1 at the time of occurrence of the abnormality, inputs signals at the operating stages before and after the occurrence of the abnormality, and outputs a signal for recording the operating state of the circuit element before and after the occurrence of the abnormality; Therefore, every time the operating state of all or a plurality of circuit elements changes, the sequence circuit is constantly monitored by comparing a signal representing the operating state with a signal representing the operating state stored in the storage section 9, If both signals match continuously according to the operating order, the sequence circuit is determined to be normal and circuit monitoring can be continued; when both signals no longer match, it is determined to be abnormal and alarm 1 is displayed. At the same time, it is possible to record the time of abnormality occurrence and the operating status of circuit elements before and after the abnormality occurs, which not only greatly reduces the effort and time required to clarify the cause of the abnormality, but also allows the detection of abnormalities in sequence circuits to be performed at any operating stage. Even if you start from scratch, you can self-judge and monitor and detect abnormalities.

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

第1図は本発明の対象となるシーケンス回路ノー例を示
す接続図、第2図はその動作説明用タイムチャート、第
3図は本発明装置の一実施例の構成を示すブロック線図
である。 2・・・・・・入力接点、3・・・・・・リレー、3i
1・・・・・・常開接点、 4・・・・・・第1タイマ
、 4..4b・・−・・・常−1り− 開接点、 5・・・・・・第2タイマ、5a・・・・・
・常閉接点、 6・・・・・・電磁弁、 7・・・・・
・本発明装置、 8・・・・・・入力部、 9・・・・
・・記憶部、10・・・・・・動作設定部、11・・・
・・・動作比較判定・動作制御部、12・・・・・・出
力部、13・・・・・・警報回路、14・・・・・・ラ
ンプ回路、15・・・・・・プリンタ、16・・・・・
・その他の記録装置。 16− 箋1目 秦2目 III IVVI
FIG. 1 is a connection diagram showing an example of a sequence circuit to which the present invention is applied, FIG. 2 is a time chart for explaining its operation, and FIG. 3 is a block diagram showing the configuration of an embodiment of the device of the present invention. . 2...Input contact, 3...Relay, 3i
1... Normally open contact, 4... First timer, 4. .. 4b... Normally-1-open contact, 5... Second timer, 5a...
・Normally closed contact, 6...Solenoid valve, 7...
- Device of the present invention, 8... Input section, 9...
...Storage section, 10...Operation setting section, 11...
...Operation comparison/judgment/operation control unit, 12...Output section, 13...Alarm circuit, 14...Lamp circuit, 15...Printer, 16...
・Other recording devices. 16- Note 1 Qin 2nd III IVVI

Claims (1)

【特許請求の範囲】[Claims] シーケンス回路を構成する回路要素の動作状態を表す所
定の信号を入力して順次出力する入力部と、予め前記回
路要素の動作状態を表す信号及び動作順序を表す信号を
記憶した記憶部と、前記入力部より出力する信号を入力
し、この信号をこの記憶部に記憶した信号と照合して合
致する状態を検索し1両信号が合致する時は正常と判定
してシーケンス回路の監視を続行し2両信号が合致しな
いとき、あるいは、入力信号が記憶部の動作順序に従っ
て連続しないときはその動作順序に従った信号を検索し
てなお両信号が合致しないときは異常信号を出力する動
作比較判定・動作制御部とよりなるシーケンス回路の動
作異常検出装置。
an input section that inputs and sequentially outputs predetermined signals representing the operating states of circuit elements constituting the sequence circuit; a storage section that stores in advance signals representing the operating states and operating orders of the circuit elements; Inputs the signal output from the input section, compares this signal with the signal stored in this storage section, searches for a matching state, and when both signals match, it is determined to be normal and continues monitoring the sequence circuit. When the two signals do not match, or when the input signals are not consecutive according to the operating order of the storage unit, a signal according to the operating order is searched for, and if both signals still do not match, an operation comparison judgment is performed that outputs an abnormal signal.・An operation abnormality detection device for a sequence circuit consisting of an operation control section.
JP59094312A 1984-05-11 1984-05-11 Device for detecting abnormal operation of sequence circuit Pending JPS60238906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59094312A JPS60238906A (en) 1984-05-11 1984-05-11 Device for detecting abnormal operation of sequence circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59094312A JPS60238906A (en) 1984-05-11 1984-05-11 Device for detecting abnormal operation of sequence circuit

Publications (1)

Publication Number Publication Date
JPS60238906A true JPS60238906A (en) 1985-11-27

Family

ID=14106755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59094312A Pending JPS60238906A (en) 1984-05-11 1984-05-11 Device for detecting abnormal operation of sequence circuit

Country Status (1)

Country Link
JP (1) JPS60238906A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0312991A2 (en) * 1987-10-19 1989-04-26 Fuji Photo Film Co., Ltd. Method of sequential monitoring and system thereof
US4947349A (en) * 1987-05-25 1990-08-07 Mazda Motor Corporation Monitoring systems in sequential program control arrangements
JPH1138064A (en) * 1997-07-16 1999-02-12 Mitsubishi Denki Bill Techno Service Kk Supervising device for sequence control circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4947349A (en) * 1987-05-25 1990-08-07 Mazda Motor Corporation Monitoring systems in sequential program control arrangements
EP0312991A2 (en) * 1987-10-19 1989-04-26 Fuji Photo Film Co., Ltd. Method of sequential monitoring and system thereof
JPH1138064A (en) * 1997-07-16 1999-02-12 Mitsubishi Denki Bill Techno Service Kk Supervising device for sequence control circuit

Similar Documents

Publication Publication Date Title
JPH11146572A (en) Uninterrupted power supply system, backup object device used for the system and record medium in which program for making computer operate as the backup object device are recorded
JPS60238906A (en) Device for detecting abnormal operation of sequence circuit
JP2005115426A (en) Anomaly recovery support apparatus and anomaly recovery support system
JPH03135604A (en) Annunciator for state change of control signal and controller with the annunciator
JPS6346508A (en) Sequence controller
US5329273A (en) System controller and remote fault annunciator with cooperative storage, sharing, and presentation of fault data
JPS63257802A (en) Device for diagnosing failure of external apparatus for programmable controller
JP2001306140A (en) Abnormality detection system
JPH0577143A (en) Failure diagnosis device for automated line
JPH02161365A (en) Switch opening/closing state monitoring device
JPH1155845A (en) Digital protective relay device
JPH06102927A (en) Diagnostic system for sequence control circuit
JPH04155544A (en) Log processing system
SU1501059A1 (en) Device for monitoring control unit
JP2842766B2 (en) Information processing system
JPH0756960A (en) Facility equipment usage history collection device
SU1649544A2 (en) Digital units controller
JPH0399227A (en) System testing method
JPS63223808A (en) Trouble diagnosing device
JPH0543066B2 (en)
JPS63211953A (en) System state display system in electronic exchange
JPS63210583A (en) Automatic controller for refrigerator
JPH06187583A (en) Method for detecting warning sensors for burglar prevention and disaster protection or the like
JPS6321401B2 (en)
Minish Safety and Security Considerations in the Application of Programmable Controllers