JP2895560B2 - Control method of image reading device - Google Patents
Control method of image reading deviceInfo
- Publication number
- JP2895560B2 JP2895560B2 JP2092285A JP9228590A JP2895560B2 JP 2895560 B2 JP2895560 B2 JP 2895560B2 JP 2092285 A JP2092285 A JP 2092285A JP 9228590 A JP9228590 A JP 9228590A JP 2895560 B2 JP2895560 B2 JP 2895560B2
- Authority
- JP
- Japan
- Prior art keywords
- reading
- image
- input
- output interface
- image reading
- 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 - Fee Related
Links
Landscapes
- Image Input (AREA)
- Facsimiles In General (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は画像読取装置の制御方法に関し、例えば入出
力インターフェースを用いた画像読取装置の制御方法に
関するものである。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method of an image reading device, for example, a control method of an image reading device using an input / output interface.
[従来の技術] 1986年米国規格協会(ANSI)で標準化が完了したSCSI
(Small Computer System Interface)は、磁気デイス
ク,磁気テープ,光デイスク,プリンタ,スキヤナなど
の各種周辺機器に共通に運用可能なだけでなく、システ
ム間通信をも可能とする中小型コンピユータシステム向
けの汎用入出力インターフエースである。標準化の進展
にともなつてパソコン,ミニコン,OAシステムなどの各
種システムにSCSIを採用する機運が高まつている。[Prior Art] SCSI standardized by the American National Standards Institute (ANSI) in 1986
(Small Computer System Interface) is a general-purpose computer system that can be used not only for various peripheral devices such as magnetic disks, magnetic tapes, optical disks, printers, and scanners but also for communication between systems. It is an input / output interface. With the progress of standardization, the momentum to adopt SCSI in various systems such as personal computers, minicomputers, and OA systems is increasing.
SCSIバス上には、ホストコンピユータおよび周辺機器
を最大8台まで接続することができる。また、SCSIバス
上には、磁気デイスク,磁気テープ,プリンタ,光デイ
スク,画像読取装置,CD(コンパクトデイスク),ROM
(リード・オンリー・メモリ)などの種々の周辺機器を
同一の制御手段で接続可能である。通常、ホストコンピ
ユータはイニシエータ、周辺機器はターゲツトとそれぞ
れ称され、このイニシエータとターゲツト間の通信がSC
SIにおけるインタフエース動作の基本である。ここでイ
ニシエータとは、SCSIバスの使用権を獲得し、他のSCSI
デバイス(ターゲツト)に対して、なんらかの動作を要
求するSCSIデバイスである。通常のインタフエース動作
では、ホストコンピユータがイニシエータとなる。ター
ゲツトはイニシエータから要求された動作を実行するSC
SIデバイスであり、通常は周辺機器がターゲツトとして
動作する。Up to eight host computers and peripheral devices can be connected to the SCSI bus. On the SCSI bus, there are magnetic disks, magnetic tapes, printers, optical disks, image readers, CDs (compact disks), and ROMs.
Various peripheral devices such as (read only memory) can be connected by the same control means. Usually, the host computer is called an initiator, and the peripheral device is called a target. Communication between the initiator and the target is called an SC.
This is the basis of interface operation in SI. Here, the initiator acquires the right to use the SCSI bus and
A SCSI device that requests the device (target) to do something. In a normal interface operation, the host computer becomes the initiator. The target is the SC that performs the action requested by the initiator.
It is an SI device, and usually peripheral devices operate as targets.
画像読取装置においてもホストコンピユータであるイ
ニシエータに対して、画像データをイニシエータに対し
て出力するターゲツトのみの機能を持たす場合が多い。In many cases, an image reading apparatus also has a function of only a target for outputting image data to an initiator, which is a host computer, to the initiator.
[発明が解決しようとしている課題] しかしながら、上記従来例では、SCSIバス上にプリン
タ,磁気デイスク,プリンタなどが接続されているにも
かかわらず、ホストコンピユータとしてのイニシエータ
のコントロールがないと、画像読取装置からプリンタ、
又は磁気デイスクなどの周辺機器に対して画像データを
出力することができなため、機能的乃至効率的ではない
という欠点があつた。[Problems to be Solved by the Invention] However, in the above-described conventional example, even though a printer, a magnetic disk, a printer, and the like are connected on the SCSI bus, image reading is performed without control of the initiator as a host computer. Device to printer,
Alternatively, it is not possible to output image data to a peripheral device such as a magnetic disk, so that it is not functional or efficient.
また、自装置からの能動的な動作と外部からの指示に
よる受動的な動作を兼ね備えさせる場合には、単純に両
機能を設けるだけでは適切に処理することができず、種
々の問題を生ずることになる。In addition, when both the active operation from the own device and the passive operation according to the instruction from the outside are provided, it is not possible to appropriately perform processing simply by providing both functions, and various problems may occur. become.
本発明は、上述の点に鑑みてなされたものであり、そ
の目的とするところは、画像読取装置の操作部からの能
動的な動作と外部装置からの受動的な動作の両方を実行
でき、かつ、それらの切換及びそれぞれの動作を適切に
行うことのできる画像読取装置の制御方法を提供するこ
とにある。The present invention has been made in view of the above points, and its object is to be able to execute both an active operation from an operation unit of an image reading device and a passive operation from an external device, It is another object of the present invention to provide a control method for an image reading apparatus capable of appropriately performing the switching and the respective operations.
[課題を解決するための手段] 上述した課題を解決し、目的を達成するため、本発明
は、画像を読み取る読取手段と、ホストコンピュータに
接続して通信を行うSCSIバスである入出力インターフェ
ースと、オペレータによる指示を入力するための操作部
とを備えた画像読取装置の制御方法であって、待機中は
前記入出力インターフェースを介してホストコンピュー
タからの指示に基づき前記画像読取装置が受動的に前記
読取手段による読取処理を行い前記入出力インターフェ
ースを介してホストコンピュータに対し前記読取手段か
らの画像データを出力するためのターゲットとして動作
する状態とし、前記操作部からの画像読取指示を検出
し、該検出に応じて前記画像読取装置が能動的に前記読
取手段による読取処理を行うイニシエータとして動作す
る状態に切り換え、前記入出力インターフェースの使用
権を獲得し、該使用権を獲得した後、入出力インターフ
ェースを介して前記読取手段で読み取った画像の画像デ
ータを出力し、イニシエータとしての処理終了後、前記
入出力インターフェースの使用権を解放すると共に再び
ターゲットとして動作する状態に切り換えることを特徴
とする。Means for Solving the Problems In order to solve the above problems and achieve the object, the present invention provides a reading unit for reading an image and an input / output interface which is a SCSI bus connected to a host computer for communication. A method for controlling an image reading apparatus, comprising: an operation unit for inputting an instruction from an operator, wherein the image reading apparatus is passively controlled based on an instruction from a host computer via the input / output interface during standby. Performing a reading process by the reading unit and operating as a target for outputting image data from the reading unit to the host computer via the input / output interface; detecting an image reading instruction from the operation unit; The image reading device is an initiator that actively performs a reading process by the reading unit in response to the detection. Switch to an operating state, acquire the right to use the input / output interface, and after acquiring the right to use, output the image data of the image read by the reading unit via the input / output interface, and end the processing as the initiator. Thereafter, the use right of the input / output interface is released and the state is switched again to the state of operating as a target.
[実施例] 以下、添付図面を参照して、本発明の好適な実施例を
詳細に説明する。Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
第1図は本実施例の画像読取装置(以下に、「スキヤ
ナ」と称す)の構成を示すブロツク図であり、第2図は
本実施例のスキヤナの使用例を示す外観斜視図である。
第1図において、17は原稿を搭載するためのプラテンガ
ラス、14は原稿の反射光を結像する結像レンズ、12は結
像レンズ14により結像した画像を電気信号に変換するイ
メージセンサ(CCD)をそれぞれ示している。103はCCD1
2の出力信号を増幅する増幅器(AMP)を示し、104は増
加されたアナログ画像信号を量子化するアナログ・デジ
タル(A/D)コンバータを示している。105はA/Dコンバ
ータ104からのデジタル出力をセレクトするセレクタを
示し、106はA/Dコンバータ104からのデジタル出力解像
度の切換や多値出力か2値出力かに処理する画像処理回
路を示し、107は外部装置との信号の伝送を行うSCSIイ
ンタフエース回路を示し、108は本スキヤナ全体の動作
を制御するマイクロプロセツサの如きCPU(中央演算処
理装置)を示している。108aは制御プログラムや後述の
第5図に示されるフローチヤートに従つたプログラム等
を格納したROMを示し、108bは各種プログラムのワクエ
リアを示している。ROM108a及びRAM108bはCPU108に内蔵
されている。FIG. 1 is a block diagram showing a configuration of an image reading apparatus (hereinafter, referred to as a "scanner") of the present embodiment, and FIG. 2 is an external perspective view showing an example of use of the scanner of the present embodiment.
In FIG. 1, reference numeral 17 denotes a platen glass for mounting a document, 14 denotes an image forming lens for forming an image of reflected light from the document, and 12 denotes an image sensor (see FIG. CCD). 103 is CCD1
2 shows an amplifier (AMP) for amplifying the output signal, and 104 shows an analog-to-digital (A / D) converter for quantizing the amplified analog image signal. 105 indicates a selector for selecting a digital output from the A / D converter 104, 106 indicates an image processing circuit for switching the digital output resolution from the A / D converter 104, and processing whether to perform multi-value output or binary output, Reference numeral 107 denotes a SCSI interface circuit for transmitting signals to and from an external device, and reference numeral 108 denotes a CPU (Central Processing Unit) such as a microprocessor for controlling the operation of the entire scanner. Reference numeral 108a denotes a ROM storing a control program, a program according to a flowchart shown in FIG. 5 described later, and the like, and reference numeral 108b denotes a work area of various programs. The ROM 108a and the RAM 108b are built in the CPU 108.
101は原稿照明用の蛍光灯を示し、102は蛍光灯101の
動作を制御する蛍光灯制御回路を示している。109は画
像を読取るための読取開始ボタン、110は不図示のキー
ボードを接続するためのKB接続コネクタ、111は不図示
のCRTデイスプレイを接続するためのCRT接続コネクタ、
112は不図示のCRTデイスプレイを制御するCRT制御回
路、113は後述のキーパツト304を接続するためのキーパ
ツト接続コネクタをそれぞれ示している。Reference numeral 101 denotes a fluorescent lamp for document illumination, and reference numeral 102 denotes a fluorescent lamp control circuit that controls the operation of the fluorescent lamp 101. 109 is a read start button for reading an image, 110 is a KB connector for connecting a keyboard (not shown), 111 is a CRT connector for connecting a CRT display (not shown),
Reference numeral 112 denotes a CRT control circuit for controlling a CRT display (not shown), and reference numeral 113 denotes a key pad connector for connecting a key pad 304 described later.
さらに、第2図において、301で示される本実施例の
スキヤナは、右側面301aに、後述のデフオルト値の入力
を行なうためのキーと入力キー情報を表示する表示画面
とを備えたキーパツト304がキーパツト接続コネクタ113
に接続している。このキーパツト304は、本スキヤナ301
を不図示のキーボードや不図示のCRTデイスプレイを接
続したときにイニシエータとして動作させる指示を行な
う機能を有している。Further, in FIG. 2, the scanner 301 according to the present embodiment includes a key pad 304 provided with a key for inputting a default value to be described later and a display screen for displaying input key information on a right side surface 301a. Keypad connector 113
Connected to This keypad 304 is the book scanner 301
Has a function of issuing an instruction to operate as an initiator when a keyboard (not shown) or a CRT display (not shown) is connected.
次に、本実施例のシステムについて説明する。 Next, the system of this embodiment will be described.
第3A図は本実施例によるシステムの一例を示す図であ
る。第3A図において、302はイニシエータとしての外部
装置であるパーソナルコンピユータ、303は外部の出力
装置であるレーザビームプリンタ(LBP)、304は外部の
出力装置であるCRTデイスプレイをそれぞれ示してい
る。305〜307はSCSIバスを示している。FIG. 3A is a diagram showing an example of a system according to the present embodiment. In FIG. 3A, reference numeral 302 denotes a personal computer as an external device as an initiator, 303 denotes a laser beam printer (LBP) as an external output device, and 304 denotes a CRT display as an external output device. Reference numerals 305 to 307 denote SCSI buses.
このシステムによれば、スキヤナ301と外部装置302,3
03,304への画像信号の出力は、上述のSCSIインタフエー
ス回路107を介して行われる。According to this system, the scanner 301 and the external devices 302, 3
Output of the image signal to 03 and 304 is performed via the above-mentioned SCSI interface circuit 107.
第3B図は本実施例によるシステムの一例を示す図であ
る。第3B図には、スキヤナ301のKB接続コネクタ110,CRT
接続コネクタ111にそれぞれバス310,311を介して309の
キーボード,308のCRTデイスプレイが接続されたシステ
ムが示されている。FIG. 3B is a diagram showing an example of the system according to the present embodiment. FIG. 3B shows the KB connector 110, CRT of the scanner 301.
A system in which a keyboard 309 and a CRT display 308 are connected to the connection connector 111 via buses 310 and 311 respectively is shown.
このシステムによれば、スキヤナ301に対して、ユー
ザーはキーボード309より画像読み取り時に使用される
パラメータ(デフオルト値)をセツトできる。According to this system, the user can set parameters (default values) used when reading an image from the keyboard 309 with respect to the scanner 301.
次に、本実施例のスキヤナ301の内部構成について説
明する。Next, the internal configuration of the scanner 301 of the present embodiment will be described.
第4A図は本実施例のスキヤナ301の内部機能を示す側
断面図であり、第4B図は本実施例のスキヤナ301の原稿
載置の位置を示す要部上面図である。第4A図及び第4B図
において、10は基準濃度被写体、11は第1図に示される
ブロツクを搭載した制御ユニツト、13はCCDドライバ、1
5は原稿照明用の蛍光灯ユニツト、16は反射ミラー、18
は原稿載置部、19はプラテンカバーをそれぞれ示してい
る。FIG. 4A is a side sectional view showing an internal function of the scanner 301 of the present embodiment, and FIG. 4B is a top view of a main part showing a position of a document placed on the scanner 301 of this embodiment. 4A and 4B, reference numeral 10 denotes a reference density object, 11 denotes a control unit equipped with the block shown in FIG. 1, 13 denotes a CCD driver, and 1 denotes a CCD driver.
5 is a fluorescent lamp unit for document illumination, 16 is a reflection mirror, 18
Denotes a document placing portion, and 19 denotes a platen cover.
次に、本実施例の動作について説明する。 Next, the operation of this embodiment will be described.
第5図は本実施例の画像読取操作を説明するフローチ
ヤートである。FIG. 5 is a flowchart for explaining the image reading operation of this embodiment.
まず、第1図,第4A図に示されるように、プラテンガ
ラス17上の原稿は蛍光灯ユニツト15内の蛍光灯101で照
射され、原稿の反射光は結像レンズ14によりCCD12上に
導かれ、原稿像の結像が行なわれる。その際、原稿はプ
ラテンガラス17上に、第4B図に示されるように、右端が
原稿の先端となる様に載置される。また、走査光学系で
ある蛍光灯ユニツト15は、第4A図において、右端が初期
値となり、図示しない光学位置センサにより、その初期
位置が確認される。First, as shown in FIGS. 1 and 4A, the original on the platen glass 17 is irradiated by the fluorescent lamp 101 in the fluorescent lamp unit 15, and the reflected light of the original is guided onto the CCD 12 by the imaging lens 14. Then, the image of the original image is formed. At this time, the original is placed on the platen glass 17 such that the right end is the front end of the original as shown in FIG. 4B. In FIG. 4A, the right end of the fluorescent lamp unit 15 serving as the scanning optical system has an initial value, and the initial position is confirmed by an optical position sensor (not shown).
また、プラテンガラス17上に原稿18が置かれた状態で
イニシエータ、即ち、パーソナルコンピユータ302から
各種の処理モードの指示がスキヤナ301に入力される。
このモードの指示は、例えば、画像密度を300dpi(ドツ
ト/インチ),200dpi,150dpiのいずれにするか、あるい
は画像信号を2値にするか、多値にするか等の内容のみ
である。上記各種処理モードの指示をSCSIインタフエー
ス107を介して受信したCPU108は、その指示モードに従
つて、予めモード切換用の制御信号を出し、画素密度や
画像信号の処理を画像処理回路106に説明する。In addition, in the state where the document 18 is placed on the platen glass 17, instructions of various processing modes are input to the scanner 301 from the initiator, that is, the personal computer 302.
The instruction in this mode is, for example, only the content such as whether the image density is 300 dpi (dots / inch), 200 dpi, or 150 dpi, or whether the image signal is binary or multi-level. The CPU 108, which has received the instructions of the various processing modes via the SCSI interface 107, issues a control signal for switching modes in advance according to the instruction mode, and explains the processing of the pixel density and the image signal to the image processing circuit 106. I do.
そこで、まず、パーソナルコンピユータ302から原稿
読取の開始指令が入力されると(ステツプS1)、CPU108
が蛍光灯ユニツト15を駆動する(ステツプS2)。蛍光灯
ユニツト15が、図示しないモータにより査走され、上記
の原稿先端位置まで到達したとき(ステツプS3)、CPU1
08はSCSIインタフエース回路107に画像信号出力特許の
制御信号(出力許可信号)を出力し(ステツプS4)、こ
れによつて、原稿走査が開始され、CCD12で読取られた
画像信号が外部装置302に送られる(ステツプS5)。光
学系の走査長は、CPU108が光学系駆動用モータ(図示せ
ず)を駆動するパルス数により一義的に決定されるの
で、CPU108は原稿サイズに応じた必要なパルス数を上記
モータに出力た時点で原稿読取終了と判断して(ステツ
プS6)、蛍光灯制御回路102を介して蛍光灯を消灯する
(ステツプS7)。さらに、CPU108は画像信号出力不可の
制御信号(出力不可信号)をインタフエース回路107へ
出力して(ステツプS8)、かつ上記モータを反転の制御
を行うと共に(ステツプS9)、原稿見取終了信号をSCSI
インタフエース回路107を介して外部装置302に出力する
(ステツプS10)。Accordingly, when a document reading start command is input from the personal computer 302 (step S1), the CPU 108
Drives the fluorescent lamp unit 15 (step S2). When the fluorescent lamp unit 15 is scanned by a motor (not shown) and reaches the above-described original leading edge position (step S3), the CPU 1
08 outputs a control signal (output permission signal) of an image signal output patent to the SCSI interface circuit 107 (step S4), whereby document scanning is started and the image signal read by the CCD 12 is output to the external device 302. (Step S5). Since the scanning length of the optical system is uniquely determined by the number of pulses for driving the optical system driving motor (not shown) by the CPU 108, the CPU 108 outputs the required number of pulses corresponding to the document size to the motor. At this point, it is determined that the reading of the original has been completed (step S6), and the fluorescent lamp is turned off via the fluorescent lamp control circuit 102 (step S7). Further, the CPU 108 outputs a control signal (output disable signal) of image signal output disable to the interface circuit 107 (step S8), controls the motor to reverse (step S9), and outputs a document detection end signal. The scsi
Output to the external device 302 via the interface circuit 107 (step S10).
上述のCPU108のモータ反転制御により、蛍光灯ユニツ
ト15は第4A図に示される矢印1Aの方向に進む。そして、
図示しない光学位置センサにより蛍光灯ユニツト15が初
期位置(ホームポジシヨン)に達したことが検出さる
と、停止させる。この光学系の戻りの区間に外部装置30
2から次の原稿読取開始指令が来ない場合は、蛍光灯ユ
ニツト15は初期位置に停止して原稿読取動作は終了す
る。By the above-described motor inversion control of the CPU 108, the fluorescent lamp unit 15 advances in the direction of arrow 1A shown in FIG. 4A. And
When it is detected by an optical position sensor (not shown) that the fluorescent lamp unit 15 has reached the initial position (home position), the unit is stopped. In the return section of this optical system, the external device 30
If the next document reading start command does not come from 2, the fluorescent lamp unit 15 stops at the initial position and the document reading operation ends.
次に、画像読取開始ボタン109を押した時の動作を説
明する。Next, an operation when the image reading start button 109 is pressed will be described.
第6図は本実施例のフエーズ間の流れを説明する図で
ある。FIG. 6 is a diagram for explaining the flow between phases in this embodiment.
まず、画像読取の開始ボタン109が押されると、CPU10
8は押されたことを検出する。そして、CPU108は、スキ
ヤナ301をターゲツトからイニシエータに切り換える。First, when the image reading start button 109 is pressed, the CPU 10
8 detects that it has been pressed. Then, the CPU 108 switches the scanner 301 from the target to the initiator.
そこで、周辺機器としてLBP303がSCSIバス306上に接
続されていて、LBP303に画像データを出力する流れを説
明する。Therefore, the flow of outputting image data to the LBP 303 when the LBP 303 is connected as a peripheral device on the SCSI bus 306 will be described.
ここで、LBP303のSCSI・IDナンバーを5番、スキヤナ
301のSCSI・IDナンバーを6番、ホストコンピユータ302
のSCSI・IDナンバーを7番とする。Here, the SCSI ID number of LBP303 is 5 and the scanner is
6th SCSI ID number of 301, host computer 302
SCSI ID number 7
バスフリーフエーズはすべてのSCSIデバイス(第3A図
のスキヤナ301,パーソナルコンピユータ302,LBP303,CRT
デイスプレイ304)がバスを使用していない状態であ
る。スキヤナ301の画像読取開始ボタン109が押される
と、スキヤナ301はイニシエータに切換わり、フエーズ
はアービトレーシヨンフエーズに移る。このアービトレ
ーシヨンフエーズはSISIデバイス(ここでは、スキヤナ
301)がバス使用権を獲得するためのフエーズである。S
CSIバス305〜307の使用権を獲得したスキヤナ301はセレ
クシヨンフエーズに入る。セレクシヨンフエーズはター
ゲツト(ここでは、LBP303)として動作させるSCSIデバ
イスをイニシエータ(ここでは、スキヤナ301)が選択
するためのフエーズである。このフエーズでスキヤナ30
1はLBP303を選択する。また、このフエーズでは、スキ
ヤナ301の内蔵ROMにデフオルト値で設定されているLBP3
03のSCSI・IDナンバー5が出力され、イニシエータとし
てのスキヤナ301はSCSIバス上でLBP303を選択する。ま
た、スキヤナ301にデフオルト値として設定されているL
BP303のSCSI・IDナンバーは、キーパツト304またはパー
ソナルコンピユータ302で変更が可能である。The bus free phase is used for all SCSI devices (scanner 301, personal computer 302, LBP303, CRT in Figure 3A).
The display 304) is not using the bus. When the image reading start button 109 of the scanner 301 is pressed, the scanner 301 switches to the initiator, and the phase shifts to the arbitration phase. This arbitration phase is a SISI device (here, Scanana
301) is a phase for acquiring the right to use the bus. S
SKYANA 301, which has obtained the right to use the CSI buses 305 to 307, enters the Selection Phase. The selection phase is a phase for the initiator (here, the scanner 301) to select a SCSI device to be operated as the target (here, the LBP 303). SKYANA 30 in this phase
1 selects LBP303. In this phase, the LBP3 set in the built-in ROM of the scanner 301 with the default value is used.
The SCSI ID number 5 of 03 is output, and the scanner 301 as the initiator selects the LBP 303 on the SCSI bus. Also, L set as the default value in the scanner 301
The SCSI ID number of the BP 303 can be changed by the key pad 304 or the personal computer 302.
次のコマンドフエーズは、LBP303への各種パラメータ
を設定するコマンドである。このときに設定される各種
パラメータは、CPU308に内蔵されたROM108a内にデフオ
ルト値である。又、直接パソコン302により設定するこ
とも可能である。KB接続コネクタ110にキーボードを接
続し、キーボードからパラメータを設定することも可能
である。このようにして、LBP303に対するパラメータの
設定が終ると、データフエーズに入る。ここでは、スキ
ヤナ301からLBP303に画像データの転送が行なわれる。
次にステータスフエーズが入る。The next command phase is a command for setting various parameters to the LBP 303. Various parameters set at this time are default values in the ROM 108a built in the CPU 308. Alternatively, the setting can be made directly by the personal computer 302. It is also possible to connect a keyboard to the KB connector 110 and set parameters from the keyboard. When the parameter setting for the LBP 303 is completed in this way, the process enters the data phase. Here, the image data is transferred from the scanner 301 to the LBP 303.
Next is the status phase.
ステータスフエーズはコマンドフエーズでパラメータ
が設定された通りに画像データが送られたかどうかの情
報がLBP303からスキヤナ301に送られてくるフエーズで
ある。次のメツセージインフエーズはLBP303からのメツ
セージを受け付けるフエーズで、ステータスフエーズで
NG(no good)がLBP303から出力された時のその内容が
出力される。メツセージインフエーズを通つたあとはバ
スフリーフエーズに通り、一連のシーケンスが終る。こ
の時、スキヤナ301はイニシエータからターゲツトに戻
る。The status phase is a phase in which information as to whether image data has been transmitted as set in the command phase is transmitted from the LBP 303 to the scanner 301. The next message phase is a phase that accepts messages from LBP303, and a status phase.
The content when NG (no good) is output from the LBP 303 is output. After passing through the message infuse, go to the bus-free phase and end the sequence. At this time, SKYANA 301 returns from the initiator to the target.
ここでは、LBP303をターゲツトとして選択した場合を
説明したが、CRTデイスプレイ304等を選択することも可
能であり、フエーズの流れとしては同様のため、説明を
省略する。Here, the case where the LBP 303 is selected as the target has been described. However, the CRT display 304 and the like can be selected, and the flow of the phase is the same, so the description is omitted.
以上説明したように、本実施例によれば、SCSIインタ
フエースをもつスキヤナにおいて、画像読取の開始ボタ
ンが押されると、ホストコンピユータ、即ち、イニシエ
ータとなつて、SCSIインタフエースで接続された外部装
置と通信し、画像データを外部装置(プリンタなど)に
直接出力することができるため、外部装置(ホストコン
ピユータ)のコントロールなしにSCSIバスを効率よく利
用することができる。As described above, according to the present embodiment, when the start button of the image reading is pressed in the scanner having the SCSI interface, the external device connected to the host computer, that is, the initiator, is connected by the SCSI interface. And the image data can be directly output to an external device (such as a printer), so that the SCSI bus can be used efficiently without the control of the external device (host computer).
又、画像読取時に必要な各種パラメータを、キーパツ
トによつて予めデイフオルト値として設定することがで
きると共に、SCSIインタフエースで接続した外部装置の
ホストコンピユータでも設定することができる。更に、
スキヤナにキーボード接続が可能なのでキーボードから
もパラメータの設定ができる。In addition, various parameters required at the time of image reading can be set in advance as default values by keypads, and can also be set by a host computer of an external device connected by a SCSI interface. Furthermore,
A keyboard can be connected to the scanner, so parameters can be set from the keyboard.
さて、上述した実施例では、光学系移動型について説
明したが、同様に光学系固定型(原稿移動型)の場合も
同様に実施できる。In the above-described embodiment, the optical system moving type has been described. However, the optical system fixed type (original moving type) can be similarly implemented.
[発明の効果] 以上説明したように、本発明によれば、SCSIバスに接
続可能な画像読取装置において、操作部からの指示に応
じてターゲットとして動作する状態からイニシエータと
して動作する状態に切り換え、入出力インターフェース
の使用権を獲得した後に読み取った画像データを外部の
ターゲットとして動作する装置へ出力する画像データ出
力処理を行うことができ、また待機中及びイニシエータ
としての処理終了後はターゲットとして動作する状態に
するので、ホストコンピュータからの指示に適切に対応
し、そのホストコンピュータからの指示によって読み取
った画像データを渡すことができる。[Effects of the Invention] As described above, according to the present invention, in an image reading device that can be connected to a SCSI bus, switching from a state of operating as a target to a state of operating as an initiator in response to an instruction from an operation unit, Image data output processing for outputting image data read after acquiring the right to use the input / output interface to an apparatus operating as an external target can be performed, and operates as a target during standby and after processing as an initiator is completed. Since the state is set, it is possible to appropriately respond to an instruction from the host computer, and to pass the image data read by the instruction from the host computer.
第1図は本実施例のスキヤナの構成を示すブロツク図、 第2図は本実施例のスキヤナの使用例を示す外観斜視
図、 第3A図は本実施例によるシステムの一例を示す図、 第3B図は本実施例によるシステムの一例を示す図、 第4A図は本実施例のスキヤナ301の内部機構を示す側断
面図、 第4B図は本実施例のスキヤナ301の原稿載置の位置を示
す要部上面図、 第5図は本実施例の画像読取動作を説明するフローチヤ
ート、 第6図は本実施例のフエーズ間の流れを説明する図であ
る。 図中、101……蛍光灯、102……蛍光灯制御回路、103…
…AMP、104……A/Dコンバータ、105……セレクタ、106
……画像処理回路、107……SCSIインタフエース回路、1
08……CPU、108a……ROM、108b……RAM、109……開始ボ
タン、110……KB接続コネクタ、111……CRT接続コネク
タ、112……CRT制御回路、113……キーパツト用接続コ
ネクタ、301……スキヤナ、302……パーソナルコンピユ
ータ、303……LBP、304……CRTである。FIG. 1 is a block diagram showing a configuration of a scanner of the present embodiment, FIG. 2 is an external perspective view showing an example of use of the scanner of the present embodiment, FIG. 3A is a diagram showing an example of a system according to the present embodiment. FIG. 3B is a diagram showing an example of a system according to the present embodiment. FIG. 4A is a side sectional view showing an internal mechanism of the scanner 301 of the present embodiment. FIG. 4B is a diagram showing a position of a document placed on the scanner 301 of the present embodiment. FIG. 5 is a flowchart illustrating an image reading operation of the present embodiment, and FIG. 6 is a diagram illustrating a flow between phases in the present embodiment. In the figure, 101: fluorescent light, 102: fluorescent light control circuit, 103 ...
... AMP, 104 ... A / D converter, 105 ... selector, 106
…… Image processing circuit, 107 …… SCSI interface circuit, 1
08 ... CPU, 108a ... ROM, 108b ... RAM, 109 ... Start button, 110 ... KB connector, 111 ... CRT connector, 112 ... CRT control circuit, 113 ... Key pad connector, 301 ... Skyana, 302 ... Personal computer, 303 ... LBP, 304 ... CRT.
Claims (3)
ュータに接続して通信を行うSCSIバスである入出力イン
ターフェースと、オペレータによる指示を入力するため
の操作部とを備えた画像読取装置の制御方法であって、 待機中は前記入出力インターフェースを介してホストコ
ンピュータからの指示に基づき前記画像読取装置が受動
的に前記読取手段による読取処理を行い前記入出力イン
ターフェースを介してホストコンピュータに対し前記読
取手段からの画像データを出力するためのターゲットと
して動作する状態とし、 前記操作部からの画像読取指示を検出し、 該検出に応じて前記画像読取装置が能動的に前記読取手
段による読取処理を行うイニシエータとして動作する状
態に切り換え、 前記入出力インターフェースの使用権を獲得し、 該使用権を獲得した後、入出力インターフェースを介し
て前記読取手段で読み取った画像の画像データを出力
し、 イニシエータとしての処理終了後、前記入出力インター
フェースの使用権を解放すると共に再びターゲットとし
て動作する状態に切り換えることを特徴とする画像読取
装置の制御方法。1. A method for controlling an image reading apparatus, comprising: reading means for reading an image; an input / output interface as a SCSI bus connected to a host computer for communication; and an operation unit for inputting instructions from an operator. During standby, the image reading apparatus passively performs reading processing by the reading unit based on an instruction from the host computer via the input / output interface, and performs the reading to the host computer via the input / output interface. Operating as a target for outputting image data from the unit, detecting an image reading instruction from the operation unit, and in response to the detection, the image reading apparatus actively performs a reading process by the reading unit. Switch to the state of operating as an initiator and acquire the right to use the input / output interface After obtaining the use right, the image data of the image read by the reading means is output via the input / output interface, and after the processing as the initiator is completed, the use right of the input / output interface is released and the target is again set as the target. A method for controlling an image reading apparatus, comprising switching to an operating state.
て動作する際にターゲットとする外部装置のパラメータ
を登録し、前記操作部からの画像読取指示が入力された
場合、該登録されたパラメータに従って前記読取手段で
読み取った画像の画像データを前記入出力インターフェ
ースを介して出力することを特徴とする請求項第1項記
載の画像読取装置の制御方法。2. The method according to claim 1, wherein parameters of the target external device are registered in advance when the image reading device operates as an initiator, and when an image reading instruction is input from the operation unit, the reading is performed in accordance with the registered parameters. 2. The method according to claim 1, wherein the image data of the image read by the means is output through the input / output interface.
記入出力インターフェースを介して登録可能であること
を特徴とする請求項第2項記載の画像読取装置の制御方
法。3. The method according to claim 2, wherein the registration of the parameter can be performed through the operation unit or the input / output interface.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2092285A JP2895560B2 (en) | 1990-04-09 | 1990-04-09 | Control method of image reading device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2092285A JP2895560B2 (en) | 1990-04-09 | 1990-04-09 | Control method of image reading device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03291045A JPH03291045A (en) | 1991-12-20 |
| JP2895560B2 true JP2895560B2 (en) | 1999-05-24 |
Family
ID=14050137
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2092285A Expired - Fee Related JP2895560B2 (en) | 1990-04-09 | 1990-04-09 | Control method of image reading device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2895560B2 (en) |
-
1990
- 1990-04-09 JP JP2092285A patent/JP2895560B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03291045A (en) | 1991-12-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5396345A (en) | Multi-function machine for combining and routing image data | |
| US6963429B2 (en) | Image sensing apparatus and control method therefor | |
| JP4642965B2 (en) | Image capturing device having scan mode switching and / or inversion function | |
| KR0134739B1 (en) | Image synthesizing apparatus | |
| JPH09284448A (en) | Network scanner device | |
| JP2895560B2 (en) | Control method of image reading device | |
| US20050219576A1 (en) | Image scanning method and apparatus | |
| JP3078260B2 (en) | Reading system, control method therefor, and storage medium | |
| JP2995483B2 (en) | Image reading device | |
| JPH1132172A (en) | Image reading device | |
| JP3387864B2 (en) | Reading system, control method thereof, and storage medium | |
| JPH118737A (en) | Image input device, image input control device, and recording medium | |
| JPH06113089A (en) | Information reader | |
| JP2001353931A (en) | Image forming apparatus, image forming system, image forming apparatus control method, and medium providing processing program | |
| JP3020565B2 (en) | Image reading device | |
| JP3799140B2 (en) | Scanner system and scanner system control method | |
| JP3595752B2 (en) | Image reading system, control method of the image reading system, information processing terminal, and control method of the information processing terminal | |
| JP2941175B2 (en) | Image reading control device | |
| JP2000215302A (en) | Image reader | |
| JP2001111735A (en) | Data transmission system, data processing device and recording medium | |
| JPH0879462A (en) | Document size detector | |
| JPH1117897A (en) | Printing system and monochrome printer | |
| JPH04207756A (en) | Original stationary type reader | |
| JP2000123161A (en) | Image processing apparatus and image transfer control method | |
| JPH09247342A (en) | Image forming device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080305 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090305 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100305 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |