JPS5938618B2 - Contact input circuit abnormality inspection device - Google Patents

Contact input circuit abnormality inspection device

Info

Publication number
JPS5938618B2
JPS5938618B2 JP52142386A JP14238677A JPS5938618B2 JP S5938618 B2 JPS5938618 B2 JP S5938618B2 JP 52142386 A JP52142386 A JP 52142386A JP 14238677 A JP14238677 A JP 14238677A JP S5938618 B2 JPS5938618 B2 JP S5938618B2
Authority
JP
Japan
Prior art keywords
bus
circuit
level conversion
memory
contact input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP52142386A
Other languages
Japanese (ja)
Other versions
JPS5474654A (en
Inventor
俊二 森
章 宮本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP52142386A priority Critical patent/JPS5938618B2/en
Publication of JPS5474654A publication Critical patent/JPS5474654A/en
Publication of JPS5938618B2 publication Critical patent/JPS5938618B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 最近のコンピュータ応用はめざましいものがあるが、そ
れと共に問題となるのがその信頼性である。
DETAILED DESCRIPTION OF THE INVENTION Recent computer applications have been remarkable, but their reliability has also become a problem.

特にシーケンス制御等に応用する場合、プロセスからは
接点の状態を表わす信号(接点入力)をコンピュータの
入力(ディジタル入力)として取込むが、その接点の状
態と実際にコンピュータのメモリ内にとり込んだ情報が
完全に一致していることが重要であり、その間に不一致
があればシーケンスの誤動作の原因となり、プラントの
停止あるいは主機の損傷等をもたらすおそれがある。そ
のため従来より接点入力情報の正誤チェックがなされて
いるが、その代表的な1例を図1に示す。図において3
1〜3nは接点入力(ディジタル入力)であり、その情
報はレベル変換回路4によりコンピュータ回路に合致し
た信号レベルに変換され、アドレス回路5によりバス1
0を通つてメモリ2内の該当アドレスに書き込まれる。
そしてこれら情報に基づいて中央処理装置(CPU)1
で所定の演算を行ない、制御信号を出力する。この場合
最も弱点となるのはレベル変換回路4であるので、通常
は全く同じ構成機能を有するもう1つのレベル変換回路
6を誤り検知用として併設し、両レベル変換回路4、6
の出力を異常検出回路?、8に供給して比較判定し、一
方が0で他方が1の如き不一致を生じたときは、前記回
路7または8の出力(異常信号)をオア回路9により警
報、ランプ表示手段等に供給して警報したり、表示した
りしている。このような従来装置には下記のような欠点
がある。(1)故障検出の対象がレベル変換回路4に限
定されており、アドレス回路5、CPUI、メモリ2等
の故障は検出不能である。
Particularly when applied to sequence control, etc., a signal representing the state of a contact (contact input) is taken in from the process as input (digital input) to a computer, but the state of the contact and the information actually taken into the computer's memory are It is important that they match completely; any discrepancy between them may cause sequence malfunctions, which may result in plant stoppage or damage to the main engine. For this reason, contact input information has conventionally been checked for correctness, and one typical example is shown in FIG. In the figure 3
1 to 3n are contact inputs (digital inputs), and the information is converted by the level conversion circuit 4 to a signal level that matches the computer circuit, and the address circuit 5 transfers the information to the bus 1.
0 and is written to the corresponding address in memory 2.
Based on this information, the central processing unit (CPU) 1
performs a predetermined calculation and outputs a control signal. In this case, the weakest point is the level conversion circuit 4, so normally another level conversion circuit 6 having exactly the same configuration function is provided for error detection, and both level conversion circuits 4, 6
Is the output an abnormality detection circuit? . The alarm is issued or displayed. Such conventional devices have the following drawbacks. (1) The object of failure detection is limited to the level conversion circuit 4, and failures in the address circuit 5, CPUI, memory 2, etc. cannot be detected.

(2)レベル変換回路6、異常検出回路T、8およびオ
ア回路9のような余分なハードウエアが必要となり、部
品点数が増カロするのでそれだけ構造が複雑となり、信
頼曲が落ちる。
(2) Extra hardware such as the level conversion circuit 6, the abnormality detection circuits T and 8, and the OR circuit 9 is required, and the number of parts increases, making the structure that much more complicated and reducing reliability.

また、前記諸装置は接点入力31〜30の1個について
1組ずつ必要になるので、特に接点入力の個数が数百、
数千となる場合はコスト上昇が著しくなる。(3)故障
検出を外部のハードウエアで実行しているためCPUl
やメモリ2にて実行している演算・制御と同期をとるの
が困難であり、オア回路9から異常信号が出力されても
、場合によつてはこれによる保護動作や演算・制御の停
止などが間に合わず、誤つた信号によりプロセスの制御
を実行してしまう危険がある。
In addition, since each of the above-mentioned devices requires one set for each of the contact inputs 31 to 30, the number of contact inputs may be several hundreds or more.
If the number is several thousand, the cost will rise significantly. (3) Since fault detection is executed by external hardware, the CPU
It is difficult to synchronize with the calculations and control being executed in the memory 2 and the memory 2, and even if an abnormal signal is output from the OR circuit 9, in some cases, this may cause a protective operation or stop of the calculations and control. There is a risk that the process will be controlled due to incorrect signals.

本発明は以上の欠点を取り除き、安価でかつ確実に実施
できる接点入力回路の異常点検装置を提供するものであ
る。
The present invention eliminates the above-mentioned drawbacks and provides a contact input circuit abnormality inspection device that can be carried out inexpensively and reliably.

以下図面を参照して本発明を詳細に説明する。図2は本
発明の一実施例のプロツク図、図3は本発明の1実施例
のフローチヤートである。図2に示す如く、それぞれ取
込バス回路11、点検バス回路12を介してバス10お
よびCPUlに接続された取込バス16および点検バス
17を設け、点検バス17をレベル変換回路41〜40
の入力にそれぞれダイオードD1〜Dnを介して接続す
ると共に、取込バス16を前記入力にそれぞれ接点入力
31〜3nとダイオードd1〜Dnとの直列回路を介し
て接続する。なお、前記ダイオードD1〜Dnおよびd
1〜DOは、取込バス16および点検バス17上の各信
号が、相互に干渉するのを防止する働らきを有するもの
である。本発明による異常点検動作について説明する。
The present invention will be described in detail below with reference to the drawings. FIG. 2 is a block diagram of one embodiment of the present invention, and FIG. 3 is a flowchart of one embodiment of the present invention. As shown in FIG. 2, an acquisition bus 16 and an inspection bus 17 are provided which are connected to the bus 10 and the CPU1 via an acquisition bus circuit 11 and an inspection bus circuit 12, respectively, and the inspection bus 17 is connected to the level conversion circuits 41 to 40.
The input bus 16 is connected to the inputs via diodes D1 to Dn, respectively, and the intake bus 16 is connected to the inputs via a series circuit of contact inputs 31 to 3n and diodes d1 to Dn, respectively. Note that the diodes D1 to Dn and d
1 to DO have the function of preventing each signal on the acquisition bus 16 and inspection bus 17 from interfering with each other. An abnormality inspection operation according to the present invention will be explained.

図3のフローチヤートに示したように、まず、点検バス
回路12、取込バス回路11を介して点検バス17及び
取込バス16上の信号をOにし(S1)、その時のレベ
ル変換回路41〜40の出力をそれぞれ該当のアドレス
に取込む(S2)。この場合図2から明らかなように、
レベル変換回路41〜4nの入力は全点0であり、当然
該当アドレスのメモリ内容も全部0となるべきである。
従つてこの時のメモリ内容をチエツクし(S3)、その
結果、その内容が1となつているアドレスがあれば、こ
れに関連するレベル変換回路、ダイオード、アドレス指
定回路などの接点入力回路、あるいはCPUl、メモリ
2に異常があると判定し、警報を出すか、制御をロツク
するかの少なくとも一方を実行する(S4)。異常のな
い場合−すなわち該当アドレスの内容がすべて0であつ
た場合は点検バス17上の信号をOから1に変更し(S
5)、前と同様にしてレベル変換回路41〜4nの出力
を該当アドレスに取込み(S6)、その内容が総て1か
どうかチエツクする(S7)。そして、そのメモリ内容
が0となつているアドレスがあれば該当するレベル変換
回路、ダイオードなどの入力あるいはCPUl、メモリ
2等に異常があると判定し、前記同様に警報を出すか、
制御をロツクするかの少なくとも一方を行なう(S8)
。該当アドレスの内容がすべて1であれば正常と判定す
る。正常の場合次のステツプS9で取込バス16上の信
号を1、点検バス17上の信号をOにする。この時各接
点入力31〜30の伏態(開か閉か)に従い該当アドレ
スのメモリ内容が変化する(SlO)。このメモリ内容
により従来公知の手法にしたがつて各種制御が実行され
る(Sll)。以上のように本発明によれば、各接点入
力から情報をとり込む前に必ず読み取り部の点検をする
ことになり、正しい情報をとり込むことが出来るととも
に異常のある場合は容易に制御をロツクすることが出来
るのはもちろん、レベル変換回路以外のアドレス回路、
メモリ等の異常点検も可能となる。また、点検のために
付7J11)する装置は、各接点入力ごとに付設する2
個のダイオード、全接点入力に共通の点検バスと、点検
バス回路および取込バス回路であり、図1に示した従来
のものに比較して部品点数Hj大幅に減り、構造簡単と
なるので信頼曲が高く、かつ安価にできる。なお、以上
の説明においては、点検バス17上の信号を0にしたと
きと、1にしたときとの2つの状態について該当アドレ
スのメモリ内容をチエツクする例をあげたが、これは何
れか一方を実施するだけで実用上は十分である。
As shown in the flowchart of FIG. 3, first, the signals on the inspection bus 17 and the intake bus 16 are set to O via the inspection bus circuit 12 and the intake bus circuit 11 (S1), and the level conversion circuit 41 at that time -40 outputs are each taken into the corresponding address (S2). In this case, as is clear from Figure 2,
The input points of the level conversion circuits 41 to 4n are all 0, and naturally the memory contents at the corresponding addresses should also be all 0.
Therefore, the memory contents at this time are checked (S3), and if there is an address whose contents are 1, the related level conversion circuit, diode, contact input circuit such as an address designation circuit, or It is determined that there is an abnormality in the CPU 1 and the memory 2, and at least one of issuing an alarm and locking the control is executed (S4). If there is no abnormality - that is, if the contents of the corresponding address are all 0, change the signal on the inspection bus 17 from O to 1 (S
5) In the same manner as before, the outputs of the level conversion circuits 41 to 4n are taken into the corresponding addresses (S6), and it is checked whether the contents are all 1 (S7). If there is an address whose memory content is 0, it is determined that there is an abnormality in the input of the corresponding level conversion circuit, diode, etc., CPU1, memory 2, etc., and an alarm is issued in the same manner as above.
At least one of locking the control is performed (S8).
. If the contents of the corresponding address are all 1, it is determined to be normal. If it is normal, the signal on the intake bus 16 is set to 1 and the signal on the inspection bus 17 is set to O in the next step S9. At this time, the memory contents of the corresponding address change according to the closed state (open or closed) of each contact input 31 to 30 (SlO). Based on this memory content, various controls are executed according to conventionally known methods (Sll). As described above, according to the present invention, the reading unit is always inspected before taking in information from each contact input, making it possible to take in correct information and easily locking the control if there is an abnormality. Of course, address circuits other than level conversion circuits,
It also becomes possible to check for abnormalities in memory, etc. In addition, the equipment to be attached for inspection (7J11) shall be attached to each contact input.
diodes, a common inspection bus for all contact inputs, an inspection bus circuit, and a take-in bus circuit.Compared to the conventional type shown in Figure 1, the number of parts Hj is greatly reduced, and the structure is simple and reliable. Songs can be made at high prices and at low prices. In the above explanation, an example was given in which the memory contents of the corresponding address are checked in two states: when the signal on the inspection bus 17 is set to 0 and when it is set to 1. For practical purposes, it is sufficient to simply implement the following.

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

図1は従来の接点入力回路異常点検装置の1例のプロツ
ク図、図2は本発明の〜実施例、図3は本発明の1実施
例のフローチヤートである。 1・・・・・・CPUl2・・・・・・メモリ、31〜
3n・・・・・・接点入力、41〜40・・・−・・レ
ベル変換回路、11・・・・・・取込バス回路、12・
・・・・・点検バス回路、16・・・・・・取込バス、
17・・・・・・点検バス、D1〜Dn,d1〜dn・
・・・・・ダイオード。
FIG. 1 is a block diagram of an example of a conventional contact input circuit abnormality inspection device, FIG. 2 is a flowchart of an embodiment of the present invention, and FIG. 3 is a flowchart of an embodiment of the present invention. 1...CPUl2...Memory, 31~
3n...Contact input, 41-40...Level conversion circuit, 11...Intake bus circuit, 12.
...Inspection bus circuit, 16...Intake bus,
17...Inspection bus, D1-Dn, d1-dn・
·····diode.

Claims (1)

【特許請求の範囲】[Claims] 1 取込バスと、前記取込バス上に、予定の信号を、予
定のタイミングで出力する取込バス回路と、それぞれ対
応する接点を介して、その入力端が前記取込バスに接続
された複数のレベル変換回路と、前記レベル変換回路の
出力を記憶するメモリと、前記メモリの内容を読取る手
段とを具備した接点入力回路の異常点検装置であつて、
予定の電圧に保持される点検バスと、前記各レベル変換
回路の入力端を前記点検バスに接続する手段と、前記取
込バスおよび前記点検バス上の信号の相互干渉を防止す
る手段と、点検バス上に、予定の信号を、予定のタイミ
ングで出力する点検バス回路と、前記取込バス上の信号
が0の間に、前記メモリに記憶された前記レベル変換回
路の出力が、前記点検バス上の信号に合致しているか否
かを検出する手段とを具備し、合致しているときは正常
と判定し、合致しないときは異常と判定することを特徴
とする接点入力回路の異常点検装置。
1. An acquisition bus, an acquisition bus circuit that outputs a scheduled signal on the acquisition bus at a scheduled timing, and an input end thereof is connected to the acquisition bus through corresponding contacts. An abnormality inspection device for a contact input circuit, comprising a plurality of level conversion circuits, a memory for storing outputs of the level conversion circuits, and means for reading the contents of the memory,
a test bus maintained at a predetermined voltage; means for connecting input ends of each of the level conversion circuits to the test bus; means for preventing mutual interference of signals on the intake bus and the test bus; and a test bus. a check bus circuit that outputs a scheduled signal at a scheduled timing on the bus, and an output of the level conversion circuit stored in the memory while the signal on the take-in bus is 0; An abnormality inspection device for a contact input circuit, comprising means for detecting whether or not the above signals match, and when the signals match, it is determined to be normal, and when they do not match, it is determined to be abnormal. .
JP52142386A 1977-11-28 1977-11-28 Contact input circuit abnormality inspection device Expired JPS5938618B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52142386A JPS5938618B2 (en) 1977-11-28 1977-11-28 Contact input circuit abnormality inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52142386A JPS5938618B2 (en) 1977-11-28 1977-11-28 Contact input circuit abnormality inspection device

Publications (2)

Publication Number Publication Date
JPS5474654A JPS5474654A (en) 1979-06-14
JPS5938618B2 true JPS5938618B2 (en) 1984-09-18

Family

ID=15314148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52142386A Expired JPS5938618B2 (en) 1977-11-28 1977-11-28 Contact input circuit abnormality inspection device

Country Status (1)

Country Link
JP (1) JPS5938618B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5775316A (en) * 1980-10-29 1982-05-11 Fanuc Ltd Receiving system for state signal of numerical controller

Also Published As

Publication number Publication date
JPS5474654A (en) 1979-06-14

Similar Documents

Publication Publication Date Title
JPH052654A (en) Method and circuit for detecting fault of microcomputer
US4683569A (en) Diagnostic circuit utilizing bidirectional test data comparisons
JPS5938618B2 (en) Contact input circuit abnormality inspection device
JPS62293441A (en) Data outputting system
JPS6016996Y2 (en) Address selection device for input/output interface device
JPS6161426B2 (en)
JPS5812011A (en) Input and output check system
JPS5917465B2 (en) Check device
SU441532A1 (en) Device for detecting faults in logic circuits
JP2704062B2 (en) Information processing device
JPH079636B2 (en) Bus diagnostic device
JPS5866135A (en) Abnormality detection for bus
JPS6051136B2 (en) Data error detection method
JP3255725B2 (en) Instrumentation interface
JPS60116043A (en) Data processing device
JP3071846B2 (en) Parity error detection method and parity error detection circuit
JPS5916302B2 (en) Check device
JPS5816487B2 (en) Multiple selection detection device in computer system
Wood Software aids to microcomputer system reliability
JPH02120953A (en) Storage device
JPS6029978B2 (en) Check device
JPH04102906A (en) Device for monitoring failure of control equipment
JPS61115143A (en) Detection circuit of malfunction of scan bus
JPS58219646A (en) Pipeline control system
JPS5844260B2 (en) Expected value pattern creation device