JPH04125741A - Peripheral device with self-diagnostic function - Google Patents

Peripheral device with self-diagnostic function

Info

Publication number
JPH04125741A
JPH04125741A JP2246285A JP24628590A JPH04125741A JP H04125741 A JPH04125741 A JP H04125741A JP 2246285 A JP2246285 A JP 2246285A JP 24628590 A JP24628590 A JP 24628590A JP H04125741 A JPH04125741 A JP H04125741A
Authority
JP
Japan
Prior art keywords
diagnosis
program execution
self
diagnostic program
command
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
JP2246285A
Other languages
Japanese (ja)
Inventor
Yasushi Miyazaki
宮崎 也寸志
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 JP2246285A priority Critical patent/JPH04125741A/en
Publication of JPH04125741A publication Critical patent/JPH04125741A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To start self-diagnosis by executing diagnosis in the command level only in a device by a diagnostic program execution part and starting more detailed diagnosis in the circuit level in accordance with the diagnosis result. CONSTITUTION:A peripheral control part 3 receives a command from a diagnos tic program execution part 2 to operate a peripheral device part 5 based on contents of the command and returns information, which indicates whether the result of this operation is normal or not, to the diagnostic program execution part 2 through a data bus 6-2. If diagnosis in the command level results in abnormal end, the diagnostic program execution part 2 discriminates the abnor mal circuit position based on information of abnormality and instructs diagnosis of this position in the circuit level to the peripheral control part 3 through the data bus 6-2 and a signal bus 8-2. Thus, it is unnecessary to always execute diagnosis in the circuit level, and this device is effective to save time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に係シ、特に自己診断機能を有す
る自己診断機能付き周辺装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device, and more particularly to a peripheral device with a self-diagnosis function.

〔従来の技術〕[Conventional technology]

従来の周辺装置においては、実際に運用で使用されるよ
うな上位装置から送られてくる命令(コマンド)レベル
の自己診断ではなく周辺装置を構成する回路レベルの診
断が内蔵されているのが一般的であった。
Conventional peripheral devices generally have built-in diagnostics at the circuit level that makes up the peripheral device, rather than self-diagnosis at the instruction (command) level sent from the host device that is actually used in operation. It was a target.

なお、ここでいう回路レベルの診断は、−数的に全回路
の診断を時間をかけて行っていた。また、コマンドレベ
ルの診断は、周辺装置を上位装置に接続し、上位装置の
ソフトウェアからの実行命令により実現していた。
Note that the circuit-level diagnosis referred to here involves numerically diagnosing all circuits over time. Furthermore, command-level diagnosis has been achieved by connecting a peripheral device to a higher-level device and issuing an execution command from the software of the higher-level device.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の周辺装置において、周辺装置を構成する
回路レベルの診断は、全回路の診断を行っているので、
診断を実行するのに時間がかかるという課題があった。
In the conventional peripheral devices mentioned above, the diagnosis at the circuit level that makes up the peripheral device involves diagnosing all the circuits.
There was a problem in that it took a long time to perform the diagnosis.

また、実際の運用に即した方法(上位装置からコマンド
を発行する方法)で診断が行われていないので、実際の
運用時にしか顕在化しないよう障害を検出できないとい
う課題があった。さらに、コマンドレベルの診断を行お
うとするときは、上位装置に周辺装置を接続し、上位装
置から周辺装置を起動させるコマンドを発行してその結
果からコマンドの正常性を判断するようなソフトウェア
を作成しなければならないという課題があった。
Furthermore, since diagnosis is not performed using a method that is consistent with actual operation (a method of issuing commands from a host device), there is a problem in that failures cannot be detected so that they only become apparent during actual operation. Furthermore, when attempting to perform command-level diagnosis, create software that connects a peripheral device to the host device, issues a command to start the peripheral device from the host device, and determines the normality of the command from the result. There was a task that had to be done.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の自己診断機能付き周辺装置は、一般(従来)の
周辺装置の他に保守者からの周辺装置の自己診断要求を
受ける自己診断起動部と、上位装置から送られてくる全
ての命令と等価に命令を実行し、実行結果が異常の際に
回路レベルまで診断を行いより詳細な診断を実行する診
断プログラム実行部と、この診断プログラム実行部から
の命令により周辺装置を制御する周辺制御部と診断結果
を表示するエラー表示部を有しているものである。
In addition to general (conventional) peripheral devices, the peripheral device with a self-diagnosis function of the present invention includes a self-diagnosis activation section that receives a self-diagnosis request for the peripheral device from a maintenance person, and a self-diagnosis startup section that receives all commands sent from a host device. A diagnostic program execution unit that equally executes instructions and performs a more detailed diagnosis by diagnosing the circuit level when the execution result is abnormal, and a peripheral control unit that controls peripheral devices using instructions from this diagnostic program execution unit. It has an error display section that displays the diagnosis results.

〔作用〕[Effect]

本発明においては、診断プログラム実行部により、コマ
ンドレベルの診断を装置単体で実行し、さらに診断の結
果により、よシ詳細な回路レベルの診断を行う診断が起
動され、また、診断プログラム実行部により全コマンド
を装置内で実行し、また、自己診断起動部における、例
えば、スイッチの押下により周辺装置の自己診断を上位
装置に無関係で周辺装置独自に自己診断を起動する。
In the present invention, the diagnostic program execution section executes a command level diagnosis on the device itself, and further, based on the diagnosis result, a diagnosis for performing a more detailed circuit level diagnosis is activated. All commands are executed within the device, and self-diagnosis of the peripheral device is activated independently of the host device, independently of the host device, by pressing a switch in the self-diagnosis activation section, for example.

〔実施例〕〔Example〕

以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

図は本発明の一実施例を示すブロック図である。The figure is a block diagram showing one embodiment of the present invention.

図において、1は従来の周辺装置の他に保守者からの周
辺装置の自己診断要求を受ける自己診断起動部、2は上
位装置から送られてくる全ての命令(コマンド)と等価
にコマンドを実行し、実行結果が異常の場合に回路レベ
ルまで診断を行いより詳細な診断を実行する診断プログ
ラム実行部、3はこの診断プログラム実行部2からの命
令により周辺装置を制御する周辺制御部、4は診断結果
を表示するエラー表示部、5は周辺装置部、6−1゜6
−2.6−3はデータバス、7はデータバスA18−1
 、8−2 、8−3は信号バス、9は信号バスAであ
る。
In the figure, in addition to conventional peripheral devices, 1 is a self-diagnosis activation unit that receives requests for self-diagnosis of peripheral devices from maintenance personnel, and 2 is a self-diagnosis activation unit that executes commands equivalent to all commands sent from the host device. 3, a peripheral control unit that controls peripheral devices according to instructions from the diagnostic program execution unit 2; Error display section for displaying diagnostic results, 5 is peripheral device section, 6-1゜6
-2.6-3 is a data bus, 7 is a data bus A18-1
, 8-2, 8-3 are signal buses, and 9 is a signal bus A.

そして、自己診断起動部1は、保守者が周辺装置の自己
診断を始めるかどうかを図示しないスイッチ等により指
定するもので、診断プログラム実行部2と信号バス8−
1により接続されている。
The self-diagnosis starting section 1 is used by a maintenance person to specify whether or not to start self-diagnosis of the peripheral device using a switch (not shown), etc. The self-diagnosis starting section 1 connects the diagnostic program execution section 2 and the signal bus 8-
1.

診断プログラム実行部2紘、上位装置から送られてくる
コマンドと同等なコマンドを診断するための診断プログ
ラムを不揮発性のメモリにより格納し、自己診断起動部
1からの通知を信号バス8−1経由で受は診断プログラ
ムの実行を行い、実行結果が異常終了し九場合、回路レ
ベルの診断を行うようにするもので、周辺制御部3とデ
ータバス6−2および信号バス8−2て接続する。エラ
ー表示部4は、診断プログラムの実行結果を保守者に通
知するもので、診断プログラム実行部2とデータバス6
−1で接続されている。周辺制御部3は、診断プログラ
ム実行部2の動作要求を受は実際に周辺装置部5を動作
させるよう制御を行うもので、周辺装置部5とデータバ
ス6−3と信号バス8−3で接続され、また、上位装置
とデータバスAIおよび信号バスA9で接続されている
。周辺装置部5は、実際に周辺装置が動作する部分であ
る。
Diagnostic program execution unit 2 Hiro stores a diagnostic program for diagnosing commands equivalent to commands sent from the host device in non-volatile memory, and sends notifications from self-diagnosis activation unit 1 via signal bus 8-1. The receiver executes a diagnostic program, and if the execution result ends abnormally, performs circuit level diagnosis, and is connected to the peripheral control unit 3 through a data bus 6-2 and a signal bus 8-2. . The error display unit 4 notifies the maintenance personnel of the execution results of the diagnostic program, and is connected to the diagnostic program execution unit 2 and the data bus 6.
-1 is connected. The peripheral control section 3 receives the operation request from the diagnostic program execution section 2 and controls the peripheral device section 5 to actually operate. It is also connected to a host device via a data bus AI and a signal bus A9. The peripheral device unit 5 is a part where peripheral devices actually operate.

つぎにこの図に示す実施例の動作を説明する。Next, the operation of the embodiment shown in this figure will be explained.

まず、保守者が周辺装置の自己診断要求いたい場合、自
己診断起動部1のスイッチを押下する。
First, when a maintenance person wishes to request a self-diagnosis of a peripheral device, he or she presses a switch on the self-diagnosis activation unit 1.

そして、自己診断起動部1のスイッチを押下されたら信
号バス8−1を通じて診断プログラム実行部2に報告す
る。
When the switch of the self-diagnosis starting section 1 is pressed, a report is sent to the diagnostic program execution section 2 via the signal bus 8-1.

自己診断起動部1から通知された診断プログラム実行部
2は、上位装置が周辺装置を使用中かどうかを信号バス
8−2を通じて調べ、使用中の場合、データバス6−1
を通じてエラー表示部4に通知し、周辺装置が使用中で
あることを保守者に報告する。
The diagnostic program execution unit 2 notified from the self-diagnosis startup unit 1 checks whether the peripheral device is being used by the host device via the signal bus 8-2, and if it is in use, the diagnostic program execution unit 2
The error display section 4 is notified through the error display section 4, and the maintenance personnel is notified that the peripheral device is in use.

そして、周辺装置が未使用である場合、診断プログラム
実行部2は、上位装置と接続されているかを調べ、接続
されている場合は、上位装置側に周辺装置が使用中であ
ることを信号バスA11を通じて通知し上位装置からの
命令を受は付はカいようにし、データバス6−1を通じ
てエラー表示部4に自己診断中であることを角示し、格
納している診断プログラムの実行を開始する。また、上
位装置と接続されていない場合には、データバス6−1
を通じてエラー表示部4に自己診断中であることを表示
し、格納している診断プログラムの実行を開始する。
If the peripheral device is not in use, the diagnostic program execution unit 2 checks whether it is connected to the host device, and if it is connected, sends a signal to the host device that the peripheral device is in use. It notifies it through A11 and accepts commands from the host device, indicates on the error display unit 4 through the data bus 6-1 that self-diagnosis is in progress, and starts executing the stored diagnostic program. do. In addition, if it is not connected to a host device, the data bus 6-1
The error display section 4 displays the fact that self-diagnosis is in progress through the self-diagnosis section 4, and starts executing the stored diagnostic program.

つぎに、診断プログラム実行部2は、コマンドレベルの
診断を行うためにデータバス6−2および信号バス8−
2を通じて、あたかも上位装置からコマンドが送られて
きたかのように周辺制御部3に周辺装置部5を動作させ
るコマンドを発行する。そして、診断プログラム実行部
2からコマンドを受けた周辺制御部3は、コマンドの内
容に基づき周辺装置部5を動作させ、動作させた結果が
正常か異常かの情報を診断プログラム実行部2にデータ
バス6−2を通じて返す。
Next, the diagnostic program execution unit 2 uses a data bus 6-2 and a signal bus 8-2 to perform command level diagnosis.
2, a command for operating the peripheral device section 5 is issued to the peripheral control section 3 as if the command had been sent from a host device. The peripheral control unit 3 that receives the command from the diagnostic program execution unit 2 operates the peripheral device unit 5 based on the contents of the command, and sends information on whether the operation result is normal or abnormal to the diagnostic program execution unit 2. Return via bus 6-2.

診断プログラム実行部2は、入手した情報が正常終了で
あれば引き続き周辺装置部5を動作させるコマンドを発
行し、全てのコマンドを実行する。
If the obtained information indicates normal completion, the diagnostic program execution section 2 issues a command to continue operating the peripheral device section 5 and executes all commands.

そして、異常終了なく全コマンドを実行した場合には、
結果をエラー表示部4に報告する。このエラー表示部4
は、自己診断中である表示を消して正常終了の表示を行
い保守者に通知する。
And if all commands are executed without abnormal termination,
The result is reported to the error display section 4. This error display section 4
erases the display indicating that the self-diagnosis is in progress, displays a display indicating normal completion, and notifies the maintenance personnel.

一方、コマンドレベルの診断が異常終了であれば、診断
プログラム実行部2は、異常の情報を基にどの回路の所
が異常なのかを判断し、その場所の回路レベルの診断を
行うよう周辺制御部3にデータバス6−2および信号バ
ス8−2を通じて通知する。そして、通知を受けた周辺
制御部3は、診断プログラム実行部2からの情報を基に
回路レベルの診断を行い結果をデータバス6−2を通じ
て診断プログラム実行部2に返す。診断プログラム実行
部2は入手した情報をエラー表示部4にデータバス6−
1を通じてエラー表示し、保守者に異常があったことを
通知する。
On the other hand, if the command-level diagnosis ends abnormally, the diagnostic program execution unit 2 determines which circuit is abnormal based on the abnormality information, and controls the peripherals to perform circuit-level diagnosis at that location. 3 via the data bus 6-2 and signal bus 8-2. Then, the peripheral control section 3 that has received the notification performs a circuit-level diagnosis based on the information from the diagnostic program execution section 2 and returns the results to the diagnosis program execution section 2 via the data bus 6-2. The diagnostic program execution section 2 sends the obtained information to the error display section 4 on the data bus 6-.
1 to display an error message and notify the maintenance personnel that there is an abnormality.

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

以上説明したように本発明は、診断プログラム実行部に
より、コマンドレベルの診断を装置単体で実行し、さら
に診断の結果により、よシ詳細な回路レベルの診断を行
う診断が起動されるので、常時回路レベルの診断を実行
しなくてもよく、時間がかからないという効果がある。
As explained above, in the present invention, the diagnostic program execution section executes command-level diagnosis on the device itself, and further, based on the diagnosis result, a diagnosis is activated to perform a more detailed circuit-level diagnosis. This has the advantage that it is not necessary to perform circuit-level diagnosis, which saves time.

また、診断プログラム実行部により全コマンドを装置内
で実行することにより、実際の運用に即した方法でコマ
ンドレベルの自己診断を行うことができる効果がある。
Further, by executing all commands within the device by the diagnostic program execution section, there is an effect that self-diagnosis at the command level can be performed in a method that is suitable for actual operation.

さらに、自己診断起動部の、例えば、スイッチ押下によ
り周辺装置の自己診断を上位装置に無関係で周辺装置独
自に自己診断を起動することができるので、上位装置を
起動して全コマンドを実行するソフトウェアを起動しな
くても周辺装置の診断ができる効果がある。
Furthermore, by pressing a switch in the self-diagnosis startup section, for example, the self-diagnosis of the peripheral device can be started independently of the host device, so the software starts the host device and executes all commands. This has the effect of being able to diagnose peripheral devices without starting up.

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

図は本発明の一実施例を示すブロック図である。 1・・・・自己診断起動部、2・嘩・・診断プログラム
実行部、3・・・・周辺制御部、4・・・・エラー表示
部、5・・・・周辺装置部。
The figure is a block diagram showing one embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Self-diagnosis starting section, 2... Diagnosis program execution section, 3... Peripheral control section, 4... Error display section, 5... Peripheral device section.

Claims (1)

【特許請求の範囲】[Claims] 一般の周辺装置の他に保守者からの周辺装置の自己診断
要求を受ける自己診断起動部と、上位装置から送られて
くる全ての命令と等価に命令を実行し、実行結果が異常
の際に回路レベルまで診断を行いより詳細な診断を実行
する診断プログラム実行部と、この診断プログラム実行
部からの命令により周辺装置を制御する周辺制御部と、
診断結果を表示するエラー表示部を有していることを特
徴とする自己診断機能付き周辺装置。
In addition to general peripheral devices, there is also a self-diagnosis activation unit that receives self-diagnosis requests for peripheral devices from maintenance personnel, and executes instructions equivalent to all instructions sent from the host device, and when the execution result is abnormal. a diagnostic program execution unit that performs diagnosis down to the circuit level and executes more detailed diagnosis; a peripheral control unit that controls peripheral devices according to instructions from the diagnosis program execution unit;
A peripheral device with a self-diagnosis function, characterized by having an error display section for displaying diagnosis results.
JP2246285A 1990-09-18 1990-09-18 Peripheral device with self-diagnostic function Pending JPH04125741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2246285A JPH04125741A (en) 1990-09-18 1990-09-18 Peripheral device with self-diagnostic function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2246285A JPH04125741A (en) 1990-09-18 1990-09-18 Peripheral device with self-diagnostic function

Publications (1)

Publication Number Publication Date
JPH04125741A true JPH04125741A (en) 1992-04-27

Family

ID=17146274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2246285A Pending JPH04125741A (en) 1990-09-18 1990-09-18 Peripheral device with self-diagnostic function

Country Status (1)

Country Link
JP (1) JPH04125741A (en)

Similar Documents

Publication Publication Date Title
JPH04125741A (en) Peripheral device with self-diagnostic function
JPH02151926A (en) Terminal equipment switching system
JP2000148544A (en) Dump output system
US7216261B2 (en) Method for controlling a program run of a central data processor
JPH08263320A (en) System operation management method and operation management device
JPH10207742A (en) Information processor
JPH05282167A (en) Method for processing fault
JPH07129425A (en) Reboot processing method
JP2679575B2 (en) I / O channel fault handling system
JPH0410654B2 (en)
JPH0353345A (en) Controller with automatic self-diagnostic function
JPS6155129B2 (en)
JPH04160556A (en) Memory diagnostic system for multiprocessor system
JP2522038B2 (en) switch
JPH05108310A (en) Automatic activity test method for computer system
JPS59119451A (en) Diagnosing system of electronic computer system
JPS6116340A (en) Emergency operation device of processor system
JPS6228841A (en) Input/output processor
JP2000172526A (en) Information processing system and input/output controller
JPH0981294A (en) Keyboard device
JPH0628782A (en) Magnetic disk device provided with self-diagnosis function
JPS62194547A (en) Emergency working device
JPH01120922A (en) Diagnostic system for communication control processing system
JPH10269104A (en) Parallel system testing method
JPS60142754A (en) Programming device