JPH0784688A - Device time-out control system - Google Patents

Device time-out control system

Info

Publication number
JPH0784688A
JPH0784688A JP22527193A JP22527193A JPH0784688A JP H0784688 A JPH0784688 A JP H0784688A JP 22527193 A JP22527193 A JP 22527193A JP 22527193 A JP22527193 A JP 22527193A JP H0784688 A JPH0784688 A JP H0784688A
Authority
JP
Japan
Prior art keywords
time
timeout
value
timeout value
control
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
JP22527193A
Other languages
Japanese (ja)
Inventor
Tomoyuki Abe
友行 阿部
Masayuki Tosaka
雅之 登坂
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
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Computer Engineering Co 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, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP22527193A priority Critical patent/JPH0784688A/en
Publication of JPH0784688A publication Critical patent/JPH0784688A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the efficiency of I/O operation between an electronic computer and a device by applying a proper time-out value from the device side to the system side in time-out processing for the I/O operation. CONSTITUTION:A system equipment 100 and a device 200 provided with a time-out value setting control circuit 220, a ground circuit, a microprogram having a time-out value, etc., are mutually connected through a data bus 300, and in both the cases of power supply ON and OFF of the device 200, a time-out value is transmitted from the device 200 to the system equipment 100 through the data bus 300, so that the system 100 executes proper time-out processing for the device 200.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子計算機に関し、特
に、パーソナルコンピュータの汎用インタフェースに接
続するデバイス制御技術に適用して有効な技術に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic computer, and more particularly to a technique effectively applied to a device control technique for connecting to a general-purpose interface of a personal computer.

【0002】[0002]

【従来の技術】たとえば、パーソナルコンピュータなど
の電子計算機においては、システム立ち上げ時に、初期
診断プログラムが基本メモリの空きエリアにデバイスご
とのタイムアウト値を設定している。この方法では、電
子計算機の汎用インタフェースに接続されるデバイスは
多岐にわたるため、そのタイムアウト制御を電子計算機
側において行おうとすると、適当なタイムアウトエラー
処理ができないことがある。
2. Description of the Related Art For example, in an electronic computer such as a personal computer, an initial diagnostic program sets a timeout value for each device in an empty area of a basic memory when the system is started up. In this method, since there are various devices connected to the general-purpose interface of the electronic computer, if the electronic computer side attempts to perform the time-out control, appropriate time-out error processing may not be possible.

【0003】また、適切な値によってタイムアウト制御
を行うためには、電子計算機側においてデバイスに対応
した制御プログラムであるドライバに、そのデバイスに
最適なタイムアウト値を設定する必要があり、その場合
には電子計算機内部の処理が煩雑になってしまう。
Further, in order to perform time-out control with an appropriate value, it is necessary to set an optimum time-out value for the device in a driver which is a control program corresponding to the device on the electronic computer side. The processing inside the electronic computer becomes complicated.

【0004】たとえば、パーソナルコンピュータにデバ
イスであるプリンタが接続された場合には、以下に示す
現象が発生することがある。
For example, when a printer, which is a device, is connected to a personal computer, the following phenomenon may occur.

【0005】すなわち、プリンタがドットインパクトプ
リンタの場合、パーソナルコンピュータは1ライン単位
ごとに印字データの送信を行い、プリンタ側は1ライン
印字ごとに印字完了を知らせるコマンドをパーソナルコ
ンピュータに返信する。
That is, when the printer is a dot impact printer, the personal computer transmits print data for each line unit, and the printer side returns a command notifying the completion of printing for each line printing to the personal computer.

【0006】また、プリンタがページプリンタの場合、
パーソナルコンピュータは複数ページ単位ごとに印字デ
ータの送信を行うことが可能であり、プリンタ側も複数
のページ印字終了時に印字完了を知らせるコマンドを返
信する。
If the printer is a page printer,
The personal computer can transmit print data in units of a plurality of pages, and the printer side also returns a command to notify the completion of printing when printing of a plurality of pages is completed.

【0007】ところで、パーソナルコンピュータのドラ
イバでは、印字データ送信後、ある一定時間印字完了コ
マンドの応答を監視し、印字完了コマンドの返信がない
場合には、タイムアウトエラー処理を行う。たとえば、
印字完了コマンドの監視時間が10秒の場合、ドットイ
ンパクトプリンタでは1ライン印字には十分な時間であ
り適切と言えるが、しかしページプリンタでは複数のペ
ージの印刷には10秒では短い場合がある。この場合に
は、印刷途中においてタイムアウトとなり印刷が中断さ
れることがある。
By the way, the driver of the personal computer monitors the response of the print completion command for a certain period of time after the print data is transmitted, and if there is no reply of the print completion command, performs a timeout error process. For example,
When the monitoring time of the print completion command is 10 seconds, it can be said that the dot impact printer has sufficient time for 1-line printing, but it can be said that 10 seconds is short for printing a plurality of pages in the page printer. In this case, printing may be interrupted due to a timeout during printing.

【0008】また、監視時間を3分にした場合には、ド
ットインパクトプリンタでは本当に障害が発生した場合
に、エラー処理に時間がかかる。
Further, when the monitoring time is set to 3 minutes, it takes a long time for error processing when a failure actually occurs in the dot impact printer.

【0009】従って、適切なタイムアウト値が設定され
ていない場合には、不具合が発生し、また適切なタイム
アウト値を設定するには、デバイス固有のドライバを組
み込むか、手動によりタイムアウト値を設定する必要が
あり、その作業は煩雑である。
Therefore, if an appropriate timeout value is not set, a problem occurs, and in order to set an appropriate timeout value, it is necessary to incorporate a device-specific driver or manually set the timeout value. However, the work is complicated.

【0010】[0010]

【発明が解決しようとしている課題】ところで、前記の
ような従来技術においては、電子計算機の汎用インタフ
ェースに接続されるデバイスは多種類あり、それぞれの
デバイスにおいて、タイムアウト値が異なり、電子計算
機側においてそれらのデバイスのタイムアウト処理が複
雑になるという欠点がある。
By the way, in the prior art as described above, there are many kinds of devices connected to the general-purpose interface of the electronic computer, and each device has a different timeout value. However, there is a disadvantage that the timeout process of the device becomes complicated.

【0011】また、デバイスの種類によりタイムアウト
値が異なり、データの転送が終了していないにもかかわ
らずタイムアウトになってしまい、そのためにデバイス
の不具合が発生するという問題がある。
Further, there is a problem that the timeout value varies depending on the type of device, and the timeout occurs even though the data transfer is not completed, which causes a malfunction of the device.

【0012】そこで、本発明の目的は、汎用インタフェ
ースによって接続されるデバイス固有のタイムアウト値
を、電子計算機がデバイスより取得可能とすることによ
り、電子計算機とデバイスとの入出力動作を効率良く行
うデバイスタイムアウト制御方式を提供することにあ
る。
Therefore, an object of the present invention is to enable a computer to acquire a timeout value peculiar to a device connected by a general-purpose interface from the device, so that the device efficiently performs input / output operations between the computer and the device. It is to provide a timeout control method.

【0013】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述および添付図面から明らかに
なるであろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0014】[0014]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記の通りである。
Among the inventions disclosed in the present application, a brief description will be given to the outline of typical ones.
It is as follows.

【0015】すなわち、請求項1記載のデバイスタイム
アウト制御方式は、汎用インタフェースを備える電子計
算機と、汎用インタフェースと接続するデバイスとを有
し、電子計算機とデバイスとの入出力動作におけるタイ
ムアウト制御を行うデバイスタイムアウト制御方式であ
って、デバイス内にタイムアウト値を有し、タイムアウ
ト値を電子計算機に対し送信するものである。
That is, the device timeout control method according to claim 1 has a computer having a general-purpose interface and a device connected to the general-purpose interface, and performs a timeout control in input / output operation between the computer and the device. This is a timeout control method, which has a timeout value in the device and transmits the timeout value to the electronic computer.

【0016】また、請求項2記載のデバイスタイムアウ
ト制御方式は、デバイス内にタイムアウト値を設定する
タイムアウト値設定手段とデバイスのタイムアウト値を
有するマイクロプログラムとを備え、デバイスが電源オ
フの時は、デバイスは汎用インタフェースのデータ線に
対してデバイスに対応したタイムアウト値をタイムアウ
ト値設定手段により電子計算機へ送信し、またデバイス
が電源オンの時は、マイクロプログラムよりタイムアウ
ト値を電子計算機に送信するものである。
A device timeout control method according to a second aspect of the invention includes a timeout value setting means for setting a timeout value in the device and a microprogram having a timeout value of the device, and when the device is powered off, the device Uses a timeout value setting means to transmit a timeout value corresponding to the device to the data line of the general-purpose interface, and when the device is powered on, the timeout value is transmitted from the microprogram to the computer. .

【0017】[0017]

【作用】前記したデバイスタイムアウト制御方式によれ
ば、デバイス側の電源オフ時は、タイムアウト値設定手
段によって、データ線上に適切なタイムアウト値が出力
され、電子計算機は、そのデバイスが接続される汎用イ
ンタフェースのデータを読み取り、その後の動作ではこ
の値をタイムアウトの最大値として使用できるように基
本メモリの適当な空エリアに設定する。以後、このデバ
イスに対応するドライバは、この値をタイムアウト値の
最大値として使用し、該当デバイスのタイムアウト制御
を行う。
According to the device time-out control method described above, when the power of the device is turned off, the time-out value setting means outputs an appropriate time-out value on the data line, and the electronic computer has a general-purpose interface to which the device is connected. Data is read, and in the subsequent operation, this value is set in an appropriate empty area of the basic memory so that it can be used as the maximum timeout value. After that, the driver corresponding to this device uses this value as the maximum timeout value and controls the timeout of the device.

【0018】一方、デバイスの電源オン時は、デバイス
側のマイクロプログラムが適切なタイムアウト値をデー
タ線上に出力し、上記の場合と同様に電子計算機は、デ
バイスが接続される汎用インタフェースのデータを読み
取り、その後の動作では、この値をタイムアウトの最大
値として使用できるように基本メモリの適当な空きエリ
アに設定する。以後、このデバイスに対応するドライバ
は、この値をタイムアウトの最大値として使用する。
On the other hand, when the power of the device is turned on, the microprogram on the device side outputs an appropriate timeout value on the data line, and the computer reads the data of the general-purpose interface to which the device is connected, as in the above case. , In the subsequent operation, this value is set in an appropriate free area of the basic memory so that it can be used as the maximum value of timeout. After that, the driver corresponding to this device uses this value as the maximum timeout value.

【0019】上記のような方法によって、電子計算機
は、デバイス側からタイムアウト値であるデータを取り
込み、デバイスのタイムアウト制御を行うことができ
る。
By the method as described above, the electronic computer can fetch the data which is the timeout value from the device side and control the timeout of the device.

【0020】[0020]

【実施例】以下、本発明の一実施例を図面を用いて説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0021】図1は本発明の一実施例であるデバイスタ
イムアウト制御方式を示す概略構成図、図2は本実施例
におけるシステム装置とデバイスの間のインタフェース
制御を示す概略説明図である。
FIG. 1 is a schematic configuration diagram showing a device timeout control system according to an embodiment of the present invention, and FIG. 2 is a schematic explanatory diagram showing interface control between a system unit and a device in this embodiment.

【0022】まず、図1により本実施例のデバイスタイ
ムアウト制御方式の構成を説明する。
First, the configuration of the device timeout control system of this embodiment will be described with reference to FIG.

【0023】本実施例のデバイスタイムアウト制御方式
は、電子計算機と、デバイスとの間の入出力操作におけ
るタイムアウト制御を行うデバイスタイムアウト制御方
式であって、電子計算機であるパーソナルコンピュータ
(以下、システム装置と記す)100と、プリンタ装置
などのデバイス200とにより構成されている。
The device time-out control system of this embodiment is a device time-out control system for performing time-out control in input / output operations between an electronic computer and a device, and is a personal computer (hereinafter referred to as a system unit) which is an electronic computer. Note) 100 and a device 200 such as a printer.

【0024】システム装置100は、システム装置イン
タフェース制御部110と、ROM120と、基本メモ
リ130と、マイクロプロセッサ140などを備え、R
OM120内に格納された初期診断プログラムにより初
期診断が行われ、初期診断の結果は、基本メモリ130
に格納される。
The system unit 100 includes a system unit interface controller 110, a ROM 120, a basic memory 130, a microprocessor 140, etc.
Initial diagnosis is performed by the initial diagnosis program stored in the OM 120, and the result of the initial diagnosis is stored in the basic memory 130.
Stored in.

【0025】システム装置インタフェース制御部110
は、図2に示すようにインタフェース制御回路111
と、プルアップ抵抗112などを備え、プルアップ抵抗
112はデータライン301〜308をプルアップし、
インタフェース制御回路111は、制御バス320およ
びデータライン301〜308の制御を行う。また、シ
ステム装置インタフェース制御部110ではグラウンド
線310を提供している。
System device interface controller 110
Is the interface control circuit 111 as shown in FIG.
And a pull-up resistor 112, and the pull-up resistor 112 pulls up the data lines 301 to 308,
The interface control circuit 111 controls the control bus 320 and the data lines 301 to 308. The system device interface controller 110 also provides a ground line 310.

【0026】初期診断プログラムは、デバイス200が
既に電源が入って立ち上がっている場合は、タイムアウ
ト値を要求するコマンドをデバイス200に発行し、デ
バイス200が返信してきた値をタイムアウト値として
設定する。デバイス200側はシステム装置100側に
タイムアウト値を返すコマンドをサポートしている。
When the device 200 has already been powered on and started up, the initial diagnosis program issues a command requesting a timeout value to the device 200, and sets the value returned by the device 200 as the timeout value. The device 200 side supports a command that returns a timeout value to the system device 100 side.

【0027】デバイス200は、デバイスインタフェー
ス制御部210と、タイムアウト値設定制御回路(タイ
ムアウト値設定手段)220と、マイクロプログラムを
格納するROM230と、マイクロプロセッサ240
と、タイムアウト値設定制御回路220内の接地回路
(タイムアウト値設定手段:図2)250と、データバ
ス260と、グラウンド線270などを備え、システム
装置100とのインタフェースをデバイスインタフェー
ス制御部210およびタイムアウト値設定制御回路22
0を介して行う。
The device 200 includes a device interface controller 210, a timeout value setting control circuit (timeout value setting means) 220, a ROM 230 for storing a microprogram, and a microprocessor 240.
2, a ground circuit (timeout value setting means: FIG. 2) 250 in the time-out value setting control circuit 220, a data bus 260, a ground line 270, and the like, and an interface with the system unit 100 for the device interface control unit 210 and time-out. Value setting control circuit 22
Through 0.

【0028】デバイスインタフェース制御部210は、
マイクロプロセッサ240を使用し、ROM230内の
マイクロプログラムにより制御される。
The device interface controller 210 is
It is controlled by a microprogram in ROM 230 using microprocessor 240.

【0029】接地回路250は、図2に示すようにデー
タライン(データ線)301,303,305,307
をグラウンドに接地させるための接地回路であり、デバ
イス200が電源オフの場合はグラウンド接地、電源オ
ンの場合はグラウンド未接地の機能を備えるものであ
る。
The ground circuit 250 includes data lines (data lines) 301, 303, 305, 307 as shown in FIG.
Is a grounding circuit for grounding the device to the ground. The device 200 has a function of grounding ground when the power supply of the device 200 is off and not grounding when the power supply of the device 200 is on.

【0030】システム装置100とデバイス200は、
それぞれデータバス300、グラウンド線310および
制御バス320により接続され、データライン301〜
308よりなるデータバス300と制御バス320の管
理は、システム装置100ではシステム装置インタフェ
ース制御部110によって行われ、デバイス200で
は、デバイスインタフェース制御部210およびタイム
アウト値設定制御回路220によって行われる。
The system unit 100 and the device 200 are
The data lines 3001 to 3013 are connected by a data bus 300, a ground line 310, and a control bus 320, respectively.
The management of the data bus 300 and the control bus 320 constituted by 308 is performed by the system device interface control unit 110 in the system device 100, and by the device interface control unit 210 and the timeout value setting control circuit 220 in the device 200.

【0031】8本のデータライン301〜308は、デ
ータライン308から逆順にデータの20 〜27 ビット
と定義すると、タイムアウト値はデータライン上に秒単
位において出力されるものとし、本実施例では8本のデ
ータラインを使用することにより0〜254秒(00h
〜FEh:hは16進数を示す)の255種類のタイム
アウト値を設定することが可能となる。
The eight data lines 301 to 308, when defined as 2 0-2 7 bits of data in the reverse order from the data line 308, the timeout value is assumed to be output in seconds on the data lines, the embodiment Then, by using 8 data lines, 0 to 254 seconds (00h
~ FEh: h indicates a hexadecimal number), it is possible to set 255 kinds of timeout values.

【0032】また、8本のデータラインが全てハイレベ
ルの場合(FFh)、つまり接地回路250によりグラ
ウンド接地されていない場合には、タイムアウト値設定
制御回路220がないものとみなし、無効データとして
扱い、予めROM230上に格納されているタイムアウ
ト値をシステム装置100のタイムアウト値の要求命令
により返信する。
When all eight data lines are at high level (FFh), that is, when the ground circuit 250 does not ground the ground, it is considered that the timeout value setting control circuit 220 does not exist and is treated as invalid data. The time-out value stored in advance in the ROM 230 is returned by the time-out value request command of the system device 100.

【0033】次に、本実施例の作用について、始めにデ
バイス200の電源がオフの場合について説明する。
Next, the operation of this embodiment will be described first when the device 200 is powered off.

【0034】なお、デバイス200の電源がオフの場合
には、タイムアウト値設定制御回路220において、接
地回路250によりデータの20 ビット、22 ビット、
4ビット、26 ビットがグラウンド接地となりデータ
ライン301〜308はタイムアウト値として85秒
(55h)となっている。
[0034] Incidentally, when the power supply device 200 is off, the time-out value setting control circuit 220, 2 0 bit of the data by the ground circuit 250, 2 2 bits,
The 2 4 bits and 26 bits are grounded and the data lines 301 to 308 have a timeout value of 85 seconds (55 h).

【0035】まず、システム装置100のROM120
内に格納された初期診断プログラムは、システム装置1
00の初期診断時にデータライン301〜308をリー
ドし、そのリード値をシステム装置100の基本メモリ
130に格納する。
First, the ROM 120 of the system unit 100
The initial diagnostic program stored in the system unit 1
The data lines 301 to 308 are read during the initial diagnosis of 00, and the read values are stored in the basic memory 130 of the system device 100.

【0036】そして、初期診断終了後、デバイス200
に対応するシステム装置100のドライバは、この値、
すなわち85秒をタイムアウトの最大値とみなし該当デ
バイス200のタイムアウト制御を行う。
After completion of the initial diagnosis, the device 200
The driver of the system device 100 corresponding to
That is, 85 seconds is regarded as the maximum time-out value, and the time-out control of the corresponding device 200 is performed.

【0037】次に、デバイス200の電源がオンの場合
のタイムアウト制御方式を以下に示す。
Next, the time-out control method when the power of the device 200 is turned on will be described below.

【0038】なお、デバイス200の電源がオンの場合
には、接地回路250によりデータの20 ビット、22
ビット、24 ビット、26 ビットがグラウンド未接地と
なりデータライン301〜308は、全てデバイスイン
タフェース制御部210にて制御可能となっており、マ
イクロプログラム内には85秒があらかじめ設定されて
いる。
It should be noted, when the power supply device 200 is on, 2 0 bit of the data by the ground circuit 250, 2 2
Bit, 2 of 4 bits, the data lines 301 to 308 2 6 bits becomes ground ungrounded are all become controllable by the device interface control section 210, 85 seconds in the microprogram is set in advance.

【0039】次に、デバイス200は、電源オン直後、
またはシステム装置100が制御バス320上の制御信
号の操作、つまりタイムアウト値取得コマンドの発行に
よってタイムアウト値の取得を要求した場合に、タイム
アウト値をデバイス200側のマイクロプログラムによ
り、データライン301〜308上に出力する。
Next, the device 200, immediately after the power is turned on,
Alternatively, when the system unit 100 requests the acquisition of the timeout value by operating the control signal on the control bus 320, that is, issuing the timeout value acquisition command, the timeout value is set on the data lines 301 to 308 by the microprogram on the device 200 side. Output to.

【0040】そして、システム装置100の初期診断プ
ログラムは、システム初期診断時にデータライン301
〜308をリードし、そのリード値をシステム装置10
0の基本メモリ130に格納する。
Then, the initial diagnosis program of the system unit 100 uses the data line 301 during the system initial diagnosis.
~ 308 is read, and the read value is read by the system unit 10
0 in the basic memory 130.

【0041】その後、システム装置100は、制御バス
320上の制御信号を操作しタイムアウト値の取得の完
了をデバイス200に知らせる。デバイス200ではマ
イクロプログラムが制御信号を監視し、システム装置1
00からタイムアウト値取得の完了信号を検知した場合
には、タイムアウト値の出力を停止する。
After that, the system unit 100 operates the control signal on the control bus 320 to notify the device 200 of the completion of the acquisition of the timeout value. In the device 200, the microprogram monitors the control signal, and the system unit 1
When the completion signal of the timeout value acquisition is detected from 00, the output of the timeout value is stopped.

【0042】そして、基本メモリ130上にあるデバイ
ス200に対応するドライバは、システム装置100が
格納した値をタイムアウトの最大値とみなし該当デバイ
ス200の制御を行う。
Then, the driver corresponding to the device 200 on the basic memory 130 regards the value stored in the system unit 100 as the maximum value of the timeout and controls the corresponding device 200.

【0043】従って、本実施例のデバイスタイムアウト
制御方式によれば、タイムアウト値設定制御回路22
0、接地回路250およびマイクロプログラム内にタイ
ムアウト値を備えることにより、デバイス200の電源
オン、オフにかかわらず、デバイス200側からタイム
アウト値をデータバス300によりシステム装置100
に送信し、これによってシステム装置100はデバイス
200に対して適切なタイムアウト処理を行うことがで
きる。
Therefore, according to the device timeout control method of this embodiment, the timeout value setting control circuit 22
0, the ground circuit 250, and the time-out value in the microprogram, the time-out value is supplied from the device 200 side via the data bus 300 regardless of whether the power supply of the device 200 is on or off.
And the system device 100 can perform an appropriate time-out process for the device 200.

【0044】以上、本発明者によってなされた発明を実
施例に基づき具体的に説明したが、本発明は前記実施例
に限定されるものではなく、その要旨を逸脱しない範囲
において、種々変更可能であることは言うまでもない。
Although the invention made by the present inventor has been specifically described based on the embodiments, the invention is not limited to the embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say.

【0045】たとえば、前記実施例のシステム装置につ
いては、パーソナルコンピュータである場合について説
明したが、本発明は前記実施例に限定されるものではな
く、ワークステーションなどについて広く適用可能であ
る。
For example, although the system apparatus of the above-described embodiment has been described as a personal computer, the present invention is not limited to the above-described embodiment, but is widely applicable to workstations and the like.

【0046】また、デバイスについては、プリンタ装置
である場合について説明したが、本発明は前記実施例に
限定されるものでなく、フロッピーディスクドライブ装
置、磁気ディスク装置などについても広く適用可能であ
る。
Further, although the device has been described as a printer device, the present invention is not limited to the above-mentioned embodiment, and can be widely applied to a floppy disk drive device, a magnetic disk device and the like.

【0047】さらに、タイムアウト値については、85
秒である場合について説明したが、この値はデバイスの
種類に応じて変更し、デバイスの接地回路およびROM
内のマイクロプログラムを変えることにより適切な値を
設定することができる。
Further, regarding the timeout value, 85
Although the case of seconds has been described, this value can be changed according to the type of device, and the device ground circuit and ROM
An appropriate value can be set by changing the microprogram in.

【0048】[0048]

【発明の効果】本願において、開示される発明のうち、
代表的なものによって得られる効果を簡単に説明すれ
ば、下記の通りである。
Among the inventions disclosed in the present application,
The effects obtained by the representative ones are briefly described as follows.

【0049】すなわち、本発明によれば、デバイスを電
子計算機に接続するだけで、自動的に適切なタイムアウ
ト値を電子計算機に設定することができ、これにより電
子計算機はデバイスとの入出力動作において、デバイス
の種類に関係なく適切なタイムアウト時のエラー処理を
行うことができる。
That is, according to the present invention, an appropriate time-out value can be automatically set in the electronic computer only by connecting the device to the electronic computer, which allows the electronic computer to perform input / output operations with the device. , Appropriate error handling at timeout regardless of device type can be performed.

【0050】この結果、電子計算機は、デバイスのタイ
ムアウト処理を行う場合に、それぞれのデバイスの状態
を間違えてデバイス障害とすることなく、デバイスとの
入出力動作を効率良く行うことができる。
As a result, the electronic computer can efficiently perform the input / output operation with the device without making a mistake in the state of each device and causing a device failure when performing the device timeout process.

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

【図1】本発明の一実施例を示すデバイス制御方式を示
す概略構成図である。
FIG. 1 is a schematic configuration diagram showing a device control system showing an embodiment of the present invention.

【図2】本実施例におけるシステム装置とデバイスの間
のインタフェース制御を示す概略説明図である。
FIG. 2 is a schematic explanatory diagram showing interface control between a system device and a device according to the present embodiment.

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

100 システム装置 110 システム装置インタフェース制御部 111 インタフェース制御回路 112 プルアップ抵抗 120 ROM 130 基本メモリ 140 マイクロプロセッサ 200 デバイス 210 デバイスインタフェース制御部 220 タイムアウト値設定制御回路(タイムアウト値
設定手段) 230 ROM 240 マイクロプロセッサ 250 接地回路(タイムアウト値設定手段) 260 データバス 270 グラウンド線 300 データバス 301〜308 データライン(データ線) 310 グラウンド線 320 制御バス
100 system device 110 system device interface control unit 111 interface control circuit 112 pull-up resistor 120 ROM 130 basic memory 140 microprocessor 200 device 210 device interface control unit 220 timeout value setting control circuit (timeout value setting means) 230 ROM 240 microprocessor 250 Ground circuit (timeout value setting means) 260 data bus 270 ground line 300 data bus 301 to 308 data line (data line) 310 ground line 320 control bus

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 汎用インタフェースを備える電子計算機
と、該汎用インタフェースと接続するデバイスとを有
し、該電子計算機と該デバイスとの入出力動作における
タイムアウト制御を行うデバイスタイムアウト制御方式
であって、前記デバイス内にタイムアウト値を有し、該
タイムアウト値を前記電子計算機に対して送信すること
を特徴とするデバイスタイムアウト制御方式。
1. A device time-out control method, comprising: a computer having a general-purpose interface; and a device connected to the general-purpose interface, wherein the device time-out control method performs time-out control in input / output operations between the computer and the device. A device timeout control method, wherein a device has a timeout value and the timeout value is transmitted to the electronic computer.
【請求項2】 前記デバイス内にタイムアウト値を設定
するタイムアウト値設定手段と、該デバイスのタイムア
ウト値を有するマイクロプログラムとを備え、該デバイ
スが電源オフの時は、該デバイスは前記汎用インタフェ
ースのデータ線に対して該デバイスに対応したタイムア
ウト値を前記タイムアウト値設定手段により前記電子計
算機へ送信し、また該デバイスが電源オンの時は、前記
マイクロプログラムよりタイムアウト値を該電子計算機
に送信することを特徴とする請求項1記載のデバイスタ
イムアウト制御方式。
2. A time-out value setting means for setting a time-out value in the device, and a microprogram having a time-out value of the device. When the device is powered off, the device is provided with data of the general-purpose interface. A timeout value corresponding to the device for the line is transmitted to the electronic computer by the timeout value setting means, and when the device is powered on, the timeout value is transmitted to the electronic computer from the microprogram. The device timeout control method according to claim 1, wherein
JP22527193A 1993-09-10 1993-09-10 Device time-out control system Pending JPH0784688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22527193A JPH0784688A (en) 1993-09-10 1993-09-10 Device time-out control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22527193A JPH0784688A (en) 1993-09-10 1993-09-10 Device time-out control system

Publications (1)

Publication Number Publication Date
JPH0784688A true JPH0784688A (en) 1995-03-31

Family

ID=16826714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22527193A Pending JPH0784688A (en) 1993-09-10 1993-09-10 Device time-out control system

Country Status (1)

Country Link
JP (1) JPH0784688A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006081352A (en) * 2004-09-10 2006-03-23 Ricoh Co Ltd Power supply controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006081352A (en) * 2004-09-10 2006-03-23 Ricoh Co Ltd Power supply controller
JP4507777B2 (en) * 2004-09-10 2010-07-21 株式会社リコー Power control device

Similar Documents

Publication Publication Date Title
US5802269A (en) Method and apparatus for power management of distributed direct memory access (DDMA) devices
EP0429780B1 (en) Computer system capable of connecting an expansion unit
DE19900331A9 (en) Universal data bus endpoint module
EP0458625B1 (en) Data transfer controlling device
JPH0784688A (en) Device time-out control system
JP3478519B2 (en) Printer device
KR100216030B1 (en) Printer control method using universal serial bus
JP3182789B2 (en) Printer control device, printer and control method therefor
JP2716385B2 (en) DMA transfer data guarantee method
JP2544820B2 (en) Label printer
JPH08278915A (en) Memory controller
US20030095565A1 (en) Serial communication apparatus
JPH01204768A (en) Printer
JPH05127758A (en) Ic and its temperature alarm control method
JPH0652128A (en) Control method for equipment having plural processors
JPH01159262A (en) Printer
JP3358199B2 (en) I / O device status detection method
JP3508053B2 (en) Printer power control
JP3043042B2 (en) Thermal printer and print processing method thereof
JP2002055741A (en) Power source managing device
JPH071796A (en) Recorder
JPH0453781A (en) Initialization system of printer
JP2696003B2 (en) Printer address registration method
JP3246962B2 (en) Equipment with Centronics interface
JPS63271629A (en) Recorder