JPS634379B2 - - Google Patents

Info

Publication number
JPS634379B2
JPS634379B2 JP13145680A JP13145680A JPS634379B2 JP S634379 B2 JPS634379 B2 JP S634379B2 JP 13145680 A JP13145680 A JP 13145680A JP 13145680 A JP13145680 A JP 13145680A JP S634379 B2 JPS634379 B2 JP S634379B2
Authority
JP
Japan
Prior art keywords
station
slave
master
time
line
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.)
Expired
Application number
JP13145680A
Other languages
Japanese (ja)
Other versions
JPS5757057A (en
Inventor
Masamichi Iwama
Satoru Tsushima
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 JP13145680A priority Critical patent/JPS5757057A/en
Publication of JPS5757057A publication Critical patent/JPS5757057A/en
Publication of JPS634379B2 publication Critical patent/JPS634379B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling

Landscapes

  • Small-Scale Networks (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)

Description

【発明の詳細な説明】 本発明は局番号自動収集方式に関し、例えばデ
ータ伝送システムにおいて親局が複数の子局の局
番号情報等を自動的に収集するための方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an automatic station number collection system, and more particularly, to a system for a master station to automatically collect station number information, etc. of a plurality of slave stations in a data transmission system, for example.

一般に、データ伝送システム等において、親局
がサービス開始に先だち該親局に接続された子局
の局番号等の情報を保有しておくことが必要とさ
れる。
Generally, in a data transmission system or the like, it is necessary for a master station to hold information such as the station number of a slave station connected to the master station before starting a service.

従来、データ伝送システム等においては、各子
局に予め設定されている子局番号が親局にも登録
されているため、子局番号をデータ伝送サービス
開始に先だち初期的に収集することなしにデータ
伝送を開始していた。したがつて、親局から各局
にポーリングを行なう時に上記の登録された子局
番号が局アドレスとしてポーリング情報に付加し
ていた。
Conventionally, in data transmission systems, etc., the slave station number preset for each slave station is also registered in the master station, so there is no need to initially collect the slave station number before starting the data transmission service. Data transmission was starting. Therefore, when polling each station from the master station, the registered slave station number is added to the polling information as the station address.

しかしながら、前述の従来形においては、親局
に接続される回線が多分岐型マルチドロツプ回線
方式で構成され該回線に収容される子局数が多い
場合であつて、かつ子局の収容あるいは未収容状
態が変化する場合においては、これらの子局に関
する局番号等の情報を予め親局に登録し管理する
ことがきわめて煩雑になるという不都合があつ
た。
However, in the conventional type described above, when the line connected to the master station is configured in a multi-branch type multi-drop line system and a large number of slave stations can be accommodated on the line, and the slave station is accommodated or not accommodated. When the number of slave stations changes, there is an inconvenience that it becomes extremely complicated to register and manage information such as station numbers regarding these slave stations in advance in the master station.

本発明の目的は、前述の従来形における問題点
にかんがみ、データ伝送システム等における局番
号自動収集方式において、親局からの初期設定コ
マンドを受けた各子局が該子局に設定された固有
の局番号にもとづいて定められた遅延時間の後に
局番号情報を返送するという構想にもとづき、親
局が多数の子局の局番号を自動的に収集すること
を可能にし、かつ子局の収容あるいは未収容状態
が変化しても迅速に該情報を収集管理できるよう
にすることにある。
SUMMARY OF THE INVENTION In view of the above-mentioned problems with the conventional type, an object of the present invention is to provide a station number automatic collection method in a data transmission system, etc., in which each slave station that receives an initial setting command from a master station has a unique Based on the idea that the station number information is returned after a predetermined delay time based on the station number of the master station, it is possible for the master station to automatically collect the station numbers of a large number of slave stations, and to determine whether the slave stations are accommodated or not. To enable quick collection and management of information even if accommodation conditions change.

本発明は、親局に接続された回線に複数の子局
が接続されてなる通信システムにおける局番号自
動収集方式において、親局から該回線に対して送
出した局番号収集のための初期設定ポーリング・
コマンドに対して、該コマンドを受信した子局が
自局に予め設定されている局番号にもとづいて定
められた遅延時間後に自局の局番号を示す応答情
報を返送し、それにより親局が各子局の局番号を
順次に収集することを特徴とする。
The present invention relates to an automatic station number collection method in a communication system in which a plurality of slave stations are connected to a line connected to a master station, in which initial setting polling for collecting station numbers sent from the master station to the line is performed.・
In response to the command, the slave station that received the command returns response information indicating the station number of its own station after a delay time determined based on the station number preset for the own station. It is characterized by sequentially collecting the station numbers of each slave station.

以下図面を用いて本発明の実施例を説明する。
第1図は、本発明の方式を実施するためのデータ
伝送システムの1例を示す。同図において、親局
MSには最大M方路への分岐回線L1ないしLMが接
続され、各々の分岐回線L1ないしLMにはそれぞ
れ最大N局の子局S11,S12……,S1NないしSM1
SM2,……SMNがマルチドロツプ即ち複数接続さ
れている。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 shows an example of a data transmission system for implementing the method of the present invention. In the figure, the master station
A branch line L 1 to L M to a maximum of M routes is connected to the MS, and each branch line L 1 to L M has a maximum of N slave stations S 11 , S 12 ..., S 1N to S M1 ,
S M2 , . . . S MN are multi-dropped, that is, a plurality of them are connected.

第2図は、第1図のシステムにおける各子局の
構成を概略的に示す。同図において、回線分岐部
1は分岐回線Lnに各子局をマルチドロツプさせ
るための接続用装置であり、回線制御部2はデー
タの送受信に必要な制御を行なう装置である。情
報処理部3は子局として必要な情報処理を行なう
装置であり、情報設定部4は子局番号など子局機
能に必要なパラメータを操作するための装置であ
る。
FIG. 2 schematically shows the configuration of each slave station in the system of FIG. 1. In the figure, a line branching unit 1 is a connection device for multi-dropping each slave station onto a branch line L n , and a line control unit 2 is a device that performs control necessary for transmitting and receiving data. The information processing section 3 is a device that performs information processing necessary for a slave station, and the information setting section 4 is a device for operating parameters necessary for the slave station function, such as a slave station number.

本発明においては上述のようなデータ伝送シス
テムを用いることにより、第3図に示される手順
で子局番号の収集を行なう。例えば、第m番目の
分岐回線Lnに接続された最大N局の子局からの
局番号を収集する場合は、親局MSは第m番目の
分岐回線Lnに対する初期設定コマンドを含むポ
ーリング情報を送出する。該分岐回線Lnに接続
されている子局Sno(n=1,2,……,N)は、
この初期設定コマンドを受信した場合、自局に予
め設定されている局番号(Snoとする)から自局
の応答情報を送出するタイミング時間twoを算出
し、該初期設定コマンドの受信時点からtwo時間
後に自局番号Snoを付与した応答情報を親局に返
送する。一方、親局MSでは各子局からの応答情
報を最大N局分受信するまで受信を続ける。しか
し、該当回線LnにN局の子局が全て接続されて
ないことも考えられるため、予め最大待時間Tw
を設定し、Tw時間待つてもN局分の応答情報が
受信されない場合はTw時間経過時点で第m番目
の分岐回線Lnに対する初期設定ポーリングを終
了する。同様にして、次の分岐回線、例えば第m
+1番目の分岐回線Ln+1からの子局番号等の収
集が行なわれる。このようにして親局MSは各分
岐回線に接続されている全ての子局の局番号を自
動的に収集することができる。
In the present invention, by using the data transmission system as described above, slave station numbers are collected in accordance with the procedure shown in FIG. For example, when collecting station numbers from up to N slave stations connected to the m-th branch line L n , the master station MS collects polling information including the initial setting command for the m-th branch line L n . Send out. The slave stations S no (n=1, 2, ..., N) connected to the branch line L n are:
When this initial setting command is received, the timing time t wo for transmitting the response information of the own station is calculated from the station number preset for the own station (supposed to be S no ), and from the time of receiving the initial setting command. After two hours, response information with own station number S no is sent back to the master station. On the other hand, the master station MS continues to receive response information from each slave station until it receives response information from a maximum of N stations. However, since it is possible that all of the N slave stations are not connected to the corresponding line L n , the maximum waiting time T w
If the response information for N stations is not received even after waiting T w time, the initial setting polling for the m-th branch line L n is finished when the T w time has elapsed. Similarly, the next branch line, e.g.
The slave station number, etc. from the +1st branch line L n+1 is collected. In this way, the master station MS can automatically collect the station numbers of all slave stations connected to each branch line.

上述における各子局からの応答情報送出タイミ
ング時間twoの算出は、自局番号Snoが各子局に固
有のものであることを利用して以下の算出式を用
いて行なう。
The above-mentioned calculation of the response information transmission timing time two from each slave station is performed using the following calculation formula, taking advantage of the fact that the own station number S no is unique to each slave station.

two=Sno×(tR+td)+T0 ……(1) ここに、tRは子局から親局に局番号応答情報を伝
送するに必要な時間であり、tdは各局からの応答
情報フレーム間の衝突を防止するために設けられ
る一定の遅延時間であり、T0は固定遅延時間で
ある。例えば、回線のデータ伝送速度が
2400bit/Sで応答情報フレーム長が32bitの場合
はtR≒13.4nsとなる。また、tdは各子局からの応
答情報フレーム間の衝突を防止するためにはtR
2ないしtR程度の時間に設定すれば充分であるか
ら、td=10nsとする。また、T0は親局から全子局
へのコマンド伝送時間としてT0=20nsに設定す
る。したがつて、各子局の応答情報の送出タイミ
ング時間twoは各子局の局番号Sno(n=1,2,
……,N)に対応して次式によつて求められる。
t wo = S no × (t R + t d ) + T 0 ...(1) Here, t R is the time required to transmit the station number response information from the slave station to the master station, and t d is the time required to transmit the station number response information from each station. is a fixed delay time provided to prevent collisions between response information frames, and T 0 is a fixed delay time. For example, the data transmission speed of the line is
When the response information frame length is 32 bits at 2400 bit/S, t R ≈13.4 ns . In addition, t d is t R / to prevent collisions between response information frames from each slave station.
Since it is sufficient to set the time to about 2 to t R , t d is set to 10 ns . Further, T 0 is set to T 0 =20 ns as the command transmission time from the master station to all slave stations. Therefore, the transmission timing time t wo of the response information of each slave station is determined by the station number S no (n=1, 2,
..., N) by the following formula.

two=43.4,66.8, ……(2) 第4図は、上述の各タイミングによつて親局が
子局番号の収集を行なう場合の時間関係を示す時
間図である。第4図に示すように、親局からの初
期設定コマンド(ISコマンド)を受信した各子局
が、該コマンドの受信後、各子局に固有の局番号
Snoにもとづいて算出した時間twoの後に各子局が
応答情報を送出するから、各々の応答情報が互に
衝突することなく親局に順次伝送される。
t wo =43.4, 66.8, ...(2) FIG. 4 is a time diagram showing the time relationship when the master station collects slave station numbers at each of the above-mentioned timings. As shown in Figure 4, each slave station that has received the initial setting command (IS command) from the master station assigns a station number unique to each slave station after receiving the command.
Since each slave station transmits response information after the time two calculated based on S no , each response information is sequentially transmitted to the master station without colliding with each other.

なお、各子局の局番号は通常は全子局数を表わ
すに必要な桁数よりもかなり桁数が大きくなつて
いる。これは局番号が各子局に対応する追番部分
の他の各子局の種類等を表わす局管理番号部分を
含むためである。このように局番号の桁数が大き
い場合は、各子局からの応答情報タイミング時間
twoが不必要に大きくなることを防止するため、
式(1)におけるSnoとして局番号の内の追番部分等
のみを用いることができる。
Note that the station number of each slave station usually has a considerably larger number of digits than the number of digits necessary to represent the total number of slave stations. This is because the station number includes a station management number part representing the type of each slave station in addition to the serial number part corresponding to each slave station. If the number of digits in the station number is large like this, the response information timing time from each slave station is
To prevent t wo from becoming unnecessarily large,
Only the serial number part of the station number can be used as S no in equation (1).

また、各子局において時間twoを設定するため
のタイマーの時間精度は子局間の送信タイミング
間隔tdに影響を与えるが、該精度は各子局からの
応答情報の衝突を防止できる範囲、例えばtd/2
以下の時間誤差に設定すればよい。これは各々の
時間tR,tdおよびT0が方式パラメータとして予め
知ることができるので各子局での設定は容易であ
る。
Furthermore, the time accuracy of the timer for setting the time t wo at each slave station affects the transmission timing interval t d between slave stations, but this accuracy is within the range that can prevent collisions of response information from each slave station. , for example t d /2
It is sufficient to set the time error as shown below. Since the respective times t R , t d and T 0 can be known in advance as system parameters, the setting at each slave station is easy.

さらに、上述においては親局が各子局の局番号
を収集する場合を述べたが、本発明は局番号以外
の情報を収集する場合にも適用できることは明ら
かである。また、本発明は第1図に示すような複
数の分岐回線を有する場合に限定されず、分岐回
線数が1の場合、即ち通常のマルチドロツプ回線
構成においても適用できることは明らかである。
Furthermore, although the case where the master station collects the station number of each slave station has been described above, it is clear that the present invention can also be applied to the case where information other than the station number is collected. Furthermore, it is clear that the present invention is not limited to the case where there are a plurality of branch lines as shown in FIG. 1, but can also be applied to a case where the number of branch lines is one, that is, a normal multi-drop line configuration.

このように本発明によれば、予め親局において
子局の局番号を登録管理する必要がなく、自動的
に子局番号を収集できるため、親局において予め
子局番号を登録管理する負担が軽減される。ま
た、本発明によれば、子局の収容あるいは稼動状
態に応じて任意の時点で局番号の収集管理を行な
うことが可能である。
As described above, according to the present invention, there is no need for the master station to register and manage the station numbers of the slave stations in advance, and the slave station numbers can be automatically collected. Reduced. Furthermore, according to the present invention, it is possible to collect and manage station numbers at any time depending on the accommodation or operating status of slave stations.

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

第1図は、本発明の方式を実施するための通信
システムの構成を示す概略的ブロツク回路図、第
2図は、第1図のシステムにおける子局の構成を
示すブロツク回路図、第3図は、第1図のシステ
ムの動作手順を説明するための流れ図、そして第
4図は、第1図のシステムにおける各信号の時間
関係を示す時間図である。 MS……親局、L1,……LM……分岐回線、S11
S12,……,S1N,SM1,SM2,……,SMN……子局、
1……回線分岐部、2……回線制御部、3……情
報処理部、4……情報設定部。
FIG. 1 is a schematic block circuit diagram showing the configuration of a communication system for implementing the method of the present invention, FIG. 2 is a block circuit diagram showing the configuration of a slave station in the system of FIG. 1, and FIG. is a flowchart for explaining the operating procedure of the system of FIG. 1, and FIG. 4 is a time diagram showing the time relationship of each signal in the system of FIG. MS...Main station, L1 ,... LM ...Branch line, S11 ,
S 12 , ..., S 1N , S M1 , S M2 , ..., S MN ...Slave station,
1... Line branching unit, 2... Line control unit, 3... Information processing unit, 4... Information setting unit.

Claims (1)

【特許請求の範囲】[Claims] 1 親局に接続された回線に複数の子局が接続さ
れてなる通信システムにおける局番号自動収集方
式において、親局から該回線に対して送出した局
番号収集のための初期設定ポーリング・コマンド
に対して、該コマンドを受信した子局が自局に予
め設定されている局番号にもとづいて定められた
遅延時間後に自局の局番号を示す応答情報を親局
に返送し、それにより親局が各子局の局番号を順
次に収集することを特徴とする局番号自動収集方
式。
1. In a station number automatic collection method in a communication system in which multiple slave stations are connected to a line connected to a master station, the default polling command for station number collection sent from the master station to the line is In response, the slave station that received the command returns response information indicating its own station number to the master station after a delay time determined based on the station number preset for the own station, and thereby An automatic station number collection method characterized by sequentially collecting the station numbers of each slave station.
JP13145680A 1980-09-24 1980-09-24 System for automatic gathering of office number Granted JPS5757057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13145680A JPS5757057A (en) 1980-09-24 1980-09-24 System for automatic gathering of office number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13145680A JPS5757057A (en) 1980-09-24 1980-09-24 System for automatic gathering of office number

Publications (2)

Publication Number Publication Date
JPS5757057A JPS5757057A (en) 1982-04-06
JPS634379B2 true JPS634379B2 (en) 1988-01-28

Family

ID=15058375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13145680A Granted JPS5757057A (en) 1980-09-24 1980-09-24 System for automatic gathering of office number

Country Status (1)

Country Link
JP (1) JPS5757057A (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4638313A (en) * 1984-11-08 1987-01-20 Spacelabs, Inc. Addressing for a multipoint communication system for patient monitoring
JPS61176224A (en) * 1985-01-31 1986-08-07 Pioneer Electronic Corp On-vehicle acoustic device
US4661902A (en) * 1985-03-21 1987-04-28 Apple Computer, Inc. Local area network with carrier sense collision avoidance
JPS62239640A (en) * 1986-04-10 1987-10-20 Nec Corp Data collecting system
JPS62269436A (en) * 1986-05-16 1987-11-21 Nec Corp Self-diagnosis module constituting system
CA2078561A1 (en) * 1990-03-20 1991-09-21 Jay Cauthern Mcmullan, Jr. Cable television radio frequency return method
JPH04832A (en) * 1990-04-18 1992-01-06 Yamatake Honeywell Co Ltd Communication address recognizing device
JP3590387B2 (en) 2001-11-01 2004-11-17 株式会社東芝 Communication device and program
JP3872368B2 (en) 2002-03-27 2007-01-24 インターナショナル・ビジネス・マシーンズ・コーポレーション Information processing apparatus, network configuration method including the information processing apparatus, and program for the network configuration method
JP4641746B2 (en) * 2004-06-08 2011-03-02 東京電力株式会社 Automatic meter reading system

Also Published As

Publication number Publication date
JPS5757057A (en) 1982-04-06

Similar Documents

Publication Publication Date Title
US4177450A (en) Process and method to initiate a receiving and transmitting station linked by a connecting channel of an information exchange system consisting of several transmitting and receiving stations
CA1172719A (en) Distributed-structure message switching system on random-access channel for message dialogue among processing units
JPS634379B2 (en)
JP2003272079A (en) Sensor network
US4807231A (en) Multiplex communication method
US5243335A (en) Local area network system
GB2120502A (en) Time-locking method for stations which form part of a local loop network and local loop network for performing this time-locking method
JPH0338783B2 (en)
US4901311A (en) Communication method and equipment therefor
JPS59122257A (en) Polling method
JPS6342920B2 (en)
JPH0122300Y2 (en)
JPH08129563A (en) Time setting system for decentralized control system
JP2655002B2 (en) Sensing vehicle signal transmission method
JP2754818B2 (en) Collection data transfer method
JPS5946144B2 (en) data transmission equipment
JPS593641Y2 (en) data transmission equipment
JPS645498B2 (en)
JPH03154539A (en) Supervisor communication system
JPS589620B2 (en) Peer communication system
JPS5975734A (en) Transmission line access device
JPH06104907A (en) Polling system
JPH11122249A (en) Remote control system and remote control method
JPS59188257A (en) Signal transmission system
JPS59117352A (en) Communication system using bus