JPH01140834A - System for detecting communication fault - Google Patents

System for detecting communication fault

Info

Publication number
JPH01140834A
JPH01140834A JP62297369A JP29736987A JPH01140834A JP H01140834 A JPH01140834 A JP H01140834A JP 62297369 A JP62297369 A JP 62297369A JP 29736987 A JP29736987 A JP 29736987A JP H01140834 A JPH01140834 A JP H01140834A
Authority
JP
Japan
Prior art keywords
bus
communication
processing device
channel
circuit
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.)
Granted
Application number
JP62297369A
Other languages
Japanese (ja)
Other versions
JPH0646736B2 (en
Inventor
Yoshiichi Tanabe
田辺 宣一
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62297369A priority Critical patent/JPH0646736B2/en
Publication of JPH01140834A publication Critical patent/JPH01140834A/en
Publication of JPH0646736B2 publication Critical patent/JPH0646736B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To detect a bus fault at an early stage by connecting a processor and a channel equipment by means of an individual lead line in a bus connection type processing system. CONSTITUTION:The processor 1 starts the channel equipment 2 through a bus circuit 5. The channel equipment 2 controls an input/output device under control, and communicates information to the processor 1 through the bus circuit 5. At the time, the individual lead line l1 is simultaneously switched ON. On the other hand, the fault detection circuit of the processor 1 compared ON information of the individual lead line l1 with the presence or absence of communication via the bus circuit 5. When there is no information from the bus circuit 5 even if there is ON information of the lead line l1, it displays an error as the bus fault.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信障害検出方式、特にバス接続形式におけ
る通信障害発生時の通信障害検出方式に関するものであ
り、更に具体的には、蓄積制御方式の処理システムにお
ける処理装置とチャンネル装置の通信において適用して
好適な通信障害検出方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a communication failure detection method, particularly a communication failure detection method when a communication failure occurs in a bus connection type. The present invention relates to a communication failure detection method suitable for application in communication between a processing device and a channel device in a processing system according to the present invention.

〔従来の技術〕[Conventional technology]

処理装置とこの処理装置が制御するチャンネル装置とを
有し、両者間がバス形式で接続されバスを介して通信を
行うシステムにおいて、通信障害の有無を知ることは、
安定した通信を達成する上で必要である。
In a system that has a processing device and a channel device controlled by the processing device, and the two are connected in the form of a bus and communicate via the bus, it is possible to know whether there is a communication failure.
This is necessary to achieve stable communication.

従来は、この種の障害検出は、ソフトタイムアウト方式
をとっていた。すなわち、この方式による通信障害の検
知方法は、処理装置からの起動に対し、応答までの時間
の最大をこえるタイミングをタイムアウト値として計数
し、予め定めたタイミング以内に応答がこなければ障害
があると判定するものである。かかる従来技術を第4図
以下を用いて説明する。
Conventionally, this type of failure detection has taken a soft timeout method. In other words, this method of detecting a communication failure is to count the timing at which the maximum response time is exceeded for the activation from the processing device as a timeout value, and if there is no response within a predetermined timing, there is a failure. It is determined that This conventional technique will be explained using FIG. 4 and subsequent figures.

第4図は、上述したようなバス接続形式の処理システム
の一般的なプiンク構成図を示し、また、第5図、第6
図は通信シーケンス例を示している。
FIG. 4 shows a general pink block diagram of the above-mentioned bus connection type processing system, and FIGS.
The figure shows an example of a communication sequence.

第4図に示すごとく、このシステムでは、処理装置1と
この処理装置1が制御する複数のチャンネル装置2.3
,4.  ・・・間がバス形式で接続されており、通信
はバス5を介して行われる。
As shown in FIG. 4, this system includes a processing device 1 and a plurality of channel devices 2.3 controlled by this processing device 1.
,4. ... are connected in the form of a bus, and communication is performed via the bus 5.

各チャンネル装置2,3,4.  ・・・との間の通信
は、次のようにしてなされる。
Each channel device 2, 3, 4. Communication between ... is performed as follows.

まず、処理装置1がチャンネル装置2に起動をかけたと
する。すると、チャンネル装置2は指示内容に従って動
作を開始する。動作が完了すると、チャンネル装置2は
終了報告を処理装置1に対して行う(第5図のシーケン
ス)。この時、通常は、処理装置1の能力が大きいため
、処理装置1は複数のチャンネル装置2,3,4.  
・・・を制御するようにしており、一方、各チャンネル
装置2゜3.4.・・・は大幅に遅いIO(入出力装置
)を制御するので、動作完了次第報告する方法をとって
いる。なお、第6図のシーケンスに示すように、通信の
正常性を確認する起動に対して直ちに起動受付を行い、
また報告に対して直ちに報告受付を行うシーケンスもあ
る。
First, assume that the processing device 1 activates the channel device 2. Then, the channel device 2 starts operating according to the instruction contents. When the operation is completed, the channel device 2 sends a completion report to the processing device 1 (sequence shown in FIG. 5). At this time, since the processing device 1 usually has a large capacity, the processing device 1 has a plurality of channel devices 2, 3, 4 .
..., and on the other hand, each channel device 2゜3.4. ... controls a significantly slower IO (input/output device), so a method is used to report it as soon as the operation is completed. In addition, as shown in the sequence of Fig. 6, the startup is immediately accepted for startup to confirm the normality of communication.
There is also a sequence in which reports are immediately accepted.

このようにしてバス5を介して通信を行うようにし、そ
してバス障害等による通信不良は、チャンネル装置に接
続される最も遅い10の最大動作時間にマージンを加え
たタイミング値をタイムアウト値として、その値以上の
時間を超えてもなお応答が帰って来ない場合、障害があ
るとしていた。
In this way, communication is performed via the bus 5, and in case of a communication failure due to a bus failure, etc., the timeout value is determined by adding a margin to the maximum operating time of the 10 slowest devices connected to the channel device. If a response still does not come back after a period of time longer than the specified value, it is assumed that there is a failure.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、このような通信障害検出方式にあっては、障害
検出の迅速性に欠けるなど以下のような難点がある。
However, such a communication fault detection method has the following drawbacks, such as a lack of promptness in fault detection.

上述した従来方法では、タイムアウト値が最も遅いIO
の最大時間で制限されるため、障害の有無判別用として
予め設定するタイムアウト値が大きくなり、その結果障
害検出が遅れるという欠点がある。さらに、システムの
デバッグ段階では、設計ミスによる通信障害の原因を追
求するためにアナライザを用いて波形観測を行うが、こ
の場合、障害検出(タイマオーバーフロー)をトリガし
て行うため、タイムアウト値が大きいと、実際に通信を
行おうとした時点での波形が観測できないという欠点が
ある。
In the conventional method described above, the IO with the slowest timeout value
Therefore, the timeout value preset for determining the presence or absence of a failure becomes large, resulting in a delay in failure detection. Furthermore, during the system debugging stage, an analyzer is used to observe waveforms in order to investigate the cause of communication failures due to design errors, but in this case, failure detection (timer overflow) is triggered, so the timeout value is large. However, the disadvantage is that the waveform at the time of actual communication cannot be observed.

本発明の目的は、通信障害を早期に検出できると共に、
障害の原因追求時にもこれをスムーズに行えるようにし
た通信障害検出方式を提供することにある。
The purpose of the present invention is to be able to detect communication failures at an early stage, and to
It is an object of the present invention to provide a communication failure detection method that allows smooth investigation of the cause of a failure.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、処理装置と、この処理装置が制御する複数の
チャンネル装置との間がバス形式で接続され、バスを介
して通信を行う処理システムにおける通信障害検出方式
において、 前記処理装置と前記各チャンネル装置間に個別リード線
を接続し、チャンネル装置から処理装置への報告の通信
処理中には処理装置と通信中チャンネル装置間の個別リ
ード線に所定の信号を送出し、処理装置側ではバス経由
の通信の有無の状態と前記個別リード線上の信号の状態
に基づいて通信障害を検出することを特徴としている。
The present invention provides a communication failure detection method in a processing system in which a processing device and a plurality of channel devices controlled by the processing device are connected in a bus format and communicate via the bus, comprising: the processing device and the plurality of channel devices controlled by the processing device; Individual lead wires are connected between the channel devices, and during communication processing of reports from the channel device to the processing device, predetermined signals are sent to the individual lead wires between the processing device and the communicating channel device, and on the processing device side, the bus It is characterized in that a communication failure is detected based on the status of the presence or absence of communication via the route and the status of the signal on the individual lead wire.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。第
1図に示すように、処理装置1は通信送受信回路12を
備え、他方、チャンネル装置2,3゜4、・・・は各チ
ャンネル装置内に通信送受信回路21.31.41. 
 ・・・を備え、それぞれはバス回路5によって接続さ
れている。
FIG. 1 is a block diagram showing one embodiment of the present invention. As shown in FIG. 1, the processing device 1 includes a communication transmitting/receiving circuit 12, while the channel devices 2, 3, 4, . . . have communication transmitting/receiving circuits 21, 31, 41, .
..., each connected by a bus circuit 5.

更に、処理装置1とこの処理装置lが制御するチャンネ
ル装置間2,3,4.  ・・・をバスとは別に個別リ
ード線II、i、、It、、・・・を接続し、チャンネ
ル装置2,3,4.  ・・・からバスを介して処理装
置lに品書の通信中は、通信中のチャンネル装置で処理
装置1間の個別リード線をONとするよう各チャンネル
装置内の通信送受信回路が対応するリード線への送出情
報を制御するようになっている。
Furthermore, between the processing device 1 and the channel devices 2, 3, 4 . . . are connected to the individual lead wires II, i, , It, . . . separately from the bus, and the channel devices 2, 3, 4 . . . . During the communication of the product document to the processing device 1 via the bus, the communication transmitting/receiving circuit in each channel device turns on the individual lead wires between the processing devices 1 and 1 in the communicating channel device. It is designed to control the information sent to the line.

一方、処理装置1はバス経由の通信の有無と個別リード
線の0N10FFを比較検出する回路としての障害検出
回路11を有している。
On the other hand, the processing device 1 has a failure detection circuit 11 as a circuit that compares and detects the presence or absence of communication via the bus and 0N10FF of the individual lead wires.

この障害検出回路11は、処理装置1内の通信送受信回
路12と、リード線7!、、 z Z+β3.・・・を
介して各チャンネル装置側の通信送受信回路21.31
゜41.・・・と接続されており、バス通信障害を検出
して障害表示を行う。
This failure detection circuit 11 is connected to a communication transmitting/receiving circuit 12 in the processing device 1 and a lead wire 7! ,, z Z+β3. Communication transmitting/receiving circuits 21 and 31 on each channel device side via...
゜41. ..., which detects bus communication failure and displays the failure.

第2図は障害検出回路11の具体例を示し、111はア
ンド論理、112はインバータ論理、113はオア論理
を示す。
FIG. 2 shows a specific example of the fault detection circuit 11, in which 111 shows AND logic, 112 shows inverter logic, and 113 shows OR logic.

このように、第1図、第2図に示す通信障害検出方式で
は、処理装置1とこの処理装置1が制御する複数のチャ
ンネル装置2,3,4.  ・・・間がバス形式で接続
されており、かつこのバスを介して通信を行うシステム
において、処理装置1とチャンネル装置2,3,4. 
 ・・・間に個別リード線II、12,13.・・・を
接続し、チャンネル装置F2. 3. 4.  ・・・
から処理装置1へ報告の通信処理中は処理装置1間と通
信中チャンネル装置間の個別リード線をONにし、処理
装置l側ではバス経由の通信受信と個別リード線の0N
10FFを比較することによりバス通信障害を検出する
ようにしている。
As described above, in the communication failure detection method shown in FIGS. 1 and 2, the processing device 1 and the plurality of channel devices 2, 3, 4, . . . are connected in the form of a bus, and communicate via this bus, in which a processing device 1 and channel devices 2, 3, 4, . . .
...Individual lead wires II, 12, 13 . ... and channel device F2. 3. 4. ...
During communication processing for reporting from to processing device 1, the individual lead wires between the processing devices 1 and between the communicating channel devices are turned ON, and on the processing device 1 side, communication is received via the bus and the individual lead wires are set to 0N.
A bus communication failure is detected by comparing 10FF.

次に、第1図、第2図の構成による動作について、第3
図に示す通信シーケンス例をも参照して説明する。
Next, regarding the operation with the configuration shown in FIGS. 1 and 2, the third
The explanation will be made with reference to the communication sequence example shown in the figure.

以下は、処理装置1とチャンネル装置2間の通信の場合
を例にとっている。
The following example takes the case of communication between the processing device 1 and the channel device 2.

まず、処理装置1はバス回路5経出でチャンネル装置2
に対し起動をかける。チャンネル装置2は配下のIOを
制御し、動作が完了した時点でバス回路5経出で処理装
置1に対し報告の通信を行う。この時同時に個別リード
線11 もONとする(第1図、第3図の点線表示部分
)。
First, the processing device 1 is connected to the channel device 2 via the bus circuit 5.
Activate against. The channel device 2 controls the IO under its control, and communicates a report to the processing device 1 via the bus circuit 5 when the operation is completed. At this time, the individual lead wire 11 is also turned ON (the dotted line portion in FIGS. 1 and 3).

一方、処理装置1は個別リード線l、のON情報とバス
回路5経由の通信の有無を比較し、通信障害が検出され
たときは障害表示を行う。
On the other hand, the processing device 1 compares the ON information of the individual lead wire 1 with the presence or absence of communication via the bus circuit 5, and displays a failure indication when a communication failure is detected.

すなわち、リード線11上にチャンネル装置2からON
情報が送出されることにより、リード線l、を介して障
害検出回路11に与えられる入力がハイレベルの状態に
あり、また、バス回路5を介してチャンネル装置2から
上述の報告の通信がなされて処理装置lの通信送受信回
路工2から障害検出回路11に「報告有り」を示す情報
がハイレベル信号として与えられれば、障害検出回路1
1の出力はローレベルとなり、従って、エラー表示はな
されない。
In other words, there is an ON signal from the channel device 2 on the lead wire 11.
By sending out the information, the input given to the fault detection circuit 11 via the lead wire l is in a high level state, and the above-mentioned report communication is made from the channel device 2 via the bus circuit 5. If the communication transmitting/receiving circuit 2 of the processing device 1 provides information indicating "reported" to the fault detection circuit 11 as a high level signal, the fault detection circuit 1
The output of 1 becomes low level, so no error is displayed.

これに対し、もし、リード線lIを介してON情報が入
力されているにもかかわらず、障害検出回路11に通信
送受信回路12側からは「報告有り」を示すハイレベル
信号が入力されなかったときには、通信送受信回路12
からの入力を反転したものと、リード線1 、、 / 
2+β3.・・・の論理和出力との論理槽がとられる結
果、障害検出回路11の出力はハイレベルとなり、エラ
ー表示がなされることになる。すなわち、バス回路5に
通信障害があることが検出され、表示される。
On the other hand, if the high-level signal indicating "reported" is not input from the communication transmitting/receiving circuit 12 side to the fault detection circuit 11 even though ON information is input via the lead wire I. Sometimes, the communication transmitting/receiving circuit 12
and the inverted input from lead wires 1, , /
2+β3. . . . As a result, the output of the fault detection circuit 11 becomes high level, and an error message is displayed. That is, a communication failure in the bus circuit 5 is detected and displayed.

処理装置1とチャンネル装置3,4.・・・間の通信の
場合も、これに準じて行われ、通信障害があった場合に
はこれを迅速に検出することができる。また、従来のよ
うに障害検出が遅れるということをなくすことができる
ため、システムのデバッグ段階での通信障害の原因追求
もスムーズに行うことができる。
Processing device 1 and channel devices 3, 4. . . . communication between them is carried out in accordance with this method, and if there is a communication failure, it can be detected quickly. Furthermore, since the delay in failure detection that occurs in the past can be eliminated, it is possible to smoothly investigate the cause of communication failures during the system debugging stage.

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

以上説明したように、本発明によれば処理装置とチャン
ネル装置間を個別リード線を接続し、通信中は個別リー
ド線に信号を送出することにより、バス障害を早期に検
出することができる。また、バス回路を含むハードの誤
設機能確認段階における原因追求時にも、障害表示をト
リガに波形を観測しやすくなり、原因追求がスムーズに
行えるという効果がある。なお、処理装置からチャンネ
ル装置への起動障害検出のケースも同様に行えることは
いうまでもない。
As described above, according to the present invention, bus failures can be detected early by connecting individual lead wires between the processing device and the channel device and sending signals to the individual lead wires during communication. Furthermore, when searching for the cause during the functional confirmation stage of incorrectly installed hardware, including the bus circuit, it becomes easier to observe the waveform using the fault display as a trigger, and this has the effect of making it possible to smoothly investigate the cause. It goes without saying that the case of detecting a startup failure from a processing device to a channel device can be similarly performed.

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

第1図は本発明の一実施例を示すブロック図、第2図は
その障害検出回路の具体例を示す回路図、 第3図は通信シーケンス例を示す図、 第4図は従来例を示すブロック図、 第5図は従来例の通信シーケンス例を示す図、第6図は
同じく他の1ffl信シ一ケンス例を示す図である。 エ・・・・・・・処理装置 2,3.4・・・チャンネル装置 5・・・・・・・バス回路 工1・・・・・・・障害検出回路 12、21.31.41・・・通信送受信回路111 
 ・・・・・・アンド論理 112  ・・・・・・インバータ論理113  ・・
・・・・オア論理 代理人 弁理士  岩 佐  義 幸 5−・−バス 第1図 第2図    第3図
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a circuit diagram showing a specific example of the fault detection circuit, Fig. 3 is a diagram showing an example of a communication sequence, and Fig. 4 shows a conventional example. FIG. 5 is a block diagram showing an example of a conventional communication sequence, and FIG. 6 is a diagram showing another example of a 1ffl communication sequence. D...Processing device 2, 3.4...Channel device 5...Bus circuit engineer 1...Fault detection circuit 12, 21.31.41. ...Communication transmitting/receiving circuit 111
...And logic 112 ...Inverter logic 113 ...
・・・・Or logic agent Patent attorney Yoshiyuki Iwasa 5-・-Bus Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] (1)処理装置と、この処理装置が制御する複数のチャ
ンネル装置との間がバス形式で接続され、バスを介して
通信を行う処理システムにおける通信障害検出方式にお
いて、 前記処理装置と前記各チャンネル装置間に個別リード線
を接続し、チャンネル装置から処理装置への報告の通信
処理中には処理装置と通信中チャンネル装置間の個別リ
ード線に所定の信号を送出し、処理装置側ではバス経由
の通信の有無の状態と前記個別リード線上の信号の状態
に基づいて通信障害を検出することを特徴とする通信障
害検出方式。
(1) In a communication failure detection method in a processing system in which a processing device and a plurality of channel devices controlled by the processing device are connected in a bus format and communicate via the bus, the processing device and each of the channels Individual lead wires are connected between the devices, and during communication processing of reports from the channel device to the processing device, a predetermined signal is sent to the individual lead wire between the processing device and the communicating channel device, and on the processing device side, the signal is sent via the bus. A communication failure detection method, characterized in that a communication failure is detected based on the presence/absence of communication and the status of a signal on the individual lead wire.
JP62297369A 1987-11-27 1987-11-27 Communication failure detection method Expired - Lifetime JPH0646736B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62297369A JPH0646736B2 (en) 1987-11-27 1987-11-27 Communication failure detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62297369A JPH0646736B2 (en) 1987-11-27 1987-11-27 Communication failure detection method

Publications (2)

Publication Number Publication Date
JPH01140834A true JPH01140834A (en) 1989-06-02
JPH0646736B2 JPH0646736B2 (en) 1994-06-15

Family

ID=17845598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62297369A Expired - Lifetime JPH0646736B2 (en) 1987-11-27 1987-11-27 Communication failure detection method

Country Status (1)

Country Link
JP (1) JPH0646736B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114013554A (en) * 2021-10-28 2022-02-08 南京懂玫驱动技术有限公司 Drive assembly management system, fault detection method and electric power-assisted bicycle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5872229A (en) * 1981-10-26 1983-04-30 Fujitsu Ltd Fault displaying system
JPS6151578A (en) * 1984-08-21 1986-03-14 Nec Corp Fault diagnostic system of electronic circuit device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5872229A (en) * 1981-10-26 1983-04-30 Fujitsu Ltd Fault displaying system
JPS6151578A (en) * 1984-08-21 1986-03-14 Nec Corp Fault diagnostic system of electronic circuit device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114013554A (en) * 2021-10-28 2022-02-08 南京懂玫驱动技术有限公司 Drive assembly management system, fault detection method and electric power-assisted bicycle
WO2023071638A1 (en) * 2021-10-28 2023-05-04 南京懂玫驱动技术有限公司 Driving assembly management system, fault detection method, and electric power-assisted bicycle

Also Published As

Publication number Publication date
JPH0646736B2 (en) 1994-06-15

Similar Documents

Publication Publication Date Title
US4979108A (en) Task synchronization arrangement and method for remote duplex processors
JPH01140834A (en) System for detecting communication fault
JPS6032374B2 (en) data transmission equipment
JPH051832Y2 (en)
JPH02122730A (en) Signal line terminating system
JP2521996B2 (en) Communication system diagnostic method
JPS6151578A (en) Fault diagnostic system of electronic circuit device
KR0181139B1 (en) Signal link tester
JP2508752B2 (en) Failure notification method
JPH01120167A (en) Communication controller
JPH0376352A (en) Simulating test equipment
JPS62180432A (en) Detecting circuit for fault of signal processor
JPS58177054A (en) Communication device
JPS63281539A (en) Error data generating circuit
JPS62162155A (en) Information processing system
JPH05219148A (en) Data transmission line diagnostic device
JPS6238958A (en) Detecting system for equipment selection error
JPS63283345A (en) Diagnostic system for cross connecting device
JPS63164733A (en) Communication control equipment
JPS60245348A (en) Diagnosing method of transmission controlling system
JPS62119651A (en) Ras circuit diagnosing system
JPS61115143A (en) Detection circuit of malfunction of scan bus
JPS63266371A (en) Error detecting system
JPS6384344A (en) Checking system for abnormal frame processing
JPH08255092A (en) Dual system