JP2000010686A - Data transmitter - Google Patents

Data transmitter

Info

Publication number
JP2000010686A
JP2000010686A JP10169395A JP16939598A JP2000010686A JP 2000010686 A JP2000010686 A JP 2000010686A JP 10169395 A JP10169395 A JP 10169395A JP 16939598 A JP16939598 A JP 16939598A JP 2000010686 A JP2000010686 A JP 2000010686A
Authority
JP
Japan
Prior art keywords
signal
signal line
connection
rs232c interface
personal computer
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
JP10169395A
Other languages
Japanese (ja)
Inventor
Tomohiro Katsumata
智博 勝又
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP10169395A priority Critical patent/JP2000010686A/en
Publication of JP2000010686A publication Critical patent/JP2000010686A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To connect a connection equipment by one kind of an RS232C interface. SOLUTION: The cable part 4a of the RS232C interface is provided with a window comparator 8 for detecting the signal level of the connection equipment and a changeover relay switch 6 for switching respective signal lines 7 in the cable part 4a into a straight connection or a prescribed cross connection. Then, the signal lines 7 are connected straight in the case that the signal levels of the connection equipment are different and the signal lines 7 are turned into the prescribed cross connection in the case that the signal levels of the connection equipment match.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、DTE(CPU
などのデータ端末装置)とDCE(モデムなどのデータ
回線終端装置)間、あるいはDTEとDTE間、あるい
はDCEとDCE間をRS232Cインタフェースで接
続し、データ伝送を行うデータ伝送装置に関するもので
ある。
The present invention relates to a DTE (CPU
The present invention relates to a data transmission device that performs data transmission by connecting an RS232C interface between a data terminal device such as a DCE (data terminal device such as a modem), a DTE and a DTE, or a DCE and a DCE.

【0002】[0002]

【従来の技術】RS232Cインタフェースは、本来D
TEとDCE間を接続するデータ通信用インタフェース
であり、DTEとDCEの接続ケーブルには1対1のス
トレートケーブルが使われている。ところが、モデムな
どのDCEを介さずに直接DTE間を接続する場合、出
力信号が短絡してしまう。このため、送信信号線と受信
信号線をクロスして接続するクロスケーブルが使われて
いる。従って、RS232Cインタフェースには、大き
く分けて、ストレートケーブルとクロスケーブルの2種
類がある。
2. Description of the Related Art An RS232C interface is originally a D
This is a data communication interface for connecting between TE and DCE, and a one-to-one straight cable is used as a connection cable between DTE and DCE. However, when a direct connection is made between DTEs without using a DCE such as a modem, an output signal is short-circuited. For this reason, a cross cable for connecting the transmission signal line and the reception signal line crosswise is used. Therefore, the RS232C interface is roughly classified into two types, a straight cable and a cross cable.

【0003】図5はFrom側(送信側)のパソコン
(DTE)1とTo側(受信側)のモデム(DCE)2
をRS232Cインタフェースにより接続したデータ伝
送装置の構成図を示し、RD信号線7はモデム2を介し
て相手から受信データを受け取る受信信号線である。S
D信号線7は、パソコン1からモデム2を介して相手に
送信データを送る送信信号線である。SG信号線7は信
号用接地線、RS信号線7はパソコン1が送信すること
をモデム2に要求する送信要求信号線である。CS信号
線7はモデム2がパソコン1に送信許可を与える信号線
である。CD信号線7は、モデム2が相手からのキャリ
ア(搬送波)を検出したことをパソコン1に知らせる信
号線である。DR信号線7は、モデム2が動作可能であ
ることをパソコン1へ知らせる信号線である。ER信号
線7は、パソコン1がモデム2に対して動作可能となる
ことを要求する信号線である。
FIG. 5 shows a personal computer (DTE) 1 on the From side (transmission side) and a modem (DCE) 2 on the To side (reception side).
1 is a configuration diagram of a data transmission device connected by an RS232C interface, and an RD signal line 7 is a reception signal line for receiving reception data from a partner via the modem 2. S
The D signal line 7 is a transmission signal line for transmitting transmission data from the personal computer 1 to the other party via the modem 2. The SG signal line 7 is a signal ground line, and the RS signal line 7 is a transmission request signal line for requesting the modem 2 to transmit by the personal computer 1. The CS signal line 7 is a signal line from which the modem 2 gives the personal computer 1 transmission permission. The CD signal line 7 is a signal line that notifies the personal computer 1 that the modem 2 has detected a carrier (carrier) from the other party. The DR signal line 7 is a signal line that notifies the personal computer 1 that the modem 2 is operable. The ER signal line 7 is a signal line for requesting that the personal computer 1 can operate the modem 2.

【0004】ここで、上記装置における信号のやりとり
の一例を示す。まず、ER信号とOR信号の交換により
モデム2が動作可能状態であることを確認する。次に、
パソコン1がRS信号により送信要求をし、モデム2は
CS信号により送信許可を出す。次に、パソコン1はS
D信号線7によりモデム2へデータを送信する。一方、
モデム2は相手のモデムなどからキャリアを受け取る
と、このことをCD信号によりパソコン1に知らせ、R
D信号線7によりこのデータをパソコン1に入力する。
[0004] Here, an example of the exchange of signals in the above device will be described. First, it is confirmed that the modem 2 is operable by exchanging the ER signal and the OR signal. next,
The personal computer 1 makes a transmission request by an RS signal, and the modem 2 issues a transmission permission by a CS signal. Next, the personal computer 1
Data is transmitted to the modem 2 via the D signal line 7. on the other hand,
When the modem 2 receives the carrier from the other party's modem or the like, it notifies the personal computer 1 of this by a CD signal,
This data is input to the personal computer 1 via the D signal line 7.

【0005】図5の場合には規格通りの使用であるか
ら、RS232Cインタフェースケーブルは同じ端子ど
うしを接続すればよいので、ストレートケーブルとな
る。なお、パソコン1におけるRD,SD,CS,C
D,DR,ERの各信号線7の端子の信号レベルはHi
gh(以下Hと略する。)となっている。又、モデム2
におけるRD,SD,CS,CD,DR,ERの各信号
線7の端子の信号レベルはLow(以下、Lと略す
る。)となっている。
In the case of FIG. 5, since the RS-232C interface cable is connected to the same terminal, it is a straight cable since the RS232C interface cable is used as specified. RD, SD, CS, C
The signal level of the terminal of each signal line 7 of D, DR, ER is Hi.
gh (hereinafter abbreviated as H). Also, modem 2
The signal level of the terminal of each signal line 7 of RD, SD, CS, CD, DR, and ER is Low (hereinafter abbreviated as L).

【0006】図6はFrom側のパソコン(DTE)1
とTo側のパソコン(DTE)3をRS232Cインタ
フェースにより接続したデータ伝送装置の構成図を示
し、各信号線7の機能及び各端子の信号レベルは図5の
場合と同様である。ここで、RD信号線7とSD信号線
7、CS信号線7とCD信号線7、及びDR信号線7と
ER信号線7は相互にクロス接続となっている。又、R
S信号線7も特殊なクロス接続となっている。これは、
例えば、SD信号線7はDTEにおいては送信用の信号
線であり、SD信号線7どうしの接続は不可能であり、
かつRD信号線7はDTEにおいては受信用であるか
ら、SDとRDの信号線7をクロス接続すれば、信号の
授受が可能となるからである。その他の場合も同様であ
る。
FIG. 6 shows a personal computer (DTE) 1 on the From side.
5 shows a configuration diagram of a data transmission device in which a personal computer (DTE) 3 on the To side is connected by an RS232C interface. The function of each signal line 7 and the signal level of each terminal are the same as those in FIG. Here, the RD signal line 7 and the SD signal line 7, the CS signal line 7 and the CD signal line 7, and the DR signal line 7 and the ER signal line 7 are cross-connected to each other. Also, R
The S signal line 7 also has a special cross connection. this is,
For example, the SD signal line 7 is a signal line for transmission in the DTE, and connection between the SD signal lines 7 is impossible,
Further, since the RD signal line 7 is for reception in the DTE, if the SD and RD signal lines 7 are cross-connected, signals can be exchanged. The same applies to other cases.

【0007】[0007]

【発明が解決しようとする課題】上記したように従来の
データ伝送装置においては、RS232Cインタフェー
スのケーブルは接続機器の種類によってストレートとク
ロスに変更する必要があり、汎用性がなく、外観が同じ
であるので間違えることもあり、配線の作業性が悪かっ
た。
As described above, in the conventional data transmission apparatus, the cable of the RS232C interface needs to be changed between straight and cross depending on the type of the connected device, which is not versatile and has the same appearance. There was a mistake, so the workability of wiring was bad.

【0008】この発明は上記のような課題を解決するた
めになされたものであり、接続機器の種類がどのような
ものであっても1種類のRS232Cインタフェースに
よって接続することができ、汎用性があり、しかも配線
間違いもなく、配線作業性が良いデータ伝送装置を得る
ことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and can be connected by one type of RS232C interface regardless of the type of the connected device, and the versatility can be improved. It is an object of the present invention to obtain a data transmission device which has a wiring operation without any mistakes and has good wiring workability.

【0009】[0009]

【課題を解決するための手段】この発明にかかるデータ
伝送装置は、送信側と受信側の信号レベルを検出し、両
者の信号レベルが異なる場合にストレート接線の制御信
号を出力するとともに、両者の信号レベルが一致する場
合にクロス接続の制御信号を出力する信号レベル検出手
段と、信号レベル検出手段からの制御信号を受け、RS
232Cインタフェースのケーブルをストレート接続ま
たは所定のクロス接続に切り換える切換手段を設けたも
のである。
SUMMARY OF THE INVENTION A data transmission apparatus according to the present invention detects a signal level on a transmission side and a reception side, and outputs a straight tangent control signal when both signal levels are different. A signal level detecting means for outputting a cross connection control signal when the signal levels match, a control signal from the signal level detecting means,
Switching means for switching the cable of the 232C interface to straight connection or predetermined cross connection is provided.

【0010】[0010]

【発明の実施の形態】実施形態1 以下、この発明の実施の形態を図面とともに説明する。
図1(a)は実施形態1によるRS232Cインタフェ
ースの正面図を示し、4aはRS232Cインタフェー
スのケーブル部、4b,4cはケーブル部4aの両端に
設けられた端子部であり、端子部4b,4cはFrom
側(送信側)及びTo側(受信側)にそれぞれ設けら
れ、DSUB−9ピンにより構成されている。5はケー
ブル部4aに設けられた制御ボックスである。
Embodiment 1 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1A is a front view of the RS232C interface according to the first embodiment, where 4a is a cable portion of the RS232C interface, 4b and 4c are terminal portions provided at both ends of the cable portion 4a, and terminal portions 4b and 4c are From
Side (transmitting side) and To side (receiving side), respectively, and are configured by DSUB-9 pins. Reference numeral 5 denotes a control box provided in the cable section 4a.

【0011】図1(b)まは制御ボックス5の内部構成
を示し、6はケーブル部6aを構成する各信号線7に設
けられた切換リレースイッチ、8は同じく各信号線7に
設けられたウィンドウコンパレータである。又、図2は
ウィンドウコンパレータ8の回路構成をRD信号線7に
ついて示し、オペアンプ10,11と抵抗とダイオード
により構成されている。図3は切換リレースイッチ6の
回路構成を示し、リレースイッチS1〜S15が設けられ
ている。なお、他の信号線7についても、図2と同様な
回路が設けられている。
FIG. 1B shows the internal structure of the control box 5, 6 is a switching relay switch provided on each signal line 7 constituting the cable section 6 a, and 8 is also provided on each signal line 7. It is a window comparator. FIG. 2 shows the circuit configuration of the window comparator 8 with respect to the RD signal line 7, which is composed of operational amplifiers 10 and 11, resistors and diodes. Figure 3 shows a circuit configuration of a changeover relay switch 6, relay switches S 1 to S 15 are provided. It should be noted that circuits similar to those in FIG. 2 are provided for the other signal lines 7.

【0012】次に、上記構成の動作について説明する。
まず、From側,To側の装置の電源オン時の各信号
線7の電圧をウィンドウコンパレータ8に入力し、各信
号線7の状態(+12V,−12V,0V)を判別し、
スレーブ側(DCE側)かドライブ側(DTE側)かを
読み取る。例えば、図5に示すようにFrom側がパソ
コン(DTE)1であり、To側がモデム(DCE)2
である場合には、図2のFrom側の信号線7にはH信
号が入力され、To側の信号線7にはL信号が入力さ
れ、オペアンプ10の出力はLとなり、オペアンプ11
の出力即ち制御信号はHとなる。又、図6に示すように
From側がパソコン(DTE)1であり、To側もパ
ソコン(DTE)3である場合には、図2のFrom側
及びTo側の信号線7には共にH信号が入力され、オペ
アンプ10の出力はLとなり、オペアンプ11の出力即
ち制御信号はLとなる。
Next, the operation of the above configuration will be described.
First, the voltage of each signal line 7 at the time of power-on of the devices on the From and To sides is input to the window comparator 8, and the state (+ 12V, -12V, 0V) of each signal line 7 is determined.
It reads the slave side (DCE side) or the drive side (DTE side). For example, as shown in FIG. 5, the From side is a personal computer (DTE) 1 and the To side is a modem (DCE) 2.
In this case, the H signal is input to the From signal line 7 in FIG. 2, the L signal is input to the To signal line 7, the output of the operational amplifier 10 becomes L, and the operational amplifier 11
, The control signal becomes H. When the From side is the personal computer (DTE) 1 and the To side is the personal computer (DTE) 3 as shown in FIG. 6, the H signal is applied to both the From and To signal lines 7 in FIG. The output of the operational amplifier 10 becomes L, and the output of the operational amplifier 11, that is, the control signal becomes L.

【0013】上記した制御信号は切換リレースイッチ6
に加えられ、制御信号がHの場合にはリレースイッチS
1〜S7が閉じられるとともに、リレースイッチS8〜S
15が開かれ、RD信号線7及びSD信号線7はストレー
ト接続され、その他の信号線7も同様に接続され、図5
に示すような接続状態となる。又、制御信号がLの場合
にはリレースイッチS1〜S7が開かれるとともに、リレ
ースイッチS8〜S15が閉じられ、RD信号線7及びS
D信号線7はクロス接続され、その他の信号線7も同様
に接続され、図6に示すような接続状態となる。
The above-mentioned control signal is supplied to the changeover relay switch 6
And when the control signal is H, the relay switch S
With 1 to S 7 is closed, the relay switch S 8 to S
15 is opened, the RD signal line 7 and the SD signal line 7 are connected straight, and the other signal lines 7 are similarly connected.
The connection state shown in FIG. When the control signal is L, the relay switches S 1 to S 7 are opened, the relay switches S 8 to S 15 are closed, and the RD signal lines 7 and S
The D signal lines 7 are cross-connected, and the other signal lines 7 are connected in the same manner, resulting in a connection state as shown in FIG.

【0014】実施形態2 図4は実施形態2によるRS232Cインターフェース
の正面図を示し、切換リレースイッチ6を端子部4b内
に設けたディップスイッチ9により構成されたものであ
り、もちろんウィンドウコンパレータ8から制御信号を
受けて動作する。その他の動作も実施形態1と同様であ
る。
Second Embodiment FIG. 4 is a front view of an RS232C interface according to a second embodiment, in which a change-over relay switch 6 is constituted by a dip switch 9 provided in a terminal portion 4b. It operates upon receiving a signal. Other operations are the same as those in the first embodiment.

【0015】なお、この発明は、From側及びTo側
が共にDCEの場合にも適用することができる。
The present invention can be applied to a case where both the From side and the To side are DCE.

【0016】[0016]

【発明の効果】以上のようにこの発明によれば、データ
伝送のための接続機器の種類が変わっても、接続機器を
接続するRS232Cインターフェースはこれに対応し
てストレート接続またはクロス接続に自動的に変わるこ
とができ、RS232Cインターフェースは1種類で良
くなり、汎用性があるとともに、配線間違いもなく、配
線の作業性が良くなる。
As described above, according to the present invention, even if the type of the connection device for data transmission changes, the RS232C interface for connecting the connection device automatically changes to a straight connection or a cross connection accordingly. The RS232C interface can be changed to a single type, so that it is versatile, has no wiring mistakes, and improves workability of wiring.

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

【図1】この発明の実施形態1によるRS232Cイン
ターフェースの正面図及び制御ボックスの内部構成図で
ある。
FIG. 1 is a front view of an RS232C interface and an internal configuration diagram of a control box according to a first embodiment of the present invention.

【図2】この発明の実施形態1によるウィンドウコンパ
レータの一部の回路構成図である。
FIG. 2 is a circuit configuration diagram of a part of the window comparator according to the first embodiment of the present invention.

【図3】この発明の実施形態1による切換リレースイッ
チの回路構成図である。
FIG. 3 is a circuit configuration diagram of a change-over relay switch according to Embodiment 1 of the present invention.

【図4】実施形態2によるRS232Cインターフェー
スの正面図である。
FIG. 4 is a front view of an RS232C interface according to a second embodiment.

【図5】従来のパソコンとモデムをRS232Cインタ
ーフェースにより接続したデータ伝送装置の構成図であ
る。
FIG. 5 is a configuration diagram of a conventional data transmission device in which a personal computer and a modem are connected by an RS232C interface.

【図6】従来のパソコンとパソコンをRS232Cイン
ターフェースにより接続したデータ伝送装置の構成図で
ある。
FIG. 6 is a configuration diagram of a data transmission device in which a personal computer and a personal computer are connected by an RS232C interface.

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

1,3…パソコン 2…モデム 4a…RS232Cインターフェースのケーブル部 4b,4c…RS232Cインターフェースの端子部 5…制御ボックス 6…切換リレースイッチ 7…信号線 8…ウィンドウコンパレータ。 1, 3 personal computer 2 modem 4a RS232C interface cable 4b, 4c RS232C terminal 5 control box 6 switching relay switch 7 signal line 8 window comparator.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 DTEとDCE、あるいはDTEとDT
EあるいはDCEとDCEの間をRS232Cインタフ
ェースを用いて接続し、データの伝送を行うデータ伝送
装置において、送信側と受信側の信号レベルを検出し、
両者の信号レベルが異なる場合にストレート接続の制御
信号を出力するとともに、両者の信号レベルが一致する
場合にクロス接続の制御信号を出力する信号レベル検出
手段と、信号レベル検出手段からの制御信号を受け、R
S232Cインタフェースのケーブルをストレート接続
または所定のクロス接続に切り換える切換手段を備えた
ことを特徴とするデータ伝送装置。
1. DTE and DCE, or DTE and DT
E or DCE and DCE are connected using an RS232C interface, and in a data transmission device for transmitting data, signal levels on a transmission side and a reception side are detected,
A signal level detecting means for outputting a straight connection control signal when both signal levels are different, and outputting a cross connection control signal when both signal levels match, and a control signal from the signal level detecting means. Receiving, R
A data transmission device comprising switching means for switching a cable of an S232C interface to a straight connection or a predetermined cross connection.
JP10169395A 1998-06-17 1998-06-17 Data transmitter Pending JP2000010686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10169395A JP2000010686A (en) 1998-06-17 1998-06-17 Data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10169395A JP2000010686A (en) 1998-06-17 1998-06-17 Data transmitter

Publications (1)

Publication Number Publication Date
JP2000010686A true JP2000010686A (en) 2000-01-14

Family

ID=15885813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10169395A Pending JP2000010686A (en) 1998-06-17 1998-06-17 Data transmitter

Country Status (1)

Country Link
JP (1) JP2000010686A (en)

Similar Documents

Publication Publication Date Title
US7401162B2 (en) Multi-functional port
EP1608119A2 (en) System and method for actively terminating a transmission line
US20020144159A1 (en) HomePNA device with the function of transmitting power over a network wire
US6720801B2 (en) RS-232 bus data tap apparatus
JPH10301898A (en) Electronic equipment and interface circuit
US6744810B1 (en) Signal repeater for voltage intolerant components used in a serial data line
EP0199338B1 (en) Repeater circuit
US5247540A (en) Reversible data link
JP2000010686A (en) Data transmitter
EP0618702B1 (en) Multiplex transmission apparatus
JP3480704B2 (en) Remote power control circuit
JPH06224976A (en) Interface conversion circuit for half duplex serial transmission
US7515603B2 (en) One-way connection device suitable for use in an ethernet network
JPH04305749A (en) Rs232c interface circuit
JP3084858B2 (en) Signal abnormality detection device for in-vehicle network
KR20000074847A (en) Low voltage differential signal communication system
KR100431174B1 (en) Compatible output driving circuit
JP2600495Y2 (en) Input / output signal switching circuit for POS terminal
KR100202993B1 (en) Conjunction apparatus between two connectors
JP3136020B2 (en) Multiplex communication method
JP2002209014A (en) Information transmitter
JPH07182080A (en) Interface device
JP2001255969A (en) Electronic equipment
JPH1188382A (en) Hand-held communicator for field bus
JPH11136260A (en) Radio data communication equipment

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070716

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees