JPH03111919A - Interface device - Google Patents
Interface deviceInfo
- Publication number
- JPH03111919A JPH03111919A JP1248073A JP24807389A JPH03111919A JP H03111919 A JPH03111919 A JP H03111919A JP 1248073 A JP1248073 A JP 1248073A JP 24807389 A JP24807389 A JP 24807389A JP H03111919 A JPH03111919 A JP H03111919A
- Authority
- JP
- Japan
- Prior art keywords
- printer
- power
- command
- host computer
- power 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
Links
Landscapes
- Power Sources (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、アメリカ規格協会ANSXによって規定され
るX3.131−1986“SmallCompute
r System Inter−face”通称s
cs rインタフェースに従って相互に接続されるホス
トコンピュータとデバイスコントローラ、デバイスに内
蔵されるインタフェース装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is based on the X3.131-1986 “Small Compute
r System Inter-face” (commonly known as s)
The present invention relates to a host computer, a device controller, and an interface device built into the device that are interconnected according to the CSR interface.
[従来の技術]
従来、SCS Iインタフェースをサポートする相互に
接続されたホストコンピュータとデバイスコントローラ
、デバイス(例λば、プリンタ)におけるデータ転送は
、SC3Iバスの制御用信号による制御コマンド、ステ
ータス、メツセージ等を規定する通信プロトコルによっ
て行われる技術が知られている。[Prior Art] Conventionally, data transfer between interconnected host computers, device controllers, and devices (e.g., printers) that support the SCS I interface is based on control commands, status, and messages using control signals of the SC3I bus. Techniques are known that are implemented using communication protocols that define the following.
また、デバイス装置間で転送される情報は単にプリント
データだけではなく、現在のプリンタの設定モード、エ
ラー情報等も転送される。そしてこのような情報の転送
は、SC3Iバス上に設定された各々のデバイス装置の
電源スィッチが人間の手によって投入され、各々の装置
がレディ状態になってはじめて利用できるものである。Further, the information transferred between the devices is not just print data, but also the current printer setting mode, error information, etc. Such information transfer can only be used when the power switch of each device set on the SC3I bus is manually turned on and each device becomes ready.
また、電源スィッチを切る場合にも、人間の手によって
行われるのが通例となっている。Furthermore, when turning off the power switch, it is customary to turn it off manually.
[発明が解決しようとしている課題]
しかしながら、上記従来例では、電源スィッチが投入さ
れていないデバイス装置(プリンタ)にホストコンピュ
ータがアクセスしようとしても、プリンタ側がレディ状
態でないために、データの転送要求を受は付けず、また
ホストコンピュータ側でも人間がプリンタのスイッチを
投入するまで何回もデータの転送要求を発行し続けなけ
ればならなかった。[Problems to be Solved by the Invention] However, in the above conventional example, even if the host computer attempts to access a device (printer) whose power switch is not turned on, the printer side is not in a ready state, so the data transfer request is not made. There was no response, and the host computer had to keep issuing data transfer requests over and over again until a human turned on the printer.
また、このような不都合を避けるため、常に電源を投入
した状態で利用すると、不必要に電力を消費することに
なり、結局、利用の度毎に電源を投入、切断しなければ
ならず非常に人間の手を煩わせていた。In addition, in order to avoid such inconveniences, if you use the device with the power on all the time, it will consume power unnecessarily, and you will end up having to turn the power on and off every time you use it, which is extremely expensive. It was bothering humans.
本発明は、上記課題を解決するために成されたもので、
装置へ供給する電源の投入、切断を管理することができ
るインタフェース装置を提供することを目的とする。The present invention was made to solve the above problems, and
An object of the present invention is to provide an interface device that can manage turning on and off of power supplied to a device.
[課題を解決するための手段]
上記目的を達成するために、本発明の装置は、以下の構
成から成る。すなわち、
ホスト・コンピュータに接続される端末装置へ供給する
電源の投入又は切断を制御するインタフェース装置であ
って、前記ホストコンピュータと情報の送受信を行う送
受信手段と、該送受信手段により受信した制御情報に従
って前記電源の投入又は切断を行う電源制御手段とを備
える。[Means for Solving the Problems] In order to achieve the above object, an apparatus of the present invention has the following configuration. That is, it is an interface device that controls turning on or off of power supplied to a terminal device connected to a host computer, and includes a transmitting/receiving means for transmitting and receiving information to and from the host computer, and according to control information received by the transmitting/receiving means. and power control means for turning on or turning off the power.
また好ましくは、前記電源制御手段は、所定時間アイド
ル状態を検出すると電源を切断することを特徴とする。Preferably, the power supply control means cuts off the power supply when an idle state is detected for a predetermined period of time.
更に好ましくは、前記電源制御手段は、前記送受信手段
からの制御情報により起動される計時手段を含み、該計
時手段での時刻を比較して前記電源の投入又は切断を行
うことを特徴とする。More preferably, the power supply control means includes a timer activated by control information from the transmitter/receiver, and turns on or off the power by comparing the time measured by the timer.
[作用]
以上の構成において、ホストコンピュータより受信する
制御情報に従って、端末装置へ供給する電源の投入又は
切断を行う。[Operation] In the above configuration, power supplied to the terminal device is turned on or off according to control information received from the host computer.
また、所定時間アイドル状態を検出すると電源を切断す
る。Further, when an idle state is detected for a predetermined period of time, the power is cut off.
更に、ホストコンピュータより受信する制御情報により
起動される計時手段での時刻を比較し、電源の投入又は
切断を行う。Furthermore, the time in the clock means activated by the control information received from the host computer is compared, and the power is turned on or off.
[実施例]
以下、添付図面を参照して本発明に係る好適な一実施例
を詳細に説明する。[Embodiment] Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.
第1図は、実施例でのSC3Iインタフェースをサポー
トする相互に接続されたホストコンピュータとデバイス
コントローラ及びプリンタの構成を示すブロック図であ
る。なお、図では、ホストコンピュータ10とデバイス
コントローラ2及びプリンタ3のハードウェア、ソフト
ウェアをそれぞれいくつかのブロックとして表わしてい
る。FIG. 1 is a block diagram showing the configuration of an interconnected host computer, device controller, and printer that support the SC3I interface in an embodiment. In the figure, the hardware and software of the host computer 10, device controller 2, and printer 3 are each represented as several blocks.
図において、1はプリンタ装置であり、記録部3、デバ
イスコントローラ2、電源供給装置5により構成されて
いる。本説明では、以下scs rインタフェースの処
理に関係する処理部をデバイスコントローラ、5C3I
インタフエースの処理に関係しないプリント処理部を記
録部、また両者を合わせてプリンタ装置と呼称する。In the figure, 1 is a printer device, which is composed of a recording section 3, a device controller 2, and a power supply device 5. In this explanation, the processing unit related to the scsr interface processing will be referred to as the device controller, 5C3I
A print processing section that is not related to interface processing is called a recording section, and both are collectively called a printer device.
記録部3はプリント処理を行うためのプリンタエンジン
等で構成される。電源供給装置5は外部電源4より電源
供給され、デバイスコントローラ2に電源を供給し、そ
のデバイスコントローラ2を介してプリンタ本体3に電
源が供給される。The recording unit 3 includes a printer engine and the like for performing print processing. The power supply device 5 is supplied with power from the external power source 4 and supplies power to the device controller 2, and the power is supplied to the printer main body 3 via the device controller 2.
デバイスコントローラ2は、プリンタ電源スィッチ6.
5CSIインタフエース処理プログラムを格納するメモ
リ7、I10システム8.CPU9により構成される。The device controller 2 includes a printer power switch 6.
5. Memory 7 for storing the CSI interface processing program, I10 system 8. It is composed of a CPU 9.
そして、I10システム8がSC3Iインタフェースケ
ーブル16を介してホストコンピュータ10からのコマ
ンド、メツセージ、データを受信し、SC3Iインタフ
ェース処理プログラムによってSCS Iバスの管理及
び受信したコマンド、メツセージ、データに従って処理
が行われる。ここで、受信したコマンドが、例えば、「
プリンタ電源スイツチ投入コマンド」であれば、プリン
タ電源スィッチ6をソフト的に投入し、記録部3に電源
を供給することによって記録部3を起動させる。The I10 system 8 receives commands, messages, and data from the host computer 10 via the SC3I interface cable 16, and the SC3I interface processing program manages the SCSI bus and processes the received commands, messages, and data. . Here, the received command is e.g.
If the command is "Printer power switch on command", the printer power switch 6 is turned on by software, and power is supplied to the recording section 3, thereby starting the recording section 3.
上述のデバイスコントローラ2の処理は、全てマイクロ
プロセッサ等により構成されるCPU9によって制御が
行われる。All of the processing of the device controller 2 described above is controlled by a CPU 9 composed of a microprocessor or the like.
一方、ホストコンピュータ10は、SCS Iインタフ
ェース処理プログラムを格納するメモリ11、O5(オ
ペレーデイングシステム)12゜BIOS13,5CS
Iインタフエースケーブル16を介しデータの受授を行
うSCS Iアダプタ15、そして、それら全てを制御
するCPU14により構成される。On the other hand, the host computer 10 includes a memory 11 storing an SCS I interface processing program, an O5 (operating system) 12, and a BIOS 13,5CS.
It is composed of an SCS I adapter 15 that receives and receives data via an I interface cable 16, and a CPU 14 that controls all of them.
なお、第1図では、後述するプリンタ電源スィッチ6の
投入、切断に必要な構成のみを例示しているが、ホスト
コンピュータ10には、図示以外の制御装置、あるいは
周辺装置(キーボード等)が接続されていても構わない
。またプリンタ装置10は、記録部3とデバイスコント
ローラ2が一つになった形態を示しているが、各々が独
立していても構わない。Although FIG. 1 only illustrates the configuration necessary for turning on and off the printer power switch 6, which will be described later, the host computer 10 may be connected to other control devices or peripheral devices (such as a keyboard). It doesn't matter if it is done. Further, although the printer device 10 shows a configuration in which the recording section 3 and the device controller 2 are integrated into one, each may be independent.
次に、以上の構成における本実施例での動作について説
明する。Next, the operation of this embodiment with the above configuration will be explained.
まず、プリンタ装置1に電源4を接続し、記録部3への
電源投入、切断を行うために、CPU9によってSC3
Iインタフェース処理プログラムを起動する。そして、
初期化処理が終了すると、ホストコンピュータ10から
のコマンド待ち状態を維持する。この時、プリンタ電源
スィッチ6はデフォルトでオフ状態に設定されている。First, the power supply 4 is connected to the printer device 1, and in order to turn on and cut off the power to the recording section 3, the CPU 9
Start the I-interface processing program. and,
When the initialization process is completed, the host computer 10 remains in a state of waiting for a command. At this time, the printer power switch 6 is set to the off state by default.
一方、ホストコンピュータ10は、CPU 14によっ
てSC3Iインタフェース処理プログラムを起動し、0
812、SC3Iアダプタ15を介してプリンタ装置1
ヘコマンド等を送信する。On the other hand, the host computer 10 starts the SC3I interface processing program by the CPU 14, and
812, printer device 1 via SC3I adapter 15
Send commands, etc. to
次に、本実施例におけるプリンタ装置1の処理手順を第
2図に示すscs rインタフェース処理プログラムの
フローチャートに従って以下に説明する。Next, the processing procedure of the printer device 1 in this embodiment will be explained below according to the flowchart of the scsr interface processing program shown in FIG.
まず、電源供給装置5によって供給された電源により、
CPU9がSCS Iインタフェース処理プログラムの
実行を開始する。First, by the power supplied by the power supply device 5,
The CPU 9 starts executing the SCS I interface processing program.
ステップS1では、CPU9、I10システム8の動作
モード及び各種パラメータのデフォルト値設定等の初期
化処理を行う。次にステップS2では、記録部3に電源
を供給するためのプリンタ電源スィッチ6をオフ状態に
設定する。そして、以上の設定を終了すると、ステップ
S3へ処理を進め、5C8Iバス接続が検出されるまで
待つ。In step S1, initialization processing such as setting the operation mode of the CPU 9 and the I10 system 8 and default values of various parameters is performed. Next, in step S2, the printer power switch 6 for supplying power to the recording section 3 is set to the off state. After completing the above settings, the process advances to step S3 and waits until a 5C8I bus connection is detected.
その後、I10システム8によってSC3Iバスが検出
されたならばステップS4へ処理を進め、ホストコンピ
ュータlOからのコマンド待ち状態に移行する。Thereafter, if the SC3I bus is detected by the I10 system 8, the process advances to step S4 and shifts to a state of waiting for a command from the host computer IO.
次に、ホストコンピュータ10からのコマンドを受信す
ると、ステップS5へ処理を進め、受信コマンドがプリ
ンタ電源スイツチ投入コマンドであるかどうかを判断す
る。ここで、プリンタ電源投入コマンドであったならば
、ステップS7へ処理を進め、プリンタ電源スィッチ6
をオン状態に切換える。そして処理が終了すると、ステ
ップS10へ処理を進め、コマンド実行結果ステータス
を返送する。Next, when a command is received from the host computer 10, the process advances to step S5, and it is determined whether the received command is a command to turn on the printer power switch. If it is a printer power-on command, the process advances to step S7 and the printer power switch 6 is turned on.
Switch to on state. When the process is completed, the process advances to step S10, and the command execution result status is returned.
一方、上述のステップS5において、プリンタ電源投入
コマンドでない場合には、ステップs6へ処理を進め、
受信コマンドがプリンタ電源切断コマンドであるかどう
かを判断する。その結果、プリンタ電源切断コマンドで
あったならば、ステップS8へ処理を進め、プリンタ電
源スィッチ6をオフ状態に切換える。しかし、受信コマ
ンドがどちらでもない場合には、ステップs9へ処理を
進め、そのコマンドに対応する処理を実行する。On the other hand, in step S5 described above, if it is not a printer power-on command, the process advances to step s6,
Determine whether the received command is a printer power-off command. As a result, if it is a printer power-off command, the process advances to step S8, and the printer power switch 6 is turned off. However, if the received command is neither, the process advances to step s9 and the process corresponding to the command is executed.
そして処理が終了すると、ステップSIOへ処理を進め
、コマンドを実行した結果をステータスとしてホストコ
ンピュータ1oへ返送する。When the process is completed, the process advances to step SIO, and the result of executing the command is returned to the host computer 1o as a status.
そして、その処理が終了すると、再びステップS3へ処
理を戻し、SC6Iバス接続状態を確認する処理を繰り
返す。When the process is completed, the process returns to step S3 and the process of checking the SC6I bus connection status is repeated.
また、プリンタ電源スイツチ投入コマンドは、SCS
Iプロトコル上で特別なコマンドとして新たに定義して
もよいし、既存のコマンドセットの中から実際に記録部
3を利用するコマンド、本実施例の場合にはプリントコ
マンドをそれに割り当ててもよい。In addition, the printer power switch on command is
It may be newly defined as a special command on the I protocol, or a command that actually uses the recording section 3, in the case of this embodiment, a print command, may be assigned to it from among the existing command set.
なお、プリンタ電源スイツチ切断コマンドは、スイッチ
を切る要因となるようなコマンドが既存のコマンドセッ
トの中に見当たらないため、特別なコマンドとして新た
に定義するのがよい。Note that the printer power switch disconnection command is preferably newly defined as a special command since no command that causes the switch to be turned off is found in the existing command set.
次に、ホストコンピュータ10での処理手順を第3図に
示すフローチャートに従って以下に説明する。Next, the processing procedure in the host computer 10 will be explained below according to the flowchart shown in FIG.
まず、ステップSllにおいて、5CSIインタフエー
スプログラムを起動し、SC3Iアダプタ及び各種パラ
メータのデフォルト値を設定する初期化処理を実行する
。次に、ステップS12へ処理を進め、ユーザがSC5
Iインタフェースへ指示するのを待つ。ここで言うユー
ザとは、5CSIインタフエースプログラムの上位に位
置するアプリケーションプログラム等を指す。First, in step Sll, the 5CSI interface program is started and initialization processing is executed to set default values for the SC3I adapter and various parameters. Next, the process advances to step S12, and the user selects SC5.
Wait for instructions to the I interface. The user here refers to an application program, etc. located above the 5CSI interface program.
そのユーザからの指示を受けたならばステップS13へ
処理を進め、現在プリンタ装flとの間でSC3Iバス
の接続が設定されているかごうがを調べ、設定されてい
なければステップS14で5C3Iバスの設定を行う。If an instruction is received from the user, the process advances to step S13, where the connection of the SC3I bus with the printer device fl is checked, and if the connection of the 5C3I bus is not set, the process proceeds to step S14. Make settings.
しかし、SC8Iバスが接続されたならばステップS1
5へ処理を進め、テストユニットレディコマンドを発行
し、その実行結果からプリンタ1がレディ状態であるか
どうかを調べる。その結果、プリンタがレディ状態でな
ければステップS16でプリンタ電源を投入する必要が
あるかどうかを判断し、YESであればステップS17
へ処理を進め、プリンタ電源スイツチ投入処理を行う。However, if the SC8I bus is connected, step S1
The process advances to 5, a test unit ready command is issued, and it is checked from the execution result whether the printer 1 is in the ready state. As a result, if the printer is not in the ready state, it is determined in step S16 whether it is necessary to turn on the printer power, and if YES, step S17
Proceed to the process to turn on the printer power switch.
しかし、既にプリンタ1がレディ状態であったり、又は
プリンタ1の電源を投入する必要が無い場合には、ステ
ップ816からステップS18へと処理を進める。However, if the printer 1 is already in the ready state or if there is no need to turn on the power of the printer 1, the process advances from step 816 to step S18.
次に、ステップS18では、ユーザからの指示に従った
コマンド、メツセージ、データの送信を行い、続くステ
ップS19でコマンドを実行した結果であるステータス
を受信する。そして、一連の処理を終えたならば、ステ
ップS20へ処理を進め、プリンタ1の電源を切断する
指示があるかどうかを調べる。その結果、電源を切断す
る指示が含まれていればステップS21へ処理を進め、
プリンタ電源スィッチを切断するコマンドを送出する。Next, in step S18, commands, messages, and data are transmitted in accordance with instructions from the user, and in subsequent step S19, a status that is the result of executing the command is received. After completing the series of processes, the process advances to step S20, and it is checked whether there is an instruction to turn off the power to the printer 1. As a result, if an instruction to turn off the power is included, the process advances to step S21,
Sends a command to turn off the printer power switch.
以上の処理が終了すると、再びステップS12へ処理を
戻し、ユーザからの次の指示を待つ。When the above processing is completed, the process returns to step S12 and waits for the next instruction from the user.
以上説明したように、本実施例によれば、プリンタを利
用する時のみ電源スィッチをオン状態にすることにより
、不必要な電力の消費を軽減することができる。As described above, according to this embodiment, unnecessary power consumption can be reduced by turning on the power switch only when using the printer.
また、プリンタの電源スィッチに関する操作を全てリモ
ートで行えるため、ユーザはプリンタの現在の電源スィ
ッチのオン、オフ状態を気にすることなく処理を行うこ
とができる。Furthermore, since all operations related to the printer's power switch can be performed remotely, the user can perform processing without worrying about the current on/off state of the printer's power switch.
E他の実施例]
次に、本発明に係る他の実施例としてプリンタ電源スィ
ッチ6が投入された後、一定時間ホストコンピュータ1
0からのコマンド受信が検出できなかったならば、デバ
イスコントローラ2で自動的にプリンタ電源スィッチ6
を切断する処理を、第4図に示すフローチャートに従っ
て以下に説明する。E Other Embodiments] Next, as another embodiment according to the present invention, after the printer power switch 6 is turned on, the host computer 1 is turned on for a certain period of time.
If the command reception from 0 is not detected, the device controller 2 automatically turns on the printer power switch 6.
The process of cutting the will be described below with reference to the flowchart shown in FIG.
なお、第4図は、前述した第2図のステップS3におい
て、ホストコンピュータからのSCS Iバス接続待ち
状態に、さらにタイマ機能を加えたSC3Iインタフェ
ース処理プログラムのフローチャートである。そして、
第2図と同じ処理には同一ステップ番号を付し、説明は
省略する。FIG. 4 is a flowchart of the SC3I interface processing program in which a timer function is added to the SCSI bus connection waiting state from the host computer in step S3 of FIG. 2 described above. and,
The same step numbers are given to the same processes as in FIG. 2, and the description thereof will be omitted.
ステップS3において、ホストコンピュータ1oからの
SC3Iバス接続が検出されなかった場合は、ステップ
S30へ処理を進め、プリンタ電源スィッチ6の状態を
チエツクする。そして、現在プリンタ電源スィッチ6が
オン状態であtばステップS31へ処理を進め、コマン
ド受信待ちタイムアウトかどうかを調べる。ここで、タ
イムアウトならばステップS32において、プリンタ電
源スィッチ6の切断処理を行い、ステップS3へ処理を
戻す。しかし、タイムアウトでなければステップS3へ
処理を進める。If the SC3I bus connection from the host computer 1o is not detected in step S3, the process advances to step S30, and the state of the printer power switch 6 is checked. If the printer power switch 6 is currently on, the process advances to step S31, and it is checked whether the command reception wait time has expired. Here, if the timeout occurs, the printer power switch 6 is disconnected in step S32, and the process returns to step S3. However, if the timeout does not occur, the process advances to step S3.
一方、ステップS30において、プリンタ電源スィッチ
6がオフ状態であればそのままステップS3へ処理を進
め、再びSCS Iバス接続を検出しているかどうかを
調べる。これにより、ホストコンピュータ10側がプリ
ンタ電源スイツチ切断コマンドを発行し忘れた場合でも
、プリンタ電源スィッチ6が投入されたままの状態にな
ることがなく、プリンタの消費電力低減に有効である。On the other hand, in step S30, if the printer power switch 6 is in the OFF state, the process directly advances to step S3, and it is checked again whether the SCSI bus connection is detected. Thereby, even if the host computer 10 side forgets to issue the printer power switch disconnection command, the printer power switch 6 will not remain on, which is effective in reducing power consumption of the printer.
また、電源4を投入した後、動作可能な状態になるまで
に時間のかかる記録部3(プリンタ)がデバイスコント
ローラ2に接続されている場合、所定時刻になると、プ
リンタ3の電源スィッチ6を投入、切断するタイマ機能
を持たせ、プリンタ3の利用効率を向上させることも可
能である。In addition, if the recording unit 3 (printer) that takes time to become operational after the power source 4 is turned on is connected to the device controller 2, the power switch 6 of the printer 3 is turned on at a predetermined time. It is also possible to improve the usage efficiency of the printer 3 by providing a timer function for disconnecting the printer 3.
第5図は、前述のホストコンピュータ10からのSCS
Iバス接続待ち状態に、さらにプリンタ電源スイツチ
自動投入、切断タイマ機能を加えたSC3Iインタフェ
ース処理プログラムのフローチャートである。なお、プ
リンタ電源スィッチ6を投入、切断する時刻はプログラ
マブルであり、予め、ホストコンピュータ10からのコ
マンドによって設定を行うものである。FIG. 5 shows the SCS from the host computer 10 mentioned above.
12 is a flowchart of an SC3I interface processing program in which automatic printer power switch on/off timer functions are added to the I bus connection waiting state. Note that the times at which the printer power switch 6 is turned on and off are programmable and are set in advance by commands from the host computer 10.
ステップS36では、プリンタ電源スィッチ6の自動投
入、切断機能が作動中であるかどうかを判断し、作動中
でなければステップS41へ処理を進め、5C3Iバス
接続を待つ。しかし、作動中であればステップS37に
おいて、現在時刻が電源投入時刻かどうかを判断し、一
致している場合には、ステップS38へ処理を進め、電
源投入処理を行う。しかし、一致していない場合には、
ステップS39へ処理を進め、現在時刻と電源切断時刻
が一致しているがどうかを判断し、一致している場合に
は、ステップS40へ処理を進め、電源切断処理を行う
。In step S36, it is determined whether the automatic on/off function of the printer power switch 6 is in operation, and if it is not in operation, the process advances to step S41 and waits for 5C3I bus connection. However, if it is in operation, it is determined in step S37 whether the current time is the power-on time, and if they match, the process advances to step S38 to perform power-on processing. However, if they do not match,
The process advances to step S39, and it is determined whether the current time and the power-off time match. If they match, the process advances to step S40, and power-off processing is performed.
一方、ステップS39において、一致していない場合に
は、ステップS41でSC3Iバスの接続が確認されな
かったならばステップ336へ戻り、確認されたならば
ステップS42へ処理を進め、コマンドを受信する。そ
して、ステップS43でコマンドに従った処理及びコマ
ンドの実行結果であるステータスを返送し、ステップS
41へ処理を戻す。On the other hand, in step S39, if they do not match, if the connection of the SC3I bus is not confirmed in step S41, the process returns to step 336, and if confirmed, the process proceeds to step S42, where the command is received. Then, in step S43, the process according to the command and the status that is the command execution result are returned, and in step S43,
The process returns to step 41.
これにより、比較的ウオームアツプ時間の長いプリンタ
を利用する場合にも、プリンタ電源スイツチ投入コマン
ドを受信した後、プリンタがレディ状態になるまでの時
間に煩わされることなく、ホストコンピュータからプリ
ンタを利用することができる。また、所定時刻になると
プリンタ電源が自動的に切断されるのでプリンタ電源ス
ィッチの切断し忘れの防止にも効果を表わす。As a result, even when using a printer with a relatively long warm-up time, you can use the printer from the host computer without having to worry about the time it takes for the printer to become ready after receiving a command to turn on the printer power switch. be able to. Furthermore, since the printer power is automatically turned off at a predetermined time, it is also effective in preventing forgetting to turn off the printer power switch.
[発明の効果]
以上説明したように、本発明によれば、装置の電源スィ
ッチをホストコンピュータ側で管理し、ホストコンピュ
ータの発行するコマンドに従って電源スィッチを切断す
ることにより、装置全体の消費電力を低減させることが
できる。[Effects of the Invention] As explained above, according to the present invention, the power consumption of the entire device can be reduced by managing the power switch of the device on the host computer side and turning off the power switch according to the command issued by the host computer. can be reduced.
また、装置の電源に関する操作を全てリモートで行える
ために、ユーザは、電源スィッチが現在オン状態かオフ
状態かを気にすることな(、処理を行うことができる。In addition, since all operations related to the power supply of the device can be performed remotely, the user can perform processing without worrying about whether the power switch is currently on or off.
第1図は実施例におけるSC8Iインタフェースをサポ
ートする相互に接続されたホストコンピュータとデバイ
スコントローラ及びプリンタの構成を示すブロック図、
第2図は本実施例でのデバイスコントローラの処理手順
を示すフローチャート、
第3図は本実施例でのホストコンピュータの処理手順を
示すフローチャート、
第4図及び第5図は他の実施例での処理手順を示すフロ
ーチャートである。
図中、1・・・プリンタ装置、2・・・デバイスコント
ローラ、3・・・記録部、4・・・電源、5・・・電源
供給装置、6・・・プリンタ電源スィッチ、7・・・S
CS Iインタフェース処理プログラム、8・・・I1
0システム、9・・・CPU、10・・・ホストコンピ
ュータ、11・・・SC3Iインタフェース処理プログ
ラム、12・・・O3,13・・・BIO3,14・・
・CPU、15・・・SCS Iアダプタ、16・・・
scs rインタフェースケーブルである。
特
許
出
願
人
キャノン株式会社FIG. 1 is a block diagram showing the configuration of an interconnected host computer, device controller, and printer that support the SC8I interface in this embodiment, FIG. 2 is a flowchart showing the processing procedure of the device controller in this embodiment, FIG. 3 is a flowchart showing the processing procedure of the host computer in this embodiment, and FIGS. 4 and 5 are flowcharts showing the processing procedure in other embodiments. In the figure, 1... printer device, 2... device controller, 3... recording unit, 4... power supply, 5... power supply device, 6... printer power switch, 7... S
CS I interface processing program, 8...I1
0 system, 9...CPU, 10...host computer, 11...SC3I interface processing program, 12...O3, 13...BIO3, 14...
・CPU, 15...SCS I adapter, 16...
SCSR interface cable. Patent applicant Canon Co., Ltd.
Claims (3)
する電源の投入又は切断を制御するインタフェース装置
であつて、 前記ホストコンピュータと情報の送受信を行う送受信手
段と、 該送受信手段により受信した制御情報に従つて前記電源
の投入又は切断を行う電源制御手段とを備えることを特
徴とするインタフェース装置。(1) An interface device that controls turning on or off power supplied to a terminal device connected to a host computer, comprising a transmitting/receiving means for transmitting and receiving information to and from the host computer, and a control information received by the transmitting/receiving means. Accordingly, an interface device characterized by comprising a power control means for turning on or cutting off the power.
出すると電源を切断することを特徴とする請求項第1項
に記載のインタフェース装置。(2) The interface device according to claim 1, wherein the power supply control means cuts off the power supply when an idle state is detected for a predetermined period of time.
情報により起動される計時手段を含み、該計時手段での
時刻を比較して前記電源の投入又は切断を行うことを特
徴とする請求項第1項に記載のインタフェース装置。(3) The power supply control means includes a timekeeping means activated by control information from the transmitting/receiving means, and turns on or off the power by comparing the time measured by the timekeeping means. The interface device according to paragraph 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1248073A JPH03111919A (en) | 1989-09-26 | 1989-09-26 | Interface device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1248073A JPH03111919A (en) | 1989-09-26 | 1989-09-26 | Interface device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03111919A true JPH03111919A (en) | 1991-05-13 |
Family
ID=17172805
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1248073A Pending JPH03111919A (en) | 1989-09-26 | 1989-09-26 | Interface device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03111919A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06342329A (en) * | 1993-05-18 | 1994-12-13 | Nec Corp | Peripheral controller |
| JP2008197948A (en) * | 2007-02-14 | 2008-08-28 | Seiko Epson Corp | Information processing apparatus, information processing system, and information processing apparatus control method |
-
1989
- 1989-09-26 JP JP1248073A patent/JPH03111919A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06342329A (en) * | 1993-05-18 | 1994-12-13 | Nec Corp | Peripheral controller |
| JP2008197948A (en) * | 2007-02-14 | 2008-08-28 | Seiko Epson Corp | Information processing apparatus, information processing system, and information processing apparatus control method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100583003C (en) | Control method of host device, device and communication system | |
| US20180234570A1 (en) | Image Forming Apparatus, Image Forming Method, and Reading Medium That Ensure Efficient Use of Weekly Timer | |
| JP6141240B2 (en) | Printing apparatus, storage control apparatus connected to printing apparatus, printing apparatus control method and program | |
| JPH05241622A (en) | Programmable controller | |
| JP5699756B2 (en) | Information processing apparatus and information processing apparatus control method | |
| JPH03111919A (en) | Interface device | |
| US7116432B2 (en) | Power control for a printing unit with a maintenance function | |
| JP3873364B2 (en) | Network system, network terminal device and recording medium | |
| JP2006059088A (en) | Data transfer control system, electronic device and program | |
| US20120047375A1 (en) | Information processing apparatus, method of controlling the same, and storage medium | |
| JP2008271225A (en) | Network sleep control method | |
| KR100216030B1 (en) | Printer control method using universal serial bus | |
| JP2002067449A (en) | Image forming apparatus provided with backup means | |
| JP6415633B2 (en) | Information processing apparatus and control method thereof | |
| JP2004288005A (en) | Printer and its control method | |
| JP7651999B2 (en) | Information processing apparatus and image forming apparatus | |
| JP4215316B2 (en) | Terminal device equipped with a PC card and PC card power supply method | |
| JP3508053B2 (en) | Printer power control | |
| JP2004086344A (en) | Information processing device, network system, network system management method, network system management program, and recording medium | |
| JPH11212681A (en) | Peripheral device and method for reducing power consumption | |
| JP2004153742A (en) | Network equipment and network system | |
| TWI590075B (en) | External electronic device and interface controller and external electronic device control method | |
| JP2005128615A (en) | Information processing apparatus, power saving method for apparatus, power saving program, and recording medium with program recorded thereon | |
| JP2004094494A (en) | Storage medium processing device and control method therefor | |
| JP2003264601A (en) | Communication control unit and image formation system |