JPH03224025A - connection device - Google Patents

connection device

Info

Publication number
JPH03224025A
JPH03224025A JP2019746A JP1974690A JPH03224025A JP H03224025 A JPH03224025 A JP H03224025A JP 2019746 A JP2019746 A JP 2019746A JP 1974690 A JP1974690 A JP 1974690A JP H03224025 A JPH03224025 A JP H03224025A
Authority
JP
Japan
Prior art keywords
output
signal
strobe
centronics
timer
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
Application number
JP2019746A
Other languages
Japanese (ja)
Other versions
JPH03224025A5 (en
JP2886925B2 (en
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 JP2019746A priority Critical patent/JP2886925B2/en
Publication of JPH03224025A publication Critical patent/JPH03224025A/en
Publication of JPH03224025A5 publication Critical patent/JPH03224025A5/ja
Application granted granted Critical
Publication of JP2886925B2 publication Critical patent/JP2886925B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Power Sources (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 this type of device, nothing special was done to the equipment connected to the output when the power was turned on.

[発明が解決しようとしている問題点]そのため、従来
は、装置の出力に接続された機器が作動状態の時に装置
に電源を投入すると、この出力に電源投入時の不定状態
によるノイズが発生し、意味のないデータが出力機器に
入力されてしまう欠点があった。
[Problem to be Solved by the Invention] Therefore, conventionally, when power is applied to a device while the equipment connected to the output of the device is in an operating state, noise is generated in the output due to an unstable state when the power is turned on. There was a drawback that meaningless data was input to the output device.

[問題点を解決するための手段] 上記問題点を解決するために、本発明の接続装置は、複
数のセントロニクス入力部の1つとセントロニクス出力
部の1つとを接続する接続手段と、前記セントロニクス
出力部に接続された機器の初期化を指示する指示手段と
、当該装置の電源投入時に、前記指示手段の指示を行な
うように制御する制御手段とを具える。
[Means for Solving the Problems] In order to solve the above problems, the connection device of the present invention includes a connection means for connecting one of the plurality of Centronics input sections and one of the Centronics output sections, and a The apparatus includes an instruction means for instructing the initialization of a device connected to the unit, and a control means for controlling the instruction means to issue an instruction when the device is powered on.

[作用] 本発明によれば、接続装置の電源投入時に、指示手段に
より出力側に初期化を指示して、出力機器を初期化させ
、接続装置の電源投入によるノイズが、出力機器に入力
するのを防止する。
[Operation] According to the present invention, when the power of the connecting device is turned on, the instruction means instructs the output side to initialize, thereby initializing the output device, and the noise caused by turning on the power of the connecting device is input to the output device. to prevent

【実施例] 以下、図面を参照しながら、本発明の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マイクロセ力ンド程度であり、その前後数マイクロ
セカンド程度データバスが有効データを保持していれば
正しく転送が行なわれる。
As is well known, the data transfer mechanism of Centronics is realized by latching data using a strobe signal, as shown in the timing diagram of FIG. Normally, the strobe is about 1 microsecond, and if the data bus holds valid data for about several microseconds before and after the strobe, correct transfer is performed.

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

同図において、10.11.12はセレクタであり、入
力からの信号線を選択信号aにより選択し出力する。2
0はエンコーダでありストローブをエンコードする。2
1はラッチであり、ラッチ信号すによりエンコーダの出
力をラッチし選択信号aを生成する。30は論理和回路
であり、ホストO〜3のいずれかのストローブによりラ
ッチ信号すを生成する。40はリトリガブルタイマであ
り、ラッチ信号すとストローブ信号dにより起動され、
一定時間後にタイムアウトになるまで信号Cを生成する
。50はゲートであり、セレクタ12からのストローブ
信号を、信号Cによりゲートする。60はパルス発生器
であり、電源投入時に一定長のパルスを発生する。70
は論理和回路でありタイマ40とセレクタ11からの信
号の論理和をとり、プリンタへのINPUT PRIM
E信号を生成する。
In the figure, numerals 10, 11, and 12 are selectors, which select the signal lines from the input by a selection signal a and output them. 2
0 is an encoder and encodes the strobe. 2
A latch 1 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 O to 3. 40 is a retriggerable timer, which is activated by a latch signal and a strobe signal d;
The signal C is generated until a timeout occurs after a certain period of time. Reference numeral 50 denotes a gate, which gates the strobe signal from the selector 12 using signal C. A pulse generator 60 generates a pulse of a certain length when the power is turned on. 70
is an OR circuit which takes the OR of the signals from the timer 40 and the selector 11 and outputs the INPUT PRIM to the printer.
Generate an E signal.

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

まず本装置に電源が投入されると、パルス発生器60は
一定長のパルスを発生し、論理和回路70に入りプリン
タにイニシャルを指示するI NPUT  PRIME
信号を出力して待機状態になる。
First, when the power is turned on to this device, the pulse generator 60 generates a pulse of a certain length, which enters the OR circuit 70 and instructs the printer to initialize.
Outputs a signal and enters standby mode.

タイマ40がタイムアウトしている待機状態(どこにも
接続されていない状態)において、4つのホストマシン
のいずれかからデータを出力するためにストローブが出
される。ホストからのストローブは論理和回路30に入
りラッチ信号すを生成する。ラッチ信号゛bはエンコー
ダ20からの出力をラッチ回路21でラッチし、選択信
号aを生成すると共にタイマ40に起動をかける。タイ
マ40は起動がかかると信号Oを生成し、論理和回路3
0をディセーブルして他のホストからのストローブによ
り切り替わるのを防ぐとともに、ゲート50をイネーブ
ルし、ストローブ信号dのゲートを開ける。先に生成さ
れた選択信−j aはセレクタ10〜12に入り4つの
入力のうち1つが選択され、選ばれたデータバス、IN
PUT  PRIMEおよびストローブが出力される。
In a standby state (not connected to anything) when the timer 40 has timed out, a strobe is issued to output data from one of the four host machines. The strobe from the host enters the OR circuit 30 and generates a latch signal. The latch signal b latches the output from the encoder 20 in the latch circuit 21, generates the selection signal a, and starts the timer 40. When the timer 40 is activated, it generates a signal O, and the OR circuit 3
0 to prevent it from switching due to strobes from other hosts, and enable gate 50 to open the gate for strobe signal d. The previously generated selection signal -j a enters the selectors 10 to 12 and one of the four inputs is selected, and the selected data bus, IN
PUT PRIME 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 connection state is maintained without timeout.

ストローブが一定時間以上とぎれるとタイマ40はタイ
ムアウトとなり、信号CがOFFされるので、ストロー
ブ信号dのゲート50が閉じられるとともに、論理和回
路30がイネーブルとなり切り替えが許可され、タイマ
40は待機状態に戻る。
When the strobe is interrupted for more than a certain period of time, the timer 40 times out and the signal C is turned off, so the gate 50 of the strobe signal d is closed, the OR circuit 30 is enabled and switching is permitted, and the timer 40 goes into a standby state. return.

当接続状態において本装置に電源が投入されると、デー
タバスのデータ1にホストから切断を要求するシリアル
データによる指令が出され、シリアルデータ受信回路が
これを受信するとリセット信号eを生成し、タイマ40
をリセットする。タイマ40はタイムアウトになるのと
同様に信号CをOFFし待機状態に戻る。
When the power is turned on to this device in this connected state, a serial data command is issued from the host to data bus data 1 requesting disconnection, and when the serial data receiving circuit receives this, it generates a reset signal e. timer 40
Reset. When the timer 40 times out, it turns off the signal C and returns to the standby state.

[他の実施例] 本実施例では入力ボートと出力ボートが一体となった態
様を述べたが、入力と出力が別の場所にあってその間が
ネットワークで結ばれているような態様でも本発明の趣
旨を損なうものではない。
[Other Embodiments] In this embodiment, an embodiment in which the input boat and the output boat are integrated has been described, but the present invention can also be applied to an embodiment in which the input and output are located at different locations and are connected by a network. This does not detract from the purpose.

[発明の効果] 以上説明したように、本発明によれば、接続装置の電源
を投入したとき、セントロニクス出カニイニシャルを促
す信号を出力するので、出力機器は接続装置の電源投入
でイニシャルされ、電源投入の際の不定状態の時出力さ
れてしまう不正データを印刷することがなくなるという
効果が得られる。
[Effects of the Invention] As explained above, according to the present invention, when the power of the connection device is turned on, a signal prompting the Centronics output initialization is output, so that the output device is initialized when the power of the connection device is turned on. An effect is obtained in that incorrect data that is output when the power is turned on in an undefined state is not printed.

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

第1図は接続装置の入出力構成を示す図、第2図はデー
タ転送のタイミングを示す図、第3図は、接続装置のブ
ロック構成図である。 図中、lは接続装置、1O112,70はセレクタ、2
0はエンコーダ、21はラッチ、30は論理和回路、4
0はタイマ、50はゲート、60はパルス発生器である
。 第1図
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 a connection device, 1O112, 70 is a 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. Figure 1

Claims (1)

【特許請求の範囲】[Claims] (1)単数または複数のセントロニクス入力部と、単数
またはセントロニクス出力部とを有する接続装置であっ
て、 前記セントロニクス入力部の1つと前記セントロニクス
出力部の1つとを接続する接続手段と、前記セントロニ
クス出力部に接続された機器の初期化を指示する指示手
段と、 当該装置の電源投入時に、前記指示手段の指示を行なう
ように制御する制御手段とを具備したことを特徴とする
接続装置。
(1) A connecting device having one or more Centronics input sections and one or more Centronics output sections, the connection means connecting one of the Centronics input sections and one of the Centronics output sections, and the Centronics output section. 1. A connection device comprising: instruction means for instructing the initialization of a device connected to the device; and control means for controlling the instruction means to issue an instruction when the device is powered on.
JP2019746A 1990-01-30 1990-01-30 Connection device Expired - Fee Related JP2886925B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019746A JP2886925B2 (en) 1990-01-30 1990-01-30 Connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019746A JP2886925B2 (en) 1990-01-30 1990-01-30 Connection device

Publications (3)

Publication Number Publication Date
JPH03224025A true JPH03224025A (en) 1991-10-03
JPH03224025A5 JPH03224025A5 (en) 1998-10-23
JP2886925B2 JP2886925B2 (en) 1999-04-26

Family

ID=12007902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019746A Expired - Fee Related JP2886925B2 (en) 1990-01-30 1990-01-30 Connection device

Country Status (1)

Country Link
JP (1) JP2886925B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002237978A (en) * 2001-02-08 2002-08-23 Canon Inc Camera, printer, print system, control method, storage medium, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002237978A (en) * 2001-02-08 2002-08-23 Canon Inc Camera, printer, print system, control method, storage medium, and program

Also Published As

Publication number Publication date
JP2886925B2 (en) 1999-04-26

Similar Documents

Publication Publication Date Title
US4134073A (en) Clock system having adaptive synchronization feature
US5610601A (en) Multi-purposes keyboard interface
US5325491A (en) Method and apparatus for extending a computer bus
JP3241386B2 (en) Filtered serial event controlled command port for flash memory
JPS6239580B2 (en)
JP2886925B2 (en) Connection device
US6772360B2 (en) Extension signal generator coupled to an extension timer and an extension register to generate an initialization extension signal
JPS63167544A (en) Data bus system for serial data buses
JP2867480B2 (en) Memory switching circuit
KR100200767B1 (en) Column address buffer control circuit
KR970007157Y1 (en) Interface device between the system bus and multiple parallel ports
JP3016314B2 (en) Page printer
JPS6121725Y2 (en)
JP2956077B2 (en) Control memory circuit
JP2747011B2 (en) Interrupt signal interface
SU1434440A1 (en) Device for interfacing processor with peripherals
KR900006798Y1 (en) Printer sharing device
SU1277434A1 (en) Device for switching subscriber's lines
SU1501156A1 (en) Device for controlling dynamic memory
SU1756896A1 (en) Information signal packet summer
SU1594552A1 (en) Device for controlling data exchange between control processor and peripheral
JPS6086607A (en) Sequence control system of data process
JPH0142010B2 (en)
JPH03125535A (en) Control bus connection circuit
JPS62211763A (en) Synchronous output circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees