JPH08244316A - Image forming apparatus - Google Patents

Image forming apparatus

Info

Publication number
JPH08244316A
JPH08244316A JP7080805A JP8080595A JPH08244316A JP H08244316 A JPH08244316 A JP H08244316A JP 7080805 A JP7080805 A JP 7080805A JP 8080595 A JP8080595 A JP 8080595A JP H08244316 A JPH08244316 A JP H08244316A
Authority
JP
Japan
Prior art keywords
image forming
forming apparatus
peripheral device
main body
interface connector
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
JP7080805A
Other languages
Japanese (ja)
Inventor
Toru Nagatsuma
徹 永妻
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7080805A priority Critical patent/JPH08244316A/en
Publication of JPH08244316A publication Critical patent/JPH08244316A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To monitor the condition of connection/non-connection of a peripheral instrument and to miniaturize an interface connector by providing a means for inputting a signal to initialize the peripheral instrument to the peripheral instrument from an image forming apparatus main body. CONSTITUTION: Data transferred to a peripheral instrument 2 from an image forming apparatus main body 1 are transmitted through a serial circuit part 13 and the first driver element 15 and are furthermore received by the peripheral instrument 2 through an interface connector 3. In addition, a signal for initializing the peripheral instrument is transmitted through a parallel signal input- output part 14 and the second driver element 16. Data received in the peripheral instrument 2 and an initializing signal are respectively pulled up by means of a resistance R1 and are input into a CPU 21 in the peripheral instrument 2 or a serial circuit part 23 to initialize the peripheral instrument and an operation for achieving an automatic both face unit function is performed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像形成装置に関し、特
に自動両面ユニット等の周辺機器が着脱可能な画像形成
装置のインターフェース制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus, and more particularly to interface control of an image forming apparatus to which peripheral devices such as an automatic duplex unit can be attached and detached.

【0002】[0002]

【従来の技術】レーザービームプリンタや複写機等の画
像形成装置の周辺機器、特に自動両面ユニット等は形状
が通常の給紙カセットに類似しており、オペレーターは
通常の給紙カセットを本体装置にセットする感覚で自動
両面ユニットをセットして使用するものが多い。このよ
うに、通常の給紙カセットと同じような形態で画像形成
装置に装着される周辺機器は、該周辺機器を画像形成装
置本体に装着(差し込む)しただけで周辺機器と本体と
を電気的に接続するインターフェースコネクタが接続さ
れ、本体側より電力が供給され、且つ本体側より供給さ
れるデータ信号によって周辺機器を制御するような構成
となっている。また、周辺機器は本体装置の電源が投入
されたままの状態で着脱が行われるため、活線挿抜を考
慮しなくてはならない。従来、このような活線挿抜が行
われる周辺機器は、インターフェースコネクター内に当
該機器の接続/非接続を検知する信号線を設け、本体装
置側で接続/非接続の信号線からの信号を監視すること
によって周辺機器の有り/無しを判断していた。
2. Description of the Related Art Peripheral devices for image forming apparatuses such as laser beam printers and copiers, especially automatic double-sided units, are similar in shape to ordinary paper feed cassettes. Many people set and use the automatic duplex unit as if it were set. As described above, a peripheral device mounted in the image forming apparatus in a form similar to that of a normal paper feeding cassette is electrically connected to the main body of the image forming device only by mounting (plugging) the peripheral device into the main body of the image forming apparatus. Is connected to the interface connector, power is supplied from the main body side, and peripheral devices are controlled by a data signal supplied from the main body side. Further, since peripheral devices are attached and detached while the main unit is powered on, hot plugging and unplugging must be taken into consideration. Conventionally, peripheral devices that are hot-plugged and unplugged have a signal line in the interface connector that detects connection / disconnection of the device, and the main unit monitors the signal from the connected / disconnected signal line. By doing so, the presence / absence of peripheral devices was determined.

【0003】しかしながら、従来の画像形成装置とそれ
に着脱される周辺機器のインターフェースコネクター
は、単に接続/非接続の状態を監視するための信号線を
備える必要があり、インターフェースコネクタの大型
化、高コスト化を招くという問題点があった。
However, the conventional image forming apparatus and the interface connector of the peripheral device attached to and detached from the image forming apparatus need to be provided with a signal line for simply monitoring the connection / disconnection state, and the interface connector becomes large in size and high in cost. However, there is a problem in that

【0004】[0004]

【発明の目的】そこで、本発明は、画像形成装置とそれ
に着脱される周辺機器の接続/非接続状態を監視する信
号線を備えることなく、インターフェースコネクタが有
する他の信号線の信号を利用して周辺機器の接続/非接
続状態を監視することにより、インターフェースコネク
タの小型化、低コスト化を図ることができる画像形成装
置を提供することを目的としている。
SUMMARY OF THE INVENTION Therefore, the present invention utilizes signals of other signal lines of an interface connector without providing a signal line for monitoring the connection / disconnection state of an image forming apparatus and peripheral devices attached / detached thereto. It is an object of the present invention to provide an image forming apparatus capable of reducing the size and cost of an interface connector by monitoring the connection / disconnection state of peripheral devices.

【0005】[0005]

【発明の構成】上述した目的を達成するために、本発明
にかかる画像形成装置の第一の手段は、自動両面ユニッ
ト等の周辺機器が着脱可能な画像形成装置において、前
記画像形成装置本体と周辺機器とを接続する非同期式シ
リアル回線を用いたインターフェースコネクタと、前記
画像形成装置本体において、前記インターフェースコネ
クタを介し周辺機器から送信されたデータ信号をプルダ
ウンする抵抗と、前記周辺機器において、前記インター
フェースコネクタを介し画像形成装置本体から送信され
たデータ信号をプルアップする抵抗とを備え、前記イン
ターフェースコネクタが、画像形成装置本体及び周辺機
器と接続状態にある場合に、前記周辺機器から送出され
るデータ信号レベルが高レベルとなり、また、前記イン
ターフェースコネクタが、画像形成装置本体及び周辺機
器と非接続状態にある時に前記周辺機器から送出される
データ信号レベルが画像形成装置本体側にて低レベル、
周辺機器側にて高レベルとなるように各々の抵抗値を設
定し、且つ前記周辺機器を初期化するための信号を前記
画像形成装置本体から周辺機器に出力する手段を備えた
ことを特徴とする。
To achieve the above object, a first means of an image forming apparatus according to the present invention is an image forming apparatus in which peripheral equipment such as an automatic duplex unit is attachable / detachable to the image forming apparatus main body. An interface connector using an asynchronous serial line for connecting to a peripheral device, a resistor for pulling down a data signal transmitted from the peripheral device through the interface connector in the image forming apparatus body, and an interface for the peripheral device. Data sent from the peripheral device when the interface connector is connected to the image forming device main body and the peripheral device, and a resistor for pulling up a data signal transmitted from the image forming device main body through the connector. The signal level becomes high, and the interface Data is the image forming apparatus main body and peripherals and low-level data signal level sent from the peripheral device in the image forming apparatus main body when in the disconnected state,
The peripheral device is provided with a unit for setting each resistance value to a high level and outputting a signal for initializing the peripheral device from the image forming apparatus main body to the peripheral device. To do.

【0006】本発明にかかる画像形成装置の第二の手段
は、前記第一の手段に加え、周辺機器からのデータ信号
を画像形成装置本体側の入力ポートに印加し、インター
フェースコネクタが接続状態にある際に前記入力ポート
に高レベルの信号が入力し、インターフェースコネクタ
が非接続状態にある際に前記入力ポートに低レベルの信
号が入力するように構成したことを特徴とする。
The second means of the image forming apparatus according to the present invention is, in addition to the first means, applied a data signal from a peripheral device to an input port on the image forming apparatus main body side to bring the interface connector into a connected state. A high-level signal is input to the input port at a certain time, and a low-level signal is input to the input port when the interface connector is not connected.

【0007】本発明にかかる画像形成装置の第三の手段
は、前記第一の手段に加え、画像形成装置本体内のCP
Uが画像形成装置本体内のシリアル回線の状態を監視
し、シリアル回線に入力するデータ信号がブレーク状態
でないと判断した場合に、インターフェースコネクタが
接続状態であると判断し、シリアル回線を介して周辺機
器のCPUと連絡を取りながら周辺機器との連携動作を
行い、また画像形成装置本体内のシリアル回線がブレー
ク状態であることを検出した場合に、インターフェース
コネクタが非接続状態であると判断し、周辺機器が接続
されていないモードにて画像形成装置本体を作動せし
め、更にシリアル回線がブレーク状態から非ブレーク状
態に変化した場合に、インターフェースコネクタが非接
続状態から接続状態に移行したと判断し、周辺機器に対
して初期化するための信号を出力し、周辺機器内のCP
Uを初期化した後、シリアル回線を介して画像形成装置
本体及び周辺機器間のコミュニケーションを回復し、周
辺機器と連携して画像形成装置本体を動作させたことを
特徴とする。
The third means of the image forming apparatus according to the present invention is, in addition to the first means, a CP in the main body of the image forming apparatus.
When the U monitors the state of the serial line in the image forming apparatus main body and determines that the data signal input to the serial line is not in the break state, it determines that the interface connector is in the connected state and the peripherals are connected via the serial line. When the CPU cooperates with the peripheral device while communicating with the CPU of the device, and when it detects that the serial line in the main body of the image forming apparatus is in the break state, it determines that the interface connector is not connected, When the image forming apparatus main body is operated in the mode in which the peripheral device is not connected and the serial line changes from the break state to the non-break state, it is determined that the interface connector has transitioned from the non-connection state to the connection state, Outputs a signal for initialization to the peripheral device, and CP in the peripheral device
After U is initialized, the communication between the image forming apparatus main body and the peripheral device is restored via the serial line, and the image forming apparatus main body is operated in cooperation with the peripheral device.

【0008】本発明にかかる画像形成装置の第四の手段
は、前記第二の手段に加え、画像形成装置本体内のCP
Uが画像形成装置本体内の入力ポートの状態を監視し、
該入力ポートに予め設定された時間以上低レベルが入力
しない場合には、インターフェースコネクタが接続状態
であると判断し、シリアル回線を介して周辺機器のCP
Uと連絡を取りながら周辺機器との連携動作を行い、ま
た画像形成装置本体内の入力ポートに予め設定した時間
以上の低レベル信号が入力した場合に、インターフェー
スコネクタが非接続状態であると判断し、周辺機器が接
続されていないモードにて画像形成装置本体を作動せし
め、更に予め設定した時間以上の低レベル信号が入力ポ
ートに入力した後、該入力ポートの信号レベルが高レベ
ルとなった場合に、インターフェースコネクタが非接続
状態から接続状態に移行したと判断し、周辺機器に対し
て初期化するための信号を出力し、周辺機器内のCPU
を初期化した後、シリアル回線を介して画像形成装置本
体及び周辺機器間のコミュニケーションを回復し、周辺
機器と連携して画像形成装置本体を動作させたことを特
徴とする。
A fourth means of the image forming apparatus according to the present invention is, in addition to the second means, a CP in the main body of the image forming apparatus.
U monitors the state of the input port in the main body of the image forming apparatus,
When the low level is not input to the input port for a preset time or longer, it is determined that the interface connector is in the connected state, and the CP of the peripheral device is connected via the serial line.
The interface connector is determined to be in the disconnected state when it cooperates with peripheral devices while communicating with U, and when a low level signal for a preset time or longer is input to the input port in the main body of the image forming apparatus. Then, the image forming apparatus main body is operated in the mode in which the peripheral device is not connected, and after the low level signal for a preset time or more is input to the input port, the signal level of the input port becomes the high level. In this case, it is determined that the interface connector has transitioned from the unconnected state to the connected state, and a signal for initializing the peripheral device is output, and the CPU in the peripheral device is output.
After initialization, the communication between the image forming apparatus main body and the peripheral device is restored via the serial line, and the image forming apparatus main body is operated in cooperation with the peripheral device.

【0009】[0009]

【作用】上記第一及び第三の手段により、周辺機器を画
像形成装置本体に接続した際に、画像形成装置本体のシ
リアル回線部に高レベルのデータ信号が受信され、また
周辺機器と画像形成装置本体とが非接続時にはシリアル
回線部に低レベルのデータ信号が受信されることによ
り、画像形成装置本体のCPUがシリアル回線を監視
し、該シリアル回線部に高レベルが検出されたときに周
辺機器が装着されたと判断し、周辺機器を初期化する信
号を画像形成装置本体から周辺機器に出力すると共に、
画像形成装置本体は周辺機器装着モードで稼働し、一
方、前記シリアル回線部に低レベルが検出されたときに
周辺機器が取り外されたと判断し、画像形成装置は周辺
機器非装着モードにて動作することによって、画像形成
装置本体に着脱される周辺機器の接続/非接続状態を監
視する信号線を備えることなく、周辺機器の接続/非接
続状態を監視することにより、インターフェースコネク
タの小型化、低コスト化を図ることができる。
With the above first and third means, when the peripheral device is connected to the main body of the image forming apparatus, a high level data signal is received by the serial line portion of the main body of the image forming apparatus, and the peripheral device and the image forming apparatus are formed. When the device main body is not connected, a low-level data signal is received by the serial line unit, so that the CPU of the image forming apparatus main unit monitors the serial line, and when a high level is detected in the serial line unit, the peripheral unit detects the high level. It is determined that the device is attached, and a signal for initializing the peripheral device is output from the image forming apparatus main body to the peripheral device, and
The image forming apparatus main body operates in the peripheral device mounting mode, while it is determined that the peripheral device is removed when the low level is detected in the serial line section, and the image forming apparatus operates in the peripheral device non-mounting mode. Accordingly, by monitoring the connection / disconnection state of the peripheral device without providing a signal line for monitoring the connection / disconnection state of the peripheral device attached / detached to / from the image forming apparatus main body, the interface connector can be downsized and reduced Cost can be reduced.

【0010】上記第二及び第四の手段により、周辺機器
を画像形成装置本体に接続した際に、画像形成装置本体
のパラレル信号入出力部に高レベルのデータ信号が受信
され、また周辺機器と画像形成装置本体とが非接続時に
はパラレル信号入出力部に低レベルのデータ信号が受信
されることにより、画像形成装置本体のCPUがパラレ
ル信号入出力部を監視し、該パラレル信号入出力部に高
レベルが検出されたときに周辺機器が装着されたと判断
し、周辺機器を初期化する信号を画像形成装置本体から
周辺機器に出力すると共に、画像形成装置本体は周辺機
器装着モードで稼働し、一方、前記パラレル信号入出力
部に低レベルが検出されたときに周辺機器が取り外され
たと判断し、画像形成装置は周辺機器非装着モードにて
動作することによって、画像形成装置本体に着脱される
周辺機器の接続/非接続状態を監視する信号線を備える
ことなく、周辺機器の接続/非接続状態を監視すること
により、インターフェースコネクタの小型化、低コスト
化を図ることができる。
By the second and fourth means, when the peripheral device is connected to the main body of the image forming apparatus, a high-level data signal is received by the parallel signal input / output unit of the main body of the image forming apparatus, and the peripheral device and the peripheral device are connected to each other. When the parallel signal input / output unit receives a low-level data signal when the image forming apparatus main body is not connected, the CPU of the image forming apparatus main body monitors the parallel signal input / output unit, and the parallel signal input / output unit When the high level is detected, it is determined that the peripheral device is attached, and the signal for initializing the peripheral device is output from the image forming apparatus main body to the peripheral device, and the image forming apparatus main body operates in the peripheral device attaching mode, On the other hand, when a low level is detected in the parallel signal input / output unit, it is determined that the peripheral device is removed, and the image forming apparatus operates in the peripheral device non-attachment mode. In addition, the interface connector can be miniaturized and the cost can be reduced by monitoring the connection / disconnection state of the peripheral device without providing the signal line for monitoring the connection / disconnection state of the peripheral device attached / detached to / from the image forming apparatus main body. Can be realized.

【0011】[0011]

【実施例】以下、図面に示した実施例に基づいて、本発
明にかかる画像形成装置を詳細に説明する。図1は、本
発明にかかる画像形成装置及び該画像形成装置に接続す
る周辺機器の概略構成を示す図である。同図において、
符号1は画像形成装置の本体、2は周辺機器、3はイン
ターフェースコネクタである。画像形成装置本体1には
本体の制御を司り、また周辺機器が接続されている場合
には、該周辺機器とシリアル回線を通じて情報の交換を
行うCPU11と、本体のメモリーであり前記CPU1
1が動作を行うためのプログラムを格納したメモリー1
2と、周辺機器2との通信を行うためのシリアル回線部
(UART)13と、パラレル信号入出力部(P I/
O)14と、本体から周辺機器に対するシリアル送信信
号(TXD)をドライブするため、オープンコレクタ出
力の第1ドライバー素子15と、本体から周辺機器に対
する初期化信号(RESET)をドライブするため、オ
ープンコレクタ出力の第2ドライバー素子16と、前記
周辺機器2からの信号をプルダウンするための抵抗R3
とを備える。尚、前記シリアル回線部13は、受信信号
入力端に2バイト以上のLOWレベルが連続して入力し
た場合、ブレーク状態として判断し、ステータスを発生
する、所謂ブレーク検出機能を持つものとする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image forming apparatus according to the present invention will be described in detail below with reference to the embodiments shown in the drawings. FIG. 1 is a diagram showing a schematic configuration of an image forming apparatus according to the present invention and peripheral devices connected to the image forming apparatus. In the figure,
Reference numeral 1 is a main body of the image forming apparatus, 2 is a peripheral device, and 3 is an interface connector. The image forming apparatus main body 1 controls the main body, and when a peripheral device is connected, exchanges information with the peripheral device through a serial line.
Memory 1 that stores a program for 1 to operate
2, a serial line unit (UART) 13 for communicating with the peripheral device 2, and a parallel signal input / output unit (PI /
O) 14 and the first driver element 15 of open collector output for driving the serial transmission signal (TXD) from the main body to the peripheral device, and the open collector output for driving the initialization signal (RESET) from the main body to the peripheral device. Output second driver element 16 and resistor R3 for pulling down the signal from the peripheral device 2.
With. The serial line unit 13 has a so-called break detection function of determining a break state and generating a status when a LOW level of 2 bytes or more is continuously input to the reception signal input terminal.

【0012】一方、周辺機器2には周辺機器の制御を司
るCPU21と、前記CPU21が動作を行うためのプ
ログラムを格納したメモリー22と、本体と通信を行う
ためのシリアル回線部23と、周辺機器から本体へ送信
するシリアル受信信号(RXD)をドライブするため、
オープンコレクタ出力の第3のドライバー素子24と、
前記シリアル受信信号(TXD)と初期化信号(RES
ET)をプルアップするための抵抗R1と、前記シリア
ル受信信号(RXD)をプルアップするための抵抗R2
とを備える。尚、前記抵抗R1は第1及び第2ドライバ
ー素子15、16の出力をプルアップ可能な値であれ
ば、特に制約はなく、一例としては4.7kΩ程度が適
当である。
On the other hand, the peripheral device 2 includes a CPU 21 for controlling the peripheral device, a memory 22 storing a program for the CPU 21 to operate, a serial line section 23 for communicating with the main body, and the peripheral device. To drive the serial reception signal (RXD) transmitted from the
A third driver element 24 having an open collector output,
The serial reception signal (TXD) and the initialization signal (RES
ET) and a resistor R1 for pulling up the serial reception signal (RXD).
With. The resistor R1 is not particularly limited as long as it has a value capable of pulling up the outputs of the first and second driver elements 15 and 16, and for example, about 4.7 kΩ is suitable.

【0013】画像形成装置本体1から周辺機器2に転送
されるデータは、シリアル回線部13と第1ドライバ素
子15を介して送出され、更にインターフェースコネク
タ3を介して周辺機器2に受信される。また 周辺機器
を初期化するための信号はパラレル信号入出力部14と
第2ドライバ素子16を介して送出される。
The data transferred from the image forming apparatus main body 1 to the peripheral device 2 is sent out via the serial line section 13 and the first driver element 15, and further received by the peripheral device 2 via the interface connector 3. A signal for initializing the peripheral device is sent out via the parallel signal input / output unit 14 and the second driver element 16.

【0014】周辺機器2において、受信したデータ及び
初期化信号はそれぞれ抵抗R1によってプルアップさ
れ、周辺機器2内のCPU21或いはシリアル回線部2
3に入力し、周辺機器を初期化すると共に、その駆動、
例えば、自動両面ユニット機能を達成するための動作が
行われる。また、周辺機器2からの応答信号はCPU2
1からシリアル回線部23及び第3ドライバー素子24
を介して送出され、更にインターフェースコネクタ3を
介して画像形成装置本体1に送信される。この際、送信
データは周辺機器2の抵抗R2によってプルアップさ
れ、更に本体1の抵抗R3によってプルダウンされた
後、本体1のシリアル回線部13に受信される。
In the peripheral device 2, the received data and the initialization signal are pulled up by the resistor R1 respectively, and the CPU 21 or the serial line unit 2 in the peripheral device 2 is pulled up.
Input to 3 to initialize peripheral devices and drive them,
For example, an operation is performed to achieve the automatic duplex unit function. In addition, the response signal from the peripheral device 2 is the CPU 2
1 to serial line unit 23 and third driver element 24
And is further transmitted to the image forming apparatus main body 1 via the interface connector 3. At this time, the transmission data is pulled up by the resistor R2 of the peripheral device 2, further pulled down by the resistor R3 of the main body 1, and then received by the serial line unit 13 of the main body 1.

【0015】このように構成した画像形成装置本体1及
び周辺機器2において、インターフェースコネクタ3を
切り放した際、即ち、周辺機器2を取り外した際には、
本体1にて受信されるべき受信信号(周辺機器からの送
信信号(RXD))がLOWレベルとなり、また一方、
インターフェースコネクタ3を接続した場合、即ち、周
辺機器2を取り付けた際には、本体1にて受信される受
信信号(RXD)がHIGHレベルとなるため、周辺機
器2の着脱状態を把握することが可能となる。
In the image forming apparatus main body 1 and the peripheral device 2 thus configured, when the interface connector 3 is cut off, that is, when the peripheral device 2 is removed,
The reception signal to be received by the main body 1 (transmission signal (RXD) from the peripheral device) becomes LOW level, and
When the interface connector 3 is connected, that is, when the peripheral device 2 is attached, the reception signal (RXD) received by the main body 1 becomes HIGH level, so that the attachment / detachment state of the peripheral device 2 can be grasped. It will be possible.

【0016】ここで、周辺機器2の着脱により本体1の
シリアル回線部13において信号レベルがLOWレベル
及びHIGHレベルになるためには、周辺機器2の抵抗
R2の値が本体1の抵抗R1の値と比較して1/10未
満であることが望ましい。したがって、抵抗R2の値と
しては1kΩ、抵抗R3の値は47kΩ程度が適当であ
る。
Here, in order that the signal level becomes LOW level and HIGH level in the serial line section 13 of the main body 1 by attaching and detaching the peripheral equipment 2, the value of the resistance R2 of the peripheral equipment 2 is the value of the resistance R1 of the main body 1. It is preferably less than 1/10 compared with. Therefore, it is appropriate that the value of the resistor R2 is about 1 kΩ and the value of the resistor R3 is about 47 kΩ.

【0017】このように各抵抗値を設定すると、シリア
ル回線部13の受信信号(RXD)入力は、インターフ
ェースコネクタ3が非接続時には抵抗R3によってグラ
ンドレベルまでプルダウンされ、また接続時においては
抵抗R2及び抵抗R3によって5(V)/(47+1)
×48=4.89(V)にプルアップされるので、シリ
アル回線部13のブレーク機能を用いて、容易に接続/
非接続を認識することが可能となる。
When the respective resistance values are set in this way, the reception signal (RXD) input of the serial line section 13 is pulled down to the ground level by the resistor R3 when the interface connector 3 is not connected, and the resistor R2 and the resistor R2 when the interface connector 3 is connected. 5 (V) / (47 + 1) by resistance R3
Since it is pulled up to × 48 = 4.89 (V), it is easy to connect / connect using the break function of the serial line unit 13.
It becomes possible to recognize the non-connection.

【0018】次に前記図1に示した画像形成装置及び周
辺機器の動作について図2に基づいて説明する。図2は
制御手順を示すフローチャートであり、先ず、シリアル
回線部13がブレーク検出状態を一定周期で監視し(ス
テップ1)、ブレークを検出すると本体のCPU11は
周辺機器が取り外されたと判断し(ステップ2)、画像
形成装置本体は周辺機器無しのモードにて動作する。ま
た、前記ステップ1にてブレークを検出しなかった場合
には、画像形成装置本体のCPU11は前回の監視時の
状態がブレーク状態であったか否かを確認する(ステッ
プ3)。即ち、状態が変化したか否かを判定することに
より、周辺機器が取り付けられたのか、或いは以前から
取り付けられていたのかを判定する。
Next, the operation of the image forming apparatus and peripheral equipment shown in FIG. 1 will be described with reference to FIG. FIG. 2 is a flowchart showing the control procedure. First, the serial line unit 13 monitors the break detection state at a constant cycle (step 1). When the break is detected, the CPU 11 of the main body judges that the peripheral device has been removed (step 1). 2), the image forming apparatus main body operates in a mode without peripheral devices. When the break is not detected in step 1, the CPU 11 of the image forming apparatus main body checks whether or not the state of the last monitoring was the break state (step 3). That is, it is determined whether or not the peripheral device has been attached or previously attached by determining whether or not the state has changed.

【0019】前回はブレーク状態であったと判断した場
合には、本体のCPU11は周辺機器が装置本体の稼働
中に新たに接続されたか若しくは一度接続を断たれた後
に再度接続されたと判断し、パラレル信号入出力ポート
14及び第二ドライバー素子16を介して周辺機器のC
PU21及びシリアル回線部23に対しリセットをかけ
る(ステップ4)。周辺機器の初期化後、本体のCPU
11と周辺機器のCPU21とは互いのシリアル回線部
13及び23を介して回線を復活させ(ステップ5)、
本体のCPU11は周辺機器有りのモードにて周辺機器
とコミュニケーションを取りながら周辺機器と連携して
本体装置を動作させる(ステップ6)。
When the CPU 11 of the main body determines that the peripheral device was in the break state last time, the peripheral device determines that the peripheral device is newly connected while the main body of the apparatus is operating, or is reconnected after the peripheral device is disconnected. C of the peripheral device through the signal input / output port 14 and the second driver element 16
The PU 21 and the serial line unit 23 are reset (step 4). CPU of the main body after initialization of peripheral devices
11 and the CPU 21 of the peripheral device restore the line via the mutual serial line units 13 and 23 (step 5),
The CPU 11 of the main body operates the main body device in cooperation with the peripheral device while communicating with the peripheral device in the mode with the peripheral device (step 6).

【0020】尚、前記ステップ3において、前回はブレ
ーク状態でなかったと判断した場合、即ち、前回の監視
時にすでに周辺機器が接続されていたと判断した場合に
は、本体のCPU11は周辺機器有りのモードにて周辺
機器とコミュニケーションを取りながら周辺機器と連携
して本体装置を継続して動作させる。このように画像形
成装置とそれに着脱される周辺機器の接続/非接続状態
を監視する信号線を専用に備えることなく、インターフ
ェースコネクタが有する他の信号線の信号(本実施例の
場合には受信データ信号)を利用して周辺機器の接続/
非接続状態を監視するので、インターフェースコネクタ
を小型化し、且つ低コストの画像形成装置を提供するこ
とが可能となる。
If it is determined in step 3 that the previous break was not made, that is, if the peripheral device was already connected at the time of the previous monitoring, the CPU 11 of the main body is in the peripheral device presence mode. While communicating with the peripheral device, continue to operate the main unit in cooperation with the peripheral device. As described above, the signal of the other signal line of the interface connector (in the case of the present embodiment, the reception signal is received in the interface connector is not provided for exclusive use of the signal line for monitoring the connection / disconnection state of the image forming apparatus and the peripheral device attached / detached thereto. Connection of peripheral devices using data signals)
Since the non-connection state is monitored, it is possible to downsize the interface connector and provide a low-cost image forming apparatus.

【0021】図3は本発明の第2の実施例を示す図であ
り、前記第1の実施例と異なる点は、周辺機器2から送
信された信号をシリアル回線部13及びパラレル信号入
出力部14に印加した点である。このように構成するこ
とによって、インターフェースコネクタが非接続時に
は、シリアル回線部13及びパラレル信号入出力部14
にグランドレベルの信号が入力し、またインターフェー
スコネクタが接続時にはシリアル回線部13及びパラレ
ル信号入出力部14に所定(上記実施例と同様の抵抗値
を設定すれば、4.89V)の信号が入力するので、シ
リアル回線部13としてブレーク機能を備えていないも
のを用いた場合であっても確実に周辺機器の接続を認識
することができる。
FIG. 3 is a diagram showing a second embodiment of the present invention. The difference from the first embodiment is that the signal transmitted from the peripheral device 2 is converted into a serial line section 13 and a parallel signal input / output section. 14 is the point applied. With this configuration, when the interface connector is not connected, the serial line unit 13 and the parallel signal input / output unit 14 are connected.
Ground level signal is input to the serial line section 13 and parallel signal input / output section 14 when the interface connector is connected, and a predetermined signal (4.89 V if the same resistance value as in the above embodiment is set) is input. Therefore, even when the serial line unit 13 having no break function is used, the connection of the peripheral device can be surely recognized.

【0022】図4は前記第2の実施例の制御手順を示す
フローチャートであり、先ず、本体装置のCPU11は
パラレル信号入出力部14の入力状態を一定周期で監視
し(ステップ11)、パラレル信号入出力部14の入力
がLOWを検出した場合であって、且つそのLOWレベ
ルの状態が予め設定された時間(判定時間)より長く維
持するか否かを監視する(ステップ12)。パラレル信
号入出力部14の入力レベルが判定時間以上LOWを維
持する場合には、本体装置のCPU11は本体装置から
周辺機器が切り放されたと判断し、本体装置を周辺機器
無しのモードにて動作させる(ステップ13)。
FIG. 4 is a flow chart showing the control procedure of the second embodiment. First, the CPU 11 of the main body device monitors the input state of the parallel signal input / output unit 14 at a constant cycle (step 11), and the parallel signal is detected. When the input of the input / output unit 14 detects LOW, and whether or not the LOW level state is maintained longer than a preset time (determination time) is monitored (step 12). When the input level of the parallel signal input / output unit 14 maintains LOW for the determination time or longer, the CPU 11 of the main body device determines that the peripheral device is disconnected from the main body device, and operates the main body device in the mode without the peripheral device. (Step 13).

【0023】一方、前記ステップ11にてLOWレベル
信号を検出しなかった場合若しくは前記ステップ12に
て所定時間以上のLOWレベル信号を検出しなかった場
合には、本体装置のCPU11は前回の監視時の状態
(前回はLOW状態が判定時間より長かったか否か)を
確認する(ステップ14)。
On the other hand, when the LOW level signal is not detected in the step 11 or when the LOW level signal is not detected for the predetermined time or more in the step 12, the CPU 11 of the main body device performs the previous monitoring. (Whether the LOW state was longer than the determination time last time) is checked (step 14).

【0024】ここで、前回はLOW状態が判定時間より
長いと判断した場合には、本体のCPU11は周辺機器
が本体装置の稼働中に新たに接続されたか若しくは一度
接続を断たれた後に再度接続されたと判断し、パラレル
信号入出力ポート14及び第二ドライバー素子16を介
して周辺機器のCPU21及びシリアル回線部23に対
しリセットをかける(ステップ15)。周辺機器の初期
化後、本体のCPU11と周辺機器のCPU21とは互
いのシリアル回線部13及び23を介して回線を復活さ
せ(ステップ16)、本体のCPU11は周辺機器有り
のモードにて周辺機器とコミュニケーションを取りなが
ら周辺機器と連携して本体装置を動作させる(ステップ
17)。
Here, if it is determined that the LOW state is longer than the determination time last time, the CPU 11 of the main body is reconnected after the peripheral device is newly connected while the main body device is operating or once disconnected. It is determined that the CPU 21 and the serial line unit 23 of the peripheral device are reset via the parallel signal input / output port 14 and the second driver element 16 (step 15). After the peripheral device is initialized, the CPU 11 of the main body and the CPU 21 of the peripheral device restore the line via the serial line portions 13 and 23 of each other (step 16), and the CPU 11 of the main body is in the mode with the peripheral device. The main device is operated in cooperation with the peripheral device while communicating with (step 17).

【0025】尚、前記ステップ3において、前回はLO
W状態が判定時間より短かったと判断した場合、即ち、
前回の監視時にすでに周辺機器が接続されていたと判断
した場合には、本体のCPU11は周辺機器有りのモー
ドにて周辺機器とコミュニケーションを取りながら周辺
機器と連携して本体装置を継続して動作させる。
In the step 3, the last time LO
When it is determined that the W state is shorter than the determination time, that is,
When it is determined that the peripheral device has already been connected at the time of the previous monitoring, the CPU 11 of the main body continuously communicates with the peripheral device in the mode with the peripheral device and continuously operates the main body device in cooperation with the peripheral device. .

【0026】[0026]

【発明の効果】本発明は以上説明したように、画像形成
装置本体とそれに着脱される周辺機器の接続/非接続状
態を監視する信号線を専用に備えることなく、インター
フェースコネクタが有する他の信号線の受信データ信号
を利用して周辺機器の接続/非接続状態を監視するの
で、インターフェースコネクタを小型化し、且つ低コス
トの画像形成装置を提供することができる。
As described above, the present invention does not have a signal line dedicated to monitor the connection / disconnection state of the image forming apparatus main body and the peripheral equipment attached / detached to / from the image forming apparatus main body, and other signals that the interface connector has. Since the connection / non-connection state of the peripheral device is monitored by using the received data signal of the line, the interface connector can be downsized and the image forming apparatus can be provided at low cost.

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

【図1】本発明にかかる画像形成装置及び該画像形成装
置に接続する周辺機器の概略構成を示す図である。
FIG. 1 is a diagram showing a schematic configuration of an image forming apparatus according to the present invention and peripheral devices connected to the image forming apparatus.

【図2】制御手順を示すフローチャートである。FIG. 2 is a flowchart showing a control procedure.

【図3】本発明の第2の実施例の画像形成装置及び該画
像形成装置に接続する周辺機器の概略構成を示す図であ
る。
FIG. 3 is a diagram showing a schematic configuration of an image forming apparatus according to a second embodiment of the present invention and peripheral devices connected to the image forming apparatus.

【図4】制御手順を示すフローチャートである。FIG. 4 is a flowchart showing a control procedure.

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

1・・・画像形成装置本体、2・・・周辺機器、 3・・・インターフェースコネクタ、 11、21・・・CPU、12、22・・・メモリー、 13、23・・・シリアル回線部(UART)、 14・・・パラレル信号入出力部(P I/O)、 15・・・第1ドライバー素子、 16・・・第2ドライバー素子、24・・・第3ドライ
バー素子、 R1、R2・・・プルアップ抵抗、R3・・・プルダウ
ン抵抗、
1 ... Image forming apparatus main body, 2 ... Peripheral device, 3 ... Interface connector, 11, 21 ... CPU, 12, 22 ... Memory, 13, 23 ... Serial line unit (UART) ), 14 ... Parallel signal input / output unit (P I / O), 15 ... First driver element, 16 ... Second driver element, 24 ... Third driver element, R1, R2 ...・ Pull-up resistance, R3 ・ ・ ・ Pull-down resistance,

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 自動両面ユニット等の周辺機器が着脱可
能な画像形成装置において、 前記画像形成装置本体と周辺機器とを接続する非同期式
シリアル回線を用いたインターフェースコネクタと、前
記画像形成装置本体において、前記インターフェースコ
ネクタを介し周辺機器から送信されたデータ信号をプル
ダウンする抵抗と、前記周辺機器において、前記インタ
ーフェースコネクタを介し画像形成装置本体から送信さ
れたデータ信号をプルアップする抵抗とを備え、 前記インターフェースコネクタが、画像形成装置本体及
び周辺機器と接続状態にある場合に、前記周辺機器から
送出されるデータ信号レベルが高レベルとなり、前記イ
ンターフェースコネクタが、画像形成装置本体及び周辺
機器と非接続状態にある時に前記周辺機器から送出され
るデータ信号レベルが画像形成装置本体側にて低レベ
ル、周辺機器側にて高レベルとなるように各々の抵抗値
を設定し、且つ前記周辺機器を初期化するための信号を
前記画像形成装置本体から周辺機器に出力する手段を備
えたことを特徴とする画像形成装置。
1. An image forming apparatus in which a peripheral device such as an automatic duplex unit is detachable, and an interface connector using an asynchronous serial line connecting the image forming device main body and the peripheral device, and the image forming device main body. A resistor for pulling down a data signal transmitted from a peripheral device via the interface connector, and a resistor for pulling up a data signal transmitted from the image forming apparatus main body via the interface connector in the peripheral device, When the interface connector is connected to the image forming apparatus main body and the peripheral device, the level of the data signal transmitted from the peripheral device becomes high, and the interface connector is not connected to the image forming apparatus main body and the peripheral device. Sent from the peripheral device when The signal values for setting the respective resistance values such that the data signal level to be set is low level on the image forming apparatus main body side and the peripheral device side is high level, and a signal for initializing the peripheral equipment is supplied to the image forming apparatus. An image forming apparatus comprising means for outputting from a main body to peripheral equipment.
【請求項2】 請求項1記載の画像形成装置において、
周辺機器からのデータ信号を画像形成装置本体側の入力
ポートに印加し、インターフェースコネクタが接続状態
にある際に前記入力ポートに高レベルの信号が入力し、
インターフェースコネクタが非接続状態にある際に前記
入力ポートに低レベルの信号が入力するように構成した
ことを特徴とする画像形成装置。
2. The image forming apparatus according to claim 1,
A data signal from a peripheral device is applied to an input port on the image forming apparatus main body side, and a high level signal is input to the input port when the interface connector is in a connected state,
An image forming apparatus characterized in that a low level signal is inputted to the input port when the interface connector is in a non-connection state.
【請求項3】 請求項1記載の画像形成装置において、 画像形成装置本体内のCPUが画像形成装置本体内のシ
リアル回線の状態を監視し、シリアル回線に入力するデ
ータ信号がブレーク状態でないと判断した場合に、イン
ターフェースコネクタが接続状態であると判断し、シリ
アル回線を介して周辺機器のCPUと連絡を取りながら
周辺機器との連携動作を行い、 画像形成装置本体内のシリアル回線がブレーク状態であ
ることを検出した場合に、インターフェースコネクタが
非接続状態であると判断し、周辺機器が接続されていな
いモードにて画像形成装置本体を作動せしめ、 シリアル回線がブレーク状態から非ブレーク状態に変化
した場合に、インターフェースコネクタが非接続状態か
ら接続状態に移行したと判断し、周辺機器に対して初期
化するための信号を出力し、周辺機器内のCPUを初期
化した後、シリアル回線を介して画像形成装置本体及び
周辺機器間のコミュニケーションを回復し、周辺機器と
連携して画像形成装置本体を動作させたことを特徴とす
る画像形成装置。
3. The image forming apparatus according to claim 1, wherein the CPU in the main body of the image forming apparatus monitors the state of the serial line in the main body of the image forming apparatus and determines that the data signal input to the serial line is not in the break state. In this case, the interface connector is determined to be in the connected state, the CPU of the peripheral device is contacted via the serial line, and the linked operation with the peripheral device is performed, and the serial line in the main body of the image forming apparatus is in the break state. If it is detected, it is determined that the interface connector is not connected, the image forming apparatus main body is operated in the mode where the peripheral device is not connected, and the serial line changes from the break state to the non-break state. In this case, it is determined that the interface connector has transitioned from the unconnected state to the connected state, and After outputting a signal for initialization and initializing the CPU in the peripheral device, the communication between the image forming apparatus main body and the peripheral device is restored via the serial line, and the image forming apparatus main body cooperates with the peripheral device. An image forming apparatus characterized in that the image forming apparatus is operated.
【請求項4】 請求項2記載の画像形成装置において、 画像形成装置本体内のCPUが画像形成装置本体内の入
力ポートの状態を監視し、該入力ポートに予め設定され
た時間以上低レベルが入力しない場合には、インターフ
ェースコネクタが接続状態であると判断し、シリアル回
線を介して周辺機器のCPUと連絡を取りながら周辺機
器との連携動作を行い、 画像形成装置本体内の入力ポートに予め設定した時間以
上の低レベル信号が入力した場合に、インターフェース
コネクタが非接続状態であると判断し、周辺機器が接続
されていないモードにて画像形成装置本体を作動せし
め、 予め設定した時間以上の低レベル信号が入力ポートに入
力した後、該入力ポートの信号レベルが高レベルとなっ
た場合に、インターフェースコネクタが非接続状態から
接続状態に移行したと判断し、周辺機器に対して初期化
するための信号を出力し、周辺機器内のCPUを初期化
した後、シリアル回線を介して画像形成装置本体及び周
辺機器間のコミュニケーションを回復し、周辺機器と連
携して画像形成装置本体を動作させたことを特徴とする
画像形成装置。
4. The image forming apparatus according to claim 2, wherein the CPU in the image forming apparatus main body monitors a state of an input port in the image forming apparatus main body, and a low level is maintained for a predetermined time or more in the input port. If no input is made, it is determined that the interface connector is in a connected state, and the CPU operates the peripheral device through a serial line to perform a cooperative operation with the peripheral device and preliminarily connect to the input port in the main body of the image forming apparatus. If a low level signal is input for more than the set time, it is determined that the interface connector is not connected, and the image forming apparatus main unit is operated in the mode in which peripheral devices are not connected, and The interface connector is not connected when the signal level of the input port becomes high level after the low level signal is input to the input port. After determining that the state has changed to the connection state, outputting a signal for initialization to the peripheral device, initializing the CPU in the peripheral device, and then between the image forming apparatus main body and the peripheral device via the serial line. The image forming apparatus is characterized in that the communication of the image forming apparatus is restored, and the image forming apparatus main body is operated in cooperation with peripheral devices.
JP7080805A 1995-03-13 1995-03-13 Image forming apparatus Pending JPH08244316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7080805A JPH08244316A (en) 1995-03-13 1995-03-13 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7080805A JPH08244316A (en) 1995-03-13 1995-03-13 Image forming apparatus

Publications (1)

Publication Number Publication Date
JPH08244316A true JPH08244316A (en) 1996-09-24

Family

ID=13728690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7080805A Pending JPH08244316A (en) 1995-03-13 1995-03-13 Image forming apparatus

Country Status (1)

Country Link
JP (1) JPH08244316A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774795B2 (en) 1996-01-29 2010-08-10 Canon Kabushiki Kaisha Printer with optional device control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774795B2 (en) 1996-01-29 2010-08-10 Canon Kabushiki Kaisha Printer with optional device control

Similar Documents

Publication Publication Date Title
EP0836742B1 (en) Reconfigurable connector
US5784581A (en) Apparatus and method for operating a peripheral device as either a master device or a slave device
US7085876B2 (en) USB controlling apparatus for data transfer between computers and method for the same
JP3513916B2 (en) Camera system
JP3610424B2 (en) Electronic equipment and interface circuit
US20030212841A1 (en) Method and apparatus of controlling an operational mode of a USB device
EP1092194B1 (en) Device for use as stand-alone device and as slave device in a data bus system
JP2000235545A (en) Device for multiplexing serial signal on parallel bus
EP1139226A1 (en) Method of emulating an attachment and detachment of a USB device
WO2006134782A1 (en) Communication apparatus, communication method, and computer program for controlling communication apparatus
US7984201B2 (en) Communication apparatus and control method for the communication apparatus
JP2001067156A (en) Peripheral equimenht of computer, control method therefor, image pickup device, and storage medium
JP2001067156A5 (en) Computer peripherals and their control methods, imaging devices and their control methods, and computer-readable storage media
JP2000209238A (en) Method and apparatus for electronic equipment control
EP2177999B1 (en) Terminal device
JPH08244316A (en) Image forming apparatus
JP2001306413A (en) Usb communication device
JP2510221B2 (en) Network node address setting method
JP2003248535A (en) Device with interface recognizing function
JP2000293479A (en) Peripheral equipment and signal transmitting device using the same
JP3204301B2 (en) Control method between pointing device and computer
JP2001184296A (en) Usb communication interface, computer, hub, electronic equipment, and function switching method in the electronic equipment
JP4277497B2 (en) Compound equipment
JP2002163051A (en) Electronic apparatus, usb connector structure, and usb device connecting cable
JP2006171868A (en) Printing device