JPH01276206A - Monitoring device for sequence program control system - Google Patents

Monitoring device for sequence program control system

Info

Publication number
JPH01276206A
JPH01276206A JP63106018A JP10601888A JPH01276206A JP H01276206 A JPH01276206 A JP H01276206A JP 63106018 A JP63106018 A JP 63106018A JP 10601888 A JP10601888 A JP 10601888A JP H01276206 A JPH01276206 A JP H01276206A
Authority
JP
Japan
Prior art keywords
pattern
monitoring
control
change
sequence program
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.)
Granted
Application number
JP63106018A
Other languages
Japanese (ja)
Other versions
JP2737878B2 (en
Inventor
Yukio Munenaga
宗永 幸雄
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor 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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP63106018A priority Critical patent/JP2737878B2/en
Publication of JPH01276206A publication Critical patent/JPH01276206A/en
Application granted granted Critical
Publication of JP2737878B2 publication Critical patent/JP2737878B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

PURPOSE:To prevent a misdiagnosis due to the realization sequence non- specification of AND conditions by comparing a real operation pattern with a storage pattern in each step to advance from a non-coincidence step at the time of obtaining the non-coincidence pattern and continuing a monitoring in making the coincidence step into the monitoring step of a normal pattern storing part when the patterns coincide. CONSTITUTION:First, an operation facility 1 is operated, the real operation patterns of respective control elements are successively monitored, and at the time of the pattern non-coincidence, whether the storage pattern to coincide with each step to advance before the non-coincidence step exists or not is checked. When the storage pattern to coincide exists, the monitoring of the operation pattern is continued from the step in making the step to have the storage pattern into the monitoring step to which the operation pattern at a present time in a normal pattern storing part 17 corresponds. Thus, an abnormality alarm to accompany the action stop of the facility is not generated, and the monitoring of a control condition can be continued.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、シーケンスプログラム制御系のモニタ装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a monitor device for a sequence program control system.

(従来の技術) 制御すべき所定制御設備の動作ノーケンスを指定したシ
ーケンスプログラムを組み、このシーケンスプログラム
に従って当該制御の各段階の動作を逐次進めていくよう
にしたシーケンスプログラム制御は既に知られており、
例えば各種機械装置の組立ラインや工作機械において、
前段階の動作に応じて次段階の動作を自動的かつ連続的
に行なわせるために多く利用されている。
(Prior Art) Sequence program control is already known, in which a sequence program is created that specifies the operation sequence of a predetermined control equipment to be controlled, and the operation of each stage of the control is sequentially advanced according to this sequence program. ,
For example, in assembly lines of various mechanical devices and machine tools,
It is often used to automatically and continuously perform the next stage of action in response to the previous stage of action.

ところで、このシーケンスプログラム制御において、そ
の制御が正常に行なわれている否かを時間監視、つまり
ノーケンスモニタする場合、当該制御設備の動作を制御
する上記シーケンスプログラムの中に更にこのモニタリ
ングのための別プログラムを組み込み、異常時に警報を
行なわせるように構成したものがある。しかし、このよ
うな構成では、設備の変更の都度、必ず設備の動作制御
用とモニタ用の両プログラムを変更する必要があり、ま
た、このように動作制御用とモニタ用との2つのプログ
ラムが必要であるために全体のプログラム容量が肥大化
する欠点がある。
By the way, in this sequence program control, when time monitoring, that is, no-kense monitoring, is performed to see whether the control is being performed normally, the above sequence program that controls the operation of the control equipment is further provided with a function for this monitoring. Some devices are configured to incorporate a separate program and issue a warning in the event of an abnormality. However, in such a configuration, it is necessary to change both the operation control and monitoring programs of the equipment each time the equipment is changed. Since this is necessary, there is a drawback that the overall program capacity becomes large.

そこで、最近では、上記のような欠点のないものとして
特にプレイバック式のノーケンスモニタ装置が多く使用
されるようになってきている。この装置は、予め設備を
正常に動作させた際のノーケンス制御回路の各構成要素
の作動パターンを順次所定のメモリに記憶させておき、
設備の実際の稼動時の作動パターンが上記予め記憶して
いた基準作動パターンと一致しているか否かを順次照合
していき、それらが不一致のときに異常の警報を発する
ようにしたものである。これに関し、例えば特開昭60
−238906号公報には、該プレイバック式のノーケ
ンスモニタ装置において、上記作動パターンの不一致が
連続して生ずるようなときには異常と判定し、当該異常
発生前後の作動パターンを記憶して異常原因の解明を容
易にするという技術的思想のものが記載されている。
Therefore, recently, playback type no-kense monitor devices, which do not have the above-mentioned drawbacks, have come into widespread use. This device sequentially stores in a predetermined memory the operation patterns of each component of the Noken control circuit when the equipment is operated normally, and
This system sequentially checks whether the operating pattern during actual operation of the equipment matches the pre-stored standard operating pattern, and issues an abnormality alarm when they do not match. . Regarding this, for example, JP-A-60
Publication No. 238906 states that in the playback type no-kense monitor device, when the above-mentioned operation pattern mismatch occurs continuously, it is determined to be an abnormality, and the operation patterns before and after the occurrence of the abnormality are stored and the cause of the abnormality is determined. The technical idea is to make the explanation easier.

ところで、上記のようなプレイバック式シーケンスモニ
タ装置においては、先ず不一致パターンが得られた場合
、原則としてその中の不一致の制御要素のすへてか異常
と判定されるが、通常真の異常要素は本来その中のいく
つか(大抵の場合は1つ)であり、他のらのは真の異常
要素が発生した結果、それが原因となって連鎖的に異常
と判定されていることが多い。
By the way, in the playback type sequence monitor device as described above, when a mismatch pattern is obtained, in principle, it is determined that the mismatched control element among them is abnormal, but usually the true abnormal element is determined to be abnormal. are originally some of them (in most cases, only one), and others are often determined to be abnormal as a result of the occurrence of a true abnormal element, which causes a chain reaction. .

すなわち、上記プレイバック式シーケンスモニタ装置の
場合、設備側の作動パターンに所定の遷移(I10変化
)がある都度、上記基準となる記憶パターン側のステッ
プを前進させて照合するから、異常要素が発生した場合
、結局そのこと自体により作動パターンの遷移を招いて
上記記憶パターンのステップが前進し、本来変化すべき
制御要素がこの前進したステップの記憶パターンとの照
合の結果は、変化していないために異常と判定されてし
まうことがある。従って、上記のようなプレイバック式
シーケンスモニタ装置において複数の制御要素について
異常が指摘された場合、そのすべてについて真の異常が
あるか否かを更に点検していく必要が生ずることになる
。しかし、これでは到底実用に耐え得ない。
In other words, in the case of the playback type sequence monitor device described above, each time there is a predetermined transition (I10 change) in the operation pattern on the equipment side, the step on the memory pattern side that serves as the reference is advanced and compared, so an abnormal element occurs. In this case, this itself eventually causes a transition of the operation pattern and the step of the memory pattern moves forward, and the result of comparing the control element that should have changed with the memory pattern of this advanced step is that it has not changed. may be determined to be abnormal. Therefore, when an abnormality is pointed out in a plurality of control elements in the playback type sequence monitor device as described above, it becomes necessary to further check whether or not there is a true abnormality in all of them. However, this cannot be put to practical use at all.

そこで、上記のような問題点を解決する手段として、例
えば上記シーケンスプログラム制御系を構成する各制御
系要素の作動状態の変化を検出する作動状態変化検出部
と、当該制御設備の正常動作時における各制御要素の作
動パターンをそのパターンが変化する各ステップ毎に記
憶する正常パターン記憶部と、上記作動状態変化検出部
での検出により得られる実際の作動パターンと正常パタ
ーン記憶部の記憶作動パターンとを比較する作動パター
ン比較部と、制御状聾を診断する制御状態診断処理部と
を備えさせてプレイバック式シーケンスモニターを構成
する一方、上記制御状態診断処理部を、上記作動パター
ンが対応するステップの上記記憶パターンと一致するか
否かを判定する一致判定部と、この一致判定部からの不
一致の判定を受けて当該不一致の制御要素を上記対応す
るステップの前ステップの記憶パターンのものと比較す
る比較制御部と、上記前ステップのものとの比較により
上記対応するステップでは変化すべきでないのに変化し
ている不一致の要素を優先的に異常と判定する優先異常
判定部とによって構成することが考えられる。
Therefore, as a means to solve the above-mentioned problems, for example, an operating state change detection unit that detects changes in the operating state of each control system element constituting the above sequence program control system, and a normal pattern storage section that stores the operating pattern of each control element for each step in which the pattern changes; an actual operating pattern obtained by detection by the operating state change detection section; and a stored operating pattern in the normal pattern storage section. A playback sequence monitor is constructed by comprising an operation pattern comparison section that compares the operation patterns, and a control state diagnosis processing section that diagnoses the control state deafness. a match determining unit that determines whether or not the stored pattern matches the above-mentioned stored pattern; and upon receiving a non-matching determination from the matching determining unit, the unmatched control element is compared with that of the stored pattern of the previous step of the corresponding step. and a priority abnormality determination unit that preferentially determines as an abnormality a mismatched element that has changed even though it should not have changed in the corresponding step by comparing it with that of the previous step. is possible.

このような構成のプレイバック式シーケンスモニタ装置
においては、先ず上記作動パターンの比較から不一致要
素が指摘された場合、面ステップの記憶パターンとの比
較により、当該不一致要素は本来変化すべきなのに変化
していないために不一致となった要素か、それとも本来
変化すべきでないのに変化したために不一致となった要
素がか点検される、つまりバックチエツクされることに
なる。前者の実際には変化していない不一致要素は作動
パターンの遷移を招かないものであるため、後者は実際
に変化している不一致要素が生じた結果、連鎖的に不一
致と判定指摘されたものであり、従って後者の不一致要
素こそが真の異常要素であるということが判明すること
になる。
In a playback sequence monitor device having such a configuration, when an inconsistency element is first pointed out from the comparison of the above-mentioned operation patterns, a comparison with the memory pattern of the surface step determines that the inconsistency element has changed even though it should have changed. Elements that are inconsistent because they have not changed, or elements that are inconsistent because they have changed when they should not have been changed are checked, that is, back-checked. In the former case, the inconsistency element that has not actually changed does not cause a transition in the operating pattern, so in the latter case, the inconsistency element that has actually changed has occurred, resulting in a chain reaction of inconsistency. Therefore, it turns out that the latter inconsistent element is the true abnormal element.

従って、このような構成にすれば、上記作動パターンの
比較により不一致が指摘された際に、更にそれを前ステ
ップの記憶パターンとも比較して本来変化すべきでない
のに変化して不一致となった要素を見い出すようにして
いるため、先に述べたような複数の不一致要素が得られ
た場合にも比較的容易に真の異常要素を知ることができ
、シーケンスモニタ装置における診断精度の向上が図れ
ることになる。
Therefore, with such a configuration, when a discrepancy is pointed out by comparing the above-mentioned operation patterns, it is further compared with the memory pattern of the previous step, and even though it should not change, it changes and becomes a discrepancy. Since the element is detected, even if multiple mismatching elements are obtained as mentioned above, the true abnormal element can be found relatively easily, and the diagnostic accuracy of the sequence monitor device can be improved. It turns out.

(発明が解決しようとする問題点) ところで、上述のようなシーケンスプログラム系の作動
設備では、例えば第4図のシステムに示すように一般に
自己保持回路を有して構成されていることが多い。第4
図のシステムの場合、ひとつのメインとなる自動ヒルト
アップステーソヨン部100と該自動化ビルトアップス
テーンヨン部100をコンベヤーシステム200を介し
てマニュアル作業によるサブアツシーステーション30
0と組合せて設備構成したものであって、上記自動化ビ
ルドアップステーション部+00での作業か完了すると
、次にコンベヤーシステム200が起動されてサブアツ
シーステーション300にワーク500が移送され、サ
ブアツシーステーション300が作動するようになって
いる。そして、上記の場合において、上記コンベヤー2
00の起動は、先ず上記自動化ビルトアップステーショ
ン部での組立作業完了I10信号とサブアツシーステー
ション300での前作業完了によるサブアラン−完了ボ
タン(自己保持回路を有している)400のONとの2
つの条件の論理積の成立で行イっれるようになっている
(Problems to be Solved by the Invention) Incidentally, the above-mentioned sequence program operating equipment is generally configured with a self-holding circuit, as shown in the system shown in FIG. 4, for example. Fourth
In the case of the system shown in the figure, one main automatic lift-up station section 100 and the automated built-up station section 100 are transferred via a conveyor system 200 to a subassembly station 30 by manual operation.
When the work at the automated build-up station section +00 is completed, the conveyor system 200 is started and the workpiece 500 is transferred to the subassembly station 300, and the workpiece 500 is transferred to the subassembly station 300. Station 300 is now operational. In the above case, the conveyor 2
00 is activated by first turning on the assembly work completion I10 signal at the automated build-up station and the turning on of the sub-Alan-complete button (having a self-holding circuit) 400 due to the completion of the previous work at the sub-assembly station 300. 2
This can be done by establishing the logical product of two conditions.

しかし、該論理積条件の内、自動化ビルドアップステー
ション部100での作業の完了とサブアツシーステーシ
ョン300での作業の完了は、本来何れが先に終わるか
は分らない。従って、次のように必ず2組の組合せ状態
(I 10パターン)が生じる。
However, among the logical product conditions, it is not known which of the tasks at the automated build-up station section 100 and the subassembly station 300 will be completed first. Therefore, two sets of combination states (I10 pattern) always occur as follows.

[1]  自動化ビルドアップステーション部100で
の作業が先に完了した場合 (※サブアツシー完了ボタン400を押すと同時にコン
ベヤー200が起動される。)[2コ サブアツシース
テーションで作業が先に完了した場合 (※サブアツシー完了ボタン400は自己保持され、自
動化ビルドアップステーションの作業完了I10出力で
コンベヤー200が起動される。)このように、システ
ムの制御要素中に自己保持回路を有するものがあると、
結局I10出力の遷移パターンの多様化を1召き、上述
のようなプレイバック式のシーケンスモニタでは、正確
な異常判定を行うことが不可能となる(例えば、上記の
例で言うと、ステップ(イ)、ステップ(ニ)の比較判
定以後には全く一致パターンを見出し得ない)。
[1] When the work at the automated build-up station section 100 is completed first (*The conveyor 200 is started at the same time as the subassembly completion button 400 is pressed.) [2] When the work is completed first at the subassembly station (*The subassembly completion button 400 is self-held, and the conveyor 200 is activated by the work completion I10 output of the automated build-up station.) In this way, if some of the system control elements have a self-holding circuit,
In the end, the transition pattern of the I10 output becomes more diverse, and with the playback sequence monitor as described above, it becomes impossible to make accurate abnormality judgments (for example, in the above example, the step ( (b), no matching pattern can be found after the comparison judgment in step (d)).

(問題点を解決するための手段) 本発明は上記の問題を解決することを目的としてなされ
たものであって、所定作動設備の制御動作順序を指定し
たシーケンスプログラムにより当該制御動作の各ステッ
プを逐次指示通り進めて行くシーケンスプログラム制御
系において、当該シーケンスプログラム制御系を構成す
る各種制御要素の作動状態の変化と当該各制御要素の上
記自己保持用内部リレーの作動状態の変化とを各々検出
する作動状態変化検出部と、上記作動設備の正常動作時
に於ける上記各種制御要素の作動状態の変化を表す作動
パターンをその作動パターンが変化する上記各ステップ
毎に記憶している正常パターン記憶部と、上記作動状態
変化検出部で検出される上記各種制御要素の実際の作動
パターンとそれら制御要素の上記正常パターン記憶部で
記憶されている当該ステップの正常パターン記憶部とを
比較する作動パターン比較部と、該作動パターン比較部
での比較により上記正常記憶パターンと実際の作動パタ
ーンとの不一致の有無を監視して制御状態の異常診断を
行う異常診断処理部とを設けてなるものである。
(Means for Solving the Problems) The present invention has been made for the purpose of solving the above problems, and each step of the control operation is performed by a sequence program that specifies the order of control operations for predetermined operating equipment. In a sequence program control system that proceeds sequentially according to instructions, changes in the operating state of various control elements constituting the sequence program control system and changes in the operating state of the self-holding internal relay of each control element are detected respectively. an operating state change detection section; a normal pattern storage section that stores an operating pattern representing a change in the operating state of the various control elements during normal operation of the operating equipment for each step in which the operating pattern changes; , an operation pattern comparison section that compares the actual operation patterns of the various control elements detected by the operation state change detection section and the normal pattern storage section of the relevant step stored in the normal pattern storage section of those control elements; and an abnormality diagnosis processing section for diagnosing an abnormality in the control state by monitoring whether or not there is a mismatch between the normal stored pattern and the actual operation pattern through comparison in the operation pattern comparison section.

(作 用) 上記本発明の構成では、先ず作動設備を稼動させて各制
御要素の実際の作動パターンを順次モニタしていき、パ
ターン不一致のときその不一致ステップよりも先に前進
した各ステップに一致する記憶パターンがあるか否かチ
エツクする。一致する記憶パターンがあれば、その記憶
パターンがあるステップを正常パターン記憶部における
現時点の作動パターンが対応する監視ステップとしてそ
のステップから作動パターンの監視を継続する。
(Function) In the configuration of the present invention described above, the operating equipment is first operated to sequentially monitor the actual operating pattern of each control element, and when the patterns do not match, each step advanced before the mismatched step is matched. Check to see if there is a memory pattern. If there is a matching stored pattern, the step with that stored pattern is treated as the monitoring step to which the current operating pattern in the normal pattern storage section corresponds, and monitoring of the operating pattern is continued from that step.

つまり、この場合は、正常パターン記憶部での記憶では
複数の要素の作動状態が例えばオン・オフを繰り返しな
がら順次変化しているのに対し、実際には複数が同時に
変化したか、異なる順序で変化して前進ステップに一致
する記憶パターンがあったことになる。従って、論理積
(A N D )条件について考えれば、その成立順序
が単に記憶のものと相違するだけで、設備としては問題
のない作動パターンであるから、設備の動作停止を伴う
ような異常警報を発することなく、制御状態のモニタを
継続することができる。
In other words, in this case, in the memory in the normal pattern storage unit, the operating states of multiple elements change sequentially, for example, by repeatedly turning on and off, whereas in reality, multiple elements change at the same time or in different orders. There was a memory pattern that changed and matched the forward step. Therefore, if we consider the logical product (A N D) condition, the order in which it is established is simply different from the one in memory, and this is an operation pattern that poses no problem for the equipment. It is possible to continue monitoring the control state without issuing a warning.

また、上記前進した各ステップに作動パターンが一致す
る記憶パターンがない場合は、正常パターン記憶部にお
ける監視ステップの変更を行なうことなく、次の作動パ
ターンの遷移を持つことになる。この遷移があれば、論
理積条件の成立についてみるとき、単に記憶していたも
のと異なる成立順序であって設備の方はその状態が変化
し現時点では問題なしとして、・先の場合と同様に対応
する監視ステップあるいはその前進ステップの記憶パタ
ーンとの一致・不一致をみることができる。
Further, if there is no stored pattern whose operation pattern matches each of the steps advanced above, the next operation pattern transition is made without changing the monitoring step in the normal pattern storage section. If there is this transition, when looking at the establishment of the logical product condition, it is simply assumed that the order of establishment is different from what was remembered, the state of the equipment has changed, and there is no problem at the moment, ・Similar to the previous case It is possible to see whether the pattern matches the memory pattern of the corresponding monitoring step or its forward step.

なお、上記遷移がなければ、異常として当初の作動パタ
ーン不一致の原因となった制御要素、あるいはその後の
前進ステップでの不一致の原因となった制御要素から異
常原因の診断を行なうことができる。
Note that if there is no such transition, the cause of the abnormality can be diagnosed from the control element that caused the initial mismatch in the operation patterns as an abnormality, or the control element that caused the mismatch in the subsequent forward step.

(発明の効果) 従って、上記本発明の構成によれば、先に述べたような
プレイバック式のノーケンスモニタ装置において不一致
パターンが得られたとき実際の作動パターンをその不一
致ステップから前進した各ステップの記憶パターンと比
較し、パターンが一致すればその一致ステップを正常パ
ターン記憶部の監視ステップとして監視を継続するよう
にしたから、論理積条件の成立によって制御が進行する
場合において、モニタ装置の診断精度を低下させること
なく上記論理積条件の成立順序不同による誤診断を防止
することができることはもとより自己保持回路によって
不一致パターンの遷移が多様化した場合にも従来のよう
な誤動作を避けることができ、その信頼性の向上が図れ
る。
(Effects of the Invention) Therefore, according to the above configuration of the present invention, when a mismatch pattern is obtained in the playback type no-kense monitor device as described above, the actual operation pattern is The step is compared with the stored pattern, and if the pattern matches, the matching step is considered as a monitoring step in the normal pattern storage unit and monitoring is continued, so when the control progresses due to the establishment of the logical product condition, the monitoring device's In addition to being able to prevent erroneous diagnoses due to the order in which the above logical product conditions are met without reducing diagnostic accuracy, the self-holding circuit also prevents malfunctions like conventional ones even when the transitions of mismatched patterns become diverse. It is possible to improve the reliability.

(実施例) 以下、本発明の実施例を図面に基いて詳細に説明する。(Example) Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図には同実施例のシーケンスプログラム制御系にお
けるモニタ装置の全体構成が示されている。
FIG. 1 shows the overall configuration of a monitor device in the sequence program control system of the same embodiment.

同図において、符号lはその動作をノーケンノヤルに制
御すべき所定の作動設備であり、この設備Iの制御系は
当該設備lの状態を検出する度数の検出要素(例えばリ
ミットスイッチ)と、この複数の検出要素がすべての特
定の作動状態になったとき、つまりAND条件が成立し
たときに動作する出力要素(例えばノリンダ装置)とを
備える。
In the figure, reference numeral l indicates a predetermined operating equipment whose operation should be controlled seamlessly, and the control system of this equipment I includes a frequency detection element (for example, a limit switch) for detecting the state of the equipment l, and a plurality of and an output element (for example, a Norinda device) that operates when all of the detection elements are in a specific operating state, that is, when an AND condition is established.

第2図には上記設備1の一例(穿孔機)が示されている
。この例において、ドリル2を備える作業ヘッド3は出
力要素としてのンリンダ装置4で昇降するようになって
いる。そして、このシリンダ装置4は、安全マット5上
に作業者が存在しないことを検出する第1のリミットス
イッチ(LSI)6、テーブル7上での位置決めシリン
ダ装置8゜9によるワークIOの位置決めを検出する第
2、第3のリミットスイッチ(L S 2)I I 、
(L S 3)12が共にオンのとき、作業ヘッド3を
下降せしめて穿孔作業を行なうようになっている。
FIG. 2 shows an example of the equipment 1 (boring machine). In this example, a working head 3 with a drill 2 is raised and lowered by means of a rolling device 4 as an output element. This cylinder device 4 detects the positioning of the workpiece IO by the first limit switch (LSI) 6 which detects the absence of a worker on the safety mat 5 and the positioning cylinder device 8°9 on the table 7. The second and third limit switches (L S 2) I I ,
When both (LS3) and 12 are on, the working head 3 is lowered to perform the drilling operation.

ところで、上記第1図のシーケンスモニタ装置において
、符号15は上記各制御要素の作動状態を表わす人出力
信号(INloUT)を入力する■10状態人力部、符
号16は同I10状態入力部I5からの出力により上記
各110状態の変化、つまり全要素の作動パターンの遷
移を検出する作動変化検出部、I7は正常パターン記憶
部である。
By the way, in the sequence monitor device shown in FIG. 1, reference numeral 15 is a 10-state manual input section into which a human output signal (INloUT) representing the operating state of each of the control elements is input, and 16 is an I10 state input section I5. I7 is a normal pattern storage unit, which is an operation change detection unit that detects a change in each of the above 110 states, that is, a transition in the operation pattern of all elements, based on the output.

この正常パターン記憶部17は、上述の設備lに予め正
常な動作を行なわしめ、そのときの作動パターンをその
パターンが遷移する(少なくとも1の要素のI10状態
が変化する)各ステップ毎に基準パターンとして記憶せ
しめたものである。
This normal pattern storage unit 17 causes the above-mentioned equipment l to perform a normal operation in advance, and stores a reference pattern for each step in which the operation pattern changes (the I10 state of at least one element changes). This is what I remembered as.

また、符号18は上記作動変化検出部16により得られ
る実際の作動パターンと、上記正常パターン記憶部17
から得られる基準記憶パターンとを比較する比較部であ
り、比較すべき基準記憶パターンは比較実行制御部から
の指令に基いて比較対象抽出部20で抽出され、またそ
の比較結果は異常状態診断処理部21に与えられて現実
の作動パターンと上記基準となる正しい記憶パターンと
の不一致の有無が監視され、診断結果は診断結果出力部
22と上記比較実行制御部19に与えるようになってい
る。
Further, reference numeral 18 indicates the actual operation pattern obtained by the operation change detection section 16 and the normal pattern storage section 17.
The reference memory pattern to be compared is extracted by the comparison target extraction unit 20 based on a command from the comparison execution control unit, and the comparison result is subjected to abnormal state diagnosis processing. The presence or absence of mismatch between the actual operating pattern and the correct memory pattern serving as the reference is monitored, and the diagnosis result is provided to the diagnosis result output section 22 and the comparison execution control section 19.

そして、該比較実行制御部19は以下の機能を有して構
成されている。
The comparison execution control section 19 is configured to have the following functions.

(1)  先ず上記作動変化検出部16により上記■1
0状態の変化が検出されて上述した制御のステップが移
行する都度、比較対象抽出部20に対し正常パターン記
憶部17における対応する監視ステップの記憶パターン
を抽出せしめ、比較部18に比較実行指令を与える。
(1) First, the operation change detection section 16 detects the above
Each time a change in the 0 state is detected and the above-mentioned control step shifts, the comparison target extraction unit 20 is caused to extract the memory pattern of the corresponding monitoring step in the normal pattern storage unit 17, and a comparison execution command is issued to the comparison unit 18. give.

(2)次に上記診断処理部21で作動パターンの不一致
が検出されると、上記比較対象抽出部20に対し上記正
常パターン記憶部17から当該不一致が生じた監視ステ
ップの次のステップの記憶パターンを抽出するよう指令
を与える。そして、この前進したステップでもパターン
不一致のときは、その不一致の都度、所定ステップまで
順次前進指令を与え、パターン一致の有無を前進状態で
チエツクせしめる。そして、この前進チエツク(以下、
これをバックチエツクに対してこれをフォワードチエツ
クという)の結果、パターン一致が得られると、その一
致したステップを上記正常パターン記憶部17における
上記作動パターンが対応する監視ステップとし、そのス
テップから上記(1)の機能により作動パターンの監視
を継続せしめる。
(2) Next, when the diagnostic processing unit 21 detects a discrepancy in the operation patterns, the comparison target extraction unit 20 receives the storage pattern of the next step of the monitoring step in which the discrepancy occurred from the normal pattern storage unit 17. Give a command to extract. If the patterns do not match even in this advanced step, a command to move forward up to a predetermined step is sequentially given each time there is a mismatch, and the presence or absence of pattern matching is checked in the forward state. Then, check this progress (hereinafter,
When a pattern match is obtained as a result of the back check (this is referred to as a forward check), the matched step is set as the monitoring step to which the operation pattern in the normal pattern storage section 17 corresponds, and from that step the above ( The function 1) allows continuous monitoring of the operating pattern.

そして、さらに本実施例の場合、上記フォワードチエツ
クの歯止めのために、上記比較対象抽出部20から比較
部18に与えられる基準記憶パターンに上記出力要素の
I10変化(人力/出力悪化)があるか否か、つまりは
出力変化のあるステップの記憶パターンであるか否かを
抽出する出力変化ステップ抽出部23と上記作動変化検
出部16で得られる作動パターンに同じく出力変化があ
るか否かを抽出する変化内容抽出部24とを設けている
Furthermore, in the case of this embodiment, in order to stop the forward check, is there any I10 change (manpower/output deterioration) of the output element in the reference memory pattern given from the comparison target extraction section 20 to the comparison section 18? In other words, it is extracted whether or not the operation pattern obtained by the output change step extraction section 23 and the operation change detection section 16 has the same output change. A change content extraction unit 24 is provided.

すなわち、上記変化ステップ抽出部23は、上記正常パ
ターン記憶部17から抽出されるパターンが出力変化の
あるステップである場合には、上記比較実行制御部I9
に対し上記のフォワードチエツクを中止させるフォワー
ドチエツク中止指令を与える。これにより、比較実行制
御部19は、パターンが不一致のときは比較対象抽出部
20に対し先に前進せしめたステップを元の監視ステッ
プまで戻して同期化したのち以後の抽出作業を行なわし
める。
That is, when the pattern extracted from the normal pattern storage section 17 is a step with a change in output, the change step extraction section 23 controls the comparison execution control section I9.
A forward check abort command is given to the forward check to abort the above forward check. As a result, when the patterns do not match, the comparison execution control unit 19 causes the comparison target extraction unit 20 to return the previously advanced step to the original monitoring step, synchronize it, and then perform subsequent extraction work.

一方、変化内容抽出部24は、上記のように監視ステッ
プが元に戻された後に作動パターンに遷移があれば、そ
の遷移におけるI10変化内容を抽出して比較実行制御
部1つに与える。これにより、比較実行制御部19は、
上記I10の変化がフォワードチエツクを中止した出力
変化ステップの出力要素によるらのであるとき、比較対
象抽出部20に対し上記出力変化ステップを監視ステッ
プとして抽出するよう制御指令を与え、以後はこの出力
変化ステップの次から順次抽出作業を行なわしめる。
On the other hand, if there is a transition in the operation pattern after the monitoring step is restored as described above, the change content extraction unit 24 extracts the I10 change content in that transition and provides it to one comparison execution control unit. As a result, the comparison execution control unit 19
When the change in I10 is due to the output element of the output change step in which the forward check was stopped, a control command is given to the comparison target extraction unit 20 to extract the output change step as a monitoring step, and from now on, this output change The extraction work is performed sequentially from the next step.

また、上記診断処理部21は、上記出力変化ステップが
監視ステップとして抽出されたときに上記作動パターン
が不一致であれば、その不一致の要素を指摘し、フォワ
ードチエツクがされているときはそのチエックの原因と
なった不一致の要素ら併せて指摘して診断結果出力部2
2に与え、その後に再び作動パターンの遷移があれば上
記指摘をクリア(解除)する。
Furthermore, if the operation pattern does not match when the output change step is extracted as a monitoring step, the diagnostic processing unit 21 points out the element of the mismatch, and if a forward check is being performed, the check is performed. The diagnostic result output unit 2 also points out the factors that caused the discrepancy.
2, and if there is a transition in the operation pattern again after that, the above indication is cleared (released).

従って、上記モニタ装置の制御動作上の流れは例えば第
3図のフローチャートに示すようになる。
Therefore, the control operation flow of the monitor device is as shown in the flowchart of FIG. 3, for example.

まず、スタート信号によりモニタを開始し、作動変化検
出部16においてI10状態の変化の有無が判定され、
その結果所定の変化があるYESのときには先の不一致
I10の判定結果をクリアした後カウントアツプ動作に
より上記監視ステップの番号が1つ前進(カウントアツ
プ)し、更に上記正常パターン記憶部17から抽出すべ
き基準となる記憶パターンか次スタート信号のものに切
り変わる。(ステップ81〜S3)。そして、実際の作
動パターンと抽出された記憶パターンとの比較により、
作動パターンが一致すれば、上記Sl、S2゜S、によ
り上記I10状態の変化(遷移)に応じて順次監視ステ
ップが前進し、上記パターンが不一致であれば、そのと
きの監視ステップは出力変化(出力要素のI10変化)
のあるものであるか否かが判定される(ステップS、、
S、)。
First, monitoring is started by a start signal, and the presence or absence of a change in the I10 state is determined in the operation change detection section 16.
If the result is YES that there is a predetermined change, the judgment result of the previous mismatch I10 is cleared, and then the number of the monitoring step is advanced by one (counted up) by a count-up operation, and further extracted from the normal pattern storage section 17. The pattern changes to either the memory pattern that serves as the reference for the next start signal or the next start signal. (Steps 81 to S3). Then, by comparing the actual operating pattern and the extracted memory pattern,
If the operation patterns match, the monitoring step advances sequentially according to the change (transition) of the I10 state by the above-mentioned Sl, S2°S, and if the above-mentioned patterns do not match, the monitoring step at that time advances the output change ( I10 change of output element)
It is determined whether or not (step S,
S.).

出力変化のない監視ステップのとき(NO)は、そのス
テップ番号がフォワードチエツクのために順次前進して
その都度、現時点の作動パターンと前進した各ステップ
の記憶パターンとが比較される(ステップS Il+ 
S 7)。そして、このフォワードチエツクにより、出
力変化のある監視ステップに至るまでにパターン一致が
あれば、その一致したステップを現時点の作動パターン
が対応する監視ステップとして、そのステップから以降
の監視を継続する(S7−9lにリターン)。
If it is a monitoring step with no output change (NO), the step number is sequentially advanced for forward check, and each time the current operating pattern is compared with the memory pattern of each advanced step (step S Il+
S7). If there is a pattern match by this forward check up to a monitoring step with an output change, the matching step is regarded as the monitoring step to which the current operation pattern corresponds, and monitoring from that step onwards is continued (S7 -Return to 9l).

フォワードチエツクでパターンの一致がなければ、出力
変化のある監視ステップでの不一致110の要素が指摘
され、フォワードチエツクで前進した監視ステップを元
に戻すとともに、この元の監視ステップでの上記フォワ
ードチエツクの原因となった不一致I10の要素を指摘
する(ステップS、)。
If there is no pattern match in the forward check, the element of mismatch 110 in the monitoring step with the output change is pointed out, the forward check advances the monitoring step back to its original state, and the forward check in the original monitoring step is repeated. Point out the element of the discrepancy I10 that caused it (step S).

次に、ステップS、に進み上記したフォワードチエツク
でカウントアツプしたステップ番号を元のステップ番号
に戻す。また、その後ステップS、。で上記フォワード
チエツクの原因となった不一致I10を参考として指摘
する。
Next, proceeding to step S, the step number counted up in the forward check described above is returned to the original step number. Also, after that step S. The discrepancy I10 that caused the above forward check will be pointed out as a reference.

さらに、ステップS 11で変化のあったI10状態は
先のステップS5で対象とした制御要素の出力であるか
否かを判定し、YESの場合にはステップS +tに進
んで当該出力変化のあるステップ番号までステップ番号
をカウントアツプする一方、NOの場合はステップS 
+2の方に進んで同ステップ番号をカウントダウンする
Furthermore, it is determined whether the I10 state that changed in step S11 is the output of the control element targeted in the previous step S5, and if YES, the process proceeds to step S+t where the output change has occurred. While counting up the step number up to the step number, if NO, step S
Proceed to +2 and count down the same step number.

次に上述した第2図に示す設備における上記モニタ動作
の具体例を説明する。
Next, a specific example of the above-mentioned monitoring operation in the equipment shown in FIG. 2 mentioned above will be explained.

〈例1〉 正常パターン記憶部17で記憶されている記憶パターン
の遷移が次の表1であるとき、実際の作動パターンの遷
移が表2である場合。
<Example 1> When the transition of the memory pattern stored in the normal pattern storage unit 17 is as shown in Table 1 below, the actual transition of the operation pattern is as shown in Table 2.

(表 1)          (表 2)まず、ステ
ップ(イ)は監視ステップ(1)と一致。
(Table 1) (Table 2) First, step (a) matches monitoring step (1).

そして、ステップ(ロ)へ移行すると監視ステップは(
2)となる。
Then, when moving to step (b), the monitoring step is (
2).

上記(ロ)と(2)は不一致。この(2)は出力変化(
シリンダ装置の作動)がないステップであるから、フォ
ワードチエツクのためlステップ前進し、(ロ)と(3
)を比較する。
(b) and (2) above are inconsistent. This (2) is the output change (
Since this is a step in which there is no operation of the cylinder device, the step moves forward l steps for forward check, and (b) and (3)
).

上記(ロ)と(3)は不一致。この(3)も出力変化が
ないステップであるから、1ステップ曲進し、(ロ)と
(4)を比較する。
(b) and (3) above are inconsistent. Since this step (3) is also a step in which the output does not change, move forward one step and compare (b) and (4).

上記(ロ)と(4)は不一致。この(4)は出力変化ス
テップであり、不一致I10の要素(LSI、シリンダ
装置)を指摘し、変化のあったIloはフォワードチエ
ツクの対象とした出力でないのでフォワードチエツクを
中止して前進した監視ステップを元の(2)に戻す。参
考となる不一致I10の要素(LSI〜LS3)を指摘
する。
(B) and (4) above are inconsistent. This (4) is an output change step, which points out the element (LSI, cylinder device) with the mismatch I10, and since the changed Ilo is not the output targeted for the forward check, the forward check is stopped and the monitoring step moves forward. Return to the original (2). Point out the elements (LSI to LS3) of mismatch I10 for reference.

次にステップ(ハ)への遷移(I10状態に変化)があ
ると、上記不一致の指摘をクリアする。
Next, when there is a transition to step (c) (change to state I10), the above-mentioned indication of inconsistency is cleared.

上記(ハ)への遷移において、変化のあった■10の要
素はLSIとシリンダ装置であり、このシリンダ装置は
上記フォワードチエツクを中止した出力変化ステップ(
4)の出力要素である。従って、監視ステップをこの(
4)まで前進させて(ハ)と(4)を比較する。
In the transition to (c) above, the elements (10) that have changed are the LSI and the cylinder device, and this cylinder device is in the output change step (where the forward check is canceled) (
This is the output element of 4). Therefore, we can change the monitoring step to this (
Advance to 4) and compare (c) and (4).

上記(ハ)と(4)は一致。(c) and (4) above are consistent.

従って、実際の作動パターンの遷移は、単にAND条件
の成立順序が記憶のものと相違していただけであり、設
備の動作としての問題はなく、その停止を沼くような誤
診(警報)は出ない。
Therefore, in the actual transition of the operation pattern, the order in which the AND conditions were established was simply different from the one in memory, and there was no problem with the operation of the equipment, and there was no misdiagnosis (alarm) that would have caused the stoppage. do not have.

また、上述の如く(ハ)への遷移において変化のあった
Iloの要素がフォワードチエツクを中止した出力変化
ステップの出力要素であるときに、監視ステップをこの
出力変化ステップに強制的に合わせるようにしたから、
比較すべき作動パターンと記憶パターンとの各々のステ
ップがこの出力要素を基準として合致し、照合のずれが
防止される。
Also, as mentioned above, when the element of Ilo that has changed in the transition to (c) is the output element of the output change step in which the forward check was stopped, the monitoring step is forced to match this output change step. Since the,
Each step of the actuation pattern to be compared and the stored pattern are matched with each other using this output element as a reference, and misalignment in matching is prevented.

なお、上記(ハ)への遷移の場合、元に戻された監視ス
テップ(2)からパターンの比較をしていくこともでき
る。この場合、(ハ)と(2)は不一致、フォワードチ
エツクによる(ハ)と(3)も不一致、次の(ハ)と(
4)とが一致となるから、監視ステップを(4)とする
ことになる。
In addition, in the case of the transition to the above (c), patterns can be compared starting from the undone monitoring step (2). In this case, (c) and (2) do not match, (c) and (3) by forward check also do not match, and the next (c) and (
4) is a match, so the monitoring step is set to (4).

〈例2〉 記憶パターンの遷移が表3、実際の作動パターンの遷移
が表4である場合。
<Example 2> When the memory pattern transition is Table 3 and the actual operation pattern transition is Table 4.

(表 3)         (表 4)(イ)は(1
)と一致。
(Table 3) (Table 4) (a) is (1
) matches.

(lニア)は(2)と不一致。(2)は出力変化ステッ
プである。不一致I10の要素(LS2.LS3.シリ
ンダ装置)を指摘。
(l near) is inconsistent with (2). (2) is an output change step. Pointed out the element of mismatch I10 (LS2.LS3.Cylinder device).

ステップ(ハ)への移行により、上記不一致の指摘をク
リア。(ハ)は(2)と不一致。この不一致■10の要
素(L S 3 、シリンダ装置)を指摘。
By moving to step (c), the above disagreement was cleared. (c) is inconsistent with (2). This discrepancy pointed out element 10 (L S 3, cylinder device).

ステップ(ニ)への移行により、上記不一致の指摘をク
リア。(ニ)は(2)と一致。
By moving to step (d), the above disagreement was cleared. (d) is consistent with (2).

従って、記憶パターンではAND条件が同時に成立して
いるのに対し、実際の作動パターンは単にAND条件が
順次成立していっただけであり、設備の動作としては問
題はなく、その停止を招くような誤診(W報)はない。
Therefore, in the memory pattern, the AND conditions are satisfied at the same time, but in the actual operation pattern, the AND conditions are simply satisfied one after another, and there is no problem with the operation of the equipment, but it may cause the equipment to stop. There is no misdiagnosis (W report).

〈例3〉 記憶パターンの遷移が表5、実際の作動パターンの遷移
が表6である場合。
<Example 3> When the memory pattern transition is Table 5 and the actual operation pattern transition is Table 6.

(表 5)         (表 6)(イ)は(+
)と一致。
(Table 5) (Table 6) (A) is (+
) matches.

(ロ)は(2)と不一致。(2)は出力変化ステップで
ないから、フォワードチエツクで(ロ)と(3)し出力
変化ステップでないから、フォワードチエツクで(ロ)
と(4)を比較。この(ロ)と(4)も不一致。
(b) is inconsistent with (2). (2) is not an output change step, so the forward check is (b) and (3) is not an output change step, so the forward check is (b).
Compare and (4). This (b) and (4) are also inconsistent.

この(4)は出力変化ステップであるから、不一致I1
0の要素(LSI、L、S3.シリンダ装置)を指摘す
る。そして、フォワードチエツクで前進しただけ監視ス
テップを戻し、参考の不一致I10の要素(LSI、L
S2)を指摘する。次にステップ(ハ)への移行により
、上記不一致の指摘をクリア。
Since this (4) is an output change step, the mismatch I1
Point out the element 0 (LSI, L, S3. cylinder device). Then, the monitoring step is returned by the amount of progress made in the forward check, and the reference mismatch I10 element (LSI, L
Point out S2). Next, move to step (c) to clear the above disagreement.

上記(ハ)と(2)を比較すると両者は不一致であるか
ら、上記(ロ)の場合と同様にフォワードチエツクを行
なう。つまり、(ハ)と(3)を比較し、両者は不一致
で(3)は出力変化ステップでないから、(ハ)と(4
)を比較する。この(ハ)と(4)は不一致であり、(
4)は出力変化ステップであるから不一致I10の要素
(LSI、シリンダ装置)を指摘して監視ステップを元
の(2)に戻し、参考の不一致I10の要素(LSI−
LS3)を指摘する。そして、次のI10状態の変化が
なく設備は停止であるから、警報が発せられることにな
る。
Comparing (c) and (2) above, they do not match, so a forward check is performed in the same way as in (b) above. In other words, comparing (c) and (3), they do not match and (3) is not an output change step, so (c) and (4)
). This (c) and (4) are inconsistent, and (
4) is an output change step, so point out the element (LSI, cylinder device) with the mismatch I10, return the monitoring step to the original (2), and change the reference element with the mismatch I10 (LSI-
LS3). Then, since there is no change in the next I10 state and the equipment is stopped, an alarm will be issued.

従って、本例の場合、診断結果として参考の不一致I1
0の要素LSI〜LS3が指摘されているが、出力変化
ステ・ツブでの不一致I10の要素にLS2.LS3が
含まれていないため、このLS2.LS3は作動してい
ることがわかる。そして、LSIについては上記参考の
不一致で指摘され、かつ出力変化ステップの不一致でも
指摘され、かつ出力変化ステップの不一致でも指摘され
ており、シリンダ装置の作動がないのはLSIに問題が
あると診断することができ、このLSIとその作動のた
めの位置決めシリンダ装置8を点検すればよいことにな
る。
Therefore, in this case, the reference discrepancy I1 is the diagnostic result.
0 elements LSI to LS3 are pointed out, but there is a mismatch in the output change step I10 element LS2. Since LS3 is not included, this LS2. It can be seen that LS3 is working. Regarding the LSI, it was pointed out that there was a discrepancy in the reference above, and it was also pointed out that there was a discrepancy in the output change step, and it was also pointed out that the cylinder device did not operate. All that is required is to inspect this LSI and the positioning cylinder device 8 for its operation.

なお、フォワードチエツクを行なうステップの数は、原
則的にはシーケンスプログラムに書かれたAND条件の
数(最大数−1)としてよいが、上記実施例の如くフォ
ワードチエツクの開始ステップから出力変化がみられる
ステップまでのチエツクとしてもよい。すなわち、これ
により、AND条件の成立で出力変化がある場合、フォ
ワードチエック開始ステップまでにAND条件のいくつ
がか既に成立するステップがある場合に、余分なフォワ
ードチエツクをする必要がなくなり、モニタの暴走が防
止されるとともに、AND条件のいくつかが成立し消滅
を繰り返す場合にも対応できることになる。
In principle, the number of steps to perform forward check may be the number of AND conditions written in the sequence program (maximum number - 1), but as in the above example, if the output change is not observed from the forward check start step, It may also be used as a check up to the next step. In other words, if there is an output change due to the establishment of an AND condition, and if there are steps in which some of the AND conditions are already satisfied before the forward check start step, there is no need to perform an extra forward check, which can prevent the monitor from running out of control. In addition to preventing this, it is also possible to cope with cases where some AND conditions are satisfied and disappear repeatedly.

上記本発明実施例の構成では、先ず作動設備を稼動させ
て各制御要素の実際の作動パターンを順次モニタしてい
き、パターン不一致のときその不一致ステップよりも先
に前進した各ステップに一致する記にパターンがあるか
否かチエツクする。
In the configuration of the embodiment of the present invention described above, first, the operating equipment is operated and the actual operating pattern of each control element is sequentially monitored, and when the patterns do not match, a record is made that matches each step advanced before the mismatched step. Check if there is a pattern.

一致する記憶パターンがあれば、その記憶パターンがあ
るステップを正常パターン記憶部における現時点の作動
パターンが対応する監視ステップとしてそのステップか
ら作動パターンの監視を継続する。
If there is a matching stored pattern, the step with that stored pattern is treated as the monitoring step to which the current operating pattern in the normal pattern storage section corresponds, and monitoring of the operating pattern is continued from that step.

つまり、この場合は、正常パターン8i!憶部での記憶
では複数の要素の作動状態が例えばオン・オフを繰り返
しながら順次変化しているのに対し、実際には複数が同
時に変化したか、異なる順序で変化して前進ステップに
一致する記憶パターンがあったことになる。従って、A
ND条件について考えれば、その成立順序か単に記憶の
ものと相違するだけで、設備としては問題のない作動パ
ターンであるから、設備の動作停止を伴うような異常警
報を発することなく、制御状聾のモニタを継続すること
ができる。
In other words, in this case, normal pattern 8i! In memory, the operating states of multiple elements change sequentially, for example by turning on and off, whereas in reality, multiple elements change at the same time or change in a different order to match the forward step. There must have been a memory pattern. Therefore, A
Considering the ND condition, the order in which it is established is simply different from the one in memory, but it is an operation pattern that poses no problem for the equipment, so the control state can be changed without issuing an abnormal alarm that would cause the equipment to stop operating. can continue to be monitored.

また、上記前進した各ステップに作動パターンが一致す
る記憶パターンがない場合は、正常パターン記憶部にお
ける監視ステップの変更を行なうことなく、次の作動パ
ターンの遷移を待らことになる。この遷移があれば、A
ND条件の成立についてみるとき、単に記憶していたも
のと異なる成立順序であって、設備の方はその状態が変
化し現時点では問題なしとして、先の場合と同様に対応
する監視ステップあるいはその前進ステップの記憶パタ
ーンとの一致・不一致をみることができる。
Further, if there is no stored pattern whose operation pattern matches each of the steps advanced above, the next operation pattern transition is waited for without changing the monitoring step in the normal pattern storage section. If this transition exists, A
When looking at the establishment of the ND condition, it is simply a different order of establishment than what was remembered, and the state of the equipment has changed and there is no problem at the moment, so the corresponding monitoring step or its progress is performed in the same way as in the previous case. You can see whether the step matches or does not match the memorized pattern.

なお、上記遷移がなければ、異常として当初のパターン
不一致の原因となった要素、あるいはその後の前進ステ
ップでの不一致の原因となった要素から異常原因の診断
を行なうことができる。
Note that if the above transition does not occur, the cause of the abnormality can be diagnosed from the element that caused the initial pattern mismatch as an abnormality or the element that caused the mismatch in the subsequent forward step.

従って、上記本発明実施例の構成によれば、先に述へた
ようなプレイバック式のノーケンスモニタ装置において
、不一致パターンが得られたとき実際の作動パターンを
その不一致ステップから前進した各ステップの記憶パタ
ーンと比較し、パタ−ンが一致すればその′一致スステ
ップ正常パターン記憶部の監視ステップとして監視を継
続するようにしたから、AND条件の成立によって制御
が進行する場合において、モニタ装置の診断精度を低下
させることなく上記AND条件の成立順序不同による誤
診断を防止することができることはもとより自己保持回
路によって不一致パターンの遷移が多様化した場合にも
従来のように誤動作を避けることができ、その信頼性の
向上が図れる。
Therefore, according to the configuration of the embodiment of the present invention, in the playback type no-kense monitor device as described above, when a mismatch pattern is obtained, the actual operation pattern is changed to each step proceeding from the mismatch step. If the patterns match, the matching step is continued as a monitoring step for the normal pattern storage section, so when the control progresses due to the establishment of the AND condition, the monitoring device In addition to being able to prevent erroneous diagnoses due to the order in which the AND conditions are satisfied without reducing the diagnostic accuracy, the self-holding circuit also prevents malfunctions as in the past even when the transitions of mismatched patterns become diverse. It is possible to improve the reliability.

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

図面は本発明の実施例を示し、第1図は同実施例に係る
シーケンスプログラム系のモニタ装置の構成を示すブロ
ック図、第2図は設備の一例を示す斜視図、第3図は同
モニタ装置のフローチャート、第4図は、従来例のシス
テム図である。 1・・・・・作動設備 4・・・・・シリンダ装置(出力要素)6.11.12
  ・・第1〜第3のリミットスイッチ(検出要素) 10・・・・ワーク 16・・・・作動状態変化検出部 17・・・・正常パターン記憶部 18・・・・比較部 19・・・・比較実行制御部 21・・・・異常診断処理部
The drawings show an embodiment of the present invention, FIG. 1 is a block diagram showing the configuration of a sequence program system monitor device according to the same embodiment, FIG. 2 is a perspective view showing an example of equipment, and FIG. 3 is a diagram showing the same monitor. The flowchart of the apparatus, FIG. 4, is a system diagram of a conventional example. 1... Operating equipment 4... Cylinder device (output element) 6.11.12
...First to third limit switches (detection elements) 10...Work 16...Operating state change detection section 17...Normal pattern storage section 18...Comparison section 19...・Comparison execution control unit 21... Abnormality diagnosis processing unit

Claims (1)

【特許請求の範囲】[Claims] 1、所定作動設備の制御動作順序を指定したシーケンス
プログラムにより当該制御動作の各ステップを逐次指示
通り進めて行くシーケンスプログラム制御系において、
当該シーケンスプログラム制御系を構成する各種制御要
素の作動状態の変化と当該各制御要素の上記自己保持用
内部リレーの作動状態の変化とを各々検出する作動状態
変化検出部と、上記作動設備の正常動作時に於ける上記
各種制御要素の作動状態の変化を表す作動パターンをそ
の作動パターンが変化する上記各ステップ毎に記憶して
いる正常パターン記憶部と、上記作動状態変化検出部で
検出される上記各種制御要素の実際の作動パターンとそ
れら制御要素の上記正常パターン記憶部で記憶されてい
る当該ステップの正常パターン記憶部とを比較する作動
パターン比較部と、該作動パターン比較部での比較によ
り上記正常記憶パターンと実際の作動パターンとの不一
致の有無を監視して制御状態の異常診断を行う異常診断
処理部とを設けたことを特徴とするシーケンスプログラ
ム制御系のモニタ装置。
1. In a sequence program control system in which each step of the control operation is sequentially carried out as instructed by a sequence program that specifies the order of control operations for predetermined operating equipment,
an operating state change detection unit that detects changes in the operating states of various control elements constituting the sequence program control system and changes in the operating states of the self-holding internal relays of each control element, and detects the normality of the operating equipment; a normal pattern storage section that stores an operation pattern representing a change in the operation state of the various control elements during operation for each step in which the operation pattern changes; an operation pattern comparison section that compares the actual operation patterns of various control elements with the normal pattern storage section of the relevant step stored in the normal pattern storage section of those control elements; 1. A monitor device for a sequence program control system, comprising: an abnormality diagnosis processing unit that diagnoses an abnormality in a control state by monitoring whether there is a mismatch between a normal stored pattern and an actual operation pattern.
JP63106018A 1988-04-27 1988-04-27 Monitor for sequence program control system Expired - Lifetime JP2737878B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63106018A JP2737878B2 (en) 1988-04-27 1988-04-27 Monitor for sequence program control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63106018A JP2737878B2 (en) 1988-04-27 1988-04-27 Monitor for sequence program control system

Publications (2)

Publication Number Publication Date
JPH01276206A true JPH01276206A (en) 1989-11-06
JP2737878B2 JP2737878B2 (en) 1998-04-08

Family

ID=14422916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63106018A Expired - Lifetime JP2737878B2 (en) 1988-04-27 1988-04-27 Monitor for sequence program control system

Country Status (1)

Country Link
JP (1) JP2737878B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260902A (en) * 1991-01-24 1992-09-16 Mitsubishi Electric Corp Device for diagnosing failure

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260902A (en) * 1991-01-24 1992-09-16 Mitsubishi Electric Corp Device for diagnosing failure

Also Published As

Publication number Publication date
JP2737878B2 (en) 1998-04-08

Similar Documents

Publication Publication Date Title
EP1224546B1 (en) Method for protecting a program flow
JPH087601B2 (en) Sequence control system Abnormality recovery device for machinery
JPS63292211A (en) Monitoring device for sequence program control system
WO2006044914A2 (en) Method, system and storage medium for managing automated system events
JPH01276206A (en) Monitoring device for sequence program control system
JPH06314117A (en) Method and device for fault diagnosis
KR19990035555A (en) Semiconductor Equipment Control Method
JPS63303407A (en) Monitoring device for sequence program control
JP2642367B2 (en) Monitor for sequence program control system
JP2574726B2 (en) Equipment machine abnormality detection device
JP3134428B2 (en) Failure diagnosis method and device
JPS63311510A (en) Monitor device for sequence program control system
JPH01109412A (en) Monitor for sequence program control system
TWI758926B (en) Safety monitor system and method for diagnosing abnormality of the same in robot
JPH01276205A (en) Monitoring device for sequence program control system
JP2590108B2 (en) Monitor for sequence program control system
JPH01274208A (en) Monitoring device for sequence program control system
JP3906132B2 (en) Diagnostic system for signal security devices and diagnostic system for field equipment
JPS63311509A (en) Monitor device for sequence program control system
US5875328A (en) Fault identifying control system
JPH08292894A (en) Digital controller
JPH0232103B2 (en)
JP2607620B2 (en) Grouping method of sequence program control system monitor
JPS6029127B2 (en) Accident prevention methods for computer control equipment
JPH1132448A (en) Power system monitoring and control device