JPH0415851A - Channel device diagnostic system - Google Patents

Channel device diagnostic system

Info

Publication number
JPH0415851A
JPH0415851A JP2119364A JP11936490A JPH0415851A JP H0415851 A JPH0415851 A JP H0415851A JP 2119364 A JP2119364 A JP 2119364A JP 11936490 A JP11936490 A JP 11936490A JP H0415851 A JPH0415851 A JP H0415851A
Authority
JP
Japan
Prior art keywords
input
frame
output
data
transfer
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
JP2119364A
Other languages
Japanese (ja)
Inventor
Kunio Nakase
中瀬 邦夫
Teruya Kobayashi
小林 輝也
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP2119364A priority Critical patent/JPH0415851A/en
Publication of JPH0415851A publication Critical patent/JPH0415851A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To transfer diagnosis without using an exclusive circuit for hardware by permitting a micro program to control data transfer at the time of diagnosis. CONSTITUTION:A diagnostic mode is instructed from an input/output processor 700 to a micro program controller 840 by using a path 20 and an input data frame is transmitted by using a path 10. A channel device 800 stores the frame in an input data frame buffer (DBM) 810 and stores it from DBM to an input/ output frame register (NFR) 830. Then, the micro program reads the input data frame stored in NFR 830, checks the coincidence of a previously settled value and a read value. A generated output response frame is transmitted to the input/output processor by permitting the micro program to switch a selector 820 to a path 40 and to store the frame in NFR. Thus, diagnosis can be transferred without incorporating the exclusive circuit in the channel device.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ転送装置に関し、特にチャネル装置診断
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer device, and more particularly to a channel device diagnostic method.

〔従来の技術〕[Conventional technology]

従来この種のデータ転送装置の動作を第2図。 FIG. 2 shows the operation of a conventional data transfer device of this type.

第3図、第4図を用いて説明する。This will be explained using FIGS. 3 and 4.

第2図は入出力処理装置からチャネル装置への入力フレ
ームのフォーマットで、Dlは入力データフレームであ
ることを示す識別子、ENDlは転送の最終フレームで
あることを示すフラグ、ERRIは入出力処理装置40
0もしくはその上位装置において障害が発生したことを
示すフラグであり、データは入出力処理装!より送られ
て来るデータで、このデータは入出力処理装置とチャネ
ル装置であらかじめ取り決められた数値である。ABC
はフレームの有効データのバイト数を示す。
Figure 2 shows the format of the input frame from the input/output processing device to the channel device, where Dl is an identifier indicating that it is an input data frame, END1 is a flag indicating that it is the final frame of transfer, and ERRI is the input/output processing device. 40
0 or a flag indicating that a failure has occurred in the higher-level device, and the data is the input/output processing device! This data is a value determined in advance by the input/output processing device and the channel device. ABC
indicates the number of bytes of valid data in the frame.

第3図はチャネル装置がら入出力装置への出力応答フレ
ームのフォーマットであり、D2は出力応答フレームで
あることを示す識別子、END 2は転送の最終応答で
あることを示すフラグ、ERR2は入力データフレーム
のERRIビットもしくはチャネル装置内において障害
が発生したことを示すフラグ、RBCは入力データフレ
ーム内で正常に転送されたバイト数である。
Figure 3 shows the format of the output response frame from the channel device to the input/output device, where D2 is an identifier indicating that it is an output response frame, END2 is a flag indicating that it is the final response of transfer, and ERR2 is input data. The ERRI bit of the frame or a flag indicating that a failure has occurred within the channel device, RBC is the number of bytes successfully transferred within the input data frame.

コンソール入力装置100より診断プロセ・yす200
への診断用の出力データ転送を指示すると、診断プロセ
ッサ200は、取り決められたデータ値を主記憶装置3
00へ書き込み、入出力処理装置400へ診断用出力デ
ータ転送を指示する。入出力処理装置400は、チャネ
ル装置500へ診断用出力データ転送を指示する0次に
入出力処理装置400は主記憶装置300から転送デー
タを読み出し、第2図に示すようなフレーム形式でチャ
ネル装置500へ転送データフレームを送出する。チャ
ネル装置500は、入出力処理装f400から転送デー
タフレームを受は取ると、入力データフレームバッファ
(DBM)310に受は取った転送データフレームを格
納する。そしてデータ比較回路320は、入力データフ
レームバッファ310から転送データフレームの中のデ
ータのみを取り出し、また、比較データ作成回路330
より比較データを読み出し照合し、同じ値ならば正常終
了バイト数加算回路340を駆動する。同じ値でなかっ
たならば強制的に転送終了する。
Diagnosis process 200 from console input device 100
When the diagnostic processor 200 instructs to transfer diagnostic output data to the
00 to instruct the input/output processing device 400 to transfer diagnostic output data. The input/output processing device 400 instructs the channel device 500 to transfer diagnostic output data.The input/output processing device 400 reads the transfer data from the main storage device 300 and transfers it to the channel device in a frame format as shown in FIG. The transfer data frame is sent to 500. When the channel device 500 receives a transfer data frame from the input/output processing device f400, it stores the received transfer data frame in the input data frame buffer (DBM) 310. Then, the data comparison circuit 320 extracts only the data in the transfer data frame from the input data frame buffer 310, and also takes out the data in the transfer data frame from the input data frame buffer 310.
The comparison data is read out and compared, and if the values are the same, the normally completed byte number addition circuit 340 is driven. If the values are not the same, the transfer will be forcibly terminated.

正常終了バイト数加算回路340は、正常終了バイト数
とDBMより送られて来る入力データフレームの有効バ
イト数とを比較し、一致したら正常転送バイト数をフレ
ーム作成回路360へ送出し、正常転送バイト数をセッ
トする。そして、フレーム作成回路360は第3図に示
すような出力応答フレームを作成し入出力処理装置へ送
出する。転送終了は、DBM310又は比較データ作成
回路330から転送終了制御回路350を経て転送終了
指示をフレーム作成回路360が受は取ったら第3図の
END2=1.ERR2=Oによって転送を終了させる
。またデータ比較回路320によって、入力データと比
較してデータの不一致が発見されると、転送終了制御回
路350.フレーム作成回路360を通じて第3図のE
ND2−1.ERR2=1によってデータの不一致を入
出力処理装置400へ報告する。入出力処理装置400
は、チャネル装置500がら受けた報告を、診断制御プ
ロセッサへ報告し、診断制御プロセッサはコンソール出
力装置600へ正常終了またはデータネ一致を表示させ
る。
The normally completed byte number adding circuit 340 compares the normally completed byte number with the valid number of bytes of the input data frame sent from the DBM, and if they match, sends the normally transferred byte number to the frame creation circuit 360, and sends the normally transferred byte number to the frame creation circuit 360. Set the number. Then, the frame creation circuit 360 creates an output response frame as shown in FIG. 3 and sends it to the input/output processing device. The transfer ends when the frame creation circuit 360 receives a transfer end instruction from the DBM 310 or the comparison data creation circuit 330 via the transfer end control circuit 350, and then END2=1 in FIG. The transfer is terminated by ERR2=O. Further, when the data comparison circuit 320 compares the input data with the data and discovers a data mismatch, the transfer end control circuit 350. E in FIG. 3 through the frame creation circuit 360.
ND2-1. Data mismatch is reported to the input/output processing device 400 by ERR2=1. Input/output processing device 400
reports the report received from the channel device 500 to the diagnostic control processor, and the diagnostic control processor causes the console output device 600 to display normal completion or data match.

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

上述した入出力処理装置より送られて来るデータをチャ
ネル装置で検査し、チャネル装置が検査結果の応答を入
出力処理装置に返すことによってチャネル装置の診断を
行なうという従来のチャネル診断方式はチャネル装置に
専用の回路を内蔵するため、制御が複雑になりハードウ
ェア量が増加してしまうという欠点がある。
The conventional channel diagnosis method is to diagnose the channel device by inspecting the data sent from the above-mentioned input/output processing device using the channel device, and the channel device returning a response with the inspection result to the input/output processing device. Since a dedicated circuit is built in, the disadvantage is that control becomes complicated and the amount of hardware increases.

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

本発明のチャネル装置診断方式は、入出力処理装置とデ
バイス制御装置との間に接続され、マイクロプログラム
によって制御され前記入出力装置よりのコマンドにより
診断モードに設定されたチャネル装置におけるチャネル
診断方式において、前記入出力処理装置より送られて来
たデータを蓄積する蓄積手段と、前記蓄積されたデータ
とあらかじめ取り決められた値とを比較する比較手段と
、前記比較手段による比較結果を前記入出力処理装置へ
返送する返送手段とを有することを特徴とする。
The channel device diagnostic method of the present invention is a channel diagnostic method for a channel device connected between an input/output processing device and a device control device, controlled by a microprogram, and set to a diagnostic mode by a command from the input/output device. , an accumulation means for accumulating data sent from the input/output processing device; a comparison means for comparing the accumulated data with a predetermined value; and a comparison result by the comparison means for the input/output processing. The device is characterized in that it has a return means for returning it to the device.

〔実施例〕〔Example〕

第1図は本発明の1実施例を示すブロック構成図である
。このデータ転送装置は入出力装置700とチャネル装
置800からなり、チャネル装置800は入力フレーム
バッファ(以下DBM)810、セレクタ820、入出
力フレームレジスタ(NFR)830、マイクロプログ
ラム制御装置840で構成され、フレーム単位で転送を
行なう。尚入出力装置700を含む上位装置の構成は従
来通りとする。
FIG. 1 is a block diagram showing one embodiment of the present invention. This data transfer device consists of an input/output device 700 and a channel device 800, and the channel device 800 consists of an input frame buffer (hereinafter referred to as DBM) 810, a selector 820, an input/output frame register (NFR) 830, and a microprogram control device 840. Transfer is performed in frame units. Note that the configuration of the host device including the input/output device 700 is the same as before.

次に本発明の動作について図面を用いて説明する。Next, the operation of the present invention will be explained using the drawings.

入出力処理装置700よりパス20を用いてマイクロプ
ログラム制御装置840に診断モードを指示し、次に入
出力処理装TIE 700はチャネル装置に第2図に示
すような入力データフレームをバス10を用いて送出す
る。これをチャネル装置が受は取ったらDBM810に
格納し、DBMからNFR830に格納される。そして
マイクロプログラムがNFR830に格納されている入
力データフレームを読み出し、マイクロプログラムはあ
らかじめ取り決められた値と読み出した値との一致をチ
エツクする。一致したならば第3図に示ようなフォーマ
ットの出力応答フレームを作成し、一致しなかったら第
3図のEND、ERRフラグを立てて出力応答フレーム
を作成する。そして作成された出力応答フレームは、セ
レクタ820をマイクロプログラムがパス40に切り替
え、NFRに格納することによって入出力処理装置に対
して送出する。そして一致していた時はマイクロプログ
ラムが再びセレクタ820をパス30側に切り替え次の
入力データフレームを待つが、一致しなかった時はマイ
クロプログラムはただちに転送終了する。
The input/output processor 700 instructs the microprogram controller 840 to enter the diagnostic mode using the path 20, and the input/output processor TIE 700 then sends an input data frame as shown in FIG. 2 to the channel device using the bus 10. and send it. When the channel device receives this, it stores it in the DBM 810, and from the DBM it is stored in the NFR 830. The microprogram then reads the input data frame stored in the NFR 830, and the microprogram checks for a match between the predetermined value and the read value. If they match, an output response frame with the format shown in FIG. 3 is created; if they do not match, the END and ERR flags shown in FIG. 3 are set to create an output response frame. The created output response frame is sent to the input/output processing device by switching the selector 820 to the path 40 by the microprogram and storing it in the NFR. If they match, the microprogram switches the selector 820 to the path 30 side again and waits for the next input data frame, but if they do not match, the microprogram immediately ends the transfer.

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

以上説明したように本発明は、マイクロプログラムによ
って診断の際のデータ転送を制御することによって、ハ
ードウェアに専用の回路を用いずに診断の転送を行うこ
とができる。
As described above, according to the present invention, by controlling the data transfer during diagnosis using a microprogram, it is possible to transfer the diagnosis without using a dedicated circuit in hardware.

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

第1図は本発明のチャネル装置のブロック図、第2図は
入力データフレーム図、第3図は出力応答フレーム図、
第4図は従来のチャネル装置を含むシステム構成図であ
る。 100・・・コンソール入力装置、200・・・診断制
御プロセッサ、300・・・主記憶装置、400゜70
0・・・入出力処理装置、500.800・・・チャネ
ル装置、600・・・コンソール出力装置、310・・
・チャネル装置の入力データフレームバッファ、320
・・・データ比較回路、330・・・比較データ作成回
路、340・・・正常転送バイト数加算回路、350・
・・転送終了制御回路、360・・・出力応答データフ
レーム作成回路、810・・・入力データフレームバッ
ファ、820・・・入出力フレームセレクタ、830・
・・入出力フレームレジスタ、840・・・マイクロプ
ログラム制御装置。
FIG. 1 is a block diagram of the channel device of the present invention, FIG. 2 is an input data frame diagram, and FIG. 3 is an output response frame diagram.
FIG. 4 is a system configuration diagram including a conventional channel device. 100... Console input device, 200... Diagnostic control processor, 300... Main storage device, 400°70
0...I/O processing device, 500.800...Channel device, 600...Console output device, 310...
Channel device input data frame buffer, 320
. . . Data comparison circuit, 330 . . . Comparison data creation circuit, 340 . . . Normally transferred byte number addition circuit, 350.
... Transfer end control circuit, 360... Output response data frame creation circuit, 810... Input data frame buffer, 820... Input/output frame selector, 830...
...I/O frame register, 840...Microprogram control device.

Claims (1)

【特許請求の範囲】[Claims] 入出力処理装置とデバイス制御装置との間に接続され、
マイクロプログラムによって制御され前記入出力装置よ
りのコマンドにより診断モードに設定されたチャネル装
置におけるチャネル診断方式において、前記入出力処理
装置より送られて来たデータを蓄積する蓄積手段と、前
記蓄積されたデータとあらかじめ取り決められた値とを
比較する比較手段と、前記比較手段による比較結果を前
記入出力処理装置へ返送する返送手段とを有することを
特徴とするチャネル装置診断方式。
connected between the input/output processing unit and the device control unit,
In a channel diagnosis method in a channel device controlled by a microprogram and set to a diagnostic mode by a command from the input/output device, there is provided an accumulation means for accumulating data sent from the input/output processing device; 1. A channel device diagnostic method comprising: a comparison means for comparing data with a predetermined value; and a return means for returning a comparison result by the comparison means to the input/output processing device.
JP2119364A 1990-05-09 1990-05-09 Channel device diagnostic system Pending JPH0415851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2119364A JPH0415851A (en) 1990-05-09 1990-05-09 Channel device diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2119364A JPH0415851A (en) 1990-05-09 1990-05-09 Channel device diagnostic system

Publications (1)

Publication Number Publication Date
JPH0415851A true JPH0415851A (en) 1992-01-21

Family

ID=14759670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2119364A Pending JPH0415851A (en) 1990-05-09 1990-05-09 Channel device diagnostic system

Country Status (1)

Country Link
JP (1) JPH0415851A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08326058A (en) * 1995-06-03 1996-12-10 Nisshoku Corp Method of slope vegetation and vegetation base

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08326058A (en) * 1995-06-03 1996-12-10 Nisshoku Corp Method of slope vegetation and vegetation base

Similar Documents

Publication Publication Date Title
JPH07221739A (en) System and method for data processing for enhancement of availability
EP0844566A1 (en) Interface apparatus for adapting data width to system bus width
JPH0415851A (en) Channel device diagnostic system
JP3564310B2 (en) Redundancy device failure information collection method
US5125079A (en) Method for controlling the data transmission of a central unit interfacing control circuit and circuit arrangement for the implementation of the method
JP3650151B2 (en) Data transfer control device
JPH08123502A (en) Switching device for stand-by redundant duplex system
JPS62106561A (en) Processing system for transferring status
JP2001103069A (en) Device and method for atm transmission
JP2612053B2 (en) Degradation method in case of failure
JPH04336650A (en) Channel device
JP3105025B2 (en) Redundant controller
JP3042034B2 (en) Failure handling method
JPH06161769A (en) Software down-loading system of control system
JPH05114035A (en) Response information processing system
JPH01173150A (en) Monitor system for asynchronous signal
JP2000207344A (en) Computer system operation control system
JPH05241866A (en) Firmware device
JPH05227248A (en) Down-load system
JPS60205628A (en) Data transfer system
JPS61243552A (en) Switching system for peripheral controller
JPH0219948A (en) Fault processing system for input/output controller
JPS63187743A (en) Line switching equipment
JPH11110678A (en) Remote observation system
JPS6229345A (en) Line monitor device