JPS6028018B2 - Input/output control method - Google Patents

Input/output control method

Info

Publication number
JPS6028018B2
JPS6028018B2 JP55170541A JP17054180A JPS6028018B2 JP S6028018 B2 JPS6028018 B2 JP S6028018B2 JP 55170541 A JP55170541 A JP 55170541A JP 17054180 A JP17054180 A JP 17054180A JP S6028018 B2 JPS6028018 B2 JP S6028018B2
Authority
JP
Japan
Prior art keywords
input
output control
channel
output
ready
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
Application number
JP55170541A
Other languages
Japanese (ja)
Other versions
JPS5794822A (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.)
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone 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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP55170541A priority Critical patent/JPS6028018B2/en
Publication of JPS5794822A publication Critical patent/JPS5794822A/en
Publication of JPS6028018B2 publication Critical patent/JPS6028018B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices

Description

【発明の詳細な説明】 本発明は、入出力装置がNOTREADYからREAD
Y状態に切換ったことを中央処理装置側のソフトへ常に
正しく通知できるようにした入出力制御方式に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides an input/output device that changes from NOTREADY to READ.
This invention relates to an input/output control method that can always correctly notify software on the central processing unit side that the state has been switched to the Y state.

第1図は入出力システムの概要を示すものであって、1
は中央処理装置、2はチャネル、3は入出力制御装置、
4は入出力装置をそれぞれ示している。
Figure 1 shows an overview of the input/output system.
is the central processing unit, 2 is the channel, 3 is the input/output control unit,
4 indicates input/output devices, respectively.

チャネル2がコマンドを入出力制御装置3に送ったとき
、該当する入出力装置4がNOTREADY状態である
と、入出力制御装置3はユニット・チェックをチャネル
2に送出する。ユニット・チェックが報告されると、中
央処理装置側のソフトはセンス・コマンドを発行し、チ
ャネル2はこのセンス・コマンドを入出力制御装置3に
送出する。入出力制御装置3はセンス・コマンドを受取
ると、ステータスをチャネル2に返送するが、入出力装
置力州OTREADYの場合には、介入要求ビットがオ
ンとなっている。中央処理装置側のソフトは、介入要求
ビットがオンであるステータスを受取ると、適当なメッ
セージをディスプレイ上に表示する等の手段により操作
員に介入要求の存在することを通知する。オペレータが
該当する入出力装置の状態をNOTREADY状態から
READY状態に変化させると、入出力制御装置3がデ
バイス・エンドをチャネル2に送り、これによって中央
処理装置側のソフトは該当する入出力装置がREADY
状態になったことを認識する。ところが、センス・コマ
ンドの発行以前にNOTREADY状態からREADY
状態への切換えに基づくデバイス・エンドの報告がなさ
れてしまうと、中央処理装置のソフトの作りによっては
上記のような非同期のデバイス・エンドを拾ててしまう
場合も有るので、その後のセンス・コマンドの発行によ
り中央処理装置側のソフトが介入要求を知ると、NOT
READY状態からREADY状態への切換えに基づく
デバイス・エンド待ちとなり、ハンゲしてしまうケース
がある。
When channel 2 sends a command to input/output controller 3, if the corresponding input/output device 4 is in the NOTREADY state, input/output controller 3 sends a unit check to channel 2. When a unit check is reported, the software on the central processing unit side issues a sense command, and channel 2 sends this sense command to input/output control unit 3. When the input/output control device 3 receives the sense command, it returns the status to the channel 2, and in the case of the input/output device power state OTREADY, the intervention request bit is on. When the software on the central processing unit side receives the status that the intervention request bit is on, it notifies the operator of the existence of the intervention request by displaying an appropriate message on the display or the like. When the operator changes the state of the corresponding input/output device from the NOTREADY state to the READY state, the input/output control device 3 sends the device end to channel 2, which causes the software on the central processing unit side to change the state of the corresponding input/output device. READY
Recognize the situation. However, before issuing the sense command, the state changes from NOTREADY to READY.
Once a device end is reported based on a state change, depending on the software of the central processing unit, it may be possible to pick up an asynchronous device end like the one above, so subsequent sense commands When the software on the central processing unit side learns of the intervention request by issuing the
There are cases where the device ends up waiting for switching from the READY state to the READY state, resulting in a hang.

本発明は、上記の考察に基づくものであって、入出力装
置側からのユニット・チェックの報告と中央処理装置側
からのセンス・コマンド発行との間において入出力装置
がNOTREADYからREADY状態に切換った場合
においても、入出力装置がREADY状態になったこと
を中央処理装置側のソトに正確に通知できるようになっ
た入出力制御方式を提供することを目的としている。
The present invention is based on the above consideration, and the present invention is based on the above consideration, and is based on the fact that the input/output device switches from NOTREADY to READY state between the unit check report from the input/output device side and the issuance of a sense command from the central processing unit side. It is an object of the present invention to provide an input/output control method that can accurately notify the software on the central processing unit side that the input/output device has entered the READY state even when the input/output device is in the READY state.

そしてそのため、本発明の入出力制御方式は、中央処理
装置と、チャネルと、入出力制御装置と、入出力装置と
を備え、且つ上記入出力制御装置は入出力装置がNOT
READYであるときにコマンドを受取るとユニット・
チェックを上記チャネルに返送し、入出力装置がNOT
READYであるときにセンス・コマンドを受取ると介
入要求を上記チャネルに返送するように構成されている
入出力制御方式において、ユニット・チェックをチャネ
ルに送ったことを条件としてセットされると共にセンス
・コマンドを受信したことを条件としてリセットされる
フリップ・フロツプと、入出力装置がNOTREADY
からREADYに切換っていること及び上記フリツプ・
フoップがリセットされていることを条件としてデバイ
ス・エンドの報告を行うデバイス・エンド報告手段とを
上記入出力制御装置に設けたことを特徴とするものであ
る。以下本発明を図面を参照しつつ説明する。第2図は
本発明の入出力制御方式の1実施例の動作を説明するタ
イムチャート、第3図は本発明の要部の1実施例のブロ
ック図である。
Therefore, the input/output control method of the present invention includes a central processing unit, a channel, an input/output control device, and an input/output device, and the input/output control device has an input/output device that is NOT
If a command is received while the unit is READY,
Sends the check back to the above channel and indicates that the input/output device is NOT
In an input/output control system that is configured to send an intervention request back to the channel when a sense command is received when the channel is READY, it is set on the condition that a unit check is sent to the channel and the sense command is sent. The flip-flop is reset on the condition that the input/output device is NOTREADY.
to READY and that the above flip
The present invention is characterized in that the input/output control device is provided with device end reporting means for reporting the device end on the condition that the flop has been reset. The present invention will be explained below with reference to the drawings. FIG. 2 is a time chart illustrating the operation of one embodiment of the input/output control system of the present invention, and FIG. 3 is a block diagram of one embodiment of the main part of the present invention.

第2図において、CMDはコマンド、UCKはユニット
・チェック、SNSはセンス・コマンド、iRQは介入
要求、RQiはリクエスト・ィン、NOT一RDYはN
〇T READY、R〇YはREADY、SUCKはセ
ンド・ユニット・チェックをそれぞれ示している。
In Figure 2, CMD is a command, UCK is a unit check, SNS is a sense command, iRQ is an intervention request, RQi is a request in, NOT-RDY is N
〇T READY, R〇Y indicate READY, and SUCK indicates send unit check, respectively.

入出力装置がNOTREADYであると、入出力制御装
置に存在するセンス・レジスタの介入要求ビットがオン
となっている。中央処理装置側からコマンドが送られて
来ると、介入要求ビットがオンであるので、入出力制御
装置はユニット・チェックをチャネルに返送し、これと
同時にSUCKをオンとする。ユニット・チェックを返
送した後において、入出力装置の状態がNOTREAD
YからREADY状態に切換えられても、SUCKがオ
ンであるので、デバイス・エンドはチャネル側へ送られ
ない。中央処理装置側のソフトはユニット・チェックが
送られて釆たことを認識するセンス・コマンドを発行し
、チャネルはこのセンス・コマンドを入出力制御装置へ
送出する。センス・コマンドを受信すると、入出力制御
装置は介入要求ビットがオンであるステータスをチャネ
ルに返送し、これと同時にSUCKをオフとする。RE
ADY状態の下でSUCKがオフすると、インタフェー
ス信号RQiがオンとされデバイス・エンドを報告する
シーケンスが開始される。第3図は本発明の要部の1実
施例のブロック図である。
When the I/O device is NOTREADY, the intervention request bit in the sense register present in the I/O control device is on. When a command is sent from the central processing unit, since the intervention request bit is on, the input/output control unit returns a unit check to the channel and simultaneously turns on SUCK. After returning the unit check, the state of the input/output device is NOTREAD.
Even if the state is switched from Y to READY, the device end is not sent to the channel side because SUCK is on. The software on the central processing unit issues a sense command to recognize that a unit check has been sent and completed, and the channel sends this sense command to the input/output controller. Upon receiving the sense command, the I/O controller sends back a status with the intervention request bit on to the channel and simultaneously turns SUCK off. R.E.
When SUCK is turned off under the ADY state, interface signal RQi is turned on and a device end reporting sequence begins. FIG. 3 is a block diagram of one embodiment of the main part of the present invention.

第3図の回路は入出力制御装置内に存在するものである
。第3図において、5ないし7はANDゲート、8はO
Rゲート、9と1 0はフリツプ・フロツプ、1 1は
ドライバ、STiはステ−夕・イン、SVOはサービス
・アウトをそれぞれ示している。フリツプ・フロツプ9
は、インタフェース信号がオン、インタフェース信号S
VOがオン、ユニット・チェックのチャネルへ送ったこ
とおよび介入要求がオンであることのすべての条件が成
立したときにセットされ、センス・コマンドを受信した
こと、インタフェース信号SVjがオンであること、イ
ンタフェース信号SVOがオンであることおよび介入要
求ビットがオンであることのすべての条件が成立したと
きにリセットされる。フリツプ・フロツプ9がセットさ
れると、十SUCKがオンとなり、フリツプ・フロツプ
9がリセツトされると、一SUCKがオンとされる。フ
リップ・フロップ10のセット条件は、一SUCKがオ
ンであり且つ入出力装置の状態がNOTREADYから
READY状態に切換ったことである。
The circuit shown in FIG. 3 exists within the input/output control device. In Figure 3, 5 to 7 are AND gates, and 8 is an O gate.
R gate, 9 and 10 are flip-flops, 11 is a driver, STi is a stay-in, and SVO is a service-out. flip flop 9
, the interface signal is on, the interface signal S
It is set when all the following conditions are met: VO is on, sent to the unit check channel, and intervention request is on, a sense command is received, and interface signal SVj is on. It is reset when all the conditions that the interface signal SVO is on and the intervention request bit is on are met. When flip-flop 9 is set, one SUCK is turned on, and when flip-flop 9 is reset, one SUCK is turned on. The conditions for setting flip-flop 10 are that one SUCK is on and the state of the input/output device has switched from NOTREADY to READY state.

フリツプ・フロツプ10がセットされると、十RQiが
オンとされ、このRQiがドライバ1 1を介してチャ
ネルへ送られる。以上の説明から明らかなように、本発
明によれば、介入要求に基づくユニット・チェックを報
告した場合には、入出力装置がNOTREADYからR
EADY状態への切換に基づくデバイス・エンドの報告
を、センス・コマンドが発行され介入要求を報告した後
まで保留しておくようにしたので、中央処理装置のソフ
トのハングを防止することが出釆る。
When flip-flop 10 is set, RQi is turned on and sent to the channel via driver 11. As is clear from the above description, according to the present invention, when a unit check based on an intervention request is reported, the input/output device changes from NOTREADY to R.
The device end reporting based on a switch to the EADY state is deferred until after the sense command is issued and the intervention request is reported, which helps prevent central processing unit software from hanging. Ru.

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

第1図は入出力システムの概要を示す図、第2図は本発
明の1実施例の動作を説明するタイムチャート、第3図
は本発明の要部の1実施例のブロツク図である。 1・・・・・・中央処理装置、2・・・・・・チャネル
、3・・・・・・入出力制御装置、4・・・・・・入出
力装置、5なし、し7……ANDゲート、8……ORゲ
ート、9と1 0……フリツプ・フロツプ、11……ド
ライバ。 オー凶オ2図 図 W 太
FIG. 1 is a diagram showing an outline of an input/output system, FIG. 2 is a time chart explaining the operation of one embodiment of the present invention, and FIG. 3 is a block diagram of one embodiment of the main part of the present invention. 1... Central processing unit, 2... Channel, 3... Input/output control device, 4... Input/output device, 5 None, and 7... AND gate, 8...OR gate, 9 and 10...flip-flop, 11...driver. O Kyou O 2 Diagram W

Claims (1)

【特許請求の範囲】[Claims] 1 中央処理装置と、チヤネルと、入出力制御装置と、
入出力装置とを備え、且つ上記入出力制御装置は入出力
装置がNOT READYであるときにコマンドを受取
るとユニツト・チエツクを上記チヤネルに返送し、入出
力装置がNOT READYであるときにセンス・コマ
ンドを受取ると介入要求を上記チヤネルに返送するよう
に構成されている入出力制御方式において、ユニツト・
チエツクをチヤネルに送つたことを条件としてセツトさ
れると共にセンス・コマンドを受信したことを条件とし
てリセツトされるフリツプ・フロツプと、入出力装置が
NOT READYからREADYに切換つていること
及び上記フリツプ・フロツプがリセツトされていること
を条件としてデバイス・エンドの報告を行うデバイス・
エンド報告手段とを上記入出力制御装置に設けたことを
特徴とする入出力制御方式。
1 central processing unit, channel, input/output control unit,
and an input/output device, and when the input/output control device receives a command when the input/output device is NOT READY, it returns a unit check to the channel, and when the input/output device is NOT READY, the input/output control device returns the unit check to the channel. In an input/output control scheme configured to send an intervention request back to the above channel upon receiving a command, the unit
A flip-flop that is set on the condition that a check is sent to the channel and reset on the condition that a sense command is received, and that the input/output device is switched from NOT READY to READY; Device end reporting conditional on device being reset.
An input/output control method characterized in that the input/output control device is provided with end reporting means.
JP55170541A 1980-12-03 1980-12-03 Input/output control method Expired JPS6028018B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55170541A JPS6028018B2 (en) 1980-12-03 1980-12-03 Input/output control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55170541A JPS6028018B2 (en) 1980-12-03 1980-12-03 Input/output control method

Publications (2)

Publication Number Publication Date
JPS5794822A JPS5794822A (en) 1982-06-12
JPS6028018B2 true JPS6028018B2 (en) 1985-07-02

Family

ID=15906808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55170541A Expired JPS6028018B2 (en) 1980-12-03 1980-12-03 Input/output control method

Country Status (1)

Country Link
JP (1) JPS6028018B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5998244A (en) * 1982-11-26 1984-06-06 Fujitsu Ltd Printer

Also Published As

Publication number Publication date
JPS5794822A (en) 1982-06-12

Similar Documents

Publication Publication Date Title
GB1098890A (en) Computer peripheral device control
US3582906A (en) High-speed dc interlocked communication system interface
JPS6028018B2 (en) Input/output control method
JP2000293485A (en) Communication interface
US3465302A (en) Buffered teletypewriter device
US3904014A (en) Indicator system for on line printer
JPH02110625A (en) Reading system for sort of printer
JPH05282244A (en) Information processor
JPS5815204U (en) Step sequence controller
US20050012116A1 (en) Method for a first semiconductor device to determine if it is coupled to a second semiconductor device
JPS6359181B2 (en)
JPH0132140Y2 (en)
JPS62190953A (en) Control circuit for communication control unit of communication control equipment
JPS59121519A (en) Clock stop control system of input and output controller
JPH0315867B2 (en)
JPS59118378U (en) Remote monitoring control device
JPS5853648Y2 (en) Paper tape reading control circuit
JPS61277331A (en) Control of operation panel
JPH0693226B2 (en) Interrupt reporting device
JPH036532B2 (en)
JPS59130140U (en) Printer offline operation command device from keyboard
JPH0356501B2 (en)
JPS604086U (en) Remote monitoring control device
JPS60135934U (en) Key switch output reading control device
JPH05134976A (en) Selection response circuit