JPH04305749A - Rs232c interface circuit - Google Patents

Rs232c interface circuit

Info

Publication number
JPH04305749A
JPH04305749A JP3070706A JP7070691A JPH04305749A JP H04305749 A JPH04305749 A JP H04305749A JP 3070706 A JP3070706 A JP 3070706A JP 7070691 A JP7070691 A JP 7070691A JP H04305749 A JPH04305749 A JP H04305749A
Authority
JP
Japan
Prior art keywords
signal
connector
interface circuit
rs232c
input 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.)
Pending
Application number
JP3070706A
Other languages
Japanese (ja)
Inventor
Noboru Kanzaki
神崎 昇
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP3070706A priority Critical patent/JPH04305749A/en
Publication of JPH04305749A publication Critical patent/JPH04305749A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the necessity of manual switching of a pair of signal lines in an RS232C connector at the time of mutually connecting respective data terminal equipments(DTEs) and at the time of connecting the DTE to a data circuit terminal equipment (DCE). CONSTITUTION:A signal judging circuit judges the existence of a signal outputted from the RS232C connector 3 to an external device and whether an opposite side receiver is connected (low impedance) or unconnected (high impedance) when there is no signal and automatically keeps the connection between the connector 3 and the self-device or switches respective signal lines in a pair.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はコンピュータ端末装置を
接続するための標準シリアルインタフェース規格として
のRS232Cに準拠するコネクタと自装置との間の接
続を相手装置に応じて自動的に正しく切替えるインタフ
ェース回路としてのRS232C用インタフェース回路
に関する。なお以下各図において同一の符号は同一もし
くは相当部分を示す。
[Industrial Application Field] The present invention relates to an interface circuit that automatically and correctly switches the connection between a connector conforming to RS232C as a standard serial interface standard for connecting a computer terminal device and the own device according to the other device. The present invention relates to an RS232C interface circuit. Note that in the following figures, the same reference numerals indicate the same or corresponding parts.

【0002】0002

【従来の技術】図4はそれぞれRS232Cに準拠する
コネクタ(便宜上RS232Cコネクタという)を備え
たDCE(データ回線終端装置)1−2とDTE(デー
タ端末装置1−1とのRS232Cコネクタ3−1,3
−2同志の接続方法を示し、図5は同じく2つのDTE
1−1間の同コネクタ3−1同志の接続方法を示す。即
ちRS232Cコネクタ3−1,3−2は夫々、データ
端末レディ線(端子)ER,データセットレディ線(端
子)DR,送信要求線(端子)RS,送信可線(端子)
CS,送信データ線(端子)SD,受信データ線(端子
)RD,信号用接地線(端子)SGを持っているが、D
CE1−2はデータ回線を終端する装置であるため、こ
の2つのコネクタ3−1,3−2を結合するRS232
Cケーブル5は上記の同符号の端子同志を1対1に(ス
トレートに)接続すればよい。しかし2つのDTE1−
1間の接続では図5のように一方のDTE1−1のデー
タ端末レディ線ERは相手のDTE1−1にはデータセ
ットレディ線DRとなり、同じく一方のDTEの送信要
求線RSは相手のDTEには送信可線CSとなり、同じ
く一方のDTEの送信データ線SDは相手のDTEには
受信データ線RDとなるので、2つのDTEを結合する
ケーブル5は互に対(ペア)となる信号線(ERとDR
,RSとCS,SDとRD)同志を交叉(クロス)して
接続しなければならない。
2. Description of the Related Art FIG. 4 shows a DCE (data line terminal equipment) 1-2 and a DTE (RS232C connector 3-1 with a data terminal equipment 1-1) each equipped with a connector compliant with RS232C (referred to as an RS232C connector for convenience). 3
Figure 5 shows how to connect two DTEs.
A method of connecting the same connector 3-1 between 1-1 is shown. That is, the RS232C connectors 3-1 and 3-2 respectively have a data terminal ready line (terminal) ER, a data set ready line (terminal) DR, a transmission request line (terminal) RS, and a transmission ready line (terminal).
It has CS, sending data line (terminal) SD, receiving data line (terminal) RD, and signal grounding line (terminal) SG, but D
Since CE1-2 is a device that terminates the data line, RS232 connects these two connectors 3-1 and 3-2.
In the C cable 5, the above-mentioned terminals having the same symbols may be connected one to one (straight). But two DTE1−
In the connection between two DTEs, as shown in Figure 5, the data terminal ready line ER of one DTE 1-1 becomes the data set ready line DR to the other DTE 1-1, and similarly, the transmission request line RS of one DTE becomes the data set ready line DR to the other DTE 1-1. is the transmittable line CS, and the transmitting data line SD of one DTE becomes the receiving data line RD of the other DTE, so the cable 5 that connects the two DTEs is a pair of signal lines ( ER and DR
, RS and CS, SD and RD) must be crossed and connected.

【0003】0003

【発明が解決しようとする課題】このようにRS232
Cインタフェース回路は従来、接続しようとする相手装
置がDTE1−1なのか、DCE1−2なのかを確認し
てからでないと接続できないという問題がある。この解
決のため、従来、RS−232Cケーブル5上に手動ス
イッチを設けて、手操作でクロス接続かストレート接続
かに切換えるケーブルも提案さているが、結局は相手自
体がDCEかDTEか確認する必要があるほか、手動操
作で切換えるという不便さがある。そこでこの発明は、
自動的に回路動作によって自装置のRS−232Cコネ
クタ上の信号線及び制御線の接続を相手装置に合わせた
接続とすることで、装置間の接続に当たり、手動操作を
不要としたRS−232C用インタフェース回路を提供
することを課題とする。
[Problem to be solved by the invention] In this way, RS232
Conventionally, the C interface circuit has a problem in that it cannot be connected until it has been confirmed whether the other device to be connected is the DTE 1-1 or the DCE 1-2. To solve this problem, cables have been proposed in which a manual switch is installed on the RS-232C cable 5 to manually switch between cross connection and straight connection, but in the end it is necessary to check whether the other party itself is DCE or DTE. In addition, there is the inconvenience of having to switch manually. Therefore, this invention
For RS-232C, the signal and control lines on the RS-232C connector of the own device are automatically connected to match the connection of the other device by circuit operation, eliminating the need for manual operations when connecting devices. The objective is to provide an interface circuit.

【0004】0004

【課題を解決するための手段】前記の課題を解決するた
めに、請求項1のインタフェース回路は、標準シリアル
インタフェース規格としてのRS232Cに準拠するコ
ネクタ(3など)と自装置との間に設けられるインタフ
ェース回路であって、少なくとも前記コネクタに対する
外部側(相手装置1Bなど)からの各信号線上の入力信
号の有無を検出する入力信号検出手段(信号判定回路1
1など)と、常時は前記コネクタを前記自装置自身の通
常のRS232C準拠のコネクタとするように前記コネ
クタと前記自装置との間を接続し、前記入力信号検出手
段によって検出された外部側からの入力信号が前記自装
置からの信号出力用の信号線に入力されようとするとき
は、前記コネクタ上の各信号線のうち互に対となる信号
線の前記コネクタに対する前記自装置からの接続を相互
に入替える手段(論理回路13,スイッチ回路14など
)とを備えたものとし、また
[Means for Solving the Problems] In order to solve the above problems, an interface circuit according to claim 1 is provided between a connector (such as 3) conforming to RS232C as a standard serial interface standard and the own device. The interface circuit includes input signal detection means (signal determination circuit 1
1, etc.), the connector and the own device are normally connected so that the connector is a normal RS232C compliant connector of the own device, and the external side detected by the input signal detection means is When an input signal is to be input to a signal line for signal output from the own device, connect the signal lines that are paired with each other among the signal lines on the connector from the own device to the connector. (logic circuit 13, switch circuit 14, etc.), and

【0005】請求項2のインタフェース回路では、請求
項1に記載のインタフェース回路において、前記入力信
号検出手段は前記コネクタと自装置との接続が切離され
た状態において、所定の電源電圧を所定レベルに分圧す
る所定の入力インピーダンスの抵抗分圧回路(抵抗R1
,R2など)と当該の信号線とを接続したうえ、この信
号線の電圧レベルを所定の基準電圧(V0,V1など)
と比較して前記入力信号の有無を判別するものであるよ
うにする。
In the interface circuit according to claim 2, in the interface circuit according to claim 1, the input signal detection means adjusts the predetermined power supply voltage to a predetermined level in a state where the connection between the connector and the own device is disconnected. A resistor voltage divider circuit (resistance R1) with a predetermined input impedance that divides the voltage into
, R2, etc.) and the relevant signal line, and then set the voltage level of this signal line to a predetermined reference voltage (V0, V1, etc.).
The presence or absence of the input signal is determined by comparing the input signal with the input signal.

【0006】[0006]

【作  用】RS−232Cの信号線上の信号電圧が、
相手装置が接続されている場合は、相手装置への入力信
号ならば、入力インピーダンスが規定により3KΩ〜7
KΩで且つ0V近くであること、相手装置からの出力信
号ならば、マーク信号状態すなわち−3V〜−15Vで
あること、一方、相手装置が接続されていない場合は、
当該の信号線が信号用接地線SGに対し高インピーダン
ス状態である事に着目したもので、要するに信号線が0
V近くであるか、−3V〜−15V近くであるか、ある
いは高インピーダンスであるかを判定する信号判定回路
により信号を判定し、この判定結果に基づき自装置側の
RS−232C信号線と相手ケーブル側信号線を正しく
自動接続しようとするものである。
[Operation] The signal voltage on the RS-232C signal line is
When the other device is connected, if it is an input signal to the other device, the input impedance should be 3KΩ to 7KΩ according to the regulations.
KΩ and close to 0V, and if it is an output signal from the other device, it must be in the mark signal state, that is, -3V to -15V.On the other hand, if the other device is not connected,
This focuses on the fact that the signal line is in a high impedance state with respect to the signal ground line SG, and in short, the signal line is 0.
The signal is judged by a signal judgment circuit that judges whether it is close to V, -3V to -15V, or high impedance, and based on the judgment result, the RS-232C signal line on the own device side and the other party's This is intended to automatically connect cable side signal lines correctly.

【0007】[0007]

【実施例】以下図1ないし図3に基づいて本発明の実施
例を説明する。図1は本発明の実施例としての要部構成
を示すブロック図である。同図において10はRS23
2C用のインタフェース回路、1Aは自装置、1Bは相
手装置である。3(3A,3B)はRS232C用コネ
クタで3Aはこのインタフェース回路10に属するコネ
クタ、3Bは前記コネクタ3Aに結合されRS232C
用ケーブル5を介して相手装置1Bに結合されているコ
ネクタである。図1では前述した対となる信号線の1対
分a,bのみの回路を示している。この信号(線)のペ
アは例えばSDとRDに相当し、この他の信号ペアER
とDR、およびRSとCSについても図1と同様な回路
が存在する。
Embodiments An embodiment of the present invention will be described below with reference to FIGS. 1 to 3. FIG. 1 is a block diagram showing the main configuration of an embodiment of the present invention. In the same figure, 10 is RS23
2C interface circuit, 1A is the own device, and 1B is the other device. 3 (3A, 3B) is a connector for RS232C, 3A is a connector belonging to this interface circuit 10, and 3B is connected to the connector 3A for RS232C.
This is a connector that is connected to the counterpart device 1B via a cable 5. FIG. 1 shows a circuit for only one pair of signal lines a and b as described above. This pair of signals (lines) corresponds to SD and RD, for example, and the other signal pair ER
Circuits similar to those in FIG. 1 also exist for DR, RS, and CS.

【0008】また図1において11(11a,11b)
は夫々同一構成の信号判定回路、21a,21bは夫々
この11a,11bの判定結果としての信号判定出力で
ある。13は論理回路で前記の判定出力21aおよび2
1bを入力して、信号22を出力し、スイッチ回路14
の切換を制御する。そしてこのスイッチ14の切換に応
じて、信号線a,bが夫々信号線f,gにストレート接
続されたり、あるいは信号線a,bが夫々信号線g,f
にクロス接続されたりする。なおここでfは自装置1A
に対する入力側の信号線、gは同じく自装置1Aからの
出力側の信号線であるものとする。
Also, in FIG. 1, 11 (11a, 11b)
are signal determination circuits having the same configuration, and 21a and 21b are signal determination outputs as the determination results of these 11a and 11b, respectively. 13 is a logic circuit that outputs the judgment outputs 21a and 2
1b, outputs the signal 22, and switches the switch circuit 14.
control switching. Depending on the switching of this switch 14, the signal lines a and b are connected straight to the signal lines f and g, respectively, or the signal lines a and b are connected straight to the signal lines g and f, respectively.
may be cross-connected. Note that here f is the own device 1A
The signal line g on the input side is also the signal line on the output side from the own device 1A.

【0009】図2は図1の信号判定回路11の構成の実
施例を示す。図2においてDRVは、たまたま信号線a
に接続されていると仮定したときの相手装置1B内のR
S232C出力ドライバ、RCVは、同じくたまたま信
号線bに接続されていると仮定したときのRS232C
レシーバである。なお場合によっては相手側に出力ドラ
イバDRVもレシーバRCVも存在せず、信号線a,b
が開放(無接続)状態となる場合もある。なおこの信号
判定回路11が判定出力21(21a,21b)を出力
する以前においては、後述のように自装置1Aの信号線
f,g…等とコネクタ3A(従ってスイッチ回路14)
との接続は切離されていて、自装置1Aは信号判定回路
11の判定に影響を及ぼさないように構成されているも
のとする。
FIG. 2 shows an embodiment of the configuration of the signal determination circuit 11 shown in FIG. In FIG. 2, DRV happens to be the signal line a
R in the other device 1B when it is assumed that it is connected to
The S232C output driver, RCV, is the RS232C output driver, assuming that it also happens to be connected to signal line b.
It is a receiver. Note that in some cases, neither the output driver DRV nor the receiver RCV exists on the other side, and the signal lines a and b
may be in an open (no connection) state. Note that before this signal judgment circuit 11 outputs the judgment output 21 (21a, 21b), as will be described later, the signal lines f, g, etc. of the own device 1A and the connector 3A (therefore, the switch circuit 14)
It is assumed that the connection with the signal determination circuit 11 is disconnected, and the device 1A is configured so as not to affect the determination by the signal determination circuit 11.

【0010】この信号判定回路11内では図外の電源の
電圧を抵抗R1,R2で分圧した電圧レベルがそれぞれ
信号線a,bに接続されている。但しこの信号線インピ
ーダンス(従って抵抗R1,R2の値)が相手側装置1
BのRS232C用ドライバーDRV及びレシーバRC
Vより充分高いインピーダンスとなるようにしておく。
In this signal determination circuit 11, voltage levels obtained by dividing the voltage of a power supply (not shown) by resistors R1 and R2 are connected to signal lines a and b, respectively. However, this signal line impedance (therefore the values of resistors R1 and R2) is
B's RS232C driver DRV and receiver RC
Make sure that the impedance is sufficiently higher than V.

【0011】図2のように信号線aが相手装置1Bの出
力信号(つまり出力ドライバDRV)に接続されている
ものとすると、その出力電圧は−3V〜−15Vのマー
ク信号電圧レベルに保たれている。また信号線bが相手
装置1BのレシーバRCVに接続されているものとする
と、この信号線bは抵抗R1,R2のインピーダンスよ
り低い入力インピーダンス(3KΩ〜7KΩ)で、0V
レベルに保たれている。また信号線a,bが無接続とな
った場合は、信号線a,bから相手装置1Bを見たとき
の信号用接地線SGに対するインピーダンスは高インピ
ーダンスなので、信号線a,bは抵抗R1,R2で決ま
る分割電圧でその信号レベルが保たれている。
Assuming that the signal line a is connected to the output signal of the partner device 1B (that is, the output driver DRV) as shown in FIG. 2, the output voltage is maintained at the mark signal voltage level of -3V to -15V. ing. Also, assuming that signal line b is connected to receiver RCV of partner device 1B, signal line b has an input impedance (3KΩ to 7KΩ) lower than the impedance of resistors R1 and R2, and 0V
maintained at the level. Furthermore, when the signal lines a and b are disconnected, the impedance to the signal ground line SG when looking at the other device 1B from the signal lines a and b is high impedance, so the signal lines a and b are connected to the resistor R1, The signal level is maintained by the divided voltage determined by R2.

【0012】15は比較回路でそれぞれ上記3つの電圧
レベルの比較用基準電圧V0,V1,V2を入力してお
り、この比較回路15は基準電圧V0,V1,V2と信
号線a,bの電圧との比較により、当該の信号線が出力
ドライバDRVに接続されているか(出力判定という)
、レシーバRCVに接続されているか(入力判定という
)、無接続(無接続判定という)かの3つの判定結果と
しての前記信号判定出力21(21a,21b)を出力
する。
Reference numeral 15 denotes a comparison circuit which inputs the comparison reference voltages V0, V1, V2 of the three voltage levels mentioned above, and this comparison circuit 15 inputs the reference voltages V0, V1, V2 and the voltages of the signal lines a, b. By comparison with
, the signal determination outputs 21 (21a, 21b) are output as the three determination results of whether it is connected to the receiver RCV (referred to as input determination) or not connected (referred to as non-connection determination).

【0013】図3は図1の論理回路13およびスイッチ
回路14部分の詳細構成の実施例を示す。なお図3の回
路はアクティブ“H”論理で記述されている。図3にお
いては図2の信号判定出力21a,21bが論理回路1
3に入力されるが、信号判定出力21aが入力判定、同
じく信号判定出力21bが出力判定であれば、ANDゲ
ート31が“H”の出力22−1を出力し、スイッチ回
路14のリレードライバ41を介してリレーX1をオン
する。また同時に論理回路13のORゲート33も“H
”の出力22−3を出力し、スイッチ回路14のリレー
ドライバ43を介してリレーX3をオンする。これによ
りリレーX1の接点X1aがオン、リレーX3の接点X
3aがオンする。この結果、相手装置1B側の信号線a
と自装置1A側の信号線gとが接続され、かつ相手装置
1B側の信号線bと自装置1A側の信号線fとが接続さ
れて、前記のクロス接続となる。
FIG. 3 shows an embodiment of the detailed configuration of the logic circuit 13 and switch circuit 14 portions of FIG. 1. Note that the circuit in FIG. 3 is described using active "H" logic. In FIG. 3, the signal judgment outputs 21a and 21b in FIG.
3, but if the signal determination output 21a is input determination and the signal determination output 21b is output determination, AND gate 31 outputs "H" output 22-1, and relay driver 41 of switch circuit 14 Turn on relay X1 via . At the same time, the OR gate 33 of the logic circuit 13 is also “H”.
" output 22-3 and turns on relay X3 via relay driver 43 of switch circuit 14. As a result, contact X1a of relay X1 is turned on, and contact X of relay X3 is turned on.
3a turns on. As a result, the signal line a on the partner device 1B side
and the signal line g on the side of the own device 1A are connected, and the signal line b on the side of the other device 1B and the signal line f on the side of the own device 1A are connected, resulting in the above-mentioned cross connection.

【0014】逆に信号判定出力21aが出力判定、信号
判定出力21bが入力判定の場合は、論理回路13のA
NDゲート32およびORゲート33が夫々“H”の出
力22−2および22−3を出力する。これによりリレ
ードライバ42,43を介し夫々リレーX2,X3がオ
ン、従ってリレー接点X2aおよびX3aがオンする。 これにより信号線aとfとが接続され、かつ信号線bと
gとが接続されて、前記のストレート接続となる。また
信号判定出力21a,21bが無接続判定のときは、図
3の回路は変化しない。上記の実施例は基本的な論理構
成の一例であり、この他判定結果の出力判定論理と組合
わせて、より自動接続の信頼性をあげる方法も考えられ
る。
Conversely, when the signal judgment output 21a is for output judgment and the signal judgment output 21b is for input judgment, A of the logic circuit 13
ND gate 32 and OR gate 33 output "H" outputs 22-2 and 22-3, respectively. This turns on relays X2 and X3 via relay drivers 42 and 43, respectively, and thus turns on relay contacts X2a and X3a. As a result, signal lines a and f are connected, and signal lines b and g are connected, resulting in the above-mentioned straight connection. Further, when the signal determination outputs 21a and 21b determine that there is no connection, the circuit in FIG. 3 does not change. The above embodiment is an example of a basic logical configuration, and it is also possible to combine the output judgment logic of the judgment result to further improve the reliability of automatic connection.

【0015】[0015]

【発明の効果】本発明によれば、標準シリアルインタフ
ェース規格としてのRS232Cに準拠するコネクタ3
と自装置1Aとの間に設けられるインタフェース回路が
、少なくとも前記コネクタ3に対する相手装置1Bから
の各信号線上の入力信号の有無を検出する信号判定回路
11と、常時は前記コネクタ3を前記自装置1A自身の
通常のRS232C準拠のコネクタとするように前記コ
ネクタ3と前記自装置1Aとの間を接続し、前記信号判
定回路11によって検出された相手装置1Bからの入力
信号が前記自装置1Aからの信号出力用の信号線に入力
されようとするときは、前記コネクタ上の各信号線のう
ち互に対となる信号線の前記コネクタに対する前記自装
置からの接続を相互に入替える手段としての論理回路1
3,スイッチ回路14とを備えるようにしたので、従来
のようにDTEかDCEかを接続対象の装置について調
べたり、コネクタ接続時の手作業による、装置間信号の
コネクタピンの再配置等の処理がいらなくなる。また装
置によっては制御線の機能を持たない相手装置の場合(
つまり前記の無接続の場合)、自装置側の出力信号の折
り返しを対信号について行う事があるが、この場合も本
発明の論理回路13に自装置側より制御信号を入力し、
かつスイッチ回路14に折り返し用スイッチ部を付加す
れば容易に折り返し信号の自動接続が可能になる。
[Effects of the Invention] According to the present invention, the connector 3 conforms to RS232C as a standard serial interface standard.
An interface circuit provided between the connector 3 and the own device 1A includes at least a signal determination circuit 11 that detects the presence or absence of an input signal on each signal line from the other device 1B to the connector 3, and a signal judgment circuit 11 that detects the presence or absence of an input signal on each signal line from the other device 1B to the connector 3, and a signal judgment circuit 11 that normally connects the connector 3 to the own device. The connector 3 and the own device 1A are connected so that the connector 3 is a normal RS232C compliant connector of the own device 1A, and the input signal from the other device 1B detected by the signal determination circuit 11 is transmitted from the own device 1A. When the signal is to be input to the signal line for signal output on the connector, the connection of the pair of signal lines of each signal line on the connector from the own device to the connector is mutually switched. logic circuit 1
3. Since it is equipped with a switch circuit 14, it is no longer necessary to check whether the device is DTE or DCE or manually rearrange the connector pins for inter-device signals when connecting the connector. is no longer needed. Also, depending on the device, if the partner device does not have a control line function (
In other words, in the above-mentioned case of no connection), the output signal from the own device side may be folded back to the paired signal, but in this case as well, a control signal is input from the own device side to the logic circuit 13 of the present invention,
Moreover, if a return switch section is added to the switch circuit 14, automatic connection of the return signal becomes possible easily.

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

【図1】本発明の実施例としての要部構成を示すブロッ
ク図
FIG. 1 is a block diagram showing the main configuration of an embodiment of the present invention.

【図2】同じく図1の信号判定回路の詳細構成図[Figure 2] Detailed configuration diagram of the signal determination circuit also shown in Figure 1

【図3
】同じく図1の論理回路とスイッチ回路の詳細構成図
[Figure 3
】Detailed configuration diagram of the logic circuit and switch circuit in Figure 1 as well.

【図4】データ回線終端装置(DCE)とデータ端末装
置(DTE)との接続例を示す図
[Figure 4] Diagram showing an example of a connection between a data circuit terminating equipment (DCE) and a data terminal equipment (DTE)

【図5】データ端末装置(DTE)同志の接続例を示す
[Figure 5] Diagram showing an example of connections between data terminal equipment (DTE)

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

1A  自装置 1B  相手装置 3(3A,3B)  RS232Cコネクタ5    
RS232Cケーブル 10    インタフェース回路 11(11a,11b)  信号判定回路13    
論理回路 14    スイッチ回路 a,b  対となる相手装置側の信号線f,g  対と
なる自装置側の信号線 21a,21b  信号判定出力 22  論理回路出力
1A Own device 1B Other device 3 (3A, 3B) RS232C connector 5
RS232C cable 10 Interface circuit 11 (11a, 11b) Signal judgment circuit 13
Logic circuit 14 Switch circuits a, b Paired signal lines f, g on the other device's side Signal lines 21a, 21b on the own device's side as a pair Signal judgment output 22 Logic circuit output

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】標準シリアルインタフェース規格としての
RS232Cに準拠するコネクタと自装置との間に設け
られるインタフェース回路であって、少なくとも前記コ
ネクタに対する外部側からの各信号線上の入力信号の有
無を検出する入力信号検出手段と、常時は前記コネクタ
を前記自装置自身の通常のRS232C準拠のコネクタ
とするように前記コネクタと前記自装置との間を接続し
、前記入力信号検出手段によって検出された外部側から
の入力信号が前記自装置からの信号出力用の信号線に入
力されようとするときは、前記コネクタ上の各信号線の
うち互に対となる信号線の前記コネクタに対する前記自
装置からの接続を相互に入替える手段とを備えたことを
特徴とするRS232C用インタフェース回路。
1. An interface circuit provided between a connector conforming to RS232C as a standard serial interface standard and the own device, the interface circuit detecting the presence or absence of an input signal on each signal line from the outside to the connector at least. an input signal detecting means, and an external side detected by the input signal detecting means, which connects the connector and the own device so that the connector is normally a normal RS232C compliant connector of the own device; When an input signal from the self-device is to be input to the signal line for signal output from the self-device, the input signal from the self-device to the connector of each pair of signal lines on the connector is 1. An RS232C interface circuit characterized by comprising means for mutually exchanging connections.
【請求項2】請求項1に記載のインタフェース回路にお
いて、前記入力信号検出手段は前記コネクタと自装置と
の接続が切離された状態において、所定の電源電圧を所
定レベルに分圧する所定の入力インピーダンスの抵抗分
圧回路と当該の信号線とを接続したうえ、この信号線の
電圧レベルを所定の基準電圧と比較して前記入力信号の
有無を判別するものであることを特徴とするRS232
C用インタフェース回路。
2. The interface circuit according to claim 1, wherein the input signal detection means detects a predetermined input that divides a predetermined power supply voltage to a predetermined level in a state where the connection between the connector and the own device is disconnected. The RS232 is characterized in that an impedance resistance voltage divider circuit and the relevant signal line are connected, and the voltage level of this signal line is compared with a predetermined reference voltage to determine the presence or absence of the input signal.
C interface circuit.
JP3070706A 1991-04-03 1991-04-03 Rs232c interface circuit Pending JPH04305749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3070706A JPH04305749A (en) 1991-04-03 1991-04-03 Rs232c interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3070706A JPH04305749A (en) 1991-04-03 1991-04-03 Rs232c interface circuit

Publications (1)

Publication Number Publication Date
JPH04305749A true JPH04305749A (en) 1992-10-28

Family

ID=13439305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3070706A Pending JPH04305749A (en) 1991-04-03 1991-04-03 Rs232c interface circuit

Country Status (1)

Country Link
JP (1) JPH04305749A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009130680A (en) * 2007-11-26 2009-06-11 Sony Corp Communication system, electronic apparatus and communication method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009130680A (en) * 2007-11-26 2009-06-11 Sony Corp Communication system, electronic apparatus and communication method

Similar Documents

Publication Publication Date Title
US9946675B2 (en) Fault-tolerant loop for a communication bus
US11584316B2 (en) Communication system and vicarious inputting and outputting unit
CN111711552B (en) Terminal resistor access circuit, servo driver and control system
US20170192929A1 (en) Dual voltage communication bus
EP0199338B1 (en) Repeater circuit
JPH04305749A (en) Rs232c interface circuit
US7543044B2 (en) Automatic configuration system
JPH04247742A (en) Bus line termination system
US7515603B2 (en) One-way connection device suitable for use in an ethernet network
US10187229B2 (en) Bi-directional, full-duplex differential communication over a single conductor pair
JPH06224976A (en) Interface conversion circuit for half duplex serial transmission
CN220307228U (en) Gateway (GW)
JP3084858B2 (en) Signal abnormality detection device for in-vehicle network
US8806079B2 (en) Interface circuit and an electronic device including the same
KR20000074847A (en) Low voltage differential signal communication system
JP2000010686A (en) Data transmitter
JPH03254246A (en) Transmission system for lan
KR940008105B1 (en) Receiving line automatic converting circuit for differential line driver
KR960008775Y1 (en) Line shut-off circuit of modem
CN117478124A (en) Bidirectional digital isolator and communication method
JPH04369128A (en) Monitor for fault in equipment
CN111404538A (en) Connection circuit and connection method thereof
JPH05314036A (en) Interface equipment for communication
JPS6258750A (en) Data interface circuit
JPS58124352A (en) Connector dropout detecting circuit for bus cable