JPH0344709A - External trouble detecting device - Google Patents

External trouble detecting device

Info

Publication number
JPH0344709A
JPH0344709A JP1179894A JP17989489A JPH0344709A JP H0344709 A JPH0344709 A JP H0344709A JP 1179894 A JP1179894 A JP 1179894A JP 17989489 A JP17989489 A JP 17989489A JP H0344709 A JPH0344709 A JP H0344709A
Authority
JP
Japan
Prior art keywords
control
expected value
input
subjects
control type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1179894A
Other languages
Japanese (ja)
Inventor
Yasunobu Iwata
岩田 恭伸
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1179894A priority Critical patent/JPH0344709A/en
Publication of JPH0344709A publication Critical patent/JPH0344709A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

PURPOSE:To automatically change the expected value in response to the change of a control subject and to detect the trouble of the control subject by storing plural pieces of expected value corresponding to plural control subjects in accordance with the control type signals. CONSTITUTION:A storage means 4 stores plural pieces of expected value of the input/output signals corresponding to the control subjects 1a and 1b in accordance with the control type signals. A discrimination means 5 discriminates the types of subjects 1a and 1b with input of the control type signal, and at the same time a selection means 6 selects the expected value corresponding to both subjects 1a and 1b out of the means 4. A detection means 7 compares the selected expected value with the value of the input/output signal monitored by a monitor means 3. Thus a trouble of the control subject is detected. As a result, it is possible to automatically cope with the change of the control subject became the data on the expected value can be switched in accordance with plural control subjects.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、制御装置の外部故障検出装置、特に制御と
故障検出とを同期して動作させることができる外部故障
検出装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an external failure detection device for a control device, and particularly to an external failure detection device that can operate control and failure detection in synchronization.

(従来の技術) 第5図は、従来のこの種の外部故障検出装置を示すもの
で、図中、(51)は入出力回路部、(52)は制御部
、(53)は故障検出部、(54)は期待値記憶部、(
55)は表示器、(56)は故障検出がなされる制御対
象である。
(Prior Art) Fig. 5 shows a conventional external fault detection device of this type, in which (51) is an input/output circuit section, (52) is a control section, and (53) is a fault detection section. , (54) is the expected value storage unit, (
55) is a display device, and (56) is a controlled object for which failure detection is performed.

第6図は、上記期待値記憶部(54)に格納されている
期待値のデータ構成を示すもので、図中、(61)は期
待値で、符号(61a) 、 (Blb) 、 (61
c) s”(61n)で示すように複数個用意されてい
る。
FIG. 6 shows the data structure of the expected value stored in the expected value storage section (54). In the figure, (61) is the expected value, and the symbols (61a), (Blb), (61
c) A plurality of them are prepared as shown by "s" (61n).

第7図は、第5図の故障検出部(53)の処理手順を示
すフローチャートであり、以下これを参照しながら従来
装置の動作を説明する。
FIG. 7 is a flowchart showing the processing procedure of the failure detection section (53) of FIG. 5, and the operation of the conventional device will be explained below with reference to this flowchart.

制御部(52)は、入出力回路部(51)を介して制御
対象(56)を制御し、このとき故障検出部(53)は
次のような処理を行なう。
The control section (52) controls the controlled object (56) via the input/output circuit section (51), and at this time the failure detection section (53) performs the following processing.

まず、ステップ(71)において、入出力データを取り
込むとともに、ステップ(72)において、期待値(6
1)を取り込む。そして、ステップ(73)において、
入出力データと期待値(61)とが一致しているか否か
を判別する。一致していればステップ(74)に進み、
期待値(61)のポインタを(61b)にずらせた後、
ステップ(71)に戻る。また、一致していなければス
テップ(75)に進み、故障発生と判断して表示器(5
5)に故障内容を表示する。
First, in step (71), input/output data is taken in, and in step (72), the expected value (6
Incorporate 1). Then, in step (73),
It is determined whether the input/output data and the expected value (61) match. If they match, proceed to step (74);
After moving the pointer of expected value (61) to (61b),
Return to step (71). If they do not match, the process proceeds to step (75), where it is determined that a failure has occurred and the display (5)
5) Displays the details of the failure.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の外部故障検出装置は以上のように構成されている
ので、制御対象(56)が変わると期待値(61)の内
容を変更しなければならないという課題がある。
Since the conventional external failure detection device is configured as described above, there is a problem in that when the controlled object (56) changes, the content of the expected value (61) must be changed.

そこで、一部では、例えば特開昭61−813号公報に
示されているように、複数の制御対象の故障検出を可能
とした装置も提案されているが、制御と故障検出とを同
期して動作させることができない等の課題がある。
Therefore, some devices have been proposed that are capable of detecting failures in multiple controlled objects, as shown in Japanese Patent Application Laid-Open No. 61-813, for example. There are problems such as not being able to operate the

この発明は、係る課題を解決するためになされたもので
、制御対象の変更に応じ自動的に期待値を変更して制御
対象の故障を検出することができ、しかも制御と故障検
出とを同期して動作させることかできる外部故障検出装
置を得ることを目的とする。
This invention was made to solve the above problem, and is capable of detecting a failure in a controlled object by automatically changing the expected value according to a change in the controlled object, and also synchronizes control and failure detection. The object of the present invention is to obtain an external failure detection device that can be operated as described above.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る外部故障検出装置は、複数の制御対象を
制御する制御手段と、制御種別信号を含む各制御対象の
入出力信号をモニタするモニタ手段と、各制御対象に対
応する入出力信号の複数の期待値を、上記各制御種別信
号に対応させて記憶する記憶手段と、制御種別信号の入
力により、制御プログラムの1スキャン毎に制御対象の
種別を判別する判別手段と、判別された制御対象の種別
に対応する期待値を、上記記憶手段から選択する選択手
段と、選択された期待値と上記モニタ手段でモニタした
入出力信号の値とを比較して故障を検出する検出手段と
をそれぞれ設けるようにしたものである。
The external failure detection device according to the present invention includes a control means for controlling a plurality of control objects, a monitor means for monitoring input and output signals of each control object including a control type signal, and a monitor means for monitoring input and output signals of each control object including a control type signal. a storage means for storing a plurality of expected values in correspondence with each of the control type signals; a determining means for determining the type of the controlled object for each scan of the control program by inputting the control type signal; and a determined control. a selection means for selecting an expected value corresponding to the type of object from the storage means; and a detection means for detecting a failure by comparing the selected expected value with the value of the input/output signal monitored by the monitoring means. It is designed to provide one for each.

(作用) この発明においては、複数の各制御対象に対応する複数
の期待値を、制御種別信号に対応させて記憶するととも
に、各制御対象からの制御種別信号を、制御プログラム
の1スキャン毎にチエツクして自動的に制御対象に応じ
た期待値を選択し、この期待値とモニタした制御対象の
入出力信号の値とを比較して故障検出を行なう。
(Operation) In the present invention, a plurality of expected values corresponding to each of a plurality of control objects are stored in correspondence with a control type signal, and a control type signal from each control object is stored for each scan of a control program. An expected value corresponding to the controlled object is automatically selected by checking, and a failure is detected by comparing this expected value with the monitored value of the input/output signal of the controlled object.

〔実施例〕〔Example〕

第1図は、この発明に係る外部故障検出装置の実施例を
示す全体構成図である。この実施例は、第1図からも明
らかなように、複数の制御対象(la) 、 (lb)
を制御する制御手段(2)、制御種別信号を含む各制御
対象の入出力信号をモニタするモニタ手段(3)、およ
び各制御対象(la) 、 (lb)に対応する入出力
信号の複数の期待値を各制御種別信号に対応させて記憶
する記憶手段(4)をそれぞれ設け、判別手段(5)に
おいて、制御種別信号の入力により制御プログラムの1
スキャン毎に制御対象(la) 、 (lb)の種別を
判別するとともに、選択手段(6)において判別された
制御対象(la) 、 (1’b)の種別定対応する期
待値を、上記記憶手段(4)から選択し、選択された期
待値を上記モニタ手段(3)でモニタした入出力信号の
値とを、検出手段(7)において比較して故障を検出し
、検出された故障内容を、表示手段(8)に表示するよ
うに構成されている。
FIG. 1 is an overall configuration diagram showing an embodiment of an external failure detection device according to the present invention. As is clear from FIG. 1, this embodiment has a plurality of control objects (la), (lb)
a control means (2) for controlling the input/output signals of each controlled object (la) and (lb), a monitoring means (3) for monitoring the input/output signals of each controlled object including the control type signal, and a plurality of input/output signals corresponding to each controlled object (la) and (lb). Storage means (4) are provided for storing expected values in correspondence with each control type signal, and in the determining means (5), one of the control programs is determined by inputting the control type signal.
The types of controlled objects (la) and (lb) are determined for each scan, and the expected values corresponding to the types of controlled objects (la) and (1'b) determined by the selection means (6) are stored in the above-mentioned memory. A failure is detected by comparing the selected expected value from the means (4) with the value of the input/output signal monitored by the monitor means (3) in the detecting means (7), and detecting the details of the detected failure. is configured to be displayed on the display means (8).

第2図は、第1図の実施例の外部故障検出装置のハード
ウェア構成を示すもので、図中、(20)は入出力回路
部、(21)は制御部、(22)は入出力データ格納部
、(23)は故障検出部、(24)は期待値記憶部、(
25)は表示器、(26) 、 (27)は制御種別信
号、(28)は上記入出力回路部(20)を介し制御部
(21)により制御される制御対象1、(29)は同様
の制御対象2である。
FIG. 2 shows the hardware configuration of the external failure detection device of the embodiment shown in FIG. Data storage section, (23) is failure detection section, (24) is expected value storage section, (
25) is a display, (26) and (27) are control type signals, (28) is the controlled object 1 controlled by the control unit (21) via the input/output circuit unit (20), and (29) is the same. This is the second controlled object.

第3図は、上記期待値記憶部(24)に格納されている
複数の期待値データの構成を示すもので、図中、(30
)は制御種別信号値で、上記制御種別信号(26)に対
応する種別信号値(30a)と、制御種別信号(27)
!、:対応する種別信号値(30b) とから構成され
ている。(31)は上記種別信号値(30a)に対応付
けて記憶されている期待値1で、符号(31a)。
FIG. 3 shows the structure of a plurality of expected value data stored in the expected value storage section (24).
) is a control type signal value, which includes a type signal value (30a) corresponding to the above control type signal (26) and a control type signal (27).
! , :corresponding type signal value (30b). (31) is the expected value 1 stored in association with the type signal value (30a), and has the symbol (31a).

(31b)  、 −・・、 (31n)で示すように
複数個用意されている。(32)は上記種別信号値(3
0b)に対応付けて記憶されている期待値2で、符号(
32a) 、 (32b) 。
A plurality of them are prepared as shown in (31b), -..., (31n). (32) is the above type signal value (3
The expected value 2 is stored in association with 0b), and the sign (
32a), (32b).

・・・、 (32n)で示すように複数個用意されてい
る。
..., a plurality of them are prepared as shown in (32n).

第4図は、第2図の故障検出部(23)における処理を
示すフローチャートであり、以下、これを参照しながら
この実施例の動作を説明する。
FIG. 4 is a flowchart showing the processing in the failure detection section (23) of FIG. 2, and the operation of this embodiment will be explained below with reference to this flowchart.

制御部(21)は、入出力回路部(20)を介し制御対
象1 (28)又は制御対象2 (29)を制御すると
ともに、入出力データを入出力データ格納部(22)へ
出力する。このとき、故障検出部(23)は、次のよう
に動作する。すなわち、まず、ステップ(40)におい
て、入出力データ格納部(20)に入出力データが全て
セットされるのを待ち、ステップ(41)において、入
出力データを取り込む。次いでステップ(42)におい
て、制御種別信号(26)と(27)をチエツクする。
The control section (21) controls the controlled object 1 (28) or the controlled object 2 (29) via the input/output circuit section (20), and outputs input/output data to the input/output data storage section (22). At this time, the failure detection section (23) operates as follows. That is, first, in step (40), wait until all input/output data is set in the input/output data storage section (20), and then in step (41), input/output data is taken in. Next, in step (42), control type signals (26) and (27) are checked.

そして、制御種別信号(26)の値が種別信号値(30
a)  と一致すれば、ステップ(43)からステップ
(44)に進み、制御種別信号(27)の値が種別信号
値(30b)と一致すれば、ステップ(43)からステ
ップ(47)に進む。
Then, the value of the control type signal (26) is changed to the type signal value (30
a) If it matches, the process proceeds from step (43) to step (44), and if the value of the control type signal (27) matches the type signal value (30b), the process proceeds from step (43) to step (47). .

ステップ(44)においては、期待値1 (31)のデ
ータ(31a)を取り込み、ステップ(45)において
、入出力データと一致しているか否か判別する。そして
一致しているならば、ステップ(46)において、期待
値1 (31)のポインタをデータ(31b)にずらせ
た後、ステップ(40)に戻る。
In step (44), data (31a) of expected value 1 (31) is fetched, and in step (45), it is determined whether or not it matches the input/output data. If they match, in step (46), the pointer of expected value 1 (31) is shifted to data (31b), and then the process returns to step (40).

一方、ステップ(47)においては、期待値2 (32
)のデータ(32a)を取り込み、ステップ(48)に
おいて、入出力データと一致しているか否か判別する。
On the other hand, in step (47), the expected value 2 (32
) is taken in, and in step (48) it is determined whether it matches the input/output data.

そして、一致しているならば、ステップ(49)におい
て、期待値2 [2)のポインタをデータ(32b)に
ずらせた後、ステップ(40)に戻る。
If they match, in step (49), the pointer of expected value 2 [2] is shifted to data (32b), and then the process returns to step (40).

また、ステップ(45)及びステップ(48)で一致し
ていないと判断されたならば、ステップ(50)におU
)て、故障発生と判断し、表示器(25)へ表示した後
に終了とする。
Furthermore, if it is determined that they do not match in step (45) and step (48), then step (50) is performed.
), it is determined that a failure has occurred, and the process is terminated after being displayed on the display (25).

なお、上記実施例では、制御対象が2つの場合を示した
が、その数に制限はない。また、制御対象に対応する期
待値データも、制御対象と一対一である必要はなく、複
数の制御対象に対し1つの期待値を持つ場合には、制御
種別信号とその値を同じにしておけば、同様の効果が得
られる。
In addition, although the said Example showed the case where there were two control objects, there is no restriction|limiting in the number. In addition, the expected value data corresponding to the controlled object does not have to be one-to-one with the controlled object, and if there is one expected value for multiple controlled objects, the value should be the same as the control type signal. A similar effect can be obtained.

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

この発明は以上説明したとおり、期待値のデータを、複
数の制御対象に対応させて切り換えられるようにしてい
るので、制御対象の変更に自動釣に対応でき、また制御
プログラムの1スキャンに同期させているので、制御と
故障検出とを同期して動作させることができる等の効果
がある。
As explained above, in this invention, the expected value data can be switched in correspondence with multiple control objects, so automatic fishing can be applied to changes in the control objects, and synchronized with one scan of the control program. Therefore, there are effects such as being able to operate control and failure detection in synchronization.

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

第1図はこの発明の一実施例を示す外部故障検出装置の
全体構成図、第2図はそのハードウェア構成図、第3図
は期待値データの構成を示す説明図、第4図は故障検出
の動作を示すフローチャート、第5図は従来の外部故障
検出装置を示す第2図相当図、第6図は従来装置におけ
る期待値データの構成を示す説明図、第7図は従来装置
における故障検出の動作を示すフローチャートである。 (la) 、 (lb)・・・制御対象、(2)・・・
制御手段、(3)・・・モニタ手段、(4)・・・記憶
手段、(5)・・・判別手段、(6)・・・選択手段、
(7)・・・検出手段、(8)・・・表示手段。 なお、 各図中、 同一符号は同−又は相当部分を 示す。
Fig. 1 is an overall configuration diagram of an external failure detection device showing an embodiment of the present invention, Fig. 2 is a hardware configuration diagram thereof, Fig. 3 is an explanatory diagram showing the structure of expected value data, and Fig. 4 is a failure detection device. A flowchart showing the detection operation, FIG. 5 is a diagram equivalent to FIG. 2 showing a conventional external fault detection device, FIG. 6 is an explanatory diagram showing the structure of expected value data in the conventional device, and FIG. 7 is a diagram showing the structure of expected value data in the conventional device. 3 is a flowchart showing a detection operation. (la), (lb)...Controlled object, (2)...
Control means, (3)...Monitoring means, (4)...Storage means, (5)...Discrimination means, (6)...Selection means,
(7)...detection means, (8)...display means. In each figure, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 複数の制御対象を制御する制御手段と、制御種別信号を
含む各制御対象の入出力信号をモニタするモニタ手段と
、各制御対象に対応する入出力信号の複数の期待値を、
上記各制御種別信号に対応させて記憶する記憶手段と、
制御種別信号の入力により、制御プログラムの1スキャ
ン毎に制御対象の種別を判別する判別手段と、判別され
た制御対象の種別に対応する期待値を、上記記憶手段か
ら選択する選択手段と、選択された期待値と上記モニタ
手段でモニタした入出力信号の値とを比較して故障を検
出する検出手段とを具備することを特徴とする外部故障
検出装置。
A control means for controlling a plurality of control objects, a monitor means for monitoring input and output signals of each control object including a control type signal, and a plurality of expected values of input and output signals corresponding to each control object,
a storage means for storing the signals in correspondence with each of the control type signals;
a determining means for determining the type of the controlled object for each scan of the control program by inputting a control type signal; a selecting means for selecting an expected value corresponding to the determined type of the controlled object from the storage means; 1. An external failure detection device comprising: a detection means for detecting a failure by comparing the expected value determined by the input/output signal with the value of the input/output signal monitored by the monitor means.
JP1179894A 1989-07-12 1989-07-12 External trouble detecting device Pending JPH0344709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1179894A JPH0344709A (en) 1989-07-12 1989-07-12 External trouble detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1179894A JPH0344709A (en) 1989-07-12 1989-07-12 External trouble detecting device

Publications (1)

Publication Number Publication Date
JPH0344709A true JPH0344709A (en) 1991-02-26

Family

ID=16073763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1179894A Pending JPH0344709A (en) 1989-07-12 1989-07-12 External trouble detecting device

Country Status (1)

Country Link
JP (1) JPH0344709A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277624A (en) * 2005-03-30 2006-10-12 Ns Engineering Corp Data collation device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277624A (en) * 2005-03-30 2006-10-12 Ns Engineering Corp Data collation device and method
JP4550641B2 (en) * 2005-03-30 2010-09-22 大陽日酸エンジニアリング株式会社 Data collation apparatus and method

Similar Documents

Publication Publication Date Title
US6314350B1 (en) Methods and apparatus for generating maintenance messages
JPH1032810A (en) Image-processing inspecting device
JPH0344709A (en) External trouble detecting device
JPS6338721B2 (en)
JP3109573B2 (en) Fault LSI detection method
JPS60105005A (en) Fault monitoring device for output signal of redundant system
JPH035604B2 (en)
JP2541301B2 (en) Failure detection method
KR100397921B1 (en) testing apparatus and method for configuration board of switching system
JPH09178443A (en) Image processing system for checking product
JPH0293898A (en) Monitoring device
KR920000866Y1 (en) Input signal auto-selecting circuit
JPH04284511A (en) Abnormality detector for programmable controller
JP2513371B2 (en) Color image processing device
JPS5916042A (en) Light pen common-use device
JPH05231977A (en) Diagnostic system for pressure detector failure
JP2976621B2 (en) Semiconductor integrated circuit
JPH02188787A (en) Cursor display controller
JPS63293612A (en) Plant monitoring device
KR100223010B1 (en) The scope muxing apparatus and video synchronous signal generation of designation field
JPH0310337A (en) Simulation result display device
JPH02143739A (en) Fault detection method for synchronizing processing system
JPH07210782A (en) Data processor
JPH0540510A (en) Controller
JPS6299836A (en) Fault detection and selection circuit