JPH0453337A - Communication equipment - Google Patents

Communication equipment

Info

Publication number
JPH0453337A
JPH0453337A JP2163610A JP16361090A JPH0453337A JP H0453337 A JPH0453337 A JP H0453337A JP 2163610 A JP2163610 A JP 2163610A JP 16361090 A JP16361090 A JP 16361090A JP H0453337 A JPH0453337 A JP H0453337A
Authority
JP
Japan
Prior art keywords
connector
communication
receiver
input
dte
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
JP2163610A
Other languages
Japanese (ja)
Inventor
Koji Harada
耕二 原田
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 JP2163610A priority Critical patent/JPH0453337A/en
Publication of JPH0453337A publication Critical patent/JPH0453337A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need for the discrimination and the operation of the operator by discriminating the type of an opposite communication equipment with an input signal inputted from the communication opposite party via a connector so as to select the type of its own equipment automatically. CONSTITUTION:The equipment consists of a receiver 1, driver/receiver 2, 3, relays 5, 6, a relay control circuit 4, an RS 232C connector 7 and a serial control unit 8. Then the function of input and output terminals of the connector 7 is selected and set based on the result of detection of the input signal inputted via the connector 7. Thus, the communication is implemented in a different communication form from the opposite communication equipment.

Description

【発明の詳細な説明】 「産業上の利用分野] 本発明は例えはR3−232Cインターフエース等の規
格て通信を行う通信装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication device that performs communication based on a standard such as an R3-232C interface.

[従来の技術] R3−232Cインターフエースの用いた通信を行う場
合には、予め相手側のR3−232Cの形式かデータ端
末装置(以下、DTEという)か、データ回線終端装置
(以下、DCE)かを確認し、相手側の形式に応してコ
ネクタの接続をしなければならない。
[Prior Art] When performing communication using the R3-232C interface, it is necessary to determine in advance whether the other party's R3-232C format, data terminal equipment (hereinafter referred to as DTE), or data line termination equipment (hereinafter referred to as DCE). The connector must be connected according to the type of the other party.

第3図(1)はDTE同士の接続(以下、T−T結線と
いう)の−例を示し、第3図(2)はDTEとDCEと
の接続(以下M−■結線という)の−例を示す。このよ
うに従来ては、相手側の型式に応して結線態様を変えな
げればならず不便てあった。
Figure 3 (1) shows an example of connection between DTEs (hereinafter referred to as T-T connection), and Figure 3 (2) shows an example of connection between DTE and DCE (hereinafter referred to as M-■ connection). shows. As described above, in the past, the wiring configuration had to be changed depending on the model of the other party, which was inconvenient.

また相手側の型式に応してテイップスイッヂ等を切り変
えることにより、DCEあるいはDTEのいずれとして
も機能することかできる通信装置か実用化されている。
Also, communication devices have been put into practical use that can function as either DCE or DTE by switching a tip switch or the like depending on the model of the other party.

[発明か解決しようとする課題] 上記従来技術てはDCEとDTEとの接続にはストレー
トケーブルを用いなければならないしく第3図(2))
、DTE同士の通信を行う場合には、クロスケーブルを
用いなりれはならない。(第3図(1))。また一方の
通信装置かDCEあるいはDTEのいずれとしても機能
することがてきたとしても、上記デイツプスイッチ等に
よる設定については人間が行われなければならなかった
。しかも上記ケーブルの選択又はデイツプスイッチの設
定を誤った場合には各端子の入出力関係が逆となってし
まうため、回路素子を破壊してしまう恐れかあった。
[Problem to be solved by the invention] In the above conventional technology, a straight cable must be used to connect the DCE and DTE (Figure 3 (2)).
, when communicating between DTEs, cross cables must be used. (Figure 3 (1)). Furthermore, even if one of the communication devices could function as either a DCE or a DTE, settings using the dip switch and the like had to be made by a human. Moreover, if the cable selection or the dip switch setting is incorrect, the input/output relationship of each terminal will be reversed, and there is a risk that the circuit elements may be destroyed.

本発明の目的は、上記技術的課題を解決し、相手側通信
装置の種類を検出して異なる型式て通信を行うことがて
きる通信装置を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above technical problems and provide a communication device that can detect the type of communication device of the other party and perform communication using different types.

[課題を解決するための手段及び作用]上記目的を達成
するために、本発明に従う通信装置は複数の入力端子を
有するコネクタと、前記コネクタを介して入力される入
力信号を検出する検出手段と、前記検出手段の検出出力
に基づいて、前記コネクタの入出力端子の機能を切換え
て設定する切換手段とを有する。
[Means and effects for solving the problems] In order to achieve the above object, a communication device according to the present invention includes a connector having a plurality of input terminals, and a detection means for detecting an input signal inputted through the connector. and a switching means for switching and setting the function of the input/output terminal of the connector based on the detection output of the detection means.

本発明によれば、通信相手からコネクタを介して入力さ
れる入力信号により相手の通信装置のタイプ(たとえば
DTEかDCE)を判断し自分の装置のタイプを自動的
に切換えることかできる。
According to the present invention, it is possible to determine the type of communication device of the communication partner (for example, DTE or DCE) based on an input signal input from the communication partner via a connector, and to automatically switch the type of the communication device of one's own device.

[実施例] 第1図は本発明の特徴を最も良く表わす図面てあり、同
図において、lはレシーバてあり、2.3はトライバ及
びレシーバの機能を有するトライバ/レシーバ、4はリ
レー制御回路でコネクタの6番ピン及び20番ピンから
の信号線がレシーバlを通して接続されている。5゜6
はリレーてリレー制御回路4により開閉制御される。7
はR3232C規格のコネクタ、8はシリアル・コント
ロール・ユニットである。
[Embodiment] Fig. 1 is a drawing that best represents the features of the present invention. In the figure, l is a receiver, 2.3 is a triver/receiver having the functions of a triver and a receiver, and 4 is a relay control circuit. The signal lines from pin 6 and pin 20 of the connector are connected through receiver l. 5゜6
The relay is controlled to open and close by the relay control circuit 4. 7
is an R3232C standard connector, and 8 is a serial control unit.

第2図は本発明の動作フローであり、以下本実施例の動
作を説明する。まず初期状態ではリレー5,6は双方と
もに開状態である(ステップSl)。そしてリレー制御
回路4にコネクタの6番ピンが20番ピンのどちらかか
ら信号が入ると動作か始まる(ステップS2)。
FIG. 2 shows the operation flow of the present invention, and the operation of this embodiment will be explained below. First, in the initial state, both relays 5 and 6 are in an open state (step Sl). When a signal is input to the relay control circuit 4 from either the 6th pin or the 20th pin of the connector, operation begins (step S2).

R3232Cでは、DCEからDTEに送受信可能かど
うかを伝えるデータ・セット・レディ信号(DSR)と
いうものがあり、これはコネクタの6番ピンを使用して
いる。逆にDTEからDCEに送受信可能かどうかを伝
えるデータ端末レディ信号(DTR)は20番ピンを使
用している。よって、通信する場合、本装置の6番ピン
か20番ピンのどちらかに信号か入ってくるのてそのピ
ン番号により相手の装置のタイプ(DTEかDCE)か
判断てきる。
In the R3232C, there is a data set ready signal (DSR) that tells whether data can be transmitted or received from the DCE to the DTE, and this uses pin 6 of the connector. Conversely, pin 20 is used for the data terminal ready signal (DTR), which tells the DTE to the DCE whether transmission or reception is possible. Therefore, when communicating, a signal enters either the 6th pin or the 20th pin of this device, and the type of the other party's device (DTE or DCE) can be determined based on the pin number.

リレー制御回路4にコネクタの6番ピンから入力信号が
きた場合(ステップS3)、相手側通信装置はDCHな
のて、リレー制御回路4はリレー5を閉状態にする(ス
テップS4)。したかって通信はシリアルコントロール
ユニット8、トライバ/レシーバ2.リレー5←コネク
タ7の間ておこなわれる(ステップS5)。これによっ
て本通信装置はDTEとして機能する。この接続はM−
T結線になっている。リレー制御回路4はコネクタの6
番ピンからの入力信号かなくなった場合には(ステップ
S6)、ステップSlに戻ってリレー5を開状態にする
When an input signal is received from the 6th pin of the connector to the relay control circuit 4 (step S3), since the communication device of the other party is DCH, the relay control circuit 4 closes the relay 5 (step S4). Therefore, communication is carried out by serial control unit 8, driver/receiver 2. This is performed between relay 5 and connector 7 (step S5). This allows the communication device to function as a DTE. This connection is M-
It has a T connection. Relay control circuit 4 is connected to connector 6
If the input signal from the No. pin is no longer present (step S6), the process returns to step Sl and the relay 5 is opened.

ステップS3において、リレー制御回路4にコネクタの
20番ピンからの入力信号がきた場合は、相手はDTE
なので、リレー制御回路4はリレー6を閉状態にする(
ステップS7)。
In step S3, if the relay control circuit 4 receives an input signal from pin 20 of the connector, the other party is DTE.
Therefore, the relay control circuit 4 closes the relay 6 (
Step S7).

したかって通信はシリアル・コントロール・ユニッl、
 8 :トライバ/レシーバ3ニリレー6ニコネクタフ
の間でおこなわれる(ステップS8)。これによって本
通信装置はDCEとして機能する。この接続はM−T結
線になっている。リレー制御回路4はコネクタの20ピ
ンからの入力信号がなくなった場合には(ステップS9
)、ステップS1に戻ってリレー6を開状態にする。
So communication is via serial control unit,
8: Performed between the driver/receiver 3 relays 6 connectors (step S8). This allows the communication device to function as a DCE. This connection is an M-T connection. When the input signal from the 20th pin of the connector disappears (step S9), the relay control circuit 4
), the process returns to step S1 and the relay 6 is opened.

このように本実施例ては、相手側通信装置かDTEなら
ばDCEとして機能し、DCEならばDTEとして機能
するように自動的に切り換わるので人間による判断と操
作を必要としない なお上述の説明ては2つの通信装置かストレー1〜ケー
フルて接続されている場合について説明したか、DTE
に対してクロスケ−ツルて接続されている場合(第3図
(1))であっても、6番ビンに信号か入力されるので
、DTEとして機能する(T−T結線)。
In this way, in this embodiment, if the other party's communication device is a DTE, it functions as a DCE, and if it is a DCE, it automatically switches to function as a DTE, so human judgment and operation are not required. Did you explain the case where two communication devices or Stray 1 to Cable are connected?
Even if it is connected in a cross-scale manner (FIG. 3 (1)), the signal is input to the 6th bin, so it functions as a DTE (T-T connection).

[発明の効果] 以」説明明したように、本発明によれは、何ら操作を行
うことなく、相手側通信装置等に応して異なる通信型式
で通信を行うことかてきる。
[Effects of the Invention] As explained below, according to the present invention, communication can be performed in different communication formats depending on the communication device of the other party, etc., without performing any operation.

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

第1図は本発明の一実施例のフロック図、第2図は第1
図示の実施例の動作を説明するためのフローチャート、 第3図はR3−232Cインターフエースにおける接続
態様の一例を示ず図である。 lはレシーバ 2.3はl−ライム/レシーバ 5.6はリレー 4はリレー制御回路 7はR3232C用コネクタ
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
Flowchart for explaining the operation of the illustrated embodiment. FIG. 3 is a diagram that does not show an example of the connection mode at the R3-232C interface. l is receiver 2.3 is l-lime/receiver 5.6 is relay 4 is relay control circuit 7 is connector for R3232C

Claims (1)

【特許請求の範囲】[Claims] (1)複数の入出力端子を有するコネクタと、前記コネ
クタを介して入力される入力信 号を検出する検出手段と、 前記検出手段の検出結果に基づいて、前 記コネクタの入出力端子の機能を切換えて 設定する切換手段とを有することを特徴と する通信装置。
(1) A connector having a plurality of input/output terminals, a detection means for detecting an input signal inputted through the connector, and switching the functions of the input/output terminals of the connector based on the detection result of the detection means. A communication device characterized in that it has a switching means for setting.
JP2163610A 1990-06-20 1990-06-20 Communication equipment Pending JPH0453337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2163610A JPH0453337A (en) 1990-06-20 1990-06-20 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2163610A JPH0453337A (en) 1990-06-20 1990-06-20 Communication equipment

Publications (1)

Publication Number Publication Date
JPH0453337A true JPH0453337A (en) 1992-02-20

Family

ID=15777201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2163610A Pending JPH0453337A (en) 1990-06-20 1990-06-20 Communication equipment

Country Status (1)

Country Link
JP (1) JPH0453337A (en)

Similar Documents

Publication Publication Date Title
CA1197590A (en) Method and apparatus for graceful preemption on a digital communications link
JPH0651881A (en) Communication unit
JPH0453337A (en) Communication equipment
JPH02122730A (en) Signal line terminating system
JPS6175651A (en) Modulator-demodulator
JPH11289331A (en) Lan interface device
JPH04126427A (en) Data terminal communication controller
JPS6225540A (en) Communication equipment
JP3252489B2 (en) Process control equipment
JPH0991067A (en) Interface
JPS57132455A (en) Communication controlling system
JPH08321840A (en) Automatic terminal changeover device
KR980013089A (en) Communication interface device and control method thereof
JPH02128568A (en) Communication equipment
JPS63294039A (en) Calling system for data terminal
JPS621396A (en) Key telephone equipment
JPH046146B2 (en)
JPH0787160A (en) Communication processing system
JPS6225542A (en) Communication equipment
JPS58131844A (en) Data transmitter
JPH01264425A (en) Modem for data communication
JPH04180430A (en) Broken wire discrimination device in twisted-pair system lan
JPH01300756A (en) Data circuit terminating equipment
JPH04240948A (en) Network controller
JPH11266209A (en) Optical transmitter