JP2614866B2 - Self-diagnosis method - Google Patents
Self-diagnosis methodInfo
- Publication number
- JP2614866B2 JP2614866B2 JP62192333A JP19233387A JP2614866B2 JP 2614866 B2 JP2614866 B2 JP 2614866B2 JP 62192333 A JP62192333 A JP 62192333A JP 19233387 A JP19233387 A JP 19233387A JP 2614866 B2 JP2614866 B2 JP 2614866B2
- Authority
- JP
- Japan
- Prior art keywords
- self
- level device
- diagnosis
- command
- memory
- 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
Links
Landscapes
- Testing And Monitoring For Control Systems (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、上位装置からの動作指示の受取り,動作結
果報告を上位装置内のメモリを介して行なう下位装置を
含むシステムにおける自己診断方式に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a self-diagnosis method in a system including a lower device that receives an operation instruction from a higher device and reports an operation result via a memory in the higher device. .
従来のこの種の自己診断方式の構成を第2図に示す。
同図において、上位装置1は、複数個の下位装置2−1
〜2−nの制御を行なっており、それらの動作指示を示
すコマンドは、上位装置1内の処理制御部11によりメモ
リ12に書込まれ、下位装置2−1〜2−nは上位装置1
からコマンド起動を受けると、メモリ12にアクセスして
コマンドを読取り、そのコマンドに応じた処理を実行す
る。FIG. 2 shows a configuration of a conventional self-diagnosis system of this kind.
In the figure, a higher order device 1 includes a plurality of lower order devices 2-1.
2−2-n are controlled, and a command indicating the operation instruction is written in the memory 12 by the processing control unit 11 in the higher-level device 1, and the lower-level devices 2-1 to 2-n
When the command is received from the CPU, the memory 12 is accessed to read the command, and the processing corresponding to the command is executed.
また、下位装置2−1〜2−nは上記装置1への報告
要因が発生すると、上位装置1内のメモリ12にアクセス
し、ステータスを書込んで上位装置1にステータス報告
要因が発生したことを通知する。Further, when a report factor to the device 1 occurs, the lower devices 2-1 to 2-n access the memory 12 in the upper device 1, write the status, and generate a status report factor in the higher device 1. Notify.
このようなシステムにおいて、例えば下位装置2−1
が上位装置1から自己診断実行を指示されると、下位装
置2−1内の処理制御部20−1が下位装置2−1内の処
理部21−11〜21−1mの正常性をチェックし、その結果
を、装置内部に設けられた自己診断結果表示部22−1に
表示する。他の下位装置2−nにおける処理制御部20−
nも同様に、上位装置1から自己診断実行を指示される
と、処理部21−n1〜21−nmの正常性をチェックし、その
結果を自己診断結果表示部22−nに表示する。In such a system, for example, the lower device 2-1
Is instructed by the higher-level device 1 to execute a self-diagnosis, the processing controller 20-1 in the lower-level device 2-1 checks the normality of the processing units 21-11 to 21-1m in the lower-level device 2-1. The result is displayed on a self-diagnosis result display section 22-1 provided inside the apparatus. Processing control unit 20- in another lower device 2-n
Similarly, when the host device 1 is instructed to execute the self-diagnosis, the normality of the processing units 21-n1 to 21-nm is checked, and the result is displayed on the self-diagnosis result display unit 22-n.
上位装置1内の処理制御部11は、各々の下位装置2−
1〜2−n内の自己診断結果表示部22−1〜22−nの表
示内容を読取ることにより、自己診断結果の処理を行な
う。The processing control unit 11 in the higher-level device 1 controls each lower-level device 2-
The self-diagnosis result processing is performed by reading the display contents of the self-diagnosis result display sections 22-1 to 22-n in 1-2-n.
上記のような従来の構成では、自己診断結果の表示が
各々の下位装置2−1〜2−n内で行なわれるため、上
位装置1は通常動作では使用しない自己診断結果の読取
り手順を用意しなければならず、その読取り手順も各下
位装置2−1〜2−nの内部構成が相違すると異なる手
順が必要となるので、複数種の方法を用意しなければな
らないことから、上位装置1側の処理が複雑化する欠点
がある。In the above-described conventional configuration, since the self-diagnosis result is displayed in each of the lower devices 2-1 to 2-n, the upper device 1 prepares a procedure for reading the self-diagnosis result which is not used in the normal operation. If the internal configuration of each of the lower-level devices 2-1 to 2-n is different, a different procedure is required. Therefore, a plurality of methods must be prepared. There is a disadvantage that the processing of is complicated.
また、各々の下位装置2−1〜2−nも通常動作では
使用しない自己診断結果表示部22−1〜22−nを持たね
ばならず、下位装置2−1〜2−nのハードウェア量が
嵩む欠点もある。Each of the lower devices 2-1 to 2-n must also have a self-diagnosis result display unit 22-1 to 22-n that is not used in normal operation, and the amount of hardware of the lower devices 2-1 to 2-n. However, there is also a drawback that it increases.
本発明はこのような従来の欠点を解決したもので、そ
の目的は、下位装置のハードウェア量を削減でき、且つ
上位装置の処理も簡単になる自己診断方式を提供するこ
とにある。SUMMARY OF THE INVENTION The present invention has been made to solve the conventional drawbacks, and an object of the present invention is to provide a self-diagnosis method in which the amount of hardware of a lower-level device can be reduced and the processing of a higher-level device can be simplified.
本発明は上記目的を達成するために、上位装置からの
自己診断実行を指示するコマンド内に、自己診断結果を
報告する上位装置内のメモリアドレスを示すフィールド
を設け、自己診断実行を指示するコマンドを受けた下位
装置は、自己診断結果をコマンドで指示された上位装置
内メモリアドレスが指示するメモリエリアに書込む構成
を採用している。In order to achieve the above object, the present invention provides, in a command for instructing execution of self-diagnosis from a higher-level device, a field indicating a memory address in the higher-level device for reporting a self-diagnosis result, and a command for instructing execution of self-diagnosis. The lower device that receives the command writes the self-diagnosis result to the memory area specified by the memory address in the higher device specified by the command.
下位装置は、自己診断結果を上位装置内のメモリに書
込むようにしているので、従来のような自己診断結果表
示部を必要とせず、また上位装置も、装置内メモリを参
照するだけで下位装置からの自己診断結果を得ることが
できるので、通常動作では使用しない自己診断結果の読
取り手順の如き特別な手順は必要でなくなる。Since the lower-level device writes the self-diagnosis result to the memory in the higher-level device, the lower-level device does not need the conventional self-diagnosis result display section. Since no self-diagnosis result can be obtained, a special procedure such as a self-diagnosis result reading procedure which is not used in the normal operation is not required.
次に本発明の実施例について図面を参照して説明す
る。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の実施例のブロック図であり、第2図
と同一符号は同一部分を示し、12−1〜12−nは上位装
置1内のメモリ12に設定された自己診断結果格納用のエ
リアである。FIG. 1 is a block diagram of an embodiment of the present invention. The same reference numerals as in FIG. 2 denote the same parts, and 12-1 to 12-n store the self-diagnosis result set in the memory 12 in the host device 1. Area.
第1図において、上位装置1は、複数個の下位装置2
−1〜2−nの制御を行なっており、それらの動作指示
を示すコマンドは、上位装置1内の処理制御部11により
メモリ12に書込まれ、下位装置2−1〜2−nは上位装
置1からコマンド起動を受けると、メモリ12にアクセス
してコマンドを読取り、そのコマンドに応じた処理を実
行する。また、下位装置2−1〜2−nは上位装置1へ
の報告要因が発生すると、上位装置1内のメモリ12にア
クセスし、ステータスを書込んで上位装置1にステータ
ス報告要因が発生したことを通知する。In FIG. 1, a higher-level device 1 includes a plurality of lower-level devices 2.
-1 to 2-n are controlled, and commands indicating their operation instructions are written in the memory 12 by the processing control unit 11 in the higher-level device 1, and the lower-level devices 2-1 to 2-n Upon receiving a command activation from the device 1, the device accesses the memory 12 to read the command and executes a process corresponding to the command. Also, when a reporting factor to the upper device 1 occurs, the lower devices 2-1 to 2-n access the memory 12 in the upper device 1, write the status, and generate a status reporting factor in the upper device 1. Notify.
このようなシステムにおいて、上位装置1が例えば下
位装置2−1に自己診断の実行を行なわせる場合、下位
装置2−1に対する自己診断実行を指示するコマンド内
に設けられたフィールドに、自己診断結果を報告するメ
モリ12のエリア12−1のアドレスを設定し、下位装置2
−1に対しコマンド起動を行なう。In such a system, when the higher-level device 1 causes, for example, the lower-level device 2-1 to execute a self-diagnosis, the self-diagnosis result is set in a field provided in a command instructing the lower-level device 2-1 to perform a self-diagnosis. The address of the area 12-1 of the memory 12 for reporting the
-1 is activated.
下位装置2−1では、上位装置1から自己診断実行を
指示するコマンドを起動されると、下位装置2−1内の
処理制御部20−1が装置内の処理部21−11〜21−1mの正
常性をチェックし、その結果を編集して、上記のコマン
ド内のフィールドで指示されたメモリ12のエリア12−1
に直接に自己診断結果を書込む。この書込み手順は、前
述したステータス報告要因が発生したときに上位装置1
のメモリ12にステータスを書込む手順と同様である。In the lower-level device 2-1, when the command instructing execution of the self-diagnosis is started from the higher-level device 1, the processing control unit 20-1 in the lower-level device 2-1 causes the processing units 21-11 to 21-1m in the device to operate. Is checked, the result is edited, and the area 12-1 of the memory 12 indicated by the field in the above-mentioned command is checked.
Write the self-diagnosis results directly to This writing procedure is performed when the above-mentioned status report factor occurs.
This is the same as the procedure for writing the status into the memory 12.
上位装置1内の処理制御部11は、メモリ12のエリア12
−1内のデータを読取ることにより、下位装置2−1の
自己診断結果を取得し、自己診断結果の処理を行なう。
このように、自装置内のメモリ12の内容を読取ることで
下位装置2−1の自己診断結果が判明するので、自己診
断結果の読取りのために下位装置2−1にアクセスする
必要はなくなる。The processing control unit 11 in the host device 1
The self-diagnosis result of the lower-level device 2-1 is obtained by reading the data in -1 to process the self-diagnosis result.
As described above, the self-diagnosis result of the lower device 2-1 is determined by reading the contents of the memory 12 in the own device, so that it is not necessary to access the lower device 2-1 to read the self-diagnosis result.
上位装置1は、他の下位装置2−nに対しても上述と
同様に自己診断実行を指示するコマンド内のフィールド
にその下位装置2−nからの自己診断結果の報告を受け
るメモリ12におけるエリア12−nのアドレスを設定して
コマンド起動するものであり、このコマンド起動を受け
た下位装置2−nも上述と同様に自己診断結果を指定さ
れたメモリ12のエリア12−nに書込むものである。The higher-level device 1 stores an area in the memory 12 for receiving a report of the self-diagnosis result from the lower-level device 2-n in a field in a command instructing execution of the self-diagnosis to the other lower-level devices 2-n in the same manner as described above. The command is started by setting the address of 12-n, and the lower device 2-n that has received the command starts writing the self-diagnosis result to the designated area 12-n of the memory 12 in the same manner as described above. .
以上説明したように、本発明によれば、自己診断結果
表示部の如きハードウェアを準備する必要がなくなり、
下位装置のハードウェア量を削減することができる。As described above, according to the present invention, there is no need to prepare hardware such as a self-diagnosis result display unit,
The amount of hardware of the lower-level device can be reduced.
また、下位装置の自己診断結果は上位装置内のメモリ
に書込まれるので、上位装置は下位装置の内部構成に依
存しない統一された手順で下位装置の自己診断結果を読
取ることができ、上位装置側の処理が簡単なものとな
る。In addition, since the self-diagnosis result of the lower device is written into the memory in the upper device, the higher device can read the self-diagnosis result of the lower device in a unified procedure independent of the internal configuration of the lower device. The processing on the side becomes simple.
更に、自己診断結果の報告先アドレスは、上位装置に
接続される下位装置の形態に関係なく上位装置側で任意
に決めることができるので、種々な下位装置の接続形態
に対しても、上位装置が行なう自己診断結果の処理方法
は同一にできるという効果もある。Further, the report destination address of the self-diagnosis result can be arbitrarily determined by the higher-level device side regardless of the type of the lower-level device connected to the higher-level device. There is also an effect that the processing method of the self-diagnosis result performed by the user can be the same.
第1図は本発明の実施例のブロック図および、第2図は
従来方式のブロック図である。 図において、 1……上位装置 11……処理制御部 12……メモリ 12−1〜12−n……自己診断結果格納用のエリア 2−1〜2−n……下位装置 20−1〜20−n……処理制御部 21−11〜21−1m,21−n1〜21−nm……処理部 22−1〜22−n……自己診断結果表示部FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional system. In the figure, 1... Upper device 11... Processing control unit 12... Memory 12-1 to 12-n... -N processing control unit 21-11 to 21-1m, 21-n1 to 21-nm processing unit 22-1 to 22-n self-diagnosis result display unit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 樋高 俊一 東京都武蔵野市緑町3丁目9番11号 日 本電信電話株式会社通信網第一研究所内 (56)参考文献 特開 昭61−233854(JP,A) 特開 昭50−99649(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Shunichi Hidaka 3-9-1, Midoricho, Musashino-shi, Tokyo Nippon Telegraph and Telephone Corporation Inside Communication Network First Research Laboratory (56) References JP-A-61-233854 (JP) , A) JP-A-50-99649 (JP, A)
Claims (1)
示すコマンドの受取り、前記上位装置への動作結果を示
すステータスの報告を前記上位装置内のメモリを介して
行なう下位装置とを含むシステムにおいて、 前記上位装置からの前記下位装置に対する自己診断実行
を指示するコマンド内に、自己診断結果を報告する前記
上位装置内メモリアドレスを示すフィールドを設け、 前記下位装置は、前記の自己診断実行を指示するコマン
ドを受取ったとき、自装置内各部の診断を行ない、その
診断結果を前記受取ったコマンドで指示された前記上位
装置内メモリアドレスが指示するメモリエリアに書込む
ことを特徴とする自己診断方式。An apparatus includes a higher-level device and a lower-level device that receives a command indicating an operation instruction from the higher-level device and reports a status indicating an operation result to the higher-level device via a memory in the higher-level device. In the system, a field indicating a memory address in the higher-level device for reporting a self-diagnosis result is provided in a command from the higher-level device instructing execution of the self-diagnosis to the lower-level device, and the lower-level device performs the self-diagnosis execution. Receiving a command instructing the internal device, performs a diagnosis of each unit in the own device, and writes the diagnosis result in a memory area indicated by the memory address in the higher-level device specified by the received command. Diagnostic method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62192333A JP2614866B2 (en) | 1987-07-31 | 1987-07-31 | Self-diagnosis method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62192333A JP2614866B2 (en) | 1987-07-31 | 1987-07-31 | Self-diagnosis method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6436339A JPS6436339A (en) | 1989-02-07 |
JP2614866B2 true JP2614866B2 (en) | 1997-05-28 |
Family
ID=16289539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62192333A Expired - Fee Related JP2614866B2 (en) | 1987-07-31 | 1987-07-31 | Self-diagnosis method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2614866B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03237534A (en) * | 1990-02-14 | 1991-10-23 | Nec Corp | System test method |
US6871299B2 (en) * | 2001-02-05 | 2005-03-22 | Fisher-Rosemount Systems, Inc. | Hierarchical failure management for process control systems |
JP6199088B2 (en) * | 2013-06-18 | 2017-09-20 | アズビル株式会社 | Device management apparatus and device management method |
-
1987
- 1987-07-31 JP JP62192333A patent/JP2614866B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPS6436339A (en) | 1989-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0403207A2 (en) | Diagnostic subsystem | |
JP2009532782A (en) | Interport communication in multiport memory devices | |
JP2614866B2 (en) | Self-diagnosis method | |
JP2766216B2 (en) | Information processing device | |
JP2859178B2 (en) | Data transfer method between processors and ring buffer memory for data transfer between processors | |
JP3348947B2 (en) | System diagnosis method | |
JP3204308B2 (en) | Microcomputer and test method thereof | |
JPS583246B2 (en) | data processing system | |
JP3177131B2 (en) | Electronic circuit analyzer | |
JPH01134651A (en) | Bus unit direct control mechanism | |
JPH01276354A (en) | Information processor | |
JPH086890A (en) | I / O control system | |
JPS63129434A (en) | Program development supporting device | |
JPS62192824A (en) | Processing unit access method | |
JPS6253862B2 (en) | ||
JPS62221043A (en) | Monitor circuit for logical unit | |
JPH03245219A (en) | Electronic disk subsystem | |
JP2001257740A (en) | Subordinate unit opposite test system | |
JPH0619637A (en) | Magnetic disk device | |
JPH04351149A (en) | Data communication control method in electronic switching system | |
JPH0377157A (en) | I/O device interface control method | |
JPH02158846A (en) | Data processor | |
JPS60117345A (en) | How to log out from the main computer using the service processor device | |
JPH04349271A (en) | Magnetic disk device | |
JPH01140325A (en) | Disk controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |