JP2723822B2 - Diagnostic device - Google Patents

Diagnostic device

Info

Publication number
JP2723822B2
JP2723822B2 JP7102481A JP10248195A JP2723822B2 JP 2723822 B2 JP2723822 B2 JP 2723822B2 JP 7102481 A JP7102481 A JP 7102481A JP 10248195 A JP10248195 A JP 10248195A JP 2723822 B2 JP2723822 B2 JP 2723822B2
Authority
JP
Japan
Prior art keywords
port
signal
diagnosis
diagnostic
execution
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
JP7102481A
Other languages
Japanese (ja)
Other versions
JPH08297594A (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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP7102481A priority Critical patent/JP2723822B2/en
Publication of JPH08297594A publication Critical patent/JPH08297594A/en
Application granted granted Critical
Publication of JP2723822B2 publication Critical patent/JP2723822B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は診断対象装置を診断する
場合に使用される診断用装置に関し、特に診断プロセッ
サを有する本体系装置から複数のアクセス用ポートを有
する診断対象装置を診断する場合に使用される診断用装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a diagnostic device used for diagnosing a device to be diagnosed, and particularly to a diagnostic device having a plurality of access ports from a main unit having a diagnostic processor. It relates to the diagnostic device used.

【0002】[0002]

【従来の技術】従来、診断プロセッサを有する本体系装
置から複数のアクセス用ポートを有する診断対象装置を
診断する場合には、本体系装置を1台設置し、本体系装
置と診断対象装置の個々のポートとをケーブルの繋ぎ替
えにより順次接続し、診断を実施している。あるいは、
本体系装置を複数台設置し、各本体系装置を診断対象装
置の異なるポートに接続し診断を実施している。
2. Description of the Related Art Conventionally, when diagnosing a device to be diagnosed having a plurality of access ports from a main device having a diagnostic processor, one main device is installed, and each of the main device and the device to be diagnosed is individually diagnosed. The ports are sequentially connected to each other by reconnecting cables to perform diagnosis. Or,
A plurality of this system is installed, and each main system is connected to a different port of the device to be diagnosed to perform diagnosis.

【0003】また、特開平01−183751号公報記
載の技術(図4に示す。)では、診断対象装置内の全ポ
ートを診断対象装置内で直列接続しかつ診断対象装置外
でポート間をケーブルで接続し、全ポートの直列接続さ
れたポートの先頭入力端へデータ制御部からデータを書
込み、次のポートで読み取るように書込みと読み込みを
繰り返し本体系装置の端末装置から診断を実施してい
る。
In the technique described in Japanese Patent Application Laid-Open No. 01-183751 (shown in FIG. 4), all ports in a device to be diagnosed are connected in series within the device to be diagnosed, and cables are connected between ports outside the device to be diagnosed. The data controller writes data from the data control unit to the first input terminal of all the ports connected in series, and repeats writing and reading so as to read at the next port, and diagnoses from the terminal device of the main unit. .

【0004】[0004]

【発明が解決しようとする課題】上述した従来の診断方
法においては、診断プロセッサを有する1台の本体系装
置から診断対象装置の全ポートを診断するためには、全
ポート分のケーブルの繋ぎ替えが必要であり診断時間が
長いという欠点がある。
In the conventional diagnostic method described above, in order to diagnose all ports of a device to be diagnosed from one main unit having a diagnostic processor, reconnection of cables for all ports is performed. However, there is a disadvantage that the diagnosis time is long.

【0005】また、ポートの数だけ本体系装置を設置
し、それらを各ポートに接続して診断する場合、設置面
積が増大し、診断費用も増大するという欠点がある。
[0005] Further, in the case where the main system devices are installed by the number of ports and connected to each port for diagnosis, there is a disadvantage that the installation area increases and the diagnosis cost also increases.

【0006】また、特開平01−183751号公報記
載の技術では、実際に診断対象装置が稼働する場合とは
異なる接続で診断を実施するため、診断できないハード
ウェアの部分が残るという欠点がある。
Further, the technique described in Japanese Patent Application Laid-Open No. 01-183751 has a drawback in that the diagnosis is performed with a connection different from the case where the apparatus to be diagnosed actually operates, so that a part of hardware that cannot be diagnosed remains.

【0007】[0007]

【課題を解決するための手段】本発明の第1の診断用装
置は、(a)複数の診断プロセッサからのプロセッサポ
ート診断開始信号の各々に対応し設けられたこれら信号
によりセットされ前記各診断プロセッサからのプロセッ
サポート診断終了信号の各々によりリセットされポート
診断実行中信号をそれぞれ出力する複数の受付けレジス
タと、(b)前記ポート診断実行中信号を入力し最初に
診断されるべきポート番号を示す第1の初期ポート信号
を出力するエンコーダと、(c)前記第1の初期ポート
信号を入力し第2の初期ポート信号を出力する初期値レ
ジスタと、(d)前記プロセッサポート診断終了信号の
全ての論理和を生成しポート診断終了論理和信号として
出力する第1の論理和回路と、(e)前記第2の初期ポ
ート信号と加算信号とのいずれかを前記ポート診断終了
論理和信号により選択しカウンタ入力信号として出力す
るカウンタ選択回路と、(f)前記カウンタ入力信号を
前記ポート診断終了論理和信号により取り込み診断実行
ポート信号として出力するカウンタと、(g)前記診断
実行ポート信号を入力しこれに1を加算した信号を前記
加算信号として出力する加算器と、(h)前記診断実行
ポート信号をデコードしポート対応診断実行中信号とし
て出力するデコーダと、(i)前記診断プロセッサから
のプロセッサポート診断実行中信号の全ての論理和を生
成しポート診断実行中論理和信号を出力する第2の論理
和回路と、(j)前記ポート対応診断実行中信号の各々
と前記ポート診断実行中論理和信号との論理積を生成し
ポート対応診断信号を被診断装置に出力する第1の論理
積回路と、(k)前記ポート診断終了論理和信号により
セットされ比較回路有効信号を出力するレジスタと、
(l)前記比較回路有効信号がセットされている場合前
記第2の初期ポート信号と前記診断実行ポート信号との
比較を行い結果を全ポート診断終了信号として被診断装
置に出力する比較回路と、(m)前記各診断プロセッサ
からのプロセッサ診断データのいずれかを前記第1の初
期ポート信号により選択し診断データとして被診断装置
に出力する診断データ選択回路と、を備える。
A first diagnostic apparatus according to the present invention comprises the steps of: (a) setting each of the diagnostic ports set by a corresponding one of processor port diagnostic start signals from a plurality of diagnostic processors; A plurality of receiving registers that are reset by each of the processor port diagnosis end signals from the processor and output a port diagnosis execution signal, respectively, and (b) input the port diagnosis execution signal and indicate a port number to be diagnosed first. An encoder that outputs a first initial port signal; (c) an initial value register that inputs the first initial port signal and outputs a second initial port signal; and (d) all of the processor port diagnostic end signal. A first OR circuit that generates a logical sum of the first and second port signals and outputs the result as a port diagnosis end logical sum signal; And (f) fetching the counter input signal by the port diagnosis end OR signal and outputting it as a diagnosis execution port signal. A counter; (g) an adder for inputting the diagnosis execution port signal and adding 1 to the signal to output the added signal as the addition signal; and (h) decoding the diagnosis execution port signal to generate a port corresponding diagnosis execution signal. A decoder for outputting, and (i) a second OR circuit for generating a logical sum of all the processor port diagnosis execution signals from the diagnostic processor and outputting a port diagnosis execution OR signal, and (j) the port. A logical product of each of the corresponding diagnostic execution signals and the logical sum signal during the port diagnostic execution is generated, and the port corresponding diagnostic signal is transmitted to the device to be diagnosed. A first AND circuit which forces, the register for outputting a comparison circuit valid signal is set by the (k) said port diagnosis end logical sum signal,
(L) when the comparison circuit valid signal is set, a comparison circuit that compares the second initial port signal with the diagnosis execution port signal and outputs a result as an all port diagnosis end signal to the device to be diagnosed; (M) a diagnostic data selection circuit for selecting any one of the processor diagnostic data from each diagnostic processor based on the first initial port signal and outputting the selected diagnostic data to the device to be diagnosed as diagnostic data.

【0008】本発明の第2の診断用装置は、第1の診断
用装置に加え、前記全ポート診断終了信号の反転信号を
生成するインバータ回路と、前記インバータ回路の出力
と前記各々のポート診断実行中信号との論理積を生成し
診断未終了信号を各診断プロセッサに出力する第2の論
理積回路とを備える。
A second diagnostic apparatus according to the present invention, in addition to the first diagnostic apparatus, includes an inverter circuit for generating an inverted signal of the all port diagnostic end signal, an output of the inverter circuit, and each of the port diagnostics. A second logical product circuit that generates a logical product of the active signal and the diagnostic non-completion signal to each diagnostic processor.

【0009】[0009]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0010】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of one embodiment of the present invention.

【0011】図1を参照すると、受付けレジスタ1A、
1B、1Cおよび1Dは診断プロセッサを有する本体系
装置と接続される。エンコーダ2は受付けレジスタの出
力をエンコードし、初期値レジスタ3はエンコーダの出
力を保持する。第1の論理和回路4は、本体系装置20
0に接続され、その出力はセレクタ5(選択回路)、カ
ウンタ6を制御する。セレクタ5は、エンコーダ2と加
算回路7との出力のいずれかを選択し、カウンタ6はセ
レクタ5の出力を保持し、加算器7は、カウンタ6の出
力に‘1’を加算する。第2の論理和回路9は本体系装
置からの信号の論理和を作成し、その出力は第1の論理
積回路10A、10B、10Cおよび10Dでデコーダ
8の各出力と論理積がとられ診断対象装置300に出力
される。レジスタ11は第1の論理和回路4の出力によ
りセットされ、その出力は、比較回路12のイネーブル
信号となる。比較回路12は初期値レジスタ3とカウン
タ6との出力を比較し、結果を本体系装置200および
インバータ回路13に出力する。インバータ回路13
は、比較回路12の出力を反転しその出力と受付けレジ
スタ1A、1B、1Cおよび1Dの出力とは第2の論理
積回路14A、14B、14Cおよび14Dで論理積が
とられ本体系装置200に出力される。本体系装置20
0からのプロセッサ診断データはセレクタ15により選
択されて診断対象装置300に出力される。
Referring to FIG. 1, a receiving register 1A,
1B, 1C and 1D are connected to a main unit having a diagnostic processor. The encoder 2 encodes the output of the receiving register, and the initial value register 3 holds the output of the encoder. The first OR circuit 4 includes a main unit 20
0, the output of which controls the selector 5 (selection circuit) and the counter 6. The selector 5 selects one of the outputs of the encoder 2 and the adding circuit 7, the counter 6 holds the output of the selector 5, and the adder 7 adds “1” to the output of the counter 6. The second OR circuit 9 forms a logical sum of the signals from the main unit, and its output is ANDed with each output of the decoder 8 by the first AND circuits 10A, 10B, 10C and 10D, and diagnosed. It is output to the target device 300. The register 11 is set by the output of the first OR circuit 4, and the output becomes an enable signal of the comparison circuit 12. The comparison circuit 12 compares the output of the initial value register 3 with the output of the counter 6 and compares the result with the main unit 200 and
Output to the inverter circuit 13 . Inverter circuit 13
Is obtained by inverting the output of the comparison circuit 12 and its output and the outputs of the receiving registers 1A, 1B, 1C and 1D are ANDed by the second AND circuits 14A, 14B, 14C and 14D, Is output. This system device 20
The processor diagnosis data from 0 is selected by the selector 15 and output to the diagnosis target device 300.

【0012】図2は、図1に示された本発明の診断用装
置100と、本体系200と、診断対象装置300との
接続を示すシステム構成図である。
FIG. 2 is a system configuration diagram showing connections between the diagnostic apparatus 100 of the present invention, the main system 200, and the apparatus 300 to be diagnosed shown in FIG.

【0013】図3は、本発明の実施例の動作を示すタイ
ミング図である。
FIG. 3 is a timing chart showing the operation of the embodiment of the present invention.

【0014】次に、図1、図2、図3を用いて、本発明
の実施例の動作を説明する。
Next, the operation of the embodiment of the present invention will be described with reference to FIGS. 1, 2 and 3.

【0015】便宜上本体系装置が診断用装置の受付けレ
ジシタ1Aに接続されている場合について説明する。
For the sake of convenience, a case where the main system is connected to the receiving register 1A of the diagnostic device will be described.

【0016】診断プロセッサを有する本体系装置200
からプロセッサポート診断開始信号20Aが出力される
と、受付けレジスタ1Aが‘1’にセットされる。1A
の出力であるポート診断実行中信号24Aはエンコーダ
2に出力される。
Main device 200 having diagnostic processor
Outputs processor port diagnosis start signal 20A, reception register 1A is set to "1". 1A
Is output to the encoder 2.

【0017】エンコーダ2はポート診断実行中信号24
A、24B、24Cおよび24Dの値から診断を開始す
る診断対象装置300のポート番号をエンコードする。
この場合、24Aのみが‘1’であり、エンコーダ2か
らは‘0’が第1の初期ポート信号25として出力され
る。この第1の初期ポート信号は初期値レジスタ3で受
け取られ、保持される。
The encoder 2 has a port diagnosis execution signal 24
The port number of the diagnosis target device 300 for starting diagnosis from the values of A, 24B, 24C, and 24D is encoded.
In this case, only 24A is “1”, and “0” is output from the encoder 2 as the first initial port signal 25. This first initial port signal is received by the initial value register 3 and held.

【0018】また、セレクタ5では、エンコーダ2から
の第1の初期ポート信号25が選択されカウンタ入力信
号26が出力される。このカウンタ入力信号26は初期
値レジスタ3がセットされるのと同時にカウンタ6にセ
ットされ、診断実行ポート信号27が出力される。
In the selector 5, the first initial port signal 25 from the encoder 2 is selected and a counter input signal 26 is output. The counter input signal 26 is set in the counter 6 at the same time when the initial value register 3 is set, and a diagnosis execution port signal 27 is output.

【0019】診断実行ポート信号27はデコーダ8に入
力され、デコードされる。デコーダ8の出力であるポー
ト対応診断実行中信号28A、28B、28Cおよび2
8Dは診断対象装置300の各ポートに対応しており、
診断を実施するポートの番号の対応するものだけが
‘1’になるようにデコードされる。
The diagnostic execution port signal 27 is input to the decoder 8 and is decoded. Port corresponding diagnosis executing signals 28A, 28B, 28C and 2 which are outputs of the decoder 8
8D corresponds to each port of the diagnosis target device 300,
Decoding is performed so that only the port number corresponding to the port number to be diagnosed becomes “1”.

【0020】次に、本体系装置200はプロセッサポー
ト診断開始信号20Aを出力してから適当な時間の後に
プロセッサ診断実行中信号20Cを出力する。この信号
は、ポートの診断を実行中の間出力される。第2の論理
積和回路9において、全ての本体系装置からのプロセッ
サ診断実行中信号20C、21C、22Cおよび23C
の論理和がとられる。この場合20Cの値がそのままポ
ート診断実行中論理和信号29として出力される。
Next, the main unit 200 outputs a processor diagnosis execution signal 20C after an appropriate time after outputting the processor port diagnosis start signal 20A. This signal is output during execution of port diagnosis. In the second AND circuit 9, the processor diagnosis in-progress signals 20C, 21C, 22C and 23C from all the main system devices are output.
Is ORed. In this case, the value of 20C is output as it is as the logical sum signal 29 during the execution of the port diagnosis.

【0021】デコーダ8からのポート対応診断実行中信
号28A、28B、28Cおよび28Dのそれぞれとポ
ート診断実行中論理和信号29の論理積が第1の論理積
回路10A、10B、10C、10Dでとられポート対
応診断信号32A、32B、32Cおよび32Dが出力
される。この32Aから32Dは診断するポートに対応
しており、診断対象装置300はこの信号をそれぞれの
対応するポートで受け取り診断を実施する。この場合、
10Aのみが‘1’となり、ポート0が診断される。診
断データは、本体系装置200からのプロセッサ診断デ
ータ20Dが第1の初期ポート信号25により診断デー
タ選択回路15で選択されて、診断データ35として診
断対象装置300に出力される。診断対象装置300は
この診断データ35によりポート部および内部の診断を
実施する。
The logical product of each of the port corresponding diagnosis execution signals 28A, 28B, 28C and 28D from the decoder 8 and the port diagnosis execution OR signal 29 is determined by the first AND circuits 10A, 10B, 10C and 10D. The port corresponding diagnostic signals 32A, 32B, 32C and 32D are output. 32A to 32D correspond to ports to be diagnosed, and the diagnosis target device 300 receives this signal at each corresponding port and performs diagnosis. in this case,
Only 10A becomes '1' and port 0 is diagnosed. As the diagnostic data, the processor diagnostic data 20 </ b> D from the main unit 200 is selected by the diagnostic data selection circuit 15 by the first initial port signal 25, and is output to the diagnostic target device 300 as the diagnostic data 35. The diagnosis target device 300 performs a diagnosis of the port and the inside based on the diagnosis data 35.

【0022】次に、ポート0の診断が終了すると、本体
系装置200はプロセッサ診断実行中信号20Cをオフ
にする。これにより、ポート対応診断信号32Aがオフ
になる。診断対象装置はこれを認識してそのポートの診
断を終了する。
Next, when the diagnosis of the port 0 is completed, the main unit 200 turns off the processor diagnosis execution signal 20C. As a result, the port corresponding diagnosis signal 32A is turned off. The device to be diagnosed recognizes this and ends the diagnosis of the port.

【0023】その後適当な時間の後に本体系装置200
はプロセッサポート診断終了信号20Bを出力する。受
付けレジスタ1Aは、この20Bによりリセットされポ
ート診断実行中信号24Aは‘0’になる。また、本体
系装置からのプロセッサ診断終了信号20B、21B、
22Bおよび23Bの論理和が第1の論理和回路4によ
ってとられポート診断終了論理和信号30として出力さ
れる。
After a suitable time, the main system 200
Outputs a processor port diagnosis end signal 20B. The reception register 1A is reset by this 20B, and the port diagnosis execution signal 24A becomes "0". Also, processor diagnosis end signals 20B, 21B from the main unit,
The OR of 22B and 23B is taken by the first OR circuit 4 and output as the port diagnosis end OR signal 30.

【0024】診断受付けレジスタ1Aがリセットされる
のと同時に、セレクタ5において、ポート診断終了論理
和信号30により加算器7の出力の加算信号31、すな
わちカウンタに‘1’を加算した値が選択されカウンタ
6にセットされる。
At the same time as the diagnosis acceptance register 1A is reset, the selector 5 selects the addition signal 31 of the output of the adder 7, that is, the value obtained by adding "1" to the counter, by the port diagnosis end OR signal 30. It is set in the counter 6.

【0025】また、同時にレジスタ11もセットされ、
レジスタ11の出力の比較回路有効信号34が‘1’と
なり、比較回路12が有効となる。この時点で、初期値
レジスタ3の出力第2の初期ポート信号33は‘0’で
あり、カウンタ6の出力の診断実行ポート信号27は
‘1’である。したがって、比較回路12の出力の全ポ
ート診断終了信号は‘0’であり、まだ診断が終了して
いないポートが存在することを示す。
At the same time, a register 11 is also set,
The comparison circuit valid signal 34 output from the register 11 becomes “1”, and the comparison circuit 12 becomes valid. At this point, the output second initial port signal 33 of the initial value register 3 is “0”, and the diagnostic execution port signal 27 of the output of the counter 6 is “1”. Therefore, the all-port diagnosis end signal output from the comparison circuit 12 is “0”, indicating that there is a port whose diagnosis has not been completed.

【0026】次に、比較回路12の出力である全ポート
診断終了信号37により、まだ全診断が終了していない
ポートが存在していると認識している本体系装置200
は、ポート1の診断を開始するためのトリガとなるプロ
セッサポート診断開始信号20Aを再度出力する。これ
により、ポート0の場合と同様ポート1の診断が開始さ
れる。この場合カウンタ6の値は‘1’であるためポー
ト対応診断信号32Bが出力される。診断が終了する
と、本体系装置200はプロセッサポート診断終了信号
20Bを出力し、カウンタ6がカウントアップされ
‘2’になる。
Next, all the ports which are the outputs of the comparison circuit 12
All diagnosis has not been completed yet by the diagnosis end signal 37.
Main device 200 that recognizes that a port exists
Is a trigger that triggers port 1 diagnostics.
The support support diagnosis start signal 20A is output again . Thereby, the diagnosis of the port 1 is started as in the case of the port 0. In this case, since the value of the counter 6 is "1", the port corresponding diagnostic signal 32B is output. When the diagnosis is completed, the main unit 200 outputs a processor port diagnosis end signal 20B, and the counter 6 is counted up to “2”.

【0027】以下同様にポート2、ポート3の診断が実
行される。ポート3の診断の終了のプロセッサポート診
断終了信号20Bにより、カウンタ6は‘0’に戻る。
ここで比較回路12において一致が検出され全ポート診
断終了信号30が診断対象装置300に出力される。こ
れにより診断対象装置300は全ポートの診断の終了を
認識する。
In the same manner, diagnosis of port 2 and port 3 is executed. The counter 6 returns to '0' in response to the processor port diagnosis end signal 20B indicating the end of the port 3 diagnosis.
Here, the comparison circuit 12 detects a match, and outputs an all port diagnosis end signal 30 to the diagnosis target device 300. Thereby, the diagnosis target device 300 recognizes the end of the diagnosis of all the ports.

【0028】また、インバータ回路13の出力であるイ
ンバータ出力信号36が‘0’になり、第2の論理積回
路14Aでポート診断実行中信号24Aと論理積がとら
れポート診断未実行信号20Eが‘0’となる。この信
号は本体系装置200で受け取られ本体系装置200が
全てのポートの診断を終了したことを認識する。
Also, the inverter output signal 36, which is the output of the inverter circuit 13, becomes "0", and the second logical product circuit 14A performs a logical product with the port diagnostic execution signal 24A, and the port diagnostic non-executable signal 20E is obtained. It becomes '0'. This signal is received by main unit 200, and recognizes that main unit 200 has completed diagnosis of all ports.

【0029】以上受付けレジスタ1Aに本体系装置が接
続された場合について説明したが、受付けレジスタ1
B、1C、1Dに接続された場合も同様に全てのポート
の診断が可能である。1B、1C、1Dに接続された場
合には、エンコーダ2の出力であるポート診断実行中信
号はそれぞれ‘1’、‘2’、‘3’となり診断を開始
するポートはそれぞれ、ポート1、ポート2、ポート3
となる。
The case where the main unit is connected to the reception register 1A has been described above.
Similarly, all ports can be diagnosed when connected to B, 1C, and 1D. 1B, 1C, and 1D, the port diagnosis in-progress signals output from the encoder 2 are "1", "2", and "3", respectively, and the ports for starting diagnosis are port 1 and port 1, respectively. 2, port 3
Becomes

【0030】[0030]

【発明の効果】以上説明したように、本発明の診断用装
置は、本体系装置からのプロセッサ診断開始信号、プロ
セッサ診断終了信号で診断するポートを自動変更するよ
うに制御したことにより、1台の本体系装置でケーブル
の繋ぎ替え無しに診断対象装置の全てのポートを診断で
きるため、診断時間の短縮が図れるという効果がある。
As described above, the diagnostic apparatus according to the present invention is configured such that the port to be diagnosed is automatically changed by the processor diagnostic start signal and the processor diagnostic end signal from the main system, so that one diagnostic apparatus is provided. Since all ports of the device to be diagnosed can be diagnosed by the main system device without changing the cable, there is an effect that the diagnosis time can be shortened.

【0031】また、1台の本体系装置で診断できるた
め、設置面積の縮小、本体系装置の金額の削減が図れる
という効果がある。
Further, since the diagnosis can be performed with one main unit, the installation area can be reduced and the cost of the main unit can be reduced.

【0032】また、実際の稼働状態と同一の接続を行う
ので、診断対象装置のハードウェアが漏れなく全て診断
できるという効果がある。
Further, since the same connection as in the actual operation state is performed, there is an effect that all the hardware of the device to be diagnosed can be diagnosed without omission.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】本発明の一実施例のシステム構成図である。FIG. 2 is a system configuration diagram of an embodiment of the present invention.

【図3】本発明の一実施例の動作を示すタイミング図で
ある。
FIG. 3 is a timing chart showing the operation of one embodiment of the present invention.

【図4】従来技術を示すブロック図である。FIG. 4 is a block diagram showing a conventional technique.

【符号の説明】[Explanation of symbols]

1A、1B、1C、1D 受付けレジスタ 2 エンコーダ 3 初期値レジスタ 4、9 論理和回路 5、15 セレクタ 6 カウンタ 7 加算器 8 デコーダ 10A、10B、10C、10D 論理積回路 11 レジスタ 12 比較回路 13 インバータ回路 14A、14B、14C、14D 論理積回路 20A、21A、22A、23A プロセッサポート
診断開始信号 20B、21B、22B、23B プロセッサポート
診断終了信号 20C、21C、22C、23C プロセッサポート
診断実行中信号 20D、21D、22D、23D プロセッサ診断デ
ータ信号 20E、21E、22E、23E ポート診断未実行
信号 24A、24B、24C、24D ポート診断実行中
信号 25、27 初期ポート信号 26 カウンタ入力信号 28A、28B、28C、28D ポート対応診断実
行中信号 29 ポート診断実行中論理和信号 30 ポート診断終了論理和信号 31 加算信号 32A、32B、32C、32D ポート対応診断信
号 33 第2の初期ポート信号 34 比較回路有効信号 35 診断データ 36 インバータ出力信号 100 診断用装置 200、201、202、203 本体系装置 300 診断対象装置
1A, 1B, 1C, 1D Receiving register 2 Encoder 3 Initial value register 4, 9 OR circuit 5, 15 Selector 6 Counter 7 Adder 8 Decoder 10A, 10B, 10C, 10D AND circuit 11 Register 12 Comparison circuit 13 Inverter circuit 14A, 14B, 14C, 14D AND circuit 20A, 21A, 22A, 23A Processor port diagnosis start signal 20B, 21B, 22B, 23B Processor port diagnosis end signal 20C, 21C, 22C, 23C Processor port diagnosis execution signal 20D, 21D , 22D, 23D Processor diagnosis data signal 20E, 21E, 22E, 23E Port diagnosis non-execution signal 24A, 24B, 24C, 24D Port diagnosis execution signal 25, 27 Initial port signal 26 Counter input signal 28A, 28B, 2 C, 28D port corresponding diagnosis execution signal 29 port diagnosis execution logical sum signal 30 port diagnosis end logical sum signal 31 addition signal 32A, 32B, 32C, 32D port corresponding diagnosis signal 33 second initial port signal 34 comparison circuit enable signal 35 diagnostic data 36 inverter output signal 100 diagnostic device 200, 201, 202, 203 main system device 300 device to be diagnosed

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】(a)複数の診断プロセッサからのプロセ
ッサポート診断開始信号の各々に対応し設けられたこれ
ら信号によりセットされ前記各診断プロセッサからのプ
ロセッサポート診断終了信号の各々によりリセットされ
ポート診断実行中信号をそれぞれ出力する複数の受付け
レジスタと、(b)前記ポート診断実行中信号を入力し
最初に診断されるべきポート番号を示す第1の初期ポー
ト信号を出力するエンコーダと、(c)前記第1の初期
ポート信号を入力し第2の初期ポート信号を出力する初
期値レジスタと、(d)前記プロセッサポート診断終了
信号の全ての論理和を生成しポート診断終了論理和信号
として出力する第1の論理和回路と、(e)前記第2の
初期ポート信号と加算信号とのいずれかを前記ポート診
断終了論理和信号により選択しカウンタ入力信号として
出力するカウンタ選択回路と、(f)前記カウンタ入力
信号を前記ポート診断終了論理和信号により取り込み診
断実行ポート信号として出力するカウンタと、(g)前
記診断実行ポート信号を入力しこれに1を加算した信号
を前記加算信号として出力する加算器と、(h)前記診
断実行ポート信号をデコードしポート対応診断実行中信
号として出力するデコーダと、(i)前記診断プロセッ
サからのプロセッサポート診断実行中信号の全ての論理
和を生成しポート診断実行中論理和信号を出力する第2
の論理和回路と、(j)前記ポート対応診断実行中信号
の各々と前記ポート診断実行中論理和信号との論理積を
生成しポート対応診断信号を被診断装置に出力する第1
の論理積回路と、(k)前記ポート診断終了論理和信号
によりセットされ比較回路有効信号を出力するレジスタ
と、(l)前記比較回路有効信号がセットされている場
合前記第2の初期ポート信号と前記診断実行ポート信号
との比較を行い結果を全ポート診断終了信号として被診
断装置に出力する比較回路と、(m)前記各診断プロセ
ッサからのプロセッサ診断データのいずれかを前記第1
の初期ポート信号により選択し診断データとして被診断
装置に出力する診断データ選択回路と、を備えたことを
特徴とする診断用装置。
(A) A port diagnostic which is set by each of the processor port diagnostic start signals from a plurality of diagnostic processors and is reset by each of the processor port diagnostic end signals from each of the diagnostic processors. (B) a plurality of receiving registers for respectively outputting the execution signal, (b) an encoder for receiving the port diagnosis execution signal and outputting a first initial port signal indicating a port number to be diagnosed first; An initial value register for receiving the first initial port signal and outputting a second initial port signal; and (d) generating a logical sum of all of the processor port diagnostic end signals and outputting the result as a port diagnostic end logical OR signal. A first logical sum circuit, and (e) a port diagnostic end logical sum signal for selecting one of the second initial port signal and the addition signal. A counter selecting circuit for selecting and outputting the counter execution signal as a counter input signal; (f) a counter for taking in the counter input signal by the port diagnosis end OR signal and outputting it as a diagnosis execution port signal; (H) a decoder that decodes the diagnostic execution port signal and outputs it as a port-corresponding diagnostic in-progress signal, Of the processor port diagnosis execution signal and outputs the port diagnosis execution OR signal.
And (j) generating a logical product of each of the port-corresponding diagnosis execution signals and the port-diagnosis execution OR signal, and outputting the port-corresponding diagnostic signal to the device to be diagnosed.
(K) a register that is set by the port diagnosis end logical sum signal and outputs a comparison circuit valid signal; and (l) the second initial port signal when the comparison circuit valid signal is set. A comparison circuit that compares the diagnosis execution port signal with the diagnosis execution port signal and outputs the result to the device to be diagnosed as an all port diagnosis end signal; and (m) any one of the processor diagnosis data from each of the diagnosis processors.
And a diagnostic data selection circuit for selecting the diagnostic data according to the initial port signal and outputting the diagnostic data to the diagnostic device as diagnostic data.
【請求項2】 前記全ポート診断終了信号の反転信号を
生成するインバータ回路と、前記インバータ回路の出力
と前記各々のポート診断実行中信号との論理積を生成し
診断未終了信号を各診断プロセッサに出力する第2の論
理積回路とを有することを特徴とする請求範囲の請求項
1に記載の診断用装置。
2. An inverter circuit for generating an inverted signal of the all port diagnosis end signal, and a logical product of an output of the inverter circuit and each of the port diagnosis execution signals to generate a diagnosis non-completion signal for each diagnosis processor The diagnostic device according to claim 1, further comprising a second AND circuit that outputs the result to the second AND circuit.
JP7102481A 1995-04-26 1995-04-26 Diagnostic device Expired - Fee Related JP2723822B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7102481A JP2723822B2 (en) 1995-04-26 1995-04-26 Diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7102481A JP2723822B2 (en) 1995-04-26 1995-04-26 Diagnostic device

Publications (2)

Publication Number Publication Date
JPH08297594A JPH08297594A (en) 1996-11-12
JP2723822B2 true JP2723822B2 (en) 1998-03-09

Family

ID=14328653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7102481A Expired - Fee Related JP2723822B2 (en) 1995-04-26 1995-04-26 Diagnostic device

Country Status (1)

Country Link
JP (1) JP2723822B2 (en)

Also Published As

Publication number Publication date
JPH08297594A (en) 1996-11-12

Similar Documents

Publication Publication Date Title
JP3237858B2 (en) Arithmetic unit
JP2723822B2 (en) Diagnostic device
JP2806075B2 (en) Microcomputer
JP3451628B2 (en) 4-wire synchronous serial communication system
JP2680208B2 (en) Memory access control device
JP3267110B2 (en) Microcomputer data transfer device
JP2715872B2 (en) Information processing device
JPS5931800B2 (en) Control memory diagnostic method
JP2982811B2 (en) Access control device
JP2000209676A (en) Remote control receiver, electronic device, signal processing method, and storage medium by computer
JP2734992B2 (en) Information processing device
JP2972190B1 (en) CPU high-speed processing circuit
JPH1083384A (en) Microcomputer
JPH09114779A (en) Wait control system for information processor
JP2001184231A (en) Program development supporting device and method of controlling the same
JPH0787482B2 (en) Data transmission system
JPH05158872A (en) Data processor
JPH07160570A (en) Memory controller
JPH05158853A (en) Channel connecting mechanism
JPH10171846A (en) Logical synthesis system
JPS58169243A (en) Instruction processor
JPH05274111A (en) Control system for data processing timing
JPH07306798A (en) Microcomputer device
JPH07281889A (en) Instruction execution device
JPH05181696A (en) Microcomputer system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971028

LAPS Cancellation because of no payment of annual fees