JPH03216041A - Communication system - Google Patents

Communication system

Info

Publication number
JPH03216041A
JPH03216041A JP949590A JP949590A JPH03216041A JP H03216041 A JPH03216041 A JP H03216041A JP 949590 A JP949590 A JP 949590A JP 949590 A JP949590 A JP 949590A JP H03216041 A JPH03216041 A JP H03216041A
Authority
JP
Japan
Prior art keywords
slave station
station
signal
slave
initialization
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
JP949590A
Other languages
Japanese (ja)
Inventor
Hiroshi Takeo
竹尾 浩
Shigeo Amamiya
雨宮 成雄
Koji Tezuka
宏治 手塚
Kazuo Iguchi
一雄 井口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP949590A priority Critical patent/JPH03216041A/en
Publication of JPH03216041A publication Critical patent/JPH03216041A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To implement the processing of establishing an identification code of each slave station between a master station and a slave station at initializing and to enhance a communication efficiency after initializing by adjusting a signal propagation delay time between the master station and each slave station as soon as the identification number is given. CONSTITUTION:An initializing signal detection means 14 of each slave station detects an initializing signal received from a master station via a reception means 5 and a random data means 15 in response thereto receives the initializing signal and generates a random data as a reply time till the reply to the master station and sets the data to a reply delay means 8 and generates and sends the random data as a slave station identification number of its own station. Thus, while the adjustment of the signal propagation delay time between the master station and each slave station is not implemented yet, the identification number is given efficiently so that the reply signal from each slave station is not in duplicate and the identification number realizes a high communication efficiency.

Description

【発明の詳細な説明】 〔概要〕 主局と複数の従局との間を伝送路により接続してなる通
信システムに関し、 主局と各従局との間の信号伝搬遅延時間の調整が未だな
されていない状態において識別番号の未設定な従局に対
して、各従局からの応答信号が重複することがないよう
に効率的に識別番号の付与を行い、且つ、その識別番号
が高い通信効率を実現するようにすることを目的とし、 主局と複数の従局との間を伝送路により接続してなり、
主局から各従局に対してタイミング信号を与えることに
より、該タイミング信号を与えられた従局が主局に対し
て応答する通信システムにおいて、前記主局は、従局に
対して信号を送信する送信手段と、従局からの信号を受
信する受信手段と、初期化時に初期化信号を、接続する
従局に放送形式で送出するように制御する初期化放送手
段と、前記初期化信号に対して従局から送信された従局
識別番号を検出する従局識別番号検出手段と、前記受信
した従局識別番号に対して、当該通信システムに接続可
能な数の複数の従局を区別し得るビット数の従局番号の
1つを付与し、記憶する従局番号付与手段とを備え、前
記送信手段は、初期化時には、前記初期化信号に対する
各従局からの応答を受信すると、前記従局識別番号、お
よび、前記従局番号を当該従局に送信し、各従局は、主
局に対して信号を送信する送信手段と、主局からの信号
を受信する受信手段と、主局からの初期化信号の受信を
検出する初期化信号検出手段と、初期化時に前記従局番
号を受信して記憶する従局番号記憶手段と、自局に付与
された従局番号を付したタイミング信号を主局から受信
したとき、該主局に対して応答すべき応答データを発生
する応答データ発生手段と、前記応答データの送信を設
定された時間遅延させる応答遅延手段と、前記初期化信
号の受信時に、該初期化信号の受信後、主局に対して応
答するまでの応答時間としてのランダムデータを発生し
て前記応答遅延手段に設定し、且つ、自局の従局識別番
号としてランダムデータを発生して送信するように制御
するランダムデータ手段とを備えてなるように構成する
[Detailed Description of the Invention] [Summary] Regarding a communication system in which a master station and a plurality of slave stations are connected by a transmission path, the signal propagation delay time between the master station and each slave station has not yet been adjusted. To efficiently assign an identification number to a slave station whose identification number has not been set in a state where there is no identification number so that response signals from each slave station will not be duplicated, and to achieve high communication efficiency with the identification number. The main station and multiple slave stations are connected by a transmission path.
In a communication system in which a timing signal is given from a master station to each slave station, and the slave stations given the timing signal respond to the master station, the master station has a transmitting means for transmitting a signal to the slave stations. a receiving means for receiving a signal from a slave station; an initialization broadcasting means for controlling the initialization signal to be transmitted in a broadcast format to a connected slave station during initialization; and a receiver for transmitting from the slave station in response to the initialization signal. slave station identification number detection means for detecting a slave station identification number that has been received; and a slave station number assigning means for assigning and storing the slave station number, and at the time of initialization, upon receiving a response from each slave station to the initialization signal, the transmitting means transmits the slave station identification number and the slave station number to the slave station. and each slave station includes a transmitting means for transmitting a signal to the master station, a receiving means for receiving a signal from the master station, and an initialization signal detection means for detecting reception of an initialization signal from the master station. , a slave station number storage means for receiving and storing the slave station number at the time of initialization, and a response to be sent to the master station when a timing signal with the slave station number assigned to the own station is received from the master station. response data generation means for generating data; response delay means for delaying transmission of the response data by a set time; and upon reception of the initialization signal, for responding to the main station after receiving the initialization signal. random data means for generating random data as a response time and setting it in the response delay means, and generating and controlling random data as a slave station identification number of its own station to transmit. Configure.

〔産業上の利用分野] 本発明は、主局と複数の従局との間を伝送路により接続
してなる通信システムに関する。
[Industrial Application Field] The present invention relates to a communication system in which a main station and a plurality of slave stations are connected by a transmission path.

第8図に示されるように、主局と複数の従局との間を伝
送路により接続してなる通信システムにおいては、一般
に、主局と各従局との間で通信を行うためには、主局は
、複数の従局の各kを区別して認識する必要がある。す
なわち、主局から各従局に対して信号を送信する場合に
は、主局は目的の従局を示す識別符号(アドレス)を付
加する必要があり、従局が主局に対して信号を送信する
場合には、各従局は、自局の識別符号(アドレス)を付
加する必要がある。
As shown in Figure 8, in a communication system in which a master station and a plurality of slave stations are connected by transmission paths, in order to communicate between the master station and each slave station, the main The station needs to distinguish and recognize each k of the plurality of slave stations. In other words, when transmitting a signal from the master station to each slave station, the master station needs to add an identification code (address) indicating the target slave station, and when a slave station sends a signal to the master station. , each slave station needs to add its own identification code (address).

特に、初期状態において主局と従局との間で各従局の識
別符号が確立していない通信システムの場合、あるいは
、該システムに対する個々の従局の接続/非接続、電源
のO N/O F Fに変更があり得るような通信シス
テムの場合には、初期化時において主局と従局との間で
各従局の識別符号を確立させる処理を効率的に行い、初
期化後の通信効率をも高める技術が要望されていた。
In particular, in the case of a communication system in which the identification code of each slave station is not established between the master station and the slave station in the initial state, or the connection/disconnection of each slave station to the system, the ON/OFF of the power supply, etc. In the case of a communication system in which there is a possibility of changes, it is possible to efficiently establish the identification code of each slave station between the master station and the slave station at the time of initialization, and improve the communication efficiency after initialization. Technology was required.

さらに、各従局が、主局からの信号に応じて自局に割当
られたタイムスロットで主局宛の信号を出力し、その信
号が伝送路上で多重化されて主局に伝送される場合、主
局から見た各従局の遅延時間が一定である必要がある。
Furthermore, when each slave station outputs a signal addressed to the master station in the time slot assigned to it according to the signal from the master station, and the signals are multiplexed on the transmission path and transmitted to the master station, The delay time of each slave station as seen from the master station must be constant.

〔従来の技術および発明が解決しようとする課題〕従来
、第8図に示されるように、主局と複数の従局とを接続
する通信システムにおいては、初期状態に主局と従局と
の間で各従局の識別符号を確立させるためには、主局が
各従局に対して初期化を施す信号を出力すると、各従局
は、これに対して、自局を識別できるようにランダムな
数を発生して主局に送信し、以後、主局が目的の従局に
対して信号を送信する際には、この番号を各従局の識別
符号として付与する。
[Prior Art and Problems to be Solved by the Invention] Conventionally, as shown in FIG. 8, in a communication system that connects a master station and a plurality of slave stations, there is a In order to establish the identification code of each slave station, the master station outputs an initialization signal to each slave station, and each slave station generates a random number in response to this signal to identify itself. Then, when the master station transmits a signal to the target slave station, this number is given as an identification code to each slave station.

しかしながら、従来は、上記の初期化時における各従局
の識別符号の付与のための主局と従局との間の信号の遣
り取りの際には、主局と各従局との間の信号伝搬遅延時
間の調整が未だなされていないため、主局からの上記の
初期化を施す信号に対して各従局から主局に返信される
信号が互いに重複するという問題があった。
However, conventionally, when exchanging signals between the master station and the slave stations for assigning identification codes to each slave station at the time of the above-mentioned initialization, the signal propagation delay time between the master station and each slave station is Since this adjustment has not yet been made, there has been a problem in that the signals returned from each slave station to the master station overlap with each other in response to the above-mentioned initialization signal from the master station.

また、各従局がそれぞれランダムに発生した数によって
各従局を識別するには、該ランダムな数は、かなりのビ
ット数を有する必要があり、この数を以後の通信におい
て各従局の識別番号として使用することは、通信効率を
低下させるという間題があった。
In addition, in order for each slave station to identify each slave station by a randomly generated number, the random number must have a considerable number of bits, and this number is used as the identification number of each slave station in subsequent communications. However, there was a problem in that doing so reduced communication efficiency.

さらに、初期化時においては、上記のように、主局と各
従局との間の信号伝搬遅延時間の調整が未だなされてい
ない状態であるので、この調整を行う必要がある。従来
、初期化時における主局と複数の従局との間の信号伝搬
遅延時間の調整は、上記の識別番号の設定の後、主局か
ら個々の従局に対して順にポーリングを行うことにより
なされていたため、全ての従局との間の信号伝搬遅延時
間の調整には、長時間を要するという問題があった。
Furthermore, at the time of initialization, as described above, the signal propagation delay time between the main station and each slave station has not yet been adjusted, so it is necessary to perform this adjustment. Conventionally, adjustment of the signal propagation delay time between a master station and multiple slave stations during initialization was done by sequentially polling each slave station from the master station after setting the above identification number. Therefore, there was a problem in that it took a long time to adjust the signal propagation delay time with all the slave stations.

本発明は、上記の問題点に鑑み、なされたもので、主局
と各従局との間の信号伝搬遅延時間の調整が未だなされ
ていない状態において識別番号の未設定な従局に対して
、各従局からの応答信号が重複することがないように効
率的に識別番号の付与を行い、且つ、その識別番号が高
い通信効率を実現するようにする通信システムを提供す
ることを第1の目的とするものである。
The present invention has been made in view of the above-mentioned problems, and in a state where the signal propagation delay time between the master station and each slave station has not yet been adjusted, each slave station whose identification number has not been set is The first objective is to provide a communication system that efficiently assigns identification numbers so that response signals from slave stations do not overlap, and that allows the identification numbers to achieve high communication efficiency. It is something to do.

前記の第1の目的に加えて、本発明は、初期化時におい
て上記の識別番号の付与と同時に主局と各従局との間の
信号伝搬遅延時間の調整をも効率的に行い得る通信シス
テムを提供することを第2の目的とするものである。
In addition to the above-mentioned first object, the present invention provides a communication system that can efficiently adjust the signal propagation delay time between the main station and each slave station at the same time as assigning the above-mentioned identification number at the time of initialization. The second purpose is to provide the following.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の第1の形態の基本構成図である。 FIG. 1 is a basic configuration diagram of a first embodiment of the present invention.

第1図は、主局と複数の従局との間を伝送路により接続
してなり、主局から各従局に対してタイミング信号を与
えることにより、該タイミング信号を与えられた従局が
主局に対して応答する通信システムにおける主局と従局
の基本構成を示すものである。
In Figure 1, a master station and a plurality of slave stations are connected by a transmission path, and by giving a timing signal from the master station to each slave station, the slave stations given the timing signal can communicate with the master station. This shows the basic configuration of a master station and a slave station in a communication system that responds to communications.

第1図の主局において、3は送信手段、4は受信手段、
10は初期化放送手段、11は従局番号付与手段、そし
て、12は従局識別信号記憶手段である。また、従局に
おいて、5は受信手段、6は応答データ発生手段、8は
応答遅延手段、9は送信手段、IOは初期化信号検出手
段、13は従局番号記憶手段、そして、l5はランダム
データ手段である。
In the main station shown in FIG. 1, 3 is a transmitting means, 4 is a receiving means,
10 is an initialization broadcasting means, 11 is a slave station number assigning means, and 12 is a slave station identification signal storage means. In the slave station, 5 is a reception means, 6 is a response data generation means, 8 is a response delay means, 9 is a transmission means, IO is an initialization signal detection means, 13 is a slave station number storage means, and 15 is a random data means. It is.

主局の送信手段3は、従局に対してデータを送信する。The transmitting means 3 of the master station transmits data to the slave stations.

主局の受信手段4は、従局からの信号を受信する。The receiving means 4 of the master station receives signals from the slave stations.

初期化放送手段10は、初期化時に初期化信号を接続す
る従局に放送形式で送出するように制御する。
The initialization broadcast means 10 controls the initialization signal to be sent in a broadcast format to the connected slave stations at the time of initialization.

従局識別番号検出手段12は、前記初期化信号に対して
従局から送信された従局識別番号を検出する。
The slave station identification number detection means 12 detects the slave station identification number transmitted from the slave station in response to the initialization signal.

従局番号付与千段11は、前記受信した従局識別番号に
対して、当該通信システムに接続可能な数の複数の従局
を区別し得るビット数の従局番号の1つを付与し、記憶
する。
The slave station number assigning stage 11 assigns to the received slave station identification number one of the slave station numbers having a bit number that can distinguish between a plurality of slave stations connectable to the communication system, and stores the number.

前記主局の送信手段3は、初期化時には、前記初期化信
号に対する各従局からの応答を受信すると、前記従局識
別番号、および、前記従局番号を当該従局に送信する。
At the time of initialization, upon receiving a response from each slave station to the initialization signal, the transmitting means 3 of the master station transmits the slave station identification number and the slave station number to the slave station.

従局の送信手段9は、従局に対してデータを送信する。The transmission means 9 of the slave station transmits data to the slave station.

従局の受信千段5は、主局からの信号を受信する。The receiving stage 5 of the slave station receives a signal from the master station.

初期化信号検出千段14は、主局からの初期化信号の受
信を検出する。
The initialization signal detection stage 14 detects reception of an initialization signal from the main station.

応答データ発生手段6は、主局から前記従局識別番号を
付した前記タイミング信号を受信したとき、主局に対し
て応答すべき応答データを発生ずる。
When the response data generating means 6 receives the timing signal attached with the slave station identification number from the master station, it generates response data to be responded to the master station.

応答遅延手段8は、前記応答データの送信を設定された
時間遅延させる。
The response delay means 8 delays the transmission of the response data for a set time.

ランダムデータ手段15は、前記初期化信号の受信時に
、該初期化信号の受信後、主局に対して応答するまでの
応答時間としてのランダムデータを発生して前記応答遅
延手段8に設定し、且つ、自局の従局識別番号としてラ
ンダムデータを発生して送信するように制御する。
When receiving the initialization signal, the random data means 15 generates random data as a response time from receiving the initialization signal to responding to the main station, and sets it in the response delay means 8; In addition, control is performed to generate and transmit random data as the slave station identification number of the own station.

従局番号記憶手段13は、初期化時に前記従局番号を主
局より受信して記憶する。
The slave station number storage means 13 receives and stores the slave station number from the master station at the time of initialization.

第2図は本発明の第2の形態の基本構成図である。FIG. 2 is a basic configuration diagram of a second embodiment of the present invention.

第2図は、主局と複数の従局との間を伝送路により接続
してなり、主局から各従局に対してタイミング信号を与
えることにより、該タイミング信号を与えられた従局が
主局に対して応答する通信システムにおける主局と従局
の基本構成を示すものである。
In Figure 2, a master station and a plurality of slave stations are connected by a transmission path, and by giving a timing signal from the master station to each slave station, the slave stations given the timing signal can communicate with the master station. This shows the basic configuration of a master station and a slave station in a communication system that responds to communications.

第2図の主局において、ビは応答遅延時間測定手段、2
′は従局設定遅延時間調整制御手段、3は送信手段、4
は受信手段、10は初期化放送手段、11は従局番号付
与手段、そして、12は従局識別信号記憶手段である。
In the main station shown in FIG. 2, B is a response delay time measuring means;
' is slave station setting delay time adjustment control means, 3 is transmission means, 4
10 is a receiving means, 10 is an initializing broadcasting means, 11 is a slave station number assigning means, and 12 is a slave station identification signal storage means.

また、従局において、5は受信手段、6は応答データ発
生手段、7′は応答遅延時間調整手段、8は応答遅延手
段、9は送信手段、10は初期化信号検出手段、13は
従局番号記憶手段、14は初期化信号検出手段、そして
、15はランダムデータ手段である。
In the slave station, 5 is a receiving means, 6 is a response data generating means, 7' is a response delay time adjustment means, 8 is a response delay means, 9 is a transmitting means, 10 is an initialization signal detection means, and 13 is a slave station number storage. 14 is an initialization signal detection means, and 15 is a random data means.

主局の送信手段3は、従局に対してデータを送信する。The transmitting means 3 of the master station transmits data to the slave stations.

主局の受信手段4は、従局からの信号を受信する。The receiving means 4 of the master station receives signals from the slave stations.

初期化放送手段10は、初期化時に初期化信号を接続す
る従局に放送形式で送出するように制御する。
The initialization broadcast means 10 controls the initialization signal to be sent in a broadcast format to the connected slave stations at the time of initialization.

応答遅延時間測定千段ビは、初期化時において、前記初
期化信号の送出時から該初期化信号に対する応答信号の
受信時までの応答遅延時間を計時する。
The response delay time measuring device measures the response delay time from the time when the initialization signal is sent to the time when a response signal to the initialization signal is received at the time of initialization.

従局設定遅延時間調整制御手段2′は、前記応答遅延時
間と所定の基準遅延時間との誤差を検出して、該遅延時
間の誤差を調整するように、当該従局に対して誤差調整
情報を送信させる。
The slave station setting delay time adjustment control means 2' detects an error between the response delay time and a predetermined reference delay time, and transmits error adjustment information to the slave station so as to adjust the error in the delay time. let

従局識別番号検出手段12は、前記初期化信号に対して
従局から送信された従局識別番号を検出する。
The slave station identification number detection means 12 detects the slave station identification number transmitted from the slave station in response to the initialization signal.

従局番号付与手段11は、前記受信した従局識別番号に
対して、当該通信システムに接続可能な数の複数の従局
を区別し得るビット数の従局番号の1つを付与し、記憶
する。
The slave station number assigning means 11 assigns to the received slave station identification number one of the slave station numbers having the number of bits that can distinguish between a plurality of slave stations connectable to the communication system, and stores the number.

前記主局の送信手段3は、初期化時には、前記初期化信
号に対する各従局からの応答を受信すると、前記従局識
別番号、前記従局番号、および、前記誤差調整情報を当
該従局に送信ずる。
At the time of initialization, upon receiving a response from each slave station to the initialization signal, the transmitting means 3 of the master station transmits the slave station identification number, the slave station number, and the error adjustment information to the slave station.

従局の送信千段9は、従局に対してデータを送信する。The transmission stage 9 of the slave station transmits data to the slave station.

従局の受信千段5は、主局からの信号を受信する。The receiving stage 5 of the slave station receives a signal from the master station.

初期化信号検出手段14は、主局からの初期化信号の受
信を検出する。
The initialization signal detection means 14 detects reception of an initialization signal from the main station.

応答データ発生手段6は、王局から前記従局識別番号を
付した前記タイミング信号を受信したとき、主局に対し
て応答すべき応答データを発生する。
When the response data generating means 6 receives the timing signal attached with the slave station identification number from the master station, it generates response data to be responded to to the master station.

応答遅延手段8は、前記応答データの送信を予め設定さ
れた時間遅延させる。
The response delay means 8 delays the transmission of the response data by a preset time.

応答遅延時間調整手段7′は、前記主局から前記誤差調
整情報を受信すると該誤差調整情報に従って前記応答遅
延手段8における設定時間を調整する。
When the response delay time adjustment means 7' receives the error adjustment information from the main station, it adjusts the set time in the response delay means 8 according to the error adjustment information.

ランダムデータ手段l5は、前記初期化信号の受信時に
、該初期化信号の受信後、主局に対して応答するまでの
応答時間としてのランダムデータを発生して前記応答遅
延千段8に設定し、且つ、自局の従局識別番号としてラ
ンダムデータを発生して送信するように制御する。
The random data means 15, when receiving the initialization signal, generates random data as a response time from reception of the initialization signal to responding to the main station, and sets the response delay to 8 stages. , and controls to generate and transmit random data as the slave station identification number of its own station.

従局番号記憶手段I3は、初期化時に前記従局番号を主
局より受信して記憶する。
The slave station number storage means I3 receives and stores the slave station number from the master station at the time of initialization.

〔作用〕[Effect]

本発明の第1の形態においては、初期化時に、主局の初
期化放送手段10は、初期化時に初期化信号を接続する
従局に放送形式で送出するように制御し、これにより、
主局の送信千段3から初期化信号が、当該システムに接
続される全ての従局に対して同時に送信される。
In the first form of the present invention, at the time of initialization, the initialization broadcasting means 10 of the main station is controlled to transmit the initialization signal in a broadcast format to the connected slave stations at the time of initialization, and thereby,
An initialization signal is simultaneously transmitted from the transmission stage 3 of the master station to all slave stations connected to the system.

各従局は、受信手段5を介して受信した上記の初期化信
号を、初期化信号検出千段14において検出し、これに
応じてランダムデータ手段l5は、該初期化信号の受信
後、主局に対して応答するまでの応答時間としてのラン
ダムデータを発生して前記応答遅延千段8に設定し、且
つ、自局の従局識別番号としてランダムデータを発生し
て送信するように制御する。
Each slave station detects the above-mentioned initialization signal received via the reception means 5 in the initialization signal detection stage 14, and in response, after receiving the initialization signal, the random data means 15 detects the initialization signal from the master station. It generates random data as the response time until it responds to the request and sets the response delay to 8, and also generates and transmits random data as the slave station identification number of its own station.

こうして、上記の自局の従局識別番号としてのランダム
データは、応答遅延手段8にて、上記のランダムデータ
によって設定された時間の遅延を受けた後、送信千段9
を介して主局へ送信される。
In this way, the random data as the slave station identification number of the own station is delayed by the response delay means 8 for the time set by the random data, and then sent to the transmission stage 9.
is sent to the main station via.

各従局から主局への初期化信号に対する応答信号は、そ
れぞれ上記のランダムな応答時間の遅延を受けることに
より、異なる従局からの応答信号同士が、主局における
受信時に、時間的に重なる確率が小さ《なる。(もし、
異なる従局からの応答信号同士が、主局における受信時
に、時間的に重なるときには、次回の初期化時まで待つ
ことにする。) 主局の従局識別番号検出千段12は、前記初期化信号に
対して従局から送信された従局識別番号を検出し、従局
番号付与千段11は、前記受信した従局識別番号に対し
て、当該通信システムに接続可能な数の複数の従局を区
別し得るビット数の従局番号の1つを付与し、記憶する
The response signals from each slave station to the initialization signal to the master station are each subject to the random response time delay described above, so that the probability that response signals from different slave stations will overlap in time when received by the master station is reduced. It becomes small. (if,
If the response signals from different slave stations overlap in time when received by the master station, they will wait until the next initialization. ) The slave station identification number detection stage 12 of the master station detects the slave station identification number transmitted from the slave station in response to the initialization signal, and the slave station number assigning stage 11 detects the slave station identification number transmitted from the slave station in response to the initialization signal. One of the slave station numbers with the number of bits that can distinguish the plurality of slave stations connectable to the communication system is assigned and stored.

主局の送信手段3は、上記の従局識別番号、および従局
番号を当該従局に送信し、初期化時以後は、前記誤差調
整情報は、タイミング信号送信時に前記従局番号のみを
付して送信する。
The transmitting means 3 of the master station transmits the slave station identification number and the slave station number to the slave station, and after initialization, the error adjustment information is transmitted with only the slave station number attached when transmitting the timing signal. .

従局の従局番号記憶手段l3は、初期化時に、自局から
送出した前記ランダムデータによる従局識別番号と共に
主局から受信した従局番号を記憶する。これ以後の主局
と該従局との通信には、この従局番号が従局を識別する
ための符号として用いられる。
The slave station number storage means 13 of the slave station stores the slave station number received from the master station together with the slave station identification number based on the random data sent from the own station at the time of initialization. In subsequent communication between the master station and the slave station, this slave station number is used as a code for identifying the slave station.

従局番号は、当該通信システムに接続可能な数の複数の
従局を区別し得る最小のビット数からなるものとすれば
、最小ビット数によって従局を識別するための符号が設
定され、この通信システムにおける通信効率は最大とな
る。
Assuming that the slave station number consists of the minimum number of bits that can distinguish the number of slave stations that can be connected to the communication system, a code for identifying the slave station is set by the minimum number of bits, and the number of slave stations in this communication system is Communication efficiency is maximized.

また、主局から1回の初期化信号を放送形式で送出し、
接続される全ての従局からは、それぞれのランダムデー
タによる従局識別番号を付加した応答信号を、ランダム
な遅延時間を以て応答するので、各従局からの応答信号
が主局において受信される際に互いに時間的に重複する
確率が低いようにすることができる。
In addition, the main station sends out a one-time initialization signal in broadcast format,
All connected slave stations respond with response signals to which slave station identification numbers based on random data are added, with random delay times, so when the response signals from each slave station are received at the master station, the time is different from each other. The probability of overlapping can be made low.

本発明の第2の形態においては、初期化時において主局
は、上記の第1の形態におけると同様の処理に加えて、
応答遅延時間測定手段1′は、各従局に対して前記タイ
ミング信号を送信したとき、該タイミング信号の送信時
から該タイミング信号に対する応答信号の受信時までの
応答遅延時間を計時し、初期化時において、前記初朋化
信号の送出時から該初期化信号に対する応答信号の受信
時までの応答遅延時間を計時し、従局設定遅延時間調整
制御手段2′は、前記応答遅延時間と所定の基準遅延時
間との誤差を検出して、該遅延時間の誤差を調整するよ
うに、当該従局に対して誤差調整情報を送信させる。こ
の制御に応じて、送信手段3は、従局識別番号、前記従
局番号、および、前記誤差調整情報を当該従局に送信す
る。
In the second embodiment of the present invention, at the time of initialization, the main station performs the same processing as in the first embodiment, as well as
When the timing signal is transmitted to each slave station, the response delay time measuring means 1' measures the response delay time from the time of transmitting the timing signal to the time of receiving the response signal to the timing signal, and measures the response delay time at the time of initialization. , the slave station setting delay time adjustment control means 2' measures the response delay time from the sending of the initialization signal to the reception of the response signal to the initialization signal, and adjusts the response delay time and a predetermined reference delay. The slave station is caused to transmit error adjustment information so as to detect the error with the time and adjust the error in the delay time. In accordance with this control, the transmitting means 3 transmits the slave station identification number, the slave station number, and the error adjustment information to the slave station.

各従局は、上記の信号を受信すると、従局識別番号によ
って自局宛の信号か否かを判定し、自局宛の信号である
ならば、前記の第1の形態におけると同様の処理に加え
て、応答遅延時間調整手段7′は、同時に受信した該誤
差調整情報に従って前記応答遅延手段8における設定時
間を調整する。
When each slave station receives the above signal, it determines whether the signal is addressed to itself based on the slave station identification number, and if the signal is addressed to itself, it performs the same processing as in the first form above. Then, the response delay time adjustment means 7' adjusts the set time in the response delay means 8 according to the error adjustment information received at the same time.

こうして、初期化時に、上記の従局番号の付与と同時に
、従局の配置位置による伝送路長の差による伝搬遅延の
差と温度変化等による伝送路遅延の変動に対応して各従
局における応答の遅延時間を調整することが可能となる
In this way, at the time of initialization, the above-mentioned slave station number is assigned, and at the same time, the response at each slave station is delayed in response to the difference in propagation delay due to the difference in transmission path length depending on the placement position of the slave station, and the variation in transmission path delay due to temperature changes, etc. It becomes possible to adjust the time.

(実施例〕 第3図は、前記本発明の第1の形態を実現する本発明の
第1の実施例における主局の動作の1例を示す図である
(Embodiment) FIG. 3 is a diagram showing an example of the operation of the main station in the first embodiment of the present invention that implements the first embodiment of the present invention.

第3図のステップ100において、主局は、従局に初期
化信号を送信し、ステップ101にて遅延時間測定カウ
ンタのカウントLを1=0とする。
In step 100 of FIG. 3, the master station transmits an initialization signal to the slave station, and in step 101, the count L of the delay time measurement counter is set to 1=0.

そして、ステップ102にて従局インデンクスをi=0
として、ステップ103および104にて、最初の(後
述するように各従局がそれぞれランダムに発生した遅延
による応答遅延時間が最も短い)従局からの応答がある
までの時間を計時し、計時が終了すると、ステップ10
5にて従局インデックスを更新する。
Then, in step 102, the slave station index is set to i=0.
In steps 103 and 104, the time until a response is received from the first slave station (which has the shortest response delay time due to the delay randomly generated by each slave station as described later) is measured, and when the time measurement is completed, , step 10
5, the slave station index is updated.

そして、ステップ106にて、予め初期化時の遅延時間
測定期間として設定された所定の時間が経過したか否か
を判定して、経過していなければ、ステンプ108に進
んで次の従局からの応答に対して、上記のステップ10
3〜105の処理を行い、以下、ステップ106におい
て遅延時間測定期間の経過が判定されるまで繰り返し、
ステップ106にて遅延時間測定期間の経過が判定され
ると、ステップ10Bに進む。
Then, in step 106, it is determined whether or not a predetermined time set in advance as the delay time measurement period at the time of initialization has elapsed. If it has not elapsed, the process proceeds to step 108 and the next slave station For the response, step 10 above
Steps 3 to 105 are performed, and the steps are repeated until it is determined in step 106 that the delay time measurement period has elapsed.
When it is determined in step 106 that the delay time measurement period has elapsed, the process proceeds to step 10B.

ステップ10Bにおいては、上記のように従局識別番号
と誤差修正情報τiとを記憶した従局の数iを■とおき
、送信先従局のインデックスをj一〇とおく。
In step 10B, the number i of slave stations that have stored slave station identification numbers and error correction information τi as described above is set to ■, and the index of the destination slave station is set to j10.

ステノプ109では、jをインクリメントして、ステッ
プ110で、予め主局が用意している従局番号のうち、
未だどの従局にも付与していないものを付与し、ステッ
プ111にて、上記の付与された従局番号を対応する従
局識別番号と共に送信し、先にステップ107で記憶し
た従局識別番号と対応する誤差修正情報τiの組のうち
未送信のものの1つを送信する。以下ステップ112で
、j=Iと判定されるまでステップ109〜111の動
作を繰り返す。
In step 109, j is incremented, and in step 110, one of the slave station numbers prepared in advance by the master station is selected.
The one that has not been assigned to any slave station yet is assigned, and in step 111, the assigned slave station number is transmitted together with the corresponding slave station identification number, and the error corresponding to the slave station identification number previously stored in step 107 is transmitted. One of the sets of modification information τi that has not yet been transmitted is transmitted. Thereafter, in step 112, the operations of steps 109 to 111 are repeated until it is determined that j=I.

第4図は、前記本発明の第1の形態を実現する本発明の
第1の実施例における従局の動作の1例を示す図である
FIG. 4 is a diagram showing an example of the operation of the slave station in the first embodiment of the present invention that implements the first form of the present invention.

第4図のステップ81において、従局は、主局から、初
期化信号を受信したか、ポーリング信号を受信したかを
判定し、初期化信号を受信したしたならば、ステップ8
3にて、従局内に備えるランダムデータ発生回路にて発
生したランダムデータとして得られた応答遅延時間Tr
を応答時間カウンタにおける設定時間とする。そして、
ステップ84にて応答時間カウンタのカウントLを1一
〇として、ステップ85および86にて、上記のように
応答時間カウンタに設定された設定時間Trに等しくな
るまで計時し、ステップ87にて、該初期化信号に対す
る応答を行う。該応答には、同じく上記のランダムデー
タ発生回路にて発生したランダムデータとして得られた
従局識別番号を含む。
In step 81 of FIG. 4, the slave station determines whether it has received an initialization signal or a polling signal from the master station, and if it has received an initialization signal, step 8
3, the response delay time Tr obtained as random data generated in the random data generation circuit provided in the slave station.
Let be the set time in the response time counter. and,
In step 84, the count L of the response time counter is set to 110, and in steps 85 and 86, the time is counted until it becomes equal to the set time Tr set in the response time counter as described above. Responds to initialization signals. The response also includes the slave station identification number obtained as random data generated by the random data generating circuit described above.

ステップ8lにてポーリング信号を受信したならば、ス
テップ88にて応答時間カウンタのカウンI− tを1
=0として、ステップ89および90にて、応答時間カ
ウンタに設定された設定時間Tに等しくなるまで計時し
、ステップ91にて、該ポーリング信号に対する応答を
行う。
If the polling signal is received in step 8l, the counter I-t of the response time counter is set to 1 in step 88.
= 0, in steps 89 and 90, time is counted until the time becomes equal to the set time T set in the response time counter, and in step 91, a response to the polling signal is performed.

第5図は、上記の第3図および第4図の本発明の実施例
における主局および従局間の初期化時における信号のタ
イミングを示すものである。
FIG. 5 shows the timing of signals at the time of initialization between the master station and the slave station in the embodiment of the present invention shown in FIGS. 3 and 4 above.

第6図は、前記本発明の第2の形態を実現する本発明の
第2の実施例における主局の動作の1例を示す図である
FIG. 6 is a diagram showing an example of the operation of the main station in the second embodiment of the present invention that implements the second embodiment of the present invention.

第6図の手順と前述の第3図の手順との唯一の違いは、
第6図においては、第3図のステップl05の後に、ス
テップ105′として、所定の時間T0と上記の応答時
間カウンタのカウントLとの差τi=T0−Lを演算す
ること、そして、第3図のステップ111の代わりにス
テップ111’として、上記の付与された従局番号、お
よび、対応する従局識別番号と共に、上記の差τiを応
答時間修正信号として送信することである。
The only difference between the procedure in Figure 6 and the procedure in Figure 3 above is:
In FIG. 6, after step l05 in FIG. 3, as step 105', the difference τi=T0-L between the predetermined time T0 and the count L of the response time counter described above is calculated, and the third In step 111' instead of step 111 in the figure, the above-described difference τi is transmitted as a response time correction signal together with the assigned slave station number and the corresponding slave station identification number.

第7図は、前記本発明の第2の形態を実現する本発明の
第2の実施例における従局の動作の1例を示す図である
FIG. 7 is a diagram showing an example of the operation of the slave station in the second embodiment of the present invention that implements the second embodiment of the present invention.

第7図の手順と前述の第4図の手順との唯一の違いは、
第7図においては、ステップ81′において従局は、主
局から、初期化信号を受信したが、ポーリング信号を受
信したが、応答時間修正信号を受信したかを判定し、も
し、誤差修正情報τiを含む応答時間修正信号を受信し
たならば、ステップ92において、自局内の応答時間カ
ウンタの設定時間TをT=T+τ】として修正すること
である。
The only difference between the procedure in Figure 7 and the procedure in Figure 4 above is:
In FIG. 7, in step 81', the slave station determines whether it has received an initialization signal, a polling signal, or a response time correction signal from the master station, and if error correction information τi If the response time correction signal including the response time correction signal is received, in step 92, the set time T of the response time counter within the own station is corrected as T=T+τ].

図示しないが、上記のように、本発明の第Iおよび第2
のにおいては、各従局は、プリセンタブルなカウンタか
らなる応答時間カウンタを有し、本発明の第2の実施例
においては、主局は、遅延時間測定カウンタを有する。
Although not shown, as described above, the
In the second embodiment of the present invention, each slave station has a response time counter consisting of a precenterable counter, and in the second embodiment of the invention, the master station has a delay time measurement counter.

主局および従局における、第3図〜第7図のその他の動
作は、それぞれソフトウエアにより実現される。
The other operations shown in FIGS. 3 to 7 in the master station and the slave station are each realized by software.

上記の第1および第2の実施例において、各従局に対し
て主局から放送形式で(同時に)送信された初期化信号
に対して、各従局はそれぞれランダムに発生したデータ
に基づ《応答時間の後に応答するが、もし、複数の従局
間での応答時間が接近しているときは、後から主局に到
達した応答は、無視される。しかしながら、上記の初期
化手順は、通常のシステム運用時においても、例えば、
1秒毎に繰り返し行われ、初期化信号に対する応答が、
上記のような他従局との競合や、信号のエラー等により
主局に受付られなかった従局は、次の初期化の機会に再
度、主局に応答を送信する。また、システム運用期間中
に新たに接続された従局や、新たに電源ONとなった従
局についても同様である。このとき、各従局は、例えば
、フラグ等により、自局が既に初期化されたか否かを記
憶しているものとする。
In the first and second embodiments described above, each slave station responds to the initialization signal transmitted (simultaneously) in broadcast format from the master station to each slave station based on randomly generated data. However, if the response times of multiple slave stations are close to each other, responses that arrive at the master station later will be ignored. However, even during normal system operation, the above initialization procedure, for example,
This is repeated every second, and the response to the initialization signal is
A slave station that is not accepted by the master station due to competition with other slave stations or signal errors as described above will send a response to the master station again at the next initialization opportunity. The same applies to slave stations newly connected during the system operation period and slave stations newly turned on. At this time, it is assumed that each slave station remembers whether or not it has already been initialized, using a flag or the like, for example.

更に、主局は、上記のように、従局識別番号を記憶した
初期化済の従局に対して、以後ポーリングを行って行く
が、初期化済の従局へのポーリング信号に対する応答が
無応答となったときは、該従局が、電源OFF等により
システムから切り離されたものとして、該従局に対する
従局識別番号等の記憶を抹消する。ただし、伝送時のエ
ラー等によって応答が得られない場合もあるので、例え
ば、所定の回数のポーリングに対する無応答により記憶
を抹消する等の保護手段を設けることも可能である。
Furthermore, as described above, the master station will subsequently poll the initialized slave stations that have stored the slave station identification numbers, but the response to the polling signal to the initialized slave stations will be no response. When this happens, the slave station is assumed to have been disconnected from the system by turning off the power, etc., and the memory of the slave station identification number, etc. for the slave station is deleted. However, since a response may not be obtained due to an error during transmission, for example, it is also possible to provide a protective measure such as erasing the memory if there is no response to a predetermined number of pollings.

なお、以L説明した本発明の通信システムは、第8図の
ように主局と従局とがバス状の伝送路により接続される
場合のみに限られるものでなく他の形態の伝送路による
接続、例えば、主局と従局とがスター状、ツリー状、そ
の他の伝送路等により接続される場合についても成立す
るものであることは、本発明の通信システムの上述の構
成が伝送路の接続形態によらないものであることから明
らかであろう。
Note that the communication system of the present invention described below is not limited to the case where the master station and the slave station are connected by a bus-like transmission path as shown in FIG. 8, but can also be connected by other forms of transmission path. For example, the above-mentioned configuration of the communication system of the present invention also holds true when the master station and the slave stations are connected in a star shape, tree shape, or other transmission path. It is clear from the fact that it does not depend on

〔発明の効果] 本発明の通信システムによれば、主局と各従局との間の
信号伝搬遅延時間の調整が未だなされていない状態にお
いて識別番号の未設定な従局に対して、各従局からの応
答信号が重複することがないように効率的に識別番号の
付与を行い、且つ、その識別番号が高い通信効率を実現
するようにすることが可能となる。そして、初期化時に
おいて上記の識別番号の付与と同時に主局と各従局との
間の信号伝搬遅延時間の調整をも効率的に行い得る。
[Effects of the Invention] According to the communication system of the present invention, when the signal propagation delay time between the master station and each slave station has not yet been adjusted, each slave station can send a message to a slave station whose identification number has not been set. It becomes possible to efficiently assign an identification number so that no duplication of response signals occurs, and to use the identification number to achieve high communication efficiency. Further, at the time of initialization, the signal propagation delay time between the main station and each slave station can be efficiently adjusted at the same time as the identification number is assigned.

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

第1図は本発明の第1の形態の基本構成図、第2図は本
発明の第2の形態の基本構成図、第3図は本発明の第1
の実施例における主局の動作を示す図、 第4図は本発明の第1の実施例における従局の動作を示
す図、 第5図は本発明の第1および第2の実施例における初期
化時のタイミングを示す図、 第6図は本発明の第2の実施例における主局の動作を示
す図、 第7図は本発明の第2の実施例における従局の動作を示
す図、そして、 第8図は本発明の対象となる通信システムの全体構成を
示す図である。 〔符号の説明〕 ビ一応答遅延時間測定手段、2′一従局設定遅延時間調
整制御手段、3一主局の送信手段、4主局の受信手段、
10一・一初期化放送手段、11・−・従局番号付与手
段、12−・一従局識別信号記憶手段、5一従局の受信
手段、6一応答データ発生手段、7′一応答遅延時間調
整手段、8一応答遅延手段、1〇一初期化信号検出手段
、13−従局番号記憶手段、l5−ランダムデータ手段
。 主局 本発明の第1の形態の基本構成を示す図第]図 主局 第 2 回 本発明の第1の実施例にあ{7る主局の動作を示す匹第
3図 第 6 図
FIG. 1 is a basic configuration diagram of the first embodiment of the present invention, FIG. 2 is a basic configuration diagram of the second embodiment of the invention, and FIG. 3 is a basic configuration diagram of the first embodiment of the invention.
4 is a diagram showing the operation of the slave station in the first embodiment of the present invention. FIG. 5 is a diagram showing the initialization in the first and second embodiments of the present invention. 6 is a diagram showing the operation of the master station in the second embodiment of the present invention, FIG. 7 is a diagram showing the operation of the slave station in the second embodiment of the present invention, and FIG. 8 is a diagram showing the overall configuration of a communication system to which the present invention is applied. [Explanation of symbols] BI1 response delay time measuring means, 2' slave station setting delay time adjustment control means, 31 master station transmitting means, 4 master station receiving means,
10--1 initialization broadcasting means, 11-- slave station number assigning means, 12--1 slave station identification signal storage means, 5-1 slave station receiving means, 6- response data generation means, 7'- response delay time adjustment means. , 81-response delay means, 101-initialization signal detection means, 13-slave station number storage means, 15-random data means. Main station Figure 3 shows the basic configuration of the first embodiment of the present invention Main station 2 Figure 6 shows the operation of the main station in the first embodiment of the invention

Claims (1)

【特許請求の範囲】 1、主局と複数の従局との間を伝送路により接続してな
り、主局から各従局に対してタイミング信号を与えるこ
とにより、該タイミング信号を与えられた従局が主局に
対して応答する通信システムにおいて、 前記主局は、 従局に対して信号を送信する送信手段(4)と、従局か
らの信号を受信する受信手段(5)と、初期化時に初期
化信号を、接続する従局に放送形式で送出するように制
御する初期化放送手段(10)と、 前記初期化信号に対して従局から送信された従局識別番
号を検出する従局識別番号検出手段(12)と、 前記受信した従局識別番号に対して、当該通信システム
に接続可能な数の複数の従局を区別し得るビット数の従
局番号の1つを付与し、記憶する従局番号付与手段(1
1)とを備え、 前記送信手段(4)は、初期化時には、前記初期化信号
に対する各従局からの応答を受信すると、前記従局識別
番号、および、前記従局番号を当該従局に送信し、 各従局は、 主局に対して信号を送信する送信手段(9)と、主局か
らの信号を受信する受信手段(5)と、主局からの初期
化信号の受信を検出する初期化信号検出手段(14)と
、 初期化時に前記従局番号を受信して記憶する従局番号記
憶手段(13)と、 自局に付与された従局番号を付したタイミング信号を主
局から受信したとき、該主局に対して応答すべき応答デ
ータを発生する応答データ発生手段(6)と、 前記応答データの送信を設定された時間遅延させる応答
遅延手段(8)と、 前記初期化信号の受信時に、該初期化信号の受信後、主
局に対して応答するまでの応答時間としてのランダムデ
ータを発生して前記応答遅延手段(8)に設定し、且つ
、自局の従局識別番号としてランダムデータを発生して
送信するように制御するランダムデータ手段(15)と
を備えてなることを特徴とする通信システム。 2、前記初期化放送手段(10)は、所定の時間毎に、
前記初期化信号を送信する請求項1記載の通信システム
。 3、前記主局の送信手段(3)は、前記従局番号付与手
段(11)にて従局番号を付与して記憶している従局に
対して前記タイミング信号を送出し、 前記従局番号付与手段(11)は、前記タイミング信号
に対する応答が受信されない従局の従局番号の付与の記
憶は抹消する請求項1記載の通信システム。 4、前記従局は、各々、自局が初期化されているか否か
を記憶する初期化状態記憶手段を有する請求項1記載の
通信システム。 5、前記主局の送信手段(3)は、初期化信号に対する
応答として、前記従局識別番号記憶手段(12)に複数
の従局から同一の従局識別番号を受信したと記憶されて
いるときは、該受信には応答しない請求項1記載の通信
システム。 6、前記従局は、各々、初期化信号に対する応答信号は
、通常のタイミング信号に対する応答信号より短い信号
である請求項1記載の通信システム。 7、主局と複数の従局との間を伝送路により接続してな
り、主局から各従局に対してタイミング信号を与えるこ
とにより、該タイミング信号を与えられた従局が主局に
対して応答する通信システムにおいて、 前記主局は、 従局に対して信号を送信する送信手段(4)と、従局か
らの信号を受信する受信手段(5)と、初期化時に初期
化信号を接続する従局に放送形式で送出するように制御
する初期化放送手段(10)と、 初期化時において、前記初期化信号の送出時から該初期
化信号に対する応答信号の受信時までの応答遅延時間を
計時する応答遅延時間測定手段(1′)と、 前記応答遅延時間と所定の基準遅延時間との誤差を検出
して、該遅延時間の誤差を調整するように、当該従局に
対して誤差調整情報を送信させる従局設定遅延時間調整
制御手段(2′)と、前記初期化信号に対して従局から
送信された従局識別番号を検出する従局識別番号検出手
段(12)と、 前記受信した従局識別番号に対して、当該通信システム
に接続可能な数の複数の従局を区別し得るビット数の従
局番号の1つを付与し、記憶する従局番号付与手段(1
1)とを備え、 前記送信手段(4)は、初期化時には、前記初期化信号
に対する各従局からの応答を受信すると、前記従局識別
番号、前記従局番号、および、前記誤差調整情報を当該
従局に送信し、該初期化の後は、前記タイミング信号送
信時に前記従局番号を付して送信し、 各従局は、 主局に対して信号を送信する送信手段(9)と、主局か
らの信号を受信する受信手段(5)と、主局からの初期
化信号の受信を検出する初期化信号検出手段(14)と
、 初期化時に前記従局番号を受信して記憶する従局番号記
憶手段(13)と、 自局に付与された従局番号を付したタイミング信号を主
局から受信したとき、該主局に対して応答すべき応答デ
ータを発生する応答データ発生手段(6)と、 前記応答データの送信を設定された時間遅延させる応答
遅延手段(8)と、 前記主局から前記誤差調整情報を受信すると該誤差調整
情報に従って前記応答遅延手段(8)における設定時間
を調整する応答遅延時間調整手段(7)と、 前記初期化信号の受信時に、該初期化信号の受信後、主
局に対して応答するまでの応答時間としてのランダムデ
ータを発生して前記応答遅延手段(8)に設定し、且つ
、自局の従局識別番号としてランダムデータを発生して
送信するように制御するランダムデータ手段(15)と
を備えてなることを特徴とする通信システム。 8、前記初期化放送手段(10)は、所定の時間毎に、
前記初期化信号を送信する請求項7記載の通信システム
。 9、前記主局の送信手段(3)は、前記従局番号付与手
段(11)にて従局番号を付与して記憶している従局に
対して前記タイミング信号を送出し、 前記従局番号付与手段(11)は、前記タイミング信号
に対する応答が受信されない従局の従局番号の付与の記
憶は抹消する請求項7記載の通信システム。 10、前記従局は、各々、自局が初期化されているか否
かを記憶する初期化状態記憶手段を有する請求項7記載
の通信システム。 11、前記主局の送信手段(3)は、初期化信号に対す
る応答として、前記従局識別番号記憶手段(12)に複
数の従局から同一の従局識別番号を受信したと記憶され
ているときは、該受信には応答しない請求項7記載の通
信システム。 12、前記従局は、各々、初期化信号に対する応答信号
は、通常のタイミング信号に対する応答信号より短い信
号である請求項7記載の通信システム。
[Claims] 1. A master station and a plurality of slave stations are connected by a transmission path, and a timing signal is given from the master station to each slave station, so that the slave stations to which the timing signal is given can In a communication system that responds to a master station, the master station includes a transmitting means (4) for transmitting a signal to a slave station, a receiving means (5) for receiving a signal from the slave station, and a transmitting means (5) that is initialized at the time of initialization. Initialization broadcasting means (10) for controlling the signal to be transmitted in a broadcast format to connected slave stations; and slave station identification number detection means (12) for detecting the slave station identification number transmitted from the slave station in response to the initialization signal. ), and slave station number assigning means (1) for assigning and storing one slave station number having a number of bits capable of distinguishing a plurality of slave stations connectable to the communication system to the received slave station identification number.
1), when the transmitting means (4) receives a response from each slave station to the initialization signal at the time of initialization, transmits the slave station identification number and the slave station number to the slave station; The slave station includes a transmitting means (9) for transmitting a signal to the master station, a receiving means (5) for receiving a signal from the master station, and an initialization signal detection unit for detecting reception of an initialization signal from the master station. means (14); slave station number storage means (13) for receiving and storing the slave station number at the time of initialization; response data generation means (6) for generating response data to be responded to the station; response delay means (8) for delaying transmission of the response data for a set time; After receiving the initialization signal, generate random data as a response time until responding to the master station and set it in the response delay means (8), and also generate random data as the slave station identification number of the own station. A communication system comprising: random data means (15) for controlling the random data to be transmitted. 2. The initialization broadcasting means (10) performs the following at each predetermined time:
The communication system according to claim 1, wherein the initialization signal is transmitted. 3. The transmitting means (3) of the master station sends the timing signal to the slave station to which the slave station number has been assigned and stored by the slave station number assigning means (11), and the slave station number assigning means ( 11. The communication system according to claim 1, wherein in 11), the memory of assigning a slave station number to a slave station from which a response to the timing signal is not received is deleted. 4. The communication system according to claim 1, wherein each of said slave stations has initialization state storage means for storing whether or not its own station has been initialized. 5. When the transmitting means (3) of the master station stores in the slave station identification number storage means (12) that it has received the same slave station identification number from a plurality of slave stations as a response to the initialization signal, The communication system according to claim 1, wherein the communication system does not respond to said reception. 6. The communication system according to claim 1, wherein in each of the slave stations, a response signal to the initialization signal is a shorter signal than a response signal to a normal timing signal. 7. A master station and multiple slave stations are connected by a transmission path, and the master station gives a timing signal to each slave station, so that the slave stations given the timing signal respond to the master station. In the communication system, the master station includes a transmitting means (4) for transmitting a signal to the slave station, a receiving means (5) for receiving the signal from the slave station, and a means for connecting the initialization signal to the slave station at the time of initialization. Initialization broadcasting means (10) for controlling transmission in a broadcast format; and a response for measuring a response delay time from the time of transmitting the initialization signal to the time of receiving a response signal to the initialization signal at the time of initialization. delay time measuring means (1'); detecting an error between the response delay time and a predetermined reference delay time; and causing the slave station to transmit error adjustment information so as to adjust the error in the delay time. slave station setting delay time adjustment control means (2'); slave station identification number detection means (12) for detecting a slave station identification number transmitted from the slave station in response to the initialization signal; , slave station number assigning means (1
1); during initialization, upon receiving a response from each slave station to the initialization signal, the transmitting means (4) transmits the slave station identification number, the slave station number, and the error adjustment information to the slave station. After the initialization, when transmitting the timing signal, the slave station number is attached and transmitted, and each slave station has a transmitting means (9) for transmitting a signal to the master station, and a transmitting means (9) for transmitting a signal from the master station. receiving means (5) for receiving a signal; initialization signal detection means (14) for detecting reception of an initialization signal from the master station; and slave station number storage means (14) for receiving and storing the slave station number at the time of initialization. 13); and response data generating means (6) for generating response data to be responded to to the master station when a timing signal with a slave station number assigned to the own station is received from the master station; a response delay means (8) for delaying data transmission by a set time; and a response delay time for adjusting the set time in the response delay means (8) according to the error adjustment information upon receiving the error adjustment information from the main station. adjusting means (7), when receiving the initialization signal, generates random data as a response time from receiving the initialization signal until responding to the main station, and transmitting the random data to the response delay means (8); 1. A communication system comprising random data means (15) for controlling the setting and generating and transmitting random data as a slave station identification number of the own station. 8. The initialization broadcasting means (10), at predetermined time intervals,
The communication system according to claim 7, wherein the initialization signal is transmitted. 9. The transmitting means (3) of the master station sends the timing signal to the slave station to which the slave station number assigning means (11) assigns and stores the slave station number, and the slave station number assigning means ( 8. The communication system according to claim 7, wherein in the step 11), the memory of assigning a slave station number to a slave station from which a response to the timing signal is not received is deleted. 10. The communication system according to claim 7, wherein each of the slave stations has initialization state storage means for storing whether or not the slave station has been initialized. 11. When the transmitting means (3) of the master station stores that it has received the same slave station identification number from a plurality of slave stations in the slave station identification number storage means (12) as a response to the initialization signal, The communication system according to claim 7, which does not respond to said reception. 12. The communication system according to claim 7, wherein in each of the slave stations, a response signal to an initialization signal is a shorter signal than a response signal to a normal timing signal.
JP949590A 1990-01-20 1990-01-20 Communication system Pending JPH03216041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP949590A JPH03216041A (en) 1990-01-20 1990-01-20 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP949590A JPH03216041A (en) 1990-01-20 1990-01-20 Communication system

Publications (1)

Publication Number Publication Date
JPH03216041A true JPH03216041A (en) 1991-09-24

Family

ID=11721820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP949590A Pending JPH03216041A (en) 1990-01-20 1990-01-20 Communication system

Country Status (1)

Country Link
JP (1) JPH03216041A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013508871A (en) * 2009-10-27 2013-03-07 アルカテル−ルーセント Method, apparatus, and server for spreading file transfer notifications on time
US8657701B2 (en) 2008-11-21 2014-02-25 Nike, Inc. Golf club head or other ball striking device having stiffened face portion

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8657701B2 (en) 2008-11-21 2014-02-25 Nike, Inc. Golf club head or other ball striking device having stiffened face portion
JP2013508871A (en) * 2009-10-27 2013-03-07 アルカテル−ルーセント Method, apparatus, and server for spreading file transfer notifications on time

Similar Documents

Publication Publication Date Title
US4595921A (en) Method of polling to ascertain service needs
US5708831A (en) Method of bus address assignment
CN111083026A (en) Method for performing host-slave communication by using Modbus RTU standard protocol
US4564838A (en) Data communication network and method of communication
US7017067B2 (en) Method and bus system for synchronizing a data exchange between a data source and a control device
US8364457B2 (en) Simulation apparatus and method used for sensor network
JP6670851B2 (en) Network event timer optimization technology
JPH07112201B2 (en) Method and apparatus for assigning addresses to remote terminals in a LAN
US20050141555A1 (en) Method for generating commands for network controller modules of peripheral devices
JPH03216041A (en) Communication system
JP6762546B1 (en) Serial communication method and serial communication system
JP3611062B2 (en) Telemeter / telecontrol system
KR100597436B1 (en) Cycle time synchronization appparatus for wireless 1394 system and method therefor
JPH03190338A (en) Communication system
CN108628796A (en) A kind of serial communication method and system
JPH01289339A (en) Communication controller
US20220279322A1 (en) Identification and location of multiple personal area network devices
JP4254048B2 (en) Transmission system of digital protection relay system
JPH03177989A (en) Time recorder system
JP3161957B2 (en) Data transmission / reception method in time division multiple access system and time division multiple access system
JPH02312336A (en) Communication system
KR20030062473A (en) Ring Topology Network Design Method using Token Ring Medium Access Control Method and Full-Duplex Fast Ethernet Method
JP2576364B2 (en) Loop type transmission device
JP2022102051A (en) Communication terminal, base station, communication system, and control method
EP0735515A1 (en) Improvements in or relating to data transmission