JPS6378242A - Diagnosing interface system - Google Patents

Diagnosing interface system

Info

Publication number
JPS6378242A
JPS6378242A JP61221812A JP22181286A JPS6378242A JP S6378242 A JPS6378242 A JP S6378242A JP 61221812 A JP61221812 A JP 61221812A JP 22181286 A JP22181286 A JP 22181286A JP S6378242 A JPS6378242 A JP S6378242A
Authority
JP
Japan
Prior art keywords
diagnosed
diagnostic
data
fault
trouble
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
JP61221812A
Other languages
Japanese (ja)
Inventor
Hiroyuki Koike
小池 広行
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 JP61221812A priority Critical patent/JPS6378242A/en
Publication of JPS6378242A publication Critical patent/JPS6378242A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate cause investigation when a trouble occurs by returning trouble data to show the contents of the trouble to a diagnosing device when the trouble occurs at a diagnosed device. CONSTITUTION:When a diagnosed device address is sent from a diagnosing device through a diagnosis writing data interface 31 to a diagnosed device 21, the address is inputted into a comparing circuit 6. When the address is coincident to its own device address and the result of a detecting circuit 13 is normal, for a selecting circuit 4, a diagnosed device address is outputted. Thus, it can be known that the diagnosing device can diagnose. At the time of diagnosing, the output of the comparing circuit 6 comes to be off, and when the result of the detecting circuit 13 is normal, a trouble bit comes to be off, diagnosing reading data 12 are selected and the diagnosing is executed. When the result of the detecting circuit 13 is abnormal, a trouble bit 10 comes to be on and the trouble data of a trouble data generating circuit 5 are outputted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理システムの診断インタフェース方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a diagnostic interface method for an information processing system.

〔従来の技術〕[Conventional technology]

従来の診断インタフー−ス万式は、特開昭61−492
43 号公報のように被診断装置が診断可能な状態の場
合該診断装置の被診断装置指定に対し応答信号を返送し
、診断不可能な状態の場合には診断装置の被診断装置指
定に対し応答信号を返送せず診断時間の短脂を図るとい
う方式であった。しかし被診断装置が診断不可能な状態
の場合、その内容を知る手段については配慮されていな
かった。
The conventional diagnostic interface was published in Japanese Patent Application Laid-Open No. 61-492.
As in Publication No. 43, when the device to be diagnosed is in a diagnosable state, a response signal is returned in response to the designation of the device to be diagnosed by the diagnostic device, and when the device is in a state where diagnosis is not possible, a response signal is returned in response to the designation of the device to be diagnosed by the diagnostic device. This method was designed to shorten diagnostic time without sending back response signals. However, when the device to be diagnosed is in a state where it cannot be diagnosed, no consideration has been given to a means for knowing the details.

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

従来の診断インタフェース方式においては、上記のよう
に被診断装置が診断不可能な状態の場合、その原因を知
る手段について配慮されていない為原因調査に時間がか
かるという問題があった。
In the conventional diagnostic interface method, when the device to be diagnosed is in an undiagnosable state as described above, there is a problem in that it takes time to investigate the cause because no consideration is given to a means to know the cause.

本発明の目的は、上記問題点を解決し障害切分けの容易
な診断インタフェース方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a diagnostic interface method that solves the above problems and facilitates fault isolation.

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

上記目的は、診断装置の被診断装置指定に対し被診断装
置が自装置であること認識した場合、該診断装置が被診
断装置の接続の有無および診断可能状態を識別する為診
断装置から供給されたデータをそのまま診断装置に返送
し、診断装置から供給されるデータに誤りが発生した時
または被診断装置に障害が発生した時には診断装置に障
害内容を知らせる為診断装置に対し障害データを返送し
、また診断時には診断結果を診断装置に返送する機能を
被診断装置に設けることにより、連取される。
The purpose of the above is that when the diagnostic device recognizes that the device to be diagnosed is its own device in response to the specification of the device to be diagnosed, the diagnostic device is supplied from the diagnostic device in order to identify whether or not the device to be diagnosed is connected and whether it is in a diagnosable state. When an error occurs in the data supplied from the diagnostic device or a fault occurs in the device being diagnosed, the fault data is returned to the diagnostic device to notify the diagnostic device of the details of the fault. Also, during diagnosis, the diagnostic results can be collected continuously by providing the device to be diagnosed with a function of sending the diagnostic results back to the diagnostic device.

〔作用〕[Effect]

診断装置が被診断装置指定を行うと、被診断装置は自装
置であることを認識し診断装置から供給されたデータを
そのまま診断装置に返送し、診断装置は被診断装置が接
続されていて診断が可能な状態であることを知る。また
被診断装置が未接続の場合には診断装置から供給された
データが返送されないので診断装置は被診断装置が未接
続であることを知る。また診断甲被診断装置において診
断装置からのデータにエラーを発見したかまたは自装置
において障害が発生した場合には被診断装置は障害デー
タを診断装置に返送し、診断装置は被診断装置の障害内
容を知る。このように被診断装置が障害である場合には
、その障害内容まで診断装置が認識できる。
When the diagnostic device specifies the device to be diagnosed, the device to be diagnosed recognizes that it is its own device and sends the data supplied from the diagnostic device back to the diagnostic device as is, and the diagnostic device recognizes that the device to be diagnosed is connected and performs diagnosis. know that it is possible. Furthermore, when the device to be diagnosed is not connected, the data supplied from the diagnostic device is not returned, so the diagnostic device knows that the device to be diagnosed is not connected. In addition, if the device under diagnosis A detects an error in the data from the diagnostic device or a fault occurs in its own device, the device to be diagnosed returns the fault data to the diagnostic device, and the diagnostic device Know the content. In this way, if the device to be diagnosed is at fault, the diagnostic device can recognize the details of the fault.

〔実施例〕〔Example〕

以下、本発明の実施例な第1肉、第2図を用いて説明す
る。
The first embodiment of the present invention will be described below with reference to FIG. 2.

第1図は本発明の一実施例を示すブロック図である。第
1図の診断インタフェース方式において、診断装置1は
診断データインタフェース3により被診断1a21,2
2・・・2Nに対しデータの書込み、読出しを行い診断
を実行する。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the diagnostic interface method shown in FIG. 1, the diagnostic device 1 uses the diagnostic data interface 3 to
2...Writes and reads data to and from 2N and executes diagnosis.

第2図は第1図の被診断装置の診断データインタフェー
ス部を示した図である。例として被診断装置21につい
て説明する。第2図に示す被診断装置の診断データイン
タフェース部は、診断装置1からの診断データを受信す
る診断データインタフェースレシーバ8と、診断ブータ
ラ診N装PtIK送信する診断データドライバ9と、被
診断装置21の@装置アドレスデータを格納している自
装置アドレスレジスタ7と、診断装置1から診断書込デ
ータインタフ=−ス31を介して供給されろ被診断装置
アドレスデータと自装置アドレスレジスタ7に格納され
ているデータとを比較し一致した時にオン信号を発生す
る比故回路6と、診断装置!t1から供給されろデータ
の誤りまたは被診断装置21の障害を検出する検出回路
13と、診断装置1に被診断fi、信21の障害内容を
知らせる為の障害データを発生する障害データ発生回路
5と、診断続出デーメインタフエース32を介して診断
装置1に送出する診断読出データとして、診断時には診
断読出データ12を、また比較回路6がオン信号発生時
には診断![1かも診断署込データインタフェース51
を介して供給された被診断装置アドレスデータを、また
検出回路13の結果が異常な時には障害データ発生回路
5より発生した障害データを各々選択する選択回路4と
を含んで構成されている。
FIG. 2 is a diagram showing a diagnostic data interface section of the device to be diagnosed in FIG. 1. As an example, the device to be diagnosed 21 will be explained. The diagnostic data interface section of the device to be diagnosed shown in FIG. The self-device address register 7 stores @device address data, and the diagnostic device address data supplied from the diagnostic device 1 via the diagnostic write data interface 31 and the device address data stored in the self-device address register 7. A fault ratio circuit 6 that generates an ON signal when the data matches the current data, and a diagnostic device! a detection circuit 13 that detects an error in the data supplied from t1 or a fault in the device to be diagnosed 21; and a fault data generation circuit 5 that generates fault data to inform the diagnostic device 1 of the content of the fault in the fi/communication 21 to be diagnosed. The diagnostic read data 12 is sent to the diagnostic device 1 via the diagnostic data interface 32 during diagnosis, and when the comparison circuit 6 generates an ON signal, the diagnostic read data 12 is sent to the diagnostic device 1 via the diagnostic data interface 32. [1 Diagnostic signature data interface 51
The selection circuit 4 selects the address data of the device to be diagnosed supplied via the detection circuit 13, and the fault data generated by the fault data generation circuit 5 when the result of the detection circuit 13 is abnormal.

仄に筆2図の回路の動作について説明する。診断装置+
ti′1から診断書込データインタフェース31を介し
て被診断装置21に被診断装置アドレスが送出された場
合、あらかじめ記憶している自装置アドレスレジスタ7
に格納されている自装置アドレスとともに比較回路6に
入力され、これらが一致した場合は出力をオンとする。
The operation of the circuit shown in Figure 2 will be briefly explained. Diagnostic device+
When the diagnosed device address is sent from ti'1 to the diagnosed device 21 via the diagnostic write data interface 31, the self-device address register 7 stored in advance
It is input to the comparator circuit 6 together with the own device address stored in , and if they match, the output is turned on.

ここで検出回路13の結果が正常な場合は障害ビット1
0はオフとなり選択回N4の出力として診断書込データ
インタフェース51を介して供給された被診断装置アド
レスが出力されろ。選択回路4より出力された被診断装
置アドレスは診断読出データインタフェース32を介し
て診断装置1に返送される。これにより診断装置1は被
診断装置21が接続されかつ診断が可能な状態であるこ
とを知る。一方被診断装々21そのものが接続されてい
ない場合に、被診断装置アドレスが返送されないので診
断装置■は被診断装置21が接続されていないことを知
る。診断時には比較回路6の出力はオフとなり、検出回
路13の結果が正常な場合は障害ビット10もオフとな
るので選択回路4の出力として診断読出データ12が選
択され診断が実行できる。
Here, if the result of the detection circuit 13 is normal, the fault bit 1
0 is turned off, and the diagnosed device address supplied via the diagnostic write data interface 51 is output as the output of the selection circuit N4. The diagnostic device address output from the selection circuit 4 is sent back to the diagnostic device 1 via the diagnostic read data interface 32. Thereby, the diagnostic device 1 knows that the device to be diagnosed 21 is connected and ready for diagnosis. On the other hand, when the device to be diagnosed 21 itself is not connected, the diagnostic device (2) knows that the device to be diagnosed 21 is not connected because the device address to be diagnosed is not returned. At the time of diagnosis, the output of the comparison circuit 6 is turned off, and if the result of the detection circuit 13 is normal, the fault bit 10 is also turned off, so that the diagnosis read data 12 is selected as the output of the selection circuit 4 and the diagnosis can be executed.

また検出回路13の結果が異常な場合は障害ビット10
がオンとなり、選択回路4の出力として障害データ発生
回路5の発生する障害データが出力されろ。これにより
診断装置1は被診断装置ft21の障害内容を知ること
ができろ。
Also, if the result of the detection circuit 13 is abnormal, the fault bit 10
is turned on, and the fault data generated by the fault data generation circuit 5 is output as the output of the selection circuit 4. This allows the diagnostic device 1 to know the details of the fault in the device to be diagnosed ft21.

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

このように本発明によれば、被診断装置の障害内容な診
断装置が知ることができるので、障害時の原因ル4食が
容易にできるという効果がある。
As described above, according to the present invention, since the diagnosis device can know the details of the failure of the device to be diagnosed, it is possible to easily determine the cause of the failure in four meals.

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

第1図は本発明の一実万也例な示すブロック図、第2図
は第1図に示した被診断装置qの部分回路図である。 1・・・診断装置、21.22〜2N・・・被診断装置
、3・・・診断データインタフェース、31・・・診[
1込データインタフエース、32・・・診断読出データ
インタフー−ス、4・・・選択回路、5・・・障害デー
タ発生回路、6・・・比較回路、7・・・自装置アドレ
スレジスタ、8・・・診断データインタフェースレシー
バ、9・・・診断データインタフェースドライバ、10
・・・障害ビット、11・・・診断書込データ、12・
・・診断読出データ、13・・・検出回路。 (、゛
FIG. 1 is a block diagram showing an example of the present invention, and FIG. 2 is a partial circuit diagram of the device to be diagnosed q shown in FIG. 1... Diagnosis device, 21. 22-2N... Diagnosed device, 3... Diagnosis data interface, 31... Diagnosis [
1 included data interface, 32... diagnostic read data interface, 4... selection circuit, 5... failure data generation circuit, 6... comparison circuit, 7... own device address register, 8... Diagnostic data interface receiver, 9... Diagnostic data interface driver, 10
...Fault bit, 11...Diagnostic write data, 12.
...Diagnostic read data, 13...detection circuit. (、゛

Claims (1)

【特許請求の範囲】[Claims] 1、複数の被診断装置が診断装置に対して分岐接続され
ている診断インタフェース方式において、該被診断装置
に該診断装置の被診断装置指定に対し該被診断装置が自
装置であることを認識する手段を設け、該診断装置から
該被診断装置に供給されるデータに誤りが発生したとき
または該被診断装置に障害が発生したときにこれを検出
する手段を設け、診断の前処理として該診断装置が被診
断装置指定を行ない、該被診断装置が自装置であること
を認識しかつ該検出手段により障害が認められない場合
該診断装置から供給された被診断装置指定のデータを応
答信号としてそのまま該診断装置に返送し、また診断時
には診断結果のデータを該診断装置に返送し、診断の前
処理時または診断時検出手段により障害が認められた場
合障害の内容を示した障害データを生成しこれを該診断
装置に返送する手段を設けたことを特徴とする診断イン
タフェース方式。
1. In a diagnostic interface method in which multiple devices to be diagnosed are branch-connected to a diagnostic device, the device to be diagnosed recognizes that the device to be diagnosed is its own device based on the designation of the device to be diagnosed by the diagnostic device. and a means for detecting when an error occurs in the data supplied from the diagnostic device to the device to be diagnosed, or when a failure occurs in the device to be diagnosed, and detects the error as pre-processing for diagnosis. When the diagnostic device specifies the device to be diagnosed and recognizes that the device to be diagnosed is its own device, and the detection means does not recognize any fault, it sends the data specifying the device to be diagnosed supplied from the diagnostic device as a response signal. The data is sent back to the diagnostic device as is, and at the time of diagnosis, the data of the diagnosis result is returned to the diagnostic device, and if a fault is recognized by the detection means during pre-processing or diagnosis, fault data indicating the details of the fault is sent back to the diagnostic device. 1. A diagnostic interface system characterized by comprising means for generating and returning the generated interface to the diagnostic device.
JP61221812A 1986-09-22 1986-09-22 Diagnosing interface system Pending JPS6378242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61221812A JPS6378242A (en) 1986-09-22 1986-09-22 Diagnosing interface system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61221812A JPS6378242A (en) 1986-09-22 1986-09-22 Diagnosing interface system

Publications (1)

Publication Number Publication Date
JPS6378242A true JPS6378242A (en) 1988-04-08

Family

ID=16772578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61221812A Pending JPS6378242A (en) 1986-09-22 1986-09-22 Diagnosing interface system

Country Status (1)

Country Link
JP (1) JPS6378242A (en)

Similar Documents

Publication Publication Date Title
JP3138709B2 (en) Self-diagnosis method and device for electronic control unit for vehicle
US8010849B2 (en) Diagnosing faults within programs being executed by virtual machines
JPS6378242A (en) Diagnosing interface system
JP2000146765A (en) Electronic controller for vehicle
JPS61110243A (en) Diagnostic system for error correcting and detecting circuit
JPH01187660A (en) Interface diagnosing system for peripheral equipment
JPS63140342A (en) Test system for error detecting circuit
JPH0934749A (en) Fault diagnostic method for bus interface circuit
JPS6027054B2 (en) Input/output control method
JPH11143783A (en) Dual memory diagnostic method in computer system
JPS6315621B2 (en)
JPH02173852A (en) Bus diagnostic device
JP3146863B2 (en) Unidirectional loop transmission circuit
JP2818437B2 (en) Fault detection circuit
JPH0528006A (en) Microprocessor monitoring circuit
JPS5918741B2 (en) Automatic diagnosis method
JPH0662114A (en) Inter-processor diagnostic processing system
JPH09311825A (en) Rom monitoring circuit
JPH07334431A (en) Fifo memory device and method for improving reliability
JPS592585Y2 (en) data processing equipment
JP3060072B2 (en) LSI self-diagnosis circuit
JPS584373B2 (en) electronic exchange system
JPH0312748A (en) Trouble diagnostic system
JPH10228389A (en) Fault detecting diagnostic device
JPS628826B2 (en)