JPH06164585A - 1:n communication system - Google Patents
1:n communication systemInfo
- Publication number
- JPH06164585A JPH06164585A JP4334995A JP33499592A JPH06164585A JP H06164585 A JPH06164585 A JP H06164585A JP 4334995 A JP4334995 A JP 4334995A JP 33499592 A JP33499592 A JP 33499592A JP H06164585 A JPH06164585 A JP H06164585A
- Authority
- JP
- Japan
- Prior art keywords
- slave
- information
- unit
- communication system
- port
- 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
Links
- 238000011144 upstream manufacturing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
Description
【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】図2は、1つの親機に対して複数の子機を
接続し、親機と子機との間で相互に通信可能なように構
成した従来の1:N通信システムを示し、この図におい
て、21は親機、22はN台の子機である。そして、親
機21にはN個のRS−232ポート23が設けられ、
子機22には1個のRS−232ポート24が設けられ
ており、親機21側のRS−232ポート23と子機2
2側のRS−232ポート24との間は、RS−232
通信ケーブル25によって1:1で接続されている。FIG. 2 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, 21 is a master unit and 22 is N slave units. Then, the master device 21 is provided with N RS-232 ports 23,
The slave unit 22 is provided with one RS-232 port 24, and the RS-232 port 23 on the master unit 21 side and the slave unit 2
Between the RS-232 port 24 on the second side, RS-232
It is connected by a communication cable 25 at a ratio of 1: 1.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、上記従
来の1:N通信システムにおいては、親機21に子機2
2の台数Nに等しいRS−232ポート23を設ける必
要があり、それだけ親機21における構成が複雑になる
といった欠点がある。そして、親機21が子機22群か
ら離れた位置に設置されている場合、N本の長いRS−
232通信ケーブル25を用いなければならず、不経済
であるといった欠点がある。また、モデム(変復調装
置)を用いて公衆回線などにより通信を行うような場
合、親機21および全ての子機22に1台ずつモデムを
設置する必要があり、システム全体で2N台のモデムを
要し、システム構成のためのコストが嵩むといった欠点
がある。However, in the above-mentioned conventional 1: N communication system, the main unit 21 and the slave unit 2 are connected to each other.
It is necessary to provide RS-232 ports 23 equal to the number N of two, and there is a drawback that the configuration of the base device 21 becomes complicated accordingly. When the parent device 21 is installed at a position away from the group of child devices 22, N long RS-
The 232 communication cable 25 must be used, which is disadvantageous in that it is uneconomical. In addition, when communication is performed using a public line using a modem (modulator / demodulator), it is necessary to install one modem for each of the master device 21 and all the slave devices 22, and 2N modems are required for the entire system. In addition, there is a drawback that the cost for system configuration increases.
【0005】このような欠点を解決するものとして、特
開昭62−171250号公報に開示される通信方式が
ある。この通信方式は、図3に示すように、各子機31
にそれぞれ2個のRS−232ポート32,33を設け
ると共に、子機31内部において結線をクロスさせ、一
方のRS−232ポート32から入出力される信号を他
方のRS−232ポート33の別のピンから入出力する
ようにしたものである。なお、34は親機、35は親機
34に設けられるRS−232ポート、36は各子機3
1に設けられるインターフェイス回路、37は通信ケー
ブルである。As a means for solving such a drawback, there is a communication system disclosed in Japanese Patent Laid-Open No. 62-171250. This communication method, as shown in FIG.
2 RS-232 ports 32 and 33 are provided respectively, and the wiring is crossed inside the cordless handset 31 so that a signal input / output from one RS-232 port 32 is transmitted to another RS-232 port 33. It is designed to input and output from pins. In addition, 34 is a main | base station, 35 is RS-232 port provided in the main | base station 34, 36 is each cordless handset 3
1 is an interface circuit, and 37 is a communication cable.
【0006】しかしながら、上記公報に係る通信方式に
おいては、一方のRS−232ポート32が上流側用
(親機側用)、他方のRS−232ポート33が下流側
用(子機側用)と限定されてしまい、親機34を必ず上
流側の最上流端に設置しなければならないといった制約
がある。また、上流側ポート32、下流側ポート33と
通信ケーブル37との接続を誤った場合、システム全体
が動作しないといった不都合がある。However, in the communication system according to the above publication, one RS-232 port 32 is for upstream side (for master side) and the other RS-232 port 33 is for downstream side (for slave side). However, there is a limitation that the master unit 34 must be installed at the most upstream end on the upstream side. Further, if the upstream port 32, the downstream port 33 and the communication cable 37 are erroneously connected, 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通信システムは、子機のそれぞ
れに、コンピュータとこのコンピュータによって制御さ
れる2個の標準のインターフェイスポートを設け、親機
から子機に対して発せられるIDコードを付した情報
が、子機の一方のインターフェイスポートから入力し、
その情報が他の子機に対するものであるときは、前記情
報を他方のインターフェイスポートから出力するように
構成されている。To achieve the above object, in a 1: N communication system according to the present invention, each slave unit is provided with a computer and two standard interface ports controlled by the computer. , The information with the ID code issued from the base unit to the handset is input from one interface port of the handset,
When the information is for another slave, the information is output from the other interface port.
【0009】[0009]
【作用】上記構成の1:N通信システムにおいては、子
機から親機に対して情報を送りたい場合、2個のインタ
ーフェイスポートから同一の情報を送信することによ
り、子機に設けられる2個のインターフェイスポートの
いずれを親機側に接続してもよい。そして、子機どうし
が通信でき、各子機は他の子機が通信中であるか否かに
関係なく、また、親機から通信してよいという許可を受
けることなく、通信を開始することができる。In the 1: N communication system having the above-described structure, when the slave unit wants to send information to the master unit, two interface ports are provided with two units by sending the same information. Any of the interface ports may be connected to the base unit side. Then, the cordless handsets can communicate with each other, and each cordless handset can start communication regardless of whether other cordless handsets are communicating or without permission from the cordless handset to communicate. You can
【0010】[0010]
【実施例】以下、本発明の実施例を、図面を参照しなが
ら説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0011】図1は、本発明に係る1:N通信システム
を概略的に示す図で、この図において、Pは親機、
C1 ,C2 ,…CN は子機である。なお、図1において
は、子機C1 の内部のみ示し、他の子機C2 ,…CN に
ついてはその内部構成を示してないが、全ての子機
C1 ,C2 ,…CN におけるの構成は同一である。FIG. 1 is a diagram schematically showing a 1: N communication system according to the present invention, in which P is a master unit,
C 1 , C 2 , ..., C N are slaves. Incidentally, in FIG. 1 shows only the inside of the handset C 1, the other handset C 2, for ... C N does not show its internal structure, all handsets C 1, C 2, ... C N The configuration of is the same.
【0012】1は親機Pに設けられる標準のインターフ
ェイスポート、2,3は子機C1 ,C2 ,…CN にそれ
ぞれ設けられる標準のインターフェイスポートで、これ
らのインターフェイスポート1〜3は、例えばRS−2
32ポートである。4,5は子機C1 ,C2 ,…CN に
それぞれ設けられるインターフェイス回路で、例えばR
S−232インターフェイス回路であり、子機C1 ,C
2 ,…CN 内にそれぞれ設けられるコンピュータ6とイ
ンターフェイスポート2,3間に介装されている。Reference numeral 1 is a standard interface port provided on the master device P, 2 and 3 are standard interface ports provided on the slave devices C 1 , C 2 , ..., C N , respectively. These interface ports 1 to 3 are: For example RS-2
32 ports. 4,5 handset C 1, C 2, ... respectively provided interface circuit to C N, for example R
It is an S-232 interface circuit, and the slave units C 1 and C
2 , ... C N are provided between the computer 6 and the interface ports 2 and 3, respectively.
【0013】7は親機Pのインターフェイスポート1と
最上流の子機C1 の一方のインターフェイスポート2と
を結ぶ通信ケーブル、8は最上流の子機C1 の他方のイ
ンターフェイスポート3と次の子機C2 の一方のインタ
ーフェイスポート2とを結ぶ通信ケーブルで、以下同様
に、最下流の子機CN まで隣接する子機どうしが通信ケ
ーブル8によって接続されている。[0013] 7 The interface port 1 of the master unit P most upstream slave unit C 1 of one of the interface ports 2 and communication cable connecting, 8 of the slave unit C 1 of the most upstream the other interface port 3 and the following A communication cable connecting one of the interface ports 2 of the child device C 2 and, similarly, the adjacent child devices up to the most downstream child device C N are similarly connected by the communication cable 8.
【0014】前記親機Pおよび子機C1 ,C2 ,…CN
の全てには、それぞれ固有のIDコードが設定されてお
り、親機Pに設けられたコンピュータ(図外)および各
子機C1 ,C2 ,…CN に設けられたコンピュータ6
は、自機のIDコードを認識している。そして、親機P
から子機C1 ,C2 ,…CN に対して発せられる情報に
はIDコードが必ず付されている。The parent device P and the child devices C 1 , C 2 , ... C N
All of the the respective is set with a unique ID code, base unit computer provided in P (not shown) and child devices C 1, C 2, ... computer provided in C N 6
Recognizes its own ID code. And the parent machine P
An ID code is always attached to the information issued from the slave units C 1 , C 2 , ... C N.
【0015】そして、各子機C1 ,C2 ,…CN におい
ては、一方のインターフェイスポート2から入力される
情報は、必ずコンピュータ6に入力される。そして、こ
のコンピュータ6においては、前記情報に付されている
IDコードと自機のそれとが一致しているか否かが確認
され、一致しているときは前記情報を取り込み(受
信)、また、一致してないときは前記情報を他方のイン
ターフェイスポート3から出力するよう構成されてい
る。In each of the slave units C 1 , C 2 , ..., C N , the information input from one interface port 2 is always input to the computer 6. Then, in the computer 6, it is confirmed whether or not the ID code attached to the information and that of the own machine match, and if they match, the information is taken in (received), or If not, the information is output from the other interface port 3.
【0016】また、各子機C1 ,C2 ,…CN は、親機
Pに対する情報(親機PのIDコードが付されている)
を発信する場合、2つのインターフェイスポート2,3
のいずれからでも発信できるように構成されている。Further, each child device C 1 , C 2 , ... C N has information on the parent device P (with the ID code of the parent device P attached).
2 interface ports 2 and 3
It is configured to be able to call from any of.
【0017】上述のように構成された1:N通信システ
ムにおいては、親機Pから発信された情報は、その情報
に付されたIDコードと一致するIDコードを有する子
機C 1 ,C2 ,…CN のみによって受信される。また、
子機C1 ,C2 ,…CN から親機Pに対して2つのイン
ターフェイスポート2,3から同じ情報を発信できるの
で、2つのインターフェイスポート2,3のいずれに親
機Pが接続されていても、親機Pは子機C1 ,C2 ,…
CN からの情報を受信することができる。The 1: N communication system configured as described above
In this case, the information transmitted from the parent device P is
Child having an ID code that matches the ID code attached to
Machine C 1, C2, ... CNOnly received by. Also,
Handset C1, C2, ... CNFrom the main unit P to
The same information can be sent from the interface ports 2 and 3
Then, whichever of the two interface ports 2 and 3 is the parent
Even though the machine P is connected, the master P is the slave C1, C2、…
CNCan receive information from.
【0018】上記子機C1 ,C2 ,…CN に設けられる
コンピュータ6は、上述のような動作を専ら行うための
ものであってもよいし、子機C1 ,C2 ,…CN の別の
動作を行うためのものであってもよい。そして、子機C
1 ,C2 ,…CN に設けられる2つのインターフェイス
ポート2,3は、それらのいずれを親機側、末端側にし
てもよいが、いずれかを親機側および末端側に予め決め
ておき、子機C1 ,C2 ,…CN から親機Pに情報を送
る場合、親機P側のインターフェイスポート2のみから
送信するようにしてもよい。The computer 6 provided in each of the slaves C 1 , C 2 , ... C N may be a computer for exclusively performing the above-mentioned operation, or the slaves C 1 , C 2 ,. It may be for performing another operation of N. And cordless handset C
Of the two interface ports 2 and 3 provided at 1 , C 2 , ..., C N , either of them may be set as the master side or the terminal side, but either one is determined in advance as the master side and the terminal side. , handset C 1, C 2, ... C N when sending information to the base unit P from may be transmitted from only the master unit P side interface port 2.
【0019】そして、上記1:N通信システムにおいて
は、子機間通信が可能である。また、一つの子機におい
て一方のインターフェイスポート2に入力された情報を
他方のインターフェイスポート3から出力する場合、前
記情報に対して変更、修正、追加することができる。こ
れにより、仮に同一IDコードの子機が複数台接続され
ていても、所定の子機に情報を送ることができる。In the above-mentioned 1: N communication system, inter-slave unit communication is possible. Further, when the information input to one interface port 2 in one slave is output from the other interface port 3, the information can be changed, modified, or added. As a result, even if a plurality of slaves having the same ID code are connected, information can be sent to a predetermined slave.
【0019】すなわち、”5”というIDコードの子機
が4台あり、その3台目に対してのみ親機Pから情報A
を送る場合、親機Pは、1台目の子機(ID=5)に対
して、”5””3””A”なるデータを送信する。この
データを受けた1台目の子機は、前記データを”5””
2””A”と変更した後、これを2台目の子機(ID=
5)に対して送信する。そして、前記データを受けた2
台目の子機は、”5””1””A”と変更して、これを
3台目の子機(ID=5)に送信する。この場合、3台
目の子機は、2桁目の文字が”1”であることにより、
これが自分あての情報であると判断し、その情報を取り
込む。なお、この例においては、ID=5以外の子機は
いくつ接続されていてもよく、それらの子機は受信した
情報をそのまま送信するだけである。That is, there are four slaves with an ID code of "5", and information A from the master P for only the third slave.
When sending a message, the parent device P sends data “5”, “3”, and “A” to the first child device (ID = 5). The first handset that received this data sets the data to "5""
After changing to 2 "" A ", change this to the second cordless handset (ID =
5) is sent. And the data received 2
The first slave unit changes to "5", "1", and "A" and transmits this to the third slave unit (ID = 5). In this case, since the second digit is "1" for the third cordless handset,
Judge that this is the information for himself and take in that information. In this example, any number of slave units other than ID = 5 may be connected, and those slave units only transmit the received information as it is.
【0020】また、送信する情報中に、送信した機器
P,C1 ,C2 ,…CN のIDコードを付加しておき、
受信した機器P,C1 ,C2 ,…CN は、受信した旨の
返事を発信元に返信するようにしておけば、より確実な
情報通信を行うことができる。なお、この場合、返信が
ない場合には、再送する。また、受信データが不十分な
場合、またはチェックサムなどが不一致の場合などに再
送要求するようにしてもよい。Further, the ID code of the transmitted devices P, C 1 , C 2 , ..., C N is added to the information to be transmitted,
If the received devices P, C 1 , C 2 , ... C N send back a reply indicating that they have been received to the sender, more reliable information communication can be performed. In this case, if there is no reply, it is retransmitted. In addition, if the received data is insufficient, or if the checksums do not match, a resend request may be made.
【0021】さらに、IDコードとして「全機が応答す
るコード」を用いることもできる。Further, as the ID code, a "code which all machines respond" can be used.
【0022】[0022]
【発明の効果】以上説明したように構成された本発明に
おいては、次のような効果がある。 親機に設けるインターフェイスポートは1個でよ
い。 親機と子機群とが離れていても、子機どうしを短い
通信ケーブルで接続できる。 親機と子機群とが離れていても、その中間にモデム
を設け、公衆回線などを用いることによって通信でき
る。その場合、モデムは1対(2個)あればよい。 特に子機間の調整を行うための装置や回路を用いな
くても、情報を衝突させることなく授受できる。 親機も子機もそれぞれ他機の通信状態をチェックす
ることなく任意に情報を送信できる。 通信ケーブルは、通常のRS−232ケーブルでよ
い。 子機に設けられる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. Even if the parent machine and the child machines are separated, the child machines can be connected with a short communication cable. 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. In particular, it is possible to send and receive information without causing a collision without using a device or a circuit for adjusting between the slaves. Both the parent device and the child device can arbitrarily send information without checking the communication status of the other device. The communication cable may be a normal RS-232 cable. Either of the two interface ports provided in the slave unit may be the master unit side or the terminal side. 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.
【図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 for explaining a conventional example.
【図3】他の従来例を説明するための図である。FIG. 3 is a diagram for explaining another conventional example.
P…親機、C1 ,C2 ,…CN …子機、2,3…インタ
ーフェイスポート、6…コンピュータ。P ... Master, C 1 , C 2 , ... C N ... Slave, 2, 3 ... Interface port, 6 ... Computer.
Claims (1)
し、親機と子機との相互間で通信可能なように構成され
た1:N通信システムにおいて、前記子機のそれぞれ
に、コンピュータとこのコンピュータによって制御され
る2個の標準のインターフェイスポートを設け、親機か
ら子機に対して発せられるIDコードを付した情報が、
子機の一方のインターフェイスポートから入力し、その
情報が他の子機に対するものであるときは、前記情報を
他方のインターフェイスポートから出力するように構成
したことを特徴とする1:N通信システム。1. In a 1: N communication system configured to connect a plurality of slave units to one master unit and to enable communication between the master unit and the slave units, each of the slave units. In addition, a computer and two standard interface ports controlled by this computer are provided, and the information attached with the ID code issued from the master unit to the slave unit is
A 1: N communication system, characterized in that when input from one interface port of a slave unit and when the information is for another slave unit, the information is output from the other interface port.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4334995A JPH06164585A (en) | 1992-11-21 | 1992-11-21 | 1:n communication system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4334995A JPH06164585A (en) | 1992-11-21 | 1992-11-21 | 1:n communication system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06164585A true JPH06164585A (en) | 1994-06-10 |
Family
ID=18283558
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4334995A Pending JPH06164585A (en) | 1992-11-21 | 1992-11-21 | 1:n communication system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06164585A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100330719B1 (en) * | 2000-04-06 | 2002-04-03 | 이강욱 | Input/output extension module device of devicenet |
-
1992
- 1992-11-21 JP JP4334995A patent/JPH06164585A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100330719B1 (en) * | 2000-04-06 | 2002-04-03 | 이강욱 | Input/output extension module device of devicenet |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2757832B2 (en) | Terminal device | |
| EP0258716A2 (en) | Method of handshaking between two modems | |
| JPH0638600B2 (en) | Local area network system | |
| GB2157923A (en) | Multi-user serial data bus | |
| WO1992002993A1 (en) | Multiplexed synchronous/asynchronous data bus | |
| WO1987003764A1 (en) | Telephone line interface option module | |
| JPH06164587A (en) | 1:n communication system | |
| KR0161152B1 (en) | Communication apparatus with the facility of repeating the global bus in rs-485 | |
| JPS6360937B2 (en) | ||
| JPS61270996A (en) | Detector for connection state of speaker phone in telephone system | |
| JPH0228938B2 (en) | ||
| JPH11146452A (en) | Slave unit registration system and its registration method | |
| JPH06164586A (en) | 1:n communication system | |
| JPS58198941A (en) | Simple data transmitter | |
| JP2756304B2 (en) | Communication control device | |
| JPH06164605A (en) | 1:n communication system | |
| JPS6292545A (en) | data transmission equipment | |
| JP3430030B2 (en) | Data transfer device | |
| JPS60105341A (en) | Simple data transmitter | |
| JPS58190154A (en) | Data transmitter | |
| JPH01220000A (en) | Electronic scale serial communication connecting device | |
| JPS58195347A (en) | Automatic switching system of line transmission speed | |
| JPH0153950B2 (en) | ||
| JPS61141068A (en) | Setting of terminal identifying code | |
| JPH02288450A (en) | Signal repeater |