JPH03224049A - Connection device - Google Patents

Connection device

Info

Publication number
JPH03224049A
JPH03224049A JP2019731A JP1973190A JPH03224049A JP H03224049 A JPH03224049 A JP H03224049A JP 2019731 A JP2019731 A JP 2019731A JP 1973190 A JP1973190 A JP 1973190A JP H03224049 A JPH03224049 A JP H03224049A
Authority
JP
Japan
Prior art keywords
connection
centronics
output
signal
input
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
JP2019731A
Other languages
Japanese (ja)
Inventor
Masaji Kanemura
正司 兼村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019731A priority Critical patent/JPH03224049A/en
Publication of JPH03224049A publication Critical patent/JPH03224049A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、セントロニクスインターフェイスの接続装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a connection device for a Centronics interface.

[従来の技術〕 従来、この種の装置を用いたシステムにおいては、出力
機器にデータを出力する前に、入力機器が所望のモード
に設定して使用する場合、たとえばレーザービームプリ
ンタを出力機器として使用するならば、入力機器、たと
えばワードプロセッサは、最初にレーザービームプリン
タのモード設定を行ってから使用する。
[Prior Art] Conventionally, in a system using this type of device, when the input device is set to a desired mode before outputting data to the output device, for example, a laser beam printer is used as the output device. If used, the input device, such as a word processor, must first be used to set the mode of the laser beam printer.

従来、このモード設定は、入力機器を立ち上げた後初め
ての印刷の時、または出力機器が電源を落とされ再投入
した後初めての印刷のとき実行されていた。
Conventionally, this mode setting has been performed when printing for the first time after starting up an input device, or when printing for the first time after an output device is powered off and then turned on again.

[発明が解決しようとしている問題点]しかしながら、
従来のセントロニクス接続装置では、1台の出力機器を
複数の入力機器で共有するとき、このモード設定が入力
機器によって違う場合は、モード設定が他の入力機器に
よって書き換えられてしまうが、それに対してモードの
設定を行なわないという問題点があった。
[Problem that the invention seeks to solve] However,
With conventional Centronics connection devices, when one output device is shared by multiple input devices, if the mode setting differs depending on the input device, the mode setting will be overwritten by the other input device. There was a problem in that the mode was not set.

E問題点を解決するための手段] 上記問題点を解決するために、本発明の接続装置は、複
数のセントロニクス入力部の1つとセントロニクス出力
部とを接続する接続手段と、該接続手段による接続を切
断する切断手段と、前記セントロニクス出力部に接続さ
れた機器の通電状態を、前記セントロニクス入力部に接
続された機器に通知する通知手段と、前記切断手段によ
って前記接続手段による接続を切断する際に、該通知手
段によって非通電状態を通知するように制御する制御手
段とを具える。
Means for Solving Problem E] In order to solve the above problem, the connection device of the present invention includes a connection means for connecting one of a plurality of Centronics input sections and a Centronics output section, and a connection by the connection means. a disconnecting means for disconnecting a device connected to the Centronics output section; a notification means for notifying a device connected to the Centronics input section of the energization state of the device connected to the Centronics output section; and a control means for controlling the notification means to notify the de-energized state.

[イ乍用] 本発明によれば、切断手段によるセントロニクスインタ
ーフェイスの切断時に、通知手段により入力側に電源断
を通知して、出力側の機器の電源が落とされたと判断さ
せ、次の出力時にモード設定を行わせようとするもので
ある。
[For use] According to the present invention, when the Centronics interface is disconnected by the disconnection means, the notification means notifies the input side that the power has been turned off, so that it is determined that the power of the output side equipment has been turned off. This is to have the mode set.

[実施例] 以下、図面を参照しながら、本発明の1実施例を説明す
る。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は、本発明の接続装置の入出力構成例を示す図で
ある。同図に示すように、本実施例では、4つの入力(
INO〜3)と1つの出力(OUT)を持ち、待機状態
(どこにも接続されていない状態)において、最もデー
タが先に来た入力機器と出力機器とを接続する。
FIG. 1 is a diagram showing an example of the input/output configuration of a connecting device according to the present invention. As shown in the figure, in this embodiment, four inputs (
INO~3) and one output (OUT), and in a standby state (not connected to anything), connects the input device and output device that received the most data first.

セントロニクスのデータ転送の仕組みは周知の如(、第
2図のタイミングに示すように、ストロブ信号によりデ
ータをラッチすることで実現される。通常ストローブは
1マイクロセ力ンド程度であり、その前後数マイクロセ
カンド程度データバスが有効データを保持していれば正
しく転送が行なわれる。
The data transfer mechanism of Centronics is well known (as shown in the timing diagram in Figure 2, data is latched by a strobe signal. Normally, a strobe is about 1 microsecond, and several microseconds before and after that. If the data bus holds valid data for about a second time, the transfer will be performed correctly.

第3図は本実施例の接続装置の内部構成の主要部分を示
すブロック図である。
FIG. 3 is a block diagram showing the main parts of the internal configuration of the connection device of this embodiment.

同図において、1o、12はセレクタであり、入力から
の信号線を選択信号aにより選択し出力する。20はエ
ンコーダでありストローブをエンコードする。21はラ
ッチであり、ラッチ信号すによりエンコーダの出力をラ
ッチし、選択信号aを生成する。30は論理和回路であ
り、ホスト0〜3いずれかのストローブにより、ラッチ
信号すを生成する。40はリトリガブルタイマであり、
ラッチ信号すとストローブ信号dにより起動され、一定
時間後にタイムアウトになるまで信号Cを生成する。5
0はゲートであり、セレクタ12からのストローブ信号
を信号Cによりゲートする。60はパルス発生器であり
信号Cの終了時に一定長のパルスを発生する。70はセ
レクタであり、10.12と同様に選択信号aにより選
択されるホストにパルス発生器60からのパルスを出力
する。
In the figure, 1o and 12 are selectors, which select the signal line from the input by a selection signal a and output the selected signal line. 20 is an encoder that encodes the strobe. A latch 21 latches the output of the encoder using a latch signal and generates a selection signal a. Reference numeral 30 denotes an OR circuit, which generates a latch signal S in response to a strobe from one of the hosts 0 to 3. 40 is a retriggerable timer;
The latch signal is activated by the strobe signal d, and generates the signal C until a timeout occurs after a certain period of time. 5
0 is a gate, and the strobe signal from the selector 12 is gated by the signal C. 60 is a pulse generator which generates a pulse of a certain length when the signal C ends. A selector 70 outputs the pulse from the pulse generator 60 to the host selected by the selection signal a, similar to 10.12.

次に本発明接続装置の動作を説明する。Next, the operation of the connecting device of the present invention will be explained.

まずタイマ40がタイムアウトしている待機状態(どこ
にも接続されていない状態)において、4つのホストマ
シンのいずれかからデータを出力するためにストローブ
が出される。ホストからのストローブは論理和回路30
に入り、ラッチ信号すを生成する。ラッチ信号すはエン
コーダ20からの出力をラッチ回路21でラッチし、選
択信号aを生成すると共にタイマ40に起動をかける。
First, in a standby state where the timer 40 has timed out (a state where the machine is not connected to anything), a strobe is issued to output data from one of the four host machines. The strobe from the host is an OR circuit 30
and generates a latch signal. The latch signal A latches the output from the encoder 20 in the latch circuit 21, generates the selection signal a, and starts the timer 40.

タイマ40は起動がかかると信号Cを生成し、論理和回
路30をディセーブルして他のホストからのストローブ
により切り替わるのを防ぐとともに、ゲート50をイネ
ーブルし、ストローブ信号のゲートを開ける。先に生成
された選択信号aはセレクタ10〜12に入り、4つの
入力のうち1つが選択され、選ばれたデータおよびスト
ローブが出力される。
When activated, timer 40 generates signal C, disables OR circuit 30 to prevent switching due to strobes from other hosts, and enables gate 50 to open the gate for the strobe signal. The previously generated selection signal a enters the selectors 10 to 12, one of the four inputs is selected, and the selected data and strobe are output.

以上のようにして接続がなされた後は、タイマ40はス
トローブがホスト側から一定時間以内に来る限りストロ
ーブ信号dにより再起動され、タイムアウトすることな
(接続状態が維持される。
After the connection is established as described above, the timer 40 is restarted by the strobe signal d as long as the strobe is received from the host within a certain period of time, and the timer 40 does not time out (the connection state is maintained).

ストローブが一定時間以上とぎれると、タイマ40はタ
イムアウトとなり信号CがOFFされる。するとストロ
ーブのゲート50が閉じられるとともにパルス発生器6
0が一定長のパルスを発生する。このパルスはセレクタ
70に入り、選択信号aにより選択されるホストに対し
て、ホスト側に出力側の電源ONを表示させている信号
をパルス長だけOFFする。同時に信号Cは論理和回路
30をイネーブルにし、切り替えを許可し待機状態に戻
る。
When the strobe is interrupted for a certain period of time or more, the timer 40 times out and the signal C is turned off. Then, the strobe gate 50 is closed and the pulse generator 6 is closed.
0 generates a pulse of constant length. This pulse enters the selector 70, and for the host selected by the selection signal a, turns off the signal that indicates on the host side that the output side power is ON by the pulse length. At the same time, signal C enables OR circuit 30, allowing switching and returning to the standby state.

[他の実施例] 本実施例では、リトリガブルタイマにより切断を行うよ
うに構成したが、他の方法でもよい。
[Other Examples] In this example, the disconnection is performed using a retriggerable timer, but other methods may be used.

また、本実施例では入力ボートと出力ボートが一体とな
った態様を述べたが、入力と出力が別の場所にあって、
その間がネットワークで結ばれているような態様でも本
発明の趣旨を損なうものではない。
Furthermore, although this embodiment has described a mode in which the input boat and the output boat are integrated, the input and output are located at different locations.
Even if the devices are connected via a network, this does not detract from the spirit of the present invention.

[発明の効果〕 以上説明したように、本発明によれば、接続装置の接続
を切断する時、入力側に一定期間電源断を表示するよう
にしたので、入力側の機器は出力機器が電源を切断後再
投入したと判断し、次回の出力時にモード設定をするよ
うに構成でき、同一の出力機器に、異なるモード設定を
行なう複数の人力機器間で、出力機器の共有を可能とす
る。
[Effects of the Invention] As explained above, according to the present invention, when disconnecting the connection device, a power-off is displayed on the input side for a certain period of time, so that the device on the input side is not powered on when the output device is powered off. The device can be configured to determine that the device has been turned on again after being disconnected, and to set the mode for the next output, allowing the same output device to be shared among multiple human-powered devices that have different mode settings.

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

第1図は接続装置の入出力構成を示す図、第2図はデー
タ転送のタイミングを示す図、第3図は、接続装置のブ
ロック構成図である。 図中、lは接続装置、10.12.70はセレクタ、2
0はエンコーダ、21はラッチ、30は論理和回路、4
0はタイマ、50はゲート、60はパルス発生器である
。
FIG. 1 is a diagram showing the input/output configuration of the connecting device, FIG. 2 is a diagram showing the timing of data transfer, and FIG. 3 is a block diagram of the connecting device. In the figure, l is the connection device, 10.12.70 is the selector, 2
0 is an encoder, 21 is a latch, 30 is an OR circuit, 4
0 is a timer, 50 is a gate, and 60 is a pulse generator.

Claims (1)

【特許請求の範囲】[Claims] (1)複数のセントロニクス入力部と、セントロニクス
出力部とを有する接続装置であって、前記複数のセント
ロニクス入力部の1つと前記セントロニクス出力部とを
接続する接続手段と、該接続手段による接続を切断する
切断手段と、前記セントロニクス出力部に接続された機
器の通電状態を、前記セントロニクス入力部に接続され
た機器に通知する通知手段と、 前記切断手段によって前記接続手段による接続を切断す
る際に、該通知手段によって非通電状態を通知するよう
に制御する制御手段とを具備したことを特徴とする接続
装置。
(1) A connection device having a plurality of Centronics input sections and a Centronics output section, the connection device connecting one of the plurality of Centronics input sections and the Centronics output section, and disconnecting the connection by the connection means. a disconnection means for notifying a device connected to the Centronics input section of the energization state of the device connected to the Centronics output section; when the disconnection section disconnects the connection by the connection means; A connection device comprising: control means for controlling the notification means to notify a non-energized state.
JP2019731A 1990-01-30 1990-01-30 Connection device Pending JPH03224049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019731A JPH03224049A (en) 1990-01-30 1990-01-30 Connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019731A JPH03224049A (en) 1990-01-30 1990-01-30 Connection device

Publications (1)

Publication Number Publication Date
JPH03224049A true JPH03224049A (en) 1991-10-03

Family

ID=12007462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019731A Pending JPH03224049A (en) 1990-01-30 1990-01-30 Connection device

Country Status (1)

Country Link
JP (1) JPH03224049A (en)

Similar Documents

Publication Publication Date Title
JPH0630087B2 (en) Interface circuit
JPH05181790A (en) IEEE488 interface and message processing method
US5550985A (en) Special purpose computer for demonstrating peripheral devices such as printers in which power is withdrawn from the port connection of the peripheral device
US4400801A (en) Read/write circuit for a random access memory
JP2886925B2 (en) Connection device
JPH04328934A (en) printing device
JPH06507748A (en) Parallel interface for connecting data processing equipment
JPS61136154A (en) Interface unit for microprocessor used in electric communication equipment
JPH05119939A (en) Interface circuit for printer
JPH045742A (en) Centro-connection device
JPS62172439A (en) Detecting system for unmounted printed board
JP2647962B2 (en) Display control device
JP2747011B2 (en) Interrupt signal interface
KR100272102B1 (en) Image forming apparatus
JP3198251B2 (en) Information communication terminal
JPH0142010B2 (en)
JPH0221773A (en) Facsimile equipment
JP2737916B2 (en) Digital signal connection device
JP3016314B2 (en) Page printer
JP2867480B2 (en) Memory switching circuit
JPH0615884A (en) Printer
JPH0740229B2 (en) Interrupt input signal control method
JPH07306840A (en) Computer system
JPH04294181A (en) Printer device
JPH05120201A (en) Data processing device