JP2006225108A - Image forming device, and data communication method - Google Patents
Image forming device, and data communication method Download PDFInfo
- Publication number
- JP2006225108A JP2006225108A JP2005041181A JP2005041181A JP2006225108A JP 2006225108 A JP2006225108 A JP 2006225108A JP 2005041181 A JP2005041181 A JP 2005041181A JP 2005041181 A JP2005041181 A JP 2005041181A JP 2006225108 A JP2006225108 A JP 2006225108A
- Authority
- JP
- Japan
- Prior art keywords
- external
- main body
- command
- external device
- information
- 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.)
- Granted
Links
Images
Landscapes
- Control Or Security For Electrophotography (AREA)
- Controlling Sheets Or Webs (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、例えば電子写真方式、静電記憶方式の複写機、プリンタなどの画像形成装置に関し、特に外部装置との間のデータの通信方法に特徴を有する画像形成装置に関するものである。 The present invention relates to an image forming apparatus such as an electrophotographic type or electrostatic storage type copying machine or printer, and more particularly to an image forming apparatus characterized by a data communication method with an external device.
従来の通信インタフェースには、装置本体に複数の外部装置を順次バス接続し、装置本体からの所定の処理を複数の外部装置が同時に認識し、処理にあわせて外部装置が動作をするように構成したものがある(参考文献1参照)。また、下位装置内の内部状態の変化を上位装置に報知する手段を設けた機内通紙インタフェースを設けたものがある(参考文献2参照)。 The conventional communication interface is configured so that multiple external devices are sequentially connected to the main unit by a bus, so that multiple external devices can simultaneously recognize a predetermined process from the main unit, and the external device can operate according to the processing. (See Reference 1). In addition, there is an in-flight paper passing interface provided with means for notifying the host device of changes in the internal state in the lower device (see Reference 2).
しかしながら、上記従来例では、装置本体からの指令に関する通信回数を減らす事は出来るものの、増設された複数の外部装置の状態を監視する場合には、装置本体から各外部装置に対して、外部装置の状態を示すステータスデータ(例えばセンサ情報等)を要求する指令を送信し、各外部装置からの個別のステータス情報を取得する必要があった。そのため、装置本体は、装置全体の用紙搬送状態を監視するために、増設されている外部装置の数だけ通信を行う必要があり、通信負荷が増大してしまうという欠点があった。 However, in the above conventional example, although the number of communications related to commands from the apparatus main body can be reduced, when monitoring the status of a plurality of added external apparatuses, the external apparatus is connected to each external apparatus from the apparatus main body. It is necessary to transmit a command requesting status data (for example, sensor information) indicating the status of each and acquire individual status information from each external device. For this reason, the apparatus main body needs to perform communication for the number of external apparatuses added in order to monitor the sheet conveyance state of the entire apparatus, which has a drawback in that the communication load increases.
また、特許文献2の様に、装置の内部状態を報知する信号を設ける場合も、報知するために信号線が必要な事と、装置本体の内部変化を知ったあとで各外部装置の中で変化した外部装置を特定するためにステータスデータを要求する指令を順次送出しなければならず、すべての増設ユニットに対してステータスデータを受け取らないと装置全体の状態を確認できないという欠点があった。
Also, as in
画像形成装置の場合、給紙オプションとしての外部装置、排紙オプションとしての外部装置、両面オプションとしての外部装置が装着される場合があり、これら外部装置が複数装着可能な画像形成装置において、最大のパフォーマンスを出す(例えば、単位時間あたりのプリント枚数を最大にするように制御する)ためには、装置本体は、これら全ての外部装置の用紙搬送状態を常に監視しなければならない。 In the case of an image forming apparatus, an external apparatus as a paper feed option, an external apparatus as a paper discharge option, and an external apparatus as a double-sided option may be installed. In order to achieve the above performance (for example, control is performed so as to maximize the number of prints per unit time), the main body of the apparatus must always monitor the sheet conveyance state of all these external apparatuses.
そこで、本発明は、上記従来技術に鑑みてなされたもので、例えば、クロック同期シリアル通信に必要なデータ信号線とクロック信号線以外に信号線を増やすことなく、装置全体の状態を監視するための通信回数を減らすことが可能な画像形成装置およびデータ通信方法を提供することを目的としている。 Therefore, the present invention has been made in view of the above-described conventional technology, for example, to monitor the state of the entire apparatus without increasing the number of signal lines other than the data signal lines and clock signal lines necessary for clock synchronous serial communication. An object of the present invention is to provide an image forming apparatus and a data communication method capable of reducing the number of times of communication.
本発明は、装置本体と、前記装置本体に接続される複数の外部装置とを有し、前記装置本体と前記複数の外部装置との間のデータの送受信を共通のクロック同期通信線を用いて行う画像形成システムであって、前記装置本体は、特定の外部装置に対して所定の処理の実行を指示する際に、前記特定の外部装置を識別するための固有情報を付加したコマンドを、前記装置本体に接続された全ての外部装置に対して前記通信線を介して一斉に送信するコマンド送信手段を有し、前記各外部装置は、前記送信されたコマンドに応答する際に、前記コマンドに付加された固有情報に該当する場合は当該コマンドに応答するデータを含む当該固有情報に該当する外部装置に係わる状態情報を前記共通のクロックの所定のタイミングで前記装置本体に送信し、前記固有情報に該当しない場合は当該固有情報に該当しない外部装置に係わる状態情報を前記共通のクロックの前記所定のタイミングとは別のタイミングで前記装置本体に送信するステータス送信手段を有することを特徴とする。 The present invention has a device main body and a plurality of external devices connected to the device main body, and uses a common clock synchronous communication line to transmit and receive data between the device main body and the plurality of external devices. In the image forming system to perform, when the apparatus main body instructs a specific external apparatus to execute a predetermined process, a command to which specific information for identifying the specific external apparatus is added Command transmission means for transmitting all of the external devices connected to the apparatus main body simultaneously via the communication line, and each of the external devices responds to the transmitted command with the command. When it corresponds to the added unique information, status information related to the external device corresponding to the unique information including data responding to the command is transmitted to the device main body at a predetermined timing of the common clock. And status transmission means for transmitting status information relating to an external device not corresponding to the specific information to the device main body at a timing different from the predetermined timing of the common clock when the specific information does not correspond to the specific information. Features.
本発明によれば、接続されている全ての外部装置とのデータ送受信を共通のクロック同期通信線を介して行う際に、接続された外部装置の内部情報を取得するためのステータス要求コマンドを個別に送信しなくても、装置本体がこれら全ての外部装置の内部情報を常に監視することが可能となり、通信回数を減らすことができる。 According to the present invention, when data transmission / reception with all connected external devices is performed via a common clock synchronous communication line, status request commands for acquiring internal information of the connected external devices are individually provided. Even if it is not transmitted to the device, the device main body can always monitor the internal information of all these external devices, and the number of communications can be reduced.
以下、本発明に係わる画像形成装置を図面に則して更に詳しく説明する。尚、次に説明する実施例では、図1に示す多色画像形成装置の場合を例に説明する。ただし、本発明は、複数の外部装置が接続可能な装置に適用できるものであり、特に電子写真プロセスを使用した画像形成装置に限定されるものではない。 The image forming apparatus according to the present invention will be described below in more detail with reference to the drawings. In the embodiment described below, the case of the multicolor image forming apparatus shown in FIG. 1 will be described as an example. However, the present invention can be applied to an apparatus to which a plurality of external apparatuses can be connected, and is not particularly limited to an image forming apparatus using an electrophotographic process.
(実施例1)
以下の図面を参照して、本実施例を説明する。
Example 1
The present embodiment will be described with reference to the following drawings.
本実施例では、多色画像形成装置としてのカラーレーザープリンタを装置本体、増設可能なオプション給紙装置やオプション排紙装置を外部装置とし、増設されるオプション給紙装置は全て同じ装置構成であることを前提とする。 In this embodiment, a color laser printer as a multi-color image forming apparatus is an apparatus main body, an optional sheet feeding apparatus and an optional sheet discharging apparatus that can be added are external apparatuses, and the optional sheet feeding apparatuses to be added all have the same apparatus configuration. Assuming that.
複数の外部装置が接続された画像形成装置において、装置全体として最大のスループット(単位時間あたりのプリント枚数)を出すためには、各外部装置の用紙搬送状態を常にモニタする必要がある。各外部装置に対して個別に搬送センサ状態を確認するための通信を行うと、外部装置毎の搬送センサの情報が更新されるまでの時間が長くなり、最適な用紙搬送制御が行えない。(例えば、特に紙搬送速度がより高速になる場合に、搬送センサの情報の更新が遅れてしまうと、その遅れた時間分、搬送速度を落としたり搬送を停止させたりする必要がでるためスループットが遅くなってしまい最適な紙搬送制御が行えない。)
本実施例では、上記問題に鑑み、給紙オプションとしての外部装置、排紙オプションとしての外部装置が並列に接続され、接続されている全ての外部装置とのデータ送受信は共通のクロック同期シリアル通信で行われる構成の画像形成装置において、接続された外部装置に各々搬送センサの情報を取得するためのステータス要求コマンドを送信しなくても、装置本体がこれら全ての外部装置の用紙搬送状態を常に監視する方法について説明する。
In an image forming apparatus to which a plurality of external devices are connected, in order to obtain the maximum throughput (number of prints per unit time) as a whole device, it is necessary to constantly monitor the paper conveyance state of each external device. If communication for confirming the conveyance sensor state is individually performed for each external apparatus, it takes a long time to update the conveyance sensor information for each external apparatus, and optimal sheet conveyance control cannot be performed. (For example, especially when the paper transport speed is higher, if the update of the information of the transport sensor is delayed, it is necessary to reduce the transport speed or stop the transport for the delayed time, thereby increasing the throughput. It will be late and optimal paper transport control cannot be performed.)
In this embodiment, in view of the above problems, an external device as a paper feed option and an external device as a paper discharge option are connected in parallel, and data transmission / reception with all the connected external devices is a common clock synchronous serial communication. In the image forming apparatus configured as described above, the main body of the apparatus always keeps the paper conveyance state of all these external devices without transmitting a status request command for acquiring information of each conveyance sensor to the connected external device. The monitoring method will be described.
具体的には、装置本体から特定の外部装置へ所定動作を指示するシリアル出力(以後、「コマンド」という)に対する、外部装置から装置本体へのシリアル出力(以後、「ステータス」という)一部を各外部装置の用紙搬送路上のセンサ出力として使用するというものである。 Specifically, a part of serial output (hereinafter referred to as “status”) from the external device to the device main body with respect to serial output (hereinafter referred to as “command”) instructing a predetermined operation from the device main body to a specific external device. It is used as a sensor output on the paper conveyance path of each external device.
図1は各実施例共通に適用されるカラーレーザープリンタの全体構成図である。 FIG. 1 is an overall configuration diagram of a color laser printer that is commonly applied to each embodiment.
(全体構成)
図1に示す画像形成装置100は、4個の像担持体である感光体ドラム1(1a〜1d)を有している。それぞれの感光体ドラム1a〜1dの周囲には回転方向に従って順に、感光体ドラム表面を一様に帯電する帯電手段2(2a〜2d)、画像情報に基づいてレーザービームを照射し感光体ドラム上に静電潜像を形成する露光手段3(3a〜3d)、静電潜像にトナーを付着させてトナー像として顕像化する現像手段4(4a〜4d)、感光体ドラム上のトナー像を用紙に転写させる転写部材5(5a〜5d)、転写後の感光体ドラム表面に残留した転写後トナーを除去するクリーニング手段6(6a〜6d)等が配設されて、画像形成手段が構成されている。
(overall structure)
The
ここで、感光体ドラム1と帯電手段2、現像手段4、クリーニング手段6は一体的にカートリッジ化され、プロセスカートリッジ7(7a〜7d)を形成している。
Here, the
給送部20a〜20cから給送された用紙は、搬送ベルトで構成した搬送手段9によって上記画像形成手段へ搬送され、各色のトナー像が順次転写されて多色画像が形成された後、定着手段10で加熱定着されて排出ローラ対11によって排出装置50に排出される。
The paper fed from the
(給送部)
本体給送部20aから画像形成する際には、カセットピックアップローラ21aによって一枚ずつ用紙が分離給送され、カセット搬送ローラ22aを介してレジストローラ15によって搬送手段9に搬送される。
(Feeding department)
When an image is formed from the main
20b、20c、はオプション給紙装置であり全て同一の装置である。本発明の外部装置に相当する。オプション給紙装置から用紙を給紙して画像形成する場合には、オプション給紙装置のピックアップローラ21b、21cによって一枚ずつ用紙が分離給送され、オプション給紙装置の搬送ローラ22b、22c、中間搬送ローラ23b、23cを介して、本体カセットの搬送ローラ23a、レジストローラ15によって搬送手段9に搬送される。
(画像形成部)
像担持体としての感光体ドラム1は、アルミニウム製シリンダの外周面に有機光導電体層(OPC)を塗布して構成したものである。感光体ドラム1はその両端部をフランジによって回転自在に支持しており、一方の端部に図示しない駆動モータから駆動力を伝達することにより、図に対して反時計回りに回転駆動される。
(Image forming part)
The
各帯電手段2は、ローラ状に形成された導電性のローラで、これを感光体ドラム1表面に当接させると共に、図示しない電源によって帯電バイアス電圧を印加することにより、感光体ドラム1表面を一様に帯電させるものである。
Each
露光手段3はポリゴンミラーを有し、このポリゴンミラーには図示しないレーザーダイオードから画像信号に対応する画像光が照射される。 The exposure means 3 has a polygon mirror. The polygon mirror is irradiated with image light corresponding to an image signal from a laser diode (not shown).
現像手段4は、それぞれブラック、シアン、マゼンタ、イエローの各色のトナーを収納したトナー収納部4a1〜4d1、感光体表面に隣接し、図示しない駆動部により回転駆動されると共に、図示しない現像バイアス電源により現像バイアス電圧を印可することにより現像を行う現像ローラ4a2〜4d2等から構成される。 The developing unit 4 is adjacent to the toner storage units 4a1 to 4d1 that store toners of black, cyan, magenta, and yellow, respectively, and is rotated by a driving unit (not shown), and a developing bias power source (not shown) The developing rollers 4a2 to 4d2 and the like that perform development by applying a developing bias voltage.
また、後述する転写搬送ベルト9の内側には、4個の感光体ドラム1a〜1dに対向して、転写搬送ベルト9に当接する転写部材5a〜5dがそれぞれ併設されている。これら転写部材5a〜5dは図示しない転写バイアス用電源で接続されており、転写部材5a〜5dから正極性の電化が転写搬送ベルト9を介して用紙に印加され、この電界により感光体ドラム1に接触中の用紙に、感光体ドラム1上の負極性の各色トナー像が順次転写され、多色画像が形成される。
In addition, transfer
(用紙搬送詳細)
給送部20a〜20cより給送された用紙は、搬送手段9によって画像形成領域に搬送される。搬送手段9を構成する記録材担持体としての転写搬送ベルトは、駆動ローラ9aと従動コロ9b,9cで張架支持され、すべての感光体ドラム1a〜1dに対向して配設されている。転写搬送ベルト9は、感光体ドラム1に対向する外周面に用紙を静電吸着して上記感光体ドラム1に用紙を接触させるべく、駆動ローラ9aによって循環移動する。これにより用紙は転写搬送ベルト9により転写位置まで搬送され、感光体ドラム1上のトナー像が転写される。
(Details of paper conveyance)
The sheets fed from the
また、転写搬送ベルト9の最上流位置には、該ベルト9と共に用紙を挟持し、かつ用紙をベルト9に吸着させる吸着ローラ9eが配設されている。用紙の搬送に際しては、前記吸着ローラ9eに電圧を印加することで、対向している設置された従動コロ9cとの間に電界を形成し、転写搬送ベルト9及び用紙の間に誘電分極を発生させて両者に静電吸着力を生じさせるようになっている。
Further, at the most upstream position of the transfer / conveying
(定着部)
定着手段10は、用紙上に形成した画像に熱及び圧力を加えてトナー像を定着させるものであり、定着ベルト10aと弾性加圧ローラ10bとを有している。弾性加圧ローラ10bは定着ベルト10aを挟み、ベルトガイド部材と所定の圧接力をもって所定幅の定着ニップ部を形成している。
(Fixing part)
The fixing
定着ニップ部が所定の温度に立ち上がって温調された状態において、画像形成部から搬送された未定着トナー画像が形成された用紙が定着ニップ部の定着ベルト10aと弾性加圧ローラ10bとの間に画像面が上向き、即ち定着ベルト面に対向して導入され、定着ニップ部において画像面が定着ベルト10aの外面に密着して定着ベルト10aと一緒に定着ニップ部を挟持搬送されていく。
In a state where the fixing nip portion rises to a predetermined temperature and is temperature-controlled, the sheet on which the unfixed toner image conveyed from the image forming portion is formed is between the fixing
この定着ニップ部を定着ベルト10aと一緒に用紙が挟持搬送されていく過程において、定着ベルト10aで加熱され、用紙上の未定着トナー画像が加熱定着される。
In the process in which the sheet is nipped and conveyed through the fixing nip portion together with the fixing
(排紙部)
定着部から搬送された用紙は、排紙オプションとしての外部排紙装置50に搬送される。外部排紙装置50は、第1排紙ビン52、第2排紙ビン53、第3排紙ビン54で転写材を仕分けして積載するものである。各排紙ビンへの仕分けは、図示しないビン昇降モータにより、前記排紙ビン52〜53を上下に移動させて転写材を各ビンに仕分けする。
(Output section)
The paper conveyed from the fixing unit is conveyed to an external
図3は、装置本体と各外部装置とのシリアル通信方式の具体例を説明するためのタイミングチャートである。ここでは、装置本体100と排紙装置50との通信を例にあげて説明する。但し、装置本体100と給紙装置20b、装置本体100と給紙装置20cに関しても同様の方法で通信可能である。
FIG. 3 is a timing chart for explaining a specific example of a serial communication method between the apparatus main body and each external apparatus. Here, communication between the apparatus
301は通信開始タイミング、302は通信終了タイミングを示す。 301 indicates a communication start timing, and 302 indicates a communication end timing.
装置本体100は、通信開始前、CMD信号202の信号レベルをHIGHレベルに保持し、通信開始時(301)に、LOWレベルにする(306)。
The apparatus
一方、排紙装置50は、通信前、CMD割込み信号が接続されている割込みポート211(図2)の設定を割込み許可にする(312)。この割込みポートは、レベル割込みとなっていて、信号がLOWレベルとなると割込みが発生するようになっているため、通信開始時、装置本体100がCMD信号202(=CMD割込み信号)の信号レベルをHIGHからLOWに変化させた時(306)に、排紙装置50に割込みが発生することになる(以後、CMD割込み信号による割込みを「CMD割込み」という)。排紙装置50はCMD割込みが発生した時点で、通信の開始を判断し、割込みポート211が接続されている割込みポートの設定を割込み禁止にして(313)、コマンド受信の準備を行う。
On the other hand, before the communication, the
装置本体100はコマンド送信用のクロック(303)と、コマンド(307)を送信し、コマンド送信終了時に、CMD信号202の信号レベルをHIGHレベルにして(308)、次の通信開始(302)までその状態を保持する。その後、装置本体100は、CMD信号202の信号レベルをHIGHレベルにした後、ステータス受信用のクロック(304)を出力し、ステータス(311)を受信する。
The apparatus
排紙装置50は、コマンド(307)を受信すると、受信したコマンドを解析し、装置本体100に送信するステータスを準備する。その後、ステータス送信用のクロック(304)に同期してステータス(311)を送信し、ステータス送信終了と同時(314)に、CMD割込み信号202が接続されている割込みポート211の設定を割込み許可状態にして、次の通信開始に備える。
Upon receiving the command (307), the
図2は、装置本体が、接続された全ての外部装置に対して固有情報(以後、「デバイスID」という)を確定する方法を説明するためのブロック図である。 FIG. 2 is a block diagram for explaining a method in which the apparatus main body determines specific information (hereinafter referred to as “device ID”) for all connected external apparatuses.
装置本体100には、排紙オプションとしての外部装置(以後、「排紙装置」という)50と、給紙オプションとしての外部装置(以後、「給紙装置」という)20b、20cが接続されていている。装置本体100および各外部装置は、各々制御CPUを有し、各制御CPUは、内蔵のメモリまたは外部(不図示)のメモリ内に格納されたプログラム(図5,7,9,6,8,10に示す制御手順を含む。図5,7,9に示す制御手順は装置本体100の制御CPUに関するものであり、図6,8,10に示す制御手順は各外部装置に関するものである)に従って、装置本体または外部装置の各構成要素の動作を制御する。
Connected to the apparatus
装置本体100の制御CPU200と、排紙装置50の制御CPU210、給紙装置20bの制御CPU220、給紙装置20cの制御CPU230とのデータの送受信は、クロック信号(以後、「CLK信号」という201)、コマンド信号(以後、「CMD信号」という)202、ステータス信号(以後、「STS信号」という)203の3本で構成される共通のクロック同期シリアル信号線で行われる。
Data transmission / reception between the
CMD信号202は、排紙装置50内で分岐され、分岐されたCMD割込み信号は、排紙装置の制御CPU210の割込みポート211に接続されている。CMD割込み信号が接続されている排紙装置CPU210の割込みポート211は、レベル割込みとなっており、信号がLOWレベルとなると割込みが発生するようになっている。
The CMD signal 202 is branched in the
更に、排紙装置50は、下流への給紙装置20bへのCMD信号を接続、未接続するためのスイッチ(以後、「CMD信号スイッチ」という)212を持っている。CMD信号スイッチ212が接続状態の場合には、下流の給紙装置20bへCMD信号が接続されるため、装置本体100がCMD信号によって送信したデータは、排紙装置50と給紙装置20bへ送信される。CMD信号スイッチ212が未接続状態の場合は、装置本体100から送信されるデータは、排紙装置50から下流の給紙装置20bへは送信されない。給紙装置20b、給紙装置20cについても同様である。
Further, the
外部装置は、デバイスIDが一度も指定されていない場合は、下流の外部装置へのCMD信号スイッチを未接続状態にする。 If the device ID has never been specified, the external device sets the CMD signal switch to the downstream external device in an unconnected state.
装置本体100は、接続された全ての外部装置のデバイスIDを確定する場合、デバイスID番号(例えば、デバイスID=1)を指定したデバイスID指定コマンドを送信する。
When determining the device IDs of all connected external apparatuses, the apparatus
この時、排紙装置50は、CMD信号スイッチ212を未接続状態にしているため、デバイスID指定コマンドは、排紙装置50の下流に接続された給紙装置20b、給紙装置20cには送信されない。
At this time, since the
排紙装置50は、デバイスIDが未設定の場合に、デバイスID指定コマンドを受信すると、指定されたデバイスID(デバイスID=1)を自分のIDとして登録する。その後、CMD信号スイッチ212を接続状態にし、返送ステータスとして、デバイスID(デバイスID=1)を確定したこと旨を装置本体100に通知する。
When the device ID is not set and the device ID designation command is received, the
装置本体100は、接続される外部装置がデバイスID(デバイスID=1)を確定したことを確認すると、別のデバイスID番号(例えば、デバイスID=2)を指定した、デバイスID指定コマンドを送信する。
Upon confirming that the connected external apparatus has determined the device ID (device ID = 1), the apparatus
このとき、CMD信号スイッチ212は接続状態となっているため、デバイスID指定コマンドは、排紙装置50と、給紙装置20bへ送信されることになる。
At this time, since the
排紙装置50は、既にデバイスIDを確定(デバイスID=1)しているため、デバイスID指定(デバイスID=2)コマンドを無視する。
Since the
給紙装置20bは、デバイスIDが未設定であるため、デバイスID=2が指定されたデバイスID指定コマンドを受信すると、指定されたデバイスID(デバイスID=2)を自分のIDとして登録する。その後、CMD信号スイッチ222を接続状態にし、返送ステータスとして、デバイスID(デバイスID=2)を確定したこと旨を装置本体100に通知する。
Since the device ID is not set, the
以降、装置本体100は、外部装置から返送ステータスが返送されなくなるまで、異なるデバイスIDを指定したデバイスID指定コマンドを送信することによって、接続された全ての外部装置に固有のデバイスID番号をつけることが可能となる。
Thereafter, the apparatus
装置本体は、接続された全ての外部装置のデバイスIDを確定した後は、動作させたい外部装置のデバイスIDを指定したコマンドを送信することで、共通のクロック同期シリアル通信線を使って、全てのデバイスを別々に制御することが可能となる。 After confirming the device IDs of all connected external devices, the device body sends a command specifying the device IDs of the external devices that it wants to operate, using a common clock synchronous serial communication line. These devices can be controlled separately.
図4は、本実施例のコマンドとステータスの構成を表す図である。ここでは、デバイスIDが3の外部装置に対して特定のコマンドを送信した場合を例にして説明する。
コマンド構成は、第1ビットを1とし(404)、第2ビット〜第4ビットで外部装置を特定するためのデバイスID(405)、第5ビット〜第15ビットをコマンドの種類を特定するためのコマンドコード(406)とする。第16ビットには、コマンド全体の1の数が奇数になるように奇数パリティビット(407)を付加する。
FIG. 4 is a diagram illustrating the configuration of commands and statuses in this embodiment. Here, a case where a specific command is transmitted to an external device having a device ID of 3 will be described as an example.
In the command structure, the first bit is set to 1 (404), the device ID (405) for specifying the external device by the second bit to the fourth bit (405), and the command type from the fifth bit to the fifteenth bit are specified. Command code (406). An odd parity bit (407) is added to the 16th bit so that the number of 1s in the entire command becomes an odd number.
ステータス構成は、第1ビットを0とし(408)、第2ビットをデバイスID1の搬送センサ(51)出力(409)、第3ビットをデバイスID2の搬送センサ(24b)出力(410)、第4ビットをデバイスID3の搬送センサ(24c)出力(411)、第5ビット〜第15ビットで指定されたコマンドに対する返送ステータス情報(412、414)とする。第16ビットは、コマンドで指定されたペーパIDに対応する外部装置が返送するステータスデータのパリティピットとなっており、図4の場合、第1ビット(408)、第2ビット(411)、第5ビット〜第15ビット(412)の1の数が奇数になるような奇数パリティビット(413)となっている。 In the status configuration, the first bit is set to 0 (408), the second bit is the output of the transport sensor (51) (409) of the device ID1, the third bit is the output of the transport sensor (24b) of the device ID2 (410), the fourth The bits are the transport status (24c) output (411) of device ID3, and return status information (412, 414) for the command specified by the 5th to 15th bits. The 16th bit is a parity pit of status data returned by the external device corresponding to the paper ID specified by the command. In the case of FIG. 4, the first bit (408), the second bit (411), the second bit The odd parity bits (413) are such that the number of 1s from the 5th bit to the 15th bit (412) is an odd number.
デバイスIDが3の外部装置(送信されたコマンドの当該外部装置)は、装置本体からのCLK信号をカウントし、カウント値=1の場合にSTSn信号をLレベルにし、他外部装置の搬送センサ出力を反映させるビット位置のカウント値(図4の場合はカウント値=2、3)では、STSn信号をLレベルにしてSTSn信号を開放する。カウント値=5〜15の場合は、コマンドに対するステータスを、カウント値=16の時にパリティビットを反映させる。 The external device whose device ID is 3 (the external device of the transmitted command) counts the CLK signal from the device body, and when the count value = 1, sets the STSn signal to the L level and outputs the transport sensor of the other external device. In the count value of the bit position that reflects (count value = 2, 3 in the case of FIG. 4), the STSn signal is set to L level and the STSn signal is released. When the count value = 5 to 15, the status for the command is reflected in the parity bit when the count value = 16.
デバイスIDが3以外の排紙装置(送信されたコマンドが当該外部装置でない場合)は、装置本体からのCLK信号をカウントし、カウント値が自デバイスID+1の場合に、STSn信号(nは外部装置のデバイスID)に当該外部装置の搬送センサ出力を反映し、それ以外の場合はSTSn信号をLレベルにしてSTSn信号を開放する。 A paper discharge device with a device ID other than 3 (when the transmitted command is not the external device) counts the CLK signal from the device body, and when the count value is its own device ID + 1, the STSn signal (n is an external device) The device ID of the external device reflects the output of the conveyance sensor of the external device. In other cases, the STSn signal is set to L level and the STSn signal is released.
以上の動作を行うことにより、デバイスID3の外部装置のステータス情報と、搬送センサ出力と、デバイスID3以外の搬送センサの出力を、STS信号(203)に反映させることができる。 By performing the above operation, the status information of the external device with the device ID3, the transport sensor output, and the output of the transport sensor other than the device ID3 can be reflected in the STS signal (203).
図5は本発明の装置本体100の通信フローチャートである。
FIG. 5 is a communication flowchart of the apparatus
装置本体は、CMD信号線の信号レベルをHIGHからLOWにし(501)、16クロック分のCLK信号を出力すると共に、デバイスIDを指定した上述したコマンド構成に添ったデータを送出する(502)。 The apparatus main body changes the signal level of the CMD signal line from HIGH to LOW (501), outputs a CLK signal for 16 clocks, and transmits data in accordance with the above-described command configuration specifying the device ID (502).
装置本体は、コマンドデータ送信後、CMD信号の信号レベルをLOWからHIGHに戻し(503)、外部装置がステータスデータを準備する時間を調整するため所定時間ウェイトした後、ステータスデータを受信するために16クロック分のCLK信号を出力し、ステータスデータを受信する(504)。装置本体は、受信したステータスデータの外部装置のデバイスID毎に決められた搬送センサ出力を確認し、装置全体の用紙搬送状況を認識するとともに、最適な用紙搬送制御を行い(505)、501に戻る。 After transmitting the command data, the apparatus main body returns the signal level of the CMD signal from LOW to HIGH (503), waits for a predetermined time to adjust the time for the external apparatus to prepare the status data, and then receives the status data. A CLK signal for 16 clocks is output and status data is received (504). The apparatus main body confirms the conveyance sensor output determined for each device ID of the external apparatus in the received status data, recognizes the sheet conveyance status of the entire apparatus, and performs optimum sheet conveyance control (505). Return.
図6は外部装置の通信のフローチャートである。 FIG. 6 is a flowchart of communication of the external device.
外部装置(50、20b、20c)は、通信開始前、CMD割込み信号(211、221、231)の割込み設定を割込み許可状態にする(601)。CMD割込み信号(211、221、231)が接続されている外部装置(50、20b、20c)の制御CPU(210、220、230)の割込みポートは、レベル割込みとなっていて、信号がLOWレベルとなると割込みが発生するため、装置本体がコマンド送信時にCMD信号の信号レベルをHIGHからLOWに変化させた時(602)に、CMD割込みが発生する。 The external device (50, 20b, 20c) sets the interrupt setting of the CMD interrupt signal (211, 221, 231) to the interrupt enabled state before starting communication (601). The interrupt port of the control CPU (210, 220, 230) of the external device (50, 20b, 20c) to which the CMD interrupt signal (211, 221, 231) is connected is a level interrupt, and the signal is at the LOW level. Then, an interrupt is generated. Therefore, when the apparatus main body changes the signal level of the CMD signal from HIGH to LOW during command transmission (602), a CMD interrupt occurs.
外部装置(50、20b、20c)はCMD割込みが発生した時点で、通信の開始を判断し、コマンド受信の準備を開始するとともに、CMD割込み信号(211、221、231)が接続されている外部装置(50、20b、20c)の割込みポートを割込み禁止状態に設定する(602、603)。 When the CMD interrupt occurs, the external devices (50, 20b, 20c) determine the start of communication, start preparing for command reception, and the external device to which the CMD interrupt signal (211 221 231) is connected The interrupt ports of the devices (50, 20b, 20c) are set to the interrupt disabled state (602, 603).
外部装置(50、20b、20c)は16クロック分のCLK信号に同期してCMD信号からコマンドデータを受信し(604)、コマンドデータに付加されたデバイスIDが自外部装置を指定しているかを判断する(605)。 The external device (50, 20b, 20c) receives command data from the CMD signal in synchronization with the CLK signal for 16 clocks (604), and whether the device ID added to the command data designates its own external device. Judgment is made (605).
送信されたコマンドが自外部装置のものであると判断した場合、そのコマンドが動作を指示するためのコマンド(以後、「実行コマンド」という)か、外部装置の情報を要求するためのコマンド(以後、「ステータス要求コマンド」という)かを判断する(606)。 When it is determined that the transmitted command belongs to the own external device, the command for instructing the operation (hereinafter referred to as “execution command”) or a command for requesting information on the external device (hereinafter referred to as “execution command”) (Referred to as “status request command”) (606).
送信されたコマンドが実行コマンドである場合、実行コマンドで指定された動作を行うとともに、実行コマンド毎に決められた返送ステータスを準備する(607、608)。 When the transmitted command is an execution command, the operation specified by the execution command is performed, and a return status determined for each execution command is prepared (607, 608).
送信されたコマンドがステータス要求コマンドであれば、ステータス要求コマンドで要求された外部装置内の情報を返送するためのステータスを準備する(610)。
609では、送信されたコマンドでデバイスIDが指定された外部装置は、装置本体からのCLK信号をカウントし、カウント値=1の場合にSTSn信号をLレベルにし、他外部装置の搬送センサ出力を反映させるビット位置に対応するカウント値では、STSn信号をLレベルにしてSTSn信号を開放する。それ以外のカウント値で、上記準備した自外部装置の搬送センサ出力、および、指定されたコマンドに対する返送ステータスをSTSn信号に反映させる。
If the transmitted command is a status request command, a status is prepared for returning information in the external device requested by the status request command (610).
In 609, the external device whose device ID is specified by the transmitted command counts the CLK signal from the device main body, and when the count value = 1, sets the STSn signal to the L level and outputs the transport sensor output of the other external device. At the count value corresponding to the bit position to be reflected, the STSn signal is set to L level and the STSn signal is released. With the count value other than that, the transport sensor output of the prepared external device and the return status for the designated command are reflected in the STSn signal.
605で、送信されたコマンドが自外部装置のものでないと判断した場合、各外部装置は、装置本体からのCLK信号をカウントし、カウント値が自デバイスID+1の場合に、STSn信号(nは外部装置のデバイスID)に自外部装置の搬送センサ出力を反映し、それ以外の場合はSTSn信号をLレベルにしてSTSn信号を開放することで、デバイスID毎に決められたビットに搬送センサの出力を反映させる。 If it is determined in 605 that the transmitted command is not for the own external device, each external device counts the CLK signal from the device body, and if the count value is its own device ID + 1, the STTSn signal (n is an external device). The device sensor ID of the device reflects the output of the transport sensor of the external device. In other cases, the STSn signal is set to L level and the STSn signal is released, so that the output of the transport sensor is output to the bit determined for each device ID. Reflect.
以上述べたことにより、給紙オプションとしての外部装置、排紙オプションとしての外部装置が複数装着可能で、接続されている全ての外部装置とのデータ送受信は共通のクロック同期シリアル通信で行われる構成の画像形成装置において、接続された外部装置に各々搬送センサの情報を取得するためのステータス要求コマンドを送信しなくても、装置本体がこれら全ての外部装置の用紙搬送状態を常に監視することが可能となる。 As described above, a plurality of external devices as a paper feed option and a plurality of external devices as a paper discharge option can be mounted, and data transmission / reception with all connected external devices is performed by a common clock synchronous serial communication. In this image forming apparatus, the apparatus main body can always monitor the sheet conveyance state of all these external apparatuses without transmitting a status request command for acquiring information of each conveyance sensor to each connected external apparatus. It becomes possible.
なお、上述の実施例は本発明の趣旨に基づいて種々変更することが可能であり、これらを発明の範囲から排除するものではない。 The above-described embodiments can be variously modified based on the gist of the present invention, and these are not excluded from the scope of the invention.
(実施例2)
実施例1では、装置本体から特定の外部装置へ所定の動作を指示するコマンドに対して返送される、外部装置から装置本体へのステータスを使い、ステータスデータの一部(以後、「外部装置占有データ」という)を各外部装置の用紙搬送路上のセンサ出力として使用する方法について説明した。
(Example 2)
In the first embodiment, a part of status data (hereinafter referred to as “external device occupancy”) is used by using the status from the external device to the device main body, which is returned in response to a command instructing a predetermined operation from the device main body to a specific external device. The method of using “data”) as the sensor output on the paper conveyance path of each external device has been described.
実施例2では、外部装置占有データに反映させる情報(以後、「外部装置情報」という)を、装置本体から外部装置に指定する方法について説明する。 In the second embodiment, a method of designating information to be reflected in the external device occupation data (hereinafter referred to as “external device information”) from the apparatus main body to the external apparatus will be described.
なお、実施例2の構成も以降に説明する部分を除き、実施例1のカラーレーザープリンタと同等であり、同機能のものには同じ符号をつけ、詳細な説明は省略する。 The configuration of the second embodiment is the same as that of the color laser printer of the first embodiment except for the portions described below, and the same functions are denoted by the same reference numerals and detailed description thereof is omitted.
図7は本発明の装置本体100の通信フローチャートである。
FIG. 7 is a communication flowchart of the apparatus
装置本体は、外部装置情報を指定する(701)。 The device body designates external device information (701).
具体的には、装置本体は、接続された全ての外部装置のデバイスIDを確定した後は、動作させたい外部装置のデバイスIDを指定したコマンドを送信することで、共通のクロック同期シリアル通信線を使って、全てのデバイスを別々に制御することが可能となるので、予め、装置本体によって外部装置情報を各々の外部装置に個別に指定可能であり、この外部装置情報を変更する場合(702)は701に戻る。各外部装置は指定された内容を記憶し、ステータス送信時にその記憶内容に基づいて外部装置情報を出力する。装置本体は、CMD信号線の信号レベルをHIGHからLOWにし(703)、16クロック分のCLK信号を出力すると共に、デバイスIDを指定した上述したコマンド構成に添ったデータを送出する(704)。 Specifically, after determining the device IDs of all connected external devices, the device main body transmits a command specifying the device IDs of the external devices to be operated, so that a common clock synchronous serial communication line Since it is possible to control all devices separately using the, external device information can be individually designated for each external device in advance by the device main body, and this external device information is changed (702) ) Returns to 701. Each external device stores the designated content, and outputs external device information based on the stored content at the time of status transmission. The apparatus main body changes the signal level of the CMD signal line from HIGH to LOW (703), outputs a CLK signal for 16 clocks, and sends data in accordance with the above-described command configuration designating the device ID (704).
装置本体は、コマンドデータ送信後、CMD信号の信号レベルをLOWからHIGHに戻し(705)、外部装置がステータスデータを準備する時間を調整するため所定時間ウェイトした後、ステータスデータを受信するために16クロック分のCLK信号を出力し、ステータスデータを受信する(706)。装置本体は、受信したステータスデータの外部装置のデバイスID毎に指定した外部装置情報出力を確認し、各外部装置の指定した外部情報に基づく状況を認識し(707)、外部装置情報を変更する場合には701へ、変更しない場合には703へ遷移する(702)。 After transmitting the command data, the apparatus main body returns the signal level of the CMD signal from LOW to HIGH (705), waits for a predetermined time to adjust the time for the external apparatus to prepare the status data, and then receives the status data. A CLK signal for 16 clocks is output and status data is received (706). The apparatus main body confirms the output of the external apparatus information designated for each device ID of the external apparatus in the received status data, recognizes the situation based on the external information designated by each external apparatus (707), and changes the external apparatus information. If not, the process proceeds to 701. If not changed, the process proceeds to 703 (702).
図8は外部装置の通信のフローチャートである。 FIG. 8 is a flowchart of communication of the external device.
外部装置(50、20b、20c)は、通信開始前、CMD割込み信号(211、221、231)の割込み設定を割込み許可状態にする(801)。CMD割込み信号(211、221、231)が接続されている外部装置(50、20b、20c)の制御CPU(210、220、230)の割込みポートは、レベル割込みとなっていて、信号がLOWレベルとなると割込みが発生するため、装置本体がコマンド送信時にCMD信号の信号レベルをHIGHからLOWに変化させた時(802)に、CMD割込みが発生する。 The external device (50, 20b, 20c) sets the interrupt setting of the CMD interrupt signal (211, 221, 231) to the interrupt enabled state (801) before starting communication. The interrupt port of the control CPU (210, 220, 230) of the external device (50, 20b, 20c) to which the CMD interrupt signal (211, 221, 231) is connected is a level interrupt, and the signal is at the LOW level. Then, an interrupt is generated. Therefore, when the apparatus main body changes the signal level of the CMD signal from HIGH to LOW during command transmission (802), the CMD interrupt occurs.
外部装置(50、20b、20c)はCMD割込みが発生した時点で、通信の開始を判断し、コマンド受信の準備を開始するとともに、CMD割込み信号(211、221、231)が接続されている外部装置(50、20b、20c)の割込みポートを割込み禁止状態に設定する(802、803)。 When the CMD interrupt occurs, the external devices (50, 20b, 20c) determine the start of communication, start preparing for command reception, and the external device to which the CMD interrupt signal (211 221 231) is connected The interrupt ports of the devices (50, 20b, 20c) are set to the interrupt disabled state (802, 803).
外部装置(50、20b、20c)は16クロック分のCLK信号に同期してCMD信号からコマンドデータを受信し(804)、コマンドデータに付加されたデバイスIDが自外部装置を指定しているかを判断する(805)。 The external device (50, 20b, 20c) receives command data from the CMD signal in synchronization with the CLK signal for 16 clocks (804), and checks whether the device ID added to the command data specifies the external device. Judgment is made (805).
送信されたコマンドが自外部装置のものであると判断した場合、そのコマンドが実行コマンドか、ステータス要求コマンドかを判断する(806)。 If it is determined that the transmitted command belongs to the own external device, it is determined whether the command is an execution command or a status request command (806).
送信されたコマンドが実行コマンドである場合、実行コマンドで指定された動作を行うとともに、実行コマンド毎に決められた返送ステータスを準備する(807、808)。 When the transmitted command is an execution command, an operation specified by the execution command is performed, and a return status determined for each execution command is prepared (807, 808).
送信されたコマンドがステータス要求コマンドであれば、ステータス要求コマンドで要求された外部装置内の情報を返送するためのステータスを準備する(810)。 If the transmitted command is a status request command, a status is prepared for returning information in the external device requested by the status request command (810).
809では、送信されたコマンドでデバイスIDが指定された外部装置は、装置本体からのCLK信号をカウントし、カウント値=1の場合にSTSn信号をLレベルにし、他外部装置の外部装置情報を反映させるビット位置に対応するカウント値では、STSn信号をLレベルにしてSTSn信号を開放する。それ以外のカウント値で、上記準備した701で指定された外部装置情報、および、指定されたコマンドに対する返送ステータスをSTSn信号に反映させる。 In 809, the external device whose device ID is specified by the transmitted command counts the CLK signal from the device main body, and when the count value = 1, sets the STSn signal to the L level and stores the external device information of the other external device. At the count value corresponding to the bit position to be reflected, the STSn signal is set to L level and the STSn signal is released. With the other count values, the external device information specified in 701 prepared above and the return status for the specified command are reflected in the STSn signal.
805で、送信されたコマンドが自外部装置のものでないと判断した場合、各外部装置は、装置本体からのCLK信号をカウントし、カウント値が自デバイスID+1の場合に、STSn信号(nは外部装置のデバイスID)に自外部装置の外部装置情報を反映し、それ以外の場合はSTSn信号をLレベルにしてSTSn信号を開放することで、デバイスID毎に決められたビットに701で指定された外部装置占有情報を反映させる。
If it is determined in
以上述べたことにより、給紙オプションとしての外部装置、排紙オプションとしての外部装置が複数装着可能で、接続されている全ての外部装置とのデータ送受信は共通のクロック同期シリアル通信で行われる構成の画像形成装置において、装置本体が外部装置毎に指定した外部装置情報を各々の外部装置にステータス要求コマンドを送信しなくても、装置本体が外部装置の内部情報を常に監視することが可能となる。 As described above, a plurality of external devices as a paper feed option and a plurality of external devices as a paper discharge option can be mounted, and data transmission / reception with all connected external devices is performed by a common clock synchronous serial communication. In this image forming apparatus, the apparatus main body can always monitor the internal information of the external apparatus without sending the external apparatus information designated for each external apparatus by the apparatus main body to each external apparatus. Become.
なお、上述の実施例は本発明の趣旨に基づいて種々変更することが可能であり、これらを発明の範囲から排除するものではない。 The above-described embodiments can be variously modified based on the gist of the present invention, and these are not excluded from the scope of the invention.
(実施例3)
実施例1、実施例2では、装置本体から特定外部装置へ所定の動作を指示するコマンドに対して返送される、外部装置から装置本体へのステータスの決まった位置に外部装置情報を反映させる方法について説明した。
(Example 3)
In the first embodiment and the second embodiment, a method for reflecting external device information to a position where a status from the external device to the device main body is returned in response to a command instructing a predetermined operation from the device main body to a specific external device. Explained.
実施例3では、外部装置情報をステータスのどの位置に配置するかを、装置本体から外部装置に指定する方法について説明する。 In the third embodiment, a description will be given of a method for designating from the apparatus main body to the external apparatus where the external apparatus information is arranged in the status.
なお、実施例3の構成も以降に説明する部分を除き、実施例1のカラーレーザープリンタと同等であり、同機能のものには同じ符号をつけ、詳細な説明は省略する。 The configuration of the third embodiment is the same as that of the color laser printer of the first embodiment except for the parts described below, and the same functions are denoted by the same reference numerals and detailed description thereof is omitted.
図9は本発明の装置本体100の通信フローチャートである。
FIG. 9 is a communication flowchart of the apparatus
装置本体は、外部装置情報と、外部装置情報をステータスのどの位置に配置するかの情報(以後、「外部占有データ配置情報」という)を外部装置に対して指定する(901)。外部装置情報、外部占有データ配置情報は各々の外部装置に個別に指定可能である。各外部装置は指定された内容を記憶し、ステータス送信時に記憶内容に基づいて外部装置情報をステータスの指定された位置になるようにクロックタイミングに同期して出力する。 The apparatus main body designates external apparatus information and information on where to place the external apparatus information in the status (hereinafter referred to as “external occupation data arrangement information”) to the external apparatus (901). The external device information and the external occupation data arrangement information can be individually designated for each external device. Each external device stores the designated content, and outputs the external device information in synchronization with the clock timing so as to be in the designated position of the status based on the stored content at the time of status transmission.
装置本体は、CMD信号線の信号レベルをHIGHからLOWにし(903)、16クロック分のCLK信号を出力すると共に、デバイスIDを指定した上述したコマンド構成に添ったデータを送出する(904)。 The apparatus main body changes the signal level of the CMD signal line from HIGH to LOW (903), outputs a CLK signal for 16 clocks, and sends data in accordance with the above-described command configuration specifying the device ID (904).
装置本体は、コマンドデータ送信後、CMD信号の信号レベルをLOWからHIGHに戻し(905)、外部装置がステータスデータを準備する時間を調整するため所定時間ウェイトした後、ステータスデータを受信するために16クロック分のCLK信号を出力し、ステータスデータを受信する(906)。装置本体は、受信したステータスデータの、外部装置のデバイスID毎に指定された位置から指定された外部装置情報を確認し(907)、外部装置情報を変更する場合には901へ、変更しない場合には903へ遷移する(902)。 After transmitting the command data, the apparatus body returns the signal level of the CMD signal from LOW to HIGH (905), waits for a predetermined time to adjust the time for the external apparatus to prepare the status data, and then receives the status data. A CLK signal for 16 clocks is output and status data is received (906). The apparatus body confirms the external apparatus information specified from the position specified for each device ID of the external apparatus in the received status data (907), and changes the external apparatus information to 901 when not changing Transition to 903 (902).
図10は外部装置の通信のフローチャートである。 FIG. 10 is a flowchart of communication of the external device.
外部装置(50、20b、20c)は、通信開始前、CMD割込み信号(211、221、231)の割込み設定を割込み許可状態にする(1001)。CMD割込み信号(211、221、231)が接続されている外部装置(50、20b、20c)の制御CPU(210、220、230)の割込みポートは、レベル割込みとなっていて、信号がLOWレベルとなると割込みが発生するため、装置本体がコマンド送信時にCMD信号の信号レベルをHIGHからLOWに変化させた時(1002)に、CMD割込みが発生する。 The external device (50, 20b, 20c) sets the interrupt setting of the CMD interrupt signal (211, 221, 231) to the interrupt enabled state before starting communication (1001). The interrupt port of the control CPU (210, 220, 230) of the external device (50, 20b, 20c) to which the CMD interrupt signal (211, 221, 231) is connected is a level interrupt, and the signal is at the LOW level. Then, an interrupt is generated. Therefore, when the apparatus main body changes the signal level of the CMD signal from HIGH to LOW during command transmission (1002), a CMD interrupt occurs.
外部装置(50、20b、20c)はCMD割込みが発生した時点で、通信の開始を判断し、コマンド受信の準備を開始するとともに、CMD割込み信号(211、221、231)が接続されている外部装置(50、20b、20c)の割込みポートを割込み禁止状態に設定する(1002、1003)。 When the CMD interrupt occurs, the external devices (50, 20b, 20c) determine the start of communication, start preparing for command reception, and the external device to which the CMD interrupt signal (211 221 231) is connected The interrupt ports of the devices (50, 20b, 20c) are set to the interrupt disabled state (1002, 1003).
外部装置(50、20b、20c)は16クロック分のCLK信号に同期してCMD信号からコマンドデータを受信し(1004)、コマンドデータに付加されたデバイスIDが自外部装置を指定しているかを判断する(1005)。 The external device (50, 20b, 20c) receives command data from the CMD signal in synchronization with the CLK signal for 16 clocks (1004), and whether the device ID added to the command data designates its own external device. Judgment is made (1005).
送信されたコマンドが自外部装置のものであると判断した場合、そのコマンドが実行コマンドか、ステータス要求コマンドかを判断する(1006)。 If it is determined that the transmitted command belongs to the own external apparatus, it is determined whether the command is an execution command or a status request command (1006).
送信されたコマンドが実行コマンドである場合、実行コマンドで指定された動作を行うとともに、実行コマンド毎に決められた返送ステータスを準備する(1007、1008)。 When the transmitted command is an execution command, an operation specified by the execution command is performed, and a return status determined for each execution command is prepared (1007, 1008).
送信されたコマンドがステータス要求コマンドであれば、ステータス要求コマンドで要求された外部装置内の情報を返送するためのステータスを準備する(1010)。
1009では、送信されたコマンドでデバイスIDが指定された外部装置は、装置本体からのCLK信号をカウントし、カウント値=1の場合にSTSn信号をLレベルにし、他外部装置が装置本体から指定された外部占有データ配置情報に対応するビット位置に対応するカウントでは、STSn信号をLレベルにしてSTSn信号を開放する。それ以外のカウント値で、上記準備した901で指定された外部装置情報、および、指定されたコマンドに対する返送ステータスをSTSn信号に反映させる。この時、外部装置情報は、該外部装置に対して指定された外部占有データ配置情報に対応するカウント値でSTSn信号に反映させる。
If the transmitted command is a status request command, a status is prepared for returning information in the external device requested by the status request command (1010).
In 1009, the external device whose device ID is specified by the transmitted command counts the CLK signal from the device main body. When the count value = 1, the STSn signal is set to L level, and the other external device specifies from the device main body. In the count corresponding to the bit position corresponding to the externally occupied data arrangement information, the STSn signal is set to L level and the STSn signal is released. With the other count values, the external device information specified in the prepared 901 and the return status for the specified command are reflected in the STSn signal. At this time, the external device information is reflected in the STSn signal with a count value corresponding to the external occupation data arrangement information designated for the external device.
1005で、送信されたコマンドが自外部装置のものでないと判断した場合、装置本体からのCLK信号をカウントし、カウント値が、各外部装置に対して指定された外部占有データ配置情報に対応するカウント値となった場合に、STSn信号(nは外部装置のデバイスID)に外部装置情報を反映し、それ以外の場合はSTSn信号をLレベルにしてSTSn信号を開放することで、デバイスID毎に決められたビットに901で指定された外部装置占有情報を反映させる。 If it is determined in 1005 that the transmitted command is not for the own external device, the CLK signal from the device main body is counted, and the count value corresponds to the external occupation data arrangement information specified for each external device. When the count value is reached, the external device information is reflected in the STSn signal (n is the device ID of the external device). In other cases, the STSn signal is set to L level and the STSn signal is released. The external device occupancy information specified in 901 is reflected in the determined bits.
以上述べたことにより、給紙オプションとしての外部装置、排紙オプションとしての外部装置が複数装着可能で、接続されている全ての外部装置とのデータ送受信は共通のクロック同期シリアル通信で行われる構成の画像形成装置において、外部装置情報をステータスのどの位置に配置するかを、装置本体から外部装置に指定することが可能となる。
なお、上述の実施例は本発明の趣旨に基づいて種々変更することが可能であり、これらを発明の範囲から排除するものではない。
As described above, a plurality of external devices as a paper feed option and a plurality of external devices as a paper discharge option can be mounted, and data transmission / reception with all connected external devices is performed by a common clock synchronous serial communication. In the image forming apparatus, it is possible to specify from the apparatus main body to the external apparatus where the external apparatus information is arranged in the status.
The above-described embodiments can be variously modified based on the gist of the present invention, and these are not excluded from the scope of the invention.
9 搬送ベルト
9c 従動コロ
9e 吸着ローラ
10a 定着ベルト
10b 弾性加圧ローラ
10c ベルトガイド部材
15 レジストローラ
20b 本体給紙部
21b 外部装置としての給紙デバイス
21c 外部装置としての給紙デバイス
50 外部装置としての排紙デバイス
9 Conveying belt 9c Followed
Claims (5)
前記装置本体は、特定の外部装置に対して所定の処理の実行を指示する際に、前記特定の外部装置を識別するための固有情報を付加したコマンドを、前記装置本体に接続された全ての外部装置に対して前記通信線を介して一斉に送信するコマンド送信手段を有し、
前記各外部装置は、前記送信されたコマンドに応答する際に、前記コマンドに付加された固有情報に該当する場合は当該コマンドに応答するデータを含む当該固有情報に該当する外部装置に係わる状態情報を前記共通のクロックの所定のタイミングで前記装置本体に送信し、前記固有情報に該当しない場合は当該固有情報に該当しない外部装置に係わる状態情報を前記共通のクロックの前記所定のタイミングとは別のタイミングで前記装置本体に送信するステータス送信手段を有する、
ことを特徴とする画像形成装置。 An image forming system having an apparatus main body and a plurality of external devices connected to the apparatus main body, and transmitting and receiving data between the apparatus main body and the plurality of external devices using a common clock synchronous communication line Because
When the device body instructs the specific external device to execute a predetermined process, a command to which specific information for identifying the specific external device is added to all the devices connected to the device body. Having command transmission means for transmitting to external devices all at once via the communication line;
When each external device responds to the transmitted command and corresponds to the specific information added to the command, status information related to the external device corresponding to the specific information including data responding to the command Is transmitted to the apparatus main body at a predetermined timing of the common clock, and status information related to an external device not corresponding to the specific information is separated from the predetermined timing of the common clock when the specific information does not correspond to the specific information. Having status transmission means for transmitting to the apparatus main body at the timing of
An image forming apparatus.
特定の外部装置に対して所定の処理の実行を指示する際に、前記特定の外部装置を識別するための固有情報を付加したコマンドを、前記装置本体から当該装置本体に接続された全ての外部装置に対して一斉に送信するステップと、
前記送信されたコマンドに応答する際に、前記コマンドに付加された固有情報に該当する外部装置から、当該コマンドに応答するデータを含む状態データを前記共通のクロックの所定のタイミングで前記装置本体に送信し、前記固有情報に該当しない外部装置から、当該外部装置の状態データを前記共通のクロックの所定のタイミングとは別のタイミングで前記装置本体に送信するステップと、
を具えることを特徴とする画像形成装置におけるデータ通信方法。
A data communication method in an image forming apparatus that performs transmission / reception of data between an apparatus main body and a plurality of external devices connected to the apparatus main body using a common clock synchronous communication line,
When instructing a specific external device to execute a predetermined process, a command to which specific information for identifying the specific external device is added to all external devices connected to the device main body from the device main body. Transmitting all at once to the device;
When responding to the transmitted command, status data including data responding to the command is sent from the external device corresponding to the specific information added to the command to the device main body at a predetermined timing of the common clock. Transmitting, from an external device not corresponding to the specific information, transmitting the status data of the external device to the device main body at a timing different from the predetermined timing of the common clock;
A data communication method in an image forming apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005041181A JP4455365B2 (en) | 2005-02-17 | 2005-02-17 | Communications system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005041181A JP4455365B2 (en) | 2005-02-17 | 2005-02-17 | Communications system |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2006225108A true JP2006225108A (en) | 2006-08-31 |
JP2006225108A5 JP2006225108A5 (en) | 2008-04-03 |
JP4455365B2 JP4455365B2 (en) | 2010-04-21 |
Family
ID=36986806
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005041181A Expired - Fee Related JP4455365B2 (en) | 2005-02-17 | 2005-02-17 | Communications system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4455365B2 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008176743A (en) * | 2007-01-22 | 2008-07-31 | Canon Inc | Serial communication system and image forming apparatus |
JP2009176069A (en) * | 2008-01-24 | 2009-08-06 | Ricoh Co Ltd | Image forming device |
US8498007B2 (en) | 2008-07-23 | 2013-07-30 | Canon Kabushiki Kaisha | Image forming apparatus |
US8670686B2 (en) | 2009-06-12 | 2014-03-11 | Canon Kabushiki Kaisha | Image forming apparatus having registration designation for optional apparatus |
US9724949B2 (en) | 2014-05-12 | 2017-08-08 | Brother Kogyo Kabushiki Kaisha | Printing apparatus system, and connection device, control method and computer readable medium for the same having authentication process for identifying connection of multistage connections |
US10775728B2 (en) | 2018-09-06 | 2020-09-15 | Canon Kabushiki Kaisha | Image forming system that performs communication control and image forming apparatus |
-
2005
- 2005-02-17 JP JP2005041181A patent/JP4455365B2/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008176743A (en) * | 2007-01-22 | 2008-07-31 | Canon Inc | Serial communication system and image forming apparatus |
JP2009176069A (en) * | 2008-01-24 | 2009-08-06 | Ricoh Co Ltd | Image forming device |
US8498007B2 (en) | 2008-07-23 | 2013-07-30 | Canon Kabushiki Kaisha | Image forming apparatus |
US8670686B2 (en) | 2009-06-12 | 2014-03-11 | Canon Kabushiki Kaisha | Image forming apparatus having registration designation for optional apparatus |
US9724949B2 (en) | 2014-05-12 | 2017-08-08 | Brother Kogyo Kabushiki Kaisha | Printing apparatus system, and connection device, control method and computer readable medium for the same having authentication process for identifying connection of multistage connections |
US10775728B2 (en) | 2018-09-06 | 2020-09-15 | Canon Kabushiki Kaisha | Image forming system that performs communication control and image forming apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP4455365B2 (en) | 2010-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4455365B2 (en) | Communications system | |
JP4942151B2 (en) | Image forming system and image forming apparatus | |
JP4402083B2 (en) | Image forming apparatus | |
JP2006133996A (en) | System and method for serial communication | |
JP2008214103A (en) | Image forming apparatus and method for controlling feeding of sheet | |
JP7363387B2 (en) | Image forming device, program | |
JP2002108045A (en) | Image forming device | |
JP2005070197A (en) | Color image forming apparatus | |
EP1482384B1 (en) | Image generating apparatus with power supply control of detachable sheet conveyance units after sleep mode | |
JP4508896B2 (en) | Control system | |
JP2007003690A (en) | Image forming apparatus | |
JP5201564B2 (en) | Image forming apparatus | |
JP2007057728A (en) | Motor control method in stop operation, and image forming apparatus performing the same | |
JP4763996B2 (en) | Serial communication system | |
JP5241651B2 (en) | Image forming apparatus | |
JP2004070152A (en) | Color image forming device | |
JP2011187079A (en) | Serial communication system and method | |
JP2006015515A (en) | Image forming device | |
JP2007233063A (en) | Image forming apparatus | |
JP2007022794A (en) | Image forming device | |
JP2019117302A (en) | Image forming device | |
JP2006088639A (en) | Image forming system, image forming apparatus, and communication method for image forming system | |
JP2021096341A (en) | Motor control device, motor control method, and image forming apparatus | |
JP2006201262A (en) | Image forming system | |
JP2006084831A (en) | Fixing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080215 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080215 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091030 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091106 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091228 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100129 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100203 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130212 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4455365 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140212 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |