JP2001022690A - Method and system for data communication between devices - Google Patents

Method and system for data communication between devices

Info

Publication number
JP2001022690A
JP2001022690A JP11196497A JP19649799A JP2001022690A JP 2001022690 A JP2001022690 A JP 2001022690A JP 11196497 A JP11196497 A JP 11196497A JP 19649799 A JP19649799 A JP 19649799A JP 2001022690 A JP2001022690 A JP 2001022690A
Authority
JP
Japan
Prior art keywords
communication
control means
image
condition
unit
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
JP11196497A
Other languages
Japanese (ja)
Inventor
Hideyuki Makitani
秀之 牧谷
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP11196497A priority Critical patent/JP2001022690A/en
Publication of JP2001022690A publication Critical patent/JP2001022690A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method and a system, especially, an initializing procedure thereof for data communication between devices by which optimal communication conditions are automatically set without changing a parameter such as a setting value in a program ROM or non-volatile RAM. SOLUTION: In an image processing system constituted by combining an image control device and one or plural image input/output devices and connecting the image input/output devices and the image control device through communication, when the image control device has a first communication control part and the image input/output device has a second communication control part, at the initialization, prescribed communication conditions are set to the first and second communication control parts S502 and S522, the communication conditions are determined on the basis of ability of communication exchanged through communication S503-S508 and S523-S526, the determined communication conditions are reset to the first and second communication parts S509 and S527 and following communication is continued S510, S511 and S528-S530.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は装置間のデータ通信
方法及びそのシステム、特に画像入出力装置と画像制御
装置とからなる画像処理システムでのデータ通信方法に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and system for data communication between devices, and more particularly to a data communication method in an image processing system including an image input / output device and an image control device.

【0002】[0002]

【従来の技術】従来、例えば画像入出力装置と画像制御
装置とが独立したCPUで制御されるようなシステムに
おいて、CPU間の通信条件(シリアル通信のボーレー
ト等)は、例えばプログラムROMに書込まれている所
定の値や不揮発性のRAMに書込まれている値などの固
定値を使用して設定されていた。
2. Description of the Related Art Conventionally, in a system in which, for example, an image input / output device and an image control device are controlled by independent CPUs, communication conditions (such as a baud rate of serial communication) between the CPUs are written in, for example, a program ROM. This is set using a fixed value such as a predetermined value stored in the memory or a value written in a nonvolatile RAM.

【0003】[0003]

【発明が解決しようとする課題】従って、上記従来例で
は、異なる通信条件の装置同士を接続しようとした場合
に、プログラムROMを書き換えたり、不揮発性RAM
の値を再設定し直すなどの作業が必要であった。
Therefore, in the above-mentioned conventional example, when trying to connect devices having different communication conditions, the program ROM is rewritten or the nonvolatile RAM is rewritten.
Work such as resetting the value of was required.

【0004】一方、システムに必要とされる通信速度
は、接続された各装置の性能などに依存し、例えば入出
力装置の画像処理速度に応じて変わるものであり、逆
に、各装置が許容し得る最大通信速度は、装置に搭載さ
れているCPUや通信制御LSIの性能に依って異なる
ものである。従って、複数の異なる性能の装置が1つの
装置に接続される場合、すなわち、1つのコントローラ
部を性能の異なる入出力装置に接続する場合や、1つの
入出力装置を性能の異なるコントローラ部に接続する場
合には、お互いの通信条件をもとに最適な通信条件を決
定する必要がある。
[0004] On the other hand, the communication speed required for the system depends on the performance of each connected device, and varies depending on, for example, the image processing speed of the input / output device. The maximum communication speed that can be obtained differs depending on the performance of the CPU and the communication control LSI mounted on the device. Therefore, when a plurality of devices having different performances are connected to one device, that is, when one controller unit is connected to input / output devices having different performances, or when one input / output device is connected to controller units having different performances. In such a case, it is necessary to determine an optimal communication condition based on the mutual communication conditions.

【0005】本発明は、上記の点に鑑みてなされたもの
であり、プログラムROMや不揮発性RAMの設定値な
どのパラメータを変更することなしに、最適な通信条件
を自動的に設定する装置間のデータ通信方法及びそのシ
ステム、とりわけ、その初期化手順を提供する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has been made in consideration of the problem described above. An apparatus for automatically setting optimum communication conditions without changing parameters such as set values of a program ROM and a nonvolatile RAM is provided. The present invention provides a data communication method and a system thereof, particularly, an initialization procedure thereof.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明の画像処理システムは、画像制御装置と、1
つまたは複数の画像入出力装置とを組み合わせて構成す
る画像処理システムであって、前記画像入出力装置と前
記画像制御装置とは通信手段によって接続され、前記画
像制御装置は前記通信手段に接続される第1の通信制御
手段を持ち、前記画像入出力装置は前記通信手段に接続
される第2の通信制御手段を持ち、初期化時に、所定の
通信条件を前記第1及び第2の通信制御手段に設定し
て、前記通信手段を介してやり取りした互いの通信能力
をもとに通信条件を決定し、該決定した通信条件を前記
第1及び第2の通信制御手段に設定し直して、それ以降
の通信を継続するよう制御する制御手段とを有すること
を特徴とする。
In order to achieve the above object, an image processing system according to the present invention comprises: an image control device;
An image processing system configured by combining one or more image input / output devices, wherein the image input / output device and the image control device are connected by a communication unit, and the image control device is connected to the communication unit. The image input / output device has a second communication control unit connected to the communication unit, and sets a predetermined communication condition at the time of initialization to the first and second communication control units. Means, determine communication conditions based on mutual communication capabilities exchanged via the communication means, reset the determined communication conditions in the first and second communication control means, And control means for controlling to continue communication thereafter.

【0007】ここで、前記制御手段は、前記画像制御装
置にあって前記第1の通信制御手段を制御する第1の制
御手段と、前記画像入出力装置にあって前記第2の通信
制御手段を制御する第2の制御手段とを含む。また、前
記通信条件の決定は、前記第1の制御手段で実行され
る。また、前記通信条件の決定は、前記第2の制御手段
で実行される。また、前記通信条件の決定は、前記第1
及び第2の通信制御手段のそれぞれの最大能力のより低
い方への決定である。また、前記画像入出力装置として
画像読取装置を接続し、画像読取システムとして動作す
る。また、前記画像入出力装置として画像形成装置を接
続し、画像形成システムとして動作する。また、前記画
像入出力装置として画像読取装置と画像形成装置とを接
続し、画像入出力システムとして動作する。また、前記
通信手段として調歩同期式シリアル通信手段を用い、前
記通信制御手段としてシリアル通信コントローラを用
い、前記通信条件を通信ボーレートとする場合、前記画
像入出力装置が許容する最大ボーレイトと、前記画像制
御装置が許容する最大のボーレートの内の小さい方をボ
ーレイトとして決定する。
Here, the control means includes first control means for controlling the first communication control means in the image control device, and second control means for controlling the first communication control means in the image input / output device. And second control means for controlling The determination of the communication condition is executed by the first control means. The determination of the communication condition is executed by the second control means. In addition, the determination of the communication condition is performed by the first
And determination of the maximum capacity of each of the second communication control means to the lower one. Further, an image reading device is connected as the image input / output device and operates as an image reading system. Further, an image forming apparatus is connected as the image input / output device, and operates as an image forming system. In addition, an image reading device and an image forming device are connected as the image input / output device, and operate as an image input / output system. Further, when a start-stop synchronous serial communication unit is used as the communication unit, a serial communication controller is used as the communication control unit, and the communication condition is a communication baud rate, the maximum baud rate allowed by the image input / output device and the image The smaller of the maximum baud rates allowed by the controller is determined as the baud rate.

【0008】又、本発明のシステムは、複数の装置を組
み合わせて通信手段で接続して構成するシステムであっ
て、第1の装置は前記通信手段に接続される第1の通信
制御手段を持ち、第2の装置は前記通信手段に接続され
る第2の通信制御手段を持ち、初期化時に、所定の通信
条件を前記第1及び第2の通信制御手段に設定して、前
記通信手段を介してやり取りした互いの通信能力をもと
に通信条件を決定し、該決定した通信条件を前記第1及
び第2の通信制御手段に設定し直して、それ以降の通信
を継続するよう制御する制御手段とを有することを特徴
とする。ここで、前記通信手段として調歩同期式シリア
ル通信手段を用い、前記通信制御手段としてシリアル通
信コントローラを用い、前記通信条件を通信ボーレート
とする場合、一方の装置が許容する最大ボーレイトと、
他方の装置が許容する最大のボーレートの内の小さい方
をボーレイトとして決定する。
A system according to the present invention is a system in which a plurality of devices are combined and connected by communication means. The first device has first communication control means connected to the communication means. , The second device has second communication control means connected to the communication means, and at the time of initialization, sets predetermined communication conditions in the first and second communication control means, and sets the communication means to A communication condition is determined on the basis of the mutual communication capabilities exchanged via the control unit, and the determined communication condition is set again in the first and second communication control means, and the subsequent communication is controlled to be continued. And control means. Here, a start-stop synchronous serial communication unit is used as the communication unit, a serial communication controller is used as the communication control unit, and when the communication condition is a communication baud rate, a maximum baud rate allowed by one device,
The smaller of the maximum baud rates allowed by the other device is determined as the baud rate.

【0009】又、本発明のデータ通信方法は、画像制御
装置と、1つまたは複数の画像入出力装置とを組み合わ
せて構成され、前記画像入出力装置と前記画像制御装置
とが通信手段によって接続されている画像処理システム
のデータ通信方法であって、前記画像制御装置が前記通
信手段に接続される第1の通信制御手段を持ち、前記画
像入出力装置が前記通信手段に接続される第2の通信制
御手段を持つ場合に、初期化時に、所定の通信条件を前
記第1及び第2の通信制御手段に設定する初期通信条件
設定工程と、前記通信手段を介してやり取りした互いの
通信能力をもとに通信条件を決定する通信条件決定工程
と、該決定した通信条件を前記第1及び第2の通信制御
手段に設定し直して、それ以降の通信を継続する通信条
件更新工程とを含むことを特徴とする。
Further, a data communication method according to the present invention is constituted by combining an image control device and one or more image input / output devices, and the image input / output device and the image control device are connected by communication means. A data communication method for an image processing system, wherein the image control device has first communication control means connected to the communication means, and the image input / output device is connected to the communication means. An initial communication condition setting step of setting predetermined communication conditions in the first and second communication control means at the time of initialization, and a mutual communication capability exchanged via the communication means. And a communication condition updating step of resetting the determined communication conditions in the first and second communication control means and continuing communication thereafter. Including It is characterized in.

【0010】ここで、前記画像制御装置にあって前記第
1の通信制御手段を制御する第1の制御手段と、前記画
像入出力装置にあって前記第2の通信制御手段を制御す
る第2の制御手段とを含み、前記初期通信条件設定工程
では、前記第1及び第2の制御手段が所定の通信条件を
それぞれ前記第1及び第2の通信制御手段に設定し、前
記通信条件決定工程では、前記第1の制御手段が、前記
第1の通信制御手段と前記通信手段とを介して、前記第
1の制御手段及び第1の通信制御手段が許容し得る最高
能力の通信条件を前記第2の制御手段に送信し、前記第
2の制御手段が、前記第2の制御手段及び第2の通信制
御手段が許容しうる最高能力の通信条件と、前記第1の
制御手段から送信された通信条件とを比較し、その低い
方の能力に対応する通信条件を新たな通信条件として決
定し、決定した通信条件を前記第2の通信制御手段と前
記通信手段とを介して前記第1の制御手段に返信し、前
記通信条件更新工程では、前記第2の制御手段が、前記
決定した通信条件を前記第2の通信制御手段に設定し、
前記第1の制御手段が、前記返信された通信条件を前記
第1の通信制御手段に設定する。また、前記画像制御装
置にあって前記第1の通信制御手段を制御する第1の制
御手段と、前記画像入出力装置にあって前記第2の通信
制御手段を制御する第2の制御手段とを含み、前記初期
通信条件設定工程では、前記第1及び第2の制御手段が
所定の通信条件をそれぞれ前記第1及び第2の通信制御
手段に設定し、前記通信条件決定工程では、前記第2の
制御手段が、前記第2の通信制御手段と前記通信手段と
を介して、前記第2の制御手段及び第2の通信制御手段
が許容し得る最高能力の通信条件を前記第1の制御手段
に送信し、前記第1の制御手段が、前記第1の制御手段
及び第1の通信制御手段が許容しうる最高能力の通信条
件と、前記第2の制御手段から送信された通信条件とを
比較し、その低い方の能力に対応する通信条件を新たな
通信条件として決定し、決定した通信条件を前記第2の
通信制御手段と前記通信手段とを介して前記第2の制御
手段に返信し、前記通信条件更新工程では、前記第1の
制御手段が、前記決定した通信条件を前記第1の通信制
御手段に設定し、前記第2の制御手段が、前記返信され
た通信条件を前記第2の通信制御手段に設定する。ま
た、前記通信条件を設定し直した後、所定時間経過して
から通信を再開する。また、前記通信手段として調歩同
期式シリアル通信手段を用い、前記通信制御手段として
シリアル通信コントローラを用い、前記通信条件を通信
ボーレートとする場合、前記画像入出力装置が許容する
最大ボーレイトと、前記画像制御装置が許容する最大の
ボーレートの内の小さい方をボーレイトとして決定す
る。
Here, a first control means in the image control device for controlling the first communication control means, and a second control means in the image input / output device for controlling the second communication control means. The initial communication condition setting step, wherein the first and second control means set predetermined communication conditions in the first and second communication control means, respectively, and the communication condition determining step Then, the first control means, via the first communication control means and the communication means, the communication condition of the highest capacity that the first control means and the first communication control means can tolerate, Transmitted to the second control means, and the second control means transmits the communication condition of the highest capacity allowable by the second control means and the second communication control means and transmitted from the first control means. To the lower communication capacity. The communication condition is determined as a new communication condition, and the determined communication condition is returned to the first control unit via the second communication control unit and the communication unit. 2 control means sets the determined communication condition in the second communication control means,
The first control means sets the returned communication condition in the first communication control means. A first control unit for controlling the first communication control unit in the image control device; a second control unit for controlling the second communication control unit in the image input / output device; In the initial communication condition setting step, the first and second control means set a predetermined communication condition in the first and second communication control means, respectively, and in the communication condition determination step, The second control means, via the second communication control means and the communication means, sets the communication condition of the highest capacity that the second control means and the second communication control means can tolerate in the first control. And the first control means transmits the communication condition of the highest capacity that the first control means and the first communication control means can accept, and the communication condition transmitted from the second control means. The communication conditions corresponding to the lower capability. And the determined communication condition is returned to the second control means via the second communication control means and the communication means. In the communication condition updating step, the first control means Sets the determined communication condition in the first communication control means, and the second control means sets the returned communication condition in the second communication control means. Further, after resetting the communication conditions, the communication is restarted after a predetermined time has elapsed. Further, when a start-stop synchronous serial communication unit is used as the communication unit, a serial communication controller is used as the communication control unit, and the communication condition is a communication baud rate, the maximum baud rate allowed by the image input / output device and the image The smaller of the maximum baud rates allowed by the controller is determined as the baud rate.

【0011】又、複数の装置を組み合わせて通信手段で
接続して構成するシステムのデータ通信方法であって、
第1の装置は前記通信手段に接続される第1の通信制御
手段を持ち、第2の装置は前記通信手段に接続される第
2の通信制御手段を持つ場合に、初期化時に、所定の通
信条件を前記第1及び第2の通信制御手段に設定し、前
記通信手段を介してやり取りした互いの通信能力をもと
に通信条件を決定し、該決定した通信条件を前記第1及
び第2の通信制御手段に設定し直して、それ以降の通信
を継続することを特徴とする。ここで、前記通信手段と
して調歩同期式シリアル通信手段を用い、前記通信制御
手段としてシリアル通信コントローラを用い、前記通信
条件を通信ボーレートとする場合、一方の装置が許容す
る最大ボーレイトと、他方の装置が許容する最大のボー
レートの内の小さい方をボーレイトとして決定する。
Also, there is provided a data communication method for a system in which a plurality of devices are combined and connected by communication means,
The first device has first communication control means connected to the communication means, and the second device has second communication control means connected to the communication means. A communication condition is set in the first and second communication control means, a communication condition is determined based on a mutual communication capability exchanged via the communication means, and the determined communication condition is determined by the first and second communication control means. The second communication control means is set again, and the subsequent communication is continued. Here, when a start-stop synchronous serial communication unit is used as the communication unit, a serial communication controller is used as the communication control unit, and the communication condition is a communication baud rate, the maximum baud rate allowed by one device and the other device The smaller of the maximum baud rates allowed by is determined as the baud rate.

【0012】又、本発明の記憶媒体は、画像制御装置
と、1つまたは複数の画像入出力装置とを組み合わせて
構成され、前記画像入出力装置と前記画像制御装置とが
通信手段によって接続されている画像処理システムの通
信制御プログラムをコンピュータ読み出し可能に記憶す
る記憶媒体であって、前記画像制御装置が前記通信手段
に接続される第1の通信制御手段を持ち、前記画像入出
力装置が前記通信手段に接続される第2の通信制御手段
を持つ場合に、前記通信制御プログラムが、初期化時
に、所定の通信条件を前記第1及び第2の通信制御手段
に設定する初期通信条件設定ステップと、前記通信手段
を介してやり取りした互いの通信能力をもとに通信条件
を決定する通信条件決定ステップと、該決定した通信条
件を前記第1及び第2の通信制御手段に設定し直して、
それ以降の通信を継続する通信条件更新ステップとを含
むことを特徴とする。ここで、前記通信制御プログラム
が、前記画像制御装置にあって前記第1の通信制御装置
を制御する第1の制御装置が実行するプログラムと、前
記画像入出力装置にあって前記第2の通信制御装置を制
御する第2の制御装置が実行するプログラムとを含む。
Further, the storage medium of the present invention is constituted by combining an image control device and one or more image input / output devices, and the image input / output device and the image control device are connected by communication means. A computer-readable storage medium for storing a communication control program of the image processing system, wherein the image control device has first communication control means connected to the communication means, and the image input / output device is An initial communication condition setting step of setting a predetermined communication condition in the first and second communication control means at the time of initialization when the communication control program has a second communication control means connected to the communication means; And a communication condition determining step of determining communication conditions based on mutual communication capabilities exchanged via the communication means; and determining the determined communication conditions by the first and second communication conditions. Re-set in the communication control means,
And a communication condition updating step of continuing communication thereafter. Here, the communication control program is a program executed by a first control device for controlling the first communication control device in the image control device, and a program executed by the second communication control program in the image input / output device. And a program executed by a second control device that controls the control device.

【0013】[0013]

【発明の実施の形態】<本実施の形態のシステムの一構
成例>本発明の実施の形態にかかわる画像処理システム
としての画像入出力システムの全体構成例を、図1を参
照しながら説明する。尚、本実施の形態の説明は画像入
出力システムに基づいて行うが、本発明の技術思想は、
一般に、複数の異なる性能の装置が1つの装置に接続さ
れる場合の、通信条件の設定に係るものに適用可能であ
り、本発明はこれらを含むものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS <One Example of Configuration of System of Present Embodiment> An example of the overall configuration of an image input / output system as an image processing system according to an embodiment of the present invention will be described with reference to FIG. . The description of the present embodiment is based on an image input / output system, but the technical idea of the present invention is as follows.
In general, the present invention is applicable to those related to setting of communication conditions when a plurality of devices having different performances are connected to one device, and the present invention includes these.

【0014】図1で、リーダー部(画像入力装置)20
0は、原稿画像を光学的に読み取り、画像データに変換
する。リーダー部200は、主要には、原稿を読取るた
めの機能を持つスキャナユニット210と、原稿用紙を
搬送するための機能を持つ原稿給紙ユニット250とで
構成される。
In FIG. 1, a reader unit (image input device) 20
0 optically reads a document image and converts it into image data. The reader unit 200 mainly includes a scanner unit 210 having a function for reading a document, and a document feeding unit 250 having a function for conveying document sheets.

【0015】プリンタ部(画像出力装置)300は、記
録紙を搬送し、その上に画像データを可視画像として印
刷して装置外に排紙する。プリンタ部300は、主要に
は、複数種類の記録紙カセットを持つ給紙ユニット31
0と、画像データを記録紙に転写、定着させる機能を持
つマーキングユニット320と、印刷された記録紙をソ
ート、ステイプルして機外へ出力する機能を持つ排紙ユ
ニット330とで構成される。
A printer unit (image output device) 300 conveys a recording sheet, prints image data thereon as a visible image, and discharges the recording sheet outside the apparatus. The printer unit 300 mainly includes a paper feed unit 31 having a plurality of types of recording paper cassettes.
0, a marking unit 320 having a function of transferring and fixing image data to recording paper, and a paper discharging unit 330 having a function of sorting, stapling and printing the printed recording paper outside the apparatus.

【0016】コントローラ部(コントローラ部)110
は、リーダー部200、プリンタ部300と電気的に接
続され、さらにネットワーク400を介して、ホストコ
ンピュータ401,402と接続されている。
Controller unit (controller unit) 110
Is electrically connected to the reader unit 200 and the printer unit 300, and further connected to host computers 401 and 402 via the network 400.

【0017】コントローラ部110は、リーダー部20
0を制御して、原稿の画像データを読込み、プリンタ部
300を制御して、画像データを記録用紙に出力してコ
ピー機能を提供する。また、リーダー部200から読取
った画像データを、コードデータに変換し、ネットワー
ク400を介してホストコンピュータへ送信するスキャ
ナ機能と、ホストコンピュータからネットワーク400
を介して受信したコードデータを画像データに変換し、
プリンタ部300に出力するプリンタ機能とを提供す
る。
The controller unit 110 includes the reader unit 20
0, the image data of the document is read, and the printer unit 300 is controlled to output the image data to recording paper to provide a copy function. A scanner function of converting image data read from the reader unit 200 into code data and transmitting the code data to a host computer via the network 400;
Converts the code data received through to image data,
And a printer function for outputting to the printer unit 300.

【0018】操作部150は、コントローラ部110に
接続され、液晶タッチパネルで構成され、画像入出力シ
ステムを操作するためのユーザI/Fを提供する。
The operation unit 150 is connected to the controller unit 110, is constituted by a liquid crystal touch panel, and provides a user I / F for operating the image input / output system.

【0019】図2は、リーダー部200及びプリンタ部
300の概略構成を示す断面図である。
FIG. 2 is a sectional view showing a schematic configuration of the reader unit 200 and the printer unit 300.

【0020】(リーダー部の構成例)リーダー部の原稿
給送ユニット250は、原稿を先頭順に1枚ずつプラテ
ンガラス211上へ給送し、原稿の読み取り動作終了
後、プラテンガラス211上の原稿を排出するものであ
る。原稿がプラテンガラス211上に搬送されると、ラ
ンプ212を点灯し、そして光学ユニット213の移動
を開始させて、原稿を露光走査する。この時の原稿から
の反射光は、ミラー214、215、216、及びレン
ズ217によってCCDイメージセンサ(以下、CCD
という)218へ導かれる。このように、走査された原
稿の画像はCCD218によって読み取られる。CCD
218から出力される画像データは、所定の処理が施さ
れた後、コントローラ部110へ転送される。
(Exemplary Configuration of Reader Unit) The original feeding unit 250 of the reader unit feeds the originals one by one onto the platen glass 211 one by one in the leading order. To discharge. When the document is conveyed onto the platen glass 211, the lamp 212 is turned on, the movement of the optical unit 213 is started, and the document is exposed and scanned. The reflected light from the original at this time is reflected by a mirror 214, 215, 216 and a lens 217 into a CCD image sensor (hereinafter, referred to as CCD).
218). In this manner, the scanned image of the document is read by the CCD 218. CCD
The image data output from 218 is transferred to the controller unit 110 after undergoing predetermined processing.

【0021】(プリンタ部の構成例)プリンタ部300
のレーザドライバ321は、レーザ発光部322を駆動
するものであり、コントローラ部110から出力された
画像データに応じたレーザ光をレーザ発光部322に発
光させる。このレーザ光は感光ドラム323に照射さ
れ、感光ドラム323にはレーザ光に応じた潜像が形成
される。この感光ドラム323の潜像の部分には現像器
324によって現像剤が付着される。
(Example of Configuration of Printer Unit) Printer Unit 300
The laser driver 321 drives the laser light emitting unit 322, and causes the laser light emitting unit 322 to emit laser light according to the image data output from the controller unit 110. The laser beam is applied to the photosensitive drum 323, and a latent image corresponding to the laser beam is formed on the photosensitive drum 323. The developer is attached to the latent image portion of the photosensitive drum 323 by the developing device 324.

【0022】そして、レーザ光の照射開始と同期したタ
イミングで、カセット311及びカセット312のいず
れかから記録紙を給紙して転写部325へ搬送し、感光
ドラム323に付着された現像剤を記録紙に転写する。
現像剤の乗った記録紙は定着部326に搬送され、定着
部326の熱と圧力により現像剤は記像紙に定着され
る。定着部326を通過した記録紙は排出ローラ327
によって排出され、排紙ユニット330は排出された記
録紙を束ねて記録紙の仕分けをしたり、仕分けされた記
録紙のステイプルを行う。
Then, at a timing synchronized with the start of the laser beam irradiation, a recording sheet is fed from one of the cassettes 311 and 312 and transported to the transfer section 325 to record the developer adhered to the photosensitive drum 323. Transfer to paper.
The recording paper on which the developer is loaded is conveyed to the fixing unit 326, and the developer is fixed on the recording paper by the heat and pressure of the fixing unit 326. The recording paper that has passed through the fixing unit 326 is discharged by a discharge roller 327.
The paper discharge unit 330 bundles the discharged recording papers and sorts the recording papers, and staples the sorted recording papers.

【0023】また、両面記録が設定されている場合は、
排出ローラ327のところまで記録紙を搬送した後、排
出ローラ327の回転方向を逆転させ、フラッパ328
によって再給紙搬送路329へ導く。再給紙搬送路32
9へ導かれた記録紙は上述したタイミングで転写部32
5へ給紙される。
When double-sided recording is set,
After the recording paper is conveyed to the discharge roller 327, the rotation direction of the discharge roller 327 is reversed, and the flapper 328 is rotated.
To the re-feed conveyance path 329. Refeeding conveyance path 32
9 is transferred to the transfer unit 32 at the timing described above.
5 is fed.

【0024】(コントローラ部の構成例)コントローラ
部110の機能例を、図3に示すブロック図をもとに説
明する。
(Example of Configuration of Controller) An example of the function of the controller 110 will be described with reference to the block diagram shown in FIG.

【0025】メインコントローラ111は、主にCPU
112と、バスコントローラ113、各種I/Fコント
ローラ回路(図示せず)とから構成される。
The main controller 111 mainly includes a CPU
112, a bus controller 113, and various I / F controller circuits (not shown).

【0026】CPU112とパスコントローラ113
は、コントローラ部110全体の動作を制御するもので
あり、CPU112は、ROM114からROM_I/
F115を経由して読込んだプログラムに基いて動作す
る。また、ホストコンピュータから受信したPDL(ペ
ージ記述言語)コードデータを解釈し、ラスターイメー
ジデータに展開する動作も、このプログラムに記述され
ており、ソフトウェアによって処理される。バスコント
ローラ113は、各I/Fから入出力されるデータ転送
を制御するものであり、バス競合時の調停やDMAデー
タ転送の制御を行う。
CPU 112 and path controller 113
Controls the entire operation of the controller unit 110, and the CPU 112 reads the ROM_I /
It operates based on the program read via F115. Also, the operation of interpreting PDL (page description language) code data received from the host computer and developing it into raster image data is described in this program and processed by software. The bus controller 113 controls data transfer input / output from each I / F, and performs arbitration at the time of bus contention and controls DMA data transfer.

【0027】DRAM116は、DRAM_I/F11
7によってメインコントローラ111と接続されてお
り、CPU112が動作するためのワークエリアや、画
像データを蓄積するためのエリアとして使用される。
尚、後述するように、DRAM116に、ホストコンピ
ュータやフロッピー、CD等の外部記憶装置(例えば、
拡張コネクタ124に接続されて)からプログラムをロ
ードして、CPU112で実行する構成にしてもよい。
The DRAM 116 has a DRAM_I / F 11
7 are connected to the main controller 111 and are used as a work area for the operation of the CPU 112 and an area for storing image data.
As described later, the DRAM 116 stores an external storage device (for example, a host computer, a floppy disk, a CD, etc.)
The program may be loaded from the extension connector 124) and executed by the CPU 112.

【0028】Codec118は、DRAM116に蓄
積されたラスターイメージデータをMH/MR/MMR
/JBIG等の方式で圧縮し、また逆に圧縮され蓄積さ
れたコードデータをラスターイメージデータに伸長す
る。SRAM119は、Codec118の一時的なワ
ーク領域として使用される。Codec118は、I/
F120を介してメインコントローラと接続され、DR
AM116との間のデータの転送は、バスコントローラ
113によって制御されDMA転送される。
The codec 118 converts the raster image data stored in the DRAM 116 into MH / MR / MMR.
/ JBIG and the like, and conversely, the compressed and accumulated code data is expanded to raster image data. The SRAM 119 is used as a temporary work area of the Codec 118. Codec 118 is I /
F120 and connected to the main controller
Data transfer to and from the AM 116 is controlled by the bus controller 113 and DMA-transferred.

【0029】ネットワーク・コントローラ(Network Co
ntorller)121は、I/F122によってメインコン
トローラ111と接続され、コネクタ122によって外
部ネットワークと接続される。ネットワークとしては一
般的にイーサネットがあげられる。
A network controller (Network Co.)
ntorller) 121 is connected to the main controller 111 by an I / F 122, and is connected to an external network by a connector 122. The network is generally Ethernet.

【0030】汎用高速バス125には、拡張ボードを接
続するための拡張コネクタ124とI/O制御部126
とが接続される。汎用高速バスとしては、一般的にPC
Iバスがあげられる。
An extension connector 124 for connecting an extension board and an I / O control unit 126 are connected to the general-purpose high-speed bus 125.
Are connected. As a general-purpose high-speed bus, PC
I-bus.

【0031】I/O制御部126には、リーダー部20
0、プリンタ部300の各CPUと制御コマンドを送受
信するための調歩同期シリアル通信コントローラ127
が2チャンネル装備されており、I/Oバス128によ
って外部I/F回路140,145に接続されている。
The I / O control unit 126 includes the reader unit 20
0, an asynchronous serial communication controller 127 for transmitting and receiving control commands to and from each CPU of the printer unit 300
Are connected to external I / F circuits 140 and 145 via an I / O bus 128.

【0032】パネルI/F132は、LCDコントロー
ラ131に接続され、操作部150上の液晶画面に表示
を行うためのI/Fと、ハードキーやタッチパネルキー
の入力を行うためのキー入力I/F130とから構成さ
れる。
The panel I / F 132 is connected to the LCD controller 131 and has an I / F for displaying on a liquid crystal screen on the operation unit 150 and a key input I / F 130 for inputting hard keys and touch panel keys. It is composed of

【0033】操作部150は、液晶表示部と液晶表示部
上に張り付けられたタッチパネルと、複数個のハードキ
ーとを有する。タッチパネルまたはハードキーにより入
力された信号は、前述したパネルI/F132を介して
CPU112に伝えられ、液晶表示部は、パネルI/F
132から送られてきた画像データを表示するものであ
る。液晶表示部には、本画像形成装置の操作における機
能表示や画像データ等を表示する。
The operation unit 150 has a liquid crystal display unit, a touch panel attached on the liquid crystal display unit, and a plurality of hard keys. A signal input by a touch panel or a hard key is transmitted to the CPU 112 via the panel I / F 132 described above, and the liquid crystal display unit displays the panel I / F
This is for displaying the image data sent from the device 132. The liquid crystal display displays a function display, image data, and the like in the operation of the image forming apparatus.

【0034】リアルタイムクロックモジュール133
は、機器内で管理する日付と時刻を更新/保存するため
のもので、バックアップ電池134によってバックアッ
プされている。
The real-time clock module 133
Is for updating / saving the date and time managed in the device, and is backed up by the backup battery 134.

【0035】コネクタ142と147は、それぞれリー
ダー部200とプリンタ部300とに接続される同調歩
同期シリアルI/F(143,148)とビデオI/F
(144,149)とから構成される。
The connectors 142 and 147 are a synchronous serial I / F (143, 148) and a video I / F connected to the reader unit 200 and the printer unit 300, respectively.
(144, 149).

【0036】スキャナI/F140は、コネクタ142
を介してリーダー部200と接続され、また、スキャナ
バス141によってメインコントローラ111と接続さ
れており、リーダー部200から受け取った画像を、そ
の後の過程における処理の内容によって、最適な2値化
を行ったり、主走査・副走査の変倍処理を行ったりする
機能を有し、さらに、リーダー部200から送られたビ
デオ制御信号をもとに生成した制御信号を、スキャナバ
ス141に出力する機能も有する。
The scanner I / F 140 has a connector 142
The scanner is connected to the main controller 111 via the scanner bus 141, and the image received from the reader 200 is subjected to optimal binarization according to the contents of processing in the subsequent process. And a function of performing a magnification process of main scanning and sub scanning, and a function of outputting a control signal generated based on a video control signal transmitted from the reader unit 200 to the scanner bus 141. Have.

【0037】スキャナバス141からDRAM116へ
のデータ転送は、バスコントローラ113によって制御
される。
Data transfer from the scanner bus 141 to the DRAM 116 is controlled by the bus controller 113.

【0038】プリンタI/F145は、コネクタ147
を介してプリンタ部300と接続され、また、プリンタ
バス146によってメインコントローラ111と接続さ
れており、メインコントローラ111から出力された画
像データにスムージング処理等をして、プリンタ部30
0へ出力する機能を有し、さらに、プリンタ部300か
ら送られたビデオ制御信号をもとに生成した制御信号
を、プリンタバス146に出力する機能も有する。
The printer I / F 145 has a connector 147
Is connected to the main controller 111 via a printer bus 146, and performs smoothing processing and the like on the image data output from the main controller 111, and
0, and also has a function of outputting a control signal generated based on the video control signal sent from the printer unit 300 to the printer bus 146.

【0039】DRAM116上に展開されたラスターイ
メージデータのプリンタ部への転送は、バスコントロー
ラ113によって制御され、プリンタバス146、ビデ
オI/F149を経由して、プリンタ部300へDMA
転送される。
The transfer of the raster image data developed on the DRAM 116 to the printer unit is controlled by the bus controller 113, and transferred to the printer unit 300 via the printer bus 146 and the video I / F 149.
Will be transferred.

【0040】(リーダー部の詳細な説明)次に、リーダ
ー部のより詳細な機能構成例を、図4に示すブロック図
をもとに説明する。
(Detailed Description of Leader Unit) Next, a more detailed functional configuration example of the leader unit will be described with reference to the block diagram shown in FIG.

【0041】コネクタ231は、コントローラ部110
のコネクタ142に接続され、CPU(すなわち、CP
U112とCPU228)間のコマンド通信を行うため
の調歩同期シリアル通信I/F143と、ビデオ信号を
転送するためのVideo_I/F144とで構成され
る。
The connector 231 is connected to the controller 110
Of the CPU 142 (ie, CP
It comprises an asynchronous serial communication I / F 143 for performing command communication between the U 112 and the CPU 228), and a Video_I / F 144 for transferring a video signal.

【0042】CPU228は、スキャナリーダー部全体
の制御を司るワンチップCPUで、タイマ、DMAC、
シリアル通信コントローラ(SCU)229、汎用入出
力ポート等の機能を内蔵している。
The CPU 228 is a one-chip CPU that controls the entire scanner reader unit, and includes a timer, a DMAC,
It has functions such as a serial communication controller (SCU) 229 and general-purpose input / output ports.

【0043】コネクタ225は、原稿給紙ユニット(以
下、DFユニット)250と接続され、CPU228は
読み取り動作を行うにあたり、DFユニット250に対
して原稿の給紙を要求する。DFユニット250は、上
記要求に従い、装備するモーターの制御等を行い、原稿
給紙動作を実行する。
The connector 225 is connected to a document feeding unit (hereinafter, DF unit) 250, and the CPU 228 requests the DF unit 250 to feed a document when performing a reading operation. The DF unit 250 controls a motor to be equipped according to the request, and executes a document feeding operation.

【0044】CCDドライバは、CCD218に内蔵も
しくは接続されており、CPU228によってI/O2
30を介して制御される。CCD218に入力された画
像データは、光電変換され電気信号に変換される。CC
D218から出力された電気信号は、増幅器221によ
って増幅され、A/D変換器222に入力される。A/
D変換器222は、入力されたアナログ電気信号をディ
ジタル信号に変換し出力する。A/D変換器222から
の出力信号は、シェーディング回路223に入力され、
ここで配光ムラやCCDの感度ムラが補正される。
The CCD driver is built in or connected to the CCD 218.
It is controlled via 30. The image data input to the CCD 218 is photoelectrically converted to an electric signal. CC
The electric signal output from D218 is amplified by amplifier 221 and input to A / D converter 222. A /
The D converter 222 converts the input analog electric signal into a digital signal and outputs it. An output signal from the A / D converter 222 is input to a shading circuit 223,
Here, light distribution unevenness and CCD sensitivity unevenness are corrected.

【0045】シェーディング回路223からの出力は、
タイミング生成224に入力され、ここで生成されるビ
デオ制御信号(HSYNC/VSYNC)と同期して、
コネクタ231を経由してコントローラ部110に転送
される。
The output from the shading circuit 223 is
In synchronization with the video control signal (HSYNC / VSYNC) that is input to the timing generator 224 and generated here,
The data is transferred to the controller unit 110 via the connector 231.

【0046】また、ROM227は、スキャナユニット
210の制御プログラムを記憶する媒体であり、このプ
ログラムに基いてCPU228の処理が実行される。R
AM226は、CPU228が処理を実行する際のワー
クエリアとして使用するためのものである。尚、CPU
228の実行するプログラムが、コントローラ部110
より、あるいはコントローラ部110を介してホストコ
ンピュータや外部記憶装置からRAM226にロードさ
れる構成であってもよい。
The ROM 227 is a medium for storing a control program for the scanner unit 210, and the processing of the CPU 228 is executed based on the program. R
The AM 226 is used as a work area when the CPU 228 executes a process. In addition, CPU
228 is executed by the controller unit 110
Alternatively, the RAM 226 may be loaded from a host computer or an external storage device via the controller unit 110.

【0047】<本実施の形態のシステムの一動作例>次
に、上記構成の画像入出力システムでの本実施の形態例
での画像制御装置と画像入出力装置の通信条件決定処理
について、以下に説明する。
<One operation example of the system of the present embodiment> Next, the communication condition determination processing between the image control device and the image input / output device in the present embodiment in the image input / output system having the above configuration will be described. Will be described.

【0048】本例においては、コントローラ部110の
CPU112とリーダー部200のCPU228とが、
初期化時にシリアル通信条件(ボーレート)を決定する
手順について、図5に示すフローチャートに従って説明
する。しかしながら、図5の例と同様の技術思想が、本
例のプリンタ部とコントローラ部との通信条件の決定
や、更に他の通信を介して複数の装置が接続されたシス
テムにおける通信条件の決定に対して、適用可能であ
る。尚、図5の(a)と(b)との間の破線の矢印は、
リーダー部とコントローラ部との通信を示す。
In this example, the CPU 112 of the controller unit 110 and the CPU 228 of the reader unit 200
The procedure for determining the serial communication conditions (baud rate) at the time of initialization will be described with reference to the flowchart shown in FIG. However, the technical idea similar to that of the example of FIG. 5 is applied to the determination of the communication conditions between the printer unit and the controller unit of the present example and the determination of the communication conditions in a system in which a plurality of devices are connected via other communication. On the other hand, it is applicable. In addition, the dashed arrow between (a) and (b) of FIG.
4 shows communication between a reader unit and a controller unit.

【0049】(リーダー部の動作)まず、図1に示した
リーダー部200における通信条件決定シーケンスにつ
いて、図5の(a)に示したフローチャートを参照して
説明する。
(Operation of Reader Unit) First, a communication condition determination sequence in the reader unit 200 shown in FIG. 1 will be described with reference to a flowchart shown in FIG.

【0050】図5の(a)において、まず電源立ち上げ
時には、RAMや各種周辺回路の初期化を行う(S50
1)。次に、シリアル通信コントローラ229を所定の
条件で初期化する(S502)。本実施例においては、
ボーレート9600bpsデータ8bitストップビッ
ト2bitパリティOddに設定する。
In FIG. 5A, first, when the power is turned on, the RAM and various peripheral circuits are initialized (S50).
1). Next, the serial communication controller 229 is initialized under predetermined conditions (S502). In this embodiment,
The baud rate is set to 9600 bps data, 8 bits of stop bits, and 2 bits of parity Odd.

【0051】次に、メッセージ受信が可能になったこと
をコントローラ部110に伝えるために、フロー制御信
号であるRTS信号をTRUEにして(S503)、メ
ッセージ受信待ち状態になる(S504)。
Next, in order to inform the controller 110 that the message can be received, the RTS signal, which is a flow control signal, is set to TRUE (S503), and a message reception waiting state is set (S504).

【0052】コントローラ部110から‘通信ネゴシエ
ーション開始メッセージ’を受信すると、そのメッセー
ジに含まれるコントローラ部の上限ボーレートと、リー
ダー部で許容できるボーレートとを比較し(S50
5)、小さい方の値を、新規のボーレート(BRf)と
して決定する(S506,S507)。本例では、コン
トローラ部の上限値は38400bpsであり、リーダ
ー部の上限値は19200bpsである。したがって、
BRfは19200bpsとなる。
When the 'communication negotiation start message' is received from the controller unit 110, the upper limit baud rate of the controller unit included in the message is compared with the baud rate allowable by the reader unit (S50).
5) The smaller value is determined as a new baud rate (BRf) (S506, S507). In this example, the upper limit of the controller is 38400 bps, and the upper limit of the reader is 19200 bps. Therefore,
BRf is 19200 bps.

【0053】次に、コントローラ部110に対して、
‘通信ネゴシエーション完了’メッセージとともに、前
記BRfを送信する(S508)。
Next, for the controller unit 110,
The BRf is transmitted together with the “communication negotiation completed” message (S508).

【0054】メッセージ送信が完了したら、シリアル通
信コントローラ229にBRfを再設定し(S50
9)、コントローラ部110からの‘通信再開’メッセ
ージ待ち状態となる(S510)。
When the message transmission is completed, BRf is reset in the serial communication controller 229 (S50).
9) The system enters a state of waiting for a “communication restart” message from the controller unit 110 (S510).

【0055】コントローラ部110から‘通信再開’メ
ッセージを受信すると、通常の処理を開始する(S51
1)。
When a 'communication resume' message is received from the controller unit 110, normal processing is started (S51).
1).

【0056】(コントローラ部の動作)次に、図1に示
したコントローラ部110における通信条件決定シーケ
ンスについて、図5の(b)に示したフローチャートを
参照して説明する。
(Operation of Controller Unit) Next, the communication condition determination sequence in the controller unit 110 shown in FIG. 1 will be described with reference to the flowchart shown in FIG. 5B.

【0057】図5の(b)において、まず電源立ち上げ
時には、RAMや各種周辺回路の初期化を行う(S52
1)。次に、シリアル通信コントローラ127を所定の
条件で初期化する(S522)。本実施例においては、
ボーレート9600bpsデータ8bitストップビッ
ト2bitパリティOddに設定する。
In FIG. 5B, first, when the power is turned on, the RAM and various peripheral circuits are initialized (S52).
1). Next, the serial communication controller 127 is initialized under predetermined conditions (S522). In this embodiment,
The baud rate is set to 9600 bps data, 8 bits of stop bits, and 2 bits of parity Odd.

【0058】次に、メッセージ受信が可能になったこと
をリーダー部200に伝えるためのフロー制御信号であ
るRTS信号をTRUEにして(S523)、リーダー
部が受信可能状態になる(CTS信号がTRUEにな
る)のを待つ(S524)。
Next, the RTS signal, which is a flow control signal for notifying the reader unit 200 that the message can be received, is set to TRUE (S523), and the reader unit enters a receivable state (the CTS signal becomes TRUE). (S524).

【0059】CTS信号がTRUEになったのを確認し
た後に、‘通信ネゴシエーション開始メッセージ’を送
信する(S525)。そのメッセージに、コントローラ
部の上限ボーレートをパラメータとして付加する。本実
施例では、コントローラ部の上限値は38400bps
である。
After confirming that the CTS signal has become TRUE, it transmits a 'communication negotiation start message' (S525). The upper limit baud rate of the controller is added as a parameter to the message. In this embodiment, the upper limit value of the controller unit is 38400 bps.
It is.

【0060】次に、リーダー部からの応答メッセージ待
ち状態になり(S526)、‘通信ネゴシエーション完
了’メッセージを受信すると、パラメータとして付加さ
れたボーレート(BRf)を、シリアル通信コントロー
ラ127に再設定する(S527)。
Next, a response message from the reader unit is awaited (S526), and upon receiving the 'communication negotiation completed' message, the baud rate (BRf) added as a parameter is reset to the serial communication controller 127 (S526). S527).

【0061】次に、リーダー部側の通信条件再設定のた
めに100msecのウェイトを行った後に、‘通信再
開’メッセージを送信して(S529)、通常の処理を
開始する(S530)。
Next, after a wait of 100 msec is performed for resetting the communication conditions on the leader side, a 'communication resume' message is transmitted (S529), and normal processing is started (S530).

【0062】以上説明したように、本実施の形態例によ
れば、コントローラ部とリーダー部とで、許容できるシ
リアル通信ボーレートが異なる場合においても、ROM
内のプログラムやバックアップされた設定値を変更する
ことなしに、自動的に最適なボーレートで通信を行うこ
とが可能となる。
As described above, according to the present embodiment, even when the allowable serial communication baud rate differs between the controller unit and the reader unit, the ROM
It is possible to automatically perform communication at the optimum baud rate without changing the program or the set value backed up.

【0063】尚、上記例では通信ネゴシエーションの処
理(ボーレートの決定)をリーダー部で行ったが、これ
をコントローラ部で行ってもよい。しかしながら、シス
テムに多くの構成要素が接続される場合には、コントロ
ーラ部で通信ネゴシエーションの処理を行うと時間がか
かるので、各接続された構成要素側で行うのが好まし
い。また、プリンタ部300とコントローラ部110と
の通信においても、全く同様の手順で通信条件の自動最
適設定が可能であるのは、前述の通りである。
In the above example, the communication negotiation process (determination of the baud rate) is performed by the reader unit, but this may be performed by the controller unit. However, when many components are connected to the system, it takes time to perform the communication negotiation processing in the controller unit. Therefore, it is preferable to perform the processing on each connected component side. As described above, in the communication between the printer unit 300 and the controller unit 110, the automatic optimal setting of the communication conditions can be performed in exactly the same procedure.

【0064】また、本発明は、複数の機器(例えばホス
トコンピュータ、インタフェイス機器、リーダ、プリン
タなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機、ファクシミリ装置
など)の内部に適用してもよい。
Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copier, a facsimile, etc.) Device).

【0065】また、本発明の目的は、前述したように実
施形態の機能を実現するソフトウェアのプログラムコー
ドを記録した記憶媒体(または記録媒体)を、システム
あるいは装置に供給し、そのシステムあるいは装置のコ
ンピュータ(またはCPUやMPU)が記憶媒体に格納された
プログラムコードを読み出し実行することによっても、
達成されることは言うまでもない。この場合、記憶媒体
から読み出されたプログラムコード自体が前述した実施
形態の機能を実現することになり、そのプログラムコー
ドを記憶した記憶媒体は本発明を構成することになる。
また、コンピュータが読み出したプログラムコードを実
行することにより、前述した実施形態の機能が実現され
るだけでなく、そのプログラムコードの指示に基づき、
コンピュータ上で稼働しているオペレーティングシステ
ム(OS)などが実際の処理の一部または全部を行い、その
処理によって前述した実施形態の機能が実現される場合
も含まれることは言うまでもない。
Further, an object of the present invention is to supply a storage medium (or a recording medium) in which a program code of software for realizing the functions of the embodiments is recorded to a system or an apparatus, and to provide the system or the apparatus with the storage medium. The computer (or CPU or MPU) reads and executes the program code stored in the storage medium,
Needless to say, this is achieved. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
In addition, by the computer executing the readout program code, not only the functions of the above-described embodiments are realized, but also based on the instructions of the program code,
It goes without saying that an operating system (OS) running on a computer performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0066】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into the memory provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the program code. Needless to say, the CPU included in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0067】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明した(図5に示す)フローチ
ャートに対応するプログラムコードが格納されることに
なる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the above-described flowchart (shown in FIG. 5).

【0068】[0068]

【発明の効果】以上説明したように、本発明によれば、
通信性能の異なる装置、例えば画像制御装置と画像入出
力装置とを接続しても、プログラムROMや不揮発性R
AMの設定値などを変更することなしに、自動的に最適
な条件で通信を行う装置間のデータ通信方法及びそのシ
ステムを提供することができる。
As described above, according to the present invention,
Even if devices having different communication performances, for example, an image control device and an image input / output device are connected, a program ROM or a non-volatile R
It is possible to provide a data communication method between devices that automatically perform communication under optimum conditions without changing an AM setting value and the like, and a system therefor.

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

【図1】本実施の形態の画像入出力システムの構成例を
表すブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of an image input / output system according to an embodiment.

【図2】本実施の形態の画像入出力システムの構成例を
示す断面図である。
FIG. 2 is a cross-sectional view illustrating a configuration example of an image input / output system according to the present embodiment.

【図3】本実施の形態のコントローラ部の構成例を示す
ブロック図である。
FIG. 3 is a block diagram illustrating a configuration example of a controller unit according to the present embodiment.

【図4】本実施の形態のリーダー部の構成例を示すブロ
ック図である。
FIG. 4 is a block diagram illustrating a configuration example of a reader unit according to the present embodiment.

【図5】本実施の形態の通信条件決定の処理手順の一例
を示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of a processing procedure for determining a communication condition according to the embodiment;

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 画像制御装置と、1つまたは複数の画像
入出力装置とを組み合わせて構成する画像処理システム
であって、 前記画像入出力装置と前記画像制御装置とは通信手段に
よって接続され、 前記画像制御装置は前記通信手段に接続される第1の通
信制御手段を持ち、 前記画像入出力装置は前記通信手段に接続される第2の
通信制御手段を持ち、 初期化時に、所定の通信条件を前記第1及び第2の通信
制御手段に設定して、前記通信手段を介してやり取りし
た互いの通信能力をもとに通信条件を決定し、該決定し
た通信条件を前記第1及び第2の通信制御手段に設定し
直して、それ以降の通信を継続するよう制御する制御手
段とを有することを特徴とする画像処理システム。
An image processing system configured by combining an image control device and one or more image input / output devices, wherein the image input / output device and the image control device are connected by communication means, The image control device has first communication control means connected to the communication means, and the image input / output device has second communication control means connected to the communication means. A condition is set in the first and second communication control means, a communication condition is determined based on mutual communication capabilities exchanged via the communication means, and the determined communication condition is determined by the first and second communication control means. 2. An image processing system, comprising: control means for resetting the communication control means to the second communication control means and controlling to continue communication thereafter.
【請求項2】 前記制御手段は、前記画像制御装置にあ
って前記第1の通信制御手段を制御する第1の制御手段
と、前記画像入出力装置にあって前記第2の通信制御手
段を制御する第2の制御手段とを含むことを特徴とする
請求項1記載の画像処理システム。
2. The image processing apparatus according to claim 1, wherein said control means includes: first control means for controlling said first communication control means in said image control device; and said second communication control means in said image input / output device. 2. The image processing system according to claim 1, further comprising a second control unit for controlling the image processing.
【請求項3】 前記通信条件の決定は、前記第1の制御
手段で実行されることを特徴とする請求項2記載の画像
処理システム。
3. The image processing system according to claim 2, wherein the determination of the communication condition is executed by the first control unit.
【請求項4】 前記通信条件の決定は、前記第2の制御
手段で実行されることを特徴とする請求項2記載の画像
処理システム。
4. The image processing system according to claim 2, wherein the determination of the communication condition is executed by the second control unit.
【請求項5】 前記通信条件の決定は、前記第1及び第
2の通信制御手段のそれぞれの最大能力のより低い方へ
の決定であることを特徴とする請求項1又は3又は4記
載の画像処理システム。 【請求項5】 前記画像入出力装置として画像読取装置
を接続し、画像読取システムとして動作することを特徴
とする請求項1記載の画像処理システム。
5. The communication method according to claim 1, wherein the determination of the communication condition is a determination of a lower maximum capacity of each of the first and second communication control means. Image processing system. 5. The image processing system according to claim 1, wherein an image reading device is connected as said image input / output device, and operates as an image reading system.
【請求項6】 前記画像入出力装置として画像形成装置
を接続し、画像形成システムとして動作することを特徴
とする請求項1記載の画像処理システム。
6. The image processing system according to claim 1, wherein an image forming apparatus is connected as said image input / output device, and operates as an image forming system.
【請求項7】 前記画像入出力装置として画像読取装置
と画像形成装置とを接続し、画像入出力システムとして
動作することを特徴とする請求項1記載の画像処理シス
テム。
7. The image processing system according to claim 1, wherein an image reading device and an image forming device are connected as said image input / output device and operate as an image input / output system.
【請求項8】 前記通信手段として調歩同期式シリアル
通信手段を用い、前記通信制御手段としてシリアル通信
コントローラを用い、前記通信条件を通信ボーレートと
する場合、前記画像入出力装置が許容する最大ボーレイ
トと、前記画像制御装置が許容する最大のボーレートの
内の小さい方をボーレイトとして決定することを特徴と
する請求項1乃至7のいずれか1つに記載の画像処理シ
ステム。
8. When a start-stop synchronous serial communication unit is used as the communication unit, a serial communication controller is used as the communication control unit, and the communication condition is a communication baud rate, a maximum baud rate allowed by the image input / output device is determined. 8. The image processing system according to claim 1, wherein a smaller one of the maximum baud rates allowed by the image control device is determined as the baud rate.
【請求項9】 複数の装置を組み合わせて通信手段で接
続して構成するシステムであって、 第1の装置は前記通信手段に接続される第1の通信制御
手段を持ち、 第2の装置は前記通信手段に接続される第2の通信制御
手段を持ち、 初期化時に、所定の通信条件を前記第1及び第2の通信
制御手段に設定して、前記通信手段を介してやり取りし
た互いの通信能力をもとに通信条件を決定し、該決定し
た通信条件を前記第1及び第2の通信制御手段に設定し
直して、それ以降の通信を継続するよう制御する制御手
段とを有することを特徴とするシステム。
9. A system in which a plurality of devices are combined and connected by communication means, wherein the first device has first communication control means connected to the communication means, and the second device has A second communication control unit connected to the communication unit, and at the time of initialization, a predetermined communication condition is set in the first and second communication control units, and each other exchanged via the communication unit; Control means for determining a communication condition based on the communication capability, resetting the determined communication condition in the first and second communication control means, and controlling to continue the communication thereafter. A system characterized by the following.
【請求項10】 前記通信手段として調歩同期式シリア
ル通信手段を用い、前記通信制御手段としてシリアル通
信コントローラを用い、前記通信条件を通信ボーレート
とする場合、一方の装置が許容する最大ボーレイトと、
他方の装置が許容する最大のボーレートの内の小さい方
をボーレイトとして決定することを特徴とする請求項9
記載のシステム。
10. When a start-stop synchronous serial communication means is used as said communication means, a serial communication controller is used as said communication control means, and said communication condition is a communication baud rate,
10. The system according to claim 9, wherein a smaller one of the maximum baud rates allowed by the other device is determined as the baud rate.
The described system.
【請求項11】 画像制御装置と、1つまたは複数の画
像入出力装置とを組み合わせて構成され、前記画像入出
力装置と前記画像制御装置とが通信手段によって接続さ
れている画像処理システムのデータ通信方法であって、 前記画像制御装置が前記通信手段に接続される第1の通
信制御手段を持ち、前記画像入出力装置が前記通信手段
に接続される第2の通信制御手段を持つ場合に、 初期化時に、所定の通信条件を前記第1及び第2の通信
制御手段に設定する初期通信条件設定工程と、 前記通信手段を介してやり取りした互いの通信能力をも
とに通信条件を決定する通信条件決定工程と、 該決定した通信条件を前記第1及び第2の通信制御手段
に設定し直して、それ以降の通信を継続する通信条件更
新工程とを含むことを特徴とするデータ通信方法。
11. An image processing system comprising a combination of an image control device and one or more image input / output devices, wherein the image input / output device and the image control device are connected by communication means. A communication method, wherein the image control device has a first communication control device connected to the communication device, and the image input / output device has a second communication control device connected to the communication device. An initial communication condition setting step of setting predetermined communication conditions in the first and second communication control means at the time of initialization; and determining communication conditions based on mutual communication capabilities exchanged via the communication means. And a communication condition updating step of resetting the determined communication conditions in the first and second communication control means and continuing communication thereafter. Shin method.
【請求項12】 前記画像制御装置にあって前記第1の
通信制御手段を制御する第1の制御手段と、前記画像入
出力装置にあって前記第2の通信制御手段を制御する第
2の制御手段とを含み、 前記初期通信条件設定工程では、 前記第1及び第2の制御手段が所定の通信条件をそれぞ
れ前記第1及び第2の通信制御手段に設定し、 前記通信条件決定工程では、 前記第1の制御手段が、前記第1の通信制御手段と前記
通信手段とを介して、前記第1の制御手段及び第1の通
信制御手段が許容し得る最高能力の通信条件を前記第2
の制御手段に送信し、 前記第2の制御手段が、前記第2の制御手段及び第2の
通信制御手段が許容しうる最高能力の通信条件と、前記
第1の制御手段から送信された通信条件とを比較し、そ
の低い方の能力に対応する通信条件を新たな通信条件と
して決定し、決定した通信条件を前記第2の通信制御手
段と前記通信手段とを介して前記第1の制御手段に返信
し、 前記通信条件更新工程では、 前記第2の制御手段が、前記決定した通信条件を前記第
2の通信制御手段に設定し、 前記第1の制御手段が、前記返信された通信条件を前記
第1の通信制御手段に設定することを特徴とする請求項
11記載のデータ通信方法。
12. A first control means for controlling the first communication control means in the image control device, and a second control means for controlling the second communication control means in the image input / output device. Control means, wherein in the initial communication condition setting step, the first and second control means set predetermined communication conditions in the first and second communication control means, respectively, and in the communication condition determination step, The first control means, via the first communication control means and the communication means, sets a communication condition of the highest capacity that the first control means and the first communication control means can tolerate; 2
The second control means communicates with the communication condition of the highest capacity allowable by the second control means and the second communication control means, and the communication transmitted from the first control means. The communication condition corresponding to the lower capability is determined as a new communication condition, and the determined communication condition is determined by the first control via the second communication control means and the communication means. In the communication condition updating step, the second control means sets the determined communication condition in the second communication control means, and the first control means transmits the returned communication 12. The data communication method according to claim 11, wherein a condition is set in said first communication control means.
【請求項13】 前記画像制御装置にあって前記第1の
通信制御手段を制御する第1の制御手段と、前記画像入
出力装置にあって前記第2の通信制御手段を制御する第
2の制御手段とを含み、 前記初期通信条件設定工程では、 前記第1及び第2の制御手段が所定の通信条件をそれぞ
れ前記第1及び第2の通信制御手段に設定し、 前記通信条件決定工程では、 前記第2の制御手段が、前記第2の通信制御手段と前記
通信手段とを介して、前記第2の制御手段及び第2の通
信制御手段が許容し得る最高能力の通信条件を前記第1
の制御手段に送信し、 前記第1の制御手段が、前記第1の制御手段及び第1の
通信制御手段が許容しうる最高能力の通信条件と、前記
第2の制御手段から送信された通信条件とを比較し、そ
の低い方の能力に対応する通信条件を新たな通信条件と
して決定し、決定した通信条件を前記第2の通信制御手
段と前記通信手段とを介して前記第2の制御手段に返信
し、 前記通信条件更新工程では、 前記第1の制御手段が、前記決定した通信条件を前記第
1の通信制御手段に設定し、 前記第2の制御手段が、前記返信された通信条件を前記
第2の通信制御手段に設定することを特徴とする請求項
11記載のデータ通信方法。
13. A first control means in the image control device for controlling the first communication control means, and a second control means in the image input / output device for controlling the second communication control means. Control means, wherein in the initial communication condition setting step, the first and second control means set predetermined communication conditions in the first and second communication control means, respectively, and in the communication condition determination step, The second control means, via the second communication control means and the communication means, sets a communication condition of the highest capacity that the second control means and the second communication control means can tolerate; 1
And the first control means communicates with the communication condition of the highest capacity that the first control means and the first communication control means can tolerate, and the communication transmitted from the second control means. The second communication control means and the communication means determine the communication condition corresponding to the lower capability as a new communication condition, and determine the determined communication condition via the second communication control means and the communication means. In the communication condition updating step, the first control means sets the determined communication condition in the first communication control means, and the second control means sets 12. The data communication method according to claim 11, wherein conditions are set in said second communication control means.
【請求項14】 前記通信条件を設定し直した後、所定
時間経過してから通信を再開することを特徴とする請求
項11乃至13のいずれか1つに記載のデータ通信方
法。
14. The data communication method according to claim 11, wherein the communication is restarted after a predetermined time has elapsed after resetting the communication conditions.
【請求項15】 前記通信手段として調歩同期式シリア
ル通信手段を用い、前記通信制御手段としてシリアル通
信コントローラを用い、前記通信条件を通信ボーレート
とする場合、前記画像入出力装置が許容する最大ボーレ
イトと、前記画像制御装置が許容する最大のボーレート
の内の小さい方をボーレイトとして決定することを特徴
とする請求項11乃至14のいずれか1つに記載のデー
タ通信方法。
15. When a start-stop synchronous serial communication unit is used as the communication unit, a serial communication controller is used as the communication control unit, and the communication condition is a communication baud rate, a maximum baud rate allowed by the image input / output device is determined. 15. The data communication method according to claim 11, wherein a smaller one of the maximum baud rates allowed by the image control device is determined as a baud rate.
【請求項16】 複数の装置を組み合わせて通信手段で
接続して構成するシステムのデータ通信方法であって、 第1の装置は前記通信手段に接続される第1の通信制御
手段を持ち、第2の装置は前記通信手段に接続される第
2の通信制御手段を持つ場合に、 初期化時に、所定の通信条件を前記第1及び第2の通信
制御手段に設定し、 前記通信手段を介してやり取りした互いの通信能力をも
とに通信条件を決定し、 該決定した通信条件を前記第1及び第2の通信制御手段
に設定し直して、それ以降の通信を継続することを特徴
とするデータ通信方法。
16. A data communication method for a system in which a plurality of devices are combined and connected by communication means, wherein the first device has first communication control means connected to the communication means, When the second device has a second communication control unit connected to the communication unit, at the time of initialization, a predetermined communication condition is set in the first and second communication control units, and The communication conditions are determined based on the mutual communication capabilities exchanged with each other, the determined communication conditions are reset in the first and second communication control means, and the subsequent communication is continued. Data communication method.
【請求項17】 前記通信手段として調歩同期式シリア
ル通信手段を用い、前記通信制御手段としてシリアル通
信コントローラを用い、前記通信条件を通信ボーレート
とする場合、一方の装置が許容する最大ボーレイトと、
他方の装置が許容する最大のボーレートの内の小さい方
をボーレイトとして決定することを特徴とする請求項1
6記載のデータ通信方法。
17. When a start-stop synchronous serial communication unit is used as the communication unit, a serial communication controller is used as the communication control unit, and the communication condition is a communication baud rate, a maximum baud rate permitted by one of the devices,
2. The apparatus according to claim 1, wherein a smaller one of the maximum baud rates allowed by the other device is determined as the baud rate.
6. The data communication method according to 6.
【請求項18】 画像制御装置と、1つまたは複数の画
像入出力装置とを組み合わせて構成され、前記画像入出
力装置と前記画像制御装置とが通信手段によって接続さ
れている画像処理システムの通信制御プログラムをコン
ピュータ読み出し可能に記憶する記憶媒体であって、 前記画像制御装置が前記通信手段に接続される第1の通
信制御手段を持ち、前記画像入出力装置が前記通信手段
に接続される第2の通信制御手段を持つ場合に、 前記通信制御プログラムが、 初期化時に、所定の通信条件を前記第1及び第2の通信
制御手段に設定する初期通信条件設定ステップと、 前記通信手段を介してやり取りした互いの通信能力をも
とに通信条件を決定する通信条件決定ステップと、 該決定した通信条件を前記第1及び第2の通信制御手段
に設定し直して、それ以降の通信を継続する通信条件更
新ステップとを含むことを特徴とする記憶媒体。
18. A communication system for an image processing system comprising a combination of an image control device and one or more image input / output devices, wherein said image input / output device and said image control device are connected by communication means. A computer-readable storage medium storing a control program, wherein the image control device has first communication control means connected to the communication means, and the image input / output device is connected to the communication means. An initial communication condition setting step of setting predetermined communication conditions in the first and second communication control means at the time of initialization; Condition determining step of determining communication conditions based on mutual communication capabilities exchanged with each other, and setting the determined communication conditions in the first and second communication control means. And re-storage medium characterized by comprising a communication condition update step to continue further communication.
【請求項19】 前記通信制御プログラムが、前記画像
制御装置にあって前記第1の通信制御装置を制御する第
1の制御装置が実行するプログラムと、前記画像入出力
装置にあって前記第2の通信制御装置を制御する第2の
制御装置が実行するプログラムとを含むことを特徴とす
る請求項18記載の記憶媒体。
19. The program according to claim 19, wherein the communication control program is a program executed by a first control device for controlling the first communication control device in the image control device; 19. The storage medium according to claim 18, further comprising: a program executed by a second control device that controls the communication control device.
JP11196497A 1999-07-09 1999-07-09 Method and system for data communication between devices Pending JP2001022690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11196497A JP2001022690A (en) 1999-07-09 1999-07-09 Method and system for data communication between devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11196497A JP2001022690A (en) 1999-07-09 1999-07-09 Method and system for data communication between devices

Publications (1)

Publication Number Publication Date
JP2001022690A true JP2001022690A (en) 2001-01-26

Family

ID=16358758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11196497A Pending JP2001022690A (en) 1999-07-09 1999-07-09 Method and system for data communication between devices

Country Status (1)

Country Link
JP (1) JP2001022690A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406500B2 (en) 2003-05-20 2008-07-29 International Business Machines Corporation Techniques for providing a virtual workspace comprised of a multiplicity of electronic devices
US7694060B2 (en) 2005-06-17 2010-04-06 Intel Corporation Systems with variable link widths based on estimated activity levels
US8046488B2 (en) 2004-05-21 2011-10-25 Intel Corporation Dynamically modulating link width
US8868955B2 (en) 2011-07-01 2014-10-21 Intel Corporation Enhanced interconnect link width modulation for power savings
US9053244B2 (en) 2012-06-28 2015-06-09 Intel Corporation Utilization-aware low-overhead link-width modulation for power reduction in interconnects
US9183171B2 (en) 2012-09-29 2015-11-10 Intel Corporation Fast deskew when exiting low-power partial-width high speed link state

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406500B2 (en) 2003-05-20 2008-07-29 International Business Machines Corporation Techniques for providing a virtual workspace comprised of a multiplicity of electronic devices
US7720909B2 (en) 2003-05-20 2010-05-18 International Business Machines Corporation Techniques for providing a virtual workspace comprised of a multiplicity of electronic devices
US8046488B2 (en) 2004-05-21 2011-10-25 Intel Corporation Dynamically modulating link width
US8914541B2 (en) 2004-05-21 2014-12-16 Intel Corporation Dynamically modulating link width
US9794349B2 (en) 2004-05-21 2017-10-17 Intel Corporation Dynamically modulating link width
US7694060B2 (en) 2005-06-17 2010-04-06 Intel Corporation Systems with variable link widths based on estimated activity levels
US8868955B2 (en) 2011-07-01 2014-10-21 Intel Corporation Enhanced interconnect link width modulation for power savings
US9053244B2 (en) 2012-06-28 2015-06-09 Intel Corporation Utilization-aware low-overhead link-width modulation for power reduction in interconnects
US9336175B2 (en) 2012-06-28 2016-05-10 Intel Corporation Utilization-aware low-overhead link-width modulation for power reduction in interconnects
US9183171B2 (en) 2012-09-29 2015-11-10 Intel Corporation Fast deskew when exiting low-power partial-width high speed link state

Similar Documents

Publication Publication Date Title
US7334146B2 (en) Method for controlling an image processing apparatus based on a power supply status
US20060164675A1 (en) Image Processing Apparatus, Information Processing Apparatus, Information Processing System, Information Processing Method, and Storage Medium
US20090201558A1 (en) Image forming apparatus and control method
US8713698B2 (en) Data communication apparatus, method of controlling the same, program, and storage medium
JP2000194527A (en) Image processing system and its control method
JPH11331529A (en) Image processor and its data processing method and storage medium storing computer readable program
JP2001022690A (en) Method and system for data communication between devices
JP2007116457A (en) Image forming apparatus
US9336463B2 (en) Image forming apparatus capable of changing partitions of storage unit, and control method and storage medium therefor
US7106463B1 (en) Controlling packet length for transfer between devices
US8411314B2 (en) Image forming apparatus for forming an image by transferring an image onto an intermediate transfer member, image forming method, and storage medium
JP2010004271A (en) Image processing device
JP2009145579A (en) Image output device
JP2006252094A (en) Image processor
JP3176996B2 (en) MFP
JP5932511B2 (en) Information processing apparatus, software update method, and computer program
JP2006039766A (en) Image input-output apparatus, control method and programs
JP2000347829A (en) Image forming device, program selecting method, and storage medium
JP2001285600A (en) Image-processing unit and control method for the image- processing unit
JP2001211276A (en) Image processor and its control method
JP2003330336A (en) Image forming device
JP2001103256A (en) Image processing system
JP2000238386A (en) Print host, printer and print system comprising them
JP2006020029A (en) Image input/output device
JP5808136B2 (en) Image forming apparatus, control method thereof, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041214

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20041214

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20041214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071005

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080215