JPH11178067A - Network system - Google Patents

Network system

Info

Publication number
JPH11178067A
JPH11178067A JP9343212A JP34321297A JPH11178067A JP H11178067 A JPH11178067 A JP H11178067A JP 9343212 A JP9343212 A JP 9343212A JP 34321297 A JP34321297 A JP 34321297A JP H11178067 A JPH11178067 A JP H11178067A
Authority
JP
Japan
Prior art keywords
station
address
slave station
frame
polling
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.)
Granted
Application number
JP9343212A
Other languages
Japanese (ja)
Other versions
JP3443826B2 (en
Inventor
Minoru Oka
実 岡
Manabu Yamamoto
学 山元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP34321297A priority Critical patent/JP3443826B2/en
Publication of JPH11178067A publication Critical patent/JPH11178067A/en
Application granted granted Critical
Publication of JP3443826B2 publication Critical patent/JP3443826B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To inform a manager or a worker of the existence of a slave station with duplicate addresses by having the operation of the slave station stopped with the duplicated addresses. SOLUTION: A host station 11 and a master station 11 are connected to a wired communication LAN and the master station 11, and plural slave stations (12) are interconnected by a radio communication LAN. The master station 11 sends to the slave station 12 a duplicated registration check polling frame that has a destination address set by the user and that has each unique address of each slave station 12 in capable of being set by the user. Receiving the duplicate registration check polling frame, the slave station 12 reads the destination address and the unique addresses in the duplicate registration check polling frame. When the destination address is the same but the unique addresses are different, the slave station 12 stops its operation, regarding the addresses of its own station as being a duplicate.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ホスト局および親
局が有線通信LANに接続され、また、前記親局と複数
の子局が無線通信LANで接続されて構成されたネット
ワークシステムに関する。
The present invention relates to a network system in which a host station and a master station are connected to a wired communication LAN, and the master station and a plurality of slave stations are connected by a wireless communication LAN.

【0002】[0002]

【従来の技術】従来、無線通信LANは、有線通信LA
Nに比べ、データ通信に関して信頼性が低いため、簡単
なデータ伝送には利用できても高信頼性を要求する制御
機器間のデータ伝送には利用されるまでには至っていな
かった。
2. Description of the Related Art Conventionally, a wireless communication LAN is a wired communication LA.
N, the reliability of data communication is lower than that of N, so that it can be used for simple data transmission but has not been used for data transmission between control devices requiring high reliability.

【0003】しかしながら、近年、スペクトラム拡散方
式,誤り訂正技術等の無線技術の進歩により、データ伝
送の信頼性が目覚ましく向上し、また、下記の理由によ
り、無線通信LANを使用したネットワークシステムが
製造現場に導入され、普及するようになってきている。
[0003] However, in recent years, the reliability of data transmission has been remarkably improved due to advances in wireless technologies such as a spread spectrum system and an error correction technology, and a network system using a wireless communication LAN has been developed at a manufacturing site for the following reasons. It has been introduced and spread.

【0004】トータルリードタイムを短縮する。 施工工事費を削減する。 頻繁なラインレイアウト変更に伴うコストを削減す
る。 移動体,回転体,稼動等の制限が機器にあるため、通
信ケーブルの敷設が困難である。
[0004] The total lead time is reduced. Reduce construction costs. Reduce costs associated with frequent line layout changes. Since there are restrictions on the moving body, the rotating body, the operation, and the like, it is difficult to lay communication cables.

【0005】例えば、図11に示すようなネットワーク
システムが、製造現場に導入され、普及されつつある。
For example, a network system as shown in FIG. 11 has been introduced at a manufacturing site and is becoming popular.

【0006】このネットワークシステムは、リモートI
/O親局としてのプログラマブルコントローラ(PL
C)50,親局51とが接続されたリモートI/Oネッ
トワーク60からなる有線通信LANと、親局51と子
局52間を無線でデータを送受信する無線通信LANと
で構成されている。
[0006] This network system uses a remote I
Programmable controller (PL
C) A wired communication LAN including a remote I / O network 60 to which the master station 51 is connected, and a wireless communication LAN for wirelessly transmitting and receiving data between the master station 51 and the slave station 52.

【0007】しかも、この無線通信LANおよび有線通
信LANは、採用される通信方式として、プログラマブ
ルコントローラ50が所定時間内にサイクリック処理を
繰り返す必要があるため、通信サイクルが定義でき、か
つ、データ伝送時間が保証できるポーリング・セレクテ
イングン方式、またはトークン・パッシングが採用され
ている。
[0007] In addition, the wireless communication LAN and the wired communication LAN require a programmable controller 50 to repeat cyclic processing within a predetermined time as a communication method to be adopted, so that a communication cycle can be defined and data transmission can be performed. The polling / selecting method that can guarantee the time or the token passing is adopted.

【0008】そして、親局51は、子局52とデータを
送受信する際に、予めネットワークに加入する子局52
を確認したのち、制御情報等のデータを送受信するよう
になっている。
When transmitting / receiving data to / from the slave station 52, the master station 51 pre-joins the network to the slave station 52.
After confirming the above, data such as control information is transmitted and received.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、製造現
場に導入され,普及されてきた無線通信LANを有する
ネットワークシステムでは、親局51が受信する子局5
1からのデータとして、一番強い電波強度のもののみを
受信するので、アドレスの重複を検出することが実質上
不可能であった。
However, in a network system having a wireless communication LAN which has been introduced and spread at a manufacturing site, the slave station 5 which the master station 51 receives is not used.
Since only the data with the highest radio wave intensity is received as data from 1, it was virtually impossible to detect duplication of addresses.

【0010】このため、製造現場に導入され,普及され
てきた上述したようなネットワークシステムでは、重複
したアドレスを有する状態のまま稼働することになり、
親局51から送信されてきたデータが機器を制御するI
/Oデータである場合には、正常に製造ラインが稼働し
なくなるばかりでなく、機器の暴走等により重大な事故
につながりかねないという問題点があった。
[0010] For this reason, the above-described network system which has been introduced and spread at the manufacturing site operates in a state having an overlapping address.
The data transmitted from the master station 51 controls the device.
In the case of / O data, not only does the production line not operate normally, but also there is a problem that a serious accident may be caused due to a runaway of the equipment.

【0011】ここで、無線通信LANでは、アドレスの
重複を検出することが実質上不可能であることを、例え
ば、Aの子局52とBの子局52とが重複してアドレス
が設定されている場合を例に取り説明する。
Here, in the wireless communication LAN, the fact that it is practically impossible to detect an address duplication is considered, for example, because the address is set so that the child station 52 of A and the child station 52 of B are duplicated. The following is an example of the case.

【0012】親局51が送信したポーリングフレームに
対するレスポンスフレームが、仮にAの子局52から受
信したレスポンスフレームの方が、Bの子局52から受
信したレスポンスフレームより電波強度が強いものとし
た場合には、親局51は、Aの子局52が送信したレス
ポンスフレームの電波を受信し、その結果、先に送信し
たポーリングフレームに対して、正常なレスポンスフレ
ームが送信されてきたものと認識してしまい、アドレス
の重複を検出することが実質上不可能である。
If the response frame to the polling frame transmitted by the master station 51 is assumed to have a stronger radio field intensity than the response frame received from the slave station 52 of B, the response frame received from the slave station 52 of A is assumed. First, the master station 51 receives the radio wave of the response frame transmitted by the slave station 52 of A, and as a result, recognizes that a normal response frame has been transmitted in response to the previously transmitted polling frame. This makes it virtually impossible to detect duplicate addresses.

【0013】従って、親局51が、以後、有効なデータ
を該当するアドレスの子局51に送信した際に、Aの子
局52およびBの子局52は、そのデータを受信するこ
とになる。
Therefore, when the master station 51 subsequently transmits valid data to the slave station 51 at the corresponding address, the slave station 52 of A and the slave station 52 of B receive the data. .

【0014】なお、有線通信LANでは、無線通信LA
Nシステムと異なり、重複アドレスを容易に検出するこ
とができることを説明する。
In a wired communication LAN, wireless communication LA
It will be described that unlike the N system, a duplicate address can be easily detected.

【0015】例えば、親局からのポーリングフレームに
対し、アドレスが重複設定された子局は、ほぼ同時に親
局からのポーリングフレームに対して、レスポンスフレ
ームを親局に送信するので、親局で受信するレスポンス
フレームは、それぞれの子局が送信したレスポンスフレ
ームにより、データが重なりあい、ビット情報が破壊さ
れたものになる。
For example, a slave station whose address is duplicated with respect to a polling frame from the master station transmits a response frame to the master station almost simultaneously with the polling frame from the master station. In the response frame to be transmitted, data is overlapped by the response frame transmitted by each slave station, and the bit information is destroyed.

【0016】その結果、親局は、送信したポーリングフ
レームに対するレスポンスがないものと判断し、何度も
ポーリングフレームを再送してもエラーフレームとして
のレスポンスフレームのみ受信し、正常なレスポンスフ
レームが受信できない。
As a result, the master station determines that there is no response to the transmitted polling frame, and receives only the response frame as an error frame even if the polling frame is retransmitted many times, and cannot receive a normal response frame. .

【0017】従って、有線ネットワークシステムでは、
該当アドレスにおいてアドレスが重複しているものと検
出することができる。
Therefore, in a wired network system,
It can be detected that the address is duplicated in the corresponding address.

【0018】そこで、上述した問題点に鑑み、重複した
アドレスを有する子局の稼働を停止させることにより、
管理者または作業者に重複アドレスを有する子局を有す
ることを知らせるネットワークシステムを提供すること
を目的とする。
In view of the above-mentioned problem, by stopping the operation of the slave station having the duplicate address,
It is an object of the present invention to provide a network system that informs an administrator or an operator of having a child station having a duplicate address.

【0019】[0019]

【課題を解決するための手段】上述の目的を達成するた
めに、請求項1記載の発明は、親局と子局を含むネット
ワークシステムにおいて、前記親局が、ユーザが設定す
る送信先アドレスと、ユーザが設定できず各子局が独自
に有するユニークアドレスとを有する重複登録検査ポー
リングフレームを送信し、前記子局が、前記重複登録検
査ポーリングフレームを受信すると、この重複登録検査
ポーリングフレーム中の送信先アドレスおよびユニーク
アドレスを読み出し、前記送信アドレスが同一である
が、前記ユニークアドレスが異なる場合には、自局のア
ドレスが重複するものとして稼働を停止するようにす
る。
According to a first aspect of the present invention, there is provided a network system including a master station and a slave station, wherein the master station has a destination address set by a user. When the user cannot set and transmits a duplicate registration check polling frame having a unique address unique to each slave station, and the slave station receives the duplicate registration check polling frame, The transmission destination address and the unique address are read, and when the transmission address is the same but the unique address is different, the operation is stopped assuming that the address of the own station is duplicated.

【0020】請求項2記載の発明は、請求項1記載の発
明において、前記親局が、ネットワークに加入されてい
るか、または離脱しているかを示す加入情報を記憶する
ネットワークテーブルと、前記ネットワークに加入され
ている前記子局について、前記ユニークアドレスとなる
ユニークアドレス情報を記憶するユニークアドレス情報
テーブルとを有しており、前記ネットワークテーブル
と、ユニークアドレス情報テーブルとに基づき、前記重
複登録検査ポーリングフレームを形成し、前記子局に送
信するようにする。
According to a second aspect of the present invention, in the first aspect of the present invention, a network table for storing subscription information indicating whether the master station has joined or left the network, and A unique address information table for storing unique address information serving as the unique address for the sub-station subscribed to, and based on the network table and the unique address information table, the duplicate registration check polling frame. To be transmitted to the slave station.

【0021】請求項3記載の発明は、請求項1または2
記載の発明において、前記親局が、重複登録検査ポーリ
ングシーケンスが終了すると、ユーザが設定するアドレ
スに所定の数を加算または減算等の演算をほどこしてユ
ーザ設定範囲外のアドレスとし、そのアドレスを送信先
アドレスとした送信フレームを前記子局に送信するよう
にする。
The third aspect of the present invention is the first or second aspect.
In the described invention, when the duplicate registration check polling sequence ends, the master station performs an operation such as addition or subtraction of a predetermined number to an address set by the user to set the address outside the user setting range, and transmits the address. The transmission frame having the destination address is transmitted to the slave station.

【0022】請求項4記載の発明は、請求項1記載の発
明において、前記子局が、前記重複登録検査ポーリング
フレームを親局から受信したときには、その旨を示すポ
ーリング確認情報を記憶するポーリング確認情報記憶格
納手段を有しており、前記重複登録検査ポーリンシーケ
ンス以降に、前記ユニークアドレスを有しない送信フレ
ームを受信した場合には、たとえ前記送信アドレスが自
局と同一であっても、ポーリング確認情報記憶格納手段
にポーリング確認情報が記憶されていなければ、自局の
アドレスが重複するものとして稼働を停止するようにす
る。
According to a fourth aspect of the present invention, in the first aspect of the invention, when the slave station receives the duplicate registration inspection polling frame from the master station, the slave station stores polling confirmation information indicating the fact. Information transmission / reception means, and when a transmission frame having no unique address is received after the duplicate registration check polling sequence, even if the transmission address is the same as the own station, polling confirmation is performed. If the polling confirmation information is not stored in the information storage unit, the operation is stopped assuming that the address of the own station is duplicated.

【0023】請求項5記載の発明は、請求項1乃至4記
載の発明において、前記親局が、前記ユニークアドレス
情報テーブルを参照して、離脱する前記子局に対し、前
記ユニークアドレスを有する加入確認ポーリングフレー
ムを送信し、前記子局が、受信した前記加入確認ポーリ
ングフレームの送信先アドレスが自局と同一アドレスで
あるが、ユニークアドレスが異なる場合には、同一のア
ドレスがあるものと認識して稼働を停止するようにす
る。
According to a fifth aspect of the present invention, in the first to fourth aspects of the present invention, the master station refers to the unique address information table to join the slave station that has left, with the unique address. A confirmation polling frame is transmitted, and the slave station recognizes that the same address is present when the destination address of the received subscription confirmation polling frame is the same as that of the own station but the unique address is different. To stop the operation.

【0024】請求項6記載の発明は、請求項1乃至5記
載の発明において、重複アドレスが登録された子局の稼
働を停止するために前記親局が送信する重複登録検査ポ
ーリングフレームと、前回加入していて今回ネットワー
クから子局が離脱するときに、親局が子局に送信する加
入確認ポーリングフレームのみが、ユーザが設定する送
信先アドレスと、ユーザが設定できず各子局が独自に有
するユニークアドレスとを有する送信フレームであり、
それ以外の送信フレームでは、前記ユニークアドレスを
有しない送信フレームであるようにする。
According to a sixth aspect of the present invention, in the first to fifth aspects of the present invention, the duplicate registration check polling frame transmitted by the master station to stop the operation of the slave station in which the duplicate address is registered, and When a child station leaves the network after subscribing, only the subscription confirmation polling frame sent by the master station to the slave station has the destination address set by the user and the slave station that cannot be set by the user. A transmission frame having a unique address having
In other transmission frames, the transmission frame does not have the unique address.

【0025】本発明では、子局は、複登録検査ポーリン
グフレームを受信すると、この重複登録検査ポーリング
フレーム中の送信先アドレスおよびユニークアドレスを
読み出し、送信アドレスが同一であるが、ユニークアド
レスが異なる場合には、自局のアドレスが重複するもの
として稼働を停止する。
According to the present invention, when the slave station receives the double registration check polling frame, the slave station reads the destination address and the unique address in the duplicate registration check polling frame. , The operation stops assuming that the address of the own station is duplicated.

【0026】また、子局は、重複登録検査ポーリンシー
ケンス以降に、ユニークアドレスを有しない送信フレー
ムを受信した場合には、たとえ送信アドレスが自局と同
一であっても、ポーリング確認情報記憶格納手段にポー
リング確認情報が記憶されていなければ、自局のアドレ
スが重複するものとして稼働を停止する。
When the slave station receives a transmission frame having no unique address after the duplicate registration check polling sequence, even if the transmission address is the same as that of the own station, the slave station stores the polling confirmation information. If the polling confirmation information is not stored in the server, the operation is stopped assuming that the address of the own station is duplicated.

【0027】さらに、子局は、受信した加入確認ポーリ
ングフレームの送信先アドレスが自局と同一アドレスで
あるが、ユニークアドレスが異なる場合には、同一のア
ドレスがあるものと認識して稼働を停止する。
Further, when the destination address of the received subscription confirmation polling frame is the same as that of the own station, but the unique address is different, the slave station recognizes that the same address exists and stops operation. I do.

【0028】[0028]

【発明の実施の形態】以下、本発明に係るネットワーク
システムを図面に基づき説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A network system according to the present invention will be described below with reference to the drawings.

【0029】図1は本発明に係る実施形態のネットワー
クシステム一実施形態の構成を示す概略図である。
FIG. 1 is a schematic diagram showing the configuration of a network system according to an embodiment of the present invention.

【0030】この実施形態のネットワークシステムは、
図1に示すように、ホスト局としてのプログラマブルコ
ントローラ10と、チャネルCH1の使用帯域を有する
#1の親局,およびチャネルCH2の使用帯域を有する
#2の親局11がリモートI/Oネットワーク20から
なる有線通信LANに接続され、また、#1,#2の親
局11がそれそれ複数の子局12と無線通信LANで接
続されており、有線通信LANおよび無線通信LANの
通信方式としてポーリング・セレクティング方式が採用
されて構成されている。
The network system of this embodiment is
As shown in FIG. 1, a programmable controller 10 as a host station, a # 1 master station having a use band of channel CH1, and a # 2 master station 11 having a use band of channel CH2 include a remote I / O network 20. And the master stations 11 of # 1 and # 2 are connected to a plurality of slave stations 12 by a wireless communication LAN, and polling is performed as a communication method of the wired communication LAN and the wireless communication LAN. -It is configured by adopting the selecting method.

【0031】また、この実施形態のネットワークシステ
ムは、#1,#2の親局11が管轄する子局12に対し
ポーリングを行い、再びポーリングを行うまでの1通信
サイクルには、図2に示すように、子局12に対して定
期的にポーリングを行うサイクリック通信フェーズと、
周辺処理,例えば各子局12における電波受信状況をモ
ニタ装置(図示せず)に表示させる処理を行わせる通知
フェーズとを有している。
Further, the network system of this embodiment polls the slave stations 12 under the control of the master stations 11 of # 1 and # 2, and performs one communication cycle until polling is performed again as shown in FIG. A cyclic communication phase for periodically polling the slave station 12,
There is a peripheral process, for example, a notification phase for performing a process of displaying the radio wave reception status in each slave station 12 on a monitor device (not shown).

【0032】サイクリックフェーズでは、親局11から
子局12に対して、加入確認ポーリングフレーム,アイ
ドルポーリングフレーム,イニシャルデータフレームお
よびI/Oデータであるサイクリックデータフレームが
送信されている。
In the cyclic phase, the master station 11 transmits a subscription confirmation polling frame, an idle polling frame, an initial data frame, and a cyclic data frame as I / O data to the slave station 12.

【0033】ここで、加入確認ポーリングフレームと
は、子局12に対して、無線通信LANに加入するか否
かのレスポンスを要求するフレームであり、イニシャル
データフレームは、加入要求した子局12に対して、ネ
ットワーク動作に必要な通信パラメータ等の設定データ
を有するフレームである。
Here, the join confirmation polling frame is a frame for requesting a response to the slave station 12 as to whether or not to join the wireless communication LAN. The initial data frame is transmitted to the slave station 12 requesting the join. On the other hand, it is a frame having setting data such as communication parameters necessary for network operation.

【0034】ここで、この実施形態のネットワークシス
テムに使用される送信フレームについて説明する。
Here, a transmission frame used in the network system of this embodiment will be described.

【0035】この実施形態のネットワークシステムを構
成する無線通信LANに使用される送信フレームは、図
3(a)に示すように、ユニークアドレスエリアを有し
ない第1の送信フレーム70と、図3(b)に示すよう
に、ユニークアドレスエリアを有する第2の送信フレー
ム80とを有している。
As shown in FIG. 3A, the transmission frame used for the wireless communication LAN constituting the network system of this embodiment includes a first transmission frame 70 having no unique address area and a transmission frame 70 shown in FIG. b), a second transmission frame 80 having a unique address area.

【0036】ユニークアドレスエリアを有しない第1の
送信フレーム70は、加入確認ポーリングフレーム、こ
の加入確認ポーリングフレームに対するレスポンスフレ
ーム、イニシャルデータに対するレスポンスフレームに
使用されている。
The first transmission frame 70 having no unique address area is used as a subscription confirmation polling frame, a response frame for the subscription confirmation polling frame, and a response frame for initial data.

【0037】この第1の送信フレーム70は、フレーム
の先頭箇所を指定する同期フラグを有する1バイト長か
らなる同期フラグ(SYN)エリア70aと、送信先の
アドレスを有する1バイト長からなる送信先アドレス
(DA)エリア70bと、送信元のアドレスを有する1
バイト長からなる送信元アドレス(SA)エリア70c
と、フレームの種類を識別する情報を有する2バイト長
からなる制御コード(CF)エリア70eと、I/Oデ
ータ、呼出符号(CallSign)のデータ等を有す
る4バイト長からなるデータエリア70fと、2バイト
長からなるフラグチェックシーケンスエリア70gおよ
びフレームの終了箇所を指定する同期フラグを有する1
バイト長からなる同期フラグ(SYN)エリア70hと
から構成されている。
The first transmission frame 70 has a synchronization flag (SYN) area 70a having a 1-byte length having a synchronization flag for designating the head of the frame, and a transmission destination area having a 1-byte length having an address of the transmission destination. An address (DA) area 70b, and 1 having a source address
Source address (SA) area 70c consisting of byte length
A 2-byte length control code (CF) area 70e having information for identifying the type of the frame, and a 4-byte length data area 70f having I / O data, call code (CallSign) data, and the like. 1 having a flag check sequence area 70g having a 2-byte length and a synchronization flag designating the end position of the frame
And a synchronization flag (SYN) area 70h having a byte length.

【0038】ユニークアドレスエリアを有する第2の送
信フレーム80は、前回加入しており今回離脱するとき
離脱を確認するために送信する加入確認ポーリングフレ
ームと、重複登録検査ポーリングフレームに使用されて
いる。
The second transmission frame 80 having the unique address area is used for a subscription confirmation polling frame transmitted to confirm the departure at the time of the previous departure and now departure, and a duplicate registration check polling frame.

【0039】そして、そのフレーム80は、フレームの
先頭箇所を指定する同期フラグを有する1バイト長から
なる同期フラグ(SYN)エリア80aと、送信先のア
ドレスを有する1バイト長からなる送信先アドレス(D
A)エリア80bと、送信元のアドレスを有する1バイ
ト長からなる送信元アドレス(SA)エリア80cと、
子局12の呼出符号(CallSign)を有する5バ
イト長からなるユニークアドレスエリア80dと、フレ
ームの種類を識別する情報を有する2バイト長からなる
制御コード(CF)エリア80eと、I/Oデータ、呼
出符号(CallSign)のデータ等を有する4バイ
ト長からなるデータエリア80fと、2バイト長からな
るフラグチェックシーケンスエリア80gおよびフレー
ムの終了箇所を指定する同期フラグを有する1バイト長
からなる同期フラグ(SYN)エリア80hとから構成
されている。
The frame 80 has a synchronization flag (SYN) area 80a having a 1-byte length having a synchronization flag designating the head of the frame, and a destination address (1-byte length) having a destination address. D
A) an area 80b, a 1-byte source address (SA) area 80c having a source address,
A unique address area 80d having a 5-byte length having a call code (CallSign) of the slave station 12, a control code (CF) area 80e having a 2-byte length having information for identifying the type of frame, I / O data, A 4-byte data area 80f having call code (CallSign) data and the like, a 1-byte synchronization flag having a flag check sequence area 80g having a 2-byte length and a synchronization flag designating a frame end point ( SYN) area 80h.

【0040】なお、図3に示した第2のフレーム80
は、ユニークアドレス(SN)エリア80dがない12
バイト長の第1のフレームに比べ、1.4(17/1
2)倍の長さを有している。
The second frame 80 shown in FIG.
Indicates that there is no unique address (SN) area 80d 12
1.4 (17/1) compared to the first frame of byte length
2) It has twice the length.

【0041】ホストPLC10は、センサ,モータ等の
制御対象機器を制御するものである。
The host PLC 10 controls devices to be controlled such as sensors and motors.

【0042】#1の親局11は、子局12とで実行する
通信方式としてスペクトラム拡散方式を採用しており、
使用するチャネルグループを指定するIDとしての“W
GID”が“1”を有しており、また、#2の親局11
は、“WGID”が“2”を有している。
The # 1 master station 11 employs a spread spectrum system as a communication system executed with the slave station 12.
"W" as an ID for specifying a channel group to be used
GID ”has“ 1 ”and the master station 11 of # 2
Has a “WGID” of “2”.

【0043】また、#1,#2の親局11はそれぞれ、
後述するネットワークテーブルを有しており、このネッ
トワークテーブルに基づき、子局12に対して加入確認
ポーリングフレーム(後述する),重複登録検査ポーリ
ングフレーム(後述する)等を送信するようになってい
る。
Also, the master stations 11 of # 1 and # 2 respectively
It has a network table to be described later, and based on this network table, transmits a subscription confirmation polling frame (to be described later), a duplicate registration check polling frame (to be described later), and the like to the slave station 12.

【0044】さらに、#1,#2の親局11はそれぞ
れ、ユニークデータ格納テーブル(後述する)を有して
おり、このユニークデータ格納テーブルに格納されてい
る呼出符号(CallSign)(ユニークデータであ
る)をユニークアドレスとして、重複登録検査ポーリン
グフレーム,イニシャルデータフレームを子局12に対
して送信するようになっている。
Each of the # 1 and # 2 master stations 11 has a unique data storage table (described later), and a call code (CallSign) (unique data) stored in the unique data storage table. ) Is used as a unique address, and a duplicate registration inspection polling frame and an initial data frame are transmitted to the slave station 12.

【0045】ここで、ユニークアドレスとして呼出符号
を用いた理由は、呼出符号が日本国内において(法律に
基づいている)無線通信を行うときに送信する自局を特
定するユニークデータであるためである。
Here, the reason why the calling code is used as the unique address is that the calling code is unique data for identifying the own station to be transmitted when performing wireless communication in Japan (based on the law). .

【0046】次に、ネットワークテーブルおよびユニー
クデータ格納テーブルについて説明する。
Next, the network table and the unique data storage table will be described.

【0047】ネットワークテーブル111は、図4に示
すように、子局12を指定するIDとしてのWNIDを
有するWNIDエリア111aと、WNIDより指定さ
れた子局12が無線通信LANシステムに加入されてい
るか否かを示すフラグを有する加入フラグエリア111
bとから構成されている。
As shown in FIG. 4, the network table 111 includes a WNID area 111a having a WNID as an ID for specifying the slave station 12, and whether the slave station 12 specified by the WNID has joined the wireless communication LAN system. Subscription flag area 111 having a flag indicating whether or not
b.

【0048】WNIDは1,2,3,・・・,nという
ふうに連番となっており、また、加入フラグは“1”の
場合には該当する子局12が無線通信LANに加入して
いることを示し、“0”の場合には該当する子局12が
無線通信LANから離脱していることを示している。
The WNID is a serial number such as 1, 2, 3,..., N. When the join flag is “1”, the corresponding slave station 12 joins the wireless communication LAN. In the case of "0", it indicates that the corresponding slave station 12 has left the wireless communication LAN.

【0049】ユニークデータ格納テーブル112は、図
5に示すように、子局12を指定するIDとしてのWN
IDを有するWNIDエリア112aと、子局12に対
して加入確認ポーリングを行ったのち、その子局12か
ら送信されてきた無線通信LANに加入する旨のレスポ
ンスフレームに有する呼出符号を有する呼出符号エリア
112bとから構成されてしる。
As shown in FIG. 5, the unique data storage table 112 stores a WN as an ID for designating the slave station 12.
A WNID area 112a having an ID, and a call code area 112b having a call code included in a response frame transmitted from the slave station 12 to join the wireless communication LAN after performing a polling confirmation to the slave station 12. It is composed of

【0050】因みに、Aと記したWNIDエリア112
aの呼出符号は、“CallSign−1”である。
Incidentally, the WNID area 112 denoted by A
The calling code of “a” is “CallSign-1”.

【0051】子局12は、親局11と同様、使用するチ
ャネルグループを指定するIDとしての“WGID”を
有しており、また、同一のチャネルを使用する子局12
を指定するIDとしての“WNID”とを有している。
The slave station 12, like the master station 11, has "WGID" as an ID for designating a channel group to be used, and has a slave station 12 using the same channel.
"WNID" as an ID for specifying

【0052】因みに、図中のAに示した子局12は、
“WGID”として“2”を、“WGID”として
“1”を有しており、図中のBに示した子局12は、
“WGID”として“2”を、“WGID”として
“2”を有している。
By the way, the slave station 12 indicated by A in the figure is:
The slave station 12 has “2” as “WGID” and “1” as “WGID”.
It has “2” as “WGID” and “2” as “WGID”.

【0053】また、子局12は、親局11から加入確認
ポーリングフレームを受信すると、無線通信LANに加
入する場合には、それに対するレスポンスフレームを親
局11に送信するようになっている。
When the slave station 12 receives the subscription confirmation polling frame from the master station 11, it sends a response frame to the master station 11 when joining the wireless communication LAN.

【0054】また、子局12は、親局11から重複登録
検査ポーリングフレームを受信すると、それに対するレ
スポンスフレームを親局11に送信し、また、親局11
からイニシャルデータフレームを受信し、それに応じた
設定が終了した旨を知らせるレスポンス信号を親局11
に送信するようになっている。
When the slave station 12 receives the duplicate registration check polling frame from the master station 11, it sends a response frame to the master station 11 in response to the polling frame.
And a response signal notifying that the setting corresponding to the initial data frame has been completed is received from the master station 11.
To be sent to.

【0055】さらに、子局12は、加入確認ポーリング
フレームまたは重複登録検査ポーリングフレームを親局
11から受信したときには、RAM(図示せず)のワー
クエリアに形成されたポーリング確認エリアに、“1”
(ポーリング確認フラグ)をセットするようにする。
Further, when the slave station 12 receives the subscription confirmation polling frame or the duplicate registration examination polling frame from the master station 11, the slave station 12 stores "1" in the polling confirmation area formed in the work area of the RAM (not shown).
(Polling confirmation flag).

【0056】なお、加入確認ポーリングフレームまたは
重複登録検査ポーリングフレームに対するレスポンスフ
レームを親局11に送信しないときには、ポーリング確
認エリアのフラグは、“0”である。
When no response frame to the subscription confirmation polling frame or the duplicate registration inspection polling frame is transmitted to the master station 11, the flag of the polling confirmation area is "0".

【0057】次に、このネットワークシステムの動作
を、図6のシーケンス図を参照して説明する。
Next, the operation of this network system will be described with reference to the sequence diagram of FIG.

【0058】親局11は、電源を立ち上げた後、また
は、所定時間間隔で、子局12が無線通信LANに加入
するか否かを問い合わせる加入確認ポーリングフレーム
を、WNIDが“1”の子局12からWNIDが“n”
の子局12に対して順次送信する(図6中の,,
,e参照)。
After the power is turned on or at a predetermined time interval, the master station 11 sends a subscription confirmation polling frame for inquiring whether or not the slave station 12 joins the wireless communication LAN. WNID is "n" from station 12
Are sequentially transmitted to the slave stations 12 of FIG.
, E).

【0059】子局12は、親局11から加入確認ポーリ
ングフレームを受信すると、ポーリング確認エリアに
“1”を設定し、無線通信LANに加入する場合には、
フレームのデータエリア70fに呼出符号(CallS
ign)を有するレスポンスフレームを親局11に送信
し(図6中の,f参照)、一方、無線通信LANに加
入しない場合には、何も親局11に送信しない。
When the slave station 12 receives the join confirmation polling frame from the master station 11, it sets "1" in the polling confirmation area.
The calling code (CallS) is stored in the data area 70f of the frame.
(i.g., (ign.)) to the master station 11 (see f in FIG. 6). On the other hand, when not joining the wireless communication LAN, nothing is sent to the master station 11.

【0060】親局11は、加入確認ポーリングフレーム
に対するレスポンスフレームを子局12から受信する
と、ユニークデータ格納テーブルの該当箇所に子局12
が有する呼出符号を記憶する(図6中の,g参照)。
When the master station 11 receives a response frame corresponding to the join confirmation polling frame from the slave station 12, the slave station 12
Is stored (see g in FIG. 6).

【0061】ここで、親局11は、フェージング等によ
り、送信した加入確認ポーリングフレームが子局12に
送信することができなかったか、または、加入確認ポー
リングフレームが送信できたとしても子局12からのレ
スポンスフレームを受信することができないときには、
子局12が無線通信LANに加入する要望があるに際し
ても、離脱させてしまう。
Here, the master station 11 may not be able to transmit the transmitted subscription confirmation polling frame to the child station 12 due to fading or the like, or may transmit the subscription confirmation polling frame from the child station 12 even if the transmission is successful. When it is not possible to receive the response frame of
Even when the slave station 12 has a request to join the wireless communication LAN, the slave station 12 is disconnected.

【0062】すると、正常に稼働すべき該当する子局1
2に接続された制御機器が稼働しないことになり、重大
な障害を発生させることになる。
Then, the corresponding slave station 1 that should operate normally
The control device connected to 2 will not operate, causing a serious failure.

【0063】そこで、イ.親局11は、電源投時におけ
る加入確認ポーリングフレームを子局12に送信した場
合には、所定回数、ユニークアドレスを有しない加入確
認ポーリングフレームを送信して(図6中の参照)、
離脱を防止するようにする。
Therefore, a. When transmitting the subscription confirmation polling frame at power-on to the slave station 12, the master station 11 transmits a subscription confirmation polling frame having no unique address a predetermined number of times (see FIG. 6).
Try to prevent withdrawal.

【0064】その結果、親局11は、子局12から加入
確認ポーリングフレームに対するレスポンスフレームを
受信することがないときには(図6中の参照)、ネッ
トワークテーブル111の該当する子局12の箇所を
“0”にし、この子局12を無線通信LANから離脱さ
せる(図6中の参照)。
As a result, when the master station 11 does not receive a response frame corresponding to the join confirmation polling frame from the slave station 12 (see FIG. 6), the master station 11 sets the location of the corresponding slave station 12 in the network table 111 to “ 0 ", and detaches the slave station 12 from the wireless communication LAN (see FIG. 6).

【0065】一方、親局11は、子局12から加入確認
ポーリングフレームに対するレスポンスフレームを受信
すると、の該当箇所に子局12が有する呼出符号を登録
する。
On the other hand, upon receiving a response frame to the subscription confirmation polling frame from the slave station 12, the master station 11 registers the calling code of the slave station 12 at the corresponding location.

【0066】ロ.親局11は、加入確認ポーリングフレ
ームを送信しても(図6中の参照)、それに対する
レスポンスフレームがない場合で(図6中の参照)、
かつ、送信先の子局12が前回無線通信LANに加入し
ている場合には、所定回数、呼出テーブル112を参照
して呼出符号からなるユニークアドレスを有する加入確
認ポーリングフレームを送信する(図6中のa,b参
照)。
B. The master station 11 transmits the join confirmation polling frame (see FIG. 6), and when there is no response frame corresponding thereto (see FIG. 6),
If the destination slave station 12 has previously subscribed to the wireless communication LAN, a subscribe confirmation polling frame having a unique address consisting of a call code is transmitted a predetermined number of times with reference to the call table 112 (FIG. 6). A, b in).

【0067】その結果、親局11は、子局12から加入
確認ポーリングフレームに対するレスポンスフレームを
受信することがないときには(図6中のc参照)、ネッ
トワークテーブル111の該当する子局12の箇所を
“1”から“0”に変更し、この子局12を無線通信L
ANから離脱させる(図6中のd参照)。
As a result, when the master station 11 does not receive a response frame to the join confirmation polling frame from the slave station 12 (see c in FIG. 6), the master station 11 determines the location of the corresponding slave station 12 in the network table 111. "1" is changed to "0", and this slave station 12
Release from AN (see d in FIG. 6).

【0068】一方、親局11は、子局12から加入確認
ポーリングフレームに対するレスポンスフレームを受信
すると、ユニークデータ格納テーブルの該当箇所に子局
12が有する呼出符号を更新登録する。
On the other hand, upon receiving a response frame to the join confirmation polling frame from the slave station 12, the master station 11 updates and registers the call code of the slave station 12 at the corresponding location in the unique data storage table.

【0069】親局11は、WNIDが“n”の子局12
に対する加入確認ポーリングについての上述した処理が
終了すると、ユニークデータ格納テーブル112を参照
して、呼出符号からなるユニークアドレスを有する重複
登録検査ポーリングフレームを、WNIDが“1”の子
局12からWNIDが“n”の子局12に対して順次送
信する(図6中のh,k,p参照)。
The master station 11 is a slave station 12 whose WNID is “n”.
When the above-described processing for the subscription confirmation polling is completed, with reference to the unique data storage table 112, a duplicate registration inspection polling frame having a unique address consisting of a call code is transmitted from the slave station 12 having a WNID of "1" to a WNID having a The data is sequentially transmitted to the slave stations 12 of “n” (see h, k, and p in FIG. 6).

【0070】重複登録検査ポーリングフレームを受信し
た子局12は、それ対するレスポンスフレームを親局1
1に送信する(図6中のi,q参照)。
The slave station 12 that has received the duplicate registration inspection polling frame transmits a response frame corresponding thereto to the master station 1.
1 (see i and q in FIG. 6).

【0071】親局11は、子局12から重複登録検査ポ
ーリングフレームに対するレスポンスフレームを受信す
ると、このレスポンスフレームを送信した子局12につ
いて、無線通信LANに加入させるため、ネットワーク
テーブル111の該当箇所の加入フラグを“1”に設定
する(図6中のj,r参照)。
When the master station 11 receives the response frame for the duplicate registration check polling frame from the slave station 12, the master station 11 transmits the response frame to the corresponding station of the network table 111 in order to join the slave station 12 to the wireless communication LAN. The joining flag is set to "1" (see j and r in FIG. 6).

【0072】一方、親局11は、子局12に対して、所
定回数、重複登録検査ポーリングフレームを出力しても
(図6中のl参照)、それ対するレスポンスフレームを
受信しないと(図6中のm参照)、重複登録検査ポーリ
ングフレームを送信した子局12が無線通信LANに加
入しないものと認識し、ユニークデータ格納テーブル1
12の該当箇所の呼出符号を削除するとともに(図6中
のn参照)、ネットワークテーブル111の該当する箇
所の加入フラグを“0”にセットする(図6中のo参
照)。
On the other hand, even if the master station 11 outputs the duplicate registration check polling frame to the slave station 12 a predetermined number of times (see l in FIG. 6), it does not receive a response frame corresponding thereto (see FIG. 6). ), The slave station 12 that has transmitted the duplicate registration inspection polling frame recognizes that it does not join the wireless communication LAN, and the unique data storage table 1
At the same time, the calling code of the corresponding portion of the block 12 is deleted (see n in FIG. 6), and the joining flag of the corresponding portion of the network table 111 is set to “0” (see o in FIG. 6).

【0073】親局11は、WNIDが“n”の子局12
に対する重複登録検査ポーリングについての上述した処
理が終了すると、ネットワークテーブル111を参照し
て、WNIDが“1”の子局12から順次、WNIDが
“n”の子局12に対して、イニシャルデータフレーム
を送信する(図6中のs,u参照)。
The master station 11 is a slave station 12 whose WNID is “n”.
When the above-described processing for the duplicate registration check polling for the slave station 12 is completed, the initial data frame is sequentially transmitted from the slave station 12 whose WNID is "1" to the slave station 12 whose WNID is "n" with reference to the network table 111. Is transmitted (see s and u in FIG. 6).

【0074】イニシャルデータフレームを受信した親局
11は、フレームに記述されているネットワーク動作に
必要な通信パラメータ等の設定データを読み出し、読み
出した通信パラメータ等に設定したのち、設定終了した
旨を知らせるレスポンスフレームを親局12に出力する
(図6中のt,v参照)。
The master station 11 that has received the initial data frame reads the setting data such as the communication parameters necessary for the network operation described in the frame, sets the read communication parameters and the like, and notifies that the setting is completed. The response frame is output to the master station 12 (see t and v in FIG. 6).

【0075】親局11が、WNIDが“n”の子局12
に対するイニシャルデータについての上述した処理が終
了すると、この無線通信LANにおける加入確認処理が
終了する。
The master station 11 is a slave station 12 whose WNID is “n”.
When the above-described processing for the initial data corresponding to is completed, the subscription confirmation processing in the wireless communication LAN ends.

【0076】続いて、二重アドレス設定された子局12
の稼働を停止させる処理を、以下の場合に別けて説明す
る。
Subsequently, the slave station 12 for which the dual address has been set
The process of stopping the operation of the server will be described separately for the following cases.

【0077】(1)親局11が起動したときに子局11
が重複登録されていた場合について図7は親局が起動し
たときに登録されていた重複アドレスを有する子局の稼
働を停止するシーケンス図である。
(1) When the master station 11 starts up, the slave station 11
FIG. 7 is a sequence diagram for stopping the operation of the slave station having the registered duplicate address when the master station starts up.

【0078】親局11は、電源を立ちあげて起動を開始
し、加入確認ポーリングフレームを子局12に送信す
る。
The master station 11 starts up by turning on the power supply, and transmits a subscription confirmation polling frame to the slave station 12.

【0079】#1の子局12および#2の子局12は、
親局11から加入確認ポーリングを受信すると(図7中
の,参照)、ポーリング確認エリアに“1”をセッ
トし、レスポンスフレームを親局11に送信する(図7
中の,参照)。
The # 1 slave station 12 and the # 2 slave station 12
Upon receiving a subscription confirmation poll from the master station 11 (see, FIG. 7), “1” is set in the polling confirmation area, and a response frame is transmitted to the master station 11 (FIG. 7).
Inside, see).

【0080】親局11は、#1の子局12の受信電波強
度が#2の子局12の受信電波強度より強いため、#1
の子局12のレスポンスフレームを優先的に受信し、そ
の後、ユニークアドレスエリア80dに#1の子局12
の呼出符号を有する重複登録検査ポーリングフレームを
送信する(図7中の,参照)。
Since the received signal strength of the slave station 12 of # 1 is stronger than the received signal strength of the slave station 12 of # 2, the master station 11
Receive the response frame of the slave station 12 of the slave station # 1 in the unique address area 80d.
Is transmitted (refer to FIG. 7).

【0081】#1の子局12は、親局11からの重複登
録検査ポーリングを受信すると、重複登録検査ポーリン
グフレーム中の送信先アドレスエリア80cおよびユニ
ークアドレスエリア80dを参照し、自局宛に送信され
てきたフレームであると認識し、レスポンスフレームを
出力する(図7中の参照)。
Upon receiving the duplicate registration check poll from the master station 11, the slave station # 1 refers to the destination address area 80c and the unique address area 80d in the duplicate registration check poll frame and transmits the same to its own station. It recognizes that the frame has been sent, and outputs a response frame (see FIG. 7).

【0082】一方、#2の子局12は、親局11からの
重複登録検査ポーリングを受信すると、重複登録検査ポ
ーリングフレーム中の送信先アドレスエリア80cおよ
びユニークアドレスエリア80dを参照したところ、送
信先アドレスエリア80cに有する送信先アドレスが同
一であるが、ユニークアドレスエリア80dに有するユ
ニークアドレスが自局の呼出符号を有していないため、
重複アドレスを有するものと認識し、稼働を停止する
(図7中の参照)。
On the other hand, when receiving the duplicate registration check poll from the master station 11, the slave station # 2 refers to the destination address area 80c and the unique address area 80d in the duplicate registration check poll frame, Although the destination address in the address area 80c is the same, but the unique address in the unique address area 80d does not have the calling code of its own station,
It recognizes that it has a duplicate address and stops operation (see FIG. 7).

【0083】このように、無線通信LANから子局12
の稼働が停止した場合には、作業員または管理者は、ネ
ットワークシステムにおいて、重複登録を有するものと
間接的に認識することができる。
As described above, the local station 12 is connected from the wireless communication LAN.
When the operation of the server is stopped, the worker or the administrator can indirectly recognize that there is a duplicate registration in the network system.

【0084】(2)前回無線ネットワークに加入してい
て、今回無線ネットワークから離脱する際に、子局11
が重複登録されていた場合について図8は前回無線ネッ
トワークに加入していて、今回無線ネットワークから離
脱する際に登録されていた重複アドレスを有する子局の
稼働を停止するシーケンス図である。
(2) When subscribing to the wireless network last time and leaving the wireless network this time,
FIG. 8 is a sequence diagram for stopping the operation of the slave station having the duplicate address registered when the mobile station has joined the wireless network last time and has left the wireless network this time.

【0085】上述したように、子局12が無線ネットワ
ークから離脱するとき、本当に離脱する必要があるため
加入確認ポーリングに対するレスポンスフレームを送信
しないのか、または、子局12が加入確認ポーリングフ
レームを送信しているが、フェージング等により親局1
1に到達しないのかを確認するため、所定回数、加入確
認ポーリングフレームを送信するような処理を行ってい
る(図6中の参照)。
As described above, when the slave station 12 leaves the wireless network, the slave station 12 does not transmit a response frame for subscription confirmation polling because it really needs to leave, or the slave station 12 transmits a subscription confirmation polling frame. But the master station 1 due to fading etc.
In order to confirm whether or not the number has reached 1, a process of transmitting a subscription confirmation polling frame a predetermined number of times is performed (see FIG. 6).

【0086】このとき、例えば、通信エリア外から通
信エリア内に同じアドレス(送信先アドレス)を有する
子局12が入り込んだ場合、または、同じアドレスを
有する子局12が電源を立ち上げた場合、これらの子局
12が加入確認ポーリングフレームを受信したとき、親
局11にレスポンスフレームを送信しないようにすると
ともに、この重複アドレスを有する子局12の稼働を停
止するようにするためである。
At this time, for example, when a slave station 12 having the same address (destination address) enters the communication area from outside the communication area, or when the slave station 12 having the same address turns on the power, This is because when these slave stations 12 receive the join confirmation polling frame, they do not transmit a response frame to the master station 11 and stop the operation of the slave stations 12 having this duplicate address.

【0087】親局11は、ユニークデータ格納テーブル
112を参照して(図8中の参照)、離脱する子局1
2に対し、呼出符号からなるユニークアドレスを有する
加入確認ポーリングフレームを送信する(図8中の参
照)。
The parent station 11 refers to the unique data storage table 112 (see FIG. 8), and leaves the child station 1 to leave.
2, a subscription confirmation polling frame having a unique address consisting of a call code is transmitted (see FIG. 8).

【0088】すると、上述したように、通信エリア外か
ら通信エリア内に入ってきた#1の子局12と同一のア
ドレスを有している#2の子局12は、親局11が送信
した加入確認ポーリングフレームを受信し、ポーリング
確認エリアに“1”をセットする。
Then, as described above, the # 2 slave station 12 having the same address as the # 1 slave station 12 entering the communication area from outside the communication area is transmitted by the master station 11. Upon receipt of the join confirmation polling frame, "1" is set in the polling confirmation area.

【0089】そして、#2の子局12は、受信したフレ
ームの送信先アドレスが自局と同一アドレスであるが、
ユニークアドレスが異なる場合には、無線ネットワーク
システムに同一のアドレスがあるものと認識して稼働を
停止する(図8中の参照)。
Then, the slave station 12 of # 2 has the same destination address of the received frame as its own station.
If the unique addresses are different, the operation is stopped by recognizing that the same address exists in the wireless network system (see FIG. 8).

【0090】(3)無線ネットワークの通信エリア内
に、重複アドレスを有する無線子局12にイニシャルデ
ータ等のコマンドフレームが送信されてきた場合につい
てすなわち、いままで説明した重複したアドレスを有す
る無線子局の稼働停止を行う処理については、加入確認
ポーリングシーケンスおよび重複登録検査ポーリングシ
ーケンスにおいてなされるものであるが、加入確認ポー
リングシーケンスおよび重複登録検査ポーリングシーケ
ンスが終了し、再び、加入確認ポーリングシーケンスを
送信するまでの、例えば、イニシャルデータフレームが
送信したとき重複したアドレスを有する無線子局の稼働
を停止する処理を説明する。
(3) The case where a command frame such as initial data is transmitted to the wireless slave station 12 having an overlapping address in the communication area of the wireless network, that is, the wireless slave station having the overlapping address described so far. Is performed in the subscription confirmation polling sequence and the duplicate registration inspection polling sequence. The subscription confirmation polling sequence and the duplicate registration inspection polling sequence are completed, and the subscription confirmation polling sequence is transmitted again. For example, a description will be given of a process of stopping the operation of a wireless slave station having an overlapping address when, for example, an initial data frame is transmitted.

【0091】図9はイニシャルデータ等のコマンドフレ
ームが送信されたときに重複する無線子局の稼働を停止
させる動作を示すシーケンス図である。
FIG. 9 is a sequence diagram showing an operation for stopping the operation of the overlapping wireless slave station when a command frame such as initial data is transmitted.

【0092】無線親局11は、加入確認ポーリングシー
ケンスおよび重複登録検査ポーリングシーケンスが終了
し、再び、加入確認ポーリングシーケンスを送信するま
で、ユーザが設定する“WNID”に例えば80H(H
はヘキサデシマル表示)を加算した“WNID+80
H”(ユーザがアドレス設定スイッチで設定不可能なア
ドレス)に遷移した送信先アドレスを有するイニシャル
データフレーム等を送信する(図9中の参照)。
The radio base station 11 sets the “WNID” set by the user to 80H (H, for example) until the subscription confirmation polling sequence and the duplicate registration inspection polling sequence are completed and the subscription confirmation polling sequence is transmitted again.
"WNID + 80"
An initial data frame or the like having a destination address that has transitioned to H ”(an address that cannot be set by the user with the address setting switch) is transmitted (see FIG. 9).

【0093】すると、#1の無線子局12および#2の
無線子局は、ともにこのイニシャルデータフレームを受
信する。
Then, both the # 1 wireless slave station 12 and the # 2 wireless slave station receive the initial data frame.

【0094】#2の無線子局12は、ポーリング確認エ
リアのポーリング確認フラグが“0”であるので、加入
確認ポーリングシーケンスおよび重複登録検査ポーリン
グシーケンス後に、通信エリア外から通信エリア内に
入ってきたため、または、電源が立ち上がったもの
で、自局が無線ネットワークに加入していないものと認
識し、稼働を停止する。
Since the polling confirmation flag in the polling confirmation area is “0”, the wireless slave station # 2 enters the communication area from outside the communication area after the subscription confirmation polling sequence and the duplicate registration inspection polling sequence. Or, it is recognized that the power supply has been turned on and the own station has not joined the wireless network, and the operation is stopped.

【0095】なお、#1の無線子局12は、加入確認ポ
ーリングシーケンスおよび重複登録検査ポーリングシー
ケンスを経てきたのでポーリング経過フラグが“1”と
なっているので、自局が無線ネットワークに加入してい
るものと認識している。
Since the # 1 wireless slave station 12 has passed through the join confirmation polling sequence and the duplicate registration check poll sequence, the polling progress flag is "1", so that the own station joins the wireless network. I understand that there is.

【0096】この実施形態のネットワークシステムで
は、子局12が、複登録検査ポーリングレームを受信す
ると、この重複登録検査ポーリングレーム中の送信先ア
ドレスおよびユニークアドレスを読み出し、送信アドレ
スが同一であるが、ユニークアドレスが異なる場合に
は、自局のアドレスが重複するものとして稼働を停止す
る。
In the network system of this embodiment, when the slave station 12 receives the double registration check polling frame, the slave station 12 reads the destination address and the unique address in the double registration check polling frame, and the transmission address is the same. If the unique addresses are different, the operation is stopped assuming that the address of the own station is duplicated.

【0097】また、子局12は、重複登録検査ポーリン
シーケンス以降に、ユニークアドレスを有しない送信フ
レームを受信した場合には、たとえ送信アドレスが自局
と同一であっても、ポーリング確認情報記憶格納手段に
ポーリング確認情報が記憶されていなければ、自局のア
ドレスが重複するものとして稼働を停止する。
Further, when the slave station 12 receives a transmission frame having no unique address after the duplicate registration check poll sequence, even if the transmission address is the same as that of the own station, the slave station 12 stores the polling confirmation information. If the polling confirmation information is not stored in the means, the operation is stopped assuming that the address of the own station is duplicated.

【0098】さらに、子局は、受信した加入確認ポーリ
ングフレームの送信先アドレスが自局と同一アドレスで
あるが、ユニークアドレスが異なる場合には、同一のア
ドレスがあるものと認識して稼働を停止する。
Further, when the destination address of the received subscription confirmation polling frame is the same as that of the own station, but the unique address is different, the slave station recognizes that the same address exists and stops operation. I do.

【0099】以上のように、重複したアドレスを有する
子局11は、その稼働を停止させることにより、管理者
または作業者に重複アドレスを有する子局12を有する
ことを知らせることができる。
As described above, by stopping the operation of the slave station 11 having the duplicate address, it is possible to notify the manager or the operator that the slave station 12 has the duplicate address.

【0100】この実施形態のネットワークシステムで
は、送信するフレームのうち、重複アドレスが登録され
た子局12の稼働を停止するために親局11が送信する
重複登録検査ポーリングフレームと、前回加入していて
今回前記無線通信LANから子局12が離脱するとき
に,親局11が子局に送信する加入確認ポーリングフレ
ームのみが、ユーザが設定する送信先アドレスと、ユー
ザが設定できず各子局12が独自に有するユニークアド
レスとを有する第2の送信フレーム80であり、それ以
外の送信フレームでは、ユニークアドレスを有しない第
1の送信フレーム70であるため、伝送効率を落とさず
に無線通信を行うことができる。
In the network system of this embodiment, of the frames to be transmitted, the duplicate registration inspection polling frame transmitted by the master station 11 to stop the operation of the slave station 12 in which the duplicate address has been registered has been previously joined. When the slave station 12 leaves the wireless communication LAN this time, only the subscription confirmation polling frame transmitted by the master station 11 to the slave station includes the destination address set by the user and the slave station 12 which cannot be set by the user. Is a second transmission frame 80 having a unique address that has its own unique address, and the other transmission frames are first transmission frames 70 having no unique address, so that wireless communication is performed without reducing transmission efficiency. be able to.

【0101】この実施形態のネットワークシステムは、
ユニークアドレスとして呼出符号をを用いているが、そ
れ以外では、親局局11、子局12が有する商品のシリ
アル番号,イサーネットのMACアドレスをユニークア
ドレスに用いてもいし、また、子局12が発生させた乱
数をユニークアドレスに用いてもよい。
The network system of this embodiment is
The calling code is used as the unique address, but in other cases, the serial number of the product held by the master station 11 and the slave station 12 and the MAC address of the Ethernet may be used as the unique address. The generated random number may be used for the unique address.

【0102】乱数を使用する場合においても、図10に
示すように、この実施形態のネットワークに使用されて
いる呼出符号と同様な処理を行うので、その処理の詳細
説明を省略する。
Even when a random number is used, as shown in FIG. 10, the same processing as that for the call code used in the network of this embodiment is performed, and a detailed description of the processing will be omitted.

【0103】[0103]

【発明の効果】以上本発明によれば、子局が、親局が送
信した複登録検査ポーリングレームを受信すると、この
重複登録検査ポーリングレーム中の送信先アドレスおよ
びユニークアドレスを読み出し、送信アドレスが同一で
あるが、ユニークアドレスが異なる場合には、自局のア
ドレスが重複するものとして稼働を停止することができ
る。
As described above, according to the present invention, when the slave station receives the double registration check polling frame transmitted by the master station, the slave station reads the destination address and the unique address in the duplicate registration check polling frame. If the addresses are the same but the unique addresses are different, the operation can be stopped assuming that the address of the own station is duplicated.

【0104】また、子局は、重複登録検査ポーリンシー
ケンス以降に、ユニークアドレスを有しない送信フレー
ムを受信した場合においても、たとえ送信アドレスが自
局と同一であっても、ポーリング確認情報記憶格納手段
にポーリング確認情報が記憶されていなければ、自局の
アドレスが重複するものとして稼働を停止する。
In addition, even if the slave station receives a transmission frame having no unique address after the duplicate registration check polling sequence, even if the transmission address is the same as that of the own station, the slave station stores the polling confirmation information storage means. If the polling confirmation information is not stored in the server, the operation is stopped assuming that the address of the own station is duplicated.

【0105】さらに、子局は、受信した加入確認ポーリ
ングフレームの送信先アドレスが自局と同一アドレスで
あるが、ユニークアドレスが異なる場合には、同一のア
ドレスがあるものと認識して稼働を停止する。
Further, when the destination address of the received subscription confirmation polling frame is the same as that of the own station, but the unique address is different, the slave station recognizes that the same address exists and stops operation. I do.

【0106】このことにより、管理者または作業者に重
複アドレスを有する子局を有することを知らせることが
でき、製造現場のシステムに重大なトラブルを未然に防
止することができる。
As a result, it is possible to notify the manager or the operator that there is a slave station having a duplicate address, and it is possible to prevent a serious trouble in the system at the manufacturing site.

【0107】また、送信するフレームのうち、重複アド
レスが登録された子局の稼働を停止するために親局が送
信する重複登録検査ポーリングフレームと、前回加入し
ていて今回前記無線通信LANから子局が離脱するとき
に,親局が子局に送信する加入確認ポーリングフレーム
のみが、ユーザが設定する送信先アドレスと、ユーザが
設定できず各子局が独自に有するユニークアドレスとを
有する送信フレームであり、それ以外の送信フレームで
は、ユニークアドレスを有しない送信フレームであるた
め、伝送効率を落とさずに無線通信を行うことができ
る。
[0107] Of the frames to be transmitted, the duplicate registration check polling frame transmitted by the master station to stop the operation of the slave station in which the duplicate address has been registered is the same as the previously registered subscribed polling frame. When the station leaves, only the subscription confirmation polling frame transmitted by the master station to the slave station is a transmission frame having a destination address set by the user and a unique address that cannot be set by the user and has a unique address of each slave station. In other transmission frames, since the transmission frame does not have a unique address, wireless communication can be performed without reducing transmission efficiency.

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

【図1】本発明に係るネットワークシステムの一実施形
態の概略構成図。
FIG. 1 is a schematic configuration diagram of an embodiment of a network system according to the present invention.

【図2】この実施形態のネットワークシステムが有する
1通信サイクルの処理内容についての説明図。
FIG. 2 is an explanatory diagram illustrating processing contents of one communication cycle of the network system according to the embodiment;

【図3】この実施形態のネットワークシステムに使用さ
れる送信フレームを構成を示すブロック図。
FIG. 3 is a block diagram showing a configuration of a transmission frame used in the network system according to the embodiment;

【図4】アドレステーブルの構成を示すブロック図。FIG. 4 is a block diagram showing a configuration of an address table.

【図5】ユニークデータ格納テーブルの構成を示すブロ
ック図。
FIG. 5 is a block diagram showing a configuration of a unique data storage table.

【図6】この実施形態のネットワークシステムの処理を
示すシーケンス図。
FIG. 6 is an exemplary sequence diagram showing processing of the network system according to the embodiment;

【図7】この実施形態のネットワークシステムの処理に
をおいて、子局が二重登録が発見されるときのシーケン
ス図。
FIG. 7 is a sequence diagram when a child station finds double registration in the processing of the network system according to the embodiment;

【図8】この実施形態のネットワークシステムの処理に
をおいて、子局が二重登録が発見されるときのシーケン
ス図。
FIG. 8 is a sequence diagram when a child station finds double registration in the processing of the network system of the embodiment.

【図9】この実施形態のネットワークシステムの処理に
をおいて、子局が二重登録が発見されるときのシーケン
ス図。
FIG. 9 is a sequence diagram when a child station finds double registration in the processing of the network system according to the embodiment;

【図10】ユニークデータとして乱数を使用した場合の
シーケンス図。
FIG. 10 is a sequence diagram when a random number is used as unique data.

【図11】従来のネットワークシステムの一実施形態の
概略構成図。
FIG. 11 is a schematic configuration diagram of an embodiment of a conventional network system.

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

10 プログラマブルコントローラ 11 親局 12 子局 20 リモートI/Oネットワーク 111 アドレステーブル 112 ユニークデータ格納テーブル 70 第1の送信フレーム 80 第2の送信フレーム Reference Signs List 10 programmable controller 11 master station 12 slave station 20 remote I / O network 111 address table 112 unique data storage table 70 first transmission frame 80 second transmission frame

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 親局と子局を含むネットワークシステム
において、 前記親局は、 ユーザが設定する送信先アドレスと、ユーザが設定でき
ず各子局が独自に有するユニークアドレスとを有する重
複登録検査ポーリングフレームを送信し、 前記子局は、 前記重複登録検査ポーリングフレームを受信すると、こ
の重複登録検査ポーリングフレーム中の送信先アドレス
およびユニークアドレスを読み出し、前記送信アドレス
が同一であるが、前記ユニークアドレスが異なる場合に
は、自局のアドレスが重複するものとして稼働を停止す
ることを特徴とするネットワークシステム。
1. A network system including a master station and a slave station, wherein the master station has a destination registration address set by a user and a unique address that cannot be set by a user and has a unique address unique to each slave station. When the slave station receives the duplicate registration check polling frame, the slave station reads the destination address and the unique address in the duplicate registration check polling frame, and the transmission address is the same, but the unique address If the addresses are different, the operation of the network system is stopped assuming that the address of the own station is duplicated.
【請求項2】 前記親局は、 ネットワークに加入されているか、または離脱している
かを示す加入情報を記憶するネットワークテーブルと、 前記ネットワークに加入されている前記子局について、
前記ユニークアドレスとなるユニークアドレス情報を記
憶するユニークアドレス情報テーブルとを有しており、 前記ネットワークテーブルと、ユニークアドレス情報テ
ーブルとに基づき、前記重複登録検査ポーリングフレー
ムを形成し、前記子局に送信することを特徴とする請求
項1記載のネットワークシステム。
2. The master station comprises: a network table storing subscription information indicating whether the subscriber station has joined or left the network; and for the slave station subscribed to the network,
A unique address information table for storing unique address information serving as the unique address; forming the duplicate registration inspection polling frame based on the network table and the unique address information table; and transmitting the polling frame to the slave station. The network system according to claim 1, wherein
【請求項3】 前記親局は、 重複登録検査ポーリングシーケンスが終了すると、ユー
ザが設定するアドレスに所定の数を加算または減算等の
演算をほどこしてユーザ設定範囲外のアドレスとし、そ
のアドレスを送信先アドレスとした送信フレームを前記
子局に送信することを特徴とする請求項1または2記載
のネットワークシステム。
3. When the duplicate registration check polling sequence is completed, the master station adds or subtracts a predetermined number to an address set by the user to make the address outside the user set range, and transmits the address. 3. The network system according to claim 1, wherein a transmission frame having a destination address is transmitted to the slave station.
【請求項4】 前記子局は、 前記重複登録検査ポーリングフレームを親局から受信し
たときには、その旨を示すポーリング確認情報を記憶す
るポーリング確認情報記憶格納手段を有しており、 前記重複登録検査ポーリンシーケンス以降に、前記ユニ
ークアドレスを有しない送信フレームを受信した場合に
は、たとえ前記送信アドレスが自局と同一であっても、
ポーリング確認情報記憶格納手段にポーリング確認情報
が記憶されていなければ、自局のアドレスが重複するも
のとして稼働を停止することを特徴とする請求項1記載
のネットワークシステム。
4. The slave station, when receiving the duplicate registration check polling frame from the master station, has polling confirmation information storage storage means for storing polling confirmation information indicating the reception of the duplicate registration check polling frame. After the polling sequence, if a transmission frame having no unique address is received, even if the transmission address is the same as the own station,
2. The network system according to claim 1, wherein if no polling confirmation information is stored in the polling confirmation information storage unit, the operation of the network is stopped assuming that the address of the own station is duplicated.
【請求項5】 前記親局は、 前記ユニークアドレス情報テーブルを参照して、離脱す
る前記子局に対し、前記ユニークアドレスを有する加入
確認ポーリングフレームを送信し、 前記子局は、 受信した前記加入確認ポーリングフレームの送信先アド
レスが自局と同一アドレスであるが、ユニークアドレス
が異なる場合には、同一のアドレスがあるものと認識し
て稼働を停止することを特徴とする請求項1乃至4記載
のネットワークシステム。
5. The master station refers to the unique address information table and transmits a join confirmation polling frame having the unique address to the leaving slave station. 5. The operation according to claim 1, wherein the transmission destination address of the confirmation polling frame is the same as that of the own station, but when the unique address is different, the operation is stopped by recognizing that the same address exists. Network system.
【請求項6】 重複アドレスが登録された子局の稼働を
停止するために前記親局が送信する重複登録検査ポーリ
ングフレームと、前回加入していて今回ネットワークか
ら子局が離脱するときに,親局が子局に送信する加入確
認ポーリングフレームのみが、ユーザが設定する送信先
アドレスと、ユーザが設定できず各子局が独自に有する
ユニークアドレスとを有する送信フレームであり、 それ以外の送信フレームでは、前記ユニークアドレスを
有しない送信フレームであることを特徴とする請求項1
乃至5記載のネットワークシステム。
6. A duplicate registration check polling frame transmitted by the master station to stop the operation of a slave station in which a duplicate address is registered, and a master station transmits a duplicate registration check polling frame when the slave station has joined before and leaves the network this time. Only the subscription confirmation polling frame transmitted by the station to the slave station is a transmission frame having a destination address set by the user and a unique address that cannot be set by the user and has a unique address of each slave station. Wherein the transmission frame does not have the unique address.
6. The network system according to any one of claims 1 to 5.
JP34321297A 1997-12-12 1997-12-12 Network system Expired - Lifetime JP3443826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34321297A JP3443826B2 (en) 1997-12-12 1997-12-12 Network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34321297A JP3443826B2 (en) 1997-12-12 1997-12-12 Network system

Publications (2)

Publication Number Publication Date
JPH11178067A true JPH11178067A (en) 1999-07-02
JP3443826B2 JP3443826B2 (en) 2003-09-08

Family

ID=18359786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34321297A Expired - Lifetime JP3443826B2 (en) 1997-12-12 1997-12-12 Network system

Country Status (1)

Country Link
JP (1) JP3443826B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012039668A (en) * 2011-11-10 2012-02-23 Canon Inc Communications device, control method of the same, and program
JP2014042338A (en) * 2013-10-28 2014-03-06 Canon Inc Communication apparatus, control method of communication apparatus, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012039668A (en) * 2011-11-10 2012-02-23 Canon Inc Communications device, control method of the same, and program
JP2014042338A (en) * 2013-10-28 2014-03-06 Canon Inc Communication apparatus, control method of communication apparatus, and program

Also Published As

Publication number Publication date
JP3443826B2 (en) 2003-09-08

Similar Documents

Publication Publication Date Title
CN103765826B (en) Communicator, communication system, communication means and TV receiving system
CN1989709B (en) Method and system of scanning a TDMA channel
JPS62239641A (en) Multiple address communication system
JPS63164721A (en) Method of forming and monitoring junction in cordless telephone
JP2001231078A (en) Radio packet relay station and radio packet relay method
JP2003143157A (en) Communication system, master, slave, mac address server, and communication method
CN106851198A (en) Web camera operation method and web camera
JP3443826B2 (en) Network system
CN101534328B (en) Relay agent generation method, single boards and network equipment
JP5499838B2 (en) Cordless telephone device and erroneous placement detection method
JP3200293B2 (en) Broadcast communication method in ring type LAN
JPH09271083A (en) Intermittent communication equipment
CN111294090A (en) Reverse trigger system for multi-AP operation and access point
JP4895449B2 (en) Simultaneous command acceptance confirmation method for communication systems
JP3036050B2 (en) Communication control device
JPH10285161A (en) Radio communication method of radio communication system
JPH10290248A (en) Address setting method for loop type lan
JPS61158236A (en) Home bus system
JP2007184742A (en) Wireless telemeter system
JP2732962B2 (en) Data transmission device using digital wireless network
JPH0427238A (en) Terminal containing system
EP2976992B1 (en) Nurse call system having local operation mode
JP4349502B2 (en) Communications system
JP2001111552A (en) Device for notifying exchange system fault information, notifying method therefor and recording medium with control program recorded thereon
JP2685665B2 (en) Communication method using digital wireless network

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030526

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080627

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090627

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090627

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100627

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100627

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110627

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110627

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120627

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130627

Year of fee payment: 10

EXPY Cancellation because of completion of term