Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3533455B2 - Wireless remote I/O device - Google Patents
[go: Go Back, main page]

JP3533455B2 - Wireless remote I/O device - Google Patents

Wireless remote I/O device

Info

Publication number
JP3533455B2
JP3533455B2 JP06078698A JP6078698A JP3533455B2 JP 3533455 B2 JP3533455 B2 JP 3533455B2 JP 06078698 A JP06078698 A JP 06078698A JP 6078698 A JP6078698 A JP 6078698A JP 3533455 B2 JP3533455 B2 JP 3533455B2
Authority
JP
Japan
Prior art keywords
wireless
refresh
wireless slave
station
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP06078698A
Other languages
Japanese (ja)
Other versions
JPH11261558A (en
Inventor
実 岡
学 山元
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
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 filed Critical Omron Corp
Priority to JP06078698A priority Critical patent/JP3533455B2/en
Publication of JPH11261558A publication Critical patent/JPH11261558A/en
Application granted granted Critical
Publication of JP3533455B2 publication Critical patent/JP3533455B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、無線マスタ局
が、直接、あるいは、無線中継局を介して、無線スレー
ブ局とサイクリックに通信してI/Oリフレッシュを行
う無線リモートI/O装置に関する。
The present invention relates to a wireless remote I/O device in which a wireless master station cyclically communicates with a wireless slave station directly or via a wireless relay station to perform I/O refresh.

【0002】[0002]

【従来の技術】例えば、製造現場においては、情報化へ
の要求に伴い、プログラマブルコントローラ、CNC、
ロボットコントローラ等のネットワーク化が進んでい
る。このようなFA用ネットワークは、生産効率向上の
ための高速化、性能向上の要求とともに、より高いデー
タ伝送速度と、より高いデータ伝送信頼性が要求される
ことになる。
2. Description of the Related Art For example, in manufacturing sites, with the demand for computerization, programmable controllers, CNCs,
The use of networks for robot controllers and the like is advancing. Such FA networks are required to be faster and have improved performance to improve production efficiency, as well as to have higher data transmission speeds and higher data transmission reliability.

【0003】ところで、有線通信の場合は、製造現場の
ラインの増設や変更、レイアウト変更等に対して、通信
ケーブルを設置しなおしたり、移動する作業者や移動体
とのデータ伝送等に対しては、通信ケーブルを接続しな
おしたり、ターンテーブル上に搭載された機器とのデー
タ伝送には、回転トランスやスリップリングのような特
別の設備を備えたりする必要があり、そのためのコス
ト、手間が無視できないので、レイアウト変更等の場合
や作業中移動する移動通信局等に対して、容易に、か
つ、よりローコストで対応しやすい無線通信が注目さ
れ、このような分野にも無線通信の導入、普及が望まれ
るようになってきている。
[0003] In the case of wired communications, when expanding or changing a line or changing the layout at a manufacturing site, it is necessary to re-install communication cables, and when transmitting data to moving workers or moving objects, it is necessary to reconnect communication cables, and when transmitting data to equipment mounted on a turntable, it is necessary to provide special equipment such as a rotating transformer or slip ring. Since the cost and effort required for these cannot be ignored, wireless communications have attracted attention as they are easy and low-cost to handle changes in layout and mobile communication stations that move during work, and there is a growing desire for the introduction and spread of wireless communications in such fields as well.

【0004】しかし、電波によるデータ無線通信におい
ては、有線通信に比べて通信環境が格段に悪く、ノイズ
の混入、電波の反射等によるフェージング、障害物の通
過による電波の遮断、電波強度の低下等により、そのデ
ータにエラーが発生したり、通信路途中でパケットが消
滅したりして、通信エラーとなることが、日常的に発生
する。
However, in wireless data communication using radio waves, the communication environment is far worse than that of wired communication, and errors occur in the data or packets are lost along the communication path due to noise contamination, fading caused by radio wave reflection, blocking of radio waves due to the passage of obstacles, reduction in radio wave strength, etc., resulting in communication errors that occur on a daily basis.

【0005】そこで、データ無線通信においては、一般
に、無線受信局から無線送信局へ、受信通知を送り返
し、この受信通知が所定時間内に無線送信局に到達しな
かったり、エラー受信の通知である場合は、直ちに通信
エラーとなったパケットを再送したり、誤り制御等の手
法を用い、あるいは、電波の届きにくい場所にある無線
スレーブ局との通信には無線中継局を介して通信する等
により、無線通信の信頼性を維持している。
[0005] In wireless data communications, therefore, the wireless receiving station generally sends back a reception notification to the wireless transmitting station, and if this reception notification does not reach the wireless transmitting station within a specified time or is a notification of erroneous reception, the packet that caused the communication error is immediately resent, or a method such as error control is used, or communication with a wireless slave station in an area where radio waves cannot reach is performed via a wireless relay station, thereby maintaining the reliability of the wireless communications.

【0006】また、従来の無線マスタ局と無線スレーブ
局とがサイクリックに通信してI/Oリフレッシュを行
う、いわゆる、サイクル通信においては、通信サイクル
の一サイクル(スロット)内で、無線マスタ局が、通信
対象として登録されている全ての加入無線スレーブ局に
順次ポーリングして、I/Oリフレッシュを行うのが普
通であった。
[0006] In addition, in a conventional so-called cyclic communication in which a wireless master station and a wireless slave station communicate cyclically to perform I/O refresh, it was normal for the wireless master station to sequentially poll all of the participating wireless slave stations registered as communication targets within one cycle (slot) of the communication cycle to perform I/O refresh.

【0007】[0007]

【発明が解決しようとする課題】しかし、データ無線通
信の信頼性を確保するために、再送や誤り制御等の手法
を用いれば、通信するデータ量がその分増加して、通信
時間が長くなり、また、無線中継を行えば、中継の分だ
け必然的に通信時間は更に長くなってしまう。このよう
に、通信の所要時間が増すために、無線リモートI/O
装置の無線マスタ局と無線スレーブ局とのサイクル通信
の周期が長くなり、機器の高速制御を行うFA用ネット
ワークに要求される高速通信が実現困難となっている。
However, if methods such as retransmission and error control are used to ensure the reliability of data wireless communication, the amount of data to be communicated increases accordingly, lengthening the communication time, and if wireless relay is used, the communication time is inevitably lengthened by the amount of relay.
The period of cyclic communication between the wireless master station and the wireless slave station of the device is becoming longer, making it difficult to realize the high-speed communication required for FA networks that perform high-speed control of equipment.

【0008】通信サイクルの一スロット内で、全ての加
入無線スレーブ局に順次ポーリングして、I/Oリフレ
ッシュを行えば、例えば、表示装置に表示するための無
線スレーブ局のように、それ程高速I/O応答性を必要
としない無線スレーブ局も、組み立て作業の動作を制御
する無線スレーブ局のように、高速I/O応答性を必要
とする無線スレーブ局も、一通信サイクル内で、区別さ
れることなく、一様にI/Oリフレッシュ処理され、そ
のため、通信サイクル時間は長くなってしまう。この点
も、FA用ネットワークに要求される高速通信を妨げる
もうひとつの原因となっている。
If all participating wireless slave stations are polled in sequence and I/O refreshed within one slot of a communication cycle, wireless slave stations that do not require high-speed I/O response, such as wireless slave stations for displaying on a display device, and wireless slave stations that require high-speed I/O response, such as wireless slave stations for controlling the operation of assembly work, will be subjected to the same I/O refresh processing within one communication cycle without distinction, which will result in a longer communication cycle time. This is another factor that hinders the high-speed communication required for FA networks.

【0009】この発明は、上述の課題を解決し、通信サ
イクルが短く、FA用ネットワークに要求される高速通
信を、高い信頼性を維持しながら、実現できる無線リモ
ートI/O装置を提供するものである。
SUMMARY OF THE PRESENT EMBODIMENT The present invention provides a wireless remote I/O device which solves the above-mentioned problems, has a short communication cycle, and is capable of realizing the high-speed communication required for FA networks while maintaining high reliability.

【0010】[0010]

【課題を解決するための手段】上述の目的を達成するた
めに、請求項1の発明は、無線マスタ局が、直接、ある
いは、無線中継局を介して、無線スレーブ局とサイクリ
ックに通信してI/Oリフレッシュを行う無線リモート
I/O装置において、無線スレーブ局毎のリフレッシュ
周期を設定するリフレッシュ周期設定テーブルと、無線
スレーブ局毎のリフレッシュ処理時間に影響を与える重
み要素を設定するテーブルであって、その項目に無線中
継段数が含まれる重み設定テーブルと、上記リフレッシ
ュ周期設定テーブルのリフレッシュ周期と、上記重み設
定テーブルの重み要素とから、通信サイクルの各スロッ
トでリフレッシュ処理を行う無線スレーブ局を割り付け
るスケジューリングテーブルとを具備し、スケジューリ
ングテーブルに従って、無線マスタ局が無線スレーブ局
とサイクリックに通信してI/Oリフレッシュを行うこ
とを特徴とする。
In order to achieve the above object, the present invention provides a wireless remote I/O device in which a wireless master station cyclically communicates with a wireless slave station directly or via a wireless relay station to perform I/O refresh, the device comprising a refresh cycle setting table for setting a refresh cycle for each wireless slave station, and a table for setting weighting factors that affect the refresh processing time for each wireless slave station, the weighting factors being included in the items of the refresh cycle setting table.
The wireless master station is characterized in that it comprises a weight setting table including the number of successive stages , a scheduling table for allocating wireless slave stations for performing refresh processing in each slot of a communication cycle based on the refresh period of the refresh period setting table and the weight elements of the weight setting table, and the wireless master station cyclically communicates with the wireless slave stations to perform I/O refresh in accordance with the scheduling table.

【0011】この発明によれば、I/Oリフレッシュを
必要とする頻度に応じて、各無線スレーブ局のポーリン
グされる周期が定められ、そのI/Oリフレッシュに要
する時間とポーリング周期とから、通信サイクルの各ス
ロットへI/Oリフレッシュする無線スレーブ局が分散
して割り付けられることにより、その分散された分、通
信サイクル時間が短くなる。
According to this invention , the polling period for each wireless slave station is determined according to the frequency with which an I/O refresh is required, and the wireless slave stations which undergo an I/O refresh are distributed and assigned to each slot of the communication cycle based on the time required for the I/O refresh and the polling period, thereby shortening the communication cycle time by the amount of distribution.

【0012】[0012]

【0013】この発明によれば、通信サイクル時間を、
算出される無線スレーブ局の処理時間の和の最大値より
やや大きい一定値に設定して、通信サイクル処理を行っ
ても、通信サイクル時間が比較的短くなる。
According to the present invention , the communication cycle time is
Even if the communication cycle process is performed by setting the communication cycle time to a constant value slightly larger than the maximum value of the calculated sum of the processing times of the wireless slave stations, the communication cycle time becomes relatively short.

【0014】[0014]

【0015】この発明によれば、無線中継局を介して通
信する無線スレーブ局と無線マスタ局とのI/Oリフレ
ッシュ処理時間に、中継に要する時間が加算される。
According to this invention , the time required for relaying is added to the I/O refresh processing time between the wireless slave station and the wireless master station which communicate via the wireless relay station.

【0016】請求項2の発明は、請求項1の発明におい
て、上記スケジューリングテーブルのひとつのスロット
に同一の無線スレーブ局が複数割り付けられ、上記ひと
つのスロット内で、無線マスタ局が同一の無線スレーブ
局と複数回I/Oリフレッシュを行うことを特徴とす
る。
[0016] The invention of claim 2 is characterized in that, in the invention of claim 1, multiple identical wireless slave stations are assigned to one slot of the scheduling table, and within the one slot, the wireless master station performs I/O refresh with the same wireless slave station multiple times.

【0017】請求項3の発明は、請求項2の発明におい
て、無線マスタ局と上記同一の無線スレーブ局との複数
回のI/Oリフレッシュが、無線マスタ局と他の無線ス
レーブ局とのI/Oリフレッシュを挟んで行われるよう
にしたことを特徴とする。
[0017] The invention of claim 3 is characterized in that, in the invention of claim 2 , multiple I/O refreshes between the wireless master station and the same wireless slave station are performed with I/O refreshes between the wireless master station and other wireless slave stations in between.

【0018】請求項2または3の発明によれば、一通信
サイクル内に複数回のI/Oリフレッシュを行う無線ス
レーブ局は、あたかも通信サイクルが「1/複数回」と
短くなったように頻繁にI/Oリフレッシュされる。
According to the second or third aspect of the present invention , a wireless slave station which performs I/O refresh multiple times within one communication cycle performs I/O refresh as frequently as if the communication cycle were shortened to "1/multiple times".

【0019】請求項4の発明は、請求項1の発明におい
て、無線スレーブ局が、上記スケジューリングテーブル
の結果から無線マスタ局が決定した通信サイクル時間に
基づいて、無線マスタ局からのポーリングを監視するこ
とを特徴とする。
[0019] In accordance with a fourth aspect of the present invention , in the first aspect, the wireless slave station monitors polling from the wireless master station based on the communication cycle time determined by the wireless master station from the results of the scheduling table.

【0020】請求項4の発明によれば、ポーリングがス
ケジュールどおりでなくなったとき、無線マスタ局がこ
れを検知する。
According to the fourth aspect of the present invention , when polling is no longer performed according to the schedule, the wireless master station detects this.

【0021】[0021]

【発明の実施の形態】この発明の実施の形態を、以下、
図面を参照して説明する。
[Embodiment of the Invention] The embodiment of the present invention will be described below.
The description will be given with reference to the drawings.

【0022】先ず、図1に、この発明の無線リモートI
/O装置を使用する無線通信ネットワークの例を示す。
First, FIG. 1 shows a wireless remote control I
1 illustrates an example of a wireless communication network using a ./O device.

【0023】図1において、プログラマブルコントロー
ラのリモートI/Oマスタ10に、リモートI/Oネッ
トワーク20を介して無線マスタ局Mが接続され、この
無線マスタ局Mは、自局と直接通信してI/Oリフレッ
シュする無線スレーブ局S1、S2のネットワークNW
1を持っていて、このネットワークNW1内の無線スレ
ーブ受信局S1、S2に対して、順次ポーリングしてI
/Oリフレッシュして、いわゆる、サイクル通信を行
う。このサイクル通信は、後に説明するスケジューリン
グテーブルに従って実行される。なお、ネットワークN
W1には、一般に、直接無線通信できる多数の無線スレ
ーブ局が配備されているが、説明を簡単にするために、
ここでは2個の無線スレーブ局S1、S2を図示してい
る。
In FIG. 1, a wireless master station M is connected to a remote I/O master 10 of a programmable controller via a remote I/O network 20. This wireless master station M communicates directly with wireless slave stations S1 and S2 that perform I/O refresh with the wireless master station M through a network NW.
1, and polls the wireless slave receiving stations S1 and S2 in the network NW1 in sequence.
This cycle communication is executed according to a scheduling table, which will be described later.
Generally, W1 is equipped with a large number of wireless slave stations capable of direct wireless communication. For simplicity of explanation,
Here, two wireless slave stations S1 and S2 are shown.

【0024】また、無線送信局Mは、ネットワークNW
1外にも、すなわち、直接通信がやや困難なエリアに
も、無線スレーブ局S3、S4、S5のように、複数の
無線スレーブ局を持っていて、これらのネットワークN
W1外の無線スレーブ局には、ネットワークNW1内の
無線スレーブ局S1を無線中継局として通信を行う。な
お、上記無線スレーブ局S1は、表示装置(図示省略)
に接続され、あまり頻繁なI/Oリフレッシュは必要と
しない。無線スレーブ局S2は、組立装置(図示省略)
に接続され、高速なI/O応答性を得るために、頻繁な
I/Oリフレッシュが必要である。
[0024] Also, the radio transmitting station M is connected to the network NW
In addition, there are multiple wireless slave stations such as wireless slave stations S3, S4, and S5 in areas where direct communication is somewhat difficult.
The wireless slave station S1 in the network NW1 communicates with the wireless slave station outside the network NW1 as a wireless relay station.
The wireless slave station S2 is connected to an assembly device (not shown) and does not require frequent I/O refresh.
, and frequent I/O refresh is required to obtain high-speed I/O responsiveness.

【0025】無線中継局S1は、無線マスタ局Mと同様
にネットワークNW2を持ち、そのネットワークNW2
内の無線スレーブ局S3等に対してサイクル通信を無線
中継し、これにより、無線送信局Mと無線スレーブ局S
3、S4、S5のI/Oリフレッシュが行われる。この
I/Oリフレッシュも、上記スケジューリングテーブル
に従って実行される。なお、図示は省略しているが、ネ
ットワークNW2内にも多数の無線スレーブ局が配備さ
れている。このI/Oリフレッシュも、上記スケジュー
リングテーブルに従って実行される。なお、無線スレー
ブ局S5は、無線誘導搬送車AGV上に搭載されてい
て、このAGVは工場内を巡回するから、電波が届きに
くくなって通信が不安定になることが多い。従って、こ
の無線スレーブ局S5に対しては、再送制御や誤り訂正
等の手法を使ってI/Oリフレッシュすることになり、
I/Oリフレッシュ処理時間を長くしておくことにな
る。
The wireless relay station S1 has a network NW2 like the wireless master station M.
The cycle communication is wirelessly relayed to the wireless slave station S3 in the
I/O refresh is performed for S3, S4, and S5. This I/O refresh is also performed according to the scheduling table. Although not shown in the figure, many wireless slave stations are also deployed in the network NW2. This I/O refresh is also performed according to the scheduling table. Wireless slave station S5 is mounted on a wireless guided vehicle AGV, and since this AGV travels around the factory, it is often difficult for radio waves to reach the AGV, making communication unstable. Therefore, I/O refresh is performed for wireless slave station S5 using methods such as retransmission control and error correction,
This means that the I/O refresh processing time is lengthened.

【0026】図2は、この発明の主要構成を示すブロッ
ク図で、1は、リフレッシュ周期設定テーブル、2は、
重み設定テーブル、3は、スケジューリング手段、4
は、スケジューリングテーブルである。
FIG. 2 is a block diagram showing the main configuration of the present invention. 1 is a refresh cycle setting table, 2 is a
Weight setting table, 3 is a scheduling means, 4 is
is a scheduling table.

【0027】上記リフレッシュ周期設定テーブル1は、
無線スレーブ局S1、S2、‥‥S5毎のリフレッシュ
周期を設定するもので、図3に示すように、無線スレー
ブ局のWNID、#1、#2、#3、#4、#5毎に、
I/Oリフレッシュを実行するリフレッシュ周期を書き
込めるようになっている。図3の例では、無線スレーブ
局S1(WNID:#1)は、通信サイクルの4サイク
ルに1回I/Oリフレッシュを実行するように指定して
ある。
The refresh cycle setting table 1 is as follows:
The refresh period is set for each of the wireless slave stations S1, S2, . . . S5. As shown in FIG. 3, the refresh period is set for each of the wireless slave stations WNID #1, #2, #3, #4, #5.
The refresh period for performing the I/O refresh can be written in. In the example of Fig. 3, the wireless slave station S1 (WNID: #1) is specified to perform the I/O refresh once every four communication cycles.

【0028】上記重み設定テーブル2は、無線スレーブ
局S1、S2、‥‥S5毎のI/Oリフレッシュ処理時
間に影響を与える「重み要素」を設定するもので、図4
に示した重み設定テーブルの例では、無線中継の中継段
数とI/Oデータ長を、「重み要素」として用いてい
る。中継段数「0」は、中継なしで直接通信する場合を
示し、無線スレーブ局S1(WNID:#1)は、中継
なし、そして、そのI/Oデータ長は、120bytes で
あることを示している。この重み設定テーブル2は、手
入力でなく、システム内部に格納されている情報から編
集されている。
The weight setting table 2 is used to set "weighting factors" that affect the I/O refresh processing time for each of the wireless slave stations S1, S2, . . . S5.
In the example of the weight setting table shown in , the number of wireless relay stages and the I/O data length are used as "weighting factors". The number of relay stages "0" indicates direct communication without relay, and the wireless slave station S1 (WNID: #1) indicates that there is no relay and that the I/O data length is 120 bytes. This weight setting table 2 is compiled from information stored in the system, not manually entered.

【0029】通信の信頼度を上げるための通信エラーの
際の再送処理、誤り制御等を行う場合は、これらのネッ
トワーク設定情報も「重み要素」となるので、上記重み
設定テーブル2の項目に追加するとよい。
When performing retransmission processing, error control, etc. in the event of a communication error in order to increase the reliability of communication, this network setting information also becomes a "weighting factor," so it is advisable to add it to the items in the weight setting table 2 above.

【0030】図4の重み設定テーブル2の「重み要素」
の中、中継段数1段の無線中継を挟むと、その中継処理
に約10msの時間を要し、また、I/Oデータを1by
te通信するには、約0.1msを要する。これらの値を
基にI/Oリフレッシュ処理時間に換算したものを図5
に示す。無線マスタ局Mと無線スレーブ局S1とがI/
Oリフレッシュするには、12msを要し、無線マスタ
局Mと無線スレーブ局S2とがI/Oリフレッシュする
には、2msあればよいことを示している。なお、図5
は、説明のために示したものであって、図5のようなテ
ーブルを作成することは必要でない。
"Weighting Factor" of Weighting Setting Table 2 in FIG.
In the case of a single wireless relay, the relay process takes about 10 ms.
The I/O refresh processing time is calculated based on these values and is shown in Figure 5.
The wireless master station M and the wireless slave station S1 are connected via I/O.
It shows that 12 ms is required for the I/O refresh of the wireless master station M and the wireless slave station S2, and 2 ms is required for the I/O refresh of the wireless master station M and the wireless slave station S2.
is shown for the purpose of explanation, and it is not necessary to create a table like that of FIG.

【0031】上記のリフレッシュ周期設定テーブル1の
リフレッシュ周期と、重み設定テーブル2の重み要素
(中継段数とI/Oデータ長)とから、スケジューリン
グ手段3がスケジューリングテーブル4を生成する。ス
ケジューリングテーブル4の例を、図6に示す。図6に
おいて、「リフレッシュスロット」の「1」〜「12」
は、通信サイクルの1〜12を意味し、無線スレーブ局
S1(#1)は、スロット1、5、9、すなわち、1番
目、5番目、9番目の通信サイクルにおいてサイクリッ
クにI/Oリフレッシュ処理を行い、無線スレーブ局S
2(#2)は、全スロット1、2、‥‥12の通信サイ
クルでサイクリックにI/Oリフレッシュ処理を行う、
というように、無線スレーブ局毎に異なる周期と位相で
I/Oリフレッシュを行うことを示している。そして、
この12スロットは繰り返して実行されていく。
The scheduling means 3 generates a scheduling table 4 from the refresh cycles in the refresh cycle setting table 1 and the weighting factors (number of relay stages and I/O data length) in the weighting setting table 2. An example of the scheduling table 4 is shown in FIG. 6. In FIG. 6, "1" to "12" in "refresh slot"
means communication cycles 1 to 12, and the wireless slave station S1 (#1) cyclically performs I/O refresh processing in slots 1, 5, and 9, i.e., the first, fifth, and ninth communication cycles.
2 (#2) performs I/O refresh processing cyclically in the communication cycle of all slots 1, 2, ... 12.
In this way, the I/O refresh is performed at different periods and phases for each wireless slave station.
These 12 slots are executed repeatedly.

【0032】図6のスケジューリングテーブル4の最下
行の「通信サイクル時間」は、各スロットの丸印の付い
た無線スレーブ局の算出処理時間(図5参照)を加算し
たもので、例えば、スロット1では、3個の無線スレー
ブ局S1、S2、S4のI/Oリフレッシュ処理を実行
するのに、43msの時間を要することを示している。
なお、この「通信サイクル時間」は、必ずしもスケジュ
ーリングテーブル4に格納しておかなくてもよく、他の
領域に保存したり、スケジューリングと実通信サイクル
時間(実際に稼働する通信サイクル時間)設定後廃棄し
たりしてもよい。
[0032] The "communication cycle time" in the bottom row of the scheduling table 4 in Figure 6 is the sum of the calculated processing times (see Figure 5) of the wireless slave stations marked with circles in each slot. For example, in slot 1, it shows that it takes 43 ms to execute I/O refresh processing for the three wireless slave stations S1, S2, and S4.
Incidentally, this "communication cycle time" does not necessarily have to be stored in the scheduling table 4, but may be saved in another area or discarded after the scheduling and the actual communication cycle time (the communication cycle time actually in operation) are set.

【0033】以上のようにして準備されたスケジューリ
ングテーブル4は、図7に示した通信処理のフローに従
って、サイクル通信に使用される。図7において、ステ
ップ701で、システム起動時に、スケジューリングテ
ーブル4は、サイクル通信処理の領域にロードされる。
次いで、このスケジューリングテーブル4から得られる
算出通信サイクル時間の最大値(図6の例では「71m
s」)に若干の余裕を持たせて、例えば、100msを
固定の実通信サイクル時間に設定し、ステップ702に
進んで、この実通信サイクル時間と各無線スレーブ局の
周期(何サイクル毎にI/Oリフレッシュ処理するかの
周期)を、それぞれの無線スレーブ局S1、S2、S
3、S4、S5に通知する。次のステップ703は、I
/Oリフレッシュ処理のルーチンで、ここでは、設定さ
れた実通信サイクル時間を1周期とした通信サイクルが
繰り返し実行される。通信サイクルの進行中、無線スレ
ーブ局S1、S2、S3、S4、S5は、通知された周
期と実通信サイクル時間を基に、例えば、無線スレーブ
局S2は無線マスタ局Mからのポーリングを、無線スレ
ーブ局S3は無線中継局S1からのポーリングを監視
し、所定時間内にポーリングが受けられないときは、
「異常」と判断して異常処理に移る。
The scheduling table 4 prepared as described above is used for cyclic communication in accordance with the flow of communication processing shown in Fig. 7. In Fig. 7, in step 701, at system startup, the scheduling table 4 is loaded into an area for cyclic communication processing.
Next, the maximum value of the calculated communication cycle time obtained from this scheduling table 4 (in the example of FIG. 6, "71 m
The fixed actual communication cycle time is set to, for example, 100 ms, with some margin in the "time period"("s"), and the process proceeds to step 702, where the actual communication cycle time and the period of each wireless slave station (the period at which the I/O refresh process is performed) are set to each of the wireless slave stations S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22, S23, S24, S25, S26, S27, S28, S29, S30, S31, S32, S33, S34, S35, S36, S37, S38, S39, S40, S41, S42, S43, S44, S45, S
The next step 703 is to notify I
In the routine for the /O refresh process, a communication cycle is repeatedly executed, with the set actual communication cycle time being one period. During the progress of the communication cycle, the wireless slave stations S1, S2, S3, S4, and S5 monitor, for example, the wireless slave station S2 for polling from the wireless master station M and the wireless slave station S3 for polling from the wireless relay station S1 based on the notified period and the actual communication cycle time. If no polling is received within a predetermined time,
It is judged as an "abnormality" and abnormality processing is started.

【0034】図6のスケジューリングテーブル4の生成
プロセスを、図8のフローチャートに従って、説明す
る。先ず、ステップ801において、図3のリフレッシ
ュ周期設定テーブル1からスケジューリングテーブル4
の必要最小限のスロット数(列数)Tを算出する。リフ
レッシュ周期の最小公倍数がスロット数Tであって、T
=12である。
The process of generating the scheduling table 4 in Fig. 6 will be described with reference to the flow chart in Fig. 8. First, in step 801, the scheduling table 4 is generated from the refresh cycle setting table 1 in Fig. 3.
The minimum common multiple of the refresh periods is the number of slots T, and T
= 12.

【0035】次に、ステップ802では、全無線スレー
ブ局S1、S2、S3、S4、S5のスケジューリング
が終わって、割り付け(図6の丸印)が済んだか否かを
調べる。割り付け済み(yes)ならば、スケジューリ
ングを終了する。割り付け未了(no)の場合は、ステ
ップ803に移り、次の無線スレーブ局の周期割り付け
を始める。先ず、ステップ803では、割り付け未了の
無線スレーブ局のうち、最小のWNIDの無線スレーブ
局iを割り付け対象として選定する。次いで、ステップ
804で、図3のリフレッシュ周期設定テーブル1から
リフレッシュ周期Ti(#1の場合「4」)を取得し、
次のステップ805で、図4の重み設定テーブル2か
ら、図5に示した、無線スレーブ局iの処理の重み(処
理時間)(#1の場合「12ms」)を算出する。
Next, in step 802, it is checked whether or not the scheduling of all wireless slave stations S1, S2, S3, S4, and S5 has been completed and allocation (circles in FIG. 6) has been completed. If allocation has been completed (yes), the scheduling ends. If allocation has not been completed (no), the process moves to step 803, and periodic allocation of the next wireless slave station begins. First, in step 803, the wireless slave station i with the smallest WNID among the wireless slave stations whose allocation has not been completed is selected as the allocation target. Next, in step 804, the refresh period Ti ("4" in the case of #1) is obtained from refresh period setting table 1 in FIG. 3, and
In the next step 805, the weight (processing time) of the processing of the wireless slave station i ("12 ms" in the case of #1) shown in FIG. 5 is calculated from the weight setting table 2 in FIG.

【0036】次のステップ806では、無線スレーブ局
iの処理スロットを12のスロットの中から割り付け
る。無線スレーブ局iのリフレッシュ周期Ti以下の番
号のスロットにスロット列の最初の割り付けをしない
と、周期Tiが維持できないから、また、各スロットの
算出処理時間は、できるだけ小さくして通信サイクル時
間を短くしたいから、リフレッシュ周期Ti以下の範囲
内のスロットで、スロットの算出処理時間(このスロッ
トに既に割り付けられた各無線スレーブ局の算出処理時
間の和)が最も小さいスロットXに、無線スレーブ局i
のI/Oリフレッシュを割り付ける(図6の丸印)(#
1の場合「X=1」)。
In the next step 806, the processing slot for wireless slave station i is assigned from among the 12 slots. If the slot with the number equal to or less than the refresh period Ti of wireless slave station i is not assigned first in the slot sequence, the period Ti cannot be maintained. Also, since it is desired to shorten the communication cycle time by making the calculated processing time of each slot as small as possible, wireless slave station i is assigned to slot X, which is within the range equal to or less than the refresh period Ti and has the shortest calculated slot processing time (the sum of the calculated processing times of each wireless slave station already assigned to this slot).
Assign the I/O refresh of (circle in Figure 6) (#
If it is 1, then "X=1").

【0037】上記ステップ806での無線スレーブ局i
のI/Oリフレッシュの最初の割り付けを終えると、次
のステップ807で、更にもうひとつの割り付けが可能
か否かを調べる。「直前に割り付けたX」+「リフレッ
シュ周期Ti」が、スロット数T以下(yes)なら
ば、更に割り付けが可能なので、ステップ808の割り
付け処理に移る。スロット数Tを越えていれば(n
o)、ステップ802に戻って、次の無線スレーブ局の
割り当てに入る。
In step 806, the wireless slave station i
When the first allocation of I/O refresh is completed, in the next step 807, it is checked whether or not another allocation is possible. If "the previously allocated X" + "refresh period Ti" is equal to or less than the number of slots T (yes), further allocation is possible, so the process moves to the allocation process in step 808. If it exceeds the number of slots T (n
o), the process returns to step 802 to start allocation of the next wireless slave station.

【0038】ステップ808では、(X+Ti)番目の
スロットに無線スレーブ局iの次のI/Oリフレッシュ
を割り付ける(#1の場合「5」)。次いで、ステップ
809に進んで、更にその先のスロットに割り付けでき
るかを調べるために、XにTiを加算し(#1の場合、
加算結果は「X=5」)、ステップ807へ戻り、X+
Ti≦Tとなるまで、ステップ807〜809のループ
を繰り返す(#1の場合、更に「X=9」が割り付けら
れる)。
In step 808, the next I/O refresh of the wireless slave station i is allocated to the (X+Ti)th slot (in the case of #1, "5"). Next, the process proceeds to step 809, where Ti is added to X to check whether it can be allocated to a further slot (in the case of #1,
The result of the addition is "X=5"), and the process returns to step 807.
The loop of steps 807 to 809 is repeated until Ti≦T (in the case of #1, "X=9" is further assigned).

【0039】このようにして得られたスケジューリング
テーブル4(図6参照)においては、スロット2とスロ
ット8で算出通信サイクル時間が最大値「71ms」と
なっている。この「71ms」は、毎通信サイクルに全
ての無線スレーブ局のI/Oリフレッシュを行う従来の
場合の算出通信サイクル時間「113ms」の60%程
に減少しており、その分、通信サイクル時間の短縮がで
きて、高速な応答性のFA用ネットワークを構築するこ
とができる。また、算出通信サイクル時間の最大値が小
さければ、十分な余裕を持たせて実通信サイクル時間を
設定することができ、余裕時間をデータの再送、リカバ
リ処理に当てることもでき、これらの処理の必要度が高
い無線通信においては特に好都合である。
In the scheduling table 4 (see FIG. 6) obtained in this way, the calculated communication cycle time is the maximum value of "71 ms" for slots 2 and 8. This "71 ms" is reduced to about 60% of the calculated communication cycle time of "113 ms" in the conventional case where I/O refresh is performed for all wireless slave stations in every communication cycle, and the communication cycle time can be shortened accordingly, making it possible to construct a FA network with high response. Furthermore, if the maximum value of the calculated communication cycle time is small, the actual communication cycle time can be set with a sufficient margin, and the margin can be used for data retransmission and recovery processing, which is particularly convenient for wireless communication where these processes are highly necessary.

【0040】上述の実施の形態においては、各無線スレ
ーブ局は1スロットに最高1回のI/Oリフレッシュを
行うようにスケジューリングしたが、もし、非常に頻繁
にI/Oリフレッシュを必要とする無線スレーブ局があ
る場合は、この無線スレーブ局を1スロット(1通信サ
イクル)に複数回I/Oリフレッシュするようにスケジ
ューリングすることができる。図9および図10に、そ
の場合のリフレッシュ周期設定テーブル1とスケジュー
リングテーブル4の例を示す。なお、重み設定テーブル
2は、図4のものを使用している。
In the above embodiment, each wireless slave station is scheduled to perform a maximum of one I/O refresh per slot, but if there is a wireless slave station that requires an I/O refresh very frequently, this wireless slave station can be scheduled to perform an I/O refresh multiple times per slot (one communication cycle). Figures 9 and 10 show examples of the refresh period setting table 1 and the scheduling table 4 in this case. The weight setting table 2 used is that shown in Figure 4.

【0041】図9のリフレッシュ周期設定テーブル1に
おいて、1スロットに複数回I/Oリフレッシュを割り
付ける場合、リフレッシュ周期項に、例えば、回数の前
に「−]を付けて、通常の周期と区別して、毎スロット
複数回(図9の例では、2回)のI/Oリフレッシュを
指定する。この場合の図10に示したスケジューリング
テーブル4生成プロセスのフローの詳細な説明は省略す
るが、図8の処理フローに準じて生成することができ
る。無線スレーブ局S2(#2)の場合、図8のステッ
プ804の周期はTi=−2となり、ステップ806
で、図10のように、全スロットに#2を2個割り付け
る。割り付けに当たっては、無線スレーブ局S2が通信
サイクルの中で連続してI/Oリフレッシュすると、無
線マスタ局Mまたは無線スレーブ局S2でのデータの準
備が間に合わず、空のI/Oリフレッシュになることが
あるから、なるべく、その間に他の無線スレーブ局のI
/Oリフレッシュが実行されるようにする。図10のス
ケジューリングテーブル4の例では、1回目の無線スレ
ーブ局S2のI/Oリフレッシュ#2を2列目に、2回
目の無線スレーブ局S2のI/Oリフレッシュ#2を5
列目にして、これらの間に他の無線スレーブ局S3、S
4のI/Oリフレッシュ#3、#4を挟んで配列し、ス
ロット1では#1、#2、#4、#2、スロット2では
#2、#3、#2、#5のように、上から下へ順次I/
Oリフレッシュを実行するようにセットしてある。
In the refresh cycle setting table 1 of FIG. 9, when multiple I/O refreshes are assigned to one slot, for example, "-" is added before the number of times in the refresh cycle item to distinguish it from a normal cycle and specify multiple I/O refreshes per slot (2 times in the example of FIG. 9). A detailed explanation of the flow of the process for generating the scheduling table 4 shown in FIG. 10 in this case will be omitted, but the table can be generated in accordance with the process flow of FIG. 8. In the case of the wireless slave station S2 (#2), the cycle in step 804 in FIG. 8 is Ti=-2, and in step 806
10, two slots #2 are allocated to each slot. In allocating the slots, if the wireless slave station S2 performs I/O refresh continuously in a communication cycle, the wireless master station M or the wireless slave station S2 may not be able to prepare data in time, resulting in an empty I/O refresh. Therefore, it is desirable to allocate the I/O refresh of other wireless slave stations as much as possible during that time.
In the example of the scheduling table 4 in FIG. 10, the first I/O refresh #2 of the wireless slave station S2 is in the second column, and the second I/O refresh #2 of the wireless slave station S2 is in the fifth column.
In the second row, other wireless slave stations S3, S
The I/O refresh rates are arranged from top to bottom, with I/O refresh rates #3 and #4 sandwiched between them, and the I/O refresh rates are arranged from top to bottom, with #1, #2, #4, and #2 in slot 1, and #2, #3, #2, and #5 in slot 2.
O refresh is set to occur.

【0042】この実施の形態のように、1通信サイクル
内で同一無線スレーブ局のI/Oリフレッシュを複数回
行えば、無線スレーブ局と無線マスタ局との応答、デー
タ交換が頻繁に行われ、INリフレッシュの回数が多く
なって、INデータの変化が速くI/Oリモートマスタ
局10に伝わる等、高速応答を実現できる他、通信エラ
ー発生の場合にも、その回復が速やかに行われることに
なる。
[0042] As in this embodiment, if I/O refresh is performed multiple times for the same wireless slave station within one communication cycle, responses and data exchange between the wireless slave station and the wireless master station will be frequent, and the number of IN refreshes will increase, so that changes in the IN data will be transmitted quickly to the I/O remote master station 10, thereby achieving high-speed response. In addition, even if a communication error occurs, recovery will be made quickly.

【0043】図11は、スケジューリングテーブル4生
成プロセスの他の例のフローチャートを示す。図11の
フローチャートは、スケジューリングテーブル4のスロ
ット毎の算出通信サイクル時間(図6、図10参照)の
最大値が最も小さくなるように無線スレーブ局のI/O
リフレッシュを割り付ける例である。図11において、
ステップ111では、図8のステップ801と同様に、
スケジューリングテーブル4のスロット数Tを算出す
る。
11 is a flowchart showing another example of the process for generating the scheduling table 4. The flowchart in FIG. 11 shows a process for generating the I/O of the wireless slave station so as to minimize the maximum value of the calculated communication cycle time for each slot in the scheduling table 4 (see FIG. 6 and FIG. 10).
This is an example of allocating refresh.
In step 111, similarly to step 801 in FIG.
The number of slots T in the scheduling table 4 is calculated.

【0044】次に、ステップ112に進んで、リフレッ
シュ周期設定テーブル1に設定された全ての無線スレー
ブ局について、スロット列の左から順に、そのリフレッ
シュ周期で仮に割り付けていく。例えば、図2の#1に
付いては、スロット1、5、9を割り付け、#3および
#4に付いては、スロット1、3、5、7、9、11を
割り付け、#5に付いては、スロット1、7を割り付け
る。
Next, the process proceeds to step 112, where all the wireless slave stations set in the refresh cycle setting table 1 are provisionally assigned with their refresh cycles, starting from the left in the slot column. For example, slots 1, 5, and 9 are assigned to #1 in Fig. 2, slots 1, 3, 5, 7, 9, and 11 are assigned to #3 and #4, and slots 1 and 7 are assigned to #5.

【0045】次に、ステップ113に進み、各スロット
に割り付けられた無線スレーブ局の算出時間(図5参
照)の和の最大値を求める。ステップ112から直接ス
テップ113にフローが来た場合、和の最大値は、スロ
ット1に現れ、上の例の場合、その値は、「113」で
ある。
Next, the process proceeds to step 113, where the maximum value of the sum of the calculated times (see FIG. 5) of the wireless slave stations assigned to each slot is found. If the flow goes directly to step 113 from step 112, the maximum value of the sum appears in slot 1, and in the above example, the value is "113".

【0046】次のステップ114では、上記の和の最大
値を、割り付けの組み合わせ同士で比較し、和の最大値
が小さい値の方の組み合わせを残す。最初のフローで
は、比較する相手がないから、和の最大値「113」の
組み合わせを保存する。後に説明するステップ116経
由のフローの場合は、それまでに得られた和の最大値の
うち最も小さい和の最大値の組み合わせが、比較の相手
として残っているから、これと比較して、どちらか和の
最大値が小さい方の組み合わせを残す。
In the next step 114, the maximum sums are compared between the allocation combinations, and the combination with the smallest maximum sum is retained. In the first flow, there is nothing to compare it with, so the combination with the maximum sum "113" is saved. In the case of the flow via step 116, which will be described later, the combination with the smallest maximum sum among the maximum sums obtained so far remains as the comparison target, so this is compared and the combination with the smaller maximum sum is retained.

【0047】次のステップ115では、後に説明する
「組み合わせのずらし作業」が終わって、全ての組み合
わせ操作が終わったか否かを調べる。初回は、勿論、終
わっていない(no)から、ステップ116に進む。こ
こでは、ステップ112で仮にした割り当てを順次ずら
して新しい組み合わせを作る。上の例では、例えば、#
5の割り付けを、スロット2、8にシフトし、他の無線
スレーブ局の割り付けは変えずにおく。その結果、ステ
ップ113での和の最大値は、スロット1、5、9に現
れ、その値は、「78」となる。従って、ステップ11
4では、2回目の組み合わせの方を残すことになる。同
様にして、#5の割り付けを順次シフトし、また、他の
無線スレーブ局の割り付けも順次シフトして、各無線ス
レーブ局のリフレッシュ周期を維持しながら、T×n
(無線スレーブ局数)通りの全ての組み合わせを順次比
較すると、ステップ115で、「総当たり終り」(ye
s)となり、最後に残った組み合わせをスケジューリン
グテーブル4に採用する。このフローによれば、スロッ
ト毎の算出通信サイクル時間の最大値が最も小さくな
り、実通信サイクル時間を最も短くできる。実通信サイ
クル時間が短い程、FAシステムの応答は迅速になり、
生産効率も向上する。
In the next step 115, a check is made to see if the "combination shifting operation" described later has been completed and all combination operations have been completed. The first time, of course, it is not completed (no), so the process proceeds to step 116. Here, new combinations are made by sequentially shifting the allocations tentatively made in step 112. In the above example, for example, #
The allocation of the wireless slave station 115 is shifted to slots 2 and 8, while the allocation of the other wireless slave stations is left unchanged. As a result, the maximum value of the sum in step 113 appears in slots 1, 5, and 9, and its value is "78".
In the same manner, the allocation of #5 is shifted in sequence, and the allocations of the other wireless slave stations are also shifted in sequence, so that the refresh cycle of each wireless slave station is maintained while T×n
When all the combinations (number of wireless slave stations) are compared in sequence, a step 115 is reached in which "exhaustive selection completed" (yes
s), and the last remaining combination is adopted in the scheduling table 4. According to this flow, the maximum value of the calculated communication cycle time for each slot is minimized, and the actual communication cycle time can be shortened to the shortest. The shorter the actual communication cycle time, the faster the response of the FA system becomes.
Production efficiency will also improve.

【0048】[0048]

【発明の効果】上述のように、この発明によれば、無線
スレーブ局毎のリフレッシュ周期を設定するリフレッシ
ュ周期設定テーブルと、無線スレーブ局毎のI/Oリフ
レッシュ処理時間に影響を与える重み要素を設定する
ーブルであって、その項目に無線中継段数が含まれる
み設定テーブルと、上記リフレッシュ周期設定テーブル
のリフレッシュ周期と、上記重み設定テーブルの重み要
素とから、通信サイクルの各スロットでI/Oリフレッ
シュ処理を行う無線スレーブ局を割り付けるスケジュー
リングテーブルとを具備し、スケジューリングテーブル
に従って、無線マスタ局が無線スレーブ局とサイクリッ
クに通信してI/Oリフレッシュを行うようにしたか
ら、I/Oリフレッシュを必要とする頻度に応じて、各
無線スレーブ局のポーリングされる周期が定められ、そ
のI/Oリフレッシュに要する時間とポーリング周期と
から、通信サイクルの各スロットへI/Oリフレッシュ
する無線スレーブ局が分散して割り付けられることによ
り、通信サイクル時間を短くすることができ、再送処
理、誤り制御、無線中継等の高信頼度無線通信手法を採
用しても、無線通信の高速化がもたらされ、無線リモー
トI/O装置の応答性が向上する。
As described above, according to the present invention, a refresh cycle setting table for setting a refresh cycle for each wireless slave station and a table for setting a weighting factor that affects an I/O refresh processing time for each wireless slave station are provided.
and a scheduling table which allocates wireless slave stations which perform I/O refresh processing in each slot of a communication cycle based on the refresh period of the refresh period setting table and the weighting factor of the weight setting table. According to the scheduling table, the wireless master station cyclically communicates with the wireless slave stations to perform I/O refresh. Therefore, the polling period of each wireless slave station is determined according to the frequency at which I/O refresh is required, and the wireless slave stations which perform I/O refresh are distributed and allocated to each slot of the communication cycle based on the time required for the I/O refresh and the polling period. This shortens the communication cycle time, and even when a highly reliable wireless communication method such as retransmission processing, error control, wireless relay, etc. is adopted, the wireless communication speed is increased, and the responsiveness of the wireless remote I/O device is improved.

【0049】この発明によれば、上記スケジューリング
テーブルのスロット毎に割り付けられた無線スレーブ局
の算出処理時間の和の最大値ができるだけ小さくなるよ
うにして、スケジューリングテーブルの割り付けを行う
ようにしたから、通信サイクル時間を、算出される処理
時間の和の最大値よりやや大きい一定値に設定して、簡
単な定周期通信サイクル処理を行っても、通信サイクル
時間が比較的短くでき、無線通信の高速化が容易に実現
できて、実用性が高い。
[0049] According to this invention , the scheduling table is allocated so that the maximum value of the sum of the calculated processing times of the wireless slave stations allocated to each slot in the scheduling table is as small as possible. Therefore, even if the communication cycle time is set to a constant value slightly larger than the maximum value of the sum of the calculated processing times and simple fixed-period communication cycle processing is performed, the communication cycle time can be made relatively short, and high-speed wireless communication can be easily achieved, making it highly practical.

【0050】この発明によれば、上記重み設定テーブル
の項目に無線中継段数を含むようにしたので、I/Oリ
フレッシュ処理時間に、中継に要する時間が加算され、
無線中継を採用したI/Oリフレッシュ処理時間が、I
/Oリフレッシュのスケジュールに反映され、無線中継
局を備えた無線リモートI/O装置の通信サイクル時間
設定がより正確になる。
According to this invention , since the items in the weight setting table include the number of wireless relay stages, the time required for relaying is added to the I/O refresh processing time,
The I/O refresh processing time using wireless relay is
This is reflected in the schedule of the wireless I/O refresh, and the communication cycle time of the wireless remote I/O device equipped with the wireless relay station can be set more accurately.

【0051】請求項2の発明によれば、請求項1の発明
において、上記スケジューリングテーブルのひとつのス
ロットに同一の無線スレーブ局が複数割り付けられ、上
記ひとつのスロット内で、無線マスタ局が同一の無線ス
レーブ局と複数回I/Oリフレッシュを行うようにした
から、一通信サイクル内に複数回のI/Oリフレッシュ
を行う無線スレーブ局は、あたかも通信サイクルが実際
の通信サイクルの1/複数に短くなったように、頻繁に
I/Oリフレッシュされることになり、通信サイクルを
その分大幅に短縮した効果をもたらす。
[0051] According to the invention of claim 2 , in the invention of claim 1, a plurality of identical wireless slave stations are assigned to one slot of the scheduling table, and within the one slot, the wireless master station performs I/O refresh with the same wireless slave station a plurality of times. Therefore, a wireless slave station which performs I/O refresh a plurality of times within one communication cycle is I/O refreshed frequently, as if the communication cycle had been shortened to one or more times the actual communication cycle, resulting in the effect of significantly shortening the communication cycle by that amount.

【0052】請求項3の発明によれば、無線マスタ局と
上記同一の無線スレーブ局との複数回のI/Oリフレッ
シュが、無線マスタ局と他の無線スレーブ局とのI/O
リフレッシュを挟んで行われるから、同一の無線スレー
ブ局のI/OリフレッシュとI/Oリフレッシュの間に
若干の時間間隔が生じ、同一の無線スレーブ局のI/O
リフレッシュが連続する場合に生じやすい「空のI/O
リフレッシュ」を避けられ、有効なI/Oリフレッシュ
を頻繁に行うことができる。
According to the third aspect of the present invention , a plurality of I/O refresh operations between the wireless master station and the same wireless slave station are performed, and the I/O refresh operations between the wireless master station and another wireless slave station are performed.
Since the I/O refresh is performed with a refresh in between, there is a slight time interval between I/O refreshes of the same wireless slave station.
"Empty I/O" which is likely to occur when refresh is performed continuously
This avoids "refreshing" and allows for effective I/O refreshes to be performed frequently.

【0053】請求項4の発明によれば、請求項1の発明
において、無線スレーブ局が、上記スケジューリングテ
ーブルの結果から無線マスタ局が決定した通信サイクル
時間に基づいて、無線マスタ局からのポーリングを監視
するようにしたから、無線マスタ局からのポーリングが
スケジュールどおりでなくなったとき、無線マスタ局が
これを検知して、通常のI/Oリフレッシュを中止し、
異常処理に切り換えることができる。
According to the fourth aspect of the present invention , in the first aspect of the present invention, the wireless slave station monitors polling from the wireless master station based on the communication cycle time determined by the wireless master station from the results of the scheduling table. Therefore, when the polling from the wireless master station is no longer according to schedule, the wireless master station detects this and stops the normal I/O refresh.
It is possible to switch to abnormal processing.

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

【図1】この発明の無線リモートI/O装置を使用する
無線通信ネットワークの例を示す説明図。
FIG. 1 is a diagram illustrating an example of a wireless communication network using a wireless remote I/O device of the present invention.

【図2】この発明の無線リモートI/O装置におけるス
ケジューリング処理を示すブロック図。
FIG. 2 is a block diagram showing a scheduling process in the wireless remote I/O device of the present invention.

【図3】この発明の無線リモートI/O装置におけるリ
フレッシュ周期設定テーブルの一実施の形態を示す説明
図。
FIG. 3 is an explanatory diagram showing an embodiment of a refresh cycle setting table in the wireless remote I/O device of the present invention.

【図4】この発明の無線リモートI/O装置における重
み設定テーブルの一実施の形態を示す説明図。
FIG. 4 is an explanatory diagram showing an embodiment of a weight setting table in the wireless remote I/O device of the present invention.

【図5】図4の重み設定テーブルからの処理時間算出値
を示す説明図。
5 is an explanatory diagram showing processing time calculation values based on the weight setting table of FIG. 4;

【図6】図3のリフレッシュ周期設定テーブルおよび図
3の重み設定テーブルから得られたスケジューリングテ
ーブルを示す説明図。
6 is an explanatory diagram showing a scheduling table obtained from the refresh cycle setting table of FIG. 3 and the weight setting table of FIG.

【図7】この発明の無線リモートI/O装置における通
信処理フローを示すフローチャート。
FIG. 7 is a flowchart showing a communication processing flow in the wireless remote I/O device of the present invention.

【図8】この発明の無線リモートI/O装置におけるス
ケジューリングの一実施の形態のフローを示すフローチ
ャート。
FIG. 8 is a flowchart showing a flow of an embodiment of scheduling in the wireless remote I/O device of the present invention.

【図9】この発明の無線リモートI/O装置におけるリ
フレッシュ周期設定テーブルの他の実施の形態を示す説
明図。
FIG. 9 is an explanatory diagram showing another embodiment of a refresh cycle setting table in the wireless remote I/O device of the present invention.

【図10】図9のリフレッシュ周期設定テーブルおよび
図4の重み設定テーブルから得られたスケジューリング
テーブルを示す説明図。
10 is an explanatory diagram showing a scheduling table obtained from the refresh cycle setting table of FIG. 9 and the weight setting table of FIG.

【図11】この発明の無線リモートI/O装置における
スケジューリングの他の実施形態のフローを示すフロー
チャート。
FIG. 11 is a flowchart showing the flow of scheduling in a wireless remote I/O device according to another embodiment of the present invention.

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

1 リフレッシュ周期設定テーブル 2 重み設定テーブル 3 スケジューリング手段 4 スケジューリングテーブル M 無線マスタ局 NW1、NW2 ネットワーク S1 無線中継局(無線スレーブ局) S2、S3、S4、S5 無線スレーブ局 1 Refresh period setting table 2 Weight setting table 3 Scheduling means 4 Scheduling table M Wireless master station NW1, NW2 Network S1 Wireless relay station (wireless slave station) S2, S3, S4, S5 Wireless slave stations

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−79536(JP,A) 特開 平3−187644(JP,A) 特開 平5−260572(JP,A) 特開 平7−115423(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 ───────────────────────────────────────────────────────── Continued from the front page (56) References JP 2-79536 (JP, A) JP 3-187644 (JP, A) JP 5-260572 (JP, A) JP 7-115423 (JP, A) (58) Field of investigation (Int.Cl. 7 , DB name) H04L 12/28

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 無線マスタ局が、直接、あるいは、無線
中継局を介して、無線スレーブ局とサイクリックに通信
してI/Oリフレッシュを行う無線リモートI/O装置
において、 無線スレーブ局毎のリフレッシュ周期を設定するリフレ
ッシュ周期設定テーブルと、 無線スレーブ局毎のリフレッシュ処理時間に影響を与え
る重み要素を設定するテーブルであって、その項目に無
線中継段数が含まれる重み設定テーブルと、 上記リフレッシュ周期設定テーブルのリフレッシュ周期
と、上記重み設定テーブルの重み要素とから、通信サイ
クルの各スロットでリフレッシュ処理を行う無線スレー
ブ局を割り付けるスケジューリングテーブルとを具備
し、 スケジューリングテーブルに従って、無線マスタ局が無
線スレーブ局とサイクリックに通信してI/Oリフレッ
シュを行うことを特徴とする無線リモートI/O装置。
[Claim 1] In a wireless remote I/O device in which a wireless master station performs I/O refresh by cyclically communicating with a wireless slave station directly or via a wireless relay station, the device comprises a refresh cycle setting table for setting a refresh cycle for each wireless slave station, and a table for setting weighting factors that affect the refresh processing time for each wireless slave station , the weighting factors being ineffective in the items.
a scheduling table for allocating a wireless slave station to perform a refresh process in each slot of a communication cycle based on a refresh period of the refresh period setting table and a weighting factor of the weight setting table, wherein a wireless master station cyclically communicates with the wireless slave stations to perform I/O refresh in accordance with the scheduling table.
【請求項2】 上記スケジューリングテーブルのひとつ
のスロットに同一の無線スレーブ局が複数割り付けら
れ、上記ひとつのスロット内で、無線マスタ局が同一の
無線スレーブ局と複数回I/Oリフレッシュを行うこと
を特徴とする請求項1記載の無線リモートI/O装置。
[Claim 2] A wireless remote I/O device as described in claim 1, characterized in that multiple identical wireless slave stations are assigned to one slot of the scheduling table, and within the one slot, a wireless master station performs I/O refresh with the same wireless slave station multiple times.
【請求項3】 無線マスタ局と上記同一の無線スレーブ
局との複数回のI/Oリフレッシュが、無線マスタ局と
他の無線スレーブ局とのI/Oリフレッシュを挟んで行
われるようにしたことを特徴とする請求項2記載の無線
リモートI/O装置。
[Claim 3] The wireless remote I/O device as described in claim 2, characterized in that multiple I/O refreshes between the wireless master station and the same wireless slave station are performed with I/O refreshes between the wireless master station and other wireless slave stations in between.
【請求項4】 無線スレーブ局が、上記スケジューリン
グテーブルの結果から無線マスタ局が決定した通信サイ
クル時間に基づいて、無線マスタ局からのポーリングを
監視することを特徴とする請求項1記載の無線リモート
I/O装置。
4. The wireless remote I/O device according to claim 1 , wherein the wireless slave station monitors polling from the wireless master station based on a communication cycle time determined by the wireless master station from the results of the scheduling table.
JP06078698A 1998-03-12 1998-03-12 Wireless remote I/O device Expired - Lifetime JP3533455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06078698A JP3533455B2 (en) 1998-03-12 1998-03-12 Wireless remote I/O device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06078698A JP3533455B2 (en) 1998-03-12 1998-03-12 Wireless remote I/O device

Publications (2)

Publication Number Publication Date
JPH11261558A JPH11261558A (en) 1999-09-24
JP3533455B2 true JP3533455B2 (en) 2004-05-31

Family

ID=13152338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06078698A Expired - Lifetime JP3533455B2 (en) 1998-03-12 1998-03-12 Wireless remote I/O device

Country Status (1)

Country Link
JP (1) JP3533455B2 (en)

Also Published As

Publication number Publication date
JPH11261558A (en) 1999-09-24

Similar Documents

Publication Publication Date Title
US9325368B2 (en) Gateway wireless communication instrument, wireless communication system, and communication control method
US10291755B2 (en) Systems and methods for adaptive scanning and/or advertising
JP4513743B2 (en) Wireless communication system, wireless communication apparatus, wireless communication method, and computer program
WO1996004719A1 (en) Method and apparatus for a radio system using variable transmission reservation
US10652912B2 (en) Smart radio arbiter with conflict resolution based on timing predictability
CN109152002A (en) Method and device for information transmission, storage medium and processor
US8160120B2 (en) Method for transmitting data between a control unit and a plurality of remote I/O units of an automated installation
US5528622A (en) Communication system having channel hopping protocol and multiple entry points
CN105182993A (en) Flight control method and device
US11723086B2 (en) Human machine interface for mission critical wireless communication link nodes
JP6151073B2 (en) Base station radio communication apparatus, radio communication system, radio communication method, and multi-hop radio communication system
WO1996004731A1 (en) Method and apparatus for a radio system operating on shared communication channels
JP3533455B2 (en) Wireless remote I/O device
US7787427B1 (en) Providing low average latency communication in wireless mesh networks
EP3868027B1 (en) Network device and wireless communication device for cyclic communication
EP4092649B1 (en) Base wireless device and communication method of base wireless device
KR101025423B1 (en) Time Trigger based Message Scheduling in JPAN
JP5652236B2 (en) Communication device
KR102581349B1 (en) Method and apparatus for operating frame in factory automation system
Kampen et al. Low-level wireless and sensor networks for Industry 4.0 communication–presentation
JPH11261557A (en) Wireless communication device
WO2021006343A1 (en) Communication system, remote control machine system, and communication method
WO2004102984A2 (en) Non interfering group based wireless network protocols
US20240388389A1 (en) Frequency hopping technique for multiple frequency bands in networks
JP7663702B2 (en) COMMUNICATION SYSTEM, COMMUNICATION CONTROL CIRCUIT AND COMMUNICATION METHOD

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031222

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040217

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090319

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090319

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100319

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100319

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110319

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110319

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120319

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120319

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140319

Year of fee payment: 10

EXPY Cancellation because of completion of term