JPH0277955A - Input/output controller - Google Patents

Input/output controller

Info

Publication number
JPH0277955A
JPH0277955A JP63228752A JP22875288A JPH0277955A JP H0277955 A JPH0277955 A JP H0277955A JP 63228752 A JP63228752 A JP 63228752A JP 22875288 A JP22875288 A JP 22875288A JP H0277955 A JPH0277955 A JP H0277955A
Authority
JP
Japan
Prior art keywords
ready
state
byte
sense
switch
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
JP63228752A
Other languages
Japanese (ja)
Inventor
Seisaku Yano
精作 矢野
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63228752A priority Critical patent/JPH0277955A/en
Publication of JPH0277955A publication Critical patent/JPH0277955A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To attain the report of the sense data with the start of a command at the next execution of a job by turning on an active switch even in a sense byte holding state after the occurrence of a fault. CONSTITUTION:When a READY switch is turned on, a READY state production part 4 reads the state of the READY switch and turns on a READY flag to give an instruction for lighting a READY lamp. If a command is received from a host device 1 under such conditions, a state byte production part 5 and a state byte report part 6 work. Then the channel end and the device end of a state byte are reported as long as the READY flag is kept ON. Hereafter the part 4 turns off the READY flag when a STOP switch is turned on. At the same time, an instruction is produced to turn off the READY lamp. When an error occurs while an input/output controller 2 is kept in a stop state, a sense byte is produced and a sense byte holding flag is turned on.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は入出力制御装置に係り、特に上位装置との入出
力動作終了後の障害回復方法に好適な発明である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input/output control device, and is particularly suitable for a failure recovery method after completion of input/output operations with a host device.

〔従来の技術〕[Conventional technology]

従来の装置は、HITACH−8538−C1ディスク
制御装置の解説書((株)日立製作所昭和59年1月発
行、資料No、8080−2−075)に記載のように
、ユニットチェックに関してはセンスバイトが定常的に
存在している限り何回でも上位装置に報告することが可
能である。
Conventional equipment uses SenseByte for unit checks, as described in the manual for the HITACH-8538-C1 disk controller (published by Hitachi, Ltd., January 1980, document No. 8080-2-075). It is possible to report to the host device any number of times as long as the information is constantly present.

センス情報を持っている状態では、上位装置からのセン
スコマンドが発行されないかぎり、そのセンス情報を保
留することになり、動作可能状□態(以後、READY
状態と称する。)にできなかった・ 〔発明が解決しようとする課題〕 上位装置との入出力動作中の障害はセンスバイトを作成
し、コマンド動作開始時、または終了時に装置異常を報
告していた。これはREADY状態において、動作実行
を行う入出力制御装置については上位システムに障害報
告を行う手段があった。しかしプリンタ制御装置の場合
は下記の問題がある。オペレータの操作により装置を停
止状態にとし、停止状態においてもプリンタ制御装置内
部のバッファ上のデータを用紙上に出力させる、あるい
は用紙をスタッカへ送る等の動作実行する。
In the state where sense information is held, unless a sense command is issued from the higher-level device, that sense information will be withheld and will be in the ready state (hereinafter referred to as READY).
It is called a state. ) [Problem to be solved by the invention] A failure during input/output operation with a host device creates a sense byte and reports a device abnormality at the start or end of a command operation. In the READY state, an input/output control device that executes an operation has a means of reporting a failure to a higher-level system. However, printer control devices have the following problems. The printer is brought to a halt state by an operator's operation, and even in the halt state, operations such as outputting data on a buffer inside the printer control device onto paper or sending paper to a stacker are executed.

このような停止状態における動作実行中に例えば用紙ジ
ャム等により印刷データに損傷を受は再度光ジョブを印
刷させる必要があるとき、装置側から上位装置に対して
障害発生を知らせるには一度装置をREADY状態にし
なければならない。
If the print data is damaged due to a paper jam or the like during operation in such a stopped state and it is necessary to print the optical job again, the device must be turned off once to notify the host device of the occurrence of the failure. Must be in READY state.

ところが従来装置ではREADY状態にするスイッチを
オンすることにより障害をリセットして。
However, in the conventional device, the failure is reset by turning on the switch that puts the device in the READY state.

READY状態にしていたため、そのエラーを上位装置
に報告する手段がなかった。そこで従来装置の中には上
記のことを防ぐためREADY状態スイッチをオンする
ことで上位装置にはN0TREADY  To  RE
ADYのデバイスエンド報告を行い、上位装置からの再
起動を行わせ、そこで保留センスバイトのユニットチェ
ックを報告させるという装置もあった。しかしこの方法
においてもまだ下記問題がある。上記のように入出力動
作実行中に停止状態にしたケースは装置異常を上位装置
に報告できたとしてもジョブの終了後に停止状態にして
用紙をスタッカへ送っているときに用紙ジャム等で印刷
データが損傷したケースにおいては、上位装置からのコ
マンド起動がこないため装置異常のセンスバイトを保留
したままとなり、READY状態スイッチをオンしても
次のジョブ実行が行われない限りREADY状態にでき
ない。そのためオペレータにはスイッチ操作不能か、エ
ラー要因を解除したにもかかわらずエラーが解除されて
いないようにみえる問題があった。
Since it was in the READY state, there was no way to report the error to the higher-level device. Therefore, in some conventional devices, in order to prevent the above, by turning on the READY state switch, the host device is notified of N0TREADY to RE.
There was also a device that reported the device end of ADY, restarted the device from the higher level device, and then reported the unit check of the pending sense byte. However, this method still has the following problems. In the case where the machine is stopped while an input/output operation is being performed as described above, even if the device abnormality can be reported to the higher-level device, the print data may be lost due to a paper jam etc. when the machine is stopped after the job is finished and the paper is being sent to the stacker. In the case where the machine is damaged, the command activation from the host device is not received, so the sense byte of the device abnormality remains pending, and even if the READY state switch is turned on, the READY state cannot be set unless the next job is executed. Therefore, there was a problem in which the operator was unable to operate the switch or the error appeared to have not been cleared even though the cause of the error had been cleared.

本発明の目的は一度READY状態にしてかつ保留され
たセンスバイトをリセットすることなく上位装置に報告
することを可能ならしめることにある。
An object of the present invention is to make it possible to report the suspended sense byte to the host device without resetting it once it is in the READY state.

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

上記目的は、READY状態にするスイッチをオンする
ことにより、READY状態にする手段と上位装置から
の新たな起動に対してはユニットチェックの状態バイト
を作成、報告する手段を設けることで達成される。
The above purpose is achieved by providing a means for setting the READY state by turning on a switch for setting the READY state, and a means for creating and reporting a unit check status byte for new activation from the host device. .

〔作用〕[Effect]

本発明による入出力制御装置はセンスバイト保留中にお
いても、READY状態にする手段を使ってREADY
状態にする。一方、上位装置からの新たなコマンド起動
に対しては保留センスデータのユニットチェックを状態
バイト作成、報告する手段で報告する。
The input/output control device according to the present invention uses a means to enter the READY state even when a sense byte is pending.
state. On the other hand, in response to a new command activation from a host device, a unit check of pending sense data is reported by means of creating and reporting a status byte.

以上により、それ以後の上位装置と入出力装置の動作は
一般的な情報処理装置の入出力動作シーケンスで動作す
る。つまり入出力装置はユニットチェックを作成した時
点でN0TREADY状態となり、READY状態にす
るスイッチをオンすることにより非同期なデバイスエン
ド報告を上位装置に報告する。上位装置は再び前記コマ
ンドを発行し、コマンドが実行される。
As described above, the subsequent operations of the host device and the input/output device operate according to the input/output operation sequence of a general information processing device. In other words, the input/output device enters the N0TREADY state when the unit check is created, and by turning on the switch for setting the device to the READY state, reports an asynchronous device end report to the host device. The host device issues the command again, and the command is executed.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図により説明する。上位
装置1、入出力制御装置2で構成し、上記装置間の入出
力動作は情報処理装置の一般的な動作であり省略する。
An embodiment of the present invention will be described below with reference to FIG. It consists of a host device 1 and an input/output control device 2, and the input/output operations between the devices are common operations of information processing devices and will be omitted.

入出力制御装置2はマイクロプログラムを内部に格納し
マイクロプロセッサおよびメモリを持つ。READY状
態作成部4゜状態バイト作成部5.状態バイト報告部6
は上記マイクロプロセッサで動作するマイクロプログラ
ムの処理群である。READY状態操作および表示部3
はREADYXイyチ、5TOPスイツチ。
The input/output control device 2 stores a microprogram therein and has a microprocessor and memory. READY status creation unit 4° status byte creation unit 5. Status byte report section 6
is a processing group of microprograms that run on the above microprocessor. READY state operation and display section 3
is READYX first, 5TOP switch.

READYランプをさす。以下にその動作を示す。Turn on the READY lamp. The operation is shown below.

READYスイッチをオンすることでREADY状態作
成部4がそのスイッチの状態をリードして、READY
フラグをオンにする。そして、READYランプ点灯の
指示を行う。その状態において上位装置1からコマンド
が発行されれば、状態バイト作成部5.状態バイト報告
部6が動作し。
By turning on the READY switch, the READY state generation unit 4 reads the state of the switch and
Turn on flag. Then, an instruction is given to turn on the READY lamp. If a command is issued from the host device 1 in this state, the status byte creation unit 5. The status byte reporting unit 6 operates.

READYフラグがオンならば状態バイトのチャネルエ
ンド、デバイスエンドが報告される。その後、5TOP
スイツチをオンすると、READY状態作成部4でRE
ADYフラグをオフとする。
If the READY flag is on, the channel end and device end of the status byte are reported. After that, 5TOP
When the switch is turned on, the READY state creation section 4
Turn off the ADY flag.

そしてREADYランプの消灯を指示する。Then, it instructs the READY lamp to turn off.

入出力制御装置2がストップ状態っまりREADYフラ
グがオフのときに9例えば漢字プリンタ制御装置におい
ては、紙おくり動作を行うが、そこでジャム等のエラー
が発生すると、センスバイトを作成し、センスバイト保
留フラグをオンにする。この動作は入出力制御装置2内
のマイクロプログラム内の他の処理群で実行される。以
上の動作は従来装置の動作と同じである。上記状態にお
いてREAYスイッチをオンすると、センスバイト保留
フラグがオンであっても、READYフラグはオンとす
る。かつREADYランプを点灯する。上位装置1から
のコマンド起動が行われると状態バイト作成部5はセン
スバイト保留フラグオンならば状態バイトにユニットチ
ェックをセットし、状態バイト報告部6が上位装置1に
状態バイトを報告すべく入出力動作を実行し、報告する
When the input/output control device 2 is in a stopped state and the READY flag is off, 9 For example, in a kanji printer control device, a paper feeding operation is performed, but if an error such as a jam occurs, a sense byte is created and the sense byte is Turn on the pending flag. This operation is executed by another processing group within the microprogram within the input/output control device 2. The above operation is the same as that of the conventional device. When the READY switch is turned on in the above state, the READY flag is turned on even if the sense byte pending flag is on. And the READY lamp is lit. When a command is activated from the host device 1, the status byte creation unit 5 sets a unit check in the status byte if the sense byte pending flag is on, and the status byte reporting unit 6 inputs and outputs the status byte to report it to the host device 1. Perform actions and report.

また状態バイト作成部5は同時にREADYフラグをオ
フにしてREADY状態作成部4を介してREADYラ
ンプを消灯する。ユニットチェックを報告すると、上位
装置1からセンスコマンドが発行され、状態バイト作成
部5はセンスバイト保留フラグをオフにして状態バイト
にチャネルエンド、デバイスエンドをセットし、状態バ
イト報告部6から上位装置1に報告される。
At the same time, the status byte generator 5 turns off the READY flag and turns off the READY lamp via the READY status generator 4. When a unit check is reported, a sense command is issued from the higher level device 1, the status byte creation unit 5 turns off the sense byte pending flag, sets the channel end and device end in the status byte, and the status byte reporting unit 6 sends a sense command to the higher level device. 1 will be reported.

以上の動作の流れを第2図に示す。実施例に従った漢字
プリンタ制御装置のオペレーションと上位装置との入出
力動作図を第3図に示す。第3図は従来装置との動作比
較も記載した。
The flow of the above operation is shown in FIG. FIG. 3 shows the operation of the kanji printer control device and the input/output operation with the host device according to the embodiment. FIG. 3 also shows an operational comparison with a conventional device.

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

本発明によれば上位装置との入出力動作以外に障害が発
生してセンスバイト保留中になっていても、動作可能ス
イッチをオンすることで障害要因が解除されていれば動
作可能状態のランプを点灯するため、従来の装置のよう
に、センスバイト保留中に上位装置からコマンドが発行
されるまで。
According to the present invention, even if the sense byte is pending due to a failure other than the input/output operation with the host device, if the cause of the failure is cleared by turning on the operable switch, the lamp remains operational. , until a command is issued from the higher-level device while the sense byte is pending, as in conventional devices.

動作可能状態にしないことによりオペレータから動作不
能にみえることはなくなる。
By not making it possible to operate, it does not appear to be inoperable to the operator.

また、従来装置の中には動作不能状態を防ぐため、セン
スバイト保留中でも、動作可能スイッチをオンすること
で動作可能状態ランプを点灯し。
In addition, in order to prevent an inoperable state in some conventional devices, the ready state lamp is turned on by turning on the ready switch even while the sense bite is pending.

保留中のセンスデータをクリアしてしまい、上位装置に
報告できなかったが、本発明によればそのセンスデータ
は、次のジJブ実行時のコマンド起動で報告してやれる
という効果がある。
The pending sense data was cleared and could not be reported to the host device, but according to the present invention, the sense data can be reported by starting the command at the next execution of the jib.

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

第1図は本発明の一実施例の入出力制御装置と上位装置
の構成図、 第2図は第1図のモジュール群の処理の流れ図、第3図
は上位装置と入出力制御装置の動作を示したもので従来
の動作と本発明との動作を比較図である。 1・・・入出力制御装置、 2・・・上位装置。
Fig. 1 is a configuration diagram of an input/output control device and a host device according to an embodiment of the present invention, Fig. 2 is a flowchart of processing of the module group in Fig. 1, and Fig. 3 is an operation of a host device and an input/output control device. It is a diagram comparing the conventional operation and the operation of the present invention. 1... Input/output control device, 2... Upper device.

Claims (1)

【特許請求の範囲】[Claims] 1、上位装置に状態バイトを作成、報告する手段と動作
可能状態に移行せしめるスイッチと、上記スイッチをオ
ンすることにより動作可能状態にする手段とを備え、セ
ンスバイト保留中は上記スイッチをオンすることにより
、上記動作可能状態にする手段により動作可能状態にし
、一方上位装置からの起動があったとき、上記状態バイ
トを作成、報告する手段により、ユニットチェックを報
告することを特徴とする入出力制御装置。
1. Equipped with a means for creating and reporting a status byte to the host device, a switch for transitioning to an operational state, and a means for turning on the above switch to enable the operation, and turning on the above switch while the sense byte is pending. The input/output device is characterized in that the unit is brought into an operational state by the means for making it into an operational state, and on the other hand, when activated from a host device, the unit check is reported by the means for creating and reporting the status byte. Control device.
JP63228752A 1988-09-14 1988-09-14 Input/output controller Pending JPH0277955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63228752A JPH0277955A (en) 1988-09-14 1988-09-14 Input/output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63228752A JPH0277955A (en) 1988-09-14 1988-09-14 Input/output controller

Publications (1)

Publication Number Publication Date
JPH0277955A true JPH0277955A (en) 1990-03-19

Family

ID=16881270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63228752A Pending JPH0277955A (en) 1988-09-14 1988-09-14 Input/output controller

Country Status (1)

Country Link
JP (1) JPH0277955A (en)

Similar Documents

Publication Publication Date Title
JPH0277955A (en) Input/output controller
JPH06177965A (en) Duplex exchange system
JPS6343771B2 (en)
JPS5941027A (en) Computer system
JPS62125432A (en) Print control system for terminal equipment of 2-job operation system
JPH07121394A (en) Multiplexer
JPH01120652A (en) Setting system for monitor time of input/output device
JPH03206529A (en) Computer system
JP3271698B2 (en) Peripheral device power off system
JPS61267844A (en) Anti-trouble arithmetic controlling unit
JPS6079438A (en) System switching control system of information processing system
JPS63132360A (en) Input and output processing system
JPH05100884A (en) Switching system at the time of fault occurrence in duplex operation
JPH03257638A (en) Multiprocessor control system
JPH06297782A (en) Method for controlling restart of printing in trouble during emulation
JPS61221941A (en) Back up device for programmable controller
JPH02205933A (en) Data processing system
JPS63298516A (en) Automatic resetting keyboard
JPH05108272A (en) File controller device
JPH11277854A (en) Printer controller
JPS6368951A (en) Channel error logging system
JPH0724027B2 (en) Virtual computer system I / O controller
JPS6212537B2 (en)
JPS60201447A (en) Service processor switching circuit
JPH04529A (en) Method for controlling printing controller