JPH05313710A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH05313710A
JPH05313710A JP11376292A JP11376292A JPH05313710A JP H05313710 A JPH05313710 A JP H05313710A JP 11376292 A JP11376292 A JP 11376292A JP 11376292 A JP11376292 A JP 11376292A JP H05313710 A JPH05313710 A JP H05313710A
Authority
JP
Japan
Prior art keywords
state transition
pattern
input
normal
sensor
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.)
Withdrawn
Application number
JP11376292A
Other languages
Japanese (ja)
Inventor
Atsushi Irie
篤 入江
Maki Arao
真樹 荒尾
Hajime Nishidai
元 西台
Susumu Ishiguro
進 石黒
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP11376292A priority Critical patent/JPH05313710A/en
Publication of JPH05313710A publication Critical patent/JPH05313710A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To continue the control without the system down even in the case that a state transition corresponding to a state transition pattern at the normal time is not detected in the redundant part of a redundant state transition pattern at the time of providing the redundant state transition pattern in the input/ output. CONSTITUTION:The redundant state transition part in the normal pattern stored in a RAM 24 is designated from an operation part interface 26; and if the state transition corresponding to the normal pattern is not detected in this designated state transition part through an input/output signal monitor line 15, an artificial input/output signal to generate the state transition corresponding to the normal pattern is generated. This signal is applied to a signal switching part 12 through an input signal switching line 16, and the signal on a PLC bus 14 is switched to this signal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、予め記憶した入出力
の正常時の状態遷移パターンと実際の制御時に検出した
入出力の状態遷移パターンとを比較して異常を監視する
異常監視機能を有するプログラマブルコントローラに関
し、特に入出力が冗長な状態遷移パターンを有する場合
はこの冗長な箇所において正常時の状態遷移パターンに
対応する状態遷移が検出されなくても制御を継続するこ
とができるようにしたプログラマブルコントローラに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention has an anomaly monitoring function for comparing an input / output state transition pattern of a normal input / output and an input / output state transition pattern detected during an actual control to monitor an anomaly. Programmable controller, especially when input / output has a redundant state transition pattern Programmable so that control can be continued even if the state transition corresponding to the normal state transition pattern is not detected in this redundant location Regarding the controller.

【0002】[0002]

【従来の技術】プログラマブルコントローラで制御され
るシステムにおいて、動作異常を早期に発見するために
プログラマブルコントローラに異常検知機能を付加した
構成が提案されている。
2. Description of the Related Art In a system controlled by a programmable controller, there has been proposed a configuration in which an abnormality detection function is added to the programmable controller in order to detect an abnormal operation at an early stage.

【0003】この異常検知機能を付加したプログラマブ
ルコントローラとしては、従来、プログラマブルコント
ローラで制御される機器の正常な動作状態を記憶し、こ
の正常な動作状態を実際の動作モニタ結果との照合を実
時間で行うことで、機器の動作異常を検知する方法をと
るものが知られている。
Conventionally, as a programmable controller to which this abnormality detecting function is added, a normal operation state of a device controlled by the programmable controller is stored, and this normal operation state is collated with an actual operation monitor result in real time. It is known that a method of detecting an abnormal operation of a device is performed by performing the above.

【0004】ここで、プログラマブルコントローラで制
御される機器の動作状態はプログラマブルコントローラ
の入出力の状態遷移パターンとしてとらえることがで
き、このプログラマブルコントローラの入出力の状態遷
移パターンとしては、(1)プログラマブルコントロー
ラの入出力(接点)のオンオフ状態、(2)上記オンオ
フ状態が遷移していく順序、(3)上記状態遷移に要す
る時間(標準値+許容値または最小値+最大値)、等の
指標が用いられ、これらを判定基準として異常検知機能
を実現している。
Here, the operating state of the equipment controlled by the programmable controller can be regarded as an input / output state transition pattern of the programmable controller. The input / output state transition pattern of the programmable controller is (1) programmable controller The input / output (contact) on / off state, (2) the order in which the on / off state transitions, (3) the time required for the state transition (standard value + allowable value or minimum value + maximum value), etc. It is used to realize the abnormality detection function with these as criteria.

【0005】すなわち、この判定基準は、いわばこのシ
ステムの動作を示すタイミングチャートの特徴点をデー
タ化したものであると考えられる。
That is, it is considered that this judgment standard is, so to speak, a data of characteristic points of a timing chart showing the operation of this system.

【0006】[0006]

【発明が解決しようとする課題】ところで、最近の少量
多品種製造ラインなどのシステムの高度化に伴い、この
種のシステムにおいてはセンサなどの入力機器の数が増
大する傾向にあり、システムによっては入力機器として
冗長なセンサが装備される場合も少なくない。
By the way, the number of input devices such as sensors tends to increase in this type of system with the recent advancement of systems such as small-quantity high-mix type production lines. In many cases, redundant sensors are equipped as input devices.

【0007】このような冗長なセンサが装備されシステ
ムにおいては、予め記憶した入出力の正常時の状態遷移
パターンと実際の制御時に検出した入出力の状態遷移パ
ターンとを比較して異常を監視する構成をとると、この
冗長なセンサに故障が生じた場合でも、これを異常と検
出してシステムがダウンしてしまうといった事態が発生
する。
In a system equipped with such a redundant sensor, the abnormality is monitored by comparing the input / output state transition pattern of the input / output in a normal state with the input / output state transition pattern detected in the actual control. With the configuration, even if a failure occurs in this redundant sensor, a situation occurs in which this is detected as an abnormality and the system goes down.

【0008】例えば、入力機器としてシステムに装備さ
れたあるセンサが冗長であり、このセンサの出力はどの
ような値をとってもこのシステムの制御に影響を与えな
いような場合において、このセンサに故障が発生する
と、プログラマブルコントローラの入出力の状態遷移パ
ターンは正常時の状態遷移パターンと異なるものとなる
ので、従来の異常検知機能を付加したプログラマブルコ
ントローラにおいてはこれを異常として検知してしま
い、これによりシステムがダウンして正常動作を継続す
ることができなくなる。
For example, when a certain sensor equipped in the system as an input device is redundant and the output of this sensor does not affect the control of this system regardless of the value, the sensor is not damaged. When it occurs, the input / output state transition pattern of the programmable controller will be different from the state transition pattern at the normal time, so the conventional programmable controller with the abnormality detection function will detect this as an abnormality and Goes down and normal operation cannot be continued.

【0009】そこで、この発明は、入出力に冗長な状態
遷移パターンを有する場合、この冗長な箇所において正
常時の状態遷移パターンに対応する状態遷移が検出され
なくてもシステムをダウンすることなく制御を継続する
ことができるようにしたプログラマブルコントローラを
提供することを目的とする。
Therefore, according to the present invention, when the input / output has a redundant state transition pattern, even if the state transition corresponding to the normal state transition pattern is not detected in this redundant portion, the system is controlled without shutting down. It is an object of the present invention to provide a programmable controller capable of continuing.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、この発明は、正常制御時における入出力の状態遷移
パターンに対応する正常パターンを記憶する状態遷移記
憶手段と、制御対象の制御実行中における入出力の状態
遷移パターンを検出する状態遷移選出手段と、前記状態
遷移設定手段により設定された正常パターンと前記検出
手段により検出された状態遷移パターンとを比較して異
常を監視する異常監視手段と、を有するプログラマブル
コントローラにおいて、前記状態遷移設定手段に記憶さ
れた正常パターンの内の冗長な状態遷移箇所を指定する
状態遷移箇所指定手段と、前記状態遷移箇所指定手段に
より指定された状態遷移箇所において前記正常パターン
に対応する状態遷移が前記状態遷移検出手段により検出
されない場合は該状態遷移箇所指定手段により設定され
た状態遷移箇所において前記正常パターンに対応する状
態遷移を形成する疑似入出力を発生する疑似入出力発生
手段と、を具備したことを特徴とする。
In order to achieve the above object, the present invention provides a state transition storing means for storing a normal pattern corresponding to an input / output state transition pattern during normal control, and a control object under control execution. State transition selecting means for detecting the input / output state transition pattern, and an abnormality monitoring means for comparing the normal pattern set by the state transition setting means with the state transition pattern detected by the detecting means to monitor abnormality. And a state transition point designating unit that designates a redundant state transition point of a normal pattern stored in the state transition setting unit, and a state transition point designated by the state transition point designating unit. If the state transition corresponding to the normal pattern is not detected by the state transition detection means in , And the pseudo input generating means for generating a pseudo input to form a state transition corresponding to the normal pattern in the set state transition portion by a transition portion specifying means, characterized by comprising a.

【0011】[0011]

【作用】この発明においては、状態遷移箇所指定手段に
より、状態遷移設定手段に記憶された正常パターンの内
の冗長な状態遷移箇所を指定し、この状態遷移箇所指定
手段により指定された状態遷移箇所において正常パター
ンに対応する状態遷移が状態遷移検出手段により検出さ
れない場合は該状態遷移箇所指定手段により設定された
状態遷移箇所において正常パターンに対応する状態遷移
を形成する疑似入出力を疑似入出力発生手段から発生す
る。
In the present invention, the state transition point designating means designates a redundant state transition point in the normal pattern stored in the state transition setting means, and the state transition point designated by the state transition point designating means. When the state transition corresponding to the normal pattern is not detected by the state transition detection means in the above, pseudo input / output is generated which forms the state transition corresponding to the normal pattern at the state transition location set by the state transition location designating means. It originates from the means.

【0012】これにより、冗長な状態遷移箇所を形成す
る入出力に異常が生じても、この異常によりシステムが
ダウンすることはなく、制御を継続することができる。
As a result, even if an abnormality occurs in the input / output forming the redundant state transition point, the abnormality does not bring down the system, and the control can be continued.

【0013】[0013]

【実施例】以下、図面を参照してこの発明のプログラマ
ブルコントローラの一実施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the programmable controller of the present invention will be described in detail below with reference to the drawings.

【0014】図1は、この発明のプログラマブルコント
ローラの一実施例を適用して構成したシステムのシステ
ム構成を示したもので、この実施例のシステムはプログ
ラマブルロジックコントローラ10と、このプログラマ
ブルロジックコントローラ10に接続された制御対象3
0から構成される。
FIG. 1 shows a system configuration of a system configured by applying one embodiment of the programmable controller of the present invention. The system of this embodiment includes a programmable logic controller 10 and the programmable logic controller 10. Connected control object 3
It consists of zero.

【0015】プログラマブルロジックコントローラ(P
LC)10は、このプログラマブルロジックコントロー
ラ10の全体動作を統括制御する中央演算装置(CP
U)11、信号切換部12、複数の入出力ユニット(I
/Oユニット)13、自己修復機能部20を具備して構
成され、CPU11とI/Oユニット13との間は信号
切換部12を介してプログラマブルロジックコントロー
ラバス(PLCバス)14で接続され、I/Oユニット
13は制御対象30に接続される。
Programmable logic controller (P
The LC 10 is a central processing unit (CP) that controls the overall operation of the programmable logic controller 10.
U) 11, signal switching unit 12, a plurality of input / output units (I
I / O unit) 13 and a self-repairing function unit 20. The CPU 11 and the I / O unit 13 are connected by a programmable logic controller bus (PLC bus) 14 via a signal switching unit 12, The / O unit 13 is connected to the controlled object 30.

【0016】自己修復機能部20は、PLCバス14と
入出力信号モニタライン15を介して接続されるととも
に、信号切換部12と入力信号切換ライン16を介して
接続されるプログラマブルロジックコントローラバスイ
ンターフェース(PLCバスi/f)21、自己修復機
能部20の全体動作を統括制御する中央演算装置(CP
U)22、自己修復機能部20を制御するためのプログ
ラムが格納されるリードオンリィメモリ(ROM)2
3、正常制御時における入出力の状態遷移パターンに対
応する正常パターンデータが格納されるランダムアクセ
スメモリ(RAM)24、ワークエリアを構成するラン
ダムアクセスメモリ(RAM)25、ユーザとのインタ
ーフェースを構成する操作部インターフェース(操作部
i/f)26を具備して構成され、PLCバスi/f2
1、CPU)22、ROM23、RAM24、RAM2
5、操作部i/f26はシステムバス27を介して互い
に接続される。
The self-repairing function unit 20 is connected to the PLC bus 14 via the input / output signal monitor line 15 and also connected to the signal switching unit 12 via the input signal switching line 16 by a programmable logic controller bus interface ( Central processing unit (CP) that controls the overall operation of the PLC bus i / f) 21 and the self-repair function unit 20
U) 22, read-only memory (ROM) 2 in which a program for controlling the self-repair function unit 20 is stored
3. Random access memory (RAM) 24 in which normal pattern data corresponding to input / output state transition patterns during normal control is stored, random access memory (RAM) 25 forming a work area, and an interface with the user The operation unit interface (operation unit i / f) 26 is configured to include the PLC bus i / f2.
1, CPU) 22, ROM 23, RAM 24, RAM 2
5. The operation unit i / f 26 is connected to each other via the system bus 27.

【0017】次に、この実施例の動作を図2に示すフロ
ーチャートを参照して説明する。
Next, the operation of this embodiment will be described with reference to the flow chart shown in FIG.

【0018】まず、制御対象30を制御するためにプロ
グラマブルロジックコントローラ10のプログラム、す
なわちPLCプログラムを作成する(ステップ10
1)。
First, a program of the programmable logic controller 10 for controlling the controlled object 30, that is, a PLC program is created (step 10).
1).

【0019】ここで、この実施例の動作の理解を容易に
するために、制御対象30の簡単な例について図3を参
照して説明する。
Here, in order to facilitate understanding of the operation of this embodiment, a simple example of the controlled object 30 will be described with reference to FIG.

【0020】図3に示す制御対象は、ベルトコンベア3
1に載ったワークを示しており、このワークを検出する
ために3個のセンサA、B、Cから構成されるワーク検
出部32が設けられている。ここで、ワークはその長さ
が異なる2つのワーク、すなわちワークW1とワークW
2が選択的に用いられるようになっており、ワーク検出
部32は3個のセンサA、B、Cを用いてワークW1と
ワークW2とを識別する。
The control target shown in FIG. 3 is the belt conveyor 3
1 shows a work placed thereon, and a work detection unit 32 including three sensors A, B, and C is provided to detect this work. Here, the work is two works having different lengths, that is, work W1 and work W.
2 is selectively used, and the work detection unit 32 identifies the work W1 and the work W2 by using the three sensors A, B, and C.

【0021】ワークW1とワークW2の識別の仕方は、
(1)全てのセンサA、B、CがオンしたときワークW
1と識別する、(2)センサA、BがオンでセンサCが
オフの状態からセンサAがオフでセンサB、Cがオフの
状態に遷移した場合はワークW2と識別する、というも
ので、この条件をラダー回路で示すと図4のようにな
る。
The method of distinguishing the work W1 and the work W2 is as follows.
(1) Work W when all sensors A, B, C are turned on
1), and (2) when the sensors A and B are on and the sensor C is off and the sensor A is off and the sensors B and C are off, the work W2 is identified. This condition is shown in a ladder circuit as shown in FIG.

【0022】すなわち、図4に示すラダー回路は、セン
サA、B、Cが全てオンのときワークW1として検出
し、センサA、BがオンでセンサCがオフのときはワー
クW2の候補として検出し、ワークW2の候補として検
出された後、センサAがオフでセンサB、Cがオフにな
るとワークW2として検出する。
That is, the ladder circuit shown in FIG. 4 detects as a work W1 when the sensors A, B, and C are all on, and as a work W2 candidate when the sensors A and B are on and the sensor C is off. Then, after the sensor A is turned off and the sensors B and C are turned off after being detected as a candidate for the work W2, the work W2 is detected.

【0023】すなわち、この制御対象の場合において、
ステップ101で作成されるPLCプログラムのワーク
W1とワークW2の検出処理部分は図4に示すようなラ
ダー回路により記述される。
That is, in the case of this control target,
The detection processing portion of the works W1 and W2 of the PLC program created in step 101 is described by a ladder circuit as shown in FIG.

【0024】このようにして作成されたPLCプログラ
ムはプログラマブルロジックコントローラ(PLC)1
0内部の図示しないメモリに格納される。
The PLC program created in this way is a programmable logic controller (PLC) 1
0 is stored in a memory (not shown).

【0025】PLCプログラムの作成が終了すると、次
にこの作成したPLCプログラムにしたがってシステム
を実際に稼働する(ステップ102)。すなわち、実際
にシステムを試運転する。このとき、プログラマブルロ
ジックコントローラ10の自己修復機能部20は、PL
Cバス14に生じる入出力信号を入出力信号モニタライ
ン15、PLCバスi/f21を介してモニタする。こ
こで、制御対象30が図3で説明した構成の場合で、ベ
ルトコンベア31上を搬送されるワークがワークW1で
あるとすると、図5のタイムチャートで示すような信号
がモニタできる。すなわち、ワークW1がベルトコンベ
ア31上を搬送されるにしたがって、まず、センサAが
オンになり、続いてセンサAがオンしてから遷移時間t
1経過後にセンサBがオンになり、続いてセンサBがオ
ンしてから遷移時間t2経過後にセンサCがオンにな
り、センサCがオンになるとワークW1検出信号が出力
される。
When the creation of the PLC program is completed, the system is actually operated according to the created PLC program (step 102). That is, the system is actually tested. At this time, the self-repair function unit 20 of the programmable logic controller 10 is
The input / output signal generated on the C bus 14 is monitored via the input / output signal monitor line 15 and the PLC bus i / f21. Here, in the case where the controlled object 30 has the configuration described in FIG. 3, and the work conveyed on the belt conveyor 31 is the work W1, the signal as shown in the time chart of FIG. 5 can be monitored. That is, as the work W1 is conveyed on the belt conveyor 31, first, the sensor A is turned on, and then the sensor A is turned on, and then the transition time t
The sensor B is turned on after a lapse of 1, and the sensor C is turned on after a lapse of the transition time t2 after the sensor B is turned on. When the sensor C is turned on, the work W1 detection signal is output.

【0026】次に、このシステムの試運転時に入出力信
号モニタライン15、PLCバスi/f21を介してP
LCバス14上からモニタした入出力信号の遷移パター
ンは正常パターンとしてRAM24に記憶される。ここ
で、RAM24に対する正常パターンの記憶の具体例を
制御対象30が図3で説明した構成の場合について図6
を参照して説明する。
Next, at the time of test operation of this system, P is connected via the input / output signal monitor line 15 and the PLC bus i / f21.
The transition pattern of the input / output signal monitored from the LC bus 14 is stored in the RAM 24 as a normal pattern. Here, a specific example of storing a normal pattern in the RAM 24 will be described with reference to FIG.
Will be described.

【0027】RAM24に対する正常パターンの記憶処
理は、まず、注目入力信号の設定を行うことにより開始
する。この場合、注目入力信号はセンサA、B、Cから
の信号であり、このセンサA、B、Cからの信号はI/
Oユニット13からプログラマブルロジックコントロー
ラ(PLC)10に入力され、PLCバス14を介して
CPU11に伝達される。
The process of storing the normal pattern in the RAM 24 is started by first setting the target input signal. In this case, the input signals of interest are the signals from the sensors A, B, and C, and the signals from the sensors A, B, and C are I / O.
It is input from the O unit 13 to the programmable logic controller (PLC) 10 and transmitted to the CPU 11 via the PLC bus 14.

【0028】したがって、ここで実際に設定するのはC
PU11からみたI/Oユニット13の割り付けアドレ
スとなる。次に開始ポイントの設定を行う。この場合、
ワーク検出部32では、センサAの信号によりワーク検
出動作が開始されるので、この場合の開始ポイントはセ
ンサAがオンしたときとし、このときの注目入力信号の
パターンを遷移番号(NO.)を「1」と設定する。遷
移パターンの記憶方法は、3桁の2進数で表わし、最上
位桁をセンサAに対応させ、第2桁をセンサBに対応さ
せ、最下位桁をセンサCに対応させ、センサのオンを
「1」で表わし、オフを「0」で表わす。
Therefore, what is actually set here is C
It becomes the allocation address of the I / O unit 13 as seen from the PU 11. Next, the start point is set. in this case,
In the work detection unit 32, the work detection operation is started by the signal of the sensor A, so the start point in this case is when the sensor A is turned on, and the pattern of the input signal of interest at this time is the transition number (NO.). Set to "1". The transition pattern storage method is represented by a three-digit binary number. The most significant digit is associated with the sensor A, the second digit is associated with the sensor B, the least significant digit is associated with the sensor C, and the sensor is turned on. 1 "and OFF is represented by" 0 ".

【0029】したがって遷移番号「1」のときの遷移パ
ターンは「100」となる。そして、次にセンサBがオ
ンになったときの遷移番号を「2」とすると、このとき
の遷移パターンは「110」となり、次にセンサCがオ
ンになったときの遷移番号を「3」とすると、このとき
の遷移パターンは「111」となり、次にセンサAがオ
フになったときの遷移番号を「4」とすると、このとき
の遷移パターンは「011」となり、次にセンサBがオ
フになったときの遷移番号を「5」とすると、このとき
の遷移パターンは「001」となる。
Therefore, the transition pattern when the transition number is "1" is "100". If the transition number when the sensor B is turned on next is "2", the transition pattern at this time is "110", and the transition number when the sensor C is turned on next is "3". Then, the transition pattern at this time is "111", and when the transition number when the sensor A is turned off next is "4", the transition pattern at this time is "011", and then the sensor B is If the transition number when turned off is "5", the transition pattern at this time is "001".

【0030】このように、図3に示した構成において、
ワークW1しか搬送しない場合は、図6に示すように、
遷移番号が「1」から「5」に遷移するにしたがって、
遷移パターンは「100」、「110」、「111」、
「011」、「001」と変化する。
As described above, in the configuration shown in FIG.
When only the work W1 is conveyed, as shown in FIG.
As the transition number changes from "1" to "5",
The transition patterns are "100", "110", "111",
It changes to "011" and "001".

【0031】また、遷移パターンが変化する毎に遷移番
号「1」が発生してからの遷移時間を記憶し、稼働終了
後各遷移パターンに対応する標準遷移時間tnを決定す
る。ここで、標準遷移時間tnの決定はシステム稼働時
の最大遷移時間とする。この、標準遷移時間tnは各遷
移パターンに対応して記憶される。図6においては遷移
パターン「100」、「110」、「111」、「01
1」、「001」に対応する標準遷移時間がそれぞれ
「t1」、「t2」、「t3」、「t4」、「t5」と
して設定される。
Further, each time the transition pattern changes, the transition time after the transition number "1" is generated is stored, and the standard transition time tn corresponding to each transition pattern is determined after the operation ends. Here, the standard transition time tn is determined as the maximum transition time during system operation. The standard transition time tn is stored corresponding to each transition pattern. In FIG. 6, transition patterns “100”, “110”, “111”, “01”.
The standard transition times corresponding to "1" and "001" are set as "t1", "t2", "t3", "t4", and "t5", respectively.

【0032】このようにして正常パターンの記憶が終了
すると、次に、正常パターンの内の冗長な状態遷移箇所
を継続可能箇所として設定する(ステップ104)。
When the storage of the normal pattern is completed in this way, next, a redundant state transition portion of the normal pattern is set as a continuable portion (step 104).

【0033】すなわち、図3の構成において、ワークW
1しか搬送しないとすると、ワーク検出部32におい
て、センサBがオンしなくてもセンサA、Cが同時にオ
ンしていればワークW1は通過しているはずなので、セ
ンサBは冗長である。しかし、実際にセンサBが故障し
てワークを検出しなくなると、図4のラダー回路から明
らかのように、ワークW1を検出しなくなる。したがっ
て、センサBがオンしている遷移番号「2」、「3」、
「4」において、センサBを継続可能箇所として設定す
る。
That is, in the configuration of FIG. 3, the work W
If only one is conveyed, in the work detecting section 32, the work W1 should pass if the sensors A and C are simultaneously turned on even if the sensor B is not turned on, so the sensor B is redundant. However, when the sensor B actually fails to detect the work, the work W1 is not detected, as is apparent from the ladder circuit of FIG. Therefore, the transition numbers “2”, “3”, which sensor B is on,
In "4", the sensor B is set as a continuable portion.

【0034】なお、この継続可能箇所の設定は操作部i
/f26を介して行われる。
The setting of this continuable portion is performed by the operation unit i.
/ F26.

【0035】このようにして、正常パターンの記憶と継
続可能箇所の設定が終了すると、次に実稼働の監視を行
う(ステップ105)。この実稼働の監視においては、
ステップ103において記憶された正常パターンと、入
出力信号モニタライン15、PLCバスi/f21を介
してPLCバス14上からモニタした遷移パターン、す
なわち実稼働データとを常時比較し、異常を検知する。
When the storage of the normal pattern and the setting of the continuable portion are completed in this way, the actual operation is monitored (step 105). In this production monitoring,
The normal pattern stored in step 103 and the transition pattern monitored from the PLC bus 14 via the input / output signal monitor line 15 and the PLC bus i / f21, that is, the actual operation data are constantly compared to detect an abnormality.

【0036】この状態で異常が発生し(ステップ10
6)、センサBが故障したとする。この場合のPLCバ
ス14上からモニタした実稼働データを図7に示す。こ
の場合、遷移番号「1」の遷移時間「t1」を過ぎても
センサBのオンによる遷移番号「2」には移行しないた
め、異常となる。
An abnormality occurs in this state (step 10
6) It is assumed that the sensor B has failed. FIG. 7 shows actual operation data monitored from the PLC bus 14 in this case. In this case, even if the transition time "t1" of the transition number "1" has passed, the transition to the transition number "2" when the sensor B is turned on does not occur, which is abnormal.

【0037】この場合、実入力データからシミレーショ
ンデータへの切換を行う(ステップ107)。すなわ
ち、この場合ステップ104において、遷移番号
「2」、「3」、「4」において、センサBを継続可能
箇所として設定しているので、このセンサBの故障によ
る異常発生を回避し、動作を継続するように制御する。
この動作を図8に示す。すなわち、遷移番号「1」の遷
移時間「t1」を過ぎてもセンサBのオンにならない
と、CPU22は正常パターンのセンサBのオンに対応
する疑似信号を発生し、この疑似信号をシステムバス2
7、PLCバスi/f21、入力信号切換ライン16を
介して信号切換部12に送出し、PLCバス14上のセ
ンサBに対応する信号をこの疑似信号に切換える。これ
により、センサBからオンの信号が発生されないにもか
かわらずシステムは動作を継続することができる。
In this case, the actual input data is switched to the simulation data (step 107). That is, in this case, in step 104, since the sensor B is set as the continuable portion at the transition numbers "2", "3", and "4", the abnormality occurrence due to the failure of the sensor B is avoided, and the operation is performed. Control to continue.
This operation is shown in FIG. That is, if the sensor B is not turned on even after the transition time “t1” of the transition number “1” has passed, the CPU 22 generates a pseudo signal corresponding to the turn-on of the sensor B having a normal pattern, and the pseudo signal is sent to the system bus 2
7, the signal is sent to the signal switching unit 12 via the PLC bus i / f21 and the input signal switching line 16, and the signal corresponding to the sensor B on the PLC bus 14 is switched to this pseudo signal. This allows the system to continue operation despite the sensor B not producing an ON signal.

【0038】[0038]

【発明の効果】以上説明したようにこの発明によれば、
状態遷移箇所指定手段により、状態遷移設定手段に記憶
された正常パターンの内の冗長な状態遷移箇所を指定
し、この状態遷移箇所指定手段により設定された状態遷
移箇所において正常パターンに対応する状態遷移が状態
遷移検出手段により検出されない場合は該状態遷移箇所
指定手段により設定された状態遷移箇所において正常パ
ターンに対応する状態遷移を形成する疑似入出力を疑似
入出力発生手段から発生するように構成したので、以下
の効果を有する。
As described above, according to the present invention,
The state transition location designating means designates a redundant state transition location of the normal pattern stored in the state transition setting means, and the state transition corresponding to the normal pattern at the state transition location set by the state transition location designating means. Is not detected by the state transition detecting means, the pseudo input / output generating means generates pseudo input / output for forming a state transition corresponding to a normal pattern at the state transition point set by the state transition point designating means. Therefore, it has the following effects.

【0039】(1)冗長なセンサ等の故障が生じてもシ
ステムがダウンすることなく動作を継続するので、不要
なダウンタイムを削減することができる。
(1) Even if a redundant sensor or the like fails, the system continues to operate without being down, so unnecessary downtime can be reduced.

【0040】(2)記憶した正常パターンを見ることに
よりシステムの挙動をユーザにおいて容易に把握でき
る。
(2) The behavior of the system can be easily grasped by the user by looking at the stored normal pattern.

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

【図1】この発明のプログラマブルコントローラの一実
施例を適用して構成したシステムのシステム構成を示す
ブロック図。
FIG. 1 is a block diagram showing a system configuration of a system configured by applying an embodiment of a programmable controller of the present invention.

【図2】図1に示した実施例の動作を説明するためのフ
ローチャート。
FIG. 2 is a flowchart for explaining the operation of the embodiment shown in FIG.

【図3】図1に示した実施例における制御対象の具体的
構成例を示す図。
FIG. 3 is a diagram showing a specific configuration example of a control target in the embodiment shown in FIG.

【図4】図3に示した制御対象を制御するPLCプログ
ラムの一部を記述するラダー回路。
FIG. 4 is a ladder circuit describing a part of a PLC program for controlling the controlled object shown in FIG.

【図5】図1に示した実施例の自己修復機能部でモニタ
した入出力信号を示すタイムチャート。
5 is a time chart showing input / output signals monitored by the self-repairing function unit of the embodiment shown in FIG.

【図6】図1に示した実施例における正常パターンの記
憶の具体例を説明する図。
FIG. 6 is a diagram for explaining a specific example of storing a normal pattern in the embodiment shown in FIG.

【図7】図1に示した実施例において異常が発生した場
合のモニタ実稼働データの一例を示す図。
7 is a diagram showing an example of monitor actual operation data when an abnormality occurs in the embodiment shown in FIG.

【図8】図1に示した実施例において異常が発生した場
合にこの異常発生を回避し、動作を継続する動作を説明
する図。
FIG. 8 is a diagram illustrating an operation of avoiding the occurrence of an abnormality and continuing the operation when an abnormality occurs in the embodiment shown in FIG.

【符号の説明】[Explanation of symbols]

10 プログラマブルロジックコントローラ(PLC) 11 中央演算装置(CPU) 12 信号切換部 13 入出力ユニット(I/Oユニット) 14 プログラマブルロジックコントローラバス(PL
Cバス) 15 入出力信号モニタライン 16 入力信号切換ライン 20 自己修復機能部 21 プログラマブルロジックコントローラバスインタ
ーフェース(PLCバスi/f) 22 中央演算装置(CPU) 23 リードオンリィメモリ(ROM) 24 ランダムアクセスメモリ(RAM) 25 ランダムアクセスメモリ(RAM) 26 操作部インターフェース(操作部i/f) 27 システムバス 30 制御対象 31 ベルトコンベア 32 ワーク検出部
10 programmable logic controller (PLC) 11 central processing unit (CPU) 12 signal switching unit 13 input / output unit (I / O unit) 14 programmable logic controller bus (PL
C bus) 15 input / output signal monitor line 16 input signal switching line 20 self-repair function unit 21 programmable logic controller bus interface (PLC bus i / f) 22 central processing unit (CPU) 23 read-only memory (ROM) 24 random access memory (RAM) 25 Random access memory (RAM) 26 Operation unit interface (operation unit i / f) 27 System bus 30 Control target 31 Belt conveyor 32 Work detection unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石黒 進 京都市右京区花園土堂町10番地 オムロン 株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Susumu Ishiguro, 10 Odoroncho, Hanazono, Ukyo-ku, Kyoto

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 正常制御時における入出力の状態遷移パ
ターンに対応する正常パターンを記憶する状態遷移記憶
手段と、 制御対象の制御実行中における入出力の状態遷移パター
ンを検出する状態遷移選出手段と、 前記状態遷移設定手段により設定された正常パターンと
前記検出手段により検出された状態遷移パターンとを比
較して異常を監視する異常監視手段と、 を有するプログラマブルコントローラにおいて、 前記状態遷移設定手段に記憶された正常パターンの内の
冗長な状態遷移箇所を指定する状態遷移箇所指定手段
と、 前記状態遷移箇所指定手段により指定された状態遷移箇
所において前記正常パターンに対応する状態遷移が前記
状態遷移検出手段により検出されない場合は該状態遷移
箇所指定手段により設定された状態遷移箇所において前
記正常パターンに対応する状態遷移を形成する疑似入出
力を発生する疑似入出力発生手段と、 を具備したことを特徴とするプログラマブルコントロー
ラ。
1. A state transition storing means for storing a normal pattern corresponding to an input / output state transition pattern during normal control, and a state transition selecting means for detecting an input / output state transition pattern during control execution of a controlled object. A programmable controller having an abnormality monitoring unit for comparing the normal pattern set by the state transition setting unit with a state transition pattern detected by the detecting unit to monitor for an abnormality, and storing the programmable controller in the state transition setting unit. State transition part designating means for designating a redundant state transition part of the generated normal pattern, and a state transition corresponding to the normal pattern at the state transition part designated by the state transition part designating means is the state transition detecting means. If it is not detected by, the state transition location designated by the state transition location designating means There are programmable controller, characterized in that anda pseudo input generating means for generating a pseudo input to form a state transition corresponding to the normal pattern.
JP11376292A 1992-05-06 1992-05-06 Programmable controller Withdrawn JPH05313710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11376292A JPH05313710A (en) 1992-05-06 1992-05-06 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11376292A JPH05313710A (en) 1992-05-06 1992-05-06 Programmable controller

Publications (1)

Publication Number Publication Date
JPH05313710A true JPH05313710A (en) 1993-11-26

Family

ID=14620503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11376292A Withdrawn JPH05313710A (en) 1992-05-06 1992-05-06 Programmable controller

Country Status (1)

Country Link
JP (1) JPH05313710A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020166004A1 (en) * 2019-02-14 2020-08-20 三菱電機株式会社 Control system, programmable logic controller, method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020166004A1 (en) * 2019-02-14 2020-08-20 三菱電機株式会社 Control system, programmable logic controller, method, and program
JPWO2020166004A1 (en) * 2019-02-14 2021-02-18 三菱電機株式会社 Control systems, programmable logic controllers, methods, and programs

Similar Documents

Publication Publication Date Title
KR960010153B1 (en) Programmable transfer machine
US6314350B1 (en) Methods and apparatus for generating maintenance messages
JPH05313710A (en) Programmable controller
JPH06324914A (en) Runaway detecting method for computer
JP2007233573A (en) Electronic controller
KR100195864B1 (en) Apparatus and method of controlling a power supply
JP2508305B2 (en) Initial value determination device
JPH03192892A (en) Switching control circuit
US5426778A (en) Computer system for shifting an operation timing thereof in response to a detected abnormal states
JPH06214601A (en) Back-up device for equipment controller
KR0125945B1 (en) Method of operating monitoring for processor
JPH04339399A (en) Relief address analyzing circuit for memory tester
JPH08292894A (en) Digital controller
KR100232838B1 (en) Computer module reset control device
JPH07210782A (en) Data processor
JPH07104841A (en) Abnormality detecting method for programmable controller
JPS629442A (en) Error detecting circuit
JP2005078546A (en) Duplex control system
KR100207111B1 (en) Can control device and method in malfunctioning of electronic control device for vehicle
JPH05313711A (en) Programmable controller
JPS5872226A (en) Clock switching circuit
JPS62140155A (en) Automatic switching circuit for data bus of device
JPH11134008A (en) Programmable controller
JPH0675719A (en) Interface control system
JPH02148337A (en) Lsi coping with undetected faulty circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706