JPH0397054A - Fault detecting system for data transfer system - Google Patents

Fault detecting system for data transfer system

Info

Publication number
JPH0397054A
JPH0397054A JP1233829A JP23382989A JPH0397054A JP H0397054 A JPH0397054 A JP H0397054A JP 1233829 A JP1233829 A JP 1233829A JP 23382989 A JP23382989 A JP 23382989A JP H0397054 A JPH0397054 A JP H0397054A
Authority
JP
Japan
Prior art keywords
bus
slave
fault
transfer
data transfer
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
JP1233829A
Other languages
Japanese (ja)
Inventor
Akitoyo Ishihara
石原 彰豊
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP1233829A priority Critical patent/JPH0397054A/en
Publication of JPH0397054A publication Critical patent/JPH0397054A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To specify a fault bus slave and to prevent abnormality from being continued when the fault occurs by providing function in the bus slave so as to detect the abnormality of the bus slave itself and displaying or notifying a fault detection output to the side of a bus master. CONSTITUTION:Bus slaves 31-33 are equipped with monitoring circuits 7 to obtain the fault detection outputs when the transfer completion signals of the bus slaves themselves are not generated within a fixed time with transfer requests and address selection form bus masters 21-23 as conditions. The fault bus slaves 31-33 are specified by the fault detection output and for confirming the abnormality when data are transfered, the function to detect the generation of the fault is provided not only on the side of the bus masters 21-23 but also on the side of the bus slaves 31-33. Thus, the bus slave generating the fault can be specified and the abnormality can be prevented from being continued.

Description

【発明の詳細な説明】 A.産業上の利用分野 本発明は、複数のバスマスタとバススレーブによるデー
タ転送システムの故障検出方式に関する。
[Detailed Description of the Invention] A. INDUSTRIAL APPLICATION FIELD The present invention relates to a failure detection method for a data transfer system using a plurality of bus masters and bus slaves.

B.発明のa要 本発明は、データ転送要求と転送完了信号を使ってデー
タ転送を行うデータ転送システムにおいて、 各バススレーブには転送要求から転送完了信号出力まで
の時間監視によって自己の故障検出を行うことにより、 故障発生したバススレーブを特定できるようにしたもの
である。
B. Summary of the Invention The present invention provides a data transfer system that transfers data using a data transfer request and a transfer completion signal, in which each bus slave detects its own failure by monitoring the time from the transfer request to the output of the transfer completion signal. This makes it possible to identify the bus slave in which a failure has occurred.

C,従来の技術 バス結合されたバスマスタとバススレーブでデータ転送
を行うシステムにおいて、データ転送には転送要求と転
送完了信号が使われる。
C. Prior Art In a system in which data is transferred between a bus master and a bus slave connected to a bus, a transfer request and a transfer completion signal are used for data transfer.

第2図はデータ転送のタイムチャートを示す。FIG. 2 shows a time chart of data transfer.

バスマスタがバススレーブにデータ転送を要求する場合
、バスマスタがバスにアドレス信号と共に転送要求信号
を出力する。この要求にバススレーブがバスにデータ信
号と共に転送完了信号を送出する。同様に、バスマスタ
からバススレーブにデータを転送する場合、バスマスタ
がアドレス信号と共にデータ信号を出力し、その後ライ
ト信号を出力する。バススレーブ側はデータを取り込ん
だ後、転送完了信号を出力する。
When a bus master requests a data transfer from a bus slave, the bus master outputs a transfer request signal along with an address signal to the bus. In response to this request, the bus slave sends a data signal and a transfer completion signal to the bus. Similarly, when transferring data from a bus master to a bus slave, the bus master outputs a data signal together with an address signal, and then outputs a write signal. After the bus slave side takes in the data, it outputs a transfer completion signal.

従って、バスマスタ側ではデータの転送完了信号を受け
取ることでデータ転送の確認と終了処理を行う。
Therefore, upon receiving the data transfer completion signal, the bus master side confirms and completes the data transfer.

D.発明が解決しようとする課題 従来のデータ転送方式は、複数のバスマスタとバススレ
ーブをバス結合したシステムに適用するとき、バススレ
ーブの故障で転送完了信号が返されない場合にはバスマ
スタは該信号の待期状態から転送異常になり、その後に
バスをアクセスした他のバスマスタも全て転送異常にな
ってしまい、故障したバススレーブを特定することがで
きないまま異常継続になる。
D. Problems to be Solved by the Invention When the conventional data transfer method is applied to a system in which multiple bus masters and bus slaves are connected via a bus, if a transfer completion signal is not returned due to a failure of the bus slave, the bus master waits for the signal. A transfer error occurs from the initial state, and all other bus masters that subsequently accessed the bus also become transfer errors, and the error continues without being able to identify the failed bus slave.

本発明の目的は、複数のバスマスタとバススレーブをバ
ス結合したデータ転送システムにおいて、故障発生した
バススレーブの特定ができる故障検出方式を提供するこ
とにある。
An object of the present invention is to provide a failure detection method that can identify a failed bus slave in a data transfer system in which a plurality of bus masters and bus slaves are bus-coupled.

E.課題を解決するための手段と作用 本発明は、上記目的を達成するため、複数のバスマスタ
とバススレーブがバス結合され、パスマ?タとバススレ
ーブ間でデータ転送要求と転送完了信号を使ってデータ
転送を行うデータ転送システムにおいて、前記バススレ
ーブはバスマスタからの転送要求とアドレス選択を条件
にし自己の転送完了信号発生が一定時間内に行われない
ときに故障検出出力を得る監視回路を備え、前記故障検
出出力によって故障したバススレーブを特定するように
し、データ転送時の異常確認をバスマスタ側のみならず
、バススレーブ側も故障発生を検出する機能を持たせる
E. Means and Effects for Solving the Problems In order to achieve the above object, the present invention provides a bus master system in which a plurality of bus masters and bus slaves are connected to each other via a bus. In a data transfer system in which data is transferred between a bus master and a bus slave using a data transfer request and a transfer completion signal, the bus slave generates its own transfer completion signal within a certain period of time based on the transfer request and address selection from the bus master. It is equipped with a monitoring circuit that obtains a failure detection output when the failure detection output is not performed, and the failure detection output is used to identify a failed bus slave, so that abnormalities during data transfer can be confirmed not only on the bus master side but also on the bus slave side. Provide a function to detect.

F.実施例 第1図は本発明の一実施例を示す装置構成図である。バ
ス■こは3つのバスマスタ2.,2.,23及び3つの
バススレーブ3■3t,33さらにはメモリ4等が結合
されるシステム構成にされる。
F. Embodiment FIG. 1 is an apparatus configuration diagram showing an embodiment of the present invention. Bus ■This is the three bus masters 2. ,2. , 23, three bus slaves 3*3t, 33, and a memory 4, etc., are combined in a system configuration.

バスマスタ2.〜23はバススレーブ31〜33とのデ
ータ転送処理を従来と同様に行う。バススレーブ3.〜
3,は、バススレーブ3,に代表して示すように、アド
レスデコード回路5と転送完了信号コントロール回路6
と転送完了信号監視回路7を具える。
Bus master 2. 23 perform data transfer processing with the bus slaves 31 to 33 in the same manner as before. Bus slave 3. ~
3, as shown in the bus slave 3, an address decoding circuit 5 and a transfer completion signal control circuit 6.
and a transfer completion signal monitoring circuit 7.

アドレスデコード回路5は、バススレーブ毎に持つアド
レス信号をアドレスバス上から検出して自己バススレー
ブへのアクセスをアドレス選択信号として出力する。コ
ントロール回路6はアドレスデコード回路5からアドレ
ス選択信号か与えられてバス上の転送要求信号を受け付
け、データ転送制御を行うと共に転送完了信号をバス上
に出力する。監視回路7は、アドレスデコード回路5の
アドレス選択信号とバスからの転送要求を受け取り、自
己バススレーブのアドレス選択とデータ転送要求から一
定時間内にコントロール回路6が転送完了信号を出した
か否かを監視し、該転送完了信号が一定時間後までに出
されなかったときに転送失敗の故障検出出力を得る。
The address decoding circuit 5 detects an address signal possessed by each bus slave from the address bus, and outputs an access to its own bus slave as an address selection signal. The control circuit 6 receives an address selection signal from the address decoding circuit 5, receives a transfer request signal on the bus, controls data transfer, and outputs a transfer completion signal onto the bus. The monitoring circuit 7 receives the address selection signal from the address decoding circuit 5 and the transfer request from the bus, and checks whether the control circuit 6 has issued a transfer completion signal within a certain period of time from the address selection and data transfer request of the self-bus slave. Monitoring is performed, and when the transfer completion signal is not issued within a certain period of time, a failure detection output indicating transfer failure is obtained.

上述の監視回路7による故障検出は、例えば第2図の転
送手順において、あるバスマスタからの転送要求タイミ
ングt。からアドレス選択を条件にしてアドレス信号が
インアクティブになるタイミングt1までの期間Tを定
め、該期間T内に転送完了信号が有効にならないときに
故障検出出力を得る。この故障検出出力はバススレーブ
が自己の故障として表示さらには全バスマスタに一括転
送して故障バススレーブの特定を行い、当該バススレー
ブをバスから切り離す等の処理を行うのに利用される。
The above-mentioned failure detection by the monitoring circuit 7 is performed, for example, at the timing t of a transfer request from a certain bus master in the transfer procedure shown in FIG. A period T from 1 to a timing t1 at which the address signal becomes inactive on the condition of address selection is determined, and when the transfer completion signal does not become valid within the period T, a failure detection output is obtained. This failure detection output is used by the bus slave to display it as its own failure and to transfer it to all bus masters at once to identify the failed bus slave and to perform processing such as disconnecting the bus slave from the bus.

従って、複数のバスマスタ及びバススレーブがバス結合
されるシステムにおいて、バススレーブの故障で転送完
了信号を当該バスマスタに返さなかった場合に故障のバ
ススレーブを監視回路7からの故障検出出力で即時に特
定することができ、以後の他のバスマスタによる転送要
求にも即時に対応できる。また、故障検出はソフトウエ
アを介在することなく実現されるため、故障発生時のバ
ススレーブの特定を容易にする。
Therefore, in a system in which multiple bus masters and bus slaves are bus-coupled, if a bus slave fails and does not return a transfer completion signal to the bus master, the failed bus slave can be immediately identified by the failure detection output from the monitoring circuit 7. It is possible to immediately respond to subsequent transfer requests from other bus masters. Furthermore, since failure detection is achieved without intervening software, it is easy to identify a bus slave when a failure occurs.

G.発明の効果 以上のとおり、本発明によれば、バススレーブが自己の
異常を検出する機能を持ち、故障検出出力を表示やバス
マスタ側に報告することで故障したバススレーブの特定
ができ、故障発生時の異常を継続することなく、即時に
他のバスマスタとバススレーブ間のデータ転送を可能に
する効果かある。
G. Effects of the Invention As described above, according to the present invention, a bus slave has a function to detect its own abnormality, and by displaying the failure detection output and reporting it to the bus master side, a failed bus slave can be identified, and a failure can be detected. This has the effect of making it possible to immediately transfer data between other bus masters and bus slaves without continuing to experience abnormalities.

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

第1図は本発明の一実施例を示す装置構成図、第2図は
データ転送のタイムチャートである。 ■・・・バス、2,.2,,2.・・・バスマスタ、3
1,3,,3,・・・バススレーブ、5・・・アドレス
レコーダ回路、6・・・転送完了信号コントロール回路
、7・・・転送完了信号監視回路。 第1図 実施例の装l構成図 1・・・バス 21,22.23・・・バスマスタ 31.32.33・・・パススレーフー5・・・アドレ
スデコーダ回路 6・・・転送完了信号コントロール回路7・・・転送完
了信号監視回路
FIG. 1 is a block diagram of an apparatus showing an embodiment of the present invention, and FIG. 2 is a time chart of data transfer. ■・・・Bus, 2,. 2,,2. ...Bassmaster, 3
1, 3,, 3,... bus slave, 5... address recorder circuit, 6... transfer completion signal control circuit, 7... transfer completion signal monitoring circuit. FIG. 1 Embodiment configuration diagram 1...Bus 21, 22.23...Bus master 31.32.33...Pass slave 5...Address decoder circuit 6...Transfer completion signal control circuit 7 ...Transfer completion signal monitoring circuit

Claims (1)

【特許請求の範囲】[Claims] (1)複数のバスマスタとバススレーブがバス結合され
、バスマスタとバススレーブ間でデータ転送要求と転送
完了信号を使ってデータ転送を行うデータ転送システム
において、前記バススレーブはバスマスタからの転送要
求とアドレス選択を条件にし自己の転送完了信号発生が
一定時間内に行われないときに故障検出出力を得る監視
回路を備え、前記故障検出出力によって故障したバスス
レーブを特定することを特徴とするデータ転送システム
の故障検出方式。
(1) In a data transfer system in which multiple bus masters and bus slaves are bus-coupled and data transfer is performed between the bus master and bus slave using a data transfer request and a transfer completion signal, the bus slave receives the transfer request and address from the bus master. A data transfer system comprising a monitoring circuit that obtains a failure detection output when its own transfer completion signal is not generated within a certain period of time based on a selection condition, and identifying a failed bus slave based on the failure detection output. fault detection method.
JP1233829A 1989-09-08 1989-09-08 Fault detecting system for data transfer system Pending JPH0397054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1233829A JPH0397054A (en) 1989-09-08 1989-09-08 Fault detecting system for data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1233829A JPH0397054A (en) 1989-09-08 1989-09-08 Fault detecting system for data transfer system

Publications (1)

Publication Number Publication Date
JPH0397054A true JPH0397054A (en) 1991-04-23

Family

ID=16961217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1233829A Pending JPH0397054A (en) 1989-09-08 1989-09-08 Fault detecting system for data transfer system

Country Status (1)

Country Link
JP (1) JPH0397054A (en)

Similar Documents

Publication Publication Date Title
JPH0397054A (en) Fault detecting system for data transfer system
JPH08286943A (en) Abnormality detector for data processor
JPS62271153A (en) Diagnostic system for common bus structure
JPS63168757A (en) Bus error detecting system
JP2752760B2 (en) Power control method
JP2578186B2 (en) Diagnosis method of failure detection circuit
JPH079636B2 (en) Bus diagnostic device
JPS59195736A (en) Communication controller
JPS5917465B2 (en) Check device
JPH01311332A (en) Error check system
JPH03198136A (en) Check system for dma transfer data
JPS6010379A (en) Data transfer system of data processing system
JPH0377546B2 (en)
JPH0233219B2 (en)
JPS6128146B2 (en)
JPS6112147A (en) Data communication system
JPS61134846A (en) Electronic computer system
JPH0335655A (en) System for detecting fault of sound accumulation device
JPS63117532A (en) Network monitoring device
JPH0950305A (en) Programmable controller and fault detection method therefor
JPH06195272A (en) Bus arbitration circuit
JPS63204351A (en) Dma transfer confirming system
JPH01224852A (en) Bus fault detecting system
JPS6123263A (en) Test system
JPS6195455A (en) Response error detecting system of information processor