JPH01109412A - Monitor for sequence program control system - Google Patents

Monitor for sequence program control system

Info

Publication number
JPH01109412A
JPH01109412A JP62266925A JP26692587A JPH01109412A JP H01109412 A JPH01109412 A JP H01109412A JP 62266925 A JP62266925 A JP 62266925A JP 26692587 A JP26692587 A JP 26692587A JP H01109412 A JPH01109412 A JP H01109412A
Authority
JP
Japan
Prior art keywords
abnormal
basic pattern
comparison
operating state
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.)
Granted
Application number
JP62266925A
Other languages
Japanese (ja)
Other versions
JPH083749B2 (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 JP62266925A priority Critical patent/JPH083749B2/en
Publication of JPH01109412A publication Critical patent/JPH01109412A/en
Publication of JPH083749B2 publication Critical patent/JPH083749B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To continue the monitoring even when an abnormal signal occurs at a certain element by removing an abnormal element to generate an abnormality from the object of a monitor when the return is not normally executed. CONSTITUTION:An operation condition change detecting part 31 detects whether or not the change is executed to the operation condition of the element of either of the facilities and a comparing object extracting part 33 extracts the basic pattern of the step from a basic pattern storing part 34 and a comparing and deciding part 32 executes the comparing and decision of these outputs. When an operation pattern is not coincident with the basic pattern, the inconsistency signal is outputted to a deciding result output part 35 and an abnormal element storing part 36. The abnormal element storing part 36 outputs a signal to show what the abnormal element is, to the comparing object extracting part 33 and an abnormal element checking part 37. Thus, the element to generate the abnormality is removed from the object of the monitor when it is not returned, the existence of the abnormal element is considered, the step of the basic pattern is selected and therefore, second and third elements can be accurately detected.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、シーケンスプログラム制御系のモニタ装置に
関するものであり、さらに詳細には、シーケンスプログ
ラム制御系のプレイバック式モニタ装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a monitor device for a sequence program control system, and more particularly to a playback type monitor device for a sequence program control system.

先行技術 制御すべき設備の動作順序を指定したプログラムにした
がって、制御の各段階を順次進めてゆくようにしたシー
ケンスプログラム制御は、機械器具の組立ラインや工作
機械などにおいて、前段階の動作に応じて次段階の動作
を自動的におこなわせるために、広く利用されている。
PRIOR ART Sequence program control, which proceeds through each step of control in sequence according to a program that specifies the order of operation of the equipment to be controlled, is used in assembly lines of machinery and equipment, machine tools, etc. It is widely used to automatically perform the next step.

シーケンスプログラム制御を用いて、各種の制御をおこ
なう場合、制御が正常になされているか否かをモニタす
ることが必要であり、そのためのモニタ装置として、い
わゆるプレイバック式のモニタ装置が知られている(特
開昭60−238906号公報など)。これは、設備を
正常に動作させた際のシーケンス制御回路の各構成要素
の作動パターン(基本パターン)を、あらかじめ順次記
憶させておき、設備の実際の稼動時に、作動パターンが
記憶していたも′のと一致しているか否かを、順次対応
するステップ毎に照合し、不一致のときに、異常発生の
警報を発するものである。
When performing various types of control using sequence program control, it is necessary to monitor whether the control is being performed normally or not, and a so-called playback type monitor device is known as a monitor device for this purpose. (Japanese Unexamined Patent Publication No. 60-238906, etc.). This is because the operating patterns (basic patterns) of each component of the sequence control circuit are memorized sequentially in advance when the equipment is operated normally, and the operating patterns are memorized when the equipment is actually operated. ' is checked in each corresponding step, and if they do not match, an alarm is issued to indicate the occurrence of an abnormality.

発明の解決しようとする問題点 しかしながら、このようなプレイバック式のモニタ装置
においては、1つの要素に異常が発生した場合には、そ
の後のモニタは不可能になってしまうという問題があっ
た。すなわち、1つの要素に異常が発生し、その後、そ
の異常が回復したときには、その要素の変化は、本来生
ずるべきでないステップにおいて生ずるため、正常な要
素が異常と判定されることになったり、また、1つの要
素に異常が発生することにより、マツチングすべき基本
パターンのステップがずれてしまい、正常パターンとの
マツチングが図れなくなり、その後のモニタは不可能に
なってしまう。したがって、1つの要素に異常が発生す
ると、その後、設備が正常に稼動しているときでも、作
業を中断して、異常箇所を検査する必要が生じ、異常が
モニタ装置の誤動作による場合や異常がただちに回復し
た場合など、いたずらに設備の稼動効率を低下させるこ
とになるという問題があった。
Problems to be Solved by the Invention However, in such a playback type monitoring device, there is a problem in that if an abnormality occurs in one element, subsequent monitoring becomes impossible. In other words, when an abnormality occurs in one element and the abnormality is subsequently recovered, a change in that element occurs at a step that should not occur in the first place, so a normal element may be determined to be abnormal, or When an abnormality occurs in one element, the step of the basic pattern to be matched shifts, making it impossible to match it with the normal pattern, and subsequent monitoring becomes impossible. Therefore, if an abnormality occurs in one element, it becomes necessary to interrupt work and inspect the abnormality even when the equipment is operating normally. There is a problem in that when the system recovers immediately, the operating efficiency of the equipment is unnecessarily reduced.

発明の目的 本発明は、ある要素に異常信号が発生しても、モニタを
続行することのできるシーケンスプログラム制御系のモ
ニタ装置を提供することを目的とするものである。
OBJECTS OF THE INVENTION An object of the present invention is to provide a sequence program control system monitor device that can continue monitoring even if an abnormal signal occurs in a certain element.

発明の構成 本発明のかかる目的は、シーケンスプログラム制御系を
構成する各要素の作動状態の変化を検出する作動状態変
化検出手段と、各要素の作動パターンと基本パターンと
を比較し、異常の発生の有無を判定する比較判定手段と
、異常の発生した異常要素を、正常に復帰しないかぎり
、モニタの対象からはずす比較対象チエツク手段と、前
記異常要素の作動状態に変化が生じたステップにおいて
は、他の要素の作動状態が同時に変化しないときは、つ
ぎのステップの基本パターンを前記比較判定手段に入力
し、他の要素の作動状態が同時に変化するときには、そ
のステップの基本パターンを前記比較判定手段に入力す
る比較対象抽出手段を設けることによって達成される。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an operating state change detection means for detecting changes in the operating state of each element constituting a sequence program control system, and to compare the operating pattern of each element with a basic pattern to detect the occurrence of an abnormality. a comparison determination means for determining the presence or absence of an abnormality; a comparison target checking means for excluding an abnormal element in which an abnormality has occurred from being monitored unless the abnormality returns to normal; and a step in which a change has occurred in the operating state of the abnormal element; When the operating states of other elements do not change at the same time, the basic pattern of the next step is input to the comparison and determination means, and when the operating states of other elements change simultaneously, the basic pattern of that step is input to the comparison and determination means. This is achieved by providing a comparison target extraction means for inputting the data into the data.

本発明において、前記各手段は、物理的に独立した手段
であることを要せず、かかる各機能をモニタ装置が有し
、全体として前記機能が実現できるものであればよい。
In the present invention, each of the above-mentioned means does not need to be physically independent means, but it is sufficient that the monitor device has each of these functions and can realize the above-mentioned functions as a whole.

実施例 以下、添付図面に基づき、本発明の実施例について詳細
に説明を加える。
EXAMPLES Hereinafter, examples of the present invention will be described in detail based on the accompanying drawings.

第1図は、本発明の実施例にかかるシーケンスプログラ
ム制御系のモニタ装置により、モニタされる設備の一例
を示す概略図である。
FIG. 1 is a schematic diagram showing an example of equipment monitored by a monitor device of a sequence program control system according to an embodiment of the present invention.

第1図において、ワークWは、準備ステーション1から
、送り手段(SOLI) 2により、モータ (M)3
により駆動されるコンベア4へ送られ、加工ステージョ
ン5において、加工手段(SQL2) 6によって、所
定の加工を受け、取り出される。準備ステーション1、
コンベア4の始点と中間点および加工ステージョン5に
は、それぞれ、ワークWを検出するリミットスイッチ(
LSI、 LS2.  LS3.  LS4) 7〜l
Oが設けられ、加工手段6には、その後退端と前進端と
を検出するリミットスイッチ(LS5. LS6)11
、12が設けられている・。また、加工ステージョン5
の近傍には、安全マット13が敷設されており、作業者
が乗ると、設備停止信号を出力するスイッチ(安全マツ
)S)14が設けられている。
In FIG. 1, a workpiece W is transferred from a preparation station 1 to a motor (M) 3 by a feeding means (SOLI) 2.
It is sent to a conveyor 4 driven by a processing station 5, where it undergoes predetermined processing by a processing means (SQL2) 6, and is taken out. Preparation station 1,
A limit switch (
LSI, LS2. LS3. LS4) 7~l
The processing means 6 is provided with limit switches (LS5, LS6) 11 for detecting its backward end and forward end.
, 12 are provided. In addition, processing station 5
A safety mat 13 is laid near the machine, and a switch (safety mat) S) 14 is provided that outputs an equipment stop signal when a worker gets on the machine.

第2図には、第1図に示された設備の制御回路が示され
ている。
FIG. 2 shows a control circuit for the equipment shown in FIG.

自動運転ボタン15を押すと、リレー手段16a 〜1
6cが作動し、自動切換スイッチ(自動切換5)17、
安全マッドスイッチ(安全マツl−3)14および停止
スイッチ18が作動しないかぎり、通電が保持される。
When the automatic operation button 15 is pressed, the relay means 16a to 1
6c is activated, automatic changeover switch (automatic changeover 5) 17,
Energization is maintained unless the safety mud switch (safety mud switch 1-3) 14 and the stop switch 18 are activated.

ワークWが準備ステーション1にあって、コンベア4上
および加工ステージョン5にはなく、加工手段6が後退
端にあるとき(LSIとLS5はオン、LS2〜LS4
はオフ) 、送り手段(SOLI) 2は、リレー手段
19a 、 19bの作動により、ワークWをコンベア
4上に送る。
When the workpiece W is in the preparation station 1, not on the conveyor 4 or in the processing station 5, and the processing means 6 is at the backward end (LSI and LS5 are on, LS2 to LS4
is off), the feeding means (SOLI) 2 sends the workpiece W onto the conveyor 4 by actuation of the relay means 19a and 19b.

コンベア4は、ワークWが、その上にあって、加工ステ
ージョン5にはないとき(LS2またはLS3 はオン
、LS4 はオフ)、リレー手段20a、 20bの作
動により、モータ(M)3が作動して、ワークWを加工
ステージョン5に送る。加工手段6は、前進端になく 
(LS6がオフ) 、ワークWが加工ステージョン5に
あり(LS4がオン) 、後退用のリレー手段(SOL
2R) 21cが作動していないとき、前進用リレー手
段(SOt、2F)21d、 21eの作動によって、
前進して、ワークWに所定の加工を施し、前進端に来る
と(LS6がオン) 、後退端検出用リミットスイッチ
(LS5)  がオフで、前進用リレー手段(SQL2
F>21fが作動していないとき、後退用リレー手段(
SQL2R)21a 、 21bが作動して後退する。
When the workpiece W is on the conveyor 4 and not in the processing station 5 (LS2 or LS3 is on, LS4 is off), the motor (M) 3 is actuated by the actuation of the relay means 20a and 20b. Then, the workpiece W is sent to the processing station 5. The processing means 6 is not at the forward end
(LS6 is off), the workpiece W is in machining station 5 (LS4 is on), and the relay means for retreat (SOL
2R) When 21c is not operating, forward relay means (SOt, 2F) 21d, 21e are activated,
When the workpiece W moves forward and performs the specified processing, and reaches the forward end (LS6 is turned on), the backward end detection limit switch (LS5) is turned off and the forward relay means (SQL2) is turned off.
When F>21f is not activated, the reverse relay means (
SQL2R) 21a and 21b are activated and retreat.

この設備のシーケンス制御の基本パターンは、第1表の
ようになる。第1表において、0はオフ状態を、1はオ
ン状態を、それぞれ示している。
The basic pattern of sequence control for this equipment is shown in Table 1. In Table 1, 0 indicates an off state and 1 indicates an on state.

第  1  表 第3図は、本発明の実施例にかがるシーケンスプログラ
ム制御系のモ二り装置のブロック図である。
Table 1 and FIG. 3 are block diagrams of a monitoring device for a sequence program control system according to an embodiment of the present invention.

第3図において、シーケンスプログラム制御すべき設備
の各要素の作動状態を入力する作動状態入力部30に入
力された信号に基づいて、作動状態変化検出部31はい
ずれかの要素の作動状態に変化があったか否かを検出し
、比較判定部32に出力する。比較対象抽出部33は、
第1表に示される基本パターンがあらかじめ記憶されて
いる基本パターン記憶部34より、マツチングすべきス
テップのパターンを抽出し、比較判定部32に出力する
。比較判定部32は、これと作動状態変化検出部31か
らの出力との比較判定をおこなう。すなわち、ワークW
が、準備ステーション1にあって、コンベア4上および
加工ステージョン5にはない状態で、自動運転ボタン1
5を押し、送り手段2が作動した状態(ステップ1)で
モニタをスタートしたとき、ワークWが準備ステーショ
ン1より送り出されることによって、リミットスイッチ
LSIが(l→0)と変化すると、その変化が作動状態
変化検出i31により検出され、比較判定部32におい
て、そのときの作動パターンが比較対象抽出部33に記
憶された基本パターンのステップ2のパターンと比較さ
れる。これら2つのパターンが一致しているときは、「
正常」と判定され、判定結果出力部35に出力される。
In FIG. 3, based on a signal input to an operating state input section 30 that inputs the operating state of each element of the equipment to be controlled by a sequence program, an operating state change detection section 31 detects a change in the operating state of any element. Detects whether or not there is a difference, and outputs it to the comparison/judgment section 32. The comparison target extraction unit 33
A pattern of steps to be matched is extracted from the basic pattern storage section 34 in which the basic patterns shown in Table 1 are stored in advance, and outputted to the comparison/judgment section 32. The comparison and determination section 32 compares and determines this with the output from the operating state change detection section 31. That is, the work W
is in the preparation station 1 and not on the conveyor 4 or in the processing station 5, and the automatic operation button 1 is pressed.
5 is pressed and the monitor is started with the feeding means 2 activated (step 1), when the limit switch LSI changes from (l→0) as the workpiece W is sent out from the preparation station 1, the change is It is detected by the operating state change detection i31, and the operating pattern at that time is compared with the pattern of step 2 of the basic pattern stored in the comparison target extracting section 33 in the comparison determining section 32. When these two patterns match, "
It is determined that the result is "normal" and is output to the determination result output section 35.

つぎに、リミットスイッチLS2が(0→1)と変化す
るとともに、送り手段5OLIが(1→0)と変化した
ことを、作動状態変化検出部31が検出すると、比較判
定部32において、ステップ3のパターンの比較がなさ
れる。
Next, when the operating state change detection section 31 detects that the limit switch LS2 changes from (0 to 1) and the feeding means 5OLI changes from (1 to 0), the comparison and determination section 32 performs step 3. A comparison of patterns is made.

このように、作動パターンが変化するたびに、新たなス
テップのパターンとそのステップに対応する基本パター
ンが比較されて、作動パターンが正常か否かが判定され
る。そして、たとえば、ステップ4の状態で、リミット
スイッチLS3が故障して、オン(1)になると、作動
パターンは、第2表に示されるようになる。
In this way, each time the operating pattern changes, the new step pattern and the basic pattern corresponding to that step are compared to determine whether the operating pattern is normal. For example, in the state of step 4, if the limit switch LS3 fails and turns on (1), the operation pattern will be as shown in Table 2.

第2表と第1表とを比較すると、ステップ4において、
リミットスイッチLS3が、オン(1)になっている点
で、作動パターンは、基本パターンと一致していない。
Comparing Table 2 and Table 1, in step 4,
The operating pattern does not match the basic pattern in that the limit switch LS3 is on (1).

したがって、比較判定部32は不一致の出力信号を判定
結果出力部35に出力するが、同時に、異常要素記憶部
36にも出力し、不一致のあった要素、この例では、リ
ミットスイッチLS3 に異常があったことを記憶させ
る。異常要素記憶部36は、比較判定部32から信号を
受けたときは、異常のあった要素が何かを示す信号を比
較対象抽出部33および異常要素チエツク部37に出力
する。
Therefore, the comparison/judgment section 32 outputs a mismatch output signal to the judgment result output section 35, but also outputs it to the abnormal element storage section 36, indicating that the mismatched element, in this example, the limit switch LS3, is abnormal. Make me remember what happened. When the abnormal element storage unit 36 receives a signal from the comparison and determination unit 32, it outputs a signal indicating the abnormal element to the comparison target extraction unit 33 and the abnormal element check unit 37.

第  2  表 ついで、リミットスイッチLSIがオフからオン(0→
1)になったことを、変化検出部31が検出すると、異
常要素チエツク部37に入力され、変化した要素が、異
常要素記憶部36に記憶されたものか否かが判定され、
その結果が、比較判定部32に出力される。比較判定部
32は、変化検出部31が検出した変化のあった要素が
、異常要素記憶部36に記憶されている要素であるとき
は、比較判定を右こなわず、異常要素記憶部36に記憶
されている要素でないときにかぎり、比較判定をおこな
う。この際、−旦、「異常」ありと判定された要素につ
いては、「正常」に復帰しないかぎり、基本パターンと
作動パターンとで、不一致があっても、こ −れを無視
し、それ以外の要素についてのみ、基本パターンとを比
較判定をおこなう。
Following Table 2, the limit switch LSI changes from off to on (0 →
1), when the change detection section 31 detects that the changed element is input to the abnormal element check section 37, it is determined whether or not the changed element is stored in the abnormal element storage section 36.
The result is output to the comparison/judgment section 32. When the changed element detected by the change detection unit 31 is an element stored in the abnormal element storage unit 36, the comparison determination unit 32 does not perform the comparison determination and stores the change in the abnormal element storage unit 36. A comparison is made only when the element is not a stored element. At this time, even if there is a discrepancy between the basic pattern and the operation pattern for the element that was previously determined to be "abnormal", this will be ignored unless it returns to "normal", and the other Only elements are compared and judged with the basic pattern.

この例では、変化したのは、リミットスイッチLSI 
であり、それは、異常要素記憶部36に記憶された要素
ではないから、比較判定部32は、そのまま、ステップ
5について、作動パターンと基本パターンの比較をおこ
ない、判定結果を判定結果出力部35に出力する。この
例では、なんらの異常もないから、「正常」との信号が
出力される二さらに、リミットスイッチLS4および5
QL2Fが変化するが、これらは、やはり、異常要素記
憶部36に記憶されている要素ではないから、比較判定
部32は、そのステップの作動パターンと基本パターン
との比較をおこなうが、ステップ5に続くステップ60
基本パターンは、異常要素記憶l536に記憶されてい
る異常のあった要素であるリミットスイッチLS3のみ
が変化する゛ステップであるので、そのまま、作動パタ
ーンをステップ60基本パターンと比較するときは、リ
ミットスイッチLS4 右よび5OL2Fに「異常」あ
りとの誤判定をすることになる。そこで、比較がなされ
るのが、異常要素記憶部36に記憶されている要素のみ
が変化するステップである場合には、比較対象抽出B3
3は、lステップ進んだステップの基本パターンを、比
較判定als32に出力する。この例では、ステップ6
に続くステップ7もまた、異常要素記憶1B36に記憶
されている要素のみが変化するステップであるので、こ
の基本パターンのステップを進める操作が2回おこなわ
れ、結局、比較対象抽出部33は、2ステップ進んだス
テップの基本パターンを、比較判定部32に出力する。
In this example, what has changed is the limit switch LSI.
Since this is not an element stored in the abnormal element storage unit 36, the comparison/judgment unit 32 directly compares the operating pattern and the basic pattern in step 5, and sends the determination result to the determination result output unit 35. Output. In this example, there is no abnormality, so a "normal" signal is output.In addition, limit switches LS4 and 5
Although QL2F changes, these are still not the elements stored in the abnormal element storage unit 36, so the comparison determination unit 32 compares the operation pattern of that step with the basic pattern, but in step 5 Next step 60
The basic pattern is a step in which only the limit switch LS3, which is the element with the abnormality stored in the abnormal element memory 1536, changes, so when comparing the operation pattern with the step 60 basic pattern, the limit switch LS4 right and 5OL2F will be incorrectly determined to have an "abnormality". Therefore, when the comparison is made in a step in which only the elements stored in the abnormal element storage unit 36 change, the comparison target extraction B3
3 outputs the basic pattern of the step advanced by l steps to the comparison judgment als32. In this example, step 6
Step 7 following is also a step in which only the elements stored in the abnormal element memory 1B36 change, so the operation of advancing the steps of this basic pattern is performed twice, and in the end, the comparison target extraction unit 33 The basic pattern of the next step is output to the comparison/judgment section 32.

、その結果、比較判定部32は、ステップ6および7に
ついては、比較をおこなわず、ステップ8についての比
較判定をおこなうことになる。
As a result, the comparison/judgment unit 32 does not perform the comparison on steps 6 and 7, but performs the comparison/judgment on step 8.

つぎに、リミットスイッチLS5がオンからオフ(1→
0)になるとともに、異常のあったリミットスイッチL
S3がなんらかの原因で「正常」に復帰して、オンから
オフ(l→0)になり、変化検出部31がこれらを検出
すると、検出信号を比較判定部32および異常要素チエ
ツク部37に出力する。
Next, limit switch LS5 changes from on to off (1→
0), and the limit switch L that was abnormal
When S3 returns to "normal" for some reason and changes from on to off (l→0), and the change detection section 31 detects these, it outputs a detection signal to the comparison determination section 32 and abnormal element check section 37. .

ここに、異常要素記憶部36に記憶されている要素以外
の要素の作動状態も変化しているから、異常要素チエツ
ク部37は、比較判定実行命令を比較判定部32に出力
し、比較判定部32でステップ9についての判定がおこ
なわれる。この際、異常要素記憶部36に記憶されてい
るリミットスイッチLS3については、パターン比較が
なされないのは前述のとおりである。しかし、もし、こ
のステップ9における作動状態の変化が、異常のあった
リミットスイッチLS3が「正常」に復帰しただけであ
るときは、それは偶発的な変化であり、そもそも基本パ
ターンの予想するものではないから、つぎのステップの
基本パターンと比較するときは、つぎのステップで変化
すべき要素につき、「正常」であるにもかかわらず、「
異常」の判定がなされることになる。そこで、異常要素
記憶部36に記憶されている要素以外の要素の作動状態
の変化がないときは、異常要素チエツク部37は、比較
判定実行命令を比較判定部32に出力せず、ステップ9
についての比較判定はおこなわないようにしている。
Here, since the operating states of elements other than the elements stored in the abnormal element storage section 36 are also changing, the abnormal element check section 37 outputs a comparison judgment execution command to the comparison judgment section 32, and the comparison judgment section At 32, a determination regarding step 9 is made. At this time, as described above, the pattern comparison is not performed for the limit switch LS3 stored in the abnormal element storage section 36. However, if the change in the operating state in step 9 is simply that the faulty limit switch LS3 returns to "normal", then this is an accidental change and is not what the basic pattern predicts in the first place. Therefore, when comparing with the basic pattern of the next step, it is important to note that the elements that should change in the next step are "normal" but "
A determination of "abnormal" will be made. Therefore, when there is no change in the operating state of the elements other than the elements stored in the abnormal element storage section 36, the abnormal element check section 37 does not output a comparison judgment execution command to the comparison judgment section 32, and step 9
I am trying not to make any comparative judgments about.

第4図は、そのモニタ方法を示すフローチャートである
FIG. 4 is a flowchart showing the monitoring method.

第4図において、まず、設備を構成する各要素の作動状
態を作動状態入力11S30により、モニタ装置に入力
し、いずれかの要素の作動状態に変化があったか否かが
、作動状態変化検出B31により検出される。その結果
、いずれの要素の作動状態にも変化がないときは、作動
状態が変化するまで検出が続けられる。作動状態変化検
出部31により、いずれかの要素の作動状態に変化があ
ったと判定されたときは、異常要素チエツク部37にお
いて、その要素がモニタの開始後、異常と判定された要
素でまだ正常に復帰していない要素(以下、異常要素と
いう。)か否かが判定される。モニタの開始時には、ま
だ異常要素はないから、この判定結果は、イエスであり
、ついで、異常要素チエツク部37は、異常要素以外に
も作動状態に変化があった要素があったか否かを判定す
る。この判定結果も、モニタの開始時には、イエスとな
り、ステップが1つ進められる。モニタの開始時は、ス
テップ0が1ステップ進められて、ステップ1とされる
。つぎに、そのステップに対応する基本パターンのステ
ップが、異常要素のみが変化するステップか否かが、比
較対象抽出部33によって判定される。モニタの開始時
には、この判定結果は、ノーとなり、比較判定B32で
、ステップ1の作動パターンと基本パターン記憶部に記
憶された基本パターンより比較対象抽出部33が抽出し
、比較判定部32に入力されたステップ10基本パター
ンとが比較されて、異常の発生があったか否かが判定さ
れる。
In FIG. 4, first, the operating state of each element constituting the equipment is input to the monitor device through the operating state input 11S30, and whether there is a change in the operating state of any element is detected by the operating state change detection B31. Detected. As a result, if there is no change in the operating state of any element, detection continues until the operating state changes. When the operating state change detection section 31 determines that there has been a change in the operating state of any element, the abnormal element check section 37 checks whether the element is an element determined to be abnormal after the start of monitoring and is still normal. It is determined whether the element has not returned to normal (hereinafter referred to as an abnormal element). At the start of monitoring, there are no abnormal elements yet, so the judgment result is YES. Next, the abnormal element check section 37 judges whether there are any elements whose operating state has changed in addition to the abnormal elements. . This determination result also becomes YES at the start of monitoring, and the step is advanced by one. At the start of monitoring, step 0 is advanced by one step to become step 1. Next, the comparison target extraction unit 33 determines whether the step of the basic pattern corresponding to that step is a step in which only the abnormal element changes. At the start of monitoring, the determination result is NO, and in comparison determination B32, the comparison target extraction unit 33 extracts the operation pattern from step 1 and the basic pattern stored in the basic pattern storage unit, and inputs it to the comparison determination unit 32. The pattern is compared with the basic pattern in Step 10, and it is determined whether or not an abnormality has occurred.

この結果、どの要素にも、異常がないと判定されたとき
は、そのまま、つぎの作動状態の変化の検出がなされる
As a result, when it is determined that there is no abnormality in any element, the next change in the operating state is detected.

他方、判定の結果、作動パターンと基本パターンとの不
一致があるときは、その不一致のあった要素に異常が発
生したと判定し、その要素を、異常要素として、異常要
素記憶部36に記憶させ、スタートに戻り、再び、作動
状態の変化の検出がなされる。そして、いずれかの要素
の作動状態に変化があったと検出されたときは、その要
素が、異常要素記憶部36に記憶されている異常要素か
否かが判定される。
On the other hand, if the result of the determination is that there is a mismatch between the operating pattern and the basic pattern, it is determined that an abnormality has occurred in the element with which the mismatch occurred, and that element is stored in the abnormal element storage section 36 as an abnormal element. , the process returns to the start, and a change in the operating state is detected again. Then, when it is detected that there has been a change in the operating state of any element, it is determined whether that element is an abnormal element stored in the abnormal element storage section 36.

その判定結果が、イエスであるときには、異常要素が正
常に復帰した可能性があるので、フラグをリセットして
、その要素を異常要素からはずし、基本パターンとのマ
ツチングの対象とする。これに対して、判定結果が、ノ
ーであるときは、そのままにして、つぎに進む。
If the determination result is YES, there is a possibility that the abnormal element has returned to normal, so the flag is reset, the element is removed from the abnormal elements, and it is matched with the basic pattern. On the other hand, if the determination result is no, leave it as is and proceed to the next step.

ついで、異常要素以外にも、作動状態が変化した要素が
あったか否かが判定される。この結果、異常要素のみが
変化した判定されたときは、まだ、つぎのステップに移
行してはいないと考えられるので、スタートに戻り、再
び、作動状態の変化の検出がなされる。他方、異常要素
以外の要素の作動状態も変化したときには、ステップが
1つ進んだと考えられるので、ステップを1つ進め、ス
テップ1からステップ2とする。
Next, it is determined whether or not there is an element whose operating state has changed in addition to the abnormal element. As a result, when it is determined that only the abnormal element has changed, it is considered that the next step has not yet been carried out, so the process returns to the start and detects a change in the operating state again. On the other hand, when the operating states of elements other than the abnormal element also change, it is considered that the step has progressed by one, so the step is advanced by one, and Step 1 is changed to Step 2.

つぎに、そのステップ(この場合は、ステップ2)が基
本パターンにおいて、異常要素のみが変化するステップ
か否かが、比較対象抽出部33により判定される。その
結果がイエスのときは、異常要素につき必ず不一致が生
ずるから、そのステップの基本パターンと比較しても意
味がなく、したがって、さらに基本パターンの1つステ
ップが進められ、ステップ3の基本パターンと作動パタ
ーンが比較されることになる。他方、その判定結果が、
ノーのときは、ステップが進められることなく、ステッ
プ2について、比較判定部32で、基本パターンとのマ
ツチングがおこなわれる。
Next, the comparison target extraction unit 33 determines whether the step (in this case, step 2) is a step in which only the abnormal element changes in the basic pattern. If the result is YES, there will always be a discrepancy regarding the abnormal element, so there is no point in comparing it with the basic pattern of that step.Therefore, the basic pattern is further advanced one step, and the basic pattern of step 3 is compared with the basic pattern. Actuation patterns will be compared. On the other hand, the judgment result is
When the answer is NO, the step is not advanced, and the comparison/determination section 32 performs matching with the basic pattern in step 2.

本実施例によれば、異常が発生した要素については、そ
の後、正常に復帰しないかぎり、モニタの対象からはず
すとともに、この異常要素の存在を語酌して、マツチン
グすべき基本パターンのス −テップを選択しているか
ら、いたずらに設備の稼動を止めたりすることもなく、
第2、第3の異常を精度よく検出することができ、モニ
タ装置の信頼性を大幅に高めることが可能となる。さら
に、異常が発生した要素がなにかを順次記憶させている
ので、異常発生によって、設備が停止に至った場合にも
、異常が発生した各要素をすべて性格に把握することが
でき、設備が停止に至った根本原因を究明し、異常ない
し故障の再発を的確に防止することが可能となる。
According to this embodiment, an element in which an abnormality has occurred is removed from the monitoring target unless it returns to normal, and the step of the basic pattern to be matched is determined by taking into consideration the existence of this abnormal element. Because we have selected
The second and third abnormalities can be detected with high accuracy, and the reliability of the monitoring device can be greatly improved. Furthermore, since the elements in which the abnormality occurred are stored in sequence, even if the equipment stops due to an abnormality, it is possible to understand all the elements that caused the abnormality, and the equipment will stop. It becomes possible to investigate the root cause of the problem and accurately prevent recurrence of the abnormality or failure.

本発明は、以上の実施例に限定されることな(特許請求
の範囲に記載された発明の範囲内で種々の変更が可能で
あり、それらも本発明の範囲内に包含されるものである
ことはいうまでもない。
The present invention is not limited to the above embodiments (various changes are possible within the scope of the invention described in the claims, and these are also included within the scope of the present invention). Needless to say.

たとえば、前記実施例に右いては、あたかもいくつかの
物理的に独立した手段が、モ二り装置内に設けられるか
のように説明したが、前記各手段は物理的に独立した手
段であることを要せず、たとえば、ソフト的に前記各機
能を実現してもよく、モニタ装置が前記の作用を全体と
して果たすことができるものであればよい。
For example, in the above embodiments, the description has been made as if several physically independent means were provided in the monitoring device, but each of the above means is a physically independent means. For example, each of the above functions may be realized by software, as long as the monitor device can fulfill the above functions as a whole.

発明の効果 本発明によれば、第1の異常の発生後も、シーケンスプ
ログラム制御のモニタを続行することができるとともに
、第2、第3の異常を精度よく検出することができ、設
備の復旧を容易にし、設備の稼動率を向上させることが
可能となる。
Effects of the Invention According to the present invention, even after the occurrence of the first abnormality, it is possible to continue monitoring the sequence program control, and the second and third abnormalities can be detected with high accuracy, allowing equipment to be restored. This makes it possible to improve the operating rate of equipment.

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

第1図は、本発明の実施例にかかるシーケンスプログラ
ム制御系のモニタ装置により、モニタされる設備の一例
を示す概略図であり、第2図は、その制御回路を示、す
図面である。第3図は、本発明の実施例にかかるシーケ
ンスプログラム制御系のモニタ装置のブロック図であり
、第4図は、そのモニタ方法を示すフローチャートであ
る。 W・・・ワーク、  l・・・準備ステーション、2・
・・送り手段、 3・・・モータ、4・・・コンベア、
 5・・・加工ステージョン、6・・・加工手段、 7.8.9.1O111,12・・・リミットスイッチ
、13・・・安全マット、 14・・・安全マッドスイッチ、 15・・・自動運転ボタン、 16a 、16b 、16c  ・−−リレー手段、1
7・・・自動切換スイッチ、 18・・・停止スイッチ、 19a % 19fi % 20a s 20b s 
21a % 21b % 21c 521d %21e
 %21f  −−−リレー手段、30・・・作動状態
入力部、 31・・・作動状態変化検出部、 32・・・比較判定部、 33・・・比較対象抽出部、 37・・・異常要素チ・・り部。        4第
2図
FIG. 1 is a schematic diagram showing an example of equipment monitored by a monitor device of a sequence program control system according to an embodiment of the present invention, and FIG. 2 is a diagram showing a control circuit thereof. FIG. 3 is a block diagram of a monitoring device for a sequence program control system according to an embodiment of the present invention, and FIG. 4 is a flowchart showing a monitoring method thereof. W...work, l...preparation station, 2.
...Feeding means, 3...Motor, 4...Conveyor,
5... Processing station, 6... Processing means, 7.8.9.1O111, 12... Limit switch, 13... Safety mat, 14... Safety mud switch, 15... Automatic Operation button, 16a, 16b, 16c ---Relay means, 1
7... Automatic changeover switch, 18... Stop switch, 19a% 19fi% 20a s 20b s
21a % 21b % 21c 521d %21e
%21f---Relay means, 30... Operating state input section, 31... Operating state change detection section, 32... Comparison determination section, 33... Comparison target extraction section, 37... Abnormal element Chi...ri part. 4Figure 2

Claims (1)

【特許請求の範囲】[Claims] シーケンスプログラム制御系を構成する各要素の作動状
態の変化を検出する作動状態変化検出手段と、各要素の
作動パターンと基本パターンとを比較し、異常の発生の
有無を判定する比較判定手段と、異常の発生した異常要
素を、正常に復帰しないかぎり、モニタの対象からはず
す比較対象チェック手段と、前記異常要素の作動状態に
変化が生じたステップにおいては、他の要素の作動状態
が同時に変化しないときは、つぎのステップの基本パタ
ーンを前記比較判定手段に入力し、他の要素の作動状態
が同時に変化するときには、そのステップの基本パター
ンを前記比較判定手段に入力する比較対象抽出手段を備
えたことを特徴とするシーケンスプログラム制御系のモ
ニタ装置。
an operating state change detection means for detecting a change in the operating state of each element constituting the sequence program control system; a comparison determination means for comparing the operating pattern of each element with a basic pattern and determining whether an abnormality has occurred; A comparison target checking means for excluding an abnormal element in which an abnormality has occurred from being monitored unless the abnormal element returns to normal, and a step in which the operating state of the abnormal element changes, the operating state of other elements does not change at the same time. and a comparison target extracting means for inputting the basic pattern of the next step into the comparison and judgment means when the operating state of the next step changes at the same time, and inputting the basic pattern of the step to the comparison and judgment means when the operating state of another element changes at the same time. A monitor device for a sequence program control system, characterized in that:
JP62266925A 1987-10-22 1987-10-22 Monitor device for sequence program control system Expired - Lifetime JPH083749B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62266925A JPH083749B2 (en) 1987-10-22 1987-10-22 Monitor device for sequence program control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62266925A JPH083749B2 (en) 1987-10-22 1987-10-22 Monitor device for sequence program control system

Publications (2)

Publication Number Publication Date
JPH01109412A true JPH01109412A (en) 1989-04-26
JPH083749B2 JPH083749B2 (en) 1996-01-17

Family

ID=17437586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62266925A Expired - Lifetime JPH083749B2 (en) 1987-10-22 1987-10-22 Monitor device for sequence program control system

Country Status (1)

Country Link
JP (1) JPH083749B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030014798A (en) * 2001-08-13 2003-02-20 현대자동차주식회사 mounting structure of strut assembly for vehicle
KR20040003281A (en) * 2002-07-02 2004-01-13 현대자동차주식회사 mounting structure of shock absorber for suspension system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62138201U (en) * 1986-02-21 1987-08-31

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62138201U (en) * 1986-02-21 1987-08-31

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030014798A (en) * 2001-08-13 2003-02-20 현대자동차주식회사 mounting structure of strut assembly for vehicle
KR20040003281A (en) * 2002-07-02 2004-01-13 현대자동차주식회사 mounting structure of shock absorber for suspension system

Also Published As

Publication number Publication date
JPH083749B2 (en) 1996-01-17

Similar Documents

Publication Publication Date Title
JP2504961B2 (en) Programmable transfer machine
US4535456A (en) Method of detecting execution errors in program-controlled apparatus
US6195763B1 (en) Fault diagnostic device and method
US7698600B2 (en) Programmable controller
US6012156A (en) Process and circuit arrangement for monitoring the function of a program-controlled circuit
US5742624A (en) Fault detecting apparatus and method
CA2326248A1 (en) Methods and apparatus for generating maintenance messages
JPH02501960A (en) Monitoring method and circuit device for operating elements controlled by computer
JPH01109412A (en) Monitor for sequence program control system
CN109720233B (en) Split charging pile and connection detection method and device thereof
JPS63292211A (en) Monitoring device for sequence program control system
WO2006011579A1 (en) Programmable controller
JPH06314117A (en) Method and device for fault diagnosis
JPS63303407A (en) Monitoring device for sequence program control
JPS63311510A (en) Monitor device for sequence program control system
JP2620249B2 (en) Multiplex communication system of sequence controller
JP2590108B2 (en) Monitor for sequence program control system
TWI758926B (en) Safety monitor system and method for diagnosing abnormality of the same in robot
JPS63311509A (en) Monitor device for sequence program control system
JP2737878B2 (en) Monitor for sequence program control system
JPH01274208A (en) Monitoring device for sequence program control system
JPS61276497A (en) Method for recognizing deadlock
KR100227890B1 (en) Product line controller and its controlling method
JPH01276205A (en) Monitoring device for sequence program control system
JPH01154207A (en) Monitoring device for sequence program control system