JP2672746B2 - Cyclic map change method - Google Patents

Cyclic map change method

Info

Publication number
JP2672746B2
JP2672746B2 JP4146677A JP14667792A JP2672746B2 JP 2672746 B2 JP2672746 B2 JP 2672746B2 JP 4146677 A JP4146677 A JP 4146677A JP 14667792 A JP14667792 A JP 14667792A JP 2672746 B2 JP2672746 B2 JP 2672746B2
Authority
JP
Japan
Prior art keywords
node
cyclic
transmission area
map
nodes
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
JP4146677A
Other languages
Japanese (ja)
Other versions
JPH05316122A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4146677A priority Critical patent/JP2672746B2/en
Publication of JPH05316122A publication Critical patent/JPH05316122A/en
Application granted granted Critical
Publication of JP2672746B2 publication Critical patent/JP2672746B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、コントローラを備
え、同じ構成のメモリを有する複数のノード(データウ
ェイ装置)が接続されたローカルエリアネットワークに
関し、特に、上記メモリのデータ伝送エリア(サイクリ
ックエリア)の変更がオンライン状態で可能なサイクリ
ックマップ変更方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a local area network provided with a controller and connected to a plurality of nodes (data way devices) having memories of the same structure, and more particularly to a data transmission area (cyclic area) of the memory. ) Is related to the cyclic map change method that can be changed online.

【0002】[0002]

【従来の技術】図7は、従来のローカルエリアネットワ
ーク(LAN)におけるシステム構成図である。図7に
おいて、60はローカルエリアネットワーク(LA
N)、2はネットワーク5に接続されるノード(1)〜
(3)、11はノード2(1)〜ノード2(3)に搭載
され、送信したいサイクリックデータ及び受信したサイ
クリックデータを格納するサイクリックメモリ(1)〜
(3)、6はノード2(1)〜ノード2(3)にそれぞ
れ接続され、これらのノードを制御するコントローラ
(1)〜(3)である。それぞれのノードのサイクリッ
クメモリ11は同じメモリ容量を持ち、全てのノード
(ステーション)毎に対応したデータ伝送エリアが割り
当てられている。そして、あるノードに割り当てられた
データ伝送エリアにデータが書かれると、その書かれた
データは全てのノードのそれぞれのサイクリックメモリ
11の同じデータ伝送エリアに反映されるようになって
いる。即ち、サイクリックメモリ11は、図8で示すサ
イクリックマップに従って割り当てられている。図8の
サイクリックマップでは、ノードアドレスと、サイクリ
ックメモリ11の先頭アドレスと、データ長の項目に分
かれている。ノードアドレスはノード2(1)〜ノード
2(N)に対応する番号、サイクリックメモリの先頭ア
ドレスはサイクリックメモリ11のノード2(1)〜ノ
ード2(N)のデータが格納されるアドレス値、データ
長は送信したいデータの長さである。このサイクリック
マップに従って、図9で示すように、サイクリックメモ
リ11か割り当てられる。図9では、100Hのアドレ
スからノード2(1)のデータ伝送エリア、150Hの
アドレスからノード2(2)のデータ伝送エリア、20
0Hのアドレスからノード2(3)のデータ伝送エリ
ア、また、F00Hのアドレスからノード2(N)のデ
ータ伝送エリアに割り当てられている。
2. Description of the Related Art FIG. 7 is a system configuration diagram of a conventional local area network (LAN). In FIG. 7, 60 is a local area network (LA).
N) and 2 are the nodes (1) to which the network 5 is connected.
(3) and 11 are mounted on the node 2 (1) to node 2 (3), and cyclic memory (1) to store cyclic data to be transmitted and received cyclic data (1) to
(3) and 6 are controllers (1) to (3) respectively connected to the nodes 2 (1) to 2 (3) and controlling these nodes. The cyclic memory 11 of each node has the same memory capacity, and a data transmission area corresponding to each node (station) is assigned. Then, when data is written in the data transmission area assigned to a certain node, the written data is reflected in the same data transmission area of the respective cyclic memories 11 of all the nodes. That is, the cyclic memory 11 is allocated according to the cyclic map shown in FIG. The cyclic map of FIG. 8 is divided into a node address, a start address of the cyclic memory 11, and a data length item. The node address is a number corresponding to the nodes 2 (1) to 2 (N), and the top address of the cyclic memory is an address value in which the data of the nodes 2 (1) to 2 (N) of the cyclic memory 11 is stored. , Data length is the length of the data you want to send. According to this cyclic map, the cyclic memory 11 is allocated as shown in FIG. In FIG. 9, the data transmission area of the node 2 (1) is from the address of 100H, the data transmission area of the node 2 (2) is from the address of 150H, 20
It is allocated from the address of 0H to the data transmission area of the node 2 (3), and from the address of F00H to the data transmission area of the node 2 (N).

【0003】従来のローカルエリアネットワークにおけ
るサイクリック通信は、次のように行っていた。まず、
図8のサイクリックマップに従って図9のようにサイク
リックメモリ11を固定的に割り付け、それぞれのノー
ドのコントローラに搭載するアプリケーションを作成す
る。例えば、ノード2(1)のサイクリックメモリ11
の先頭アドレス100Hから10Hまでのデータ伝送エ
リアに送信したいデータを格納し、ローカルエリアネッ
トワーク6によって各ノード2(2),2(3)のサイ
クリックメモリ11における同じアドレスのデータ伝送
エリアに送信される。同じように、各ノード2(2),
2(3)も、図8のサイクリックマップに従ってアプリ
ケーションが搭載されサイクリック通信を行う。
Cyclic communication in a conventional local area network has been performed as follows. First,
The cyclic memory 11 is fixedly allocated as shown in FIG. 9 according to the cyclic map of FIG. 8, and an application installed in the controller of each node is created. For example, the cyclic memory 11 of the node 2 (1)
The data to be transmitted is stored in the data transmission area from the first address 100H to 10H of, and is transmitted to the data transmission area of the same address in the cyclic memory 11 of each node 2 (2), 2 (3) by the local area network 6. It Similarly, each node 2 (2),
Also in 2 (3), an application is installed according to the cyclic map of FIG. 8 to perform cyclic communication.

【0004】[0004]

【発明が解決しようとする課題】従来のローカルエリア
ネットワークにおけるサイクリック通信は、サイクリッ
クメモリを固定的に割り付けて行っているため、あらか
じめ決められたサイクリックマップでしか通信できず、
システムの拡張などによるサイクリックエリアの拡張,
縮小,移動等のサイクリックマップ変更を行う場合は、
システムの停止又はアプリケーションの変更を余儀なく
され、また、柔軟性を欠くという問題があった。
In the conventional cyclic communication in the local area network, since the cyclic memory is fixedly allocated, the communication can be made only by a predetermined cyclic map.
Expansion of cyclic area by system expansion,
If you want to change the cyclic map such as reduction or movement,
There is a problem that the system is forced to stop or the application is changed and the system lacks flexibility.

【0005】この発明は、かかる問題点を解決するため
になされたもので、システムの拡張及びノードのバック
アップなどによりデータ伝送エリアの変更が生じても、
オンラインの状態でデータ伝送エリアを変更できる柔軟
なサイクリックマップ変更方式を得ることを目的として
いる。
The present invention has been made to solve the above problems, and even if the data transmission area is changed due to system expansion or node backup,
The purpose is to obtain a flexible cyclic map changing method that can change the data transmission area while online.

【0006】[0006]

【課題を解決するための手段】この発明にかかるサイク
リックマップ変更方式では、図1で示すように、コント
ローラ6を備え、同じ構成のメモリを有する複数のノー
ド4がローカルエリアネットワーク5に接続され、あら
かじめ定められた各ノードのメモリに割り当てられ伝送
領域情報(サイクリックマップ情報)に従って、自ノー
ドに割り当てられたメモリの伝送領域(データ伝送エリ
ア)のデータを他のノードに順次に同報通信すると、他
のノードが上記データを受信して自分のメモリの所定の
伝送領域に格納するサイクリックマップ通信において、
各ノードに全ノードの伝送領域情報を格納する伝送領域
情報テーブル(サイクリックマップテーブル7)を備
え、コントローラの許可によりノードがメモリの伝送領
域を変更する場合に、上記ノードが変更する伝送領域の
伝送領域情報を他のノードに一定周期で同報通信する
と、他のノードが上記伝送領域情報を上記伝送領域情報
テーブルに展開してその情報にもとづいて自ノードのメ
モリの伝送領域を変更し、変更後に自ノードのコントロ
ーラに変更を知らせるような構成とした。
In the cyclic map changing system according to the present invention, as shown in FIG. 1, a plurality of nodes 4 each having a controller 6 and having memories of the same structure are connected to a local area network 5. , The data in the transmission area (data transmission area) of the memory assigned to the own node is sequentially broadcast to other nodes according to the transmission area information (cyclic map information) assigned to the memory of each predetermined node. Then, in the cyclic map communication in which another node receives the data and stores it in a predetermined transmission area of its own memory,
Each node is provided with a transmission area information table (cyclic map table 7) that stores the transmission area information of all the nodes, and when the node changes the transmission area of the memory with the permission of the controller, When the transmission area information is broadcast to other nodes at a constant cycle, the other nodes expand the transmission area information in the transmission area information table and change the transmission area of the memory of the own node based on the information, After the change, it is configured to notify the controller of the local node of the change.

【0007】また、この発明に係るサイクリックマップ
変更方式では、図2で示すように上記伝送領域情報を構
成する送信フレーム(サイクリックマップ送信フレーム
20)を受信した全ノードに対し、応答を要求する要求
フラグ等のビットマップ情報を備えた。
Further, in the cyclic map changing system according to the present invention, as shown in FIG. 2, a response is requested to all the nodes that have received the transmission frame (cyclic map transmission frame 20) forming the transmission area information. Bit map information such as a request flag to be executed is provided.

【0008】[0008]

【作用】この発明におけるサイクリックマップ変更方式
では、あるノードがコントローラの許可によりメモリの
伝送領域を変更する場合に、上記ノードがローカルエリ
アネットワークを介して変更する伝送領域の伝送領域情
報を他のノードに一定周期で同報通信する。他のノード
は、上記伝送領域情報を伝送領域情報テーブルに展開
し、その情報にもとづいて、上記メモリの伝送領域を変
更し、変更後に自ノードのコントローラにその変更を知
らせる。このため、各ノードはメモリの伝送領域をオン
ラインの状態で変更することが可能となり、より柔軟な
システムの構築が可能となる。
In the cyclic map changing method according to the present invention, when a certain node changes the transmission area of the memory with the permission of the controller, the transmission area information of the transmission area which the node changes via the local area network is changed to another one. Broadcast to nodes at regular intervals. The other nodes expand the transmission area information in the transmission area information table, change the transmission area of the memory based on the information, and notify the controller of the own node after the change. Therefore, each node can change the transmission area of the memory in an online state, and a more flexible system can be constructed.

【0009】また、この発明に係るサイクリックマップ
方式では、上記伝送領域情報を構成する送信フレーム受
信した全ノードに対し、応答を要求する要求フラグ等の
ビットマップ情報を備えた、このため、各ノードにおけ
るメモリの伝送領域の変更を確実に確認できるととも
に、ノードの故障も検出できる。
Further, the cyclic map system according to the present invention is provided with bitmap information such as a request flag for requesting a response to all the nodes that have received the transmission frame constituting the transmission area information. It is possible to reliably confirm the change of the transmission area of the memory in the node and detect the failure of the node.

【0010】[0010]

【実施例】次に、この発明の実施例を図について説明す
る。図1はこの発明の一実施例を示すシステムの構成図
である。図1において、5はローカルエリアネットワー
ク、4はローカルエリアネットワーク5に接続されるノ
ード(1)〜ノード(4)、6はノード(1)〜ノード
(4)にそれぞれ接続されたノードを制御するコントロ
ーラ、8はサイクリックマップの管理・監視及びサイク
リック通信を制御するサイクリックマップ制御部、9は
前記ノードの電源ON/OFFに拘らず伝送領域情報と
してのサイクリックマップ情報を格納するメモリ(EE
PROM)、10はコントローラ6(1)からのサイク
リックデータ及びローカルエリアネットワーク5から受
信したサイクリックデータを格納するサイクリックメモ
リ、7は現在のサイクリックマップ情報を格納する伝送
領域情報テーブルとしてのサイクリックマップテーブ
ル、14はサイクリックマップ制御部8からコントロー
ラ6(1)へのサイクリックマップ変更通知、15はコ
ントローラ6(1)からのサイクリックマップ変更要求
である。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram of a system showing an embodiment of the present invention. In FIG. 1, 5 is a local area network, 4 is a node (1) to node (4) connected to the local area network 5, and 6 is a node connected to each of the nodes (1) to (4). A controller, 8 is a cyclic map control unit that controls cyclic map management / monitoring and cyclic communication, and 9 is a memory that stores cyclic map information as transmission area information regardless of whether the node is powered ON / OFF. EE
PROM), 10 is a cyclic memory for storing cyclic data from the controller 6 (1) and cyclic data received from the local area network 5, and 7 is a transmission area information table for storing current cyclic map information. A cyclic map table, 14 is a cyclic map change notification from the cyclic map control unit 8 to the controller 6 (1), and 15 is a cyclic map change request from the controller 6 (1).

【0011】図2は上記サイクリックマップ情報を構成
するサイクリックマップ送信フレームの構成図である。
図2において、20はサイクリックマップ送信フレー
ム、20Aはサイクリックマップ送信フレームを送信す
る毎にインクリメントするカウンタ、サイクリックマッ
プ送信フレームの識別を示す種別、DA,SAの情報の
領域、20Bは各ノードのACK要求情報のフラグより
成るビットマップ、20Cは自ノードのサイクリックマ
ップ情報の領域である。領域20Bは、ローカルエリア
ネットワーク5に接続されたノードの数の領域に分割さ
れており、図2では、0はノード1のACK要求フラグ
に対応し、31はノード32のACK要求フラグに対応
し、N−1はノードNのACK要求フラグに対応してい
る。また、領域20Cは図8の従来例で示したサイクリ
ック先頭アドレスの領域とデータ長の領域に分かれてお
り、領域20Aの種別は01H,02H,03Hを設定
することにより、いろいろなモードが設定できる。図2
では、01Hが一定周期、02HがACK要求、03H
がACK応答である。
FIG. 2 is a structural diagram of a cyclic map transmission frame which constitutes the cyclic map information.
In FIG. 2, reference numeral 20 is a cyclic map transmission frame, 20A is a counter that increments each time a cyclic map transmission frame is transmitted, a type indicating the identification of the cyclic map transmission frame, DA and SA information areas, and 20B is each. A bit map consisting of a flag of the ACK request information of the node, 20C is an area of the cyclic map information of the own node. The area 20B is divided into areas of the number of nodes connected to the local area network 5, and in FIG. 2, 0 corresponds to the ACK request flag of the node 1 and 31 corresponds to the ACK request flag of the node 32. , N-1 correspond to the ACK request flag of the node N. Further, the area 20C is divided into the area of the cyclic start address and the area of the data length shown in the conventional example of FIG. 8. By setting the types of the area 20A to 01H, 02H, and 03H, various modes can be set. it can. FIG.
Then, 01H is a fixed cycle, 02H is an ACK request, and 03H.
Is the ACK response.

【0012】図3は、あるノードがACK要求を設定し
た時に、返ってくるACK応答フレームを示す構成図で
ある。図3において、30はACK応答フレームであ
り、カウンタ(サイクリックマップ送信フレームのカウ
ンタと同値)の領域と、種別(例えば、03HのACK
応答等の領域と、DAの領域と、SAの領域とに分かれ
ている。また、図4はサイクリックマップを定周期で送
信する時の状態図である。図4で示すように、ノード4
(1)からノード4(2)にサイクリックマップ情報を
送信する場合は、図2のサイクリックマップ送信フレー
ム20を領域20A,領域20B,領域20Cの順で送
信する。
FIG. 3 is a block diagram showing an ACK response frame returned when a node sets an ACK request. In FIG. 3, reference numeral 30 denotes an ACK response frame, which has an area of a counter (same value as the counter of the cyclic map transmission frame) and a type (for example, ACK of 03H).
It is divided into a response area, a DA area, and an SA area. In addition, FIG. 4 is a state diagram when the cyclic map is transmitted at a fixed cycle. As shown in FIG. 4, node 4
When the cyclic map information is transmitted from (1) to the node 4 (2), the cyclic map transmission frame 20 of FIG. 2 is transmitted in the order of the area 20A, the area 20B, and the area 20C.

【0013】この実施例の動作について説明する。ま
ず、各ノード4(1)〜4(4)にはコントローラ6
(1)〜6(4)から図2で示すサイクリックマップ情
報がEEPROM9及びサイクリックマップテーブル7
に格納されているものとする。このEEPROM9にサ
イクリックマップ情報を格納する意味は、以後、ノード
の立ち上げ時にコントローラ6からではなく、EEPR
OM9の内容によりサイクリックマップを設定するため
である。次に、ノード4(2)〜4(4)が参入した
態で、ノード4(1)が新たにローカルエリアネットワ
ーク5に参入すると仮定する。ノード4(1)はサイク
リックマップテーブル7を全て“0”にして参入し、定
周期で自ノードのサイクリックマップ情報を図2のサイ
クリックマップ送信フレームで送信する。他のノード4
(2)〜ノード4(4)は、受信したノード4(1)の
サイクリックマップ情報と自ノードのサイクリックマッ
プ情報とをサイクリックマップテーブル7で比較する。
この場合、ノード4(2)〜4(4)は自ノードのもつ
ノード4(1)のサイクリックマップ情報が“0”であ
るため、新規に参入したノードとみなし、自ノード内に
あるノード4(1)のサイクリックマップを受信したサ
イクリックマップ情報で書き換える。これと同時に、サ
イクリックマップ変更通知14によりコントローラ6
(2)〜6(4)にサイクリックマップの変更があった
ことを知らせる。また、ノード4(1)は他のノード4
(2)〜4(4)が定周期で送信しているサイクリック
マップ情報を受信して、サイクリックマップテーブル7
に展開する。一方、逆にローカルエリアネットワーク5
から離脱する場合は、サイクリックマップテーブル7を
全て“0”にする。これは離脱している間に、ローカル
エリアネットワーク上のマップが更新されている場合が
考えられるので、再度参入する場合に、サイクリックマ
ップが重複しないようにするためである。このような操
作により、全ノードが同一のサイクリックマップテーブ
ルを保持することができる。
The operation of this embodiment will be described. First, each node 4 (1) to 4 (4) has a controller 6
The cyclic map information shown in FIG. 2 from (1) to 6 (4) is stored in the EEPROM 9 and the cyclic map table 7.
Shall be stored in The meaning of storing cyclic map information in the EEPROM 9 is that the EEPROM 6 is not used by the controller 6 when the node is started up.
This is because the cyclic map is set according to the contents of OM9. Next, it is assumed that the node 4 (1) newly joins the local area network 5 with the nodes 4 (2) to 4 (4) joining. The node 4 (1) enters with all the cyclic map table 7 set to "0", and transmits the cyclic map information of its own node in the cyclic map transmission frame of FIG. 2 at regular intervals. Other node 4
(2) to the node 4 (4) compare the received cyclic map information of the node 4 (1) with the cyclic map information of the own node in the cyclic map table 7.
In this case, since the node 4 (2) to 4 (4) is a node 4 (1) cyclic map information is "0" with the own node, regarded as new entrants node, in the local node
The cyclic map of a certain node 4 (1) is rewritten with the received cyclic map information. At the same time, the controller 6 is notified by the cyclic map change notification 14.
Notify (2) to 6 (4) that the cyclic map has been changed. In addition, the node 4 (1) is the other node 4
(2) to 4 (4) receive the cyclic map information transmitted in a fixed cycle, and cyclic map table 7
Expand to On the other hand, conversely, the local area network 5
When leaving from, all of the cyclic map table 7 is set to "0". This is because the map on the local area network may be updated while leaving, so that the cyclic maps do not overlap when re-entering. By such an operation, all nodes can hold the same cyclic map table.

【0014】次に、ノード4(1)がサイクリックマッ
プを変更する場合について図5,図6を用いて説明す
る。図5はサイクリックマップを変更する側のノードの
フローチャート、図6はサイクリックマップの変更を受
信する側のノードのフローチャートを示している。ま
ず、ノード4(1)はコントローラ6(1)からサイク
リックマップ変更要求15を受けると、サイクリックマ
ップ送信フレーム20の領域20Aの種別を02Hで
(ACK要求)にし、領域20Cに変更のあったサイク
リックマップ情報をセットする。次に、サイクリックマ
ップ制御部8はサイクリックマップ送信フレーム20を
同報送信する(ステップS53)。この時のサイクリッ
ク送信フレーム20の内容は例えば領域20Aの種別は
02HでACK要求、領域20Bのビットマップは現在
ローカルエリアネットワークに接続されているノード番
号に対応するビットを有効にし、領域20Cの自ノード
のサイクリックマップ情報は変更のあったサイクリック
マップ情報とする。サイクリックマップ制御部8はサイ
クリックマップ送信フレーム20を全ノード4(2)〜
4(4)に同報通信し、領域20Bのビットマップでセ
ットしたノードから、図3のACK応答フレーム30が
返ってくるのを待つ。ある一定時間後、ノード4(1)
はローカルエリアネットワーク5に参入しているノード
から全てACK応答があったかどうかを判断(ステップ
S54,55)し、全てあれば変更終了とする。また、
なければACK応答が無いノードのみビットマップをセ
ット(ONに)して(ステップS56)、再度、サイク
リックマップ送信フレーム(ACK要求)を送信する
(ステップS53)。上記操作を何度か行っても全ての
ノードからACK応答が無い場合は、ノードの単独故障
とみなし、サイクリックマップ変更操作を終了する。一
方、ACK要求を受信する側のノード4(2)〜4
(4)は、まず、受信したノード4(1)のサイクリッ
クマップ情報をサイクリックマップテーブル7に展開し
(ステップS61)、サイクリックマップ変更通知14
をコントローラ6(1)に知らせる(ステップS6
2)。ノード4(2)〜4(4)はコントローラが変更
されたサイクリックマップ情報を読み込むと(ステップ
S63)、ノード4(1)に対しACK応答を送信す
る。以上、上記操作によりノードのネットワークへの参
入,離脱時及びオンラインでのマップ変更時でも常に最
新のサイクリックマップ情報を各ノードのサイクリック
マップテーブルでコントローラに提供することが可能で
ある。なお、上記実施例ではサイクリックエリアの指定
をサイクリック先頭アドレスこれに限定されるものでは
なく、また、上記実施例ではネットワークをリング形態
で記したがこれにも限定されるものではない。
Next, the case where the node 4 (1) changes the cyclic map will be described with reference to FIGS. FIG. 5 shows a flowchart of a node on the side of changing the cyclic map, and FIG. 6 shows a flowchart of a node on the side of receiving the change of the cyclic map. First, the node 4 (1) is cycled from the controller 6 (1).
Upon receiving the lick map change request 15,
The type of the area 20A of the transmission frame 20 is 02H.
Cyclic with (ACK request) changed in area 20C
Set lickmap information. Next, the cyclic map control unit 8 broadcasts the cyclic map transmission frame 20 (step S53). The contents of the cyclic transmission frame 20 at this time are, for example, the type of the area 20A is 02H, an ACK request, the bit map of the area 20B validates the bit corresponding to the node number currently connected to the local area network, and the bit map of the area 20C. The cyclic map information of the own node is the changed cyclic map information. The cyclic map control unit 8 transmits the cyclic map transmission frame 20 to all the nodes 4 (2) ...
4 (4), and waits for the ACK response frame 30 of FIG. 3 to be returned from the node set in the bitmap of the area 20B. Node 4 (1) after a certain time
Judges whether or not there is an ACK response from all the nodes participating in the local area network 5 (steps S54, 55), and if all are present, the change ends. Also,
If there is no ACK response, the bitmap is set (ON) only for the node that does not have an ACK response (step S56), and the cyclic map transmission frame (ACK request) is transmitted again (step S53). If there is no ACK response from all the nodes even after performing the above operation several times, it is considered that the node has a single failure, and the cyclic map changing operation is terminated. On the other hand, nodes 4 (2) to 4 on the side that receives the ACK request
(4) first expands the received cyclic map information of the node 4 (1) in the cyclic map table 7 (step S61), and notifies the cyclic map change notification 14
To the controller 6 (1) (step S6
2). When the controller reads the changed cyclic map information (step S63), the nodes 4 (2) to 4 (4) transmit an ACK response to the node 4 (1). As described above, it is possible to always provide the latest cyclic map information to the controller using the cyclic map table of each node when the node joins or leaves the network or when the map is changed online by the above operation. In the above embodiment, the designation of the cyclic area is not limited to the cyclic start address, and the network is described in the ring form in the above embodiment, but the invention is not limited to this.

【0015】[0015]

【発明の効果】以上説明したように、この発明によれば
各ノードが定周期で自ノードの変更すべきサイクリック
マップ情報を同報通信し、他のノードのサイクリックマ
ップテーブルに反映させて、変更後にコントローラに通
知するようにな構成にしたので、オンラインのままサイ
クリックエリアを変更することが可能となり、柔軟なシ
ステムを構築することが可能という効果がある。また、
上記サイクリックマップ情報の送信フレームを受信した
全ノードに対し、応答を要求する要求フラグ等のビット
マップ情報を備えたため、確実に変更ができる効果もあ
る。
As described above, according to the present invention, each node broadcasts cyclic map information to be changed of its own node at regular intervals and reflects it on the cyclic map table of other nodes. Since the controller is notified after the change, it is possible to change the cyclic area while online, and it is possible to construct a flexible system. Also,
Since all nodes that have received the cyclic map information transmission frame are provided with bitmap information such as a request flag for requesting a response, there is an effect that the change can be surely made.

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

【図1】この発明の一実施例によるサイクリック通信を
行うローカルエリアネットワークのシステムの構成図で
ある。
FIG. 1 is a configuration diagram of a system of a local area network that performs cyclic communication according to an embodiment of the present invention.

【図2】図1のシステムで使用されるサイクリックマッ
プ送信フレームの構成図である。
FIG. 2 is a configuration diagram of a cyclic map transmission frame used in the system of FIG.

【図3】図1のシステムで使用されるACK応答フレー
ムの構成図である。
3 is a block diagram of an ACK response frame used in the system of FIG. 1. FIG.

【図4】この発明におけるサイクリックマップ定周期送
信時の状態図である。
FIG. 4 is a state diagram at the time of cyclic map fixed period transmission in the present invention.

【図5】この発明における送信側のサイクリックマップ
の変更を示すフローチャートである。
FIG. 5 is a flowchart showing a modification of the cyclic map on the transmitting side according to the present invention.

【図6】この発明における受信側のサイクリックマップ
の変更を示すフローチャートである。
FIG. 6 is a flowchart showing a modification of the cyclic map on the receiving side according to the present invention.

【図7】従来のサイクリック通信を行うローカルエリア
ネットワーク(LAN)のシステムの構成図である。
FIG. 7 is a configuration diagram of a conventional local area network (LAN) system that performs cyclic communication.

【図8】図7のシステムのサイクリック通信で使用され
るサイクリックマップの図である。
8 is a diagram of a cyclic map used in the cyclic communication of the system of FIG.

【図9】図8のサイクリックマップによるサイクリック
メモリのサイクリック割り当てを示す図である。
9 is a diagram showing cyclic allocation of a cyclic memory according to the cyclic map of FIG.

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

4 ノード(1)〜(4) 5 ローカルエリアネットワーク 6 コントローラ(1)〜(4) 7 サイクリックマップテーブル 8 サイクリックマップ制御部 9 EEPROM 10 サイクリックメモリ 14 サイクリックマップ変更通知 15 サイクリックマップ変更要求 4 nodes (1) to (4) 5 local area network 6 controllers (1) to (4) 7 cyclic map table 8 cyclic map control section 9 EEPROM 10 cyclic memory 14 cyclic map change notification 15 cyclic map change request

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 コントローラを備え、同じ構成のメモリ
を有する複数のノードがローカルエリアネットワークに
接続され、あらかじめ定められた各ノードのメモリに割
り当てられ伝送領域情報に従って、自ノードに割り当て
られたメモリの伝送領域のデータを他のノードに順次に
同報通信すると、他のノードが上記データを受信して自
分のメモリの所定の伝送領域に格納するサイクリックマ
ップ通信において、各ノードに全ノードの伝送領域情報
を格納する伝送領域情報テーブルを備え、コントローラ
の許可によりノードがメモリの伝送領域を変更する場合
に、上記ノードが変更する伝送領域の伝送領域情報を他
のノードに一定周期で同報通信すると、他のノードが上
記伝送領域情報を上記伝送領域情報テーブルに展開して
その情報にもとづいて自ノードのメモリの伝送領域を変
更し、変更後に自ノードのコントローラに変更を知らせ
ることを特徴とするサイクリックマップ変更方式。
1. A plurality of nodes, each having a controller and having a memory of the same configuration, are connected to a local area network, are assigned to a predetermined memory of each node, and are assigned to the own node according to transmission area information. When data in the transmission area is sequentially broadcast to other nodes, the other nodes receive the data and store it in a predetermined transmission area of their own memory. A transmission area information table that stores area information is provided, and when a node changes the transmission area of the memory with the permission of the controller, the transmission area information of the transmission area changed by the node is broadcast to other nodes at regular intervals. Then, another node expands the transmission area information in the transmission area information table and based on the information. A cyclic map change method characterized by changing the transmission area of the memory of the own node and notifying the change to the controller of the own node after the change.
【請求項2】 上記伝送領域情報を構成する送信フレー
ムを受信した全ノードに対し、応答を要求する要求フラ
グ等のビットマップ情報を備えた請求項第1項記載のサ
イクリックマップ変更方式。
2. The cyclic map changing method according to claim 1, further comprising bitmap information such as a request flag for requesting a response to all nodes that have received the transmission frame forming the transmission area information.
JP4146677A 1992-05-12 1992-05-12 Cyclic map change method Expired - Lifetime JP2672746B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4146677A JP2672746B2 (en) 1992-05-12 1992-05-12 Cyclic map change method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4146677A JP2672746B2 (en) 1992-05-12 1992-05-12 Cyclic map change method

Publications (2)

Publication Number Publication Date
JPH05316122A JPH05316122A (en) 1993-11-26
JP2672746B2 true JP2672746B2 (en) 1997-11-05

Family

ID=15413105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4146677A Expired - Lifetime JP2672746B2 (en) 1992-05-12 1992-05-12 Cyclic map change method

Country Status (1)

Country Link
JP (1) JP2672746B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5065185B2 (en) * 2008-07-03 2012-10-31 三菱電機株式会社 Node equipment
JP6645054B2 (en) * 2015-07-14 2020-02-12 富士電機株式会社 Control system, control device and network device

Also Published As

Publication number Publication date
JPH05316122A (en) 1993-11-26

Similar Documents

Publication Publication Date Title
US20020055978A1 (en) Method for managing network when master disappears
JPH02501020A (en) Data transmission method in packet switching network
CN113365294A (en) Node and method for directed acyclic graph network configuration
JPH11251992A (en) Communication control method and transmission device
KR900016876A (en) Common Bus Control Method and System
JP2672746B2 (en) Cyclic map change method
JPH03500237A (en) multi-access communication system
US4785449A (en) Network system for data transmission among plural communications stations connected to a communication medium
JPH0817394B2 (en) Interrupt processing method of time division multiplex transmission system
JP5155606B2 (en) Remote control system
JPH09186690A (en) Radio communication system and radio communication equipment
JPH09219715A (en) Communication system
JP2692634B2 (en) Automatic network ID setting method for wireless local area network
JPS62622B2 (en)
JP3714009B2 (en) Multi-protocol compatible communication control method, multi-protocol compatible communication system, and multi-protocol compatible communication control processing program
JP3813824B2 (en) Device startup interval management device, startup interval management system, and startup interval management method
JP2566350B2 (en) Data way device
JPH08154093A (en) Radio communication system
JPH11261581A (en) Data communication control equipment
JPS60246145A (en) Data transmission control system
Facchinetti et al. Wireless real-time communication protocol for cooperating mobile units
JPH07312613A (en) Communication system
JP2814617B2 (en) Communication control system
JP2004274396A (en) Field bus system, connection confirming method, master and slave
JPS6261441A (en) Data communication system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070711

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 15

EXPY Cancellation because of completion of term