Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0316649B2 - - Google Patents
[go: Go Back, main page]

JPH0316649B2 - - Google Patents

Info

Publication number
JPH0316649B2
JPH0316649B2 JP59015155A JP1515584A JPH0316649B2 JP H0316649 B2 JPH0316649 B2 JP H0316649B2 JP 59015155 A JP59015155 A JP 59015155A JP 1515584 A JP1515584 A JP 1515584A JP H0316649 B2 JPH0316649 B2 JP H0316649B2
Authority
JP
Japan
Prior art keywords
circuit
printer
transmitting
signal line
signal
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.)
Expired - Lifetime
Application number
JP59015155A
Other languages
Japanese (ja)
Other versions
JPS60160425A (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

Description

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

〔発明の背景〕[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 connector, the type of signal transferred to it, and its input/output direction tend to be fixed. It was hot. 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 is that the more types of printers there are, the more types of adapters are required. It was hot. This is true not only for printers but also for various devices.

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

本発明は上述の点にかんがみてなされたもの
で、1種の接続回路で少なくとも2種以上のデバ
イスが接続できる接続回路を提供することを目的
とする。
The present invention has been made in view of the above points, and 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が接続されている。ここ
で、各デバイスとして、タイプの異なるプリンタ
を例にすると、プリンタ5、あるいはプリンタ6
は、接続回路部4と複数の信号線102,103
で接続される。
FIG. 1 is a block diagram schematically showing a terminal device using a microcomputer and a printer as a device thereof. In the same figure, a terminal device 1 includes a microcomputer and a computer that operates it.
There is a CPU circuit section 2, and its CPU signal bus 101
Connected above is a memory circuit section 3 that stores a terminal device control program including control of each device, and a connection circuit 4 that connects each device. Here, each device is an example of a different type of printer, such as printer 5 or printer 6.
, the connection circuit section 4 and the plurality of signal lines 102, 103
Connected with

第2図は、端末装置1の接続回路4とプリンタ
5およびプリンタ6との入出力部分を示すブロツ
ク図である。デバイスと信号を授受する信号線T
1は、プリンタ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. Signal line T that sends and receives signals to and from devices
1 is connected to signal line P5-1 or P6-1 in printer 5 or printer 6, and signal line T2 is connected to signal line P5-2 or signal line P6-2.
The signal line Tn is connected to
Connected to P5-n or signal line P6-n.

端末装置1の接続回路部4に設けられた信号線
T1は、送受回路7−1に設けられた送信回路8
の出力端子および受信回路9の入力端子に接続さ
れる。フリツプフロツプ10は、プリンタ5ある
いはプリンタ6を制御するプログラムにより送信
回路8を有効あるいは無効の状態に保持するため
のフリツプフロツプであり、その出力端子を送信
回路8の入力端子に接続する。プリンタ5あるい
はプリンタ6を制御するプログラム、いわゆるデ
バイス制御プログラムにより、フリツプフロツプ
10をセツトして、送信回路8を有効にしたり、
フリツプフロツプ10をリセツトして、送信回路
8を無効にする。また、送信回路8の他方の入力
端子には、マイクロコンピユータからのプリンタ
制御信号が入力されるように信号線104が接続
される。受信回路9の出力は、マイクロコンピユ
ータよりプリンタからの信号が判読可能なように
信号線105が接続される。
The signal line T1 provided in the connection circuit section 4 of the terminal device 1 is connected to the transmission circuit 8 provided in the transmission/reception circuit 7-1.
is connected to the output terminal of the receiver circuit 9 and the input terminal of the receiver circuit 9. The flip-flop 10 is a flip-flop for maintaining the transmitting circuit 8 in a valid or invalid state according to a program controlling 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 and enables the transmitting circuit 8.
Flip-flop 10 is reset to disable transmitter 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 a microcomputer is inputted thereto. 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, transmitting/receiving circuits 7-2 to 7-n are similarly provided for signal lines T2 to Tn.

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

デバイス制御プログラムの一例を第4図に示
す。装置の電源を投入し(ステツプ40)、各処理
をするプログラム(ステツプ44)までの、ある1
部分に、プリンタ5が接続されているか、プリン
タ6が接続されているかを判別し(ステツプ41)、
フリツプフロツプ10をセツトあるいはリセツト
して、送受信回路7−1〜7−nまでの各送信回
路8の有効あるいは無効をセツトする(ステツプ
42−1〜42−n、43−1〜43−n)。接続された
プリンタ5,6等の判別は、従来から用いられて
いるごとく、プリンタの接続インターフエース信
号を別途に設けて判別してもよく、また、端末装
置1から、オペレータに対して、選択できるよう
に表示し、オペレータからの入力により判別する
ようにしても良い。
An example of a device control program is shown in FIG. One step is to turn on the power to the device (step 40) and perform the various processing programs (step 44).
It is determined whether the printer 5 or the printer 6 is connected to the part (step 41).
The flip-flop 10 is set or reset to enable or disable each transmitting circuit 8 from the transmitting/receiving circuits 7-1 to 7-n (step
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. Alternatively, the information may be displayed in such a way that it is possible to do so, 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からの信号が受信されるが、デバ
イス制御プログラムにより無視するなどの処理を
行う。このデバイス制御プログラムのデータを読
みとるプログラムを第5図に示す。信号線T1−
Tnの信号を読みとり(ステツプ50)、次にどのプ
リンタが接続されているかを判定し(ステツプ
51)、プリンタ5が接続されていたら、T1デー
タを読みすて(ステツプ52)、T2データを読み
とる(ステツプ53)等の処理を行い、他の処理フ
ローへ移る(ステツプ54)。信号線T2はフリツ
プフロツプ10のリセツトにより送信回路8が無
効となるため、プリンタ5の信号線P5−2から
の信号は、受信回路9で受信され、信号線104
を通つて、マイクロコンピユータにより判読され
る。以下信号線Tnまでの信号は、端末装置1か
らプリンタ5へ送出され、あるいはプリンタ5か
ら端末装置1に送信される。
When connecting the terminal device 1 and the printer 5, the transmitting/receiving circuit 7-1 is controlled by the device control program.
The flip-flop 10 incorporated in the transmitting/receiving circuit 7-2 is reset (step 42-1), and the flip-flop incorporated in the transmitting/receiving circuit 7-2 is reset (step 42-1).
2) Set the state to suit the connection of 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 and the signal from the transmitting circuit 8 is received, but the device control program performs processing such as ignoring it. FIG. 5 shows a program that reads the data of this device control program. Signal line T1-
Read the Tn signal (step 50), then determine which printer is connected (step 50).
51), if the printer 5 is connected, processes such as reading the T1 data (step 52) and reading the T2 data (step 53) are performed, and the process moves to another processing flow (step 54). Since the transmitting circuit 8 of the signal line T2 is disabled by resetting the flip-flop 10, the signal from the signal line P5-2 of the printer 5 is received by the receiving circuit 9 and sent to the signal line 104.
is read by a microcomputer. The signals from the terminal device 1 to the signal line Tn are 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).
The printer 6 can be connected by enabling the transmitting circuit 7-2 and making the other connections similar to those for connecting the printer 5.

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

以上説明したごとく、上記実施例によれば信号
線T1〜Tnのそれぞれに対して、1個の送受信
回路8と受信回路9とからなる送受信回路7−1
〜7−nを設け、さらに接続されるデバイスによ
り該送信回路8あるいは送信回路8′と受信回路
9′とを有効にしたり無効にしたりするフリツプ
フロツプ10を設け、デバイスを制御するプログ
ラムにより該フリツプフロツプ10をセツトある
いはリセツトすることにより送信回路8あるいは
送信回路8′と受信回路9′とを有効または無効に
することができ、1つの接続回路4で少なくとも
2種以上のプリンタ、すなわちデバイスが接続可
能となる。
As explained above, according to the above embodiment, the transmitting/receiving circuit 7-1 consisting of one transmitting/receiving circuit 8 and one receiving circuit 9 is provided for each of the signal lines T1 to Tn.
- 7-n, and a flip-flop 10 for enabling or disabling the transmitting circuit 8 or the transmitting circuit 8' and the receiving circuit 9' depending on the connected device. By setting or resetting the transmitting circuit 8 or the transmitting circuit 8' and the receiving circuit 9', it is possible to enable or disable the transmitting circuit 8 or the transmitting circuit 8' and the receiving circuit 9'. Become.

〔発明の効果〕 以上説明したように、本発明に係る接続回路
は、1種の接続回路で少なくとも2種以上のデバ
イスが接続できるという優れた効果を有する。
[Effects of the Invention] 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…
…送信回路、8′……送信回路、9′……受信回
路。
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. Block diagram shown, No. 4
FIG. 5 is a flow diagram showing a portion of the device control program. 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-flop, 11...Receiving circuit, 12...
...transmission circuit, 8'...transmission circuit, 9'...reception circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 相手の接続装置との接続インターフエスが複
数の信号線から構成される接続回路において、前
記複数の信号線の内、被接続装置の種類により信
号方向が異なる信号線に、送信回路と受信回路と
該両回路のうち少なくとも前記送信回路を前記被
接続装置の種類により有効あるいは無効とする設
定回路とを設けたことを特徴とする接続回路。
1. In a connection circuit in which the connection interface with the other party's connection device is composed of a plurality of signal lines, the transmitting circuit and the receiving circuit are connected to the signal lines whose signal directions differ depending on the type of connected device among the plurality of signal lines. and a setting circuit that enables or disables at least the transmitting circuit of both circuits depending on the type of the connected device.
JP59015155A 1984-02-01 1984-02-01 connection circuit Granted JPS60160425A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPS60160425A JPS60160425A (en) 1985-08-22
JPH0316649B2 true 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 connection circuit

Country Status (1)

Country Link
JP (1) JPS60160425A (en)

Families Citing this family (1)

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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2021823B (en) * 1978-05-30 1983-04-27 Intel Corp Data transfer system
JPH0227696B2 (en) * 1980-05-27 1990-06-19 Nippon Electric Co JOHOSHORISOCHI
JPS5729935U (en) * 1980-07-28 1982-02-17

Also Published As

Publication number Publication date
JPS60160425A (en) 1985-08-22

Similar Documents

Publication Publication Date Title
US4451886A (en) Bus extender circuitry for data transmission
WO1992016896A1 (en) Eight-bit parallel communications method and apparatus
JPS6376540A (en) Communication terminal equipment
US4729090A (en) DMA system employing plural bus request and grant signals for improving bus data transfer speed
JPH0316649B2 (en)
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
JPH0337221B2 (en)
JP2905075B2 (en) Programmable controller and its exclusive control communication method
CA1293328C (en) Remote services console for digital data processing system
JPS60194647A (en) Data transmission system
JPS60178561A (en) Standard digital interface device
US6112259A (en) Integrated circuit for direct memory access
JP2575514B2 (en) Data communication device
JPH05324545A (en) Bus controller
JPS6043699B2 (en) Data transmitting/receiving device
JPS5953573B2 (en) data transmission system
JP4164990B2 (en) Data communication system
JPH01177664A (en) System for controlling bus connection
JP2556948B2 (en) Dynamic selection method of modem protocol supporting multiple modem types
JPH0273446A (en) Interface switching circuit
JPS627581B2 (en)
JPH0540516A (en) NC device communication system and NC device
JPH02199574A (en) Multiprocessor system
JPH08241223A (en) Data processing device
JPH0245835A (en) Master slave control device