JPH07210782A - Data processor - Google Patents

Data processor

Info

Publication number
JPH07210782A
JPH07210782A JP665494A JP665494A JPH07210782A JP H07210782 A JPH07210782 A JP H07210782A JP 665494 A JP665494 A JP 665494A JP 665494 A JP665494 A JP 665494A JP H07210782 A JPH07210782 A JP H07210782A
Authority
JP
Japan
Prior art keywords
state
abnormality detection
signal
storage unit
output
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
JP665494A
Other languages
Japanese (ja)
Inventor
Toru Takahashi
徹 高橋
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP665494A priority Critical patent/JPH07210782A/en
Publication of JPH07210782A publication Critical patent/JPH07210782A/en
Pending legal-status Critical Current

Links

Landscapes

  • Alarm Systems (AREA)

Abstract

PURPOSE:To change output conditions of respective control signals according to the state change of an abnormality detection signal by outputting a 1st output signal when the current state of an input signal generated by detecting the state change is a 1st state or a 2nd output signal when the current state of all input signals is a 2nd state. CONSTITUTION:A temperature abnormality detection sensor 2, a facility fault detection sensor 4, and a fire detection sensor 6 output abnormality detection signals m1-m3 of HIGH as the 1st state when in abnormal states respectively. Further, the sensors outputs abnormality detection signals m1-m3 of LOW as the 2nd state when in normal states. Then a data processor 12 generates an actuation control signal Sa as the 1st output signal for actuating an alarm 14 and a stop control signal Sb as the 2nd output signal for turning OFF an alarm lamp on the basis of last inputted abnormality detection signals previously stored in a storage part and the abnormality detection signals stored in the storage part, and outputs them to the alarm 14 momentarily.

Description

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

【0001】[0001]

【産業上の利用分野】複数の入力信号の状態変化に基づ
き所定の出力信号を形成して出力するデータ処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device which forms and outputs a predetermined output signal based on a change in the states of a plurality of input signals.

【0002】[0002]

【従来の技術】従来、例えば、警報装置等のように、複
数の監視センサからの“HIGH”又は“LOW”等の
異常検出信号をもとに、警報器を作動して警報ランプを
点灯させたり、アラームを発生させるようなデータ処理
装置においては、複数の異常検出信号の論理積、或い
は、論理和等を求めることによって警報器の動作制御を
行う起動制御信号及び停止制御信号を形成するようにな
されており、例えば、3種類の監視センサからの異常検
出信号をもとに各制御信号を形成する場合には、例え
ば、3つの異常検出信号の論理和を求め、異常検出信号
の何れかが“HIGH”となった場合に、起動制御信号
を“HIGH”として出力し、異常検出信号が“LO
W”となったとき、停止制御信号を“HIGH”として
出力するようになされている。
2. Description of the Related Art Conventionally, an alarm device is activated to turn on an alarm lamp based on an abnormality detection signal such as "HIGH" or "LOW" from a plurality of monitoring sensors, such as an alarm device. Or, in a data processing device that generates an alarm, a start control signal and a stop control signal for controlling the operation of an alarm device are formed by obtaining a logical product or a logical sum of a plurality of abnormality detection signals. For example, when each control signal is formed based on the abnormality detection signals from the three types of monitoring sensors, for example, the logical sum of the three abnormality detection signals is calculated and one of the abnormality detection signals is detected. Is "HIGH", the start control signal is output as "HIGH" and the abnormality detection signal is "LO".
When it becomes "W", the stop control signal is output as "HIGH".

【0003】また、論理積を求めることによって各制御
信号を形成する場合には、3つの異常検出信号が全て
“HIGH”となった場合に、起動制御信号を“HIG
H”として出力し、異常検出信号が全て“LOW”とな
ったときに停止制御信号を“HIGH”として出力する
ようになされている。
Further, in the case where each control signal is formed by obtaining a logical product, when all three abnormality detection signals are "HIGH", the start control signal is "HIGH".
When the abnormality detection signals are all "LOW", the stop control signal is output as "HIGH".

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来のデータ処理装置においては、異常検出信号の“HI
GH”又は“LOW”の状態をもとに、論理積又は論理
和等の単一条件によって各制御信号を形成するようにな
されているために、異常検出信号が“HIGH”に状態
変化した場合と、“LOW”に状態変化した場合とで、
各制御信号の出力を行うための条件を変えることができ
ず、例えば、異常検出信号の論理和をもとに各制御信号
を形成する場合には、全ての異常検出信号が“HIG
H”であるときに何れかの異常検出信号が“LOW”と
なった場合等には、停止制御信号が“HIGH”となっ
てしまい、他の異常検出信号が“HIGH”であるにも
係わらず、警報器が作動を停止してしまうという未解決
の課題がある。
However, in the above conventional data processing apparatus, the "HI" of the abnormality detection signal is detected.
When the abnormality detection signal changes to "HIGH" because each control signal is formed by a single condition such as logical product or logical sum based on the state of "GH" or "LOW". And when the status changes to "LOW",
The condition for outputting each control signal cannot be changed. For example, when each control signal is formed based on the logical sum of the abnormality detection signals, all the abnormality detection signals are "HIGH".
When any of the abnormality detection signals becomes "LOW" when it is "H", the stop control signal becomes "HIGH", and the other abnormality detection signals are "HIGH". However, there is an unsolved problem that the alarm device stops operating.

【0005】そこで、この発明は、上記従来の未解決の
課題に着目してなされたものであり、異常検出信号の状
態変化に応じて各制御信号の出力条件を変えることので
きるデータ処理装置を提供することを目的としている。
Therefore, the present invention has been made in view of the above-mentioned unsolved problems of the prior art, and provides a data processing device capable of changing the output condition of each control signal in accordance with the change in the state of the abnormality detection signal. It is intended to be provided.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係わるデータ処理装置においては、図1の
基本構成図に示すように、第1の状態と第2の状態とで
表される複数の入力信号の状態変化をもとに第1の出力
信号と第2の出力信号とを形成するデータ処理装置にお
いて、前記複数の入力信号の前回の状態を格納する格納
手段と、該格納手段に格納した前回の状態と前記複数の
入力信号の今回の状態との排他的論理和を求め状態変化
の有無を検出する状態変化検出手段と、該状態変化検出
手段で状態変化を検出したとき状態変化を検出した入力
信号の今回の状態が前記第1の状態であるとき第1の出
力信号を出力する第1出力手段と、前記状態変化検出手
段で状態変化を検出したとき全ての入力信号の今回の状
態が前記第2の状態であるとき第2の出力信号を出力す
る第2出力手段とを備えることを特徴としている。
In order to achieve the above object, in the data processing apparatus according to the present invention, as shown in the basic configuration diagram of FIG. 1, the data can be displayed in the first state and the second state. A data processing device for forming a first output signal and a second output signal based on state changes of a plurality of input signals, the storing means storing the previous states of the plurality of input signals; A state change detecting means for detecting the presence or absence of a state change by obtaining an exclusive OR of the previous state stored in the storing means and the current state of the plurality of input signals, and the state change detecting means detects the state change. When the current state of the input signal when the state change is detected is the first state, first output means for outputting the first output signal, and when the state change detection means detects the state change, all inputs The current state of the signal is the second state It is characterized in that it comprises a second output means for outputting a second output signal when it is.

【0007】[0007]

【作用】例えば、第1の状態と第2の状態とで表される
複数の入力信号の状態変化をもとに第1の出力信号と第
2の出力信号とを形成するデータ処理装置において、状
態変化検出手段により、格納手段に格納した入力信号の
前回の状態と入力信号の今回の状態との排他的論理和を
求めて状態変化の有無を検出し、状態変化検出手段で状
態変化を検出したとき、第1出力手段によって状態変化
を検出した入力信号の今回の状態が第1の状態であると
き第1の出力信号を出力し、第2出力手段によって全て
の入力信号の今回の状態が第2の状態であるとき第2の
出力信号を出力する。
For example, in a data processing device that forms a first output signal and a second output signal based on state changes of a plurality of input signals represented by a first state and a second state, The state change detection means detects the presence or absence of a state change by obtaining the exclusive OR of the previous state of the input signal stored in the storage means and the current state of the input signal, and the state change detection means detects the state change. Then, the first output signal is output when the current state of the input signal whose state change has been detected by the first output means is the first state, and the current state of all the input signals is changed by the second output means. When in the second state, the second output signal is output.

【0008】[0008]

【実施例】以下に、本発明の実施例を図面に基づいて説
明する。図2は、本発明によるデータ処理装置を適用し
た警報装置の概略構成図である。この警報装置1は、例
えば、工場等の空調設備の異常を監視するものであり、
空調設備に設けられた、温度的異常を検出する温度異常
検出センサ2と、空調設備の何らかの故障を検出する設
備故障検出センサ4と、火災を検出する火災検出センサ
6とからの入力信号としての異常検出信号をもとに警報
器を作動して、例えば、警報ランプを点灯する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a schematic configuration diagram of an alarm device to which the data processing device according to the present invention is applied. The alarm device 1 monitors, for example, an abnormality in an air conditioning facility such as a factory,
As input signals from a temperature abnormality detection sensor 2 for detecting a temperature abnormality, an equipment failure detection sensor 4 for detecting some failure of the air conditioning equipment, and a fire detection sensor 6 for detecting a fire, which are provided in the air conditioning equipment. An alarm device is activated based on the abnormality detection signal, and, for example, an alarm lamp is turned on.

【0009】データ処理装置12は、例えば、プログラ
マブルコントローラ等によって構成され、図2に示すよ
うに、空調設備に配設された温度異常検出センサ2と、
設備故障検出センサ4と火災検出センサ6と接続され、
また、警報器14と接続される。ここで、温度異常検出
センサ2、設備故障検出センサ4及び火災検出センサ6
は、それぞれ、異常状態であるとき異常検出信号を第1
の状態としての“HIGH”として出力し、正常状態で
あるとき異常検出信号を第2の状態としての“LOW”
として出力するものとする。
The data processing device 12 is composed of, for example, a programmable controller or the like, and as shown in FIG. 2, a temperature abnormality detecting sensor 2 arranged in air conditioning equipment,
Connected to the equipment failure detection sensor 4 and the fire detection sensor 6,
Further, it is connected to the alarm device 14. Here, the temperature abnormality detection sensor 2, the equipment failure detection sensor 4, and the fire detection sensor 6
Respectively send an abnormality detection signal to the first when an abnormal state is detected.
Is output as "HIGH" as the state of "," and the abnormality detection signal is output as "LOW" as the second state in the normal state.
Shall be output as.

【0010】そして、データ処理装置12は、各監視セ
ンサからの異常検出信号を8ビットのワードデータとし
て、予め設定した読み込み周期で読み込み、読み込んだ
異常検出信号をレジスタ等で構成される記憶部Mwに格
納する。そして、レジスタ等で構成された格納手段とし
ての記憶部Maに、予め格納した前回入力した異常検出
信号と、記憶部Mwに格納した異常検出信号とをもと
に、警報器14を起動する第1の出力信号としての起動
制御信号Saと、警報ランプを消灯する第2の出力信号
としての停止制御信号Sbとを形成し、警報器14にモ
ーメンタリ出力する。
Then, the data processing device 12 reads the abnormality detection signal from each monitoring sensor as 8-bit word data at a preset reading cycle, and the read abnormality detection signal is composed of a storage unit Mw comprising a register or the like. To store. Then, the alarm device 14 is activated based on the previously input abnormality detection signal previously stored in the storage unit Ma as a storage unit configured by a register or the like and the abnormality detection signal stored in the storage unit Mw. The start control signal Sa as the output signal of 1 and the stop control signal Sb as the second output signal for turning off the alarm lamp are formed and momentarily output to the alarm device 14.

【0011】警報器14では、データ処理装置12から
の起動制御信号Sa及び停止制御信号Sbとに基づいて
作動し、起動制御信号Saが“HIGH”となったと
き、例えば、警報ランプを点灯し、停止制御信号Sbが
“LOW”となったとき、警報ランプを消灯する。ここ
で、記憶部Mw及び記憶部Maは、図3(a),(b)
に示すように、それぞれ、w7 〜w0 ,a7 〜a0 の8
ビットで構成され、温度異常検出センサ2からの異常検
出信号m1が最下位ビットw0 ,a0 に格納され、設備
故障検出センサ4からの異常検出信号m2が2ビット目
のw1 ,a1 、火災検出センサ6からの異常検出信号m
3が3ビット目のw2 ,a2 というように、順次高位ビ
ットに格納されるものとする。
The alarm device 14 operates based on the start control signal Sa and the stop control signal Sb from the data processing device 12, and when the start control signal Sa becomes "HIGH", for example, an alarm lamp is turned on. When the stop control signal Sb becomes "LOW", the alarm lamp is turned off. Here, the storage unit Mw and the storage unit Ma are as shown in FIGS.
As shown in FIG. 8, 8 of w 7 to w 0 and a 7 to a 0 , respectively.
The abnormality detection signal m1 from the temperature abnormality detection sensor 2 is stored in the least significant bits w 0 and a 0 , and the abnormality detection signal m2 from the equipment failure detection sensor 4 is the second bit w 1 and a 1. , The abnormality detection signal m from the fire detection sensor 6
It is assumed that 3 is sequentially stored in high-order bits such as w 2 and a 2 of the third bit.

【0012】次に、上記実施例の動作を、図4に示す、
データ処理装置12の処理手順を示すフローチャートに
基づいて説明する。データ処理装置12は、まず、ステ
ップS1において、今回入力した異常検出信号を格納す
る記憶部Mwの各ビットデータw7 〜w0 と、前回入力
時の異常検出信号を格納する記憶部Maの各ビットデー
タa7 〜a0 とをそれぞれ、“0”に初期設定し、ステ
ップS2に移行する。
Next, the operation of the above embodiment is shown in FIG.
An explanation will be given based on a flowchart showing a processing procedure of the data processing device 12. The data processing unit 12, first, at step S1, the respective bit data w 7 to w 0 of the storage unit Mw for storing an abnormality detection signal inputted this time, each of the memory unit Ma to store the abnormality detection signal at the time of the previous input each bit data a 7 ~a 0, the initial set to "0", the process proceeds to step S2.

【0013】次いで、ステップS2では、カウンタ変数
Nを、入力する異常検出信号の数に“1”を加算した数
に設定し、この場合、3つの監視センサからの異常検出
信号を入力するので、N=4に設定する。次いで、ステ
ップS3に移行し、各監視センサからの異常検出信号m
1〜m3を読み込み、それぞれ、記憶部Mwの所定のビ
ットに格納し、ステップS4に移行する。この場合、記
憶部Mwの各ビットデータは、w7 =……=w3 =0,
2 =m3、w1 =m2、w0 =m1となる。
Next, in step S2, the counter variable
N is the number of input abnormality detection signals plus "1"
Set to, in this case, anomaly detection from three monitoring sensors
Since a signal is input, set N = 4. Then,
Go to step S3, the abnormality detection signal m from each monitoring sensor
1 to m3 are read, and each of the predetermined files in the storage unit Mw is read.
Stored in the network, and the process proceeds to step S4. In this case,
Each bit data of the memory Mw is w7= …… = w3= 0,
w 2= M3, w1= M2, w0= M1.

【0014】ステップS4では、カウンタ変数NをN=
N−1とした後、ステップS5に移行し、ステップS5
では、カウンタ変数NがN=0であるか否かを判定す
る。ステップS5で、カウンタ変数N=0である場合に
はステップS6に移行し、記憶部Mwに格納した各異常
検出信号を記憶部Maに格納し、ステップS2に戻る。
In step S4, the counter variable N is set to N =
After setting to N-1, the process proceeds to step S5, and step S5
Then, it is determined whether or not the counter variable N is N = 0. In step S5, when the counter variable N = 0, the process proceeds to step S6, the abnormality detection signals stored in the storage unit Mw are stored in the storage unit Ma, and the process returns to step S2.

【0015】そして、ステップS5でカウンタ変数N=
0でない場合にはステップS7に移行し、記憶部Maに
格納した前回入力時の異常検出信号と、記憶部Mwに格
納した今回入力した異常検出信号との排他的論理和を対
応するビット毎に求め、さらに、求めた排他的論理和
と、二進数表示した2N-1 の1の補数との論理和を対応
する各ビット毎に求め、この演算結果を状態変数X(x
7 〜x0 )とする。
Then, in step S5, the counter variable N =
If it is not 0, the process proceeds to step S7, and the exclusive OR of the previously input abnormality detection signal stored in the storage unit Ma and the presently input abnormality detection signal stored in the storage unit Mw is obtained for each corresponding bit. Further, the logical sum of the obtained exclusive OR and the one's complement of 2 N-1 represented in binary number is obtained for each corresponding bit, and the operation result is expressed by the state variable X (x
7 to x 0 ).

【0016】次いで、ステップS8に移行して、状態変
数Xの各ビットデータが、x7 =……=x0 =1である
か否かを判定し、x7 =……=x0 =1でない場合に
は、ステップS4に戻り、x7 =……=x0 =1である
場合には、ステップS9に移行する。ステップS9で
は、記憶部Mwに格納した今回入力した異常検出信号
と、二進数表示した2N-1 の1の補数との論理和を対応
する各ビット毎に求め、これを変化状態Y(y7
0 )としてステップS10に移行する。
[0016] Then, the processing proceeds to step S8, the bit data of the state variable X, it is determined whether or not x 7 = ...... = x 0 = 1, x 7 = ...... = x 0 = 1 If not, the process returns to step S4, in the case of x 7 = ...... = x 0 = 1 , the process proceeds to step S9. In step S9, the logical sum of the abnormality detection signal input this time stored in the storage unit Mw and the one's complement of 2 N-1 displayed in binary is obtained for each corresponding bit, and this is calculated as the change state Y (y 7 ~
y 0 ) and the process proceeds to step S10.

【0017】そして、ステップS9において、変化状態
Yの各ビットデータがy7 =……=y0 =1であるか否
かを判定し、y7 =……=y0 =1である場合には、ス
テップS11に移行し、警報器14を起動する起動制御
信号Saを“HIGH”としてモーメンタリ出力し、ス
テップS4に戻る。一方、ステップS10で、変化状態
7 =……=y0 =1でない場合には、ステップS12
に移行し、記憶部Mwがw7 =……=w0 =0であるか
否かを判定し、w7 =……=w0 =0でない場合には、
ステップS4に戻り、w7 =……=w0 =0である場合
には、ステップS13に移行して、警報器14の作動を
停止する停止制御信号Sbを“HIGH”としてモーメ
ンタリ出力し、ステップS4に戻る。
Then, in step S9, it is determined whether or not each bit data of the change state Y is y 7 = ... = Y 0 = 1. When y 7 = ... = Y 0 = 1 Shifts to step S11, momentarily outputs the activation control signal Sa for activating the alarm device 14 as "HIGH", and returns to step S4. On the other hand, if it is determined in step S10 that the change state y 7 = ... = y 0 = 1 is not satisfied, step S12
Then, it is determined whether or not w 7 = ... = w 0 = 0 in the storage unit Mw. If w 7 = ... = w 0 = 0 is not satisfied,
Returning to step S4, when w 7 = ... = w 0 = 0, the process proceeds to step S13, and the stop control signal Sb for stopping the operation of the alarm device 14 is momentarily output as “HIGH”, Return to S4.

【0018】ここで、ステップS1〜S8が状態変化検
出手段に対応し、ステップS9〜S11が第1出力手段
に対応し、ステップS12〜S13が第2出力手段に対
応している。次に、空調設備に配設した温度異常検出セ
ンサ2と、設備故障検出センサ4と、火災検出センサ6
とからの各異常検出信号m1〜m3をもとに、警報器1
4の起動制御信号Sa及び停止制御信号Sbを形成する
場合の、データ処理装置12の動作を、図5に示すタイ
ミングチャートに基づき説明する。
Here, steps S1 to S8 correspond to state change detecting means, steps S9 to S11 correspond to first output means, and steps S12 to S13 correspond to second output means. Next, the temperature abnormality detection sensor 2 installed in the air conditioning equipment, the equipment failure detection sensor 4, and the fire detection sensor 6
Based on the respective abnormality detection signals m1 to m3 from
The operation of the data processing device 12 in the case of forming the start control signal Sa and the stop control signal Sb of No. 4 will be described based on the timing chart shown in FIG.

【0019】なお、図5において、(a)は、温度異常
検出センサ2からの異常検出信号m1、(b)は、設備
故障検出センサ4からの異常検出信号m2、(c)は、
火災検出センサ6からの異常検出信号m3、(d)は、
データ処理装置12からの警報器14を起動する起動制
御信号Sa、(e)は、データ処理装置12からの警報
器14の動作を停止する停止制御信号Sb、(f)は、
各異常検出信号m1〜m3の論理和を表す。
In FIG. 5, (a) is the abnormality detection signal m1 from the temperature abnormality detection sensor 2, (b) is the abnormality detection signal m2 from the equipment failure detection sensor 4, and (c) is the abnormality detection signal m2.
The abnormality detection signals m3, (d) from the fire detection sensor 6 are
The start control signal Sa, (e) for activating the alarm device 14 from the data processing device 12 is the stop control signal Sb, (f) for stopping the operation of the alarm device 14 from the data processing device 12,
The logical sum of the abnormality detection signals m1 to m3 is shown.

【0020】まず、データ処理装置12を起動すると、
記憶部Mw及びMaの各ビットデータが、“0”に初期
設定されて、w7 =……=w0 =a7 ……=a0 =0と
なる。また、この場合、3種類の監視センサからの異常
検出信号を入力するので、カウンタ変数NはN=4に設
定される。そして、空調設備が正常に作動しているもの
とすると、時点t0での各監視センサからの異常検出信
号m1〜m3は“LOW”であり(図5(a)〜
(c))、データ処理装置12では、入力した異常検出
信号m1〜m3を記憶部Mwの所定のビットに格納する
が、記憶部Mwの各ビットデータはw7 =……=w0
0のままである。
First, when the data processor 12 is activated,
Each bit data of the storage unit Mw and Ma is "0" is initially set to, a w 7 = ...... = w 0 = a 7 ...... = a 0 = 0. Further, in this case, since the abnormality detection signals from the three types of monitoring sensors are input, the counter variable N is set to N = 4. Then, assuming that the air conditioning equipment is operating normally, the abnormality detection signals m1 to m3 from the respective monitoring sensors at the time point t0 are “LOW” (FIG.
(C)) In the data processing device 12, the inputted abnormality detection signals m1 to m3 are stored in predetermined bits of the storage unit Mw, but each bit data of the storage unit Mw is w 7 = ... = W 0 =
It remains 0.

【0021】このとき、空調設備は正常に作動している
ので、記憶部Maの各ビットデータもa7 ……=a0
0であり、よって、記憶部MwとMaとの対応するビッ
ト毎の排他的論理和は“0,0,0,0,0,0,0,
0”となる。そして、カウンタ変数N=3の場合、二進
数表示の2N-1 の1の補数C(N=3)は、“1,1,
1,1,1,0,1,1”となり、記憶部MwとMaと
の排他的論理和と、二進数表示の2N-1 の1の補数C
(N=3)との論理和を対応するビット毎に求めると、
“1,1,1,1,1,0,1,1”となり、よって、
状態変数Xは、x7 =……=x0 =1ではないので、記
憶部Mwのビットデータw2 である火災検出センサ6か
らの異常検出信号m3には状態変化がなかったものと判
定し、各制御信号は“LOW”のままとなる。
At this time, since the air conditioning equipment is operating normally, each bit data in the storage unit Ma is also a 7 ... = a 0 =
Therefore, the corresponding bitwise exclusive OR of the storage units Mw and Ma is “0,0,0,0,0,0,0,0.
When the counter variable N = 3, the binary complement 2 N-1 one's complement C (N = 3) is “1, 1,
1 , 1, 1 , 0, 1 , 1 ", and the exclusive OR of the storage units Mw and Ma and the binary complement of 2 N-1 one's complement C
When the logical sum of (N = 3) is obtained for each corresponding bit,
It becomes “1,1,1,1,1,0,1,1”, so
State variable X is not a x 7 = ...... = x 0 = 1, it is determined that there is no state change in the abnormality detection signal m3 from the fire detection sensor 6 is bit data w 2 of the storage unit Mw , Each control signal remains "LOW".

【0022】次いで、カウンタ変数N=2の場合、二進
数表示の2N-1 の1の補数C(N=2)は、“1,1,
1,1,1,1,0,1”となり、記憶部MwとMaと
の排他的論理和と、二進数表示の2N-1 の1の補数C
(N=2)との論理和を対応するビット毎に求めると、
“1,1,1,1,1,1,0,1”となり、よって、
状態変数Xは、x7 =……=x0 =1ではないので、記
憶部Mwのビットデータw1 である設備故障検出センサ
4からの異常検出信号m2には状態変化がなかったもの
と判定し、各制御信号は“LOW”のままとなる。
Next, when the counter variable N = 2, the binary complement 2 N-1 one's complement C (N = 2) is "1, 1,
1 , 1, 1 , 1, 0, 1 ", and the exclusive OR of the storage units Mw and Ma and the binary complement 2 N-1 one's complement C
When the logical sum with (N = 2) is obtained for each corresponding bit,
It becomes "1,1,1,1,1,1,1,0,1", so
Since the state variable X is not x 7 = ... = x 0 = 1, it is determined that the abnormality detection signal m2 from the equipment failure detection sensor 4, which is the bit data w 1 of the storage unit Mw, has no state change. However, each control signal remains "LOW".

【0023】同様に、カウンタ変数N=1の場合、二進
数表示の2N-1 の1の補数C(N=1)は、“1,1,
1,1,1,1,1,0”となり、記憶部Mwと記憶部
Maとの排他的論理和と、二進数表示の2N-1 の1の補
数C(N=1)との論理和を対応するビット毎に求める
と、“1,1,1,1,1,1,1,0”となり、よっ
て、状態変数Xは、x7 =……=x0 =1ではないの
で、記憶部Mwのビットデータw0 である温度異常検出
センサ2からの異常検出信号m1には状態変化がなかっ
たものと判定し、各制御信号は“LOW”のままとな
る。
Similarly, when the counter variable N = 1, the binary complement 2 N-1 one's complement C (N = 1) is “1, 1,
1 , 1, 1 , 1, 1 , 0 ", and the logic of the exclusive OR of the storage unit Mw and the storage unit Ma and the 1's complement C (N = 1) of 2 N-1 in binary notation When the sum is calculated for each corresponding bit, it becomes “1,1,1,1,1,1,1,1,0”, and therefore the state variable X is not x 7 = ... = x 0 = 1 It is determined that the abnormality detection signal m1 from the temperature abnormality detection sensor 2, which is the bit data w 0 of the storage unit Mw, has not changed state, and each control signal remains “LOW”.

【0024】そして、記憶部Mwの各ビットデータを記
憶部Maの対応するビットに格納し、次の読み込み周期
である、時点t1で、各異常検出信号m1〜m3を読み
込む。ここで、例えば、時点t1で、空調設備に温度異
常が発生し、温度異常検出センサ2からの異常検出信号
m1が“HIGH”となったものとする(図5
(a))。
Then, each bit data of the storage unit Mw is stored in the corresponding bit of the storage unit Ma, and the abnormality detection signals m1 to m3 are read at the time t1 which is the next reading cycle. Here, for example, assume that a temperature abnormality occurs in the air conditioning equipment at a time point t1 and the abnormality detection signal m1 from the temperature abnormality detection sensor 2 becomes “HIGH” (FIG. 5).
(A)).

【0025】データ処理装置12では、入力した異常検
出信号m1〜m3をそれぞれ、記憶部Mwに格納し、こ
れによって記憶部Mwのビットデータw7 〜w0
“0,0,0,0,0,0,0,1”となる。この時、
時点t0では、空調設備は正常状態であったので、記憶
部Maのビットデータa7 〜a0 は、“0,0,0,
0,0,0,0,0”となり、よって、記憶部MaとM
wとの対応するビット毎の排他的論理和は“0,0,
0,0,0,0,0,1”となる。
[0025] In the data processing apparatus 12, respectively an abnormality detection signal m1~m3 entered, stored in the storage unit Mw, which bit data w 7 to w 0 of the memory unit Mw some "0,0,0,0, 0,0,0,1 ". This time,
At time t0, since air conditioning was normal state, bit data a 7 ~a 0 of the memory unit Ma is "0,0,0,
0,0,0,0,0 ", and therefore the storage units Ma and M
An exclusive OR for each bit corresponding to w is “0, 0,
0,0,0,0,0,1 ".

【0026】そして、カウンタ変数N=3の場合、二進
数表示の2N-1 の1の補数C(N=3)は、“1,1,
1,1,1,0,1,1”となり、記憶部MwとMaと
の排他的論理和と、二進数表示の2N-1 の1の補数C
(N=3)との論理和を対応するビット毎に求めると、
“1,1,1,1,1,0,1,1”となり、よって、
状態変数Xは、x7 =……=x0 =1とはならないの
で、記憶部Mwのビットデータw2 である火災検出セン
サ6からの異常検出信号m3には状態変化がなかったも
のと判定する。
When the counter variable N = 3, the binary complement 2 N-1 1's complement C (N = 3) is "1, 1,
1 , 1, 1 , 0, 1 , 1 ", and the exclusive OR of the storage units Mw and Ma and the binary complement of 2 N-1 one's complement C
When the logical sum of (N = 3) is obtained for each corresponding bit,
It becomes “1,1,1,1,1,0,1,1”, so
Since the state variable X is not x 7 = ... = x 0 = 1, it is determined that there is no state change in the abnormality detection signal m3 from the fire detection sensor 6 which is the bit data w 2 of the storage unit Mw. To do.

【0027】次いで、カウンタ変数N=2の場合、二進
数表示の2N-1 の1の補数C(N=2)は、“1,1,
1,1,1,1,0,1”となり、記憶部MwとMaと
の排他的論理和と、二進数表示の2N-1 の1の補数C
(N=2)との論理和を対応するビット毎に求めると、
“1,1,1,1,1,1,0,1”となり、よって、
状態変数Xは、x7 =……=x0 =1とはならないの
で、記憶部Mwのビットデータw1 である設備故障検出
センサ4からの異常検出信号m2には状態変化がなかっ
たものと判定する。
Next, when the counter variable N = 2, the binary complement 2 N-1 one's complement C (N = 2) is "1, 1,
1 , 1, 1 , 1, 0, 1 ", and the exclusive OR of the storage units Mw and Ma and the binary complement 2 N-1 one's complement C
When the logical sum with (N = 2) is obtained for each corresponding bit,
It becomes "1,1,1,1,1,1,1,0,1", so
Since the state variable X does not become x 7 = ... = x 0 = 1, it is assumed that there is no state change in the abnormality detection signal m2 from the equipment failure detection sensor 4 which is the bit data w 1 of the storage unit Mw. judge.

【0028】同様に、カウンタ変数N=1の場合、二進
数表示の2N-1 の1の補数C(N=1)は、“1,1,
1,1,1,1,1,0”となり、記憶部MwとMaと
の排他的論理和と、二進数表示の2N-1 の1の補数C
(N=1)との論理和を対応するビット毎に求めると、
“1,1,1,1,1,1,1,1”となる。よって、
状態変数Xは、x7 =……=x0 =1となるので、記憶
部Mwのビットデータw 0 である温度異常検出センサ2
からの異常検出信号m1に状態変化があったものと判定
する。
Similarly, when the counter variable N = 1, binary
Number display 2N-1The one's complement C (N = 1) of “1,1,
1,1,1,1,1,0 ", and the storage units Mw and Ma
Exclusive OR of two and binary display of 2N-1One's complement of C
When the logical sum with (N = 1) is obtained for each corresponding bit,
It becomes "1,1,1,1,1,1,1,1,1". Therefore,
The state variable X is x7= …… = x0= 1, so remember
Bit data w of part Mw 0Abnormal temperature detection sensor 2
It was determined that the abnormality detection signal m1 from
To do.

【0029】そして、記憶部Mwと二進数表示の2N-1
の1の補数C(N=1)との論理和を対応するビット毎
に求めると、“1,1,1,1,1,1,1,1”とな
り、よって、変化状態Yは、y7 =……=y0 =1とな
るので、警報器14の起動制御信号Saを“HIGH”
としてモーメンタリ出力する(図5(d))。これによ
って、警報器14では、例えば、警報ランプを点灯し、
そして、データ処理装置12では、記憶部Mwの各ビッ
トデータを記憶部Maの対応するビットに格納し、次の
読み込み周期である、時点t2で、各異常検出信号m1
〜m3を読み込む。
Then, the storage unit Mw and the binary number display 2 N-1
When the logical sum with the one's complement C (N = 1) of is obtained for each corresponding bit, it becomes “1,1,1,1,1,1,1,1,1”. Therefore, the change state Y is y Since 7 = ... = y 0 = 1 is set, the activation control signal Sa of the alarm device 14 is set to “HIGH”.
Momentarily output as (FIG. 5 (d)). Thereby, in the alarm device 14, for example, an alarm lamp is turned on,
Then, in the data processing device 12, each bit data of the storage unit Mw is stored in the corresponding bit of the storage unit Ma, and at the time t2 which is the next reading cycle, each abnormality detection signal m1.
Read ~ m3.

【0030】時点t2で、新たに、空調設備に何らかの
故障が発生したものとすると、設備故障検出センサ4か
らの異常検出信号m2が“HIGH”となる。データ処
理装置12では、上記と同様に処理を行い、読み込んだ
異常検出信号m1〜m3が記憶部Mwに格納され、記憶
部Mwのビットデータw7 〜w0 は“0,0,0,0,
0,0,1,1”となる。このとき、記憶部Maのビッ
トデータa7 〜a0 は“0,0,0,0,0,0,0,
1”であり、記憶部Mwと記憶部Maとの対応するビッ
ト毎の排他的論理和は“0,0,0,0,0,0,1,
0”となる。
At the time point t2, if a new failure occurs in the air conditioning equipment, the abnormality detection signal m2 from the equipment failure detection sensor 4 becomes "HIGH". In the data processing apparatus 12 performs processing similar to the above, read the abnormality detection signal m1~m3 is stored in the storage unit Mw, bit data w 7 to w 0 of the storage unit Mw is "0, 0, 0, 0 ,
0, 0, 1, 1 ”. At this time, the bit data a 7 to a 0 of the storage unit Ma are“ 0, 0, 0, 0, 0, 0, 0, 0 ,
1 ”, and the exclusive OR for each corresponding bit of the storage unit Mw and the storage unit Ma is“ 0, 0, 0, 0, 0, 0, 1,
It becomes 0 ".

【0031】よって、温度異常検出センサ2及び火災検
出センサ6からの異常検出信号m1及びm3には状態変
化がないので、カウンタ変数N=3及びN=1のとき、
状態変数Xは、x7 =……=x0 =1とはならない。そ
して、カウンタ変数N=2の場合には、二進数表示の2
N-1 の1の補数C(N=2)は“1,1,1,1,1,
1,0,1”となり、記憶部MwとMaとの排他的論理
和と、二進数表示の2N-1 の1の補数C(N=2)との
論理和を対応するビット毎に求めると、“1,1,1,
1,1,1,1,1”となり、よって、状態変数Xが、
7 =……=x0 =1となり、このときの、記憶部Mw
と二進数表示の2N-1 の1の補数C(N=2)との論理
和を対応するビット毎に求めると、“1,1,1,1,
1,1,1,1”となり、よって、変化状態Yは、y7
=……=y0 =1となるので、起動制御信号Saを“H
IGH”としてモーメンタリ出力する(図5(d))。
Therefore, since there is no state change in the abnormality detection signals m1 and m3 from the temperature abnormality detection sensor 2 and the fire detection sensor 6, when the counter variables N = 3 and N = 1,
The state variable X does not become x 7 = ... = x 0 = 1. When the counter variable N = 2, the binary display of 2
The one's complement C (N = 2) of N-1 is "1, 1 , 1, 1 , 1,
1, 0, 1 ", and the logical sum of the exclusive OR of the storage units Mw and Ma and the one's complement C (N = 2) of 2 N-1 in binary notation is obtained for each corresponding bit. And "1, 1, 1,
1,1,1,1,1 ", so the state variable X is
x 7 = ... = x 0 = 1 and the storage unit Mw at this time
And the logical sum of 2 N-1 one's complement C (N = 2) in binary notation is calculated for each corresponding bit, “ 1 , 1, 1 , 1,
1,1,1,1 ", and thus the change state Y is y 7
= ... = y 0 = 1 and therefore the activation control signal Sa is changed to “H
Momentarily output as "IGH" (FIG. 5 (d)).

【0032】そして、記憶部Mwの各ビットデータを記
憶部Maの対応するビットに格納し、次の読み込み周期
である、時点t3で異常検出信号m1〜m3を読み込
む。時点t3では、各監視センサからの異常検出信号m
1〜m3に状態変化がないので、カウンタ変数N=1〜
3の何れの場合も、状態変数Xがx7 =……=x0=1
とならないので、各制御信号は“LOW”となる。
Then, each bit data of the storage unit Mw is stored in the corresponding bit of the storage unit Ma, and the abnormality detection signals m1 to m3 are read at time t3, which is the next read cycle. At time t3, the abnormality detection signal m from each monitoring sensor
Since there is no state change in 1 to m3, the counter variable N = 1 to 1
In any case of 3, the state variable X is x 7 = ... = x 0 = 1
Therefore, each control signal becomes "LOW".

【0033】そして、例えば、時点t4で空調設備が正
常状態に復帰し、設備故障検出センサ4からの異常検出
信号m2が“LOW”に変化した場合、このとき、記憶
部Maのビットデータa7 〜a0 は“0,0,0,0,
0,0,1,1”であり、記憶部Mwのビットデータw
7 〜w0 は“0,0,0,0,0,0,0,1”とな
り、記憶部Mw及びMaの対応するビット毎の排他的論
理和は“0,0,0,0,0,1,0”となる。
Then, for example, when the air conditioning equipment returns to the normal state at time t4 and the abnormality detection signal m2 from the equipment failure detection sensor 4 changes to "LOW", at this time, the bit data a 7 of the storage unit Ma ~ A 0 is “0, 0, 0, 0,
0,0,1,1 ", and the bit data w of the storage unit Mw
7 to w 0 are “ 0, 0, 0, 0, 0, 0, 0, 1”, and the exclusive OR of corresponding bits of the storage units Mw and Ma is “ 0, 0, 0, 0, 0 ”. , 1, 0 ”.

【0034】時点t4では、カウンタ変数N=1及び3
のとき状態変数Xがx7 =……=x 1 =1とならない
が、カウンタ変数N=2のとき、記憶部Mwと記憶部M
aとの排他的論理和と、二進数表示の2N-1 の1の補数
C(N=2)“1,1,1,1,1,1,0,1”との
論理和を対応するビット毎に求めると、“1,1,1,
1,1,1,1,1”となり、よって、状態変数Xがx
7 =……=x0 =1となる。
At time t4, counter variables N = 1 and 3
, The state variable X is x7= …… = x 1Does not become 1
, When the counter variable N = 2, the storage unit Mw and the storage unit M
Exclusive OR with a and binary display 2N-1One's complement of
C (N = 2) "1,1,1,1,1,1,0,1"
When the logical sum is calculated for each corresponding bit, “1, 1, 1,
1,1,1,1,1 ", so the state variable X is x
7= …… = x0= 1.

【0035】このとき、状態変数Yは、記憶部Mwのビ
ットデータw7 〜w0 が“0,0,0,0,0,0,
0,1”、二進数表示の2N-1 の1の補数C(N=2)
が“1,1,1,1,1,1,0,1”であることから
“1,1,1,1,1,1,0,1”となり、状態変数
Yはy7 =……=y0 =1とはならず、記憶部Mwはw
7 =……=w0 =0ではないので、設備故障検出センサ
4からの異常検出信号m2が“LOW”に状態変化した
ものと判定するが、異常検出信号m1〜m3が“LO
W”状態ではないので、記憶部Mwの各ビットデータを
記憶部Maの対応するビットに格納し、次の読み込み周
期である、時点t5で、各異常検出信号m1〜m3を読
み込む。
At this time, the state variable Y is the value in the memory Mw.
Data w7~ W0Is “0,0,0,0,0,0,
0,1 ", 2 in binary notationN-1One's complement of C (N = 2)
Is "1,1,1,1,1,1,1,0,1"
"1,1,1,1,1,1,1,0,1" becomes the state variable
Y is y7= …… = y0= 1 is not satisfied, and the storage unit Mw is w
7= …… = w0= 0, so equipment failure detection sensor
The abnormality detection signal m2 from 4 changed to "LOW"
However, the abnormality detection signals m1 to m3 are "LO".
Since it is not in the "W" state, each bit data of the storage unit Mw is
It is stored in the corresponding bit of the memory unit Ma, and the next read cycle is stored.
At the time t5, which is a period, each abnormality detection signal m1 to m3 is read.
See in.

【0036】次いで、時点t5で、空調設備に火災が発
生した場合には、火災検出センサ6からの異常検出信号
m3が“HIGH”となり、このとき、記憶部Mwのビ
ットデータw7 〜w0 は“0,0,0,0,0,1,
0,1”、記憶部Maのビットデータa7 〜a0
“0,0,0,0,0,0,0,1”となり、よって、
記憶部Mwと記憶部Maとの対応するビット毎の排他的
論理和は“0,0,0,0,0,1,0,0”となる。
[0036] Then, at time t5, when the fire occurs in the air conditioning, the abnormality detection signal m3 is "HIGH" next to the fire detection sensor 6, this time, the bit data w 7 to w 0 of the memory unit Mw Is "0,0,0,0,0,1,
0,1 ", bit data a 7 ~a 0 of the memory unit Ma is" 0,0,0,0,0,0,0,1 ", and thus,
The exclusive OR for each corresponding bit of the storage unit Mw and the storage unit Ma is “0,0,0,0,0,1,0,0”.

【0037】よって、カウンタ変数N=1及び2の場合
には、温度異常検出センサ2及び設備故障検出センサ4
からの異常検出信号m1及びm2に状態変化がないの
で、状態変数Xがx7 =……=x0 =1とはならない
が、カウンタ変数N=3のとき、記憶部Mwと記憶部M
aとの排他的論理和と、二進数表示の2N-1 の1の補数
C(N=3)“1,1,1,1,1,0,1,1”との
論理和を対応するビット毎に求めると“1,1,1,
1,1,1,1,1”となり、よって、状態変数Xがx
7 =……=x0 =1となり、このとき、状態変数Yは
“1,1,1,1,1,1,1,1”となり、y7 =…
…=y0 =1となるので、起動制御信号Saを“HIG
H”としてモーメンタリ出力する(図5(d))。
Therefore, when the counter variables N = 1 and 2, the temperature abnormality detection sensor 2 and the equipment failure detection sensor 4 are detected.
Since there is no state change in the abnormality detection signals m1 and m2 from the state variable X, the state variable X does not become x 7 = ... = x 0 = 1.
Corresponds the exclusive OR with a and the OR with the 2 N-1 one's complement C (N = 3) “1,1,1,1,1,1,0,1,1” in binary notation For each bit to be calculated, "1, 1, 1,
1,1,1,1,1 ", so the state variable X is x
7 = ... = x 0 = 1 and at this time, the state variable Y becomes "1,1,1,1,1,1,1,1,1", and y 7 = ...
Since == y 0 = 1 is set, the start control signal Sa is changed to "HIG
Momentarily output as "H" (FIG. 5 (d)).

【0038】そして、記憶部Mwの各ビットデータを記
憶部Maの対応するビットに格納する。次いで、例え
ば、時点t6で、空調設備の温度が正常に復帰した場合
には、温度異常検出センサ2からの異常検出信号m1が
“LOW”に変化し、これによって、カウンタ変数N=
1のとき、状態変数Xがx7 =……=x0 =1となる
が、このとき、変化状態Yがy7 =……=y0 =1とは
ならず、記憶部Mwのビットデータがw7 =……=w0
=0ではないので、各制御信号は“LOW”のままとな
り、記憶部Mwの各ビットデータを記憶部Maの対応す
るビットに格納し、次の読み込み周期で異常検出信号m
1〜m3を読み込む。
Then, each bit data of the storage unit Mw is stored in the corresponding bit of the storage unit Ma. Next, for example, when the temperature of the air conditioning equipment returns to normal at time t6, the abnormality detection signal m1 from the temperature abnormality detection sensor 2 changes to "LOW", whereby the counter variable N =
When it is 1, the state variable X becomes x 7 = ... = x 0 = 1 but at this time, the change state Y does not become y 7 = ... = y 0 = 1 and the bit data of the storage unit Mw Is w 7 = …… = w 0
Since = 0, each control signal remains “LOW”, each bit data of the storage unit Mw is stored in the corresponding bit of the storage unit Ma, and the abnormality detection signal m is stored in the next read cycle.
Read 1 to m3.

【0039】そして、例えば、時点t7で、空調設備の
火災がおさまった場合には、火災検出センサ6からの異
常検出信号m3が“LOW”に変化し、このとき、記憶
部Mwのビットデータw7 〜w0 は“0,0,0,0,
0,0,0,0”となり、記憶部Maのビットデータa
7 〜a0 は“0,0,0,0,0,1,0,0”である
ので、記憶部Mwと記憶部Maとの対応するビット毎の
排他的論理和は“0,0,0,0,0,1,0,0”と
なる。
Then, for example, at time t7, when the fire of the air conditioning equipment subsides, the abnormality detection signal m3 from the fire detection sensor 6 changes to "LOW", and at this time, the bit data w of the storage unit Mw. 7 to w 0 are “0, 0, 0, 0,
0,0,0,0 ", and the bit data a of the storage unit Ma
Since 7 to a 0 are “0, 0, 0, 0, 0, 1, 0, 0”, the exclusive OR for each corresponding bit of the storage unit Mw and the storage unit Ma is “0, 0, 0,0,0,1,0,0 ".

【0040】したがって、異常検出信号m3に状態変化
があるので、カウンタ変数N=3のとき、記憶部Mwと
記憶部Maとの排他的論理和と、二進数表示の2N-1
1の補数C(N=3)“1,1,1,1,1,0,1,
1”との論理和を対応するビット毎に求めると、“1,
1,1,1,1,1,1,1”となり、よって、状態変
数Xがx7 =……=x0 =1となり、このとき、記憶部
Mwと二進数表示の2 N-1 の1の補数C(N=3)との
対応するビット毎の論理和は“1,1,1,1,1,
0,1,1”となり、よって、変化状態Yがy7 =……
=y0 =1とはならない。そして、このとき、記憶部M
wのビットデータはw7 =……=w0 =0であるので、
警報器14の停止制御信号Sbを“HIGH”としてモ
ーメンタリ出力する(図5(e))。
Therefore, the state change to the abnormality detection signal m3
Therefore, when the counter variable N = 3,
Exclusive OR with storage unit Ma and binary display 2N-1of
1's complement C (N = 3) “1, 1, 1, 1, 1, 0, 1,
When the logical sum of "1" is obtained for each corresponding bit, "1,"
1,1,1,1,1,1,1,1 ", so the state change
Number X is x7= …… = x0= 1, and at this time the storage unit
2 of Mw and binary number display N-1With one's complement C (N = 3) of
The logical sum of corresponding bits is "1, 1, 1, 1, 1,
0,1,1 ", so the change state Y is y7= ……
= Y0It will not be = 1. At this time, the storage unit M
Bit data of w is w7= …… = w0= 0, so
The stop control signal Sb of the alarm device 14 is set to "HIGH".
Output (Fig. 5 (e)).

【0041】これによって、警報器14では、警報ラン
プを消灯し、データ処理装置12では、続いて上記と同
様に処理を行う。したがって、時点t1で温度異常検出
センサ2で温度異常を検出したとき、警報器14の起動
制御信号Saが“HIGH”となり、図5(f)に示す
ように、各監視センサからの異常検出信号m1〜m3が
全て“LOW”となる時点t7で停止制御信号Sbが
“HIGH”となり、何れかの監視センサで異常を検出
したとき警報ランプが点灯し、全ての監視センサで正常
状態を検出したとき警報ランプを消灯することになり、
よって、異常検出信号が“LOW”から“HIGH”に
状態変化する場合と、“HIGH”から“LOW”に状
態変化する場合とによって、起動制御信号Sa及び停止
制御信号Sbを“HIGH”として出力する条件を変え
ることができる。
As a result, the alarm lamp of the alarm device 14 is turned off, and the data processing device 12 subsequently performs the same processing as described above. Therefore, when the temperature abnormality detection sensor 2 detects the temperature abnormality at the time point t1, the activation control signal Sa of the alarm device 14 becomes “HIGH”, and as shown in FIG. At time t7 when all of m1 to m3 are "LOW", the stop control signal Sb becomes "HIGH", and when an abnormality is detected by any of the monitoring sensors, an alarm lamp is turned on and all the monitoring sensors detect a normal state. When the alarm lamp is turned off,
Therefore, the start control signal Sa and the stop control signal Sb are output as "HIGH" depending on whether the abnormality detection signal changes from "LOW" to "HIGH" or from "HIGH" to "LOW". You can change the conditions to do.

【0042】また、オペレータは、警報ランプが点灯し
ている間は、空調設備において何らかの異常が発生して
いることを認識し、逆に、警報ランプが消灯している間
は、空調設備が正常に作動していることを認識すること
ができる。なお、上記実施例においては、記憶部Mw及
びMaを8ビットで形成した場合について説明したがこ
れに限らず、任意のビット数で形成することができ、ま
た、上記実施例では、3種類の異常検出信号をもとに警
報器14の制御信号を形成する場合について説明した
が、記憶部Mw及びMaに格納可能な数の異常検出信号
であれば、適用することが可能である。
The operator recognizes that some abnormality is occurring in the air conditioning equipment while the alarm lamp is on, and conversely, the air conditioning equipment is operating normally while the alarm lamp is off. You can recognize that it is working. In addition, although the case where the storage units Mw and Ma are formed of 8 bits has been described in the above embodiment, the present invention is not limited to this, and it may be formed with an arbitrary number of bits. The case where the control signal for the alarm device 14 is generated based on the abnormality detection signal has been described, but any number of abnormality detection signals that can be stored in the storage units Mw and Ma can be applied.

【0043】また、上記実施例においては、警報機14
では、データ処理装置12から“HIGH”の起動制御
信号Saを入力したとき、警報ランプを点灯するように
なされているが、起動制御信号Sa及び停止制御信号S
bをもとにアラームを発生させる等、任意に適用するこ
とができる。また、上記実施例においては、記憶部Mw
とMaの各ビット毎の排他的論理和と、二進数表示の2
N-1 の1の補数との論理和を求めることによって、状態
変化の有無を検出するようになされているが、ステップ
S7で、記憶部MwとMaの各ビット毎の排他的論理和
と、二進数表示の2N-1 との論理積を求めることによっ
て、状態変化の有無を検出するようにすることも可能で
あり、この場合、図5のステップS8で、状態変数Xが
7 =……=x0 =0であるか否かを判定し、状態変数
Xがx7 =……=x0 =0でないときステップS9に移
行し、ステップS9で記憶部Mwと二進数表示の2N-1
との対応するビット毎の論理積によって変化状態Yを求
め、ステップS10で、変化状態Yがy7 =……=y0
=0であるときステップS12に移行し、ステップS1
2で記憶部Mwがw7 =……=w 0 =0であるか否かを
判定し、記憶部Mwがw7 =……=w0 =0であると
き、ステップS13に移行して、停止制御信号Sbを
“HIGH”として出力するようにする。
Further, in the above embodiment, the alarm 14
Then, start control of "HIGH" from the data processing device 12
Turn on the alarm lamp when the signal Sa is input
However, the start control signal Sa and the stop control signal S
It can be applied arbitrarily such as generating an alarm based on b.
You can Further, in the above embodiment, the storage unit Mw
And bitwise exclusive OR of 2 and Ma
N-1The logical sum of 1 and the complement of
It is designed to detect the presence or absence of changes, but steps
In S7, the exclusive OR for each bit of the storage units Mw and Ma
And the binary number 2N-1By finding the logical product of
It is also possible to detect the presence or absence of a state change.
Yes, in this case, in step S8 of FIG.
x7= …… = x0= 0, it is determined whether the state variable
X is x7= …… = x0If not = 0, move to step S9
Then, in step S9, the storage unit Mw and the binary number 2 are displayed.N-1
Change state Y is obtained by the logical product of each corresponding bit of
Therefore, in step S10, the change state Y is y7= …… = y0
= 0, the process proceeds to step S12, and step S1
In 2 the storage unit Mw is w7= …… = w 0= 0 or not
It is determined that the storage unit Mw is w.7= …… = w0= 0
The step S13, the stop control signal Sb
Output as "HIGH".

【0044】また、上記実施例においては、各監視セン
サからの異常検出信号をワードデータとして一括して処
理を行うようになされているが、1ビットずつ、すなわ
ち、各異常検出信号毎に処理することも可能である。ま
た、上記実施例においては、第1の出力信号として起動
制御信号を、第2の出力信号として停止制御信号を適用
した場合について説明したが、第1の出力信号として停
止制御信号、第2の出力信号として起動制御信号を適用
することも可能であり、また、第1の状態として“HI
GH”状態、第2の状態として“LOW”状態を適用し
た場合について説明したが、上記と同様に、第1の状態
として“LOW”状態、第2の状態として“HIGH”
状態を適用することも可能である。
Further, in the above embodiment, the abnormality detection signals from the respective monitoring sensors are collectively processed as word data, but they are processed bit by bit, that is, for each abnormality detection signal. It is also possible. Further, in the above embodiment, the case where the start control signal is applied as the first output signal and the stop control signal is applied as the second output signal has been described, but the stop control signal and the second output signal are applied as the first output signal. It is also possible to apply the activation control signal as the output signal, and the first state is "HI".
The case where the "GH" state and the "LOW" state are applied as the second state has been described, but similarly to the above, the "LOW" state is the first state and the "HIGH" state is the second state.
It is also possible to apply states.

【0045】[0045]

【発明の効果】以上説明したように、本発明に係わるデ
ータ処理装置によれば、第1の状態と第2の状態とで表
される複数の入力信号の状態変化をもとに第1の出力信
号と第2の出力信号とを形成するデータ処理装置におい
て、状態変化検出手段によって格納手段に格納した複数
の入力信号の前回の状態と今回の状態との排他的論理和
を求めて状態変化の有無を検出し、状態変化検出手段で
入力信号のうち何れかについて状態変化を検出したと
き、状態変化を検出した入力信号の今回の状態が第1の
状態であるとき第1出力手段によって第1の出力信号を
出力し、全ての入力信号の今回の状態が第2の状態であ
るとき第2出力手段によって第2の出力信号を出力する
ことによって、入力信号の今回の状態が第1の状態であ
る場合と第2の状態である場合とで第1及び第2の出力
信号の出力条件を変えることができる。
As described above, according to the data processing apparatus of the present invention, the first state based on the state change of the plurality of input signals represented by the first state and the second state is obtained. In a data processing device that forms an output signal and a second output signal, a state change is obtained by obtaining the exclusive OR of the previous state and the current state of a plurality of input signals stored in the storage means by the state change detection means. When the state change detecting means detects a state change in any of the input signals, when the current state of the input signal in which the state change is detected is the first state, the first output means By outputting the second output signal by the second output means when the current output state of all input signals is the second state, the second output means outputs the second output signal. The state and the second state Output condition of the first and second output signals in a certain case may be changed.

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

【図1】本発明の概要を示す基本構成図である。FIG. 1 is a basic configuration diagram showing an outline of the present invention.

【図2】本発明の一実施例を示す概略構成図である。FIG. 2 is a schematic configuration diagram showing an embodiment of the present invention.

【図3】記憶部Mw及びMaの構成図である。FIG. 3 is a configuration diagram of storage units Mw and Ma.

【図4】データ処理装置の処理手順を示すフローチャー
トである。
FIG. 4 is a flowchart showing a processing procedure of the data processing device.

【図5】本発明の動作説明の供する説明図である。FIG. 5 is an explanatory diagram for explaining the operation of the present invention.

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

12 データ処理装置 Mw,Ma 記憶部 m1〜m3 異常検出信号 12 Data processing device Mw, Ma Storage part m1-m3 Abnormality detection signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 第1の状態と第2の状態とで表される複
数の入力信号の状態変化をもとに第1の出力信号と第2
の出力信号とを形成するデータ処理装置において、前記
複数の入力信号の前回の状態を格納する格納手段と、該
格納手段に格納した前回の状態と前記複数の入力信号の
今回の状態との排他的論理和を求め状態変化の有無を検
出する状態変化検出手段と、該状態変化検出手段で状態
変化を検出したとき状態変化を検出した入力信号の今回
の状態が前記第1の状態であるとき第1の出力信号を出
力する第1出力手段と、前記状態変化検出手段で状態変
化を検出したとき全ての入力信号の今回の状態が前記第
2の状態であるとき第2の出力信号を出力する第2出力
手段とを備えることを特徴とするデータ処理装置。
1. A first output signal and a second output signal based on state changes of a plurality of input signals represented by a first state and a second state.
In the data processing device for forming the output signal of the above, the storage means for storing the previous states of the plurality of input signals, the exclusion of the previous state stored in the storage means and the present state of the plurality of input signals State change detection means for obtaining the logical OR to detect the presence or absence of the state change, and when the state change detection means detects the state change, when the current state of the input signal detected the state change is the first state First output means for outputting a first output signal, and second output signal when the current state of all input signals when the state change is detected by the state change detection means is the second state And a second output means for performing the data processing.
JP665494A 1994-01-25 1994-01-25 Data processor Pending JPH07210782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP665494A JPH07210782A (en) 1994-01-25 1994-01-25 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP665494A JPH07210782A (en) 1994-01-25 1994-01-25 Data processor

Publications (1)

Publication Number Publication Date
JPH07210782A true JPH07210782A (en) 1995-08-11

Family

ID=11644370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP665494A Pending JPH07210782A (en) 1994-01-25 1994-01-25 Data processor

Country Status (1)

Country Link
JP (1) JPH07210782A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008093292A (en) * 2006-10-13 2008-04-24 Sankyo Kk Game machine
JP2011092795A (en) * 2011-02-18 2011-05-12 Sankyo Co Ltd Game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008093292A (en) * 2006-10-13 2008-04-24 Sankyo Kk Game machine
JP2011092795A (en) * 2011-02-18 2011-05-12 Sankyo Co Ltd Game machine

Similar Documents

Publication Publication Date Title
US6314350B1 (en) Methods and apparatus for generating maintenance messages
JPS60122407A (en) Programmable controller
JPH07210782A (en) Data processor
JPH03196729A (en) Error display device for data transmission system
JP3702605B2 (en) Transmission system having trigger function and time interval measuring method of input / output signal thereof
JPH10260905A (en) Electronic equipment
JPS61813A (en) Deciding system for faulty area of sequence controller
JPH06161518A (en) Programmable controller
JPH05304795A (en) Servo motor control device
JP3488903B2 (en) Programmable controller and process fault monitoring method thereof
JP2533373B2 (en) Control program creation method
JP2712514B2 (en) High efficiency circuit of annunciator
JPH07152441A (en) Temperature regulator
JP3356631B2 (en) Control system with LCD display
JPS59194254A (en) Decision system of factor of change in operation state
JPS629442A (en) Error detecting circuit
KR0125945B1 (en) Method of operating monitoring for processor
JP2022182356A (en) Controller and control method
JPS59140519A (en) Controller for robot
JPH04284511A (en) Abnormality detector for programmable controller
JPH05313710A (en) Programmable controller
JPH11202913A (en) Controller for pmc
JPH0344709A (en) External trouble detecting device
JPH07104841A (en) Abnormality detecting method for programmable controller
JPS63193260A (en) Host processor monitoring system for loosely coupled multiprocessor system