JPH0630502B2 - Data bus relay device - Google Patents

Data bus relay device

Info

Publication number
JPH0630502B2
JPH0630502B2 JP61271289A JP27128986A JPH0630502B2 JP H0630502 B2 JPH0630502 B2 JP H0630502B2 JP 61271289 A JP61271289 A JP 61271289A JP 27128986 A JP27128986 A JP 27128986A JP H0630502 B2 JPH0630502 B2 JP H0630502B2
Authority
JP
Japan
Prior art keywords
bus
power supply
computer
power
supply device
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 - Fee Related
Application number
JP61271289A
Other languages
Japanese (ja)
Other versions
JPS63125032A (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP61271289A priority Critical patent/JPH0630502B2/en
Publication of JPS63125032A publication Critical patent/JPS63125032A/en
Publication of JPH0630502B2 publication Critical patent/JPH0630502B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、データ転送用バスの中継装置に関し、更に詳
しくは、中継するバスの上流側と下流側とがそれぞれ異
なった電源装置によって駆動されているようなデータバ
ス中継装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a relay device for a data transfer bus. More specifically, the upstream side and the downstream side of a bus to be relayed are driven by different power supply devices. The present invention relates to such a data bus relay device.

(従来の技術) 第3図は、中継するバスの上流側と下流側とがそれぞれ
異なった電源装置によって駆動されるデータバス中継装
置の構成ブロック図である。
(Prior Art) FIG. 3 is a configuration block diagram of a data bus relay device in which the upstream side and the downstream side of a bus to be relayed are driven by different power supply devices.

図において、BS1は上流側バスで、これにはシステム全
体を管理する計算機1やI/O装置2が接続されている。
3は第1の電源装置で、上流側バスBS1に接続された計
算機1,I/O装置2に対して動作用の電力を供給してい
る。BS2は下流側バスで、これには複数のI/O装置4,
5,6が接続されている。7は上流側バスBS1と下流側
バスBS2との間に設置され、上流側バスBS1と下流側バス
BS2を通るデータバスを中継する中継装置である。8は
第2の電源装置で、中継装置7,下流側バスBS2に接続
された複数のI/O装置4,5,6に対して動作用電力を
供給している。
In the figure, BS1 is an upstream bus, to which a computer 1 and an I / O device 2 that manage the entire system are connected.
Reference numeral 3 denotes a first power supply device, which supplies operating power to the computer 1 and the I / O device 2 connected to the upstream bus BS1. BS2 is a downstream bus that has multiple I / O devices 4,
5 and 6 are connected. 7 is installed between the upstream bus BS1 and the downstream bus BS2, and the upstream bus BS1 and the downstream bus
It is a relay device that relays the data bus passing through BS2. A second power supply device 8 supplies operating power to the relay device 7 and the plurality of I / O devices 4, 5 and 6 connected to the downstream bus BS2.

(発明が解決しようとする問題点) このように構成されるシステムにおいて、例えば、第2
の電源装置8が停電し、短かい時間に復電したような場
合、それにより計算機1からいずれかのI/O装置へのア
クセスが失敗すると、その原因がI/O装置の故障による
ものか、電源装置8の停電によるものか判断できず、そ
の後のエラー処理が確定的でなくなくという問題点があ
る。
(Problems to be Solved by the Invention) In the system configured as described above, for example, the second
If the power supply 8 of the computer fails and the power is restored in a short time, and the access from the computer 1 to any of the I / O devices fails, the cause is the failure of the I / O device. However, there is a problem in that it is not possible to determine whether the power supply device 8 is due to a power failure and the error processing thereafter is not deterministic.

なお、第2の電源装置のみの停電は、第1の電源装置3
とは入力の給電系統が異なる場合や、同一の給電系統で
あっても負荷の違いがあるような場合、容易に発生し得
る。
In addition, the power failure of only the second power supply device, the first power supply device 3
Can be easily generated when the input power supply system is different, or when the loads are different even in the same power supply system.

上述した問題点を解決するひとつの手法として、第1の
電源装置3と、第2の電源装置8との間で協調を取る手
法が考えられる。すなわち、第2の電源装置8が停電を
検出し、その出力をオフにする際は、第1の電源装置3
にもそれを伝達し、第1の電源装置でも停電を発生させ
る。第1の電源装置3の停電により、計算機1は停電の
発生を認知できる。
As one method for solving the above-mentioned problems, a method of coordinating between the first power supply device 3 and the second power supply device 8 can be considered. That is, when the second power supply device 8 detects a power failure and turns off its output, the first power supply device 3
It is also transmitted to the first power supply device, which causes a power failure. Due to the power failure of the first power supply device 3, the computer 1 can recognize the occurrence of the power failure.

しかしながら、このような手法によれば、第1の電源装
置3と第2の電源装置8間でのダイレクトな信号伝送手
段が必要となり、各電源装置を特殊な構成にしなければ
ならない。また、上流側バスBS1に複数の中継装置を介
して複数の下流側バスBS2が接続されるようなシステム
においては、ひとつの電源装置の故障により、システム
全体がダウンすることとなり、故障の独立性が保てない
という問題点がある。
However, according to such a method, a direct signal transmitting means between the first power supply device 3 and the second power supply device 8 is required, and each power supply device has to have a special configuration. Moreover, in a system in which a plurality of downstream buses BS2 are connected to the upstream bus BS1 via a plurality of relay devices, the failure of one power supply unit causes the entire system to go down. There is a problem that can not be maintained.

本発明は、このような問題点に鑑みてなされたもので、
その目的は、第2の電源装置に停電が発生し、それによ
り計算機1から下流側バスBS2に接続されるI/O装置に対
するアクセスに失敗した時も、そのアクセス失敗が電源
装置の停電によるものであると認知可能とし、アクセス
失敗時のエラー処理を正確に行なえるようにしたデータ
バス中継装置を実現しようとするものである。
The present invention has been made in view of such problems,
The purpose is that even when the power failure occurs in the second power supply and the access from the computer 1 to the I / O device connected to the downstream bus BS2 fails, the access failure is due to the power failure of the power supply. Therefore, it is intended to realize a data bus relay device which can be recognized as the above and can accurately perform error processing at the time of access failure.

(問題点を解決するための手段) 前記した問題点を解決する本発明は、データ転送のマス
タとなる計算機と、この計算機に接続された上流側バス
と、前記計算機及び上流側バスに接続される装置に対し
て電力を供給する第1の電源装置と、下流側バスと、前
記上流側バスと下流側バスとの間に設置され両バス間の
データ中継を行なう中継装置と、前記下流側バスに接続
され前記計算機との間でデータの授受を行なうI/O装置
と、このI/O装置及び前記中継装置に対して電力を供給
する第2の電源装置とからなり、 前記中継装置に、前記第2の電源装置の停電を検出する
停電検出手段と、この停電検出手段によって電源の復帰
が検出された時セットされるフリップフロップと、この
フリップフロップの状態を前記上流側バスを経由して読
み出し可能とするとともに、上流側バスを経由してフリ
ップフロップをリセットする回路手段とを設けたことを
特徴とするものである。
(Means for Solving Problems) According to the present invention for solving the above problems, a computer serving as a master of data transfer, an upstream bus connected to the computer, and a computer connected to the computer and the upstream bus are connected. A first power supply device for supplying electric power to the device, a downstream bus, a relay device installed between the upstream bus and the downstream bus for relaying data between the buses, and the downstream side The relay device includes an I / O device connected to a bus for exchanging data with the computer, and a second power supply device for supplying power to the I / O device and the relay device. , A power failure detecting means for detecting a power failure of the second power supply device, a flip-flop set when the power failure is detected by the power failure detecting means, and a state of the flip-flop via the upstream bus. Can be read With a and is characterized in that a circuit means for resetting the flip-flop via the upstream bus.

(作用) 電源装置8が停電し、再び復帰するような事故が発生す
ると、その状態がフリップフロップ75にメモリされ
る。従って計算機1が、I/O装置に対するアクセスを実
施し、それが失敗した場合、フリップフロップの状態を
読み出すことにより、アクセスの失敗が電源装置に起因
するものなのか、I/O装置に起因するものなのかを正確
に知ることができる。
(Operation) When a power failure occurs in the power supply device 8 and an accident occurs in which the power supply device 8 is restored again, the state is stored in the flip-flop 75. Therefore, the computer 1 accesses the I / O device and, if it fails, reads the state of the flip-flop to determine whether the access failure is due to the power supply device or due to the I / O device. You can know exactly what it is.

(実施例) 第1図は、本発明に係る装置の一例を示す構成ブロック
図である。図において、第3図の各部分と対応するもの
には同一符号を付して示す。1はデータ転送のマスタと
なる計算機である。この計算機に接続された上流側バス
BS1及び下流側バスBS2は、制御信号を転送する制御信号
バスB1と、アドレス信号及びデータ信号を転送するデー
タバスB2とからなる。4,5,6は下流側バスBS2に接
続され、計算機1との間でデータの授受を行なうI/O装
置、7は上流側バスと下流側バスとを結び、両バス間の
データ中継を行なう中継装置で、各I/O装置4,5,6
とともに、第2の電源装置8から電力が供給されて動作
する。
(Example) FIG. 1 is a configuration block diagram showing an example of an apparatus according to the present invention. In the figure, those parts corresponding to those in FIG. 3 are designated by the same reference numerals. A computer 1 is a master of data transfer. Upstream bus connected to this computer
The BS1 and the downstream side bus BS2 are composed of a control signal bus B1 for transferring a control signal and a data bus B2 for transferring an address signal and a data signal. 4, 5 and 6 are I / O devices that are connected to the downstream side bus BS2 and exchange data with the computer 1, and 7 connects the upstream side bus and the downstream side bus to relay data between both buses. The I / O devices 4, 5 and 6 which are relay devices to perform
At the same time, power is supplied from the second power supply device 8 to operate.

この中継装置7において、71は制御信号バスB1を介し
て計算機1からの制御信号を入力し、中継装置内の各部
分を制御するとともに、下流側バスBS2への制御信号を
作るバス中継制御部、72,73はデータバスB2に挿入
されたバスバッファ部である。74は第2の電源装置8
からパワーステータス信号を入力し、この電源装置の停
電及びその復帰を検出する停電検出手段、75は停電検
出手段74からの信号を入力し、停電検出手段74によ
って電源装置8の、停電からの復帰が検出された時、セ
ットされるフリップフロップ、76はフリップフロップ
75の状態を、上流側バスBS1を介して計算機1が読み
出し可能とするとともに、上流側バスBS1を介して、フ
リップフロップ75をリセットする読出しリセット回路
で、アドレス信号をデコードするアドレスデコード部7
7と、ゲート78からなる。ここでゲート78は、アド
レスデコード部77からのフリップフロップ75の状態
読出しを指示するイネェーブル信号ENによって制御され
る。
In this relay device 7, 71 is a bus relay control unit for inputting a control signal from the computer 1 via a control signal bus B1 to control each part in the relay device and for generating a control signal to a downstream side bus BS2. , 72, 73 are bus buffer units inserted in the data bus B2. 74 is the second power supply device 8
From the power failure of the power supply unit 8 by inputting a power status signal from the power supply apparatus, and detecting the power failure of the power supply and its recovery, 75 receiving the signal from the power failure detection means 74. Is detected, the state of the flip-flop 75 is set so that the computer 1 can read the state of the flip-flop 75 via the upstream bus BS1 and the flip-flop 75 is reset via the upstream bus BS1. Address decoding unit 7 for decoding the address signal in the read reset circuit
7 and a gate 78. Here, the gate 78 is controlled by an enable signal EN which instructs the address decoding unit 77 to read the state of the flip-flop 75.

このように構成した装置の動作を次に通常の動作時と停
電発生時とに分けて説明する。
Next, the operation of the apparatus configured as described above will be described separately for normal operation and power failure.

(通常動作時) 中継装置7において、バス中継制御部71は、上流側バ
スBS1を経由して計算機1からの制御信号を入力し、バ
スバッファ部72,73の開閉の制御を行なうととも
に、下流側バスBS2の制御信号を作り出す。アドレスデ
コーダ部77は、上流側バスBS1を経由して計算機1か
らアドレス信号を入力し、下流側バスBS2へ中継する
か、フリップフロップ75にアクセスするかを判定して
いる。また、バス中継制御部71からリード/ライト(R
/W)及びタイミング信号が与えられ、バス中継制御部7
1に、下流側バスBS2を選択していることを示すバス2
アクセス信号を出力している。
(During normal operation) In the relay device 7, the bus relay control unit 71 inputs a control signal from the computer 1 via the upstream bus BS1 to control the opening / closing of the bus buffer units 72 and 73, and at the same time to the downstream side. Produces control signal for side bus BS2. The address decoder unit 77 receives an address signal from the computer 1 via the upstream bus BS1 and determines whether to relay the address signal to the downstream bus BS2 or access the flip-flop 75. In addition, the read / write (R
/ W) and the timing signal are given, and the bus relay control unit 7
Bus 1 indicating that the downstream bus BS2 is selected in 1
The access signal is being output.

これにより、中継装置7は、計算機1が、上流側バスBS
1,下流側バスBS2を介してI/O装置へアクセスするため
の中継装置として働き、計算機1からのアドレス信号や
I/O装置への書き込みデータ信号、I/O装置からの読み出
しデータ信号を中継する。
As a result, in the relay device 7, the computer 1 has the upstream bus BS.
1, acting as a relay device to access I / O devices via the downstream bus BS2, and address signals from the computer 1
It relays the write data signal to the I / O device and the read data signal from the I / O device.

(停電発生時) 通常動作時において、第2の電源装置8が何んらかの原
因で停電し、かつ、その停電中に計算機1が下流側バス
BS2に接続されたI/O装置に対してアクセスし、そのアク
セスが失敗(無応答)したような場合、計算機1は中継
装置7内のフリップフロップ75の状態をリードするア
クセスを行なう。一方、中継装置7内の停電検出手段7
4は、第2の電源装置8の停電を検出するとともに、電
源の復帰が検出された時点で、フリップフロップ75を
セット(“1”の状態)する。電源が停電した後も復電
が行なわれていない場合、中継装置7に電力が供給され
なくなり、動作不能となる。
(When a power failure occurs) During normal operation, the second power supply device 8 has a power failure for some reason, and during the power failure, the computer 1 has a downstream bus.
When the I / O device connected to BS2 is accessed and the access fails (no response), the computer 1 makes an access to read the state of the flip-flop 75 in the relay device 7. On the other hand, the power failure detection means 7 in the relay device 7
4 detects a power failure of the second power supply device 8 and sets the flip-flop 75 (state "1") at the time when the power supply is detected to be restored. If the power is not restored even after the power is cut off, the relay device 7 is not supplied with power and cannot operate.

第2図は計算機1が行なう動作の一例を示すフローチャ
ートである。
FIG. 2 is a flowchart showing an example of the operation performed by the computer 1.

計算機1は、フローチャート75の状態をリードした結
果、無応答(“0”の状態)であれば、電源装置8を含
み、下流側バスBS2に接続された系統(第2バス系統)
全体がフェイルと認知する。何らかの応答があった場
合、フリップフロップ75の状態が“1”か“0”かを
判断する。ここで、“1”であれば、第2の電源装置8
が停電したことによるアクセス失敗と認知するととも
に、フリップフロップ75をリセットする。また、
“0”であれば、I/O装置の故障によるアクセス失敗と
認知し、予じめシステムで定めたI/O装置のエラー処理
を実行する。
As a result of reading the state of the flowchart 75, if the computer 1 is not responding (state of “0”), the system including the power supply device 8 and connected to the downstream side bus BS2 (second bus system)
The whole is recognized as fail. If there is any response, it is determined whether the state of the flip-flop 75 is "1" or "0". Here, if it is "1", the second power supply device 8
Recognizes that access has failed due to a power failure, and resets the flip-flop 75. Also,
If it is "0", it is recognized as an access failure due to a failure of the I / O device, and the error processing of the I / O device defined by the prediction system is executed.

(発明の効果) 以上説明したように、本発明の装置によれば、計算機1
がI/O装置に対してアクセスし、そのアクセスが失敗し
た場合、その原因がI/O装置自身によるものか、電源の
停電あるいは中継装置の故障によるものかを正確に判断
することができ、エラー処理や保守作業を容易に行なう
ことができる。また、このような効果を実現するため
に、電源装置に特別な構成を要求しないので、電源装置
として安価な汎用性のあるものを使用できる。
As described above, according to the device of the present invention, the computer 1
Can access the I / O device, and if that access fails, it can be accurately determined whether the cause is the I / O device itself, a power outage, or a relay device failure. Error handling and maintenance work can be performed easily. Further, in order to realize such an effect, a special configuration is not required for the power supply device, so that an inexpensive and versatile power supply device can be used.

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

第1図は本発明に係る装置の一例を示す構成ブロック
図、第2図はその動作を示すフローチャート、第3図は
データバス中継装置の構成ブロック図である。 1……計算機、BS1……上流側バス、BS2……下流側バ
ス、3,8……電源装置、2,4,5,6……I/O装
置、7……中継装置、74……停電検出手段、75……
フリップフロップ、76……読出しリセット回路
FIG. 1 is a configuration block diagram showing an example of a device according to the present invention, FIG. 2 is a flowchart showing its operation, and FIG. 3 is a configuration block diagram of a data bus relay device. 1 ... Computer, BS1 ... Upstream bus, BS2 ... Downstream bus, 3,8 ... Power supply device, 2,4,5,6 ... I / O device, 7 ... Relay device, 74 ... Blackout detection means, 75 ...
Flip-flop, 76 ... Readout reset circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データ転送のマスタとなる計算機と、この
計算機に接続された上流側バスと、前記計算機及び上流
側バスに接続される装置に対して電力を供給する第1の
電源装置と、下流側バスと、前記上流側バスと下流側バ
スとの間に設置され両バス間のデータ中継を行なう中継
装置と、前記下流側バスに接続され前記計算機との間で
データの授受を行なうI/O装置と、このI/O装置及び前記
中継装置に対して電力を供給する第2の電源装置とから
なり、 前記中継装置に、前記第2の電源装置の停電を検出する
停電検出手段と、この停電検出手段によって電源の復帰
が検出された時セットされるフリップフロップと、この
フリップフロップの状態を前記上流側バスを経由して読
み出し可能とするとともに、上流側バスを経由してフリ
ップフロップをリセットする回路手段とを設けたことを
特徴とするデータバス中継装置。
1. A computer that is a master for data transfer, an upstream bus connected to this computer, and a first power supply device that supplies power to devices connected to the computer and the upstream bus. Data is exchanged between a downstream bus, a relay device installed between the upstream bus and the downstream bus for relaying data between the buses, and connected to the downstream bus to exchange data with the computer I And an I / O device and a second power supply device that supplies power to the I / O device and the relay device, and a power failure detection unit that detects a power failure of the second power supply device in the relay device. A flip-flop which is set when the power failure is detected by the power failure detection means, and a state of the flip-flop can be read out via the upstream bus and a flip-flop via the upstream bus. And a circuit unit for resetting the data bus.
JP61271289A 1986-11-14 1986-11-14 Data bus relay device Expired - Fee Related JPH0630502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61271289A JPH0630502B2 (en) 1986-11-14 1986-11-14 Data bus relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61271289A JPH0630502B2 (en) 1986-11-14 1986-11-14 Data bus relay device

Publications (2)

Publication Number Publication Date
JPS63125032A JPS63125032A (en) 1988-05-28
JPH0630502B2 true JPH0630502B2 (en) 1994-04-20

Family

ID=17497979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61271289A Expired - Fee Related JPH0630502B2 (en) 1986-11-14 1986-11-14 Data bus relay device

Country Status (1)

Country Link
JP (1) JPH0630502B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0735472Y2 (en) * 1988-08-29 1995-08-09 株式会社東芝 Data transmission line power supply

Also Published As

Publication number Publication date
JPS63125032A (en) 1988-05-28

Similar Documents

Publication Publication Date Title
JPH0630502B2 (en) Data bus relay device
JP2637653B2 (en) Redundant controller
JP2626127B2 (en) Backup route test method
JPS5952861B2 (en) Transfer device switching method for asynchronous processing system
JPS6412144B2 (en)
JP2946541B2 (en) Redundant control system
JP2706027B2 (en) Programmable controller
JP3012402B2 (en) Information processing system
JPS6321217B2 (en)
JPS5827531B2 (en) System operation control device in data transmission system
JPS5851364A (en) Doubled peripheral storage controller
JPH0250502B2 (en)
JPH0581149A (en) Bus adapter monitoring system
JPH04354001A (en) Redundancy controller
JPH01113838A (en) Checking system
JPH07302208A (en) Protective relay device
JPH01184550A (en) Test circuit for intermediate controller
JPH04263333A (en) Memory duplication system
JPH037177B2 (en)
JPS62249250A (en) Memory device
JPH0232428A (en) Pseudo trouble generator
JPH06133008A (en) Fault collection system in duplex device
JPH07319777A (en) Memory controller
JPH0553977A (en) Information processing system
JPH0594325A (en) Monitoring controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees