JPH02222236A - Communication equipment - Google Patents

Communication equipment

Info

Publication number
JPH02222236A
JPH02222236A JP4235589A JP4235589A JPH02222236A JP H02222236 A JPH02222236 A JP H02222236A JP 4235589 A JP4235589 A JP 4235589A JP 4235589 A JP4235589 A JP 4235589A JP H02222236 A JPH02222236 A JP H02222236A
Authority
JP
Japan
Prior art keywords
transmission
line
data
repeater
transmitter
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
JP4235589A
Other languages
Japanese (ja)
Inventor
Tokitaka Sekine
関根 晨貴
Sakae Sato
栄 佐藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4235589A priority Critical patent/JPH02222236A/en
Publication of JPH02222236A publication Critical patent/JPH02222236A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the communication without interrupting data transmission by deciding the transmission direction of a unidirectional line repeater according to the transmission priority depending on a transmission priority decision circuit. CONSTITUTION:When a high level signal is inputted to a transmission control signal input terminal 91, a transmission priority is acquired to inactivate a line transmitter 12 of the line repeater 1 and to activate a line transmitter 22 of the line repeater 2. When a data desired to be sent from a communication equipment exists, a high level signal is inputted to a transmission request signal input terminal 83 to activate NAND gates 81, 82 of the transmission priority decision circuit 8 and to activate the line transmitter 3, thereby outputting the transmission data to the transmission line 7. Then a low level signal is outputted from a transmission control signal output terminal 101. Thus, the transmission data when the transmission priority is acquired is received hy an opposite device without fail and the interruption of the data transmission by the line repeater is avoided.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は2線式双方向デーダ線とライン中継器を用いて
シリアルデータの送受信を行なう通信装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a communication device that transmits and receives serial data using a two-wire bidirectional data line and a line repeater.

従来の技術 第2図は従来のライン中継器を用いた通信装置の構成を
示している。第2図において1は伝送路6のデータ信号
を中継して伝送路7に出力するライン中継器でライン受
信器11とライン送信器12からなり、送信イネーブル
端子13を有する。2は伝送路7のデータ信号を中継し
て伝送路6に出力するライン中継器でライン受信器21
とライン送信器22からなり、送信イネーブル端子23
を有する。3は通信装置内で発生した送信データを伝送
路7に出力するライン送信器で送信イネーブル端子31
と送信データ入力端子32を有する。4は伝送路7のデ
ータ信号を受信するライン受信器で受信データ出力端子
41を有する。5はライン送信器12、ライン送信器2
2、ライン送信器3の能動状態を決定するだめの伝送方
向判定部で送信要求入力端子51を有する。6と7は2
線式双方向データ線として使用する伝送路である。
BACKGROUND ART FIG. 2 shows the configuration of a communication device using a conventional line repeater. In FIG. 2, reference numeral 1 denotes a line repeater that relays the data signal on the transmission line 6 and outputs it to the transmission line 7, and is composed of a line receiver 11 and a line transmitter 12, and has a transmission enable terminal 13. 2 is a line repeater that relays the data signal of the transmission line 7 and outputs it to the transmission line 6; a line receiver 21;
and a line transmitter 22, and a transmission enable terminal 23.
has. 3 is a line transmitter that outputs the transmission data generated within the communication device to the transmission line 7; a transmission enable terminal 31;
and a transmission data input terminal 32. A line receiver 4 receives the data signal on the transmission line 7 and has a received data output terminal 41. 5 is line transmitter 12, line transmitter 2
2. A transmission direction determination unit for determining the active state of the line transmitter 3, which has a transmission request input terminal 51. 6 and 7 are 2
This is a transmission line used as a wire-type bidirectional data line.

次に上記従来例の動作について説明する。第2図におい
て、伝送路6にデータ信号が発生すると伝送方向判定部
5がこれを検出して、ライン送信器12を能動状態に、
ライン送信器23とライン送信器3を非能動状態にする
。そして、伝送路6のデータ信号をライン中継器lを中
継して伝送路7に出力する。従って伝送路6のデータ信
号はライン受信器4で受信することができる。
Next, the operation of the above conventional example will be explained. In FIG. 2, when a data signal is generated on the transmission line 6, the transmission direction determining unit 5 detects this and activates the line transmitter 12.
Line transmitter 23 and line transmitter 3 are made inactive. The data signal on the transmission line 6 is then relayed through the line repeater l and output to the transmission line 7. Therefore, the data signal on the transmission line 6 can be received by the line receiver 4.

また、伝送路7にデータ信号が発生すると伝送方向判定
部5がこれを検出して、ライン送信器23を能動状態に
、ライン送信器13とライン送信器3を非能動状態にし
て伝送路7のデータ信号をライン中継器2で中継して伝
送路6に出力する。そしてライン受信器4は伝送路7に
直接接続されているので、伝送路7のデータ信号はライ
ン受信器4で受信することができる。
Further, when a data signal is generated on the transmission path 7, the transmission direction determination unit 5 detects this and sets the line transmitter 23 in an active state and the line transmitter 13 and the line transmitter 3 in an inactive state. The data signal is relayed by the line repeater 2 and output to the transmission line 6. Since the line receiver 4 is directly connected to the transmission line 7, the data signal on the transmission line 7 can be received by the line receiver 4.

そして、通信装置内部で送信データが発生したときは、
伝送方向判定部5が伝送路6にも伝送路7にもデータ信
号が存在しないことを検出した時に限ってライン送信器
13を非能動状態に、ライン送信器3とライン送信器2
3を能動状態にしてライン送信器3により送信データを
伝送路7には直接出力し、伝送路6にはライン中継器2
で中継して出力することができる。
Then, when transmission data occurs inside the communication device,
Only when the transmission direction determination unit 5 detects that there is no data signal on either the transmission path 6 or the transmission path 7, the line transmitter 13 is brought into an inactive state, and the line transmitter 3 and the line transmitter 2 are inactivated.
3 is activated, the line transmitter 3 outputs transmission data directly to the transmission line 7, and the line repeater 2 is connected to the transmission line 6.
It can be relayed and output.

発明が解決しようとする課題 しかしながら、上記従来の通信装置では伝送路6と伝送
路7に同時にデータ信号が発生すると、ライン送信器1
2と22が両方とも非能動状態になりデータ伝送が中断
され、通信手順上で異常を検出しデータ再送を行なう必
要があるため、回復に時間がかかるという問題があった
。また、伝送方向判定部5の回路が複雑になり、多数の
論理ゲートが必要になるという問題があった。
Problems to be Solved by the Invention However, in the conventional communication device described above, when data signals are generated simultaneously on the transmission path 6 and the transmission path 7, the line transmitter 1
2 and 22 become inactive, data transmission is interrupted, and it is necessary to detect an abnormality in the communication procedure and retransmit the data, resulting in a problem that recovery takes time. Further, there is a problem in that the circuit of the transmission direction determining section 5 becomes complicated and a large number of logic gates are required.

本発明はこのような従来の問題を解決するものであり、
データ伝送を中断せずに通信を行なうことができ、また
2個相当の論理ゲートで伝送方向を決定することができ
る回路構成を有する通信装置を提供することを目的とす
るものである。
The present invention solves these conventional problems,
It is an object of the present invention to provide a communication device having a circuit configuration capable of communicating without interrupting data transmission and determining the transmission direction using two logic gates.

課題を解決するための手段 本発明は上記目的を達成するために、送信制御信号の入
力回路と出力回路及び、送信優先権の決定とライン中継
器の伝送方向を決定する送信優先決定回路を備えたもの
である。
Means for Solving the Problems In order to achieve the above object, the present invention includes an input circuit and an output circuit for transmission control signals, and a transmission priority determination circuit that determines transmission priority and the transmission direction of a line repeater. It is something that

作用 本発明は上記のような構成により次のような効果を有す
る。すなわち、入力された送信制御信号を用いて、送信
優先権の決定と中継器の伝送方向の決定をすることによ
って、データ信号の衝突によるデータ伝送の中断を避け
ることができる。
Operation The present invention has the following effects due to the above-described configuration. That is, by determining the transmission priority and the transmission direction of the repeater using the input transmission control signal, interruption of data transmission due to data signal collision can be avoided.

実施例 第1図は本発明の一実施例の構成を示すものである。第
1図において、第2図と同一符号を付したものは第2図
と同一のものを示している。8は送信優先決定回路でN
ANDゲート81と82、送信要求信号入力端子83を
有する。9は送信制御信号入力回路で送信制御信号入力
端子91を有する。10は送信制御信号出力回路で送信
制御信号出力端子101を有する。
Embodiment FIG. 1 shows the configuration of an embodiment of the present invention. In FIG. 1, the same reference numerals as in FIG. 2 indicate the same components as in FIG. 8 is the transmission priority determination circuit N
It has AND gates 81 and 82 and a transmission request signal input terminal 83. 9 is a transmission control signal input circuit having a transmission control signal input terminal 91; 10 is a transmission control signal output circuit having a transmission control signal output terminal 101.

次に上記実施例の動作について説明する。送信制御信号
入力端子91にハイレベルの信号が入力された時、本実
施例の通信装置は送信優先権を獲得してライン中継器1
のライン送信器12を非能動状態にして、ライン中継器
2のライン送信器22を能動状態にする。そして本通信
装置から送信したいデータが存在する時は、送信要求信
号入力端子83にハイレベルの信号を入力して、NAN
Dゲート81と82を能動状態にすることによってライ
ン送信器3を能動状態にして、送信データを伝送路7に
出力する。そして送信制御信号出力端子101からロウ
レベルの信号を出力する。また本通信装置から送信した
いデータが存在しなければ、NANDゲート81と82
がともに非能動状態になるので、送信制御信号出力端子
101かもノ・イレベルの信号が出力される。
Next, the operation of the above embodiment will be explained. When a high-level signal is input to the transmission control signal input terminal 91, the communication device of this embodiment acquires transmission priority and transmits the signal to the line repeater 1.
The line transmitter 12 of the line repeater 2 is made inactive and the line transmitter 22 of the line repeater 2 is made active. When there is data to be transmitted from this communication device, a high level signal is input to the transmission request signal input terminal 83, and the NAN
By activating the D gates 81 and 82, the line transmitter 3 is activated and the transmission data is output to the transmission line 7. Then, a low level signal is output from the transmission control signal output terminal 101. Also, if there is no data to be transmitted from this communication device, the NAND gates 81 and 82
Since both become inactive, the transmission control signal output terminal 101 also outputs a signal at the no-i level.

また、送信制御信号入力端子91にロウレベルの信号が
入力された時、本実施例の通信装置は伝送路6側に接続
された他の通信装置が送信状態にあると判断して、ライ
ン中継器1のライン送信器12を能動状態に、ライン中
継器2のライン送信器22を非能動状態にして伝送路6
のデータ信号を伝送路7に出力する。そして送信優先決
定回路8のNANDゲート81が非能動状態になるので
、本通信装置内で送信したいデータが発生して送信要求
信号入力端子83にハイレベルの信号を入力しても送信
イネーブル端子31はロウレベルにはならず、しだがっ
てライン送信器3は能動状態にはなることはない。また
NANDゲート82は能動状態になっているので、送信
制御信号出力端子101からはロウレベルの信号が出力
される。
Further, when a low level signal is input to the transmission control signal input terminal 91, the communication device of this embodiment determines that another communication device connected to the transmission path 6 side is in a transmitting state, and the line repeater The line transmitter 12 of line repeater 2 is set in an active state and the line transmitter 22 of line repeater 2 is set in an inactive state.
The data signal is outputted to the transmission line 7. Since the NAND gate 81 of the transmission priority determination circuit 8 becomes inactive, even if data to be transmitted is generated in this communication device and a high level signal is input to the transmission request signal input terminal 83, the transmission enable terminal 31 is disabled. does not go to a low level, so the line transmitter 3 never becomes active. Furthermore, since the NAND gate 82 is in the active state, a low level signal is output from the transmission control signal output terminal 101.

このように上記実施例によれば、データ信号送受信用の
2線式平衡形伝送路を2線と送信制御信号の伝送線を1
線の合計3#i!を使用して、上記実施例で示した構成
の通信装置をパーティライン接続することにより、送信
優先権の獲得とライン中継器の伝送方向を決定すること
ができる。
In this way, according to the above embodiment, two two-wire balanced transmission lines are used for transmitting and receiving data signals, and one transmission line is used for transmitting control signals.
Total line 3#i! By using the party line connection of the communication devices configured as shown in the above embodiments, it is possible to obtain transmission priority and determine the transmission direction of the line repeater.

発明の効果 本発明は上記実施例より明らかなように、送信制御信号
の入力回路と出力回路及び、送信優先決定回路を備える
ことによって、送信優先権の獲得とライン中継器の伝送
方向を決定することができる。したがって送信優先権を
獲得しているときの送信データは、必ず相手装置により
受信され、データ伝送がライン中継器により中断される
ことがないという利点を有する。まだ、送信優先決定回
路が2個相当の論理ゲートで構成できるため、簡易で安
価に実現できるという利点を有する。
Effects of the Invention As is clear from the above embodiments, the present invention acquires transmission priority and determines the transmission direction of a line repeater by providing an input circuit and an output circuit for transmission control signals, and a transmission priority determination circuit. be able to. Therefore, data transmitted when transmission priority is acquired is always received by the other device, and there is an advantage that data transmission is not interrupted by the line repeater. Still, since the transmission priority determination circuit can be configured with the equivalent of two logic gates, it has the advantage of being simple and inexpensive to implement.

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

第1図は本発明の実施例における通信装置の概略ブロッ
ク図、第2図は従来の通信装置の概要ブロック図である
。 8・・・送信優先決定回路、81.82・・・NAND
ゲート、83・・・送信要求信号入力端子、9・・・送
信制御信号入力回路、91・・・送信制御信号入力端子
、10・・・送信制御信号出力回路、101・・・送信
制御信号出力端子。 代理人の氏名 弁理士 粟 野 重 孝ほか1名図 第 2 図
FIG. 1 is a schematic block diagram of a communication device according to an embodiment of the present invention, and FIG. 2 is a schematic block diagram of a conventional communication device. 8... Transmission priority determination circuit, 81.82... NAND
Gate, 83... Transmission request signal input terminal, 9... Transmission control signal input circuit, 91... Transmission control signal input terminal, 10... Transmission control signal output circuit, 101... Transmission control signal output terminal. Name of agent: Patent attorney Shigetaka Awano and one other person Figure 2

Claims (1)

【特許請求の範囲】[Claims] 2線式平衡形伝送路に単方向ライン中継器を双方向用に
2回路と、送信制御信号の入力回路と出力回路、及び送
信優先決定回路を設け、前記送信優先決定回路によって
決められた送信優先権にしたがって、前記単方向ライン
中継器の伝送方向を決定する通信装置。
A two-wire balanced transmission line is provided with two circuits of unidirectional line repeaters for bidirectional use, an input circuit and an output circuit for transmission control signals, and a transmission priority determination circuit, and the transmission determined by the transmission priority determination circuit is provided. A communication device that determines a transmission direction of the unidirectional line repeater according to a priority.
JP4235589A 1989-02-22 1989-02-22 Communication equipment Pending JPH02222236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4235589A JPH02222236A (en) 1989-02-22 1989-02-22 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4235589A JPH02222236A (en) 1989-02-22 1989-02-22 Communication equipment

Publications (1)

Publication Number Publication Date
JPH02222236A true JPH02222236A (en) 1990-09-05

Family

ID=12633725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4235589A Pending JPH02222236A (en) 1989-02-22 1989-02-22 Communication equipment

Country Status (1)

Country Link
JP (1) JPH02222236A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5696562A (en) * 1979-12-28 1981-08-04 Fujitsu Ltd Connection circuit for transmission line
JPS61144143A (en) * 1984-12-18 1986-07-01 Nec Corp Two-way bus circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5696562A (en) * 1979-12-28 1981-08-04 Fujitsu Ltd Connection circuit for transmission line
JPS61144143A (en) * 1984-12-18 1986-07-01 Nec Corp Two-way bus circuit

Similar Documents

Publication Publication Date Title
US4099024A (en) Communications network repeater
JPH02222236A (en) Communication equipment
JPS60236340A (en) Communication system
JPS5941620B2 (en) Loopback method of dual loop transmission system
JPH04326828A (en) Control circuit for half double/simplex interface in communication system
KR200245069Y1 (en) Checking Circuit for Serial communication line
JPS57132455A (en) Communication controlling system
JPH02113736A (en) Optical interruption detector for bidirectional optical transmitter
JP2601184B2 (en) Line switching control signal transmission method
JPS5829241A (en) Data communication system
SU1531122A1 (en) Device for fire signalling
JPS6143035A (en) Remote supervisory and controlling equipment
JPH04311125A (en) Transmission line failure detecting circuit
JPH0637738A (en) Data transmission error control system
JPH05314036A (en) Interface equipment for communication
KR930020887A (en) Method and circuit for detecting presence of controller
JPS5880948A (en) Circuit control processor
JPH02186748A (en) Communication loop back test circuit
JPS6061857A (en) Input and output data control system
JPH05183605A (en) Hardware control system for serial interface
JPS61224738A (en) Fault location retrieval system in optical relay transmission system
JPH0479630A (en) Dual transmission systems
JPS5952329A (en) Data terminal device
JPS62227232A (en) Transmission equipment
JPH01241938A (en) Digital signal relay/control system