JPH0512144A - I/o module diagnostic system - Google Patents

I/o module diagnostic system

Info

Publication number
JPH0512144A
JPH0512144A JP3163250A JP16325091A JPH0512144A JP H0512144 A JPH0512144 A JP H0512144A JP 3163250 A JP3163250 A JP 3163250A JP 16325091 A JP16325091 A JP 16325091A JP H0512144 A JPH0512144 A JP H0512144A
Authority
JP
Japan
Prior art keywords
module
control module
command
processing
start time
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
JP3163250A
Other languages
Japanese (ja)
Inventor
Masakazu Hagura
雅員 羽倉
Masayuki Tanaka
昌幸 田中
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 JP3163250A priority Critical patent/JPH0512144A/en
Publication of JPH0512144A publication Critical patent/JPH0512144A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To arbitrarily confirm the normality of an I/O module connected to a control module via a common bus without interrupting system operation. CONSTITUTION:The I/O module 1 is provided with a timer 14 and a common memory 13 to which processing progress information retention areas are indexed. When a processor 12 receives an I/O command from a control module 2 and starts the processing of the command, the name of the I/O command and the processing start time are written in the processing progress information retention area. When planned processing time of the issued I/O command has reached, the control module 2 instructs a diagnostic command. Receiving the diagnostic command, the I/O module 1 transmits current time and the processing start time to the control module 2. The control module 2 discriminates the normality of the I/O module from both of the transferred time.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はI/Oモジュール診断方
式、特に少なくとも1台のI/Oモジュールが共通バス
を介して制御モジュールに接続された情報処理システム
のI/Oモジュールの処理の正常性を確認するためのI
/Oモジュール診断方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an I / O module diagnostic method, and more particularly to normal processing of an I / O module of an information processing system in which at least one I / O module is connected to a control module via a common bus. I to confirm sex
/ O module diagnostic method.

【0002】[0002]

【従来の技術】従来、この種のI/Oモジュール診断方
式は、システム立上げ時に、I/Oモジュールに内蔵し
た自己診断プログラムを実行させるとか、I/Oモジュ
ールの上位の処理装置がI/Oモジュールに対する診断
プログラムを実行し、テスト用のI/Oコマンドを発行
して正常性を確認するようになっている。
2. Description of the Related Art Conventionally, in this type of I / O module diagnostic method, a self-diagnosis program built in the I / O module is executed when the system is started up, The diagnostic program for the O module is executed, and the test I / O command is issued to confirm the normality.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のI/O
モジュール診断方式は、内蔵した自己診断方式によるも
のでは電源投入時のシステム立上げ時のみにしか診断で
きず、上位の処理装置によるものでは、モジュールの待
機時にしか診断できないという問題点を有している。
DISCLOSURE OF THE INVENTION The conventional I / O described above
The module diagnosis method has a problem that the built-in self-diagnosis method can diagnose only when the system is started at power-on, and the higher-level processor can diagnose only when the module is on standby. There is.

【0004】[0004]

【課題を解決するための手段】本発明のI/Oモジュー
ル診断方式は、少なくとも1台のI/Oモジュールが共
通バスを介して制御モジュールに接続され、制御モジュ
ールからI/Oコマンドを発行してI/Oモジュールに
入出力処理を実行させる情報処理システムのI/Oモジ
ュール診断方式において、I/Oモジュールは、共通バ
スとI/Oモジュールとの間でデータの送受を行なうデ
ータ転送手段と、処理を実行するプロセッサと、時刻を
出力するタイマと、前記プロセッサがI/Oコマンドを
受けて処理を開始したとき、このI/Oコマンドの名称
と処理開始時刻とを保持するメモリ手段と、前記プロセ
ッサが制御モジュールから発行された診断コマンドを受
けたとき、前記メモリ手段に保持する処理開始時刻と現
時刻とを制御モジュールに返送する通信手段とを有し、
制御モジュールはこの通信手段により得た処理開始時刻
と現時刻とからI/Oモジュールの動作の正常性を判定
する判定手段を有することにより構成され、また、前記
メモリ手段が制御モジュールに設けられ、前記プロセッ
サがI/Oコマンドを受けて処理を開始したとき、I/
Oモジュールから転送されたこのI/Oコマンドの名称
と処理開始時刻とを保持するメモリ手段で、前記通信手
段が前記プロセッサが制御モジュールから発行された診
断コマンドを受けたとき現時刻を制御モジュールに返送
する通信手段であり、制御モジュールはメモリ手段に保
持した処理開始時刻と通信手段により得た現時刻とから
I/Oモジュールの動作の正常性を判定する判定手段を
有することにより構成される。
According to the I / O module diagnosis method of the present invention, at least one I / O module is connected to a control module via a common bus, and an I / O command is issued from the control module. In the I / O module diagnostic method of the information processing system that causes the I / O module to execute input / output processing, the I / O module includes a data transfer unit that transmits and receives data between the common bus and the I / O module. A processor for executing the process, a timer for outputting the time, and a memory means for holding the name of the I / O command and the process start time when the processor starts the process in response to the I / O command, When the processor receives the diagnostic command issued from the control module, it controls the processing start time and the current time held in the memory means. And a communication means for returning the Lumpur,
The control module is constituted by having a judging means for judging the normality of the operation of the I / O module from the processing start time and the current time obtained by the communication means, and the memory means is provided in the control module. When the processor receives an I / O command and starts processing, I / O
A memory means for holding the name of this I / O command transferred from the O module and the processing start time, and when the communication means receives the diagnostic command issued by the control module from the processor, the current time is sent to the control module. The control module is a communication means for returning, and is constituted by having a judging means for judging the normality of the operation of the I / O module from the processing start time held in the memory means and the current time obtained by the communication means.

【0005】[0005]

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

【0006】図1は本発明の一実施例のブロック図であ
る。図1のブロック図では1台のI/Oモジュール1と
1台の制御モジュール2とが共通バス3に接続されてい
る場合を示していて、I/Oモジュール1は共通バス3
に接続されたデータ転送手段11と、プロセッサ12
と、共用メモリ13と、タイマ14とがローカルバス1
5に接続された構成になっている。
FIG. 1 is a block diagram of an embodiment of the present invention. The block diagram of FIG. 1 shows a case where one I / O module 1 and one control module 2 are connected to a common bus 3, and the I / O module 1 is a common bus 3.
Data transfer means 11 and a processor 12 connected to
, The shared memory 13 and the timer 14 are connected to the local bus 1
It is configured to be connected to 5.

【0007】プロセッサ12はI/Oモジュール1の入
出力処理を行ない、共用メモリ13はI/Oモジュール
1で共用されるメモリであるが、図2に示すように予め
通信領域131および処理経過情報保持領域132が割
当てられている。
The processor 12 performs input / output processing of the I / O module 1, and the shared memory 13 is a memory shared by the I / O modules 1. As shown in FIG. A holding area 132 is assigned.

【0008】図3は図1の制御モジュールがI/O処理
を行なう場合の手順の一例を示す図で、図1の動作を図
3の手順によりI/O処理を行なう場合について説明を
進めると、制御モジュール2は図3の手順に従って1番
のI/OコマンドAを発行する。I/OコマンドAは共
通バス3,データ転送手段11を介してプロセッサ12
に与えられる。プロセッサ12は与えられたI/Oコマ
ンドAに従って入出力処理を開始すると共に、I/Oコ
マンドがAであることをローカルバス15を介して処理
経過情報保持領域132に書込む。さらにプロセッサ1
2はタイマ14から時刻tを読出し、処理開始時刻tを
同様に処理経過情報保持領域132に書込む。これらの
共用メモリ13に書込まれた情報は処理経過情報とし
て、少なくともI/OコマンドAの処理期間中は消去さ
れることなく保存される。そこでI/Oモジュール1ま
たはI/Oモジュール1に接続されたI/Oデバイスに
何らかの障害が発生して、処理が開始されたままで終了
しない場合には、制御モジュール2はモジュール内の監
視機能により、図3に示した手順表に示されている処理
に必要な時間20msを越えて終了情報が得られないこ
とを知り、I/OコマンドAについての診断コマンドを
発行する。この診断コマンドが共通バス3,データ転送
手段11を介してプロセッサ12に与えられると、プロ
セッサ12はI/OコマンドAに対する診断コマンドで
あることを知り、タイマ14から現在時刻、例えばt+
40msを読取り、通信領域131に経過時刻t+40
msを書込み、処理経過情報保持領域132に書込まれ
ている処理開始時刻tを通信領域131に移送する。次
いでプロセッサ12は通信領域131の内容をデータ転
送手段11,共通バス3を介して制御モジュール2に転
送する。制御モジュール2はI/Oモジュールで処理所
要時間の20msを過ぎても処理が終了していないこと
からI/Oモジュール1に異常が発生していると判断す
る。
FIG. 3 is a diagram showing an example of a procedure when the control module of FIG. 1 performs an I / O process. The operation of FIG. 1 will be described when the I / O process is performed by the procedure of FIG. The control module 2 issues the first I / O command A according to the procedure of FIG. The I / O command A is sent to the processor 12 via the common bus 3 and the data transfer means 11.
Given to. The processor 12 starts the input / output processing according to the given I / O command A, and writes that the I / O command is A in the processing progress information holding area 132 via the local bus 15. Further processor 1
2 reads the time t from the timer 14 and similarly writes the process start time t in the process progress information holding area 132. The information written in the shared memory 13 is stored as processing progress information without being erased at least during the processing period of the I / O command A. Therefore, if some trouble occurs in the I / O module 1 or the I / O device connected to the I / O module 1 and the processing is started and does not end, the control module 2 uses the monitoring function in the module. , The diagnostic command for the I / O command A is issued, knowing that the end information cannot be obtained over the time 20 ms required for the processing shown in the procedure table shown in FIG. When this diagnostic command is given to the processor 12 via the common bus 3 and the data transfer means 11, the processor 12 knows that it is a diagnostic command for the I / O command A, and the timer 14 indicates the current time, for example, t +.
40 ms is read, and the elapsed time t + 40 is displayed in the communication area 131.
ms is written, and the processing start time t written in the processing progress information holding area 132 is transferred to the communication area 131. Next, the processor 12 transfers the contents of the communication area 131 to the control module 2 via the data transfer means 11 and the common bus 3. The control module 2 determines that an abnormality has occurred in the I / O module 1 because the processing is not completed even after the processing time of 20 ms has passed in the I / O module.

【0009】以上の実施例ではI/Oモジュール内の共
用メモリに処理経過情報保持領域と通信領域とを設け、
処理開始時刻と現在時刻とを通信領域にセットしてから
制御モジュールへ転送するものとしたが、I/Oモジュ
ール内に処理経過情報保持領域のみを設けて、読出した
処理開始時刻にタイマから読取った現在時刻を付加し
て、直ちに制御モジュールに転送することもできる。
In the above embodiment, the processing progress information holding area and the communication area are provided in the shared memory in the I / O module,
The processing start time and the current time are set in the communication area and then transferred to the control module. However, only the processing progress information holding area is provided in the I / O module, and the timer is read at the read processing start time. It is also possible to add the current time and immediately transfer it to the control module.

【0010】また以上の実施例では処理開始時刻と現在
時刻とをそれぞれ制御モジュールへ転送するものとした
が、プロセッサ内で現在時刻から処理開始時刻を差引い
て、処理経過時間のみを制御モジュールへ転送すること
もできる。
In the above embodiment, the processing start time and the current time are respectively transferred to the control module. However, the processing start time is subtracted from the current time in the processor and only the processing elapsed time is transferred to the control module. You can also do it.

【0011】さらにまた、以上の実施例では処理経過情
報保持領域をI/Oモジュールの共用メモリ内に設ける
ものとしたが、処理経過情報保持領域を制御モジュール
内の共用メモリ内に設け、I/Oモジュールからデータ
転送手段および共通バスを介して、処理開始時刻および
現在時刻等を制御モジュール内の処理経過情報保持領域
に転送し、制御モジュールが必要に応じ、直接これらの
時刻を読出すこともできる。
Furthermore, in the above embodiment, the processing progress information holding area is provided in the shared memory of the I / O module. However, the processing progress information holding area is provided in the shared memory of the control module and the I / O module is provided. It is also possible to transfer the processing start time, the current time, etc. from the O module to the processing progress information holding area in the control module via the data transfer means and the common bus, and the control module can directly read these times as necessary. it can.

【0012】なおまた、以上の実施例ではI/Oモジュ
ールは、処理経過情報領域に処理開始時刻のみを書込む
ものとしたが、I/Oモジュールが実行したリトライ時
刻を書込み、これらの時刻も制御モジュールに転送して
異常判断の補助情報とすることもできる。
In the above embodiment, the I / O module writes only the process start time in the process progress information area, but the retry time executed by the I / O module is written and these times are also written. It can also be transferred to the control module and used as auxiliary information for abnormality determination.

【0013】[0013]

【発明の効果】以上説明したように本発明は、共用メモ
リに処理経過情報保持領域を設けて、I/Oモジュール
がI/Oコマンドを実際に開始した時刻を書込んでお
き、制御モジュールからの処理状況の問合せを受けた現
在時刻と共に開始時刻を制御モジュールに知らせること
により、制御モジュールはI/Oモジュールの正常性を
的確に判定できるという効果がある。
As described above, according to the present invention, the processing progress information holding area is provided in the shared memory, and the time when the I / O module actually starts the I / O command is written and the control module writes the time. By notifying the control module of the start time together with the current time when the inquiry about the processing status is received, the control module can accurately determine the normality of the I / O module.

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

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

【図2】図1の共用メモリの割付けを示す図である。FIG. 2 is a diagram showing allocation of the shared memory in FIG.

【図3】図1の制御モジュールがI/O処理で発行する
I/Oコマンドの例を示す図である。
FIG. 3 is a diagram showing an example of an I / O command issued by the control module of FIG. 1 in an I / O process.

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

1 I/Oモジュール 2 制御モジュール 3 共通バス 11 データ転送手段 12 プロセッサ 13 共用メモリ 14 タイマ 15 ローカルバス 1 I / O module 2 control module 3 common buses 11 Data transfer means 12 processors 13 shared memory 14 timer 15 Local Bus

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1台のI/Oモジュールが共
通バスを介して制御モジュールに接続され、制御モジュ
ールからI/Oコマンドを発行してI/Oモジュールに
入出力処理を実行させる情報処理システムのI/Oモジ
ュール診断方式において、I/Oモジュールは、共通バ
スとI/Oモジュールとの間でデータの送受を行なうデ
ータ転送手段と、処理を実行するプロセッサと、時刻を
出力するタイマと、前記プロセッサがI/Oコマンドを
受けて処理を開始したとき、このI/Oコマンドの名称
と処理開始時刻とを保持するメモリ手段と、前記プロセ
ッサが制御モジュールから発行された診断コマンドを受
けたとき、前記メモリ手段に保持する処理開始時刻と現
時刻とを制御モジュールに返送する通信手段とを有し、
制御モジュールはこの通信手段により得た処理開始時刻
と現時刻とからI/Oモジュールの動作の正常性を判定
する判定手段を有することを特徴とするI/Oモジュー
ル診断方式。
1. An information processing system in which at least one I / O module is connected to a control module via a common bus, and the control module issues an I / O command to cause the I / O module to execute input / output processing. In the I / O module diagnosing method described above, the I / O module includes a data transfer unit that transmits and receives data between the common bus and the I / O module, a processor that executes the process, and a timer that outputs the time. When the processor receives an I / O command and starts processing, a memory means for holding the name of the I / O command and the processing start time, and when the processor receives a diagnostic command issued from the control module A communication means for returning the processing start time and the current time held in the memory means to the control module,
The I / O module diagnosis system, wherein the control module has a judging means for judging the normality of the operation of the I / O module from the processing start time and the current time obtained by the communication means.
【請求項2】 請求項1記載のメモリ手段が制御モジュ
ールに設けられ、前記プロセッサがI/Oコマンドを受
けて処理を開始したとき、I/Oモジュールから転送さ
れたこのI/Oコマンドの名称と処理開始時刻とを保持
するメモリ手段で、前記通信手段が前記プロセッサが制
御モジュールから発行された診断コマンドを受けたとき
現時刻を制御モジュールに返送する通信手段であり、制
御モジュールはメモリ手段に保持した処理開始時刻と通
信手段により得た現時刻とからI/Oモジュールの動作
の正常性を判定する判定手段を有することを特徴とする
請求項1記載のI/Oモジュール診断方式。
2. The name of the I / O command transferred from the I / O module when the memory means according to claim 1 is provided in the control module and the processor starts processing upon receiving the I / O command. And a processing start time, the communication means is a communication means for returning the current time to the control module when the communication means receives a diagnostic command issued by the control module from the control module. 2. The I / O module diagnosis system according to claim 1, further comprising a judging unit for judging the normality of the operation of the I / O module from the held processing start time and the current time obtained by the communication unit.
JP3163250A 1991-07-04 1991-07-04 I/o module diagnostic system Pending JPH0512144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3163250A JPH0512144A (en) 1991-07-04 1991-07-04 I/o module diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3163250A JPH0512144A (en) 1991-07-04 1991-07-04 I/o module diagnostic system

Publications (1)

Publication Number Publication Date
JPH0512144A true JPH0512144A (en) 1993-01-22

Family

ID=15770216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3163250A Pending JPH0512144A (en) 1991-07-04 1991-07-04 I/o module diagnostic system

Country Status (1)

Country Link
JP (1) JPH0512144A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968735A (en) * 2021-07-01 2022-08-30 北京忆恒创源科技股份有限公司 Method and storage device for obtaining command processing time

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968735A (en) * 2021-07-01 2022-08-30 北京忆恒创源科技股份有限公司 Method and storage device for obtaining command processing time

Similar Documents

Publication Publication Date Title
JPH07181112A (en) Method and apparatus for self-trouble shooting of electronic controller for vehicle
JPH0496163A (en) Dma controller
JP2614674B2 (en) Diagnostic device and method for electronic control unit of printing press
JPH0512144A (en) I/o module diagnostic system
JPS6363935B2 (en)
JP2710777B2 (en) Test circuit for intermediate control unit
JP2639927B2 (en) Test method for control device in data processing system
JP2584903B2 (en) External device control method
JPH0410654B2 (en)
JP3053923B2 (en) Copy data writing control device
JP2000172526A (en) Information processing system and input/output controller
JPH0244436A (en) Information processing monitoring system
JP3094932B2 (en) Data test method between devices
JPS63282852A (en) Backup system diagnosis method in duplex processing system
JPH06175879A (en) Dummy fault setting system
JPH0113577B2 (en)
JPS5918741B2 (en) Automatic diagnosis method
JPH01134639A (en) Trace stopping control system
JPH04243431A (en) Evaluation system for fault processing function
JPH0883108A (en) Programmable controller debug tool
JPS6027054B2 (en) Input/output control method
JPS61107437A (en) Diagnostic system
JPS634210B2 (en)
JPS6136662B2 (en)
JPS60142754A (en) Programming device