【0001】[0001]
【発明の属する技術分野】本発明は、親局と複数の子局
とを接続し、親局がポーリング手段を利用して子局から
データを効率良く収集するデータ収集システム及びデー
タ収集方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data collection system and a data collection method in which a master station is connected to a plurality of slave stations, and the master station efficiently collects data from the slave stations using polling means.
【0002】[0002]
【従来の技術】図6はデータ収集システムの説明図であ
り、親局60と複数の子局61−1〜61−nとを伝送
路62により接続し、各子局61−1〜61−nのデー
タを親局60が収集するものである。各子局61−1〜
61−nは、図示を省略した各種センサやスイッチ等の
監視部の状態変化を検出したデータ(状変データ)を親
局60へ伝送路62を介して送出する。親局60は収集
したデータを保持し、子局又は子局が監視する部分に障
害が発生したか否か等の判定を含むデータ管理を行うも
のである。その場合、データを送出する子局が主導権を
もって親局60へデータを送出するコンテンション(c
ontention)方式と、親局60が主導権をもっ
て子局を順次指定し、指定された子局からデータを送出
するポーリング(polling)方式とがある。2. Description of the Related Art FIG. 6 is an explanatory diagram of a data collection system, in which a master station 60 and a plurality of slave stations 61-1 to 61-n are connected by a transmission line 62, and each slave station 61-1 to 61-n. The master station 60 collects n data. Each slave station 61-1
61-n sends out data (state change data) that detects a state change of a monitoring unit such as various sensors and switches (not shown) to the master station 60 via the transmission path 62. The master station 60 holds the collected data and performs data management including determination as to whether or not a fault has occurred in the slave station or a portion monitored by the slave station. In this case, the contention (c) in which the slave station that sends the data sends the data to the master station 60 with the initiative.
and a polling method in which the master station 60 sequentially designates slave stations with the initiative and transmits data from the designated slave station.
【0003】前者のコンテンション方式は、同時的に複
数の子局がデータを送出すると、伝送路62上に衝突が
発生するから、これを検出してランダム的な待ち時間後
に再送処理を行うものである。従って、データを送出す
る子局数が多数になると、スループットが著しく低下す
る。又後者のポーリング方式は、親局60から順次子局
を指定するポーリング信号を送出し、このポーリング信
号によって指定された子局は、前述の監視部の状態が変
化した時のデータ、即ち、状変データを送出するか、又
はその状態が変化しない場合の状変無しの応答を送出す
る。この場合、指定した子局からの状変データを受信完
了した後に、次の子局を指定するポーリング信号を送出
するから、状変データ送出の子局数が多くなるに従っ
て、一巡して再び同一の子局が指定されるまでに要する
時間が長くなる。即ち、親局60へ早急に送信する状変
データを送出する必要があっても、その状変データの送
出が遅れることになる。In the former contention method, when a plurality of slave stations transmit data at the same time, a collision occurs on the transmission line 62, and the collision is detected and a retransmission process is performed after a random waiting time. It is. Therefore, when the number of slave stations transmitting data is large, the throughput is significantly reduced. In the latter polling method, a polling signal for sequentially designating a slave station is transmitted from the master station 60, and the slave station specified by the polling signal transmits data when the state of the monitoring unit changes, that is, status. Either sends out modified data or sends out a response without state change when the state does not change. In this case, after completing the reception of the state change data from the designated slave station, a polling signal designating the next slave station is transmitted. The time required until a slave station is designated becomes longer. That is, even if it is necessary to send the state-change data to be transmitted to the master station 60 immediately, the transmission of the state-change data is delayed.
【0004】そこで、親局60から各子局61−1〜6
1−nに対して、同報通信を行う場合と同様の全子局6
1−1〜61−nに対する一斉ポーリング信号を送出す
る。各子局はこの一斉ポーリング信号の受信タイミング
を基準として、各子局61−1〜61−nに割り当てら
れたタイムスロットを用いて状変データ送出を行う。従
って、各子局61−1〜61−n対応のポーリング信号
を順次送出する手段に比較して、1回のポーリング信号
の送出で済むから、全体としてポーリング周期を短縮す
ることが可能となる。[0004] Therefore, each of the child stations 61-1 to 6-1 to 6-6
1-n for all slave stations 6 as in the case of performing broadcast communication.
A simultaneous polling signal is sent to 1-1 to 61-n. Each slave station transmits state change data using time slots allocated to the slave stations 61-1 to 61-n based on the reception timing of the simultaneous polling signal. Therefore, as compared with the means for sequentially transmitting the polling signals corresponding to the slave stations 61-1 to 61-n, only one polling signal need be transmitted, so that the polling cycle can be shortened as a whole.
【0005】[0005]
【発明が解決しようとする課題】前述の一斉ポーリング
信号を用いたデータ収集システムに於いては、順次子局
を指定するポーリング方式に比較して、ポーリング周期
を短くすることが可能となる。しかし、総ての子局にデ
ータ送出のタイムスロットを割り当てるものであるか
ら、順次子局を指定するポーリング方式に於ける状変無
しの短い応答を送出する子局数が多い場合に比較して、
ポーリング周期は余り短くはならない。即ち、早急に親
局へ送出すべき状変データがあっても、その子局の割り
当てタイムスロットの順番が回ってくるまでは、データ
送出の待ち合わせの時間が長くなる問題がある。In the data collection system using the simultaneous polling signal, the polling cycle can be shortened as compared with the polling method in which slave stations are sequentially specified. However, since data transmission time slots are allocated to all the slave stations, compared to the case where the number of slave stations sending short responses without any change in the polling method for sequentially specifying slave stations is large. ,
The polling cycle is not too short. That is, even if there is state change data to be sent to the master station immediately, there is a problem that the waiting time for sending data becomes longer until the order of assigned time slots of the slave station comes.
【0006】又親局60に於いては、各子局61−1〜
61−nからポーリングによって収集した状変データ等
を保持しているものであり、各子局61−1〜61−n
対応の状変データの信頼性を確保する必要がある。そこ
で、状変無しの子局に対しても、一定時間間隔で最新デ
ータとして収集することが考えられる。そこで、特定の
ポーリング信号を送出して、状変の有無に関係なく、各
子局61−1〜61−nのデータを、それぞれ割り当て
られたタイムスロットで送出する手段が考えられる。し
かし、親局60は、収集したデータが状変によるもので
あるか否かを子局対応にチェックする必要があり、親局
60の処理負担の増大をもたらす問題がある。In the master station 60, each of the slave stations 61-1 through 61-1
It stores state change data and the like collected by polling from 61-n.
It is necessary to ensure the reliability of the corresponding state change data. Therefore, it is conceivable to collect the latest data at a fixed time interval even for a slave station having no status change. Therefore, a means for transmitting a specific polling signal and transmitting the data of each of the slave stations 61-1 to 61-n in the assigned time slot, regardless of the presence or absence of the status change, can be considered. However, the master station 60 needs to check whether or not the collected data is due to the status change, corresponding to the slave station, and there is a problem that the processing load of the master station 60 increases.
【0007】又データ収集システムに於ける複数の子局
の中で、障害発生や不要になった子局を取り外したり、
或いは、新規に子局を追加接続する要望が発生する。子
局を取り外した場合は、その子局に割り当てられたタイ
ムスロットが無駄となる問題がある。反対に、子局を追
加接続する場合、先に取り外した子局が存在すれば、そ
の子局の割り当てタイムスロットを利用できるが、それ
以外の場合は、空きタイムスロットがないので、システ
ム全体を停止して、タイムスロットの増加等の処理が必
要となる。従って、システム停止が不可能の場合は、子
局の追加接続は不可能であった。[0007] Among a plurality of slave stations in the data collection system, a faulty or unnecessary slave station is removed,
Alternatively, a request to newly connect a new slave station occurs. When a slave station is removed, there is a problem that time slots allocated to the slave station are wasted. Conversely, when additional slave stations are connected, if the previously removed slave station exists, the assigned time slot of that slave station can be used; otherwise, there is no free time slot, so the entire system is stopped. Then, processing such as an increase in time slots is required. Therefore, when the system could not be stopped, additional connection of child stations was impossible.
【0008】本発明は、前述の従来の問題点を解決する
もので、ポーリングによるデータ収集を効率良く行い、
又子局の撤去,増設等も容易とすることを目的とする。[0008] The present invention solves the above-mentioned conventional problems, and efficiently collects data by polling.
The purpose is to facilitate removal and expansion of slave stations.
【0009】[0009]
【課題を解決するための手段】本発明のデータ収集シス
テムは、図1を参照して説明すると、複数の子局からの
データを親局で収集するデータ収集システムであって、
親局は、複数の子局に対する一斉ポーリング信号P1を
送出する手段と、この一斉ポーリング信号P1に対して
データ送出有りの応答送出子局を指定する指定ポーリン
グ信号P2を送出する手段とを有し、子局は、一斉ポー
リング信号P1の受信タイミングを基準にした自子局割
り当てのタイムスロットで、状変無しや状変有り等のデ
ータ送出の有無の応答を親局に送出する手段と、指定ポ
ーリング信号P2の受信タイミングを基準にして、指定
ポーリング信号による指定子局順番のタイムスロットに
データを送出する手段とを有するものである。A data collection system according to the present invention, which will be described with reference to FIG. 1, is a data collection system for collecting data from a plurality of slave stations at a master station,
The master station has means for sending a simultaneous polling signal P1 to a plurality of slave stations, and means for sending a designated polling signal P2 for designating a response sending slave station with data transmission in response to the simultaneous polling signal P1. The slave station sends a response to the master station in response to the presence or absence of data transmission such as no status change or status change in a time slot assigned to the local station based on the reception timing of the simultaneous polling signal P1; Means for transmitting data to time slots in the designated slave station order based on the designated polling signal based on the reception timing of the polling signal P2.
【0010】又親局は、一斉ポーリング信号P1に対す
る全子局からデータ送出無しの応答を受信した時は、次
の一斉ポーリング信号P1の送出制御を行い、データ送
出有りの応答を受信した時は、データ送出有り応答の総
ての子局を順番に指定した指定ポーリング信号P2の送
出制御を行う手段を含む制御処理部を備えている。When the master station receives a response to the simultaneous polling signal P1 from all the slave stations without data transmission, it performs transmission control of the next simultaneous polling signal P1. And a control processing unit including means for controlling transmission of a designated polling signal P2 in which all the slave stations in response to a data transmission response are designated in order.
【0011】又親局は、子局のデータ送出の有無の応答
を受信する為の一斉ポーリング信号P1に、この一斉ポ
ーリング信号P1送出毎に順次指定子局を変更し、デー
タ送出無し応答の指定子局からのデータを収集する手段
を備え、ポーリング周期より長い周期でデータ送出無し
の子局からのデータを親局で収集する。Further, the master station sequentially changes the designated slave station to the simultaneous polling signal P1 for receiving a response indicating whether or not data is sent from the slave station every time the simultaneous polling signal P1 is sent. A means for collecting data from the slave station is provided, and the master station collects data from the slave station without data transmission in a cycle longer than the polling cycle.
【0012】又子局は、親局からの一斉ポーリング信号
P1及び指定ポーリング信号P2とを受信識別する受信
処理部と、親局へ一斉ポーリング信号P1に対するデー
タ有無の応答の送出及び指定ポーリング信号P2に対す
るデータ送出を行う送出処理部と、受信処理部による一
斉ポーリング信号P1の受信タイミングを基準に自子局
の子局番号に従ったタイムスロット及び指定ポーリング
信号P2による自子局指定順番に従ったタイムスロット
を前記送出制御部に通知するタイムスロット制御部とを
含む構成を有するものである。The slave station receives a simultaneous polling signal P1 and a designated polling signal P2 from the master station, and receives and responds to the master station with a data presence / absence response to the simultaneous polling signal P1 and a designated polling signal P2. And a time slot according to the slave station number of the slave station and the slave station designation order according to the designated polling signal P2 based on the reception timing of the simultaneous polling signal P1 by the reception processing part. And a time slot control unit for notifying the transmission control unit of a time slot.
【0013】又本発明のデータ収集方法は、複数の子局
からのデータを親局で収集するデータ収集方法であっ
て、親局から複数の子局に対して一斉ポーリング信号P
1を送出する過程と、この一斉ポーリング信号P1によ
って複数の子局は、自子局番号に従った順番のタイムス
ロットにデータ送出有無の応答を送出する過程と、親局
は、データ送出有りの応答を送出した子局を指定する指
定ポーリング信号P2を送出する過程と、この指定ポー
リング信号P2により指定された子局は、指定順番に従
ったタイムスロットにデータを送出する過程とを含むも
のである。The data collection method according to the present invention is a data collection method in which data from a plurality of slave stations is collected by a master station. The master station sends a simultaneous polling signal P to a plurality of slave stations.
1; a plurality of slave stations sending a response indicating whether or not data is to be sent to the time slots in the order according to the own slave station number by the simultaneous polling signal P1; The process includes sending a designated polling signal P2 for designating a slave station that has sent a response, and sending the data to the slave station designated by the designated polling signal P2 in a time slot according to the designated order.
【0014】又本発明のデータ収集方法は、親局からの
一斉ポーリング信号P1に定常データを収集する子局を
指定し、この一斉ポーリング信号P1により指定された
子局は、一斉ポーリング信号P1に対して状態変化検出
によるデータの送出無しの応答を、自子局の子局番号に
従った順番のタイムスロットに送出すると共に、全子局
のデータ送出有無の送出のタイムスロットの後のタイム
スロットに定常データを送出する過程を含み、データ送
出無しの応答の子局が保持しているデータを、ポーリン
グ周期より長い周期で親局は収集する。Further, in the data collection method of the present invention, a slave station for which steady data is collected is specified in the simultaneous polling signal P1 from the master station, and the slave station specified by the simultaneous polling signal P1 is specified in the simultaneous polling signal P1. In response to this, a response indicating that no data is transmitted due to the status change detection is transmitted to the time slots in the order according to the local station number of the local station, and a time slot after the time slot for transmitting data for all the local stations. The master station collects the data held by the slave station in response to no data transmission in a period longer than the polling period.
【0015】又親局からの一斉ポーリング信号P1に対
して、接続を切り離して取り外す子局は、データ送出有
りの応答を、自子局の子局番号に従った順番のタイムス
ロットに送出し、親局からの指定ポーリング信号P2に
より指定された順番のタイムスロットに、子局取り外し
を示すデータを送出する過程を含み、親局は取り外し子
局を認識できる。In response to the simultaneous polling signal P1 from the master station, the slave station that disconnects and removes the connection sends a response indicating that data has been transmitted to the time slots in the order according to the slave station number of its own slave station. The process includes transmitting data indicating the removal of the slave station in the time slot in the order specified by the designated polling signal P2 from the master station, so that the master station can recognize the removed slave station.
【0016】又親局からの一斉ポーリング信号P1に対
して、複数の子局の子局番号に従って割り当てたタイム
スロットに、予備タイムスロットを設定し、増設する子
局は、一斉ポーリング信号P1を受信識別して、予備タ
イムスロットにデータ送出有りの応答を送出し、親局
は、予備タイムスロットによるデータ送出有りの応答を
受信して増設子局と判定し、且つ予備タイムスロットを
設定する過程を含むことができるもので、子局増設をシ
ステム停止することなく実行できる。A spare time slot is set in a time slot assigned according to the slave station numbers of a plurality of slave stations in response to the simultaneous polling signal P1 from the master station, and the additional slave station receives the simultaneous polling signal P1. Identifying, transmitting a response indicating that data is transmitted to the spare time slot, and receiving a response indicating that data is transmitted by the spare time slot, the master station determines that the slave station is an extension slave station, and sets a spare time slot. It is possible to execute the extension of the slave station without stopping the system.
【0017】[0017]
【発明の実施の形態】図1は本発明の第1の実施の形態
の説明図であり、親局と複数の子局1〜nとを、図示を
省略した伝送路で接続したデータ収集システムに於い
て、(A)は一斉ポーリング信号P1送出による状変の
有無応答、(B)は指定ポーリング信号P2送出による
状変データ送出の状態の概要を時間tの経過に従って示
す。即ち、親局は、全子局1〜nに対して一斉ポーリン
グ信号P1を送出する。又各子局1〜nは、例えば、連
続した子局番号を予め割り当てられており、この子局番
号を基に、送出タイムスロットを決定する。FIG. 1 is an explanatory diagram of a first embodiment of the present invention. A data collection system in which a master station and a plurality of slave stations 1 to n are connected by a transmission line (not shown). 5A shows a response to the presence / absence of a state change due to the simultaneous polling signal P1 transmission, and FIG. 6B shows an outline of a state change data transmission state due to the transmission of the designated polling signal P2 as time t elapses. That is, the master station sends the simultaneous polling signal P1 to all the slave stations 1 to n. Each of the slave stations 1 to n is assigned a continuous slave station number in advance, for example, and determines a transmission time slot based on the slave station number.
【0018】例えば、子局1〜nは、同一符号の子局番
号を付与されているとする。そして、図1の(A)に示
すように、親局は、全子局1〜nに対するポーリング信
号であることを示す種別情報S1を含むヘッダ部とデー
タ部とを有する一斉ポーリング信号P1を送出する。こ
の一斉ポーリング信号P1は、子局数に関係なく1回の
送出である。各子局1〜nは、この一斉ポーリング信号
P1を受信識別し、この一斉ポーリング信号P1の受信
タイミングを基準にして、自子局に割り当てられたタイ
ムスロット、例えば、子局番号の順番に従ったタイムス
ロットに、一斉ポーリング信号P1に対するデータ送出
の有無、例えば、センサやスイッチの状態変化の有無等
の状変有無の応答を送出する。For example, it is assumed that the slave stations 1 to n have the same slave station numbers. Then, as shown in FIG. 1 (A), the master station sends out a simultaneous polling signal P1 having a header part and a data part including type information S1 indicating that it is a polling signal for all the slave stations 1 to n. I do. This simultaneous polling signal P1 is transmitted once regardless of the number of slave stations. Each of the slave stations 1 to n receives and identifies the simultaneous polling signal P1, and follows the time slot assigned to its own slave station, for example, the order of the slave station number, based on the reception timing of the simultaneous polling signal P1. A response to the simultaneous polling signal P1 is sent to the time slot indicating whether or not data has been transmitted, for example, whether or not there is a change in the state of the sensor or switch.
【0019】例えば、子局番号33,85,167の子
局に状変有り、他の子局番号の子局は状変無しとし、状
変有無応答の送出タイムスロットの時間幅を1msとす
ると、一斉ポーリング信号P1の受信のタイミングを基
準として、例えば、子局番号1の子局1は、直ちに状変
無し応答を送出し、次の子局番号2の子局2は、一斉ポ
ーリング信号P1の受信タイミングから1ms後の送出
タイムスロットに状変無しの応答を送出する。そして、
例えば、子局番号33の子局33は、一斉ポーリング信
号P1の受信タイミングを基準として32ms後の送出
タイムスロットに状変有りの応答を送出する。このよう
にして、子局番号nの子局nは、(n−1)ms後の送
出タイムスロットに状変無しの応答を送出する。各子局
1〜nからの応答には、それぞれの子局番号を付加する
ものである。For example, assuming that a slave station with a slave station number of 33, 85, 167 has a state change, slave stations with other slave station numbers have no state change, and the time width of a time slot for sending a state change presence / absence response is 1 ms. On the basis of the timing of receiving the simultaneous polling signal P1, for example, the slave station 1 of the slave station number 1 immediately sends a response with no status change, and the slave station 2 of the next slave station number 2 transmits the simultaneous polling signal P1. Is transmitted in a transmission time slot 1 ms after the reception timing. And
For example, the slave station 33 of the slave station number 33 transmits a response indicating a state change in a transmission time slot 32 ms after the reception timing of the simultaneous polling signal P1. In this way, the slave station n of the slave station number n transmits a response without any change in the transmission time slot after (n-1) ms. The response from each of the slave stations 1 to n is to add the respective slave station number.
【0020】親局は、所定の順番のタイムスロットによ
る応答情報を受信処理し、状変有りの応答受信のタイム
スロットとそれに付加された子局番号とを基に、状変有
りの子局を確認する。又親局は、データ収集システムの
全子局数を管理しているから、一斉ポーリング信号P1
に対する状変有無の応答の受信完了を認識することがで
きる。この場合、〔応答のタイムスロット〕×〔子局
数〕の時間で一斉ポーリング信号P1に対する応答が終
了するから、短時間で済むことになる。The master station receives and processes the response information based on the time slots in a predetermined order, and identifies the slave station with the status change based on the response reception time slot with the status change and the slave station number added thereto. Confirm. Since the master station manages the total number of slave stations of the data collection system, the simultaneous polling signal P1
Can be recognized as having completed the reception of the response indicating the presence or absence of the status change. In this case, the response to the simultaneous polling signal P1 is completed in the time of [response time slot] × [number of slave stations], so that a short time is required.
【0021】又親局は、状変有無の応答の受信完了によ
り、データ送出有り応答、即ち、状変有り応答の子局を
確認する。例えば、状変有りの応答受信の順番が33番
目,85番目、167番目で、それぞれ子局番号33,
85,167が付加されている場合、次に、状変有りの
子局からのデータを収集する為に、子局を指定するポー
リング信号である種別情報S2を含むヘッダ部と、状変
有り応答子局を指定する指定子局番号33,85,16
7を含むデータ部とからなる指定ポーリング信号P2を
送出する。The master station confirms the data transmission response, that is, the slave station having the status change response, upon completion of the reception of the status change response. For example, the order of receiving the response with the status change is the 33rd, 85th, and 167th, and the slave station numbers 33 and
In the case where 85 and 167 are added, next, in order to collect data from the slave station having the status change, a header portion including the type information S2 which is a polling signal designating the mobile station, and a status change response Designated slave station numbers 33, 85, 16 for specifying slave stations
7 is sent out.
【0022】この場合、各子局1〜nは、指定ポーリン
グ信号P2であることを種別情報S2によって識別し、
データ部に付加されている指定子局番号が自子局番号で
あるか否かを識別する。従って、指定子局番号33,8
5,167により指定された子局33,85,167
は、状変データ送出タイムスロットの時間を例えば50
msに割り当てた場合、子局33は、指定子局番号33
により自子局が指定されたことを認識し、且つ1番目で
あることにより、この指定ポーリング信号P2の受信タ
イミングを基に、直ちに状変データを送出する。又子局
85は、指定子局番号85により自子局が指定されたこ
とを認識すると共に2番目に指定されているから、指定
ポーリング信号P2の受信タイミングを基準にして、5
0ms後に状変データを送出する。同様に、子局167
は、指定子局番号167が3番目であるから、指定ポー
リング信号P2の受信タイミングを基準にして100m
s後に、状変データを送出する。なお、状変データにも
それぞれの子局番号を付加する。In this case, each of the slave stations 1 to n identifies the designated polling signal P2 by the type information S2,
It identifies whether or not the designated slave station number added to the data part is the own slave station number. Therefore, the designated slave station numbers 33, 8
Slave station 33, 85, 167 designated by 5,167
Means that the time of the status change data transmission time slot is, for example, 50
ms, the slave station 33 becomes the designated slave station number 33.
, The status change data is immediately transmitted based on the reception timing of the specified polling signal P2. The slave station 85 recognizes that its own slave station has been designated by the designated slave station number 85 and is designated secondly.
The state change data is transmitted after 0 ms. Similarly, slave station 167
Is 100 m based on the reception timing of the designated polling signal P2 because the designated slave station number 167 is the third.
After s, the state change data is transmitted. Note that each slave station number is also added to the status change data.
【0023】親局は、指定ポーリング信号P2により指
定した子局からの状変データの収集終了を確認すると、
(A)について説明した一斉ポーリング信号P1送出の
シーケンスに移行する。前述のように、一斉ポーリング
信号P1により各子局の状変の有無を問い合わせる為に
要する時間は非常に短くても良く、且つデータ収集シス
テム内の全子局が正常であれば、応答を必ず受信するこ
とができる。従って、親局に於いて全子局の正常性の確
認を一斉ポーリング信号P1の送出によって確認するこ
とができる。又指定ポーリング信号P2によって状変デ
ータ送出の子局のみを指定するから、無駄なタイムスロ
ットを確保する必要がなく、データ収集を効率良く実行
することができる。When the master station confirms the end of collecting state change data from the slave station designated by the designated polling signal P2,
The process shifts to the sequence of transmitting the simultaneous polling signal P1 described in (A). As described above, the time required for inquiring of the status change of each slave station by the simultaneous polling signal P1 may be very short, and if all slave stations in the data collection system are normal, a response must be sent. Can be received. Therefore, in the master station, the normality of all the slave stations can be confirmed by transmitting the simultaneous polling signal P1. Further, since only the slave station for transmitting the state-change data is designated by the designated polling signal P2, there is no need to secure a useless time slot, and data collection can be performed efficiently.
【0024】図2は本発明の実施の形態の親局と子局と
の機能ブロック図を示し、20は親局、21は制御処理
部、22はメモリ、23はP1送出処理部、24はP2
送出処理部、25は受信処理部、26はインタフェース
部、30は子局、31は制御処理部、32は設定部、3
3は送出制御部、34はタイムスロット制御部、35は
受信処理部、36はインタフェース部を示す。FIG. 2 is a functional block diagram of a master station and slave stations according to the embodiment of the present invention. Reference numeral 20 denotes a master station, 21 denotes a control processing section, 22 denotes a memory, 23 denotes a P1 transmission processing section, and 24 denotes a P1 transmission processing section. P2
A transmission processing unit, 25 is a reception processing unit, 26 is an interface unit, 30 is a slave station, 31 is a control processing unit, 32 is a setting unit,
Reference numeral 3 denotes a transmission control unit, 34 denotes a time slot control unit, 35 denotes a reception processing unit, and 36 denotes an interface unit.
【0025】親局20と複数の子局30とが伝送路によ
って接続されて、データ収集システムを構成するもので
あり、親局20は、子局対応の収集データを格納するメ
モリ22と、各部を制御する制御処理部21と、一斉ポ
ーリング信号P1の送出制御を行うP1送出処理部23
と、指定ポーリング信号P2の送出制御を行うP2送出
処理部24と、子局からのデータを受信処理する受信処
理部25と、伝送路との間のインタフェース部26とを
含む構成を有する。A master station 20 and a plurality of slave stations 30 are connected by a transmission line to constitute a data collection system. The master station 20 includes a memory 22 for storing collected data corresponding to the slave station, And a P1 transmission processing unit 23 that controls transmission of the simultaneous polling signal P1.
, A P2 transmission processing unit 24 that controls transmission of the designated polling signal P2, a reception processing unit 25 that performs reception processing of data from the slave station, and an interface unit 26 with a transmission path.
【0026】又伝送路に接続された複数の子局30は、
ほぼ同一の機能を有するものであり、各部を制御する制
御処理部31と、子局番号等を設定する設定部32と、
応答や状変データを送出する送出処理部33と、応答や
状変データを送出するタイムスロットを制御するタイム
スロット制御部34と、ポーリング信号等の受信処理を
行う受信処理部35と、伝送路との間のインタフェース
部36とを含む構成を有する。A plurality of slave stations 30 connected to the transmission line
A control processing unit 31 having almost the same functions and controlling each unit, a setting unit 32 for setting a slave station number and the like,
A transmission processing unit 33 for transmitting a response or status change data, a time slot control unit 34 for controlling a time slot for transmitting the response or status change data, a reception processing unit 35 for performing reception processing of a polling signal or the like, And an interface unit 36 between them.
【0027】親局20の制御処理部21とP1送出処理
部23が、複数の子局に対する一斉ポーリング信号P1
を送出する手段に相当し、制御処理部21とP2送出処
理部24が、一斉ポーリング信号P1に対してデータ送
出有りの応答送出子局を指定する指定ポーリング信号を
送出する手段に相当する。又受信処理部25と制御処理
部21とが、子局からのデータ送出有無の応答の受信及
びデータの受信を行う手段に相当する。The control processing unit 21 and the P1 transmission processing unit 23 of the master station 20 transmit the simultaneous polling signals P1 to a plurality of slave stations.
The control processing unit 21 and the P2 transmission processing unit 24 correspond to means for transmitting a designated polling signal for designating a response transmission slave station with data transmission in response to the simultaneous polling signal P1. Further, the reception processing unit 25 and the control processing unit 21 correspond to a unit that receives a response indicating whether data is transmitted from a slave station and receives data.
【0028】又子局30の制御処理部31と受信処理部
35とにより、親局20からの一斉ポーリング信号P1
と指定ポーリング信号P2との受信手段を構成し、又タ
イムスロット制御部34と送出処理部33とにより、一
斉ポーリング信号P1の受信タイミングを基準にした自
子局割り当てのタイムスロットでデータ送出の有無の応
答を親局20に送出する手段と、指定ポーリング信号P
2の受信タイミングを基準にして、指定ポーリング信号
P2による指定子局の順番のタイムスロットにデータを
送出する手段とを構成している。The control processing unit 31 and the reception processing unit 35 of the slave station 30 use the simultaneous polling signal P1 from the master station 20.
The time slot control unit 34 and the transmission processing unit 33 determine whether data is transmitted in a time slot assigned to the local station based on the reception timing of the simultaneous polling signal P1. Means for transmitting the response to the master station 20 and the designated polling signal P
Means for transmitting data to the time slots in the order of the designated slave stations based on the designated polling signal P2 based on the reception timing of No. 2.
【0029】従って、タイムスロット制御部34は、例
えば、図示を省略したクロック信号をカウントするカウ
ンタにより構成し、一斉ポーリング信号P1の受信タイ
ミングでリセットしてクロック信号のカウントを開始
し、自子局番号と状変有無応答送出タイムスロット時間
幅とに対応したカウント内容となった時に、自子局のタ
イムスロットとすることができる。又指定ポーリング信
号P2の受信タイミングでリセットしてクロック信号の
カウントを開始し、指定子局順番と状変データ送出タイ
ムスロット時間幅とに対応したカウント内容となった時
に、データ送出タイムスロットとすることができる。Therefore, the time slot control section 34 is constituted by, for example, a counter which counts a clock signal (not shown), resets at the reception timing of the simultaneous polling signal P1, and starts counting the clock signal. When the count content corresponding to the number and the status change response transmission time slot time width is reached, the time slot of the own station can be set. At the reception timing of the designated polling signal P2, the counting is started by resetting the clock signal. When the count corresponding to the designated slave station order and the time slot data transmission time slot time width is reached, the data transmission time slot is set. be able to.
【0030】又子局30の制御処理部31は、自子局に
接続されたセンサやスイッチ等の監視部分の状態変化を
検出し、状態変化があった場合の状変データを親局20
へ送出する制御も行うものであり、従って、この状変デ
ータの送出の有無を判定し、その状変有無の応答情報を
作成して送出処理部33に転送する。又設定部32に設
定された子局番号をタイムスロット制御部34に通知
し、タイムスロット制御部34は、子局番号を基に、一
斉ポーリング信号P1の受信タイミングを基準にして、
自子局の送出タイムスロットを判定し、送出処理部33
に通知して、状変有無の応答情報をインタフェース部3
6を介して伝送路に送出する。The control processing unit 31 of the slave station 30 detects a change in the state of a monitoring part such as a sensor or a switch connected to the slave station, and changes the state change data when there is a state change to the master station 20.
Therefore, the presence / absence of the transmission of the state change data is determined, response information indicating the presence / absence of the state change is generated, and the response information is transmitted to the transmission processing unit 33. Also, the slave station number set in the setting unit 32 is notified to the time slot control unit 34, and the time slot control unit 34 uses the slave station number as a reference based on the reception timing of the simultaneous polling signal P1.
The transmission time slot of the own station is determined, and the transmission processing unit 33 is determined.
To the interface unit 3
6 to the transmission path.
【0031】親局20は、この状変有無の応答情報をイ
ンタフェース部26を介して受信処理部25で受信処理
し、子局対応の状変有無を制御処理部21に通知する。
制御処理部21は、データ収集システム内の子局数を認
識しているから、全子局からの状変有無の応答受信の終
了を判定することができる。そして、制御処理部21
は、受信終了により、全子局から状変無しの応答を受信
すると、次の一斉ポーリング信号P1の送出シーケンス
に移行する。又状変有り応答を受信すると、その子局番
号をP2送出処理部24に通知する。P2送出処理部2
4は、種別情報S2を含むヘッダ部と、状変有りの子局
番号を含むデータ部とからなる指定ポーリング信号P2
を生成し、インタフェース部26を介して伝送路に送出
する。The master station 20 receives the response information on the presence / absence of the state change in the reception processing section 25 via the interface section 26 and notifies the control processing section 21 of the presence / absence of the state change corresponding to the slave station.
Since the control processing unit 21 recognizes the number of slave stations in the data collection system, the control processing unit 21 can determine the end of the reception of the status change response from all the slave stations. Then, the control processing unit 21
When receiving a response indicating no change in status from all the slave stations upon completion of reception, the process proceeds to the transmission sequence of the next simultaneous polling signal P1. When receiving the status change response, it notifies the P2 transmission processing unit 24 of the slave station number. P2 transmission processing unit 2
Reference numeral 4 denotes a designated polling signal P2 including a header section including type information S2 and a data section including a slave station number having a status change.
Is transmitted to the transmission line via the interface unit 26.
【0032】子局30は、指定ポーリング信号P2をイ
ンタフェース部36を介して受信処理部35で受信し、
ヘッダ部の種別情報S2により指定ポーリング信号P2
であることを識別すると、データ部に自子局番号が指定
子局番号として付加されているか否かを判定し、付加さ
れていない場合は、この指定ポーリング信号P2を無視
する。又自子局番号が指定子局番号として付加されてい
る場合は、タイムスロット制御部34を起動し、且つ制
御処理部31に指定ポーリング信号P2によって指定さ
れたことを通知し、且つ指定順番も通知する。The slave station 30 receives the designated polling signal P2 at the reception processing unit 35 via the interface unit 36,
The polling signal P2 specified by the type information S2 in the header section
, It is determined whether or not the own slave station number is added to the data portion as the designated slave station number. If not, the designated polling signal P2 is ignored. When the own slave station number is added as the designated slave station number, the time slot control section 34 is activated, the control processing section 31 is notified that the designated slave station number is designated by the designated polling signal P2, and the designated order is also changed. Notice.
【0033】制御処理部31は、状変データ送出と、そ
の指定順番とをタイムスロット制御部34に通知し、且
つ状変データを送出制御部33に転送する。タイムスロ
ット制御部34は、状変データ送出時に割り当てられる
タイムスロットの時間幅と指定順番とを基に、状変デー
タ送出のタイムスロットに、送出処理部33を制御し
て、状変データをインタフェース部36を介して伝送路
に送出する。The control processing unit 31 notifies the time slot control unit 34 of the state change data transmission and the designated order, and transfers the state change data to the transmission control unit 33. The time slot control unit 34 controls the transmission processing unit 33 to the time slot for transmitting the status change data based on the time width of the time slot allocated at the time of transmitting the status change data and the designated order, and transmits the status change data to the interface. The data is transmitted to the transmission path via the unit 36.
【0034】親局20は、インタフェース部26を介し
て受信処理部25で子局からの状変データを受信し、制
御処理部21に転送する。制御処理部21は、受信した
状変データを基に、子局対応のメモリ22の内容を更新
する。又制御処理部21は、状変有りの子局を認識して
指定ポーリング信号P2を送出するものであるから、状
変データの収集終了を判定することができる。従って、
収集終了により、例えば、一斉ポーリング信号P1の送
出シーケンスに移行することができる。The master station 20 receives the state change data from the slave station at the reception processing unit 25 via the interface unit 26 and transfers the data to the control processing unit 21. The control processing unit 21 updates the content of the memory 22 corresponding to the slave station based on the received state change data. Further, since the control processing unit 21 recognizes the slave station having the status change and transmits the designated polling signal P2, it can determine the end of the status change data collection. Therefore,
Upon completion of the collection, for example, it is possible to shift to the transmission sequence of the simultaneous polling signal P1.
【0035】図3は本発明の第2の実施の形態の説明図
であり、親局は、一斉ポーリング信号P1の送出毎に、
指定した1子局の状変無しの場合のデータを収集する場
合を示す。即ち、親局は、データ部に指定子局番号を付
加した一斉ポーリング信号P1であることを示す種別情
報S3をヘッダ部に付加して送出する。この場合、子局
局番号3の子局が指定されたことを示し、他の子局は、
状変有無の応答を、それぞれの子局番号対応の割り当て
タイムスロットで送出する。前述のように、状変有無応
答送出タイムスロットの時間幅を1msとした場合を示
す。FIG. 3 is an explanatory diagram of the second embodiment of the present invention. In the master station, every time the simultaneous polling signal P1 is transmitted,
This shows a case in which data is collected when there is no change in the status of one specified child station. That is, the master station adds the type information S3 indicating the simultaneous polling signal P1 in which the designated slave station number is added to the data section to the header section and transmits the header section. In this case, it indicates that the slave station with the slave station number 3 has been designated, and the other slave stations
The response of the status change is transmitted in the assigned time slot corresponding to each slave station number. As described above, the case where the time width of the status change response transmission time slot is 1 ms is shown.
【0036】そして、指定された子局3が状変無しの場
合に、全子局の状変有無の応答送出後に、状変有無応答
タイムスロット時間幅とは異なるタイムスロットの時間
幅を、例えば、時間幅50msに設定して、定常データ
を送出する。即ち、子局に於いて状態変化の有無を判定
する為のデータを保持しており、状態変化が生じない場
合の保持データを定常データとし、状態変化した時のデ
ータを状変データとするものである。この場合の子局3
が状変有りの場合は、この定常データは送出しない。即
ち、状変有りの応答を送出することにより、親局は、定
常データを受信処理する必要がなく、且つ一斉ポーリン
グ信号P1送出後の指定ポーリング信号P2によって状
変有りの子局3が指定され、それによって、子局3の状
変データを送出する。Then, when the designated slave station 3 has no state change, after sending a response indicating the state change presence / absence of all the slave stations, the time width of the time slot different from the state change presence / absence response time slot time width is set, for example. , The time width is set to 50 ms, and the stationary data is transmitted. That is, data for judging the presence or absence of a state change is held in the slave station, and the held data when no state change occurs is regarded as steady data, and the data when the state changes is regarded as state change data. It is. Slave station 3 in this case
Does not send out this steady data. In other words, by transmitting the response with the status change, the master station does not need to receive and process the steady data, and the slave station 3 with the status change is designated by the designated polling signal P2 after the simultaneous polling signal P1 is sent. Thereby, the status change data of the slave station 3 is transmitted.
【0037】この一斉ポーリング信号P1による状変有
無の応答の受信後、状変有りの子局を指定する指定ポー
リング信号P2の送出により状変データの収集を行う
が、全子局が状変無しの場合、次の一斉ポーリング信号
P1を送出する時に、子局3の次の子局4をデータ部に
よって指定する。これを順次繰り返すことにより、状変
無しの応答を送出した子局を順次指定して定常データを
収集し、親局に於ける子局対応のデータの信頼性を確保
することができる。After receiving the response to the presence / absence of the state change by the simultaneous polling signal P1, the state change data is collected by transmitting the designated polling signal P2 for specifying the slave station having the state change. In the case of (1), when the next simultaneous polling signal P1 is transmitted, the slave station 4 next to the slave station 3 is designated by the data section. By repeating this process sequentially, the slave stations that have sent the response with no status change are sequentially designated to collect steady data, and the reliability of data corresponding to the slave station in the master station can be ensured.
【0038】図4は本発明の第3の実施の形態の説明図
であり、図1について説明したように、図4の(A)は
一斉ポーリング信号P1を送出し、各子局から状変有無
の応答を送出する場合を示す。但し、子局30を取り外
す場合を示し、取り外し対象の子局30は、自子局対応
のタイムスロットに状変有りの応答を送出する。親局
は、状変有りの応答を受信することにより、前述のよう
に、子局30を指定した指定ポーリング信号P2を送出
する。子局30は、自子局が指定されていることによ
り、子局30対応のタイムスロットで状変データにより
子局取り外しを親局へ通知する。FIG. 4 is an explanatory diagram of the third embodiment of the present invention. As described with reference to FIG. 1, FIG. 4A transmits a simultaneous polling signal P1 and each slave station changes its state. A case where a response indicating presence / absence is transmitted is shown. However, this shows a case where the slave station 30 is to be removed, and the slave station 30 to be removed sends a response indicating a state change to a time slot corresponding to its own slave station. The master station receives the response indicating that there is a state change, and sends out the designated polling signal P2 designating the slave station 30 as described above. Since the slave station 30 is designated, the slave station 30 notifies the master station of the removal of the slave station by state change data in the time slot corresponding to the slave station 30.
【0039】親局は、この子局取り外しのデータを受信
すると、次の一斉ポーリング信号P1によって、全子局
に取り外し子局番号を通知する。即ち、図4の(B)に
示すように、一斉ポーリングであり、且つ子局取り外し
通知の種別情報S4をヘッダ部に付加し、データ部に取
り外し子局の子局番号30を付加した一斉ポーリング信
号P1を送出する。When the master station receives the data of the slave station removal, it notifies all slave stations of the slave station number by the next simultaneous polling signal P1. That is, as shown in FIG. 4 (B), simultaneous polling is performed. In addition, simultaneous polling is performed by adding the type information S4 of the slave station removal notification to the header part and adding the slave station number 30 of the slave station removed to the data part. The signal P1 is transmitted.
【0040】各子局は、種別情報S4が付加された一斉
ポーリング信号P1に従って状変有無の応答を送出する
ものであるが、データ部に付加された子局番号と自子局
の子局番号とを比較し、例えば、取り外し子局番号30
以下の子局番号の子局はそのままであるが、取り外し子
局番号30以上の子局番号の子局は、自子局の番号を繰
り下げる。即ち、いままで子局番号31の子局は、子局
番号を30とし、同様に、いままで子局番号nの子局
は、子局番号を(n−1)とする。又親局に於いても、
データ収集システムの子局数をnから(n−1)に変更
して、次回移行のポーリング処理を行う。従って、子局
を取り外しても、無駄なタイムスロットが生じないこと
になる。Each slave station sends a response indicating the presence or absence of a state change according to the simultaneous polling signal P1 to which the type information S4 is added. The slave station number added to the data portion and the slave station number of its own slave station are transmitted. And, for example, the detached child station number 30
The slave stations with the following slave station numbers remain as they are, but the slave stations with slave station numbers of 30 or more are removed from the own slave station. That is, the slave station having the slave station number 31 has the slave station number 30 and the slave station having the slave station number n has the slave station number (n-1). Also at the parent station,
The number of slave stations of the data collection system is changed from n to (n-1), and polling processing for the next shift is performed. Therefore, even if the slave station is removed, no useless time slot is generated.
【0041】図5は本発明の第4の実施の形態の説明図
であり、(A)に示すように、親局は、前述のように、
一斉ポーリング信号P1を送出するものであるが、その
場合のデータ収集システムの全子局1〜nに対する状変
有無の応答の送出タイムスロットに予備を設け、親局は
状変有無応答送出タイムスロット数をn+1として管理
する。又各子局1〜nは、図1について説明した場合と
同様にして、状変有無の応答を送出する。FIG. 5 is an explanatory diagram of the fourth embodiment of the present invention. As shown in FIG.
A simultaneous polling signal P1 is transmitted. In this case, a spare is provided in a transmission time slot for a response to the presence or absence of a status change to all the slave stations 1 to n of the data collection system, and the parent station transmits a time slot to transmit a status change response. The number is managed as n + 1. Each of the slave stations 1 to n sends a response indicating the presence or absence of a state change in the same manner as described with reference to FIG.
【0042】このデータ収集システムに、図5の(B)
に示すように、子局を増設する場合、この子局の増設前
の全子局数がn個であることが判るから、増設する子局
は、子局番号を(n+1)とする。例えば、図2の子局
30の設定部32に子局番号(n+1)を設定する。そ
して、親局との間の伝送路に接続し、この親局からの一
斉ポーリング信号P1を受信識別し、その受信タイミン
グを基準にして、前述のように1msのタイムスロット
の場合に、nmsのタイムスロットを、状変有無応答送
出タイムスロットとして、状変有りの応答を送出する。FIG. 5B shows an example of the data collection system.
As shown in (1), when adding a slave station, it is known that the total number of slave stations before the addition of the slave station is n. Therefore, the slave station number to be added is (n + 1). For example, a slave station number (n + 1) is set in the setting unit 32 of the slave station 30 in FIG. Then, it is connected to the transmission line with the master station, receives and identifies the simultaneous polling signal P1 from this master station, and based on the reception timing, as described above, in the case of a 1 ms time slot, nms The time slot is used as a status change presence / absence response transmission time slot, and a status change response is transmitted.
【0043】親局は、全子局数を管理しており、状変有
無の応答タイムスロット数は、全子局数より1個多いも
ので、通常は無応答となるものであるが、状変有りの応
答を受信することにより、子局が追加接続されたことを
認識できる。そして、親局は、図5の(C)に示すよう
に、次の一斉ポーリング信号P1に対する状変有無の応
答タイムスロット数を(n+2)とし、最後のタイムス
ロットを予備とする。この実施の形態に於ける予備のタ
イムスロットは、1ms程度の時間幅であるから、全体
のポーリング周期に及ぼす影響は無視できる程度とな
る。又システム動作を停止することなく、順次子局を増
設することが可能となる。The master station manages the total number of slave stations, and the number of response time slots for the presence / absence of status change is one more than the total number of slave stations, and normally there is no response. By receiving the response with the change, it is possible to recognize that the child station has been additionally connected. Then, as shown in FIG. 5C, the master station sets (n + 2) the number of response time slots for the presence / absence of a state change to the next simultaneous polling signal P1, and sets the last time slot as a spare. Since the spare time slot in this embodiment has a time width of about 1 ms, the effect on the entire polling cycle is negligible. Also, it is possible to sequentially add slave stations without stopping the system operation.
【0044】又増設した子局の子局番号は、増設前の最
後の子局番号に+1した番号となるが、増設子局が希望
する子局番号とすることも可能である。例えば、前述の
予備タイムスロットにより増設を親局へ通知すると共に
希望子局番号を通知する。親局は、一斉ポーリング信号
P1に、種別情報として、子局番号訂正を指示する内容
を含ませ、データ部に増設子局の希望子局番号を付加す
る。各子局は、この一斉ポーリング信号P1の種別情報
に従って、この希望子局番号と等しいかそれより大きい
子局番号の場合に、自子局番号を+1する。従って、希
望子局番号は空きとなり、この番号を増設子局に割り付
けることができる。The slave station number of the expanded slave station is a number obtained by adding +1 to the last slave station number before the expansion, but may be a slave station number desired by the expanded slave station. For example, the extension is notified to the master station by the above-mentioned spare time slot and the desired slave station number is also notified. The master station adds, to the simultaneous polling signal P1, the content for instructing the slave station number correction as type information, and adds the desired slave station number of the added slave station to the data section. According to the type information of the simultaneous polling signal P1, each slave station increments its own slave station number by one when the slave station number is equal to or larger than the desired slave station number. Accordingly, the desired slave station number becomes empty, and this number can be assigned to the additional slave station.
【0045】[0045]
【発明の効果】以上説明したように、本発明は、親局
に、複数の子局に対する一斉ポーリング信号P1を送出
する手段と、この一斉ポーリング信号P1に対してデー
タ送出有りの応答送出子局を指定する指定ポーリング信
号P2を送出する手段とを設け、子局に、一斉ポーリン
グ信号P1の受信タイミングを基準にした自子局割り当
てのタイムスロットで、状変無しや状変有り等のデータ
送出の有無の応答を親局に送出する手段と、指定ポーリ
ング信号P2の受信タイミングを基準にして、指定ポー
リング信号による指定子局順番のタイムスロットにデー
タを送出する手段とを設け、子局からのデータ送出有無
応答は、短い時間で済むから、子局数が多い場合でも、
全子局からのデータ送出有無応答の収集に要する時間は
短くて済み、又データ送出を必要とする子局からのみデ
ータを収集する為のタイムスロットを割り当てることが
できるから、全体のポーリング周期を短くして、各子局
から迅速に必要なデータを収集することができる利点が
ある。As described above, according to the present invention, the means for transmitting the simultaneous polling signal P1 to a plurality of slave stations to the master station, and the response sending slave station with data transmission to the simultaneous polling signal P1. Means for transmitting a designated polling signal P2 for designating the time slot assigned to the local station based on the reception timing of the simultaneous polling signal P1. Means for sending a response to the presence / absence to the master station, and means for sending data to the time slots in the order of the designated slave stations based on the designated polling signal based on the reception timing of the designated polling signal P2. Since the data transmission response is a short time, even if the number of slave stations is large,
The time required for collecting the data transmission response from all the slave stations is short, and a time slot for collecting data only from the slave stations that need data transmission can be allocated. There is an advantage that it can be shortened and required data can be quickly collected from each slave station.
【0046】又一斉ポーリング信号P1に対して全子局
が応答するから、少なくとも全子局の通信機能の正常性
を確認することができる。又一斉ポーリング信号P1に
定常データ収集の為の子局を、ポーリング周期毎に変更
してデータ収集を行うことにより、データ送出無しの応
答が長期間継続する子局のデータの正常性を確認するこ
とができる。この場合、全子局のデータ送出有無応答送
出タイムスロットに対して、1子局に対するデータ送出
のタイムスロット時間幅が追加されることになるが、こ
れによるポーリング周期も、全子局に対してデータ送出
タイムスロットを割り当てる場合に比較して著しく短く
することができる。Since all slave stations respond to the simultaneous polling signal P1, it is possible to confirm at least the normality of the communication function of all slave stations. Also, by changing the slave station for steady data collection to the simultaneous polling signal P1 every polling cycle and performing data collection, it is possible to confirm the normality of data of the slave station in which a response without data transmission continues for a long time. be able to. In this case, the time slot time width for data transmission to one slave station is added to the data transmission presence / absence response transmission time slot for all slave stations. This can be significantly shortened as compared with the case where the data transmission time slot is allocated.
【0047】又子局の取り外しの場合、一斉ポーリング
信号P1に対する状変有無応答を状変有りと、親局から
の指定ポーリング信号P2により指定された時に、取り
外しを親局に通知するだけで、取り外し子局は、伝送路
から切り離して撤去することができる。そして、他の子
局は、次の一斉ポーリング信号P1によって通知される
取り外し子局番号を基に、自子局の子局番号を修正する
ことができるから、システム動作を停止することなく、
子局の取り外しが可能となる。In the case of detaching the slave station, when the response to the simultaneous polling signal P1 is specified by the designated polling signal P2 from the master station, the removal is simply notified to the master station. The detached slave station can be detached from the transmission path and removed. The other slave station can correct the slave station number of the own slave station based on the detached slave station number notified by the next simultaneous polling signal P1, so that the system operation is not stopped.
The slave station can be removed.
【0048】又全子局に対する状変有無応答タイムスロ
ットに1個の予備タイムスロットを設けるだけで、シス
テム動作を停止することなく、この予備タイムスロット
を用いて親局に増設子局有りを通知することができる。Further, only one spare time slot is provided in the status change response time slot for all the slave stations, and the presence of an additional slave station is notified to the master station using this spare time slot without stopping the system operation. can do.
【図1】本発明の第1の実施の形態の説明図である。FIG. 1 is an explanatory diagram of a first embodiment of the present invention.
【図2】本発明の実施の形態の親局と子局との機能ブロ
ック図である。FIG. 2 is a functional block diagram of a master station and slave stations according to the embodiment of the present invention.
【図3】本発明の第2の実施の形態の説明図である。FIG. 3 is an explanatory diagram of a second embodiment of the present invention.
【図4】本発明の第3の実施の形態の説明図である。FIG. 4 is an explanatory diagram of a third embodiment of the present invention.
【図5】本発明の第4の実施の形態の説明図である。FIG. 5 is an explanatory diagram of a fourth embodiment of the present invention.
【図6】データ収集システムの説明図である。FIG. 6 is an explanatory diagram of a data collection system.
P1 一斉ポーリング信号 P2 指定ポーリング信号 20 親局 21 制御処理部 22 メモリ 23 P1送出処理部 24 P2送出処理部 25 受信処理部 26 インタフェース部 30 子局 31 制御処理部 32 設定部 33 送出処理部 34 タイムスロット制御部 35 受信処理部 36 インタフェース部 P1 simultaneous polling signal P2 designated polling signal 20 master station 21 control processing unit 22 memory 23 P1 transmission processing unit 24 P2 transmission processing unit 25 reception processing unit 26 interface unit 30 slave station 31 control processing unit 32 setting unit 33 transmission processing unit 34 time Slot control unit 35 Reception processing unit 36 Interface unit
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000391908AJP2002199473A (en) | 2000-12-25 | 2000-12-25 | Data collection system and data collection method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000391908AJP2002199473A (en) | 2000-12-25 | 2000-12-25 | Data collection system and data collection method |
| Publication Number | Publication Date |
|---|---|
| JP2002199473Atrue JP2002199473A (en) | 2002-07-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000391908APendingJP2002199473A (en) | 2000-12-25 | 2000-12-25 | Data collection system and data collection method |
| Country | Link |
|---|---|
| JP (1) | JP2002199473A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1505773A3 (en)* | 2003-08-06 | 2006-10-04 | Mitsumi Electric Co., Ltd. | Master slave communication system, device and method |
| JP2006303933A (en)* | 2005-04-21 | 2006-11-02 | Seiko Instruments Inc | Security system, and slave station management method |
| JP2007513579A (en)* | 2003-12-01 | 2007-05-24 | カーディナル ヘルス 303、インコーポレイテッド | System and method for network discovery and connection management |
| JP2007515883A (en)* | 2003-12-05 | 2007-06-14 | カーディナル ヘルス 303、インコーポレイテッド | Discovery and connection management by mobile system manager |
| JP2009049924A (en)* | 2007-08-22 | 2009-03-05 | Fujitsu Ltd | Beacon wireless communication device |
| JP2010036638A (en)* | 2008-08-01 | 2010-02-18 | Nippon Signal Co Ltd:The | Transponder device and transponder system |
| JP2015056715A (en)* | 2013-09-11 | 2015-03-23 | 田淵電機株式会社 | Communication apparatus, communication method, and power conditioner |
| WO2023206526A1 (en)* | 2022-04-29 | 2023-11-02 | 西门子股份公司 | Wlan communication method, access point, client, computing device and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1505773A3 (en)* | 2003-08-06 | 2006-10-04 | Mitsumi Electric Co., Ltd. | Master slave communication system, device and method |
| US7356018B2 (en) | 2003-08-06 | 2008-04-08 | Mitsumi Electric Co., Ltd. | Communication system, communication device, and communication method |
| JP2007513579A (en)* | 2003-12-01 | 2007-05-24 | カーディナル ヘルス 303、インコーポレイテッド | System and method for network discovery and connection management |
| JP2007515883A (en)* | 2003-12-05 | 2007-06-14 | カーディナル ヘルス 303、インコーポレイテッド | Discovery and connection management by mobile system manager |
| JP2006303933A (en)* | 2005-04-21 | 2006-11-02 | Seiko Instruments Inc | Security system, and slave station management method |
| JP2009049924A (en)* | 2007-08-22 | 2009-03-05 | Fujitsu Ltd | Beacon wireless communication device |
| JP2010036638A (en)* | 2008-08-01 | 2010-02-18 | Nippon Signal Co Ltd:The | Transponder device and transponder system |
| JP2015056715A (en)* | 2013-09-11 | 2015-03-23 | 田淵電機株式会社 | Communication apparatus, communication method, and power conditioner |
| WO2023206526A1 (en)* | 2022-04-29 | 2023-11-02 | 西门子股份公司 | Wlan communication method, access point, client, computing device and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| US6680903B1 (en) | Network system, network terminal, and method for specifying location of failure in network system | |
| US10588173B2 (en) | Wi-Fi mesh fire detection system | |
| JPH0548610A (en) | Radio communication system | |
| JP2002199473A (en) | Data collection system and data collection method | |
| KR0129174B1 (en) | Process for monitoring a computer | |
| JP6181462B2 (en) | Wireless disaster prevention system | |
| JP3633550B2 (en) | Data communication system, data communication method and station | |
| JP2008228046A (en) | Failure diagnosis system and failure diagnosis method for wireless network | |
| JP3384430B2 (en) | Network system | |
| JP3412556B2 (en) | Communication system and method, and communication station device | |
| JP3395897B2 (en) | Centralized fault monitoring method | |
| JP2714709B2 (en) | Wireless security system with periodic transmission monitoring function | |
| JP3419979B2 (en) | Device state management method and data communication system | |
| JPH0630009A (en) | Master backup method for ring LAN | |
| JP5441144B2 (en) | Report receiving system, report receiving method, and report receiving program | |
| JP2011118800A (en) | Radio disaster prevention system and sensor node | |
| JPH04260242A (en) | Monitor information collecting system | |
| JP2757700B2 (en) | Condition monitoring system | |
| JP2025125471A (en) | Partial network redundancy device and network system | |
| JPH07288530A (en) | Cyclic communication method | |
| JP2000358055A (en) | Method for specifying fault location in network system, network system and network terminal | |
| JP2024004705A (en) | Network system and its control method | |
| JPH1042353A (en) | Wireless communication system | |
| JP2005294943A (en) | Radio slave unit, radio master unit and specific low power radio two-way communication system | |
| JP2006319568A (en) | Fault notification method and communication system |