[go: up one dir, main page]

JPH0675244B2 - Monitor device for sequence program control system - Google Patents

Monitor device for sequence program control system

Info

Publication number
JPH0675244B2
JPH0675244B2 JP62148797A JP14879787A JPH0675244B2 JP H0675244 B2 JPH0675244 B2 JP H0675244B2 JP 62148797 A JP62148797 A JP 62148797A JP 14879787 A JP14879787 A JP 14879787A JP H0675244 B2 JPH0675244 B2 JP H0675244B2
Authority
JP
Japan
Prior art keywords
pattern
normal
equipment
unit
abnormality
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
JP62148797A
Other languages
Japanese (ja)
Other versions
JPS63311510A (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.)
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 JP62148797A priority Critical patent/JPH0675244B2/en
Publication of JPS63311510A publication Critical patent/JPS63311510A/en
Publication of JPH0675244B2 publication Critical patent/JPH0675244B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

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

(従来の技術) 制御すべき設備の動作順序を指定したプログラムを組
み、このプログラムに従って制御の各段階を逐次進めて
いくようにしたシーケンスプログラム制御は一般に知ら
れている。そして、かかるシーケンス制御は、機械器具
の組立ラインや工作機械等において、前段階の動作に応
じて次段階の動作を自動的に行なわせるために利用され
ている。
(Prior Art) A sequence program control is generally known in which a program designating an operation sequence of equipment to be controlled is assembled and each step of control is sequentially advanced according to the program. Then, such sequence control is used in a machine tool assembly line, a machine tool, or the like in order to automatically perform the operation of the next step in accordance with the operation of the previous step.

しかして、このシーケンス制御において、その制御が正
常に行なわれているか否かを監視、つまりモニタする場
合、設備の動作を制御するプログラムの中にこのモニタ
のためのプログラムを組込み、異常時に警報を行なうと
いう考えのものがある。しかし、このものでは、設備の
変更の都度、設備の動作用とモニタ用の両プログラムを
変更する必要があり、また、この動作用とモニタ用とで
全体のプログラム容量が肥大化する。
Therefore, in this sequence control, when monitoring, that is, monitoring whether or not the control is normally performed, a program for this monitor is incorporated in the program that controls the operation of the equipment, and an alarm is issued when an abnormality occurs. There is the idea of doing it. However, with this device, it is necessary to change both the program for operating the equipment and the program for monitoring each time the equipment is changed, and the overall program capacity for both the operation and the monitor is enlarged.

これに対し、プレイバック式のモニタ装置が知られてい
る。このものは、予め設備を正常に動作させた際のシー
ケンス制御回路の各構成要素の作動パターンを順次記憶
させておき、設備の実際の稼動時に上記作動パターンが
記憶していたものと一致しているか否かを順次照合して
いき、不一致のとき異常の指摘を行なうものである。従
って、このプレイバック式モニタの場合、設備が正常に
動作しているか否かにかかわらず、パターンが一致しな
ければ異常の指摘がある。
On the other hand, a playback type monitor device is known. This one stores operation patterns of each component of the sequence control circuit when the equipment is normally operated in advance, and matches the operation patterns stored when the equipment is actually operated. Whether or not there is a match is sequentially checked, and if there is a mismatch, an abnormality is indicated. Therefore, in the case of this playback type monitor, regardless of whether the equipment is operating normally or not, if the patterns do not match, an abnormality is pointed out.

また、他の従来技術として、工作機械の加工状態を監視
するにあたり、その加工状態検出器から得られる検出デ
ータを予め登録した診断用データと逐次比較して不一致
のとき警報を発するようになし、この警報に基いてオペ
レータが上記不一致のデータが正常として許容できるか
否か判断し診断データとして登録できるようにしたもの
もある(例えば、特開昭58−143938号公報参照)。
Further, as another conventional technique, when monitoring the machining state of the machine tool, the detection data obtained from the machining state detector is sequentially compared with the diagnostic data registered in advance, and an alarm is issued when they do not match, There is also a system in which an operator judges whether or not the mismatched data can be accepted as normal based on this alarm and can register it as diagnostic data (see, for example, JP-A-58-143938).

(発明が解決しようとする問題点) 本発明は、上記プレイバック式モニタ装置において、設
備が正常に動作しているときもパターンが不一致であれ
ば異常と診断されるという問題点を解決しようとするも
のである。
(Problems to be Solved by the Invention) The present invention is intended to solve the problem that in the above-mentioned playback type monitor device, even if the equipment is operating normally, if the patterns do not match, an abnormality is diagnosed. To do.

すなわち、例えば設備の状態を検出する2つのリミット
スイッチが順序を問わず共にオンのとき、つまりAND
(論理積)条件の成立で作動するシリンダ装置がある場
合、AND条件が成立する作動パターンの推移は上記両ス
イッチのいずれが先にオンとなるかで決まる2通りと、
同時にオンとなる場合とを合わせて3通りある(なお、
両スイッチがそれぞれオン・オフを繰返して共にオンと
なる場合を考えると、パターンの推移の種類は無限とな
る)。しかし、設備の正常動作時に正常として記憶され
るパターンの推移は1通りであるため、他のパターン推
移は設備の動作に問題がなくとも異常と診断されるとい
う問題がある。加えて、加工するワークの種類に応じて
設備の動作パターンが異なるような設備動作の多様化に
よっても上記と同様な問題が生じてくる。
That is, for example, when two limit switches that detect the state of equipment are both turned on in any order, that is, AND
If there is a cylinder device that operates when the (logical product) condition is satisfied, the transition of the operation pattern that satisfies the AND condition is determined in two ways depending on which of the above two switches is turned on first,
There are three cases including the case where they are turned on at the same time.
Considering the case where both switches are repeatedly turned on and off and turned on together, the types of pattern transitions are infinite). However, since there is only one pattern transition that is stored as normal during normal operation of the equipment, there is a problem that other pattern transitions are diagnosed as abnormal even if there is no problem in the operation of the equipment. In addition, diversification of equipment operation such that equipment operation patterns differ depending on the type of workpiece to be processed causes the same problem as described above.

また、設備の動作の進行に支障はないが、例えばワーク
が早めに供給されてそのことがリミットスイッチで検出
され、作動パターンが推移して記憶と異なるものになっ
た場合、異常と診断されてしまうことになる。
Also, although there is no hindrance to the progress of equipment operation, for example, if the work is supplied early and that is detected by the limit switch, and the operation pattern changes and becomes different from the memory, it is diagnosed as an abnormality. Will end up.

これに対し、従来の異常指摘の都度、オペレータの介入
をまってデータを追加していく方式の場合、このオペレ
ータの介入、判断を要するだけでなく、パターン不一致
の指摘はデータの追加で減っていくものの、正常動作時
でもパターンの不一致があれば異常を警報するという問
題の解決は図れない。
On the other hand, in the case of the conventional method of adding data by intervention of an operator each time an abnormality is pointed out, not only this operator's intervention and judgment are required, but the point of pattern mismatch is reduced by the addition of data. However, it is impossible to solve the problem of warning an abnormality if there is a pattern mismatch even during normal operation.

(問題点を解決するための手段) 本発明は、上記問題点を解決する手段として、シーケン
スプログラム制御系を構成する各要素の作動状態の変化
を検出する変化検出部と、設備の正常動作時における各
要素の作動パターンをそのパターンが変化する各ステッ
プ毎に記憶する正常パターン記憶部と、変化検出部での
検出により得られる実際の作動パターンと正常パターン
記憶部の正常パターンとを比較し制御状態を診断する診
断処理部と、この診断処理部で正常パターンと異なる作
動パターンが得られたときその後の設備の動作に異常が
あるか否かを作動パターンの推移の進行状況に基いて判
定する動作確認部と、この動作確認部による異常なしの
判定を受けて上記異なる作動パターンを正常動作のパタ
ーンとして正常パターン記憶部に登録する正常パターン
登録部とを備えているシーケンスプログラム制御系のモ
ニタ装置を提供するものである。
(Means for Solving Problems) As means for solving the above problems, the present invention provides a change detection unit for detecting a change in the operating state of each element constituting the sequence program control system, and a normal operation of equipment. In the normal pattern storage unit that stores the operation pattern of each element in each step in which the pattern changes, the actual operation pattern obtained by the detection by the change detection unit and the normal pattern in the normal pattern storage unit are compared and controlled. A diagnostic processing unit for diagnosing the state, and when an operational pattern different from the normal pattern is obtained by this diagnostic processing unit, it is determined whether or not there is an abnormality in the operation of the equipment thereafter based on the progress status of the transition of the operational pattern. When the operation confirmation unit and the operation confirmation unit determine that there is no abnormality, the different operation patterns described above are registered as normal operation patterns in the normal pattern storage unit. The present invention provides a monitor device for a sequence program control system, which includes a normal pattern registration unit.

(作用) 上記モニタ装置の場合、設備を稼動させて実際の作動パ
ターンを順次モニタしていき、診断処理部で予め記憶し
ていたものと異なる作動パターンが得られたとき、動作
確認部でその後も作動パターンの推移が進行して設備の
動作に異常がないと判定されると、正常パターン登録部
により上記異なる作動パターンが正常動作のパターンと
して正常パターン記憶部に登録される。
(Operation) In the case of the above monitoring device, the equipment is operated to sequentially monitor the actual operation pattern, and when an operation pattern different from the one previously stored in the diagnosis processing unit is obtained, the operation confirmation unit thereafter Also, when it is determined that the transition of the operation pattern has progressed and there is no abnormality in the operation of the equipment, the normal pattern registration unit registers the different operation pattern as a normal operation pattern in the normal pattern storage unit.

つまり、プレイバック式モニタにおける診断は、一般の
プラント故障診断と異なり、設備が停止することなく稼
動しているときは、記憶と異なる作動パターンが得られ
ても正常と位置付けすることができる性格のものであ
り、本発明は、このことを利用して、上記異なる作動パ
ターンが得られても、設備が異常なく動作していること
を条件として、これを正常動作の作動パターンとして自
動的に学習せしめるようにしている。
In other words, the diagnosis in the playback monitor is different from general plant failure diagnosis, and when the equipment is operating without stopping, even if an operation pattern different from the memory is obtained, it can be regarded as normal. The present invention utilizes this fact and automatically learns this as a normal operation pattern even if the above different operation patterns are obtained, provided that the equipment is operating without abnormality. I'm trying to make a difference.

(発明の効果) 従って、本発明によれば、プレイバック式モニタ装置に
おいて、記憶と異なる作動パターンが得られたときに、
その後の設備の動作を確認する動作確認部と、動作に異
常がないとき上記作動パターンを正常動作のパターンと
して登録する正常パターン登録部とを設けたことによ
り、正常と認められる複数の作動パターンが存在する場
合に、かかる作動パターンが得られる都度、これを順次
自動的に学習させていくことができ、設備の動作に問題
がないときに異常警報がでることを防止し、また、学習
によりその後は設備の動作の進行を確認せずとも同じ作
動パターンに対しては直ちにこれを問題なしとして処理
することができ、モニタの診断精度ないしは信頼性の向
上が図れる。
(Effect of the invention) Therefore, according to the present invention, in the playback type monitor device, when an operation pattern different from the memory is obtained,
A plurality of operation patterns that are recognized as normal are provided by providing an operation check unit that checks the operation of the equipment after that and a normal pattern registration unit that registers the above operation pattern as a normal operation pattern when there is no abnormality in operation. When there is such an operation pattern, this operation pattern can be automatically learned each time it is obtained, preventing an abnormal alarm from being issued when there is no problem in the operation of the equipment. The same operation pattern can be immediately treated as a problem without confirming the progress of the operation of the equipment, and the diagnostic accuracy or reliability of the monitor can be improved.

(実施例) 以下、本発明の実施例を図面に基いて説明する。(Example) Hereinafter, the Example of this invention is described based on drawing.

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

同図において、1はその動作を制御すべき設備であり、
この設備1の制御系は設備1の状態を検出する複数の検
出要素(例えばリミットスイッチ)と、ワーク等に対す
る加工や搬送等を行なう出力要素(例えばシリンダ装
置)とを備える。
In the figure, 1 is equipment for controlling its operation,
The control system of the equipment 1 includes a plurality of detection elements (for example, limit switches) that detect the state of the equipment 1, and an output element (for example, a cylinder device) that performs machining or conveyance of a work or the like.

さて、2は上記各要素の作動状態を表わす信号(IN/OU
T)を入力するI/O状態入力部、3はI/O状態入力部2か
らの出力により上記I/O状態の変化、つまり全要素の作
動パターンの推移を検出する変化検出部、4は正常パタ
ーン記憶部である。この正常パターン記憶部4は、設備
1に予め正常な動作を行なわしめ、そのときの作動パタ
ーンをそのパターンが推移する(少なくとも1の要素の
I/O状態が変化する)各ステップ毎に記憶せしめたもの
である。
2 is a signal (IN / OU
I / O status input section 3 for inputting T), 3 is a change detection section for detecting a change in the above I / O status by the output from the I / O status input section 2, that is, a change in the operating pattern of all elements, and 4 is It is a normal pattern storage unit. This normal pattern storage unit 4 causes the equipment 1 to perform a normal operation in advance, and the operation pattern at that time is changed (the pattern of at least one element is changed).
I / O status changes) It is stored at each step.

また、5は上記変化検出部3により得られる実際の作動
パターンと、正常パターン記憶部4から得られる正常パ
ターンとを比較し制御状態を診断する診断処理部であ
り、診断結果は診断結果出力部6及び学習制御部7に与
えるようになっている。この場合、診断処理部5は、変
化検出部3によりI/O状態の変化が検出されて制御のス
テップが移行する都度、正常パターン記憶部4から対応
すべきステップの正常パターンを抽出せしめて実際の作
動パターンと比較せしめる比較制御部と、この比較結
果、作動パターンが正常パターンと一致するか否かを判
定する判定部と、その判定結果、不一致のときその作動
パターンを診断結果出力部6と学習制御部7に指摘する
診断部とを備える。
Reference numeral 5 denotes a diagnostic processing unit that compares the actual operation pattern obtained by the change detection unit 3 with a normal pattern obtained from the normal pattern storage unit 4 to diagnose the control state, and the diagnostic result is the diagnostic result output unit. 6 and the learning control unit 7. In this case, the diagnosis processing unit 5 extracts the normal pattern of the corresponding step from the normal pattern storage unit 4 every time the change detection unit 3 detects a change in the I / O state and the control step shifts. Comparison control section for comparing the operation pattern with the operation pattern of No. 3, a determination section for determining whether or not the operation pattern matches the normal pattern as a result of this comparison, and the operation result when the determination result does not match with the diagnosis result output section 6 The learning control unit 7 is provided with a diagnosis unit.

しかして、上記学習制御部7は、診断処理部5から不一
致の作動パターンが指摘されるとき、その不一致のもの
を含めて以後の各作動パターンを一時的に順次記憶して
いく一時記憶部8と、その後に設備1が正常に動作する
か否かをみる動作確認部9と、動作正常の確認を受けて
上記不一致の作動パターンを正常パターン記憶部4に正
常動作のパターンとして登録する正常パターン登録部10
とを備える。
When the diagnosis processing unit 5 points out an inconsistent operation pattern, the learning control unit 7 temporarily stores subsequent operation patterns including the inconsistent operation pattern. Then, after that, an operation confirmation unit 9 for checking whether or not the equipment 1 operates normally, and a normal pattern for receiving the operation normality confirmation and registering the non-matching operation pattern in the normal pattern storage unit 4 as a normal operation pattern Registration department 10
With.

すなわち、上記動作確認部9は、診断処理部5で出力要
素の作動異常が診断されるとなく作動パターンが所定ス
テップ間推移したことが診断されると、設備1は正常に
動作していると判断し、一時記憶部8に以後の作動パタ
ーンの記憶の中止指令を与えるとともに、正常パターン
登録部10に一時記憶部8の作動パターンの登録指令を与
えるようになっている。
That is, when the operation confirming unit 9 is diagnosed by the diagnosis processing unit 5 that the operation abnormality of the output element has not been diagnosed and the operation pattern has transitioned for a predetermined step, the equipment 1 is operating normally. The determination is made, and the temporary storage unit 8 is given a command to stop the storage of subsequent operation patterns, and the normal pattern registration unit 10 is given a command to register the operation patterns in the temporary storage unit 8.

本例の場合、動作確認部9は、設備1が1サイクル(設
備1の動作の起点となるステップから終点となるステッ
プまで)の間、停止することなく稼動するとき、つま
り、起点ステップの作動パターンが表われた後に終点ス
テップの作動パターンが表われるとき、設備1は正常動
作を行なっていると判断するようになっている。また、
正常パターン登録部10は不一致の作動パターンが生じた
1サイクルの全作動パターンを第2の(あるいは第3,第
4の)正常パターン推移として登録するようになってい
る。
In the case of this example, the operation confirming unit 9 operates when the equipment 1 operates without stopping for one cycle (from the step from the starting point to the ending point of the operation of the equipment 1), that is, the operation of the starting step. When the operation pattern of the end step appears after the pattern appears, the equipment 1 is determined to be operating normally. Also,
The normal pattern registration unit 10 registers all the operation patterns of one cycle in which the inconsistent operation patterns have occurred as the second (or third, fourth) normal pattern transition.

また、上記学習制御部7は、異常確認入力部11からのリ
セット信号を受けると、作動パターンの一時記憶、1サ
イクル動作の確認および正常パターン登録の作業をキャ
ンセル(中止)するようになっており、このリセット信
号は、設備1が動作を停止してしまったときのように作
業者が診断結果出力部6の出力等に基いて上記作動パタ
ーンの不一致は真の異常と判断するとき異常確認釦12に
より与えられるものである。
Further, when the learning control section 7 receives a reset signal from the abnormality confirmation input section 11, the learning control section 7 cancels (stops) the work of temporarily storing the operation pattern, confirming the 1-cycle operation, and registering the normal pattern. This reset signal is used when the operator judges that the above-mentioned operation pattern disagreement is a true abnormality based on the output of the diagnosis result output unit 6 as when the equipment 1 has stopped operating. Given by twelve.

従って、上記モニタ装置の作動の流れは第2図に示すよ
うになる。
Therefore, the operation flow of the monitor device is as shown in FIG.

まず、スタート信号によりモニタが開始され、変化検出
部3においてI/O状態の変化の有無がみられ、変化があ
るとき、作動パターンと対応するステップの正常パター
ンとが比較される(S1,S2)。そして、上記作動パター
ンが例えばパターン不一致により異常と診断されると、
そのことが診断結果出力部6に与えられるとともに、異
常確認の入力があれば、モニタは中止される(S3,S
4)。
First, the monitoring is started by the start signal, and the change detector 3 detects whether or not the I / O state has changed. When there is a change, the operation pattern is compared with the normal pattern of the corresponding step (S1, S2). ). Then, when the operation pattern is diagnosed as abnormal due to pattern mismatch, for example,
This is given to the diagnosis result output unit 6, and if an abnormality confirmation is input, the monitor is stopped (S3, S
Four).

そうして、上記異常確認の入力が無ければ、I/O状態の
変化がみられ、この変化がなければ異常確認の入力が待
たれることになる(S5)。そして、I/O状態に変化があ
ると、先の異常と診断された作動パターンの一時記憶が
行なわれ、設備1が1サイクル正常に動作したことの確
認が済むまで異常確認入力がない状態でI/O状態の変化
がある都度、作動パターンが順次記憶されていく(S6,S
7)。そして、上記1サイクル動作の確認が済むと、先
に一時記憶された作動パターンが正常パターンとして登
録され、先の異常診断の出力がクリヤ(解除)される
(S8,S9)。
Then, if the abnormality confirmation input is not made, a change in the I / O state is observed, and if there is no change, the abnormality confirmation input is awaited (S5). If there is a change in the I / O status, the operation pattern previously diagnosed as abnormal is temporarily stored, and there is no error confirmation input until it is confirmed that the equipment 1 has operated normally for one cycle. Each time there is a change in the I / O status, the operation pattern is stored in sequence (S6, S
7). When the one-cycle operation is confirmed, the previously temporarily stored operation pattern is registered as a normal pattern, and the output of the previous abnormality diagnosis is cleared (released) (S8, S9).

次に設備の具体例に基いて学習制御について説明する。Next, learning control will be described based on a specific example of equipment.

第3図には上記設備の具体例が示されている。すなわ
ち、このものは、ワークWを準備ステーション13から送
り手段(SOL1)14でモータ(M)15により駆動されるコ
ンベヤ16へ送り、このコンベヤ16で加工ステーション17
へ送られたワークWを加工手段(SOL2)18で加工して取
り出すものである。上記準備ステーション13、コンベヤ
16の始点と中間点、加工ステーション17にはそれぞれワ
ークを検出するリミットスイッチ(LS1〜LS4)21〜24が
設けられ、加工手段18にはその後退端と前進端を検出す
るリミットスイッチ(LS5,LS6)25,26が設けられてい
る。また、加工ステーション17の近傍には安全マット27
が敷設され、作業者が乗ると設備停止信号を出力するス
イッチ(安全マットS)28が設けられている。また、こ
の設備は別途設けた制御盤の(自動/手動)切換用のス
イッチ(自動切換S)が自動のとき、自動運転釦により
複数の作動状態から起動できるようになっている。
FIG. 3 shows a specific example of the above equipment. That is, this one sends the workpiece W from the preparation station 13 to the conveyor 16 driven by the motor (M) 15 by the feeding means (SOL1) 14, and the conveyor 16 carries out the processing station 17
The work W sent to is processed by the processing means (SOL2) 18 and taken out. Preparation station 13 above, conveyor
Limit switches (LS1 to LS4) 21 to 24 for detecting workpieces are provided at the starting point and the intermediate point of 16, respectively, and the machining station 17 is provided with a limit switch (LS5, LS5, LS6) 25, 26 are provided. In addition, a safety mat 27 is provided near the processing station 17.
Is provided, and a switch (safety mat S) 28 that outputs a facility stop signal when an operator gets on is provided. Further, this equipment can be started from a plurality of operating states by an automatic operation button when the switch (automatic / manual) switching (automatic switching S) of a separately provided control panel is automatic.

上記設備の制御回路は第4図に示されている。The control circuit of the above equipment is shown in FIG.

自動運転釦30を押すとリレー手段31a〜31cが作動し、自
動切換スイッチ32、安全マトッスイッチ28、停止スイッ
チ(停止S)33が作動しない限り、通電が保持される。
ワークWが準備ステーション13にあってコンベヤ16およ
び加工ステーション17になく加工手段18が後退端のとき
(LS1とLS5はオン、LS2〜LS4はオフ)、送り手段14がリ
レー手段14a,14bの作動によりワークWをコンベヤ16へ
送る。
When the automatic operation button 30 is pressed, the relay means 31a to 31c are activated, and the energization is maintained unless the automatic changeover switch 32, the safety mat switch 28, and the stop switch (stop S) 33 are activated.
When the work W is in the preparation station 13 and not in the conveyor 16 and the processing station 17 and the processing means 18 is at the backward end (LS1 and LS5 are on, LS2 to LS4 are off), the feeding means 14 operates the relay means 14a, 14b. To send the work W to the conveyor 16.

コンベヤ16は、ワークWがその上にあって加工ステーシ
ョン17にないとき(LS2またはLS3はオン、LS4はオ
フ)、リレー手段15a,15bによりモータ15が作動してワ
ークWを加工ステーション17へ送る。加工手段18は、前
進端になく(LS6がオフ)、ワークWが加工ステーショ
ン17にあり(LS4がオン)、後退用のリレー手段18cが作
動していないとき、前進用リレー手段18d,18eの作動に
より前進してワークWに加工を施し、前進端にくると
(LS6がオン)、後退端検出用リミットスイッチ(LS5)
がオフで前進用リレー手段18fが作動していないとき、
後退用リレー手段18a,18bが作動して後退する。
The conveyor 16 sends the work W to the processing station 17 when the work W is above it and not at the processing station 17 (LS2 or LS3 is on, LS4 is off) and the motor 15 is activated by the relay means 15a and 15b. . When the machining means 18 is not at the forward end (LS6 is off), the workpiece W is at the machining station 17 (LS4 is on), and the reverse relay means 18c is not operating, the forward relay means 18d, 18e When the work moves forward to process the work W and reaches the forward end (LS6 is ON), the limit switch for detecting the backward end (LS5)
Is off and the forward relay means 18f is not operating,
The reverse relay means 18a, 18b actuate and move backward.

上記設備について正常パターン記憶部4に記憶された1
サイクルのパターン(第1の正常パターン)は次表のと
おりである。
1 stored in the normal pattern storage unit 4 for the above equipment
The cycle pattern (first normal pattern) is shown in the following table.

ワークWが準備ステーション13にあってコンベヤ16およ
び加工ステーション17にない状態で自動運転釦30を押
し、送り手段14が作動した状態(ステップ1)でモニタ
をスタートさせたとき、ワークWが準備ステーション13
から送り出されることにより、LS1が(1→0)と変化
すると、そのときの作動パターンがステップ2の正常パ
ターンと比較される。この両パターンは一致しているか
ら「正常」と判断され、次にLS2が(0→1)と変化
し、SOL1が(1→0)と変化すると、ステップ3の正常
パターンと比較される。
When the automatic operation button 30 is pressed while the work W is in the preparation station 13 but not in the conveyor 16 and the processing station 17 and the monitor is started in the state (step 1) in which the feeding means 14 is operated, the work W is the preparation station. 13
When the LS1 changes from (1 → 0) by being sent out from, the operation pattern at that time is compared with the normal pattern of step 2. Since these two patterns match, it is judged to be "normal", and when LS2 changes (0 → 1) and SOL1 changes (1 → 0), it is compared with the normal pattern in step 3.

以下、上述のようにして作動パターンが推移する都度、
更新されたステップの正常パターンと比較され、作動パ
ターンが正常か否か判断されるが、例えば、ステップ4
の状態において準備ステーション13へのワークWの供給
が遅れると、先にLS3が(0→1)の変化をし、後からL
S1が(0→1)の変化をすることになる。このときの作
動パターンの推移は次表のようになる。
Hereinafter, each time the operation pattern changes as described above,
The operation pattern is compared with the updated normal pattern of the step to determine whether the operation pattern is normal.
When the supply of the work W to the preparation station 13 is delayed in the state of 1), LS3 changes (0 → 1) first, and then L
S1 will change (0 → 1). The transition of the operation pattern at this time is as shown in the following table.

すなわち、(ホ)の作動パターンはステップ5の正常パ
ターンと比較されるが、両パターンはLS1とLS3において
不一致である。従って、異常という診断結果が出力され
るものの、上記LS1とLS3の状態はコンベヤ16の作動に影
響を与えないから、設備は停止することなく動作を継続
する。そして、この動作には特に問題がないから、異常
確認釦12は押されず、作動パターンが推移する都度、上
記(ホ)以降の各作動パターンが順次一時的に記憶され
ていく。
That is, the operation pattern of (e) is compared with the normal pattern of step 5, but both patterns do not match in LS1 and LS3. Therefore, although the diagnosis result of abnormality is output, the above-mentioned states of LS1 and LS3 do not affect the operation of the conveyor 16, so that the equipment continues to operate without stopping. Since there is no particular problem with this operation, the abnormality confirmation button 12 is not pressed, and each time the operation pattern changes, the operation patterns after (e) above are sequentially and temporarily stored.

しかして、上記(イ)から(ヲ)に至るサイクルが終了
し、次に同様の(イ)から(ヲ)のサイクル(あるいは
正常パターン記憶部4に記憶の第1の正常パターンでの
サイクル)が滞りなく進行すると、設備は1サイクル正
常に動作したことが確認され、上記第2表の作動パター
ンが第2の正常パターンとして正常パターン記憶部4に
登録される。
Then, the cycle from (i) to (wo) is completed, and then the same cycle from (i) to (wo) (or the cycle in the first normal pattern stored in the normal pattern storage unit 4). When the process proceeds without delay, it is confirmed that the equipment has normally operated for one cycle, and the operation pattern in Table 2 is registered in the normal pattern storage unit 4 as the second normal pattern.

従って、以後は、作動パターンはまず第1の正常パター
ンと比較され、不一致の作動パターンがあれば第2の正
常パターンと比較されることになる。
Therefore, thereafter, the operation pattern is first compared with the first normal pattern, and if there is a mismatched operation pattern, it is compared with the second normal pattern.

なお、モニタのスタートに際しては、設備の起動入力を
受けてその時のI/O状態に一致する正常パターンを正常
パターン記憶部で検索することにより、設備がその動作
の原点(例えばステップ1)の状態にない場合でも、設
備の現状に同期させて上記一致する正常パターンのステ
ップからモニタをスタートさせることができ、また、こ
のスタート時には診断出力のイニシャライズ等を行なう
ことになる。
When starting the monitor, the equipment receives the start input and searches the normal pattern storage section for a normal pattern that matches the I / O status at that time, so that the equipment is at the origin (for example, step 1) of its operation. Even if it does not exist, the monitor can be started from the step of the above-mentioned normal pattern in synchronism with the current condition of the equipment, and the diagnostic output is initialized at this start.

また、作動パターンと正常パターンとの比較において
は、上記実施例の如く単なる対応するステップでのパタ
ーン不一致を異常と判定してもよいが、対応する監視ス
テップでの不一致のとき他のステップに一致する正常パ
ターンがあれば、その一致するところに監視すべきステ
ップを変更して以降のモニタを行なうようにし、一致す
る正常パターンが皆無のときのみ異常と判定するなど、
他の判定手法を用いてもよい。
Further, in the comparison between the operation pattern and the normal pattern, the pattern mismatch in the corresponding step may be judged as abnormal as in the above-mentioned embodiment, but when the mismatch in the corresponding monitoring step occurs, the other patterns are matched. If there is a normal pattern to be matched, the step to be monitored is changed to the matching position so that the subsequent monitoring is performed, and it is judged as abnormal only when there is no matching normal pattern.
Other determination methods may be used.

また、診断結果の出力においては、第1,第2、……の各
正常パターンのすべてとの比較において異常と判定され
るときのみ、その結果を出力することもできるが、まず
第1の正常パターンとの比較で異常があればそれを指摘
し、その後の作業者側の要求に応じて第2,第3の正常パ
ターンとの比較結果を出力するようにしてもよい。
In addition, in outputting the diagnosis result, the result can be output only when it is determined to be abnormal in comparison with all the normal patterns of the first, second, ... If there is an abnormality in the comparison with the pattern, it may be pointed out, and the comparison result with the second and third normal patterns may be output in response to the subsequent request from the operator.

さらに、記憶にない作動パターンがあるとき、それ以降
の各作動パターンについては、先に記憶している正常パ
ターンと異なる内容のもののみ一時記憶するようにして
もよい。さらには、正常パターンとして新たに登録する
場合、1サイクルの全作動パターンを登録するのではな
く、記憶にない作動パターン以降のもののみ(先の例で
は(ホ)から(ヲ)まで)を登録したり、あるいは、ス
テップ数が同じであれば、記憶にない作動パターンのみ
(先の例では(ホ)のみ)を登録するようにしてもよ
い。
Furthermore, when there is an operation pattern that is not stored in memory, only the operation patterns that are different from the previously stored normal pattern may be temporarily stored. Furthermore, when newly registering as a normal pattern, instead of registering all operation patterns for one cycle, only the operation patterns that are not stored in memory (from (e) to (e) in the previous example) are registered. Alternatively, if the number of steps is the same, only the operation pattern that is not stored (only (e) in the previous example) may be registered.

また、記憶にない作動パターンが生じた場合の設備の動
作確認においては、この記憶にない作動パターンが生じ
たステップを基準とする1サイクル(先の例では(ヘ)
→(ヲ)→(イ)→(ホ))、つまり少なくとも上記
(ホ)のステップが次にあるまで設備が停止することな
く動作して作動パターンの推移があるとき、設備の動作
は正常と判断してもよい。
In addition, when confirming the operation of the equipment when an operation pattern that is not stored in the memory occurs, one cycle (in the previous example, (f)
→ (wo) → (b) → (e)), that is, when the equipment operates without stopping until there is at least the step (e) above and there is a transition in the operation pattern, the equipment operation is normal. You may judge.

さらには、記憶にない作動パターンが生じたとき、該当
する不一致の要素(先の例ではLS1とLS3)が次に変化す
るステップまで(先の例では(ヘ)ないしは(ト)ま
で)作動パターンの推移があれば、設備の動作は正常と
判断するようにしてもよい。
Furthermore, when an operation pattern that is not stored in memory occurs, the operation pattern until the step where the corresponding non-matching element (LS1 and LS3 in the previous example) changes next time (up to (f) or (to) in the previous example) If there is a transition of, the operation of the equipment may be judged to be normal.

さらに、新たに作動パターンを正常パターンとして登録
した際、先の異常診断の出力はクリヤするが、その出力
の記録は残しておいてもよい。
Furthermore, when the operation pattern is newly registered as a normal pattern, the output of the previous abnormality diagnosis is cleared, but the output may be recorded.

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

図面は本発明の実施例を示し、第1図はモニタ装置の構
成を示すブロック図、第2図はモニタの学習制御のフロ
ー図、第3図は設備の一例を示す平面図、第4図は同例
のシーケンス制御回路図である。 1……設備、2……I/O状態入力部、3……変化検出
部、4……正常パターン記憶部、5……診断処理部、9
……動作確認部、10……正常パターン登録部。
Drawing shows an embodiment of the present invention, FIG. 1 is a block diagram showing the configuration of a monitor device, FIG. 2 is a flow chart of learning control of a monitor, FIG. 3 is a plan view showing an example of equipment, and FIG. FIG. 3 is a sequence control circuit diagram of the same example. 1 ... Equipment, 2 ... I / O status input section, 3 ... Change detection section, 4 ... Normal pattern storage section, 5 ... Diagnostic processing section, 9
…… Operation check part, 10 …… Normal pattern registration part.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】設備の動作順序を指定したプログラムによ
り制御の各段階を逐次進めていくシーケンスプログラム
制御系において、制御系を構成する各要素の作動状態の
変化を検出する変化検出部と、設備の正常動作時におけ
る各要素の作動パターンをそのパターンが変化する各ス
テップ毎に記憶する正常パターン記憶部と、変化検出部
での検出により得られる実際の作動パターンと正常パタ
ーン記憶部の正常パターンとを比較し制御状態を診断す
る診断処理部と、この診断処理部で正常パターンと異な
る作動パターンが得られたときその後の設備の動作に異
常があるか否かを作動パターンの推移の進行状況に基い
て判定する動作確認部と、この動作確認部による異常な
しの判定を受けて上記異なる作動パターンを正常動作の
パターンとして正常パターン記憶部に登録する正常パタ
ーン登録部とを備えていることを特徴とするシーケンス
プログラム制御系のモニタ装置。
1. In a sequence program control system in which each step of control is sequentially advanced by a program designating an operation sequence of equipment, a change detecting section for detecting a change in operating state of each element constituting the control system, and equipment. The normal pattern storage unit that stores the operation pattern of each element during each normal operation of each step in which the pattern changes, the actual operation pattern obtained by the detection by the change detection unit, and the normal pattern of the normal pattern storage unit. The diagnostic processing unit that compares the control status and the diagnostic processing unit, and when this diagnostic processing unit obtains an operation pattern that is different from the normal pattern, determines whether there is an abnormality in the operation of the equipment after that in the progress status of the operation pattern transition. Based on the operation confirmation unit that determines based on this, and the operation confirmation unit determines that there is no abnormality, the different operation pattern described above is corrected as a normal operation pattern. Sequence program control system of the monitoring device, characterized in that it comprises a normal pattern registration unit for registering in the pattern storage unit.
JP62148797A 1987-06-15 1987-06-15 Monitor device for sequence program control system Expired - Lifetime JPH0675244B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62148797A JPH0675244B2 (en) 1987-06-15 1987-06-15 Monitor device for sequence program control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62148797A JPH0675244B2 (en) 1987-06-15 1987-06-15 Monitor device for sequence program control system

Publications (2)

Publication Number Publication Date
JPS63311510A JPS63311510A (en) 1988-12-20
JPH0675244B2 true JPH0675244B2 (en) 1994-09-21

Family

ID=15460921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62148797A Expired - Lifetime JPH0675244B2 (en) 1987-06-15 1987-06-15 Monitor device for sequence program control system

Country Status (1)

Country Link
JP (1) JPH0675244B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7214555B2 (en) 1995-03-18 2007-05-08 Semiconductor Energy Laboratory Co., Ltd. Method for producing display device
WO2016017944A1 (en) * 2014-07-28 2016-02-04 주식회사 유디엠텍 System and method for notifying abnormal state of automated process

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7214555B2 (en) 1995-03-18 2007-05-08 Semiconductor Energy Laboratory Co., Ltd. Method for producing display device
US7483091B1 (en) 1995-03-18 2009-01-27 Semiconductor Energy Laboratory Co., Ltd. Semiconductor display devices
WO2016017944A1 (en) * 2014-07-28 2016-02-04 주식회사 유디엠텍 System and method for notifying abnormal state of automated process

Also Published As

Publication number Publication date
JPS63311510A (en) 1988-12-20

Similar Documents

Publication Publication Date Title
US3908117A (en) Method and apparatus for monitoring and diagnosing troubles in sequential control operations
JP5021547B2 (en) Automatic machine monitoring equipment
US5742624A (en) Fault detecting apparatus and method
JPH0675244B2 (en) Monitor device for sequence program control system
JPH06314117A (en) Method and device for fault diagnosis
JP2008009792A (en) Communication control system and communication control method
JPH0677216B2 (en) Monitor device for sequence program control system
JPS63303407A (en) Monitoring device for sequence program control
JP2590108B2 (en) Monitor for sequence program control system
JPH083749B2 (en) Monitor device for sequence program control system
JP2574726B2 (en) Equipment machine abnormality detection device
JP2737878B2 (en) Monitor for sequence program control system
JPS63311509A (en) Monitor device for sequence program control system
JPH0657377B2 (en) Processing tool processing equipment in FMS
JP2642367B2 (en) Monitor for sequence program control system
JPS62157762A (en) Equipment diagnosing device
JPH01274208A (en) Monitoring device for sequence program control system
KR100227890B1 (en) Product line controller and its controlling method
JPS60158981A (en) Control system of welding in robot
JPH08292894A (en) Digital controller
JPH0585308B2 (en)
JPH0966443A (en) Production line management system and production line abnormality detection method
JPH01276205A (en) Monitoring device for sequence program control system
JPH01274206A (en) Method for grouping sequence program control system monitor
JPH02176805A (en) Trouble diagnostic device for input/output control