JPH06164586A - 1:n communication system - Google Patents

1:n communication system

Info

Publication number
JPH06164586A
JPH06164586A JP4334996A JP33499692A JPH06164586A JP H06164586 A JPH06164586 A JP H06164586A JP 4334996 A JP4334996 A JP 4334996A JP 33499692 A JP33499692 A JP 33499692A JP H06164586 A JPH06164586 A JP H06164586A
Authority
JP
Japan
Prior art keywords
terminal
slave
master
interface port
unit
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
JP4334996A
Other languages
Japanese (ja)
Inventor
Kenji Yamamoto
謙二 山本
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.)
Horiba Ltd
Original Assignee
Horiba 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 Horiba Ltd filed Critical Horiba Ltd
Priority to JP4334996A priority Critical patent/JPH06164586A/en
Publication of JPH06164586A publication Critical patent/JPH06164586A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To obtain an inexpensive 1:N communication system which is simple in the configuration of a master machine and a slave machine, and is not restricted from the viewpoint of connection. CONSTITUTION:The master machine P and all the slave machines C1, C2, ...are provided respectively with only one standard interface port 1,2. Besides, a transmission data terminal 6 among signal terminals in these interface ports 1,2 is constituted so as to be capable of floating electrically. Further, a transmission request terminal 8 and a terminal ready terminal 11 are an open collector output, and further, an interval between the adjacent slave machines is connected by a communication cable 5 connecting mutually the same terminals in the above-mentioned interface ports 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、1つの親機に対して複
数の子機を接続し、親機と子機との相互間で通信可能な
ように構成された1:N通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a 1: N communication system in which a plurality of slave units are connected to one master unit so that the master unit and the slave units can communicate with each other. .

【0002】[0002]

【従来の技術】コンピュータとその端末装置を接続して
データ交換を行うためのインターフェイスポート(コネ
クタ)として、EIA(米国電子工業会)が定めるとこ
ろのRS−232ポートがある。このRS−232ポー
トを用いることにより、1つの親機に対して複数の子機
を接続し、親機と子機との相互間で通信可能となる。
2. Description of the Related Art As an interface port (connector) for connecting a computer and its terminal device to exchange data, there is an RS-232 port defined by the EIA (Electronic Industries Association). By using this RS-232 port, it is possible to connect a plurality of slave units to one master unit and to communicate between the master unit and the slave units.

【0003】図8は、1つの親機に対して複数の子機を
接続し、親機と子機との間で相互に通信可能なように構
成した従来の1:N通信システムを示し、この図におい
て、81は親機、82はN台の子機である。そして、親
機81にはN個のRS−232ポート83が設けられ、
子機82には1個のRS−232ポート84が設けられ
ており、親機81側のRS−232ポート83と子機8
2側のRS−232ポート84との間は、RS−232
通信ケーブル85によって1:1で接続されている。
FIG. 8 shows a conventional 1: N communication system in which a plurality of slave units are connected to one master unit so that the master unit and the slave units can communicate with each other. In this figure, reference numeral 81 is a master unit and 82 is N slave units. Then, the base unit 81 is provided with N RS-232 ports 83,
The slave unit 82 is provided with one RS-232 port 84, and the RS-232 port 83 on the master unit 81 side and the slave unit 8 are provided.
Between the RS-232 port 84 on the second side, RS-232
They are connected by a communication cable 85 at a ratio of 1: 1.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の1:N通信システムにおいては、親機81に子機8
2の台数Nに等しいRS−232ポート83を設ける必
要があり、それだけ親機81における構成が複雑になる
といった欠点がある。そして、親機81が子機82群か
ら離れた位置に設置されている場合、N本の長いRS−
232通信ケーブル85を用いなければならず、不経済
であるといった欠点がある。また、モデム(変復調装
置)を用いて公衆回線などにより通信を行うような場
合、親機81および全ての子機82に1台ずつモデムを
設置する必要があり、システム全体で2N台のモデムを
要し、システム構成のためのコストが嵩むといった欠点
がある。
However, in the above-mentioned conventional 1: N communication system, the main unit 81 and the slave unit 8 are connected.
It is necessary to provide RS-232 ports 83 equal to the number N of two, and there is a drawback that the configuration of the base device 81 becomes complicated accordingly. When the parent device 81 is installed at a position away from the child devices 82, N long RS-
The 232 communication cable 85 must be used, which is disadvantageous in that it is uneconomical. In addition, when communication is performed using a public line or the like using a modem (modulation / demodulation device), it is necessary to install one modem for each of the parent device 81 and all the child devices 82, and there are 2N modems for the entire system. In addition, there is a drawback that the cost for system configuration increases.

【0005】このような欠点を解決するものとして、特
開昭62−171250号公報に開示される通信方式が
ある。この通信方式は、図9に示すように、各子機91
にそれぞれ2個のRS−232ポート92,93を設け
ると共に、子機91内部において結線をクロスさせ、一
方のRS−232ポート92から入出力される信号を他
方のRS−232ポート93の別のピンから入出力する
ようにしたものである。なお、94は親機、95は親機
94に設けられるRS−232ポート、96は各子機9
1に設けられるインターフェイス回路、97は通信ケー
ブルである。
As a means for solving such a drawback, there is a communication system disclosed in Japanese Patent Laid-Open No. 62-171250. As shown in FIG. 9, this communication method uses each slave unit 91.
Each of the two RS-232 ports 92 and 93 is provided in each of the RS-232 ports 93, the connection is crossed in the slave unit 91, and a signal input / output from one RS-232 port 92 is transmitted to another RS232 port 93. It is designed to input and output from pins. In addition, 94 is a master unit, 95 is an RS-232 port provided in the master unit 94, and 96 is each slave unit 9
1 is an interface circuit, and 97 is a communication cable.

【0006】しかしながら、上記公報に係る通信方式に
おいては、各子機91に2個のRS−232ポート9
2,93を設ける必要がある。そして、一方のRS−2
32ポート92が上流側用(親機側用)、他方のRS−
232ポート93が下流側用(子機側用)と限定されて
しまい、親機94を必ず上流側の最上流端に設置しなけ
ればならないといった制約がある。また、上流側のポー
ト92、下流側のポート93と通信ケーブル97との接
続を誤った場合、システム全体が動作しないといった不
都合がある。
However, in the communication system according to the above publication, each RS 91 has two RS-232 ports 9
2, 93 must be provided. And one RS-2
32 port 92 is for upstream side (for master side), RS- on the other side
The 232 port 93 is limited to the downstream side (slave unit side), and there is a constraint that the master unit 94 must be installed at the upstream most upstream end. Further, if the connection between the upstream port 92, the downstream port 93 and the communication cable 97 is incorrect, there is a disadvantage that the entire system does not operate.

【0007】本発明は、上述の事柄に留意してなされた
もので、その目的とするところは、親機および子機にお
ける構成が簡単で接続上の制約を受けない安価な1:N
通信システムを提供することにある。
The present invention has been made with the above matters in mind, and an object of the present invention is to provide an inexpensive 1: N configuration which is simple in the master unit and the slave unit and is not restricted in connection.
To provide a communication system.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、本発明に係る1:N通信システムは、親機および子
機の全てにそれぞれ唯一つの標準のインターフェイスポ
ートを設けると共に、このインターフェイスポートにお
ける信号端子のうち、送信データ端子を電気的にフロー
トとすることができるように構成すると共に、送信要求
端子および端末レディ端子をオープンコレクタ出力と
し、さらに、隣接する子機間を、前記インターフェイス
ポートにおける同一端子どうしを結線した通信ケーブル
によって接続されている。
In order to achieve the above object, a 1: N communication system according to the present invention has a single standard interface port for each of a master unit and a slave unit, and the interface port Of the signal terminals, the transmission data terminal is configured to be able to be electrically floated, the transmission request terminal and the terminal ready terminal are open collector outputs, and the adjacent slave units are connected to each other at the interface port. They are connected by a communication cable in which the same terminals are connected.

【0009】[0009]

【作用】上記構成の1:N通信システムにおいては、親
機および子機の全てにそれぞれ唯1つの標準のインター
フェイスポートを設けるだけでよく、子機における構成
が簡単になると共に安価となる。また、親機は通信シス
テム中におけるどの位置に設置してもよい。
In the 1: N communication system configured as described above, it is sufficient to provide only one standard interface port for each of the master unit and the slave unit, which simplifies the configuration of the slave unit and reduces the cost. Further, the master device may be installed at any position in the communication system.

【0010】[0010]

【実施例】以下、本発明の実施例を、図面を参照しなが
ら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0011】図1は、本発明に係る1:N通信システム
を概略的に示す図で、この図において、PはDTE型の
親機、C1 ,C2 は子機である。なお、図1において
は、子機は、便宜上、C1 ,C2 の2台しか示してない
が、同一構成の子機がN台あるものとし、以下の説明に
おいては、最上流の子機をC1 、最下流の子機をC
N (図外)とする。
FIG. 1 is a diagram schematically showing a 1: N communication system according to the present invention. In this figure, P is a DTE type master unit and C 1 and C 2 are slave units. In FIG. 1, for convenience, only two slave units C 1 and C 2 are shown, but it is assumed that there are N slave units having the same configuration, and in the following description, the most upstream slave unit will be described. C 1 and the downstream handset C
Set to N (not shown).

【0012】1は親機Pに設けられる標準のインターフ
ェイスポート、2は子機C1 ,C2,…CN に設けられ
る標準のインターフェイスポートで、これらのインター
フェイスポート1,2は、例えばRS−232ポートで
ある。なお、これらのインターフェイスポート1,2の
詳細については後述する。3は子機C1 ,C2 ,…CN
に設けられるインターフェイス回路で、例えばRS−2
32インターフェイス回路である。4は親機Pのインタ
ーフェイスポート1と最上流の子機C1 のインターフェ
イスポート2とを接続する通信ケーブルである。5は最
上流の子機C1以下、最下流の子機をCN まで、隣接す
る子機のインターフェイスポート2どうしを接続する通
信ケーブルである。
Reference numeral 1 is a standard interface port provided in the master device P, 2 is a standard interface port provided in the slave devices C 1 , C 2 , ... C N , and these interface ports 1 and 2 are, for example, RS- It is 232 ports. The details of these interface ports 1 and 2 will be described later. 3 is a child device C 1 , C 2 , ... C N
Interface circuit provided in the RS-2
32 interface circuit. Reference numeral 4 is a communication cable for connecting the interface port 1 of the parent device P and the interface port 2 of the most upstream child device C 1 . Reference numeral 5 is a communication cable that connects the interface ports 2 of the adjacent child devices, from the most upstream child device C 1 to the most downstream child device C N.

【0013】図2は、前記親機Pおよび子機C1 (子機
1 ,C2 ,…CN の代表)にそれぞれ設けられるイン
ターフェイスポート1,2の構成および子機C1 におけ
るインターフェイスポート2からインターフェイス回路
3までの構成の一例を示す図である。
FIG. 2 shows the configuration of interface ports 1 and 2 provided in the master unit P and the slave unit C 1 (representative of the slave units C 1 , C 2 , ... C N ) and the interface ports in the slave unit C 1 . It is a figure which shows an example of a structure from 2 to the interface circuit 3.

【0014】親機Pのインターフェイスポート1および
子機C1 のインターフェイスポート2は、それぞれ例え
ば25ピン(端子)からなる。そして、親機Pのインタ
ーフェイスポート1は、上からSD(送信データ)端子
6、RD(受信データ)端子7、RS(送信要求)端子
8、CD(キャリー検出)端子9、CS(送信可)端子
10、ER(端末レディ)端子11、DR(データ・セ
ット・レディ)端子12、ST2(送信クロック)端子
13、RT(受信クロック)端子14、ST1(送信ク
ロック)端子15を備えている。また、子機C1 のイン
ターフェイスポート2は、親機Pのインターフェイスポ
ート1の構成に加えて、(RT)(受信クロック)端子
16を備えている。
The interface port 1 of the parent device P and the interface port 2 of the child device C 1 are each composed of, for example, 25 pins (terminals). The interface port 1 of the master device P is, from the top, an SD (transmission data) terminal 6, an RD (reception data) terminal 7, an RS (transmission request) terminal 8, a CD (carry detection) terminal 9, and a CS (transmission possible). A terminal 10, an ER (terminal ready) terminal 11, a DR (data set ready) terminal 12, an ST2 (transmission clock) terminal 13, an RT (reception clock) terminal 14, and an ST1 (transmission clock) terminal 15 are provided. The interface port 2 of the child device C 1 is provided with an (RT) (reception clock) terminal 16 in addition to the configuration of the interface port 1 of the parent device P.

【0015】そして、親機Pのインターフェイスポート
1においては、RS端子8とDR端子12とが渡り線1
7で接続されているが、このインターフェイスポート1
の端子と子機C1 のインターフェイスポート2の端子と
はクロス接続されている。
In the interface port 1 of the base unit P, the RS terminal 8 and the DR terminal 12 are connected to each other through the crossover line 1.
It is connected by 7 but this interface port 1
And the terminal of the interface port 2 of the cordless handset C 1 are cross-connected.

【0016】すなわち、親機P側のSD端子6と子機C
1 側のRD端子7とがケーブル4のライン18で接続さ
れ、子機C1 側のSD端子6と親機P側のRD端子7と
がライン19で接続されている。そして、親機P側のR
S端子8と子機C1 側のCD端子9とがライン20で接
続され、子機C1 側のRS端子8と親機P側のCD端子
9とがライン21で接続されている。また、親機P側の
CS端子10と子機C1 側のER端子11とがライン2
2で接続され、子機C1 側のCS端子10と親機P側の
ER端子11とがライン23で接続されている。さら
に、親機P側のST2端子13と子機C1 側の(RT)
端子16とがライン24で接続され、子機C1 側のST
1端子15と親機P側のRT端子14とがライン25で
接続されている。さらにまた、前記ライン21がライン
26によって子機C1 側のDR端子12に接続されてい
る。
That is, the SD terminal 6 on the side of the parent device P and the child device C
The RD terminal 7 on the 1st side is connected by a line 18 of the cable 4, and the SD terminal 6 on the slave C 1 side and the RD terminal 7 on the master P side are connected by a line 19. And R on the master side P
The S terminal 8 and the CD terminal 9 on the slave C 1 side are connected by a line 20, and the RS terminal 8 on the slave C 1 side and the CD terminal 9 on the master P side are connected by a line 21. Further, the CS terminal 10 on the master P side and the ER terminal 11 on the slave C 1 side are connected to the line 2
2, the CS terminal 10 on the slave C 1 side and the ER terminal 11 on the master P side are connected by a line 23. Furthermore, the ST2 terminal 13 on the master P side and the (RT) on the slave C 1 side
Terminal 16 is connected by line 24, and ST on the side of handset C 1
The 1 terminal 15 and the RT terminal 14 on the master device P side are connected by a line 25. Furthermore, the line 21 is connected to the DR terminal 12 on the slave C 1 side by a line 26.

【0017】そして、図2には示してないが、最上流の
子機C1 と次の子機C2 とにおけるインターフェイスポ
ート2の端子間の接続は、同一端子(ピン)どうし対応
させて、通信ケーブル5によって接続されている。例え
ば子機C1 のSD端子6と子機C2 のSD端子6を接続
するのである。他の端子についても同様である。この例
においては、通信ケーブル5は11本の信号線で構成さ
れている。
Although not shown in FIG. 2, the connection between the terminals of the interface port 2 in the most upstream handset C 1 and the next handset C 2 is made to correspond to the same terminals (pins). It is connected by a communication cable 5. For example, the SD terminal 6 of the handset C 1 and the SD terminal 6 of the handset C 2 are connected. The same applies to the other terminals. In this example, the communication cable 5 is composed of 11 signal lines.

【0018】次に、子機C1 内の構成について説明す
る。27はインターフェイスポート2のSD端子6とイ
ンターフェイス回路3との間のSDライン28に介装さ
れる送信器で、例えば図3に示すように、OE(アウト
プット・イネーブル)端子29を備えており、このOE
端子29をインアクティブにすると、送信器出力がハイ
・インピーダンスとなるように構成されている。
Next, the internal structure of the child device C 1 will be described. Reference numeral 27 denotes a transmitter provided on the SD line 28 between the SD terminal 6 of the interface port 2 and the interface circuit 3, and has an OE (output enable) terminal 29 as shown in FIG. , This OE
When the terminal 29 is made inactive, the transmitter output has a high impedance.

【0019】30はインターフェイスポート2のRS端
子8とインターフェイス回路3との間のRSライン31
に介装される送信器で、例えば図4に示すように、オー
プンコレクタ出力で、入力がハイのとき出力はオン(+
12V)となり、入力がローのとき出力はオフ(ハイ・
インピーダンス)となるように構成されている。そし
て、RS端子8は、抵抗32を介して−12Vに接続さ
れている。
Reference numeral 30 denotes an RS line 31 between the RS terminal 8 of the interface port 2 and the interface circuit 3.
Is an open collector output and the output is on (+) when the input is high, as shown in FIG.
12V), the output is off when the input is low (high
Impedance). The RS terminal 8 is connected to -12V via the resistor 32.

【0020】33はインターフェイスポート2のER端
子11とインターフェイス回路3との間のERライン3
4に介装される送信器で、例えば図5に示すように、オ
ープンコレクタ出力で、入力がハイのとき出力はオン
(ハイ・インピーダンス)となり、入力がローのとき出
力はオフ(−12V)となるように構成されている。そ
して、ER端子11は、抵抗35を介して+12Vに接
続されている。
Reference numeral 33 denotes an ER line 3 between the ER terminal 11 of the interface port 2 and the interface circuit 3.
4, the transmitter is an open collector output as shown in FIG. 5, the output is on (high impedance) when the input is high, and the output is off (-12 V) when the input is low. Is configured to be. The ER terminal 11 is connected to + 12V via the resistor 35.

【0021】36はインターフェイスポート2のRD端
子7、CD端子9、CS端子10およびDR端子12と
インターフェイス回路3との間のRDライン37、CD
ライン38、CSライン39およびDRライン40にそ
れぞれ介装される受信器で、例えば電圧変換器よりな
り、RS−232信号レベルの電圧をロジックレベルの
電圧に変換する。
Reference numeral 36 denotes an RD line 37, a CD between the RD terminal 7, the CD terminal 9, the CS terminal 10 and the DR terminal 12 of the interface port 2 and the interface circuit 3.
A receiver provided on each of the line 38, the CS line 39, and the DR line 40, which is composed of, for example, a voltage converter, and converts the RS-232 signal level voltage into a logic level voltage.

【0022】そして、ST2端子13に連なるライン4
1とST1端子15に連なるライン42は、切換えスイ
ッチ43を介して前記受信器36と同様構成の受信器4
4に接続され、さらに、この受信器44はインターフェ
イス回路3に接続されている。また、(RT)端子16
に連なるライン45とST1端子15に連なるライン4
6は、切換えスイッチ47を介して前記受信器36と同
様構成の受信器48に接続され、さらに、この受信器4
8はインターフェイス回路3に接続されている。49は
発振回路で、その出力は連動してオンオフするスイッチ
50,51を介してそれぞれ(RT)端子16およびS
T1端子15に与えられるようにしてある。
The line 4 connected to the ST2 terminal 13
1 and a line 42 connected to the ST1 terminal 15 are connected to a receiver 4 having the same structure as the receiver 36 via a changeover switch 43.
4 and further the receiver 44 is connected to the interface circuit 3. Also, the (RT) terminal 16
Line 45 connecting to ST1 terminal 15 and line 4 connecting to ST1 terminal 15
6 is connected via a changeover switch 47 to a receiver 48 having the same structure as the receiver 36.
8 is connected to the interface circuit 3. Reference numeral 49 is an oscillator circuit, and its output is interlocked with switches (50) and (51) through (RT) terminal 16 and S respectively.
It is provided to the T1 terminal 15.

【0023】そして、詳細な説明は省略するが、前記
1:N通信システムにおいては、親機Pは自ら送信を開
始することができるが、子機C1 ,C2 ,…CN は自ら
送信を始めることがないように構成されている。つま
り、子機C1 ,C2 ,…CN は、親機Pの許可があって
始めて通信できる。また、子機C1 ,C2 ,…CN には
それぞれ固有のIDコードが設定されている。そして、
親機Pから子機C1 ,C2,…CN に対して送信される
データには、前記IDコードが必ず付されている。
[0023] Then, a detailed description is omitted, the 1: In-N communication system, although the master unit P can start its own transmission, handset C 1, C 2, ... C N are themselves transmitted Is configured to never start. That is, the slaves C 1 , C 2 , ... C N can communicate only with the permission of the master P. Further, a unique ID code is set to each of the slave units C 1 , C 2 , ... C N. And
The ID code is always attached to the data transmitted from the master P to the slaves C 1 , C 2 , ... C N.

【0024】上述のように構成された1:N通信システ
ムの動作について、図1を参照しながら説明する。
The operation of the 1: N communication system configured as described above will be described with reference to FIG.

【0025】まず、親機Pが送信を開始する場合は次の
ようになる。親機Pは、インターフェイスポート2にお
けるRS端子8をオンにする。このRS信号は、通信ケ
ーブル4,5を経て子機C1 ,C2 ,…CN のCD端子
9に入力される。これにより、子機C1 ,C2 ,…CN
は、ER端子11をオンにする。子機C1 ,C2 ,…C
N に設けられた送信器33がオープンコレクタ出力で、
しかも、ER端子11が抵抗35を介して+12Vに接
続されているため、全ての子機C1 ,C2 ,…CN がE
R端子11をオンにすると、親機Pに対するER信号が
オンになる。
First, when the parent device P starts transmission, the process is as follows. The parent device P turns on the RS terminal 8 in the interface port 2. This RS signal is input to the CD terminals 9 of the slave units C 1 , C 2 , ... C N via the communication cables 4 and 5. As a result, the slave units C 1 , C 2 , ... C N
Turns on the ER terminal 11. Child devices C 1 , C 2 , ... C
The transmitter 33 provided at N has an open collector output,
Moreover, since the ER terminal 11 is connected through a resistor 35 to + 12V, all handsets C 1, C 2, ... C N is E
When the R terminal 11 is turned on, the ER signal for the master device P is turned on.

【0026】前記ER信号は、通信ケーブル4,5を経
て親機PのCS端子10に入る。これにより、親機P
は、SD端子6からデータを出力する。親機Pが送信し
たデータは、通信ケーブル4,5を経て子機C1
2 ,…CN に伝わる。親機Pが送信したデータは全て
の子機C1 ,C2 ,…CN が受信し、自分宛のデータか
否かを図外のコード照合回路で検査する。そして、子機
1 ,C2 ,…CN は、前記データが自分宛のデータで
ある場合のみそれを取込み、場合によっては親機Pに対
して応答する。
The ER signal enters the CS terminal 10 of the parent device P via the communication cables 4 and 5. As a result, the parent device P
Outputs data from the SD terminal 6. The data transmitted by the parent device P is transmitted via the communication cables 4 and 5 to the child device C 1 ,
It is transmitted to C 2 , ... C N. The data transmitted by the parent device P is received by all the child devices C 1 , C 2 , ..., C N, and a code collating circuit (not shown) inspects whether or not the data is addressed to itself. The slave units C 1 , C 2 , ..., C N take in the data only when the data is addressed to itself, and respond to the base unit P in some cases.

【0027】前記応答は、N台の子機C1 ,C2 ,…C
N のうち親機Pからの情報により応答することが許可さ
れた唯一つの子機〔以下、これをCX (図外)という〕
のみが行う。この子機CX がRS端子8をオンにする。
子機C1 ,C2 ,…CN に設けられた送信器30がオー
プンコレクタ出力で、しかも、RS端子8が抵抗32を
介して−12Vに接続されているため、子機CX がRS
端子8をオンにすると、親機Pに対するRS信号がオン
になる。このRS信号は、通信ケーブル4,5を経て親
機PのCD端子9に入ると共に、子機C1 ,C2 ,…C
N のDR端子12に入り、通信ケーブル5を経て全ての
子機C1 ,C2 ,…CN に伝わる。
The response is N slaves C 1 , C 2 , ... C.
The only child device of N that is allowed to respond with information from the parent device P (hereinafter referred to as C X (not shown))
Only do. This child device C X turns on the RS terminal 8.
Since the transmitter 30 provided in each of the slaves C 1 , C 2 , ..., C N has an open collector output, and the RS terminal 8 is connected to −12V via the resistor 32, the slave C X is RS.
When the terminal 8 is turned on, the RS signal for the master device P is turned on. The RS signal enters the CD terminal 9 of the parent device P via the communication cables 4 and 5, and at the same time, the child devices C 1 , C 2 , ... C.
It enters the N DR terminal 12 and is transmitted to all the slave units C 1 , C 2 , ... C N via the communication cable 5.

【0028】前記RS信号を受けた親機Pは、ER端子
11をオンにする。この出力は、通信ケーブル4,5を
経て子機C1 ,C2 ,…CN のCS端子10に入る。こ
れにより、子機CX は、送信器27のOE端子29(図
3参照)をイネーブルとし、SD端子6からデータを送
信する。子機CX が送信したデータは、通信ケーブル
4,5を経て親機PのRD端子7に入り、親機Pが受信
する。
Upon receiving the RS signal, the base unit P turns on the ER terminal 11. This output enters the CS terminals 10 of the slave units C 1 , C 2 , ... C N via the communication cables 4 and 5. As a result, the child device C X enables the OE terminal 29 (see FIG. 3) of the transmitter 27 and transmits data from the SD terminal 6. The data transmitted by the child device C X enters the RD terminal 7 of the parent device P via the communication cables 4 and 5 and is received by the parent device P.

【0029】ところで、親機Pと子機C1 ,C2 ,…C
N とが直接接続されている場合で同期通信を行う場合に
は、最下流の子機CN から同期クロックを出力させる。
そのために、最下流の子機CN のみスイッチ50,51
をオンにする。同期クロックは、通信ケーブル5を介し
て子機C1 ,C2 ,…CN のRT端子14、ST1端子
15に入るため、各子機C1 ,C2 ,…CN は、同期ク
ロックを得るためスイッチ43,47をそれぞれ図2に
示すように切換える。この場合、スイッチ43,47,
50,51の切換えは、手動で行ってもよいし、各子機
1 ,C2 ,…CN が各信号線の電圧レベルから、自機
が最末尾か否か、受信クロック、送信クロックはどのラ
インにあるかなどを判断して、子機C1 ,C2 ,…CN
自身が切換えるようにしてもよい。
By the way, the master P and the slaves C 1 , C 2 , ... C
When performing synchronous communication when N and N are directly connected to each other, the synchronous clock is output from the most downstream child device C N.
For that purpose, only the downstreammost slave unit C N has the switches 50, 51.
Turn on. Synchronous clock, the slave unit C 1, C 2 via the communication cable 5, to enter the ... RT terminal 14, ST1 terminal 15 of C N, each child device C 1, C 2, the ... C N, a synchronous clock In order to obtain it, the switches 43 and 47 are switched as shown in FIG. In this case, the switches 43, 47,
The switching of 50 and 51 may be performed manually, or whether each slave unit C 1 , C 2 , ... C N is at the end of the reception clock or transmission clock based on the voltage level of each signal line. to determine and whether is in which line, handset C 1, C 2, ... C N
You may make it switch itself.

【0030】本発明は、上述の実施例に限られるもので
はなく、種々に変形して実施することができる。例えば
親機Pと子機C1 ,C2 ,…CN との間の任意の位置に
モデムを設けてもよい。この場合は、子機とモデムとの
接続も同一端子(ピン)接続とすればよい。また、親機
Pと子機C1 との間にモデムを設ける場合は、親機Pと
モデムとの接続を同一端子(ピン)接続とすればよい。
そして、モデムを用いた場合においても、子機C1 ,C
2 ,…CN の動作は親機Pの場合と同じである。ただ
し、同期通信を行う場合で、送信クロック、受信クロッ
クを、モデムのRT、ST2より出力する場合には、モ
デムより下流の全ての子機において、前記スイッチ5
0,51をオフにし、スイッチ43,47をそれぞれ図
2に示すのと反対側の接点に切換えるようにする。
The present invention is not limited to the above-mentioned embodiments, but can be modified in various ways. For example, a modem may be provided at any position between the master P and the slaves C 1 , C 2 , ... C N. In this case, the slave unit and the modem may be connected to the same terminal (pin). When a modem is provided between the master P and the slave C 1 , the master P and the modem may be connected to the same terminal (pin).
Even when a modem is used, the slave units C 1 , C
The operation of 2 , ..., C N is the same as that of the parent device P. However, when the transmission clock and the reception clock are output from the RT and ST2 of the modem in the case of performing synchronous communication, the switch 5 is used in all the slave units downstream of the modem.
0 and 51 are turned off, and the switches 43 and 47 are switched to the contacts on the opposite side to that shown in FIG.

【0031】また、上述の実施例においては、親機Pが
DTE型の場合、親機PのRS端子8と子機C1 のCD
端子9、親機PのCS端子10と子機C1 のER端子1
1とをそれぞれ結線するクロスケーブルを用いている
が、親機PのRS端子8と子機C1 のCS端子10、親
機PのER端子11と子機C1 のDR端子12とをそれ
ぞれ結線するクロスケーブルを用いるようにしてもよ
い。
Further, in the above embodiment, when the master device P is the DTE type, the RS terminal 8 of the master device P and the CD of the slave device C 1 are used.
Terminal 9, the ER terminal 1 station CS terminal 10 and the slave device C 1 of P
Although a cross cable for connecting 1 and 1 is used, the RS terminal 8 of the parent device P and the CS terminal 10 of the child device C 1 , the ER terminal 11 of the parent device P and the DR terminal 12 of the child device C 1 are respectively You may make it use the cross cable connected.

【0032】そして、非同期通信の場合、(RT)端子
16、ST2端子13、RT端子14、ST1端子15
に対する結線並びに回路は不要になる。
In the case of asynchronous communication, (RT) terminal 16, ST2 terminal 13, RT terminal 14, ST1 terminal 15
No wiring or circuit is required.

【0033】さらに、図3〜図5に示した送信器27,
30,33の回路構成においては、フォトカプラ52を
用いてアイソレーションしているが、その必要がない場
合には、フォトカプラ52に代えてトランジスタを用い
てもよい。
Further, the transmitter 27 shown in FIGS.
In the circuit configurations of 30 and 33, the photocoupler 52 is used for isolation, but if it is not necessary, a transistor may be used instead of the photocoupler 52.

【0034】さらにまた、親機Pと子機C1 ,C2 ,…
N との接続に際しては、図6に示すような三方に接続
口53a,53b,53cを備えたコネクタ53を用
い、図7に示すように構成してもよい。
Furthermore, the parent machine P and the child machines C 1 , C 2 , ...
At the time of connection with C N , a connector 53 having connection ports 53a, 53b, 53c on three sides as shown in FIG. 6 may be used and configured as shown in FIG.

【0035】さらにそして、上記実施例においては、イ
ンターフェイスポート1,2としてRS−232に準拠
したものを用いていたが、本発明は、例えばV.35の
ように他の規格に準拠したものを用いてもよいことは勿
論である。
Further, in the above embodiment, the interface ports 1 and 2 conforming to RS-232 were used. As a matter of course, the one compliant with other standards such as 35 may be used.

【0036】[0036]

【発明の効果】以上説明したように構成された本発明に
おいては、次のような効果がある。 親機に設けるインターフェイスポートは1個でよ
い。 子機に設けるインターフェイスポートも1個でよ
い。 親機と子機群とが離れていても、隣接する子機どう
しを短い通信ケーブルで接続できる。 親機をシステム中のどの位置に設置してもよい。 親機と子機群とが離れていても、その中間にモデム
を設け、公衆回線などを用いることによって通信でき
る。その場合、モデムは1対(2個)あればよい。 従って、親機および子機の構成が簡単で接続上の制
約を受けない安価な1:N通信システムを得ることがで
きる。
The present invention constructed as described above has the following effects. Only one interface port needs to be provided on the base unit. Only one interface port may be provided on the child device. Even if the parent device and the child device group are separated, the adjacent child devices can be connected to each other with a short communication cable. The parent device may be installed at any position in the system. Even if the master unit and the slave units are separated, communication can be performed by providing a modem in the middle and using a public line or the like. In that case, one pair (two) of modems is sufficient. Therefore, it is possible to obtain an inexpensive 1: N communication system in which the configuration of the master unit and the slave unit is simple and there is no restriction in connection.

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

【図1】本発明に係る1:N通信システムを概略的に示
す図である。
FIG. 1 is a diagram schematically showing a 1: N communication system according to the present invention.

【図2】親機および子機における構成の一例を概略的に
示す図である。
FIG. 2 is a diagram schematically showing an example of a configuration of a master unit and a slave unit.

【図3】前記子機において用いられる送信器の回路構成
を示す図である。
FIG. 3 is a diagram showing a circuit configuration of a transmitter used in the slave unit.

【図4】前記子機において用いられる他の送信器の回路
構成を示す図である。
FIG. 4 is a diagram showing a circuit configuration of another transmitter used in the slave unit.

【図5】前記子機において用いられるさらに他の送信器
の回路構成を示す図である。
FIG. 5 is a diagram showing a circuit configuration of still another transmitter used in the slave unit.

【図6】親機と子機および子機同士の接続に用いられる
コネクタの一例を示す図である。
FIG. 6 is a diagram showing an example of a connector used for connecting a master unit, a slave unit, and slave units.

【図7】前記コネクタを用いたシステムの構成例を示す
図である。
FIG. 7 is a diagram showing a configuration example of a system using the connector.

【図8】従来例を説明するための図である。FIG. 8 is a diagram for explaining a conventional example.

【図9】他の従来例を説明するための図である。FIG. 9 is a diagram for explaining another conventional example.

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

P…親機、C1 ,C2 …子機、1,2…インターフェイ
スポート、5…通信ケーブル、6…送信データ端子、8
…送信要求端子、11…端末レディ端子。
P ... Parent machine, C 1 , C 2 ... Child machine, 1, 2 ... Interface port, 5 ... Communication cable, 6 ... Transmission data terminal, 8
... Send request terminal, 11 ... Terminal ready terminal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1つの親機に対して複数の子機を接続
し、親機と子機との相互間で通信可能なように構成され
た1:N通信システムにおいて、前記親機および子機の
全てにそれぞれ唯一つの標準のインターフェイスポート
を設けると共に、このインターフェイスポートにおける
信号端子のうち、送信データ端子を電気的にフロートと
することができるように構成すると共に、送信要求端子
および端末レディ端子をオープンコレクタ出力とし、さ
らに、隣接する子機間を、前記インターフェイスポート
における同一端子どうしを結線した通信ケーブルによっ
て接続したことを特徴とする1:N通信システム。
1. A 1: N communication system configured to connect a plurality of slave units to one master unit so that the master unit and the slave units can communicate with each other. All of the machines are equipped with only one standard interface port, and among the signal terminals of this interface port, the transmission data terminal can be electrically floated, and the transmission request terminal and terminal ready terminal are also provided. Is an open collector output, and the adjacent slave units are connected to each other by a communication cable in which the same terminals in the interface port are connected to each other.
JP4334996A 1992-11-21 1992-11-21 1:n communication system Pending JPH06164586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4334996A JPH06164586A (en) 1992-11-21 1992-11-21 1:n communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4334996A JPH06164586A (en) 1992-11-21 1992-11-21 1:n communication system

Publications (1)

Publication Number Publication Date
JPH06164586A true JPH06164586A (en) 1994-06-10

Family

ID=18283570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4334996A Pending JPH06164586A (en) 1992-11-21 1992-11-21 1:n communication system

Country Status (1)

Country Link
JP (1) JPH06164586A (en)

Similar Documents

Publication Publication Date Title
CA1226916A (en) Method of initializing and recovering from failures in a local area network
JPH06164586A (en) 1:n communication system
JPH06164605A (en) 1:n communication system
JPH06164587A (en) 1:n communication system
US6744779B1 (en) Data processing system
JPS6360937B2 (en)
JPH06164585A (en) 1:n communication system
JP3534937B2 (en) Data communication method and control data communication device
KR20010017264A (en) Data communication method
JP2525460Y2 (en) Computer equipment
JP2940922B2 (en) Optical transmission equipment
JPS607577Y2 (en) data transmission equipment
JP2550273Y2 (en) Communication device
JPS61270996A (en) Detector for connection state of speaker phone in telephone system
JPH07131504A (en) Data transfer device
JP2655687B2 (en) Line switching method
JP3093052B2 (en) Cable misconnection compensation circuit
SU1425633A1 (en) Input/output interface
JPS63981B2 (en)
JPS6065372A (en) Decentralized processing type microcomputer
KR100202993B1 (en) Conjunction apparatus between two connectors
KR920011066B1 (en) Interface circuit of dial signal
JPS63215237A (en) Polling communication circuit
SU1059672A1 (en) Switching device
JPS6367945A (en) Communication control equipment

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050118

A521 Written amendment

Effective date: 20050322

Free format text: JAPANESE INTERMEDIATE CODE: A523

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Effective date: 20050607

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050707

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050725

A521 Written amendment

Effective date: 20050725

Free format text: JAPANESE INTERMEDIATE CODE: A821

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees