JPH02104147A - Communication device - Google Patents

Communication device

Info

Publication number
JPH02104147A
JPH02104147A JP63257546A JP25754688A JPH02104147A JP H02104147 A JPH02104147 A JP H02104147A JP 63257546 A JP63257546 A JP 63257546A JP 25754688 A JP25754688 A JP 25754688A JP H02104147 A JPH02104147 A JP H02104147A
Authority
JP
Japan
Prior art keywords
control line
voltage
communication
line
communication device
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
JP63257546A
Other languages
Japanese (ja)
Inventor
Yoshio Horiike
良雄 堀池
Hiroyuki Imai
裕之 今井
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 JP63257546A priority Critical patent/JPH02104147A/en
Publication of JPH02104147A publication Critical patent/JPH02104147A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To aquire a transmission line with a simple constitution as if communication of 1 to 1 is executed by confirming that no DC voltage is impressed to a control line prior to the start of communication in the transmission line consisting of the control line and a signal line and then impressing a DC voltage to the control line. CONSTITUTION:The transmission line is formed by the control line 101 and the signal line 102. In the case of transmitting data from a POS register 104 to a host computer 110, a control line of RS-232C is set up. When the voltage of a terminal 1 exceeds a fixed voltage, a voltage detecting circuit 3 outputs a signal to a logical part 7. When no output is generated from the circuit 3 at the time of setting the control line of RS-232C, a communication equipment 103 controls a power supply circuit 8 by the operation of the logical part 7 and impresses a positive voltage to the terminal 1 to aquire the control line 101. Thus, the control line 101 is aquired by the operation of control line of an RS-232C interface and then the POS register and the host computer can execute communication as if communication of 1 to 1 is executed.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、複数の装置間を有線で接続し相互に通信を行
わせるための通信装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a communication device for connecting a plurality of devices by wire and allowing them to communicate with each other.

従来の技術 近年、ローカルエリアネットワーク(以下LANと呼ぶ
)と称する構内データ通信が盛んになってきている。例
えばイーサネットLAN、スターLAN、トークンリン
グLANとよばれるものが商品化されている。これらの
LANは2つの装置間で通信を行わせる場合いずれの方
式も通信の前に接続のためのデータのやシとシを各装置
間で実行するものであった。
2. Description of the Related Art In recent years, local area network (hereinafter referred to as LAN) data communication has become popular. For example, products called Ethernet LAN, Star LAN, and Token Ring LAN have been commercialized. In any of these LAN systems, when two devices communicate with each other, data transmission for connection is performed between each device before communication.

発明が解決しようとする課題 従来のLANでは2つの端末装置間で通信をおこなわせ
るために複雑な通信手順を必要とし、そのため通信手順
を実行するための規模の大きな通信装置が端末装置と伝
送路の間に必要であった。
Problems to be Solved by the Invention Conventional LANs require complicated communication procedures to communicate between two terminal devices, and therefore, a large-scale communication device to carry out the communication procedures is connected to the terminal device and the transmission path. It was necessary during

またその通信装置は一般に高価であるという問題があっ
た。
Another problem is that the communication devices are generally expensive.

本発明は、上記問題点に鑑み、2つの端末装置間で通信
をおこなわせるために複雑な通信手順を必要とせず、安
価に構成可能な通信装置を提供するものである。
In view of the above problems, the present invention provides a communication device that does not require a complicated communication procedure to communicate between two terminal devices and can be configured at low cost.

課題を解決するための手段 上記問題点を解決するために、本発明の通信装置は、制
御線と信号線を有する伝送路と、m1記制御線の信号の
有無を監視する制御線監視回路と、前記制御線に直流電
圧を印加する電源回路とを備えたものである。
Means for Solving the Problems In order to solve the above problems, the communication device of the present invention includes a transmission line having a control line and a signal line, and a control line monitoring circuit that monitors the presence or absence of a signal on the control line m1. , and a power supply circuit that applies a DC voltage to the control line.

作   用 本発明は上記した構成によって、通信を始める前に制御
線に直流電圧が印加されていないことを確認した後制御
線に直流電圧を印加することにより信号線の使用権を獲
得する。そのだめ通信を行いたい2つの端末装置はあた
かも1対1で接続されているかのようにみなすことがで
き特別な通信手順を必要としない。そのため安価に通信
装置を構成することができることとなる。
Operation According to the above-described configuration, the present invention acquires the right to use the signal line by applying a DC voltage to the control line after confirming that no DC voltage is applied to the control line before starting communication. Instead, two terminal devices that wish to communicate can be regarded as if they were connected one-to-one, and no special communication procedure is required. Therefore, the communication device can be constructed at low cost.

実施例 以下、本発明の一実施例である通信装置について、図面
を参照しながら説明する。第1図は、本発明の第1の実
施例における通信装置のブロック図である。第1図にお
いて、1は制御線との接続点、2は信号線との接続点、
3は制御線電圧検出回路、4は制御線衝突検出回路、6
は制御線正負検出回路、6は制御線監視回路、7は論理
部、8I−i電源回路、9は信号線キャリア検出回路、
10は信号線衝突検出回路、11は信号線送受信回路、
12は論理部、13はインターフェース部、14は論理
部7に設けられたスイッチである。このスイッチ14の
オン、オフによシ、この通信装置のデータの送受信を制
御する。スイッチ14は、接続される端末の種類によシ
、オンまたはオフに設定される。
Embodiment Hereinafter, a communication device which is an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a communication device in a first embodiment of the present invention. In Figure 1, 1 is the connection point with the control line, 2 is the connection point with the signal line,
3 is a control line voltage detection circuit, 4 is a control line collision detection circuit, 6
is a control line positive/negative detection circuit, 6 is a control line monitoring circuit, 7 is a logic section, 8I-i power supply circuit, 9 is a signal line carrier detection circuit,
10 is a signal line collision detection circuit; 11 is a signal line transmission/reception circuit;
12 is a logic section, 13 is an interface section, and 14 is a switch provided in the logic section 7. Turning this switch 14 on or off controls data transmission and reception of this communication device. The switch 14 is set to be on or off depending on the type of terminal to be connected.

以上のように構成された通信装置について、以下、第1
図及び第2図を用いてその動作を説明する。第2図は第
1図に示す本発明の通信装置をもちいた応用例を示して
いる。第2図において、101は制御線、102は信号
線であり、101表102で伝送路を形成している。1
03,105゜107 、109は第1図の通信装置で
ある。104゜106.108..110は端末装置で
あり、104゜106 、108は各フロア−におかれ
ているPoSレジスタ、110は管理室におかれるホス
トコンピュータである。第2図の実施例はレストランや
、百貨店に導入した例である。
Regarding the communication device configured as described above, the first
The operation will be explained using FIG. FIG. 2 shows an example of application using the communication device of the present invention shown in FIG. In FIG. 2, 101 is a control line, 102 is a signal line, and the 101 table 102 forms a transmission path. 1
03,105°107, 109 are the communication devices shown in FIG. 104°106.108. .. 110 is a terminal device, 104, 106 and 108 are PoS registers located on each floor, and 110 is a host computer located in the management room. The embodiment shown in FIG. 2 is an example where the system is installed in a restaurant or a department store.

通信はPoSレジスタとホストコンピュータ間の通信で
あシ、POSレジスタ間の通信は基本的だ存在しない。
Communication is between the PoS register and the host computer, and basically there is no communication between POS registers.

まずPOSレジスタ104がホストコンピュータ110
にデータを送信する場合について説明する。通信装置1
03とPOSレジスタ104とはR3−232Cで接続
されている。
First, the POS register 104 is connected to the host computer 110.
We will explain the case of sending data to . Communication device 1
03 and the POS register 104 are connected by R3-232C.

PoSレジスタ104は送信したいデータがあると、R
6’−232Cの制8線DTRをたてる。電圧検出回路
3は端子1が正の電圧であろうが負の電圧であろうがあ
る定められた電圧をこえた時論理部7に信号を出力する
。っR8−2320の制御線DTRがたつと通信装置1
03は電圧検出回路3から出力がない時、論理部7の働
きによシミ源回路8を制御し正の電圧を端子1に印加し
、制御線101を獲得する。したがって制御線101は
正電圧が印加される。制御線101が獲得されるとR8
−232Cの端子DSRをたててPoSレジスタ104
に制御線が獲得できたことを知らせる。もし制御線DT
Rがたった時に電圧検出回路3から出力があれば他の通
信装置10E5,107゜109のうちのどれかが制御
線を獲得しているものとみなし、電源回路8からの正電
圧を端子1に印加する動作を行わない。又R3−232
0の端子DSRをたてることをしない。POSレジスタ
104は端子DTRをたてたにもかかわらず端子DSR
がたたないことによυ制御線の獲得に失敗したことを知
る。衝突検出回路4は端子1に異常な電流が流れたこと
を検出した時論理部7に信号を/、H力する。もし通信
装置103が制御M101に正電圧を出力したと同時に
通信装置109が制御tA101に負電圧を出力したと
する。すると正電圧と負電圧が制御線101上で衝突し
端子1に過大な電流がながれることとなり衝突検出回路
4はこの過大電流を検出して衝突があったことを論理部
7に知らせる。衝突があると論理部7は電源回路8を制
御して端子1への電圧印加を止める。
When the PoS register 104 has data to be sent,
Set up a control 8-wire DTR of 6'-232C. The voltage detection circuit 3 outputs a signal to the logic section 7 when the terminal 1 exceeds a predetermined voltage, whether it is a positive voltage or a negative voltage. When the control line DTR of R8-2320 is disconnected, communication device 1
03 controls the stain source circuit 8 by the action of the logic section 7 to apply a positive voltage to the terminal 1 and obtain the control line 101 when there is no output from the voltage detection circuit 3. Therefore, a positive voltage is applied to the control line 101. When control line 101 is acquired, R8
-232C terminal DSR is set up and PoS register 104
informs that the control line has been acquired. If control line DT
If there is an output from the voltage detection circuit 3 when R is reached, it is assumed that one of the other communication devices 10E5, 107゜109 has acquired the control line, and the positive voltage from the power supply circuit 8 is applied to the terminal 1. Do not apply any voltage. Also R3-232
Do not set up the 0 terminal DSR. POS register 104 has terminal DSR even though terminal DTR is set up.
We know that we have failed in acquiring the υ control line because the movement does not occur. When the collision detection circuit 4 detects that an abnormal current flows through the terminal 1, it outputs a signal / and H to the logic section 7. Suppose that the communication device 103 outputs a positive voltage to the control M101 and at the same time the communication device 109 outputs a negative voltage to the control tA101. Then, the positive voltage and the negative voltage collide on the control line 101, causing an excessive current to flow to the terminal 1. The collision detection circuit 4 detects this excessive current and notifies the logic section 7 that a collision has occurred. If there is a collision, the logic section 7 controls the power supply circuit 8 to stop applying voltage to the terminal 1.

そしてインターフェース13を介してR5−232Cの
端子DSRを下げる。これによυPoSPOSレジスタ
104線上で衝突があったことを知ることができる。さ
て制御線が獲得できればPOSレジスタ104は送信デ
ータを通信装置103に送る。通信装置103では端子
2に信号があるかどうかを検出するキャリア検出回路9
の出力がない時、論理部12の働きによ5posレジヌ
タ104からの送信データをそのまま端子2に送受信回
路11を介して出力する。衝突検出回路10は万一信号
線102上で信号の衝突が生じた時、その衝突を検出し
て論理部12に知らせる。すると論理部12は即座にデ
ータの送信を中止するように働く。
Then, the terminal DSR of R5-232C is lowered via the interface 13. This allows it to be known that there has been a collision on the υPoSPOS register 104 line. Now, if the control line is acquired, the POS register 104 sends the transmission data to the communication device 103. In the communication device 103, a carrier detection circuit 9 detects whether there is a signal at the terminal 2.
When there is no output, the logic section 12 works to output the transmission data from the 5pos register 104 as it is to the terminal 2 via the transmission/reception circuit 11. If a collision of signals should occur on the signal line 102, the collision detection circuit 10 detects the collision and notifies the logic section 12 of the collision. Logic unit 12 then immediately acts to stop the data transmission.

次に受信の場合について考える。信号線102上を伝送
されたデータは通信装置1ob、107゜109に入力
する。そのうち通信装置106゜107では正負検出回
路5により制?8線101(端子1)i/1CJllE
電圧が印加されていることを検出する。この通信装置1
0S 、 107の論理部7につながるスイッチ14に
オンに予じめ設定されている。そのため論理部7は正負
検出回路6により正電圧が印加されていることを検出す
ると、信号線でのデータの送受信を禁止するよう論理部
12に働きかける。したがって端子2に入力したデーー
タは論理部12で破棄されR3−232C上はなんの変
化も生じない。なおスイッチ14がオンの時には制御線
獲得時、端子1に正′iTf圧を印加するように論理部
7は〒E電源回路を制御する。さらに自分が制御線10
1を獲得していない時には、制御線1o1に負電圧が印
加されている時のみ信号線102上でのデータの送受信
ができるように行IS成されている。
Next, consider the case of reception. The data transmitted on the signal line 102 is input to the communication device 1ob, 107°109. Among them, the communication device 106 and 107 are controlled by the positive/negative detection circuit 5? 8 wire 101 (terminal 1) i/1CJllE
Detects that voltage is applied. This communication device 1
The switch 14 connected to the logic unit 7 of the OS, 107 is set to be on in advance. Therefore, when the logic section 7 detects that a positive voltage is applied by the positive/negative detection circuit 6, it acts on the logic section 12 to prohibit the transmission and reception of data on the signal line. Therefore, the data input to terminal 2 is discarded by logic section 12, and no change occurs on R3-232C. Note that when the switch 14 is on, the logic section 7 controls the E power supply circuit so as to apply a positive iTf voltage to the terminal 1 when the control line is acquired. Furthermore, I am the control line 10
When 1 is not acquired, the line IS is configured such that data can be transmitted and received on the signal line 102 only when a negative voltage is applied to the control line 1o1.

一方、通信装置109でも正負検出回路6により制御線
101(端子1)に正′[電圧が印加されていることを
検出する。この通信装置j09の論理部7につながるス
イッチ14はオフに予じめ設定されている。スイッチ1
4がオフの時には自分が制御線101を獲得していない
時にも信号線102上でのデータの送受信ができるよう
に114成されている。したがってPoSレジスタ10
4からのデータは送受信回路11で受信され、論理部1
2、インターフェース13を介してR3−2320によ
りホストコンピュータ110に伝送される。なおスイッ
チ14がオフのときには1間御線獲得時、端子1に負電
圧を印加するように論理部7は電源回路8を制御する。
On the other hand, the communication device 109 also detects that a positive voltage is applied to the control line 101 (terminal 1) by the positive/negative detection circuit 6. The switch 14 connected to the logic section 7 of this communication device j09 is set to OFF in advance. switch 1
4 is off, data transmission/reception on the signal line 102 is possible even when the control line 101 is not acquired. Therefore PoS register 10
4 is received by the transmitter/receiver circuit 11, and the data from the logic section 1
2. Transmitted to host computer 110 by R3-2320 via interface 13; Note that when the switch 14 is off, the logic section 7 controls the power supply circuit 8 so as to apply a negative voltage to the terminal 1 when the control line is acquired for one period.

以上のように、本実施例によれば、RS −2320イ
ンターフエースの制御線の操作により制御線101を獲
得し、その後はあたかも1対1通信のごと< POSレ
ジスタとホストコンビュータカ通信を行うことができる
。さらにスイッチ14の作用によυ、PoSレジスタ用
の通信装置として働く時には、他のPOSレジスタ等か
らの不要な受信データは通信装置で破棄し、PoSレジ
スタに伝送されないようにしているため、POSレジス
タの通信負荷を軽減することができる。
As described above, according to this embodiment, the control line 101 is acquired by operating the control line of the RS-2320 interface, and thereafter, communication between the POS register and the host computer is performed as if it were one-to-one communication. Can be done. Furthermore, due to the action of the switch 14, when working as a communication device for the PoS register, unnecessary data received from other POS registers etc. is discarded by the communication device so that it is not transmitted to the PoS register. communication load can be reduced.

発明の効果 以上のように本発明は、簡単な構成で伝送路を獲得し、
その後はあた力為も1対1通信とみなせる通信装置を提
供できるため、POSレジスタやホストコンピュータ等
の端末装置の通信手順に特別なものを必要としないとい
う利点がある。しかも本発明の通信装置自体、簡単な構
成であるため安価に作ることができる。
Effects of the Invention As described above, the present invention obtains a transmission path with a simple configuration, and
After that, it is possible to provide a communication device that can be regarded as one-to-one communication even if it is not done, so there is an advantage that no special communication procedures are required for terminal devices such as POS registers and host computers. Moreover, since the communication device of the present invention itself has a simple configuration, it can be manufactured at low cost.

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

第1図は本発明の実施例における通信装置のブロック図
、第2図は本発明の通信装置を用いた実施例を示す図で
ある。 1・・・・・制御線との接続点、2・・・・信号線との
接続点、3・・・・制御線電圧検出回路、4・・・・・
制御線衝突検出回路、6・・・・・・制御線正負検出回
路、6・・制御線監視回路、7・・・・・論理部、8 
・・・・電源回路、9・・・・・・信号線キャリア検出
回路、1o・・・・信号線衝突検出回路、1;・・・・
・・信号線送受信回路、12・・・・・・論理部、13
・・・・・インターフェース部、14・・・・・スイッ
チ、101・・・・・・制御線、1o2・・・・・・信
号線、103 、105 、10了、109・・・・・
・通信装置、104.106 、j os=−=−po
s’vジスタ、110・・・・・・ホストコンピュータ
FIG. 1 is a block diagram of a communication device according to an embodiment of the present invention, and FIG. 2 is a diagram showing an embodiment using the communication device of the present invention. 1... Connection point with the control line, 2... Connection point with the signal line, 3... Control line voltage detection circuit, 4...
Control line collision detection circuit, 6...Control line positive/negative detection circuit, 6...Control line monitoring circuit, 7...Logic section, 8
...Power supply circuit, 9...Signal line carrier detection circuit, 1o...Signal line collision detection circuit, 1;...
...Signal line transmitting and receiving circuit, 12...Logic section, 13
...Interface section, 14...Switch, 101...Control line, 1o2...Signal line, 103, 105, 10 end, 109...
・Communication device, 104.106, j os=-=-po
s'v register, 110...Host computer.

Claims (2)

【特許請求の範囲】[Claims] (1)制御線と信号線を有する伝送路と、前記制御線の
信号の有無を監視する制御線監視回路と、前記制御線に
直流電圧を印加する電源回路とを備えたことを特徴とす
る通信装置。
(1) A transmission line having a control line and a signal line, a control line monitoring circuit that monitors the presence or absence of a signal on the control line, and a power supply circuit that applies a DC voltage to the control line. Communication device.
(2)前記制御線に正電圧を印加するか、負電圧を印加
するかのきりかえ機能を有する電源回路からなる特許請
求の範囲第1項記載の通信装置。
(2) The communication device according to claim 1, comprising a power supply circuit having a switching function of applying a positive voltage or a negative voltage to the control line.
JP63257546A 1988-10-13 1988-10-13 Communication device Pending JPH02104147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63257546A JPH02104147A (en) 1988-10-13 1988-10-13 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63257546A JPH02104147A (en) 1988-10-13 1988-10-13 Communication device

Publications (1)

Publication Number Publication Date
JPH02104147A true JPH02104147A (en) 1990-04-17

Family

ID=17307787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63257546A Pending JPH02104147A (en) 1988-10-13 1988-10-13 Communication device

Country Status (1)

Country Link
JP (1) JPH02104147A (en)

Similar Documents

Publication Publication Date Title
US5185693A (en) Method and apparatus for providing backup process control
US8924621B2 (en) Method and system for detecting and asserting bus speed condition in a USB isolating device
JPH07160600A (en) Data transmission abnormality detection method and data transmission equipment
US4962378A (en) Multi-user serial bus system
JPH1188352A (en) Power source control system and interface
JPH02104147A (en) Communication device
EP0076401B1 (en) Self adjusting, distributed control, access method for a multiplexed single signal data bus
JP2510221B2 (en) Network node address setting method
JPH05260066A (en) LAN terminal device, input / output device device, and OA device control method
US20070147412A1 (en) Automatic configuration system and method
US6125121A (en) LAN interface device
JPH09284287A (en) Network system
JP4409653B2 (en) Serial interface control system and control device used in this system
JP3604868B2 (en) System and error handling method
JP2886674B2 (en) Line monitoring device and line monitoring method using the same
JPS62171349A (en) Communication control equipment
KR0142527B1 (en) Bus interface circuit for interfacing two bus system
JPH05183605A (en) Hardware control system for serial interface
JPH05130108A (en) Bus type local area network monitor equipment
JP2000250624A (en) Monitoring system for intra-device state
CN117439628A (en) Communication terminal equipment
JP2655687B2 (en) Line switching method
JPH0331299B2 (en)
JPH1051980A (en) Monitoring and control system
JP2001007830A (en) Recovery method of network system and repeater device using the same