JPS60160425A - Connecting circuit - Google Patents

Connecting circuit

Info

Publication number
JPS60160425A
JPS60160425A JP59015155A JP1515584A JPS60160425A JP S60160425 A JPS60160425 A JP S60160425A JP 59015155 A JP59015155 A JP 59015155A JP 1515584 A JP1515584 A JP 1515584A JP S60160425 A JPS60160425 A JP S60160425A
Authority
JP
Japan
Prior art keywords
circuit
printer
transmitting
transmission
signal line
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
JP59015155A
Other languages
Japanese (ja)
Other versions
JPH0316649B2 (en
Inventor
Soichi Kamo
加茂 宗一
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59015155A priority Critical patent/JPS60160425A/en
Publication of JPS60160425A publication Critical patent/JPS60160425A/en
Publication of JPH0316649B2 publication Critical patent/JPH0316649B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To connect >=2 kinds of devices with one kind of connecting circuit by providing a transmission/reception circuit having a setting means making a transmission circuit effective or ineffective depending on the device connected to each of plural connection signal lines. CONSTITUTION:A terminal device using a microcomputer controls printers 5, 6 being its devices. The printers 5, 6 are connected to a connection circuit section 4 of the said terminal device with plural signal lines T1-Tn and the circuit section 4 is provided with plural transmission/reception circuits 7-1-7-n consisting each of a transmission circuit 8 and a reception circuit 9. In this case, the setting circuit comprising a flip-flop 10 making the transmission circuit 8 effective or ineffective by means of the printers 5, 6 connected to them is provided with the said transmission and reception circuits 7-1-7-n for each of the signal lines T1-Tn and one set of the connecting circuit section 4 connects at least >=2 kinds of the printers 5, 6.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は接続回路に係り、特に端末装置にプリンタ等の
入出力機器(以下「デバイス」と称す)を接続するのに
好適な接続回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a connection circuit, and particularly to a connection circuit suitable for connecting an input/output device (hereinafter referred to as a "device") such as a printer to a terminal device.

〔発明の背景〕[Background of the invention]

端末装置とデバイス、たとえばプリンタを接続する場合
、プリンタの接続端子は、一般に規格化されており、接
続コネクタのピン番号とそれに転送される信号の種類、
およびその入出力方向は固定化される傾向にあった。し
かしながら、プリンタによっては、信号の種類、および
入出力方向が異なるものがある。従って、端末装置に種
類の異なるプリンタを選択して接続するには、それに合
った接続回路のアダプタが必要になり、プリンタの種類
が多くなると、アダプタもそれだけ多くの種類が必要に
なるという問題があった。このようなことはプリンタに
限らず、各種のデバイスについてもいえることである。
When connecting a terminal device and a device, such as a printer, the printer's connection terminal is generally standardized, and the pin number of the connection connector and the type of signal transferred to it,
And its input and output directions tended to be fixed. However, some printers have different signal types and input/output directions. Therefore, in order to select and connect different types of printers to a terminal device, an adapter with the appropriate connection circuit is required.The problem arises that the more types of printers there are, the more types of adapters are required. there were. This is true not only for printers but also for various devices.

〔発明の目的〕[Purpose of the invention]

本発明は上述の点にかんがみてなされたもので。 The present invention has been made in view of the above points.

1種の接続回路で少なくとも2種以上のデバイスが接続
できる接続回路を提供することを目的とする。
An object of the present invention is to provide a connection circuit that can connect at least two or more types of devices using one type of connection circuit.

〔発明の概要〕[Summary of the invention]

本発明の要点は、1種の接続回路で、少なくとも2種以
上のデバイスが接続できるようにするために、複数より
なる接続信号線の各々に、1個の送信回路と1個の受信
回路と接続されるデバイスにより前記送信回路のみある
いは送信回路を互に有効あるい無効とする設定手段とか
ら構成される送受信回路を設けて、少なくとも2種以上
のデバイスの接続を可能にした点にある。
The gist of the present invention is that in order to connect at least two or more types of devices with one type of connection circuit, each of the plurality of connection signal lines is provided with one transmitting circuit and one receiving circuit. The present invention is characterized in that a transmitting/receiving circuit including only the transmitting circuit or a setting means for mutually enabling or disabling the transmitting circuit is provided depending on the device to be connected, thereby making it possible to connect at least two or more types of devices.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

第1図は、マイクロコンピュータを用いた端末装置とそ
のデバイスであるプリンタの概略を示すブロック図であ
る。同図において、端末装置1にはマイクロコンピュー
タおよびそれを動作させるCPU回路部2があり、その
CPU信号バス101上に、各デバイス制御も含めた端
末装置制御プログラムを格納するメモリ回路部3と、各
デバイスを接続する接続回路4が接続されている。
FIG. 1 is a block diagram schematically showing a terminal device using a microcomputer and a printer as its device. In the figure, a terminal device 1 includes a microcomputer and a CPU circuit section 2 for operating the microcomputer, and a memory circuit section 3 for storing a terminal device control program including control of each device on the CPU signal bus 101. A connection circuit 4 is connected to connect each device.

ここで、各デバイスとして、タイプの異なるプリンタを
例にすると、プリンタ5、あるいはプリンタ6は、接続
回路部4と複数の信号線102゜103で接続される。
Here, if each device is an example of a printer of a different type, the printer 5 or the printer 6 is connected to the connection circuit section 4 through a plurality of signal lines 102 and 103.

第2図は、端末装置1の接続回路4とプリンタ5および
プリンタ6との入出力部分を示すブロック図である。デ
バイスと信号を授受する信号線T1は、プリンタ5ある
いはプリンタ6において信号線P5−1あるいはP6−
1と接続され、信号線T2は信号線P5−2あるいは信
号線P6−2と接続され、以下同様に接続されて信号線
Tnは、P5−nあるいは信号線P6−nと接続される
FIG. 2 is a block diagram showing the input/output portions between the connection circuit 4 of the terminal device 1 and the printers 5 and 6. As shown in FIG. The signal line T1 that sends and receives signals to and from the device is connected to the signal line P5-1 or P6- in the printer 5 or printer 6.
The signal line T2 is connected to the signal line P5-2 or the signal line P6-2, and the signal line Tn is connected to the signal line P5-n or the signal line P6-n in the same manner.

端末装置1の接続回路部4に設けられた信号線TIは、
送受回路7−1に設けられた送信回路8の出力端子およ
び受信回路9の入力端子に接続される。フリップフロッ
プ10は、プリンタ5あるいはプリンタ6を制御するプ
ログラムにより送信回路8を有効あるい無効の状態に保
持するためのフリップフロップであり、その出力端子を
送信回路8の入力端子に接続する。プリンタ5あるいは
プリンタ6を制御するプログラム、いわゆるデバイス制
御プログラムにより、フリップフロップ10をセットし
て、送信回路8を有効にしたり、ブリッププロップIO
をリセットして、送信回路8を無効にする。また、送信
回路8の他方の入力端子には、マイクロコンピュータか
らのプリンタ制御信号が入力されるように信号線104
が接続される。受信回路9の出力は、マイクロコンピュ
ータよりプリンタからの信号が判読可能なように信号線
105が接続される。
The signal line TI provided in the connection circuit section 4 of the terminal device 1 is
It is connected to the output terminal of the transmitting circuit 8 and the input terminal of the receiving circuit 9 provided in the transmitting/receiving circuit 7-1. The flip-flop 10 is a flip-flop for maintaining the transmitting circuit 8 in a valid or invalid state according to a program that controls the printer 5 or the printer 6, and its output terminal is connected to the input terminal of the transmitting circuit 8. A program that controls the printer 5 or 6, a so-called device control program, sets the flip-flop 10, enables the transmitting circuit 8, and controls the flip-flop IO.
is reset to disable the transmitting circuit 8. Further, a signal line 104 is connected to the other input terminal of the transmitting circuit 8 so that a printer control signal from the microcomputer is inputted.
is connected. The output of the receiving circuit 9 is connected to a signal line 105 so that the signal from the printer can be read by a microcomputer.

以下、信号線T2〜Tnについても同様に送受信回路7
−2〜7−nを設ける。
Hereinafter, the transmitting/receiving circuit 7 similarly applies to the signal lines T2 to Tn.
-2 to 7-n are provided.

また、プリンタ5には、端末装置1と接続する線P5−
1に受信回路11が接続され、信号線P5−2には送信
回路12が接続されている。プリンタ6には、同じく信
号線P6−1に受信回路11が接続され、信号線P6−
2にも受信回路11が接続されている。
The printer 5 also has a line P5- connected to the terminal device 1.
A receiving circuit 11 is connected to the signal line P5-2, and a transmitting circuit 12 is connected to the signal line P5-2. Similarly, in the printer 6, a receiving circuit 11 is connected to the signal line P6-1, and a signal line P6-1 is connected to the receiving circuit 11.
2 is also connected to the receiving circuit 11.

デバイス制御プログラムの一例を第4図に示す。An example of a device control program is shown in FIG.

装置の電源を投入しくステップ40)、各処理をするプ
ログラム(ステップ44)までの、ある1部分に、プリ
ンタ5が接続されているか、プリンタ6が接続されてい
るかを判別しくステップ41)。
Step 41), when the power of the device is turned on, and whether a printer 5 or 6 is connected is determined in a certain part of the program (step 44) that performs each process.

フリップフロップlOをセットあるいはリセットして、
送受信回路7−1〜7−nまでの各送信回路8の有効あ
るいは無効をセットする(ステップ42−1〜42−n
、43−1〜43−n)、接続されたプリンタ5,6等
の判別は、従来から用いられているごとく、プリンタの
接続インターフェース信号を別途に設けて判別してもよ
く、また、端末装置1から、オペレータに対して、選択
できるように表示し、オペレータからの入力により判別
するようにしても良い。
Set or reset the flip-flop lO,
Setting the enable or disable of each transmitting circuit 8 from transmitting/receiving circuits 7-1 to 7-n (steps 42-1 to 42-n)
, 43-1 to 43-n), the connected printers 5, 6, etc. may be determined by separately providing a printer connection interface signal, as has been conventionally used. 1 may be displayed for the operator to select, and the determination may be made based on input from the operator.

端末装置1とプリンタ5を接続するときは、デバイス制
御プログラムにより、送受信回路7−1に組込まれたフ
リップフロップ10をセットしくステップ42−1)、
送受信回路7−2に組込まれたブリップフロップをリセ
ットしくステップ42−2)、プリンタ5の接続に合っ
た状態にする。従って、送信回路8が有効となり、信号
線T1は端末装置1からプリンタ5に対して信号を送る
ことが可能となる。この時、受信回路9も有効となり、
送信回路8からの信号が受信されるが。
When connecting the terminal device 1 and the printer 5, the device control program sets the flip-flop 10 incorporated in the transmitting/receiving circuit 7-1 (Step 42-1),
The flip-flop incorporated in the transmitter/receiver circuit 7-2 is reset (step 42-2) to bring it into a state suitable for connection to the printer 5. Therefore, the transmitting circuit 8 becomes effective, and the signal line T1 becomes able to send a signal from the terminal device 1 to the printer 5. At this time, the receiving circuit 9 is also enabled,
A signal from the transmitting circuit 8 is received.

デバイス制御プログラムにより無視するなどの処理を行
う。このデバイス制御プログラムのデータを読みとるプ
ログラムを第5図に示す。信号線T1〜Tnの信号を読
みとり(ステップ50)1次にどのプリンタが接続され
ているかを判定しくステップ51)、プリンタ5が接続
されていたら、T1データを読みすて(ステップ52)
、T2データを読みとる(ステップ53)等の処理を行
い、他の処理フローへ移る(ステップ54)。信号線T
2はフリッププロップ10のリセットにより送信回路8
が無効となるため、プリンタ5の信号線P5−2からの
信号は、受信回路9で受信され。
Perform processing such as ignoring using the device control program. A program for reading the data of this device control program is shown in FIG. Read the signals of signal lines T1 to Tn (step 50). Next, determine which printer is connected (step 51). If printer 5 is connected, read the T1 data (step 52).
, T2 data is read (step 53), and the flow moves to another processing flow (step 54). Signal line T
2 is the transmission circuit 8 by resetting the flip-flop 10.
Since the signal line P5-2 of the printer 5 is invalidated, the signal from the signal line P5-2 of the printer 5 is received by the receiving circuit 9.

信号線104を通って、マイクロコンピュータにより判
読される。以下信号線Tnまでの信号は。
It passes through a signal line 104 and is read by a microcomputer. Below are the signals up to signal line Tn.

端末装置1からプリンタ5へ送出され、あるいはプリン
タ5から端末装置1に送信される。
It is sent from the terminal device 1 to the printer 5, or from the printer 5 to the terminal device 1.

次に端末装置1とプリンタ6を接続するときは、デバイ
ス制御プログラムにより、送受信回路7−2に組込まれ
たフリップフロップをセットすることにより(第4図の
ステップ43−2参照)、送信回路7−2の送信回路を
有効とし、他もプリンタ5の接続の場合と同様にするこ
とによってプリンタ6の接続が可能である。
Next, when connecting the terminal device 1 and the printer 6, the device control program sets the flip-flop built in the transmitting/receiving circuit 7-2 (see step 43-2 in FIG. 4), so that the transmitting circuit 7 The printer 6 can be connected by enabling the transmitting circuit -2 and doing the other things in the same way as when connecting the printer 5.

また、送受信回路7−1〜7−nには、第3図に示す如
く、送信回路8′、受信回路9′の入出力が互いに接続
されているものでもよく、プリンタ5とプリンタ6p例
に示すごとく信号線P5−2と信号線P6−2のように
、信号方向の異なる信号線と接続される信号線T2のみ
に送受信回路を設けることも可能である。
Further, the transmitting/receiving circuits 7-1 to 7-n may have the input and output of the transmitting circuit 8' and the receiving circuit 9' connected to each other as shown in FIG. As shown, it is also possible to provide a transmitting/receiving circuit only in the signal line T2 connected to signal lines having different signal directions, such as the signal line P5-2 and the signal line P6-2.

以上説明したごとく、上記実施例によれば信号線T1=
Tnのそれぞれに対して、1個の送受信回路8と受信回
路9とからなる送受信回路7−1〜7−nを設け、さら
に接続されるデバイスにより該送信回路8あるいは送信
回路8′と受信回路9′とを有効にしたり無効にしたり
するフリップフロップ10を設け、デバイスを制御する
プログラムにより該フリップフロップIOをセットある
いはリセットすることにより送信回路8あるいは送信回
路8′と受信回路9′とを有効または無効にすることが
でき、1つの接続回路4で少なくとも2種以上のプリン
タ、すなわちデバイスが接続可能となる。
As explained above, according to the above embodiment, the signal line T1=
Transmitting/receiving circuits 7-1 to 7-n each consisting of one transmitting/receiving circuit 8 and one receiving circuit 9 are provided for each of Tn, and the transmitting circuit 8 or the transmitting circuit 8' and the receiving circuit are further provided depending on the connected device. 9' is provided, and by setting or resetting the flip-flop IO by a program that controls the device, the transmitting circuit 8 or the transmitting circuit 8' and the receiving circuit 9' are enabled. Alternatively, one connection circuit 4 can connect at least two or more types of printers, that is, devices.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明に係る接続回路は、1種の
接続回路で少なくとも2種以上のデバイスが接続できる
という優れた効果を有する。
As explained above, the connection circuit according to the present invention has the excellent effect that at least two or more types of devices can be connected with one type of connection circuit.

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

第1図は端末装置とプリンタの概略構成を示すブロック
図、第2図は接続回路部の構成とプリンタの入出力部の
構成を示すブロック図、第3図は接続回路部の他の構成
を示すブロック図、第4図。 第5図はデバイス制御プログラムの1部分を示すフロー
図である。 1・・・端末装置、2・・・CPU回路部、3・・・メ
モリ回路部、4・・・接続回路部、5・・・プリンタ、
6・・・プリンタ、7−1〜7−n・・・送受信回路、
8・・・送信回路、9・・・受信回路、10・・・フリ
ッププロップ、11・・・受信回路、12・・・送信回
路。 第1図 第2図
Figure 1 is a block diagram showing the schematic configuration of the terminal device and printer, Figure 2 is a block diagram showing the configuration of the connection circuit section and the input/output section of the printer, and Figure 3 shows the other configuration of the connection circuit section. A block diagram shown in FIG. 4. FIG. 5 is a flow diagram showing a portion of the device control program. DESCRIPTION OF SYMBOLS 1... Terminal device, 2... CPU circuit section, 3... Memory circuit section, 4... Connection circuit section, 5... Printer,
6... Printer, 7-1 to 7-n... Transmission/reception circuit,
8... Transmission circuit, 9... Receiving circuit, 10... Flip-prop, 11... Receiving circuit, 12... Transmitting circuit. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 相手の被接続装置との接続インターフニスが複数の信号
線から構成される接続回路において、前記複数の信号線
内の少なくとも1本以上に、1個の送信回路と1個の受
信回路と該両回路の内少なくとも送信回路を被接続装置
の種類により有効あるいは無効とする設定回路とから構
成される送受信回路を設けたことを特徴とする接続回路
In a connection circuit in which a connection interface with a connected device of the other party is composed of a plurality of signal lines, at least one of the plurality of signal lines includes one transmission circuit, one reception circuit, and both. 1. A connection circuit comprising a transmitting/receiving circuit comprising at least a setting circuit for enabling or disabling at least the transmitting circuit depending on the type of connected device.
JP59015155A 1984-02-01 1984-02-01 Connecting circuit Granted JPS60160425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59015155A JPS60160425A (en) 1984-02-01 1984-02-01 Connecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59015155A JPS60160425A (en) 1984-02-01 1984-02-01 Connecting circuit

Publications (2)

Publication Number Publication Date
JPS60160425A true JPS60160425A (en) 1985-08-22
JPH0316649B2 JPH0316649B2 (en) 1991-03-06

Family

ID=11880904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59015155A Granted JPS60160425A (en) 1984-02-01 1984-02-01 Connecting circuit

Country Status (1)

Country Link
JP (1) JPS60160425A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0159331U (en) * 1987-10-12 1989-04-13

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54157048A (en) * 1978-05-30 1979-12-11 Intel Corp Circuit for and method of transferring digital information
JPS56166568A (en) * 1980-05-27 1981-12-21 Nec Corp Information processor
JPS5729935U (en) * 1980-07-28 1982-02-17

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5379204A (en) * 1976-12-23 1978-07-13 Mitsubishi Electric Corp Stator of vertical type revolving electrical machinery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54157048A (en) * 1978-05-30 1979-12-11 Intel Corp Circuit for and method of transferring digital information
JPS56166568A (en) * 1980-05-27 1981-12-21 Nec Corp Information processor
JPS5729935U (en) * 1980-07-28 1982-02-17

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0159331U (en) * 1987-10-12 1989-04-13

Also Published As

Publication number Publication date
JPH0316649B2 (en) 1991-03-06

Similar Documents

Publication Publication Date Title
US4451886A (en) Bus extender circuitry for data transmission
WO1992016896A1 (en) Eight-bit parallel communications method and apparatus
JPS639786B2 (en)
US5761463A (en) Method and apparatus for logic network interfacing with automatic receiver node and transmit node selection capability
CN116185936B (en) SPI communication data receiving and transmitting abnormity detection control system and detection method
JPS60160425A (en) Connecting circuit
US6052746A (en) Integrated circuit having programmable pull device configured to enable/disable first function in favor of second function according to predetermined scheme before/after reset
CA1293328C (en) Remote services console for digital data processing system
JPH04199218A (en) Data printing method
JP2601453Y2 (en) Serial communication system
JPS6043699B2 (en) Data transmitting/receiving device
JP2718763B2 (en) Self-diagnosis activation method
CN116016395A (en) Redundancy switching method and device and network equipment
CN115878404A (en) Serial port debugging system and method
JP2556948B2 (en) Dynamic selection method of modem protocol supporting multiple modem types
JPS6117426B2 (en)
JP2550273Y2 (en) Communication device
KR0142527B1 (en) Bus interface circuit for interfacing two bus system
JPH06195296A (en) Automatic port switching device
KR920000701Y1 (en) Interfaceing apparatus w/self testing function
JP2758752B2 (en) Common bus contention arbitration method
JPH05314036A (en) Interface equipment for communication
KR20200124903A (en) Method for Communicating Between Master Module and Slavemodule of PLC Network
JPH0619801A (en) Information processor
JPS61118857A (en) Automatic connecting system for non-procedure terminal