JP2010206471A - Ring network system and recovery method of the same - Google Patents

Ring network system and recovery method of the same Download PDF

Info

Publication number
JP2010206471A
JP2010206471A JP2009049204A JP2009049204A JP2010206471A JP 2010206471 A JP2010206471 A JP 2010206471A JP 2009049204 A JP2009049204 A JP 2009049204A JP 2009049204 A JP2009049204 A JP 2009049204A JP 2010206471 A JP2010206471 A JP 2010206471A
Authority
JP
Japan
Prior art keywords
configuration information
station
command frame
information acquisition
slave
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
JP2009049204A
Other languages
Japanese (ja)
Other versions
JP5169909B2 (en
Inventor
Toshihisa Tashigeta
稔久 田重田
Yukiteru Yuo
幸輝 湯尾
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Systems Co Ltd filed Critical Fuji Electric Systems Co Ltd
Priority to JP2009049204A priority Critical patent/JP5169909B2/en
Publication of JP2010206471A publication Critical patent/JP2010206471A/en
Application granted granted Critical
Publication of JP5169909B2 publication Critical patent/JP5169909B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a ring network system and recovery method of the same in which it is confirmed in failure cancellation that a network system configuration is identical to that prior to failure occurrence, and then the network system can be recovered into normal state. <P>SOLUTION: On the basis of configuration information which is stored in a configuration information storage unit 208, with respect to a network, of a plurality of slave stations under a normal state of a communication system and configuration information which is acquired by a configuration information acquisition command frame acquisition unit 207, with respect to a ring network, of a plurality of slave stations in recovery of the communication system from an abnormal state to the normal state, a configuration information determination unit 209 determines whether or not the configuration information under the normal state is coincident with the configuration information after recovery. If a result of the determination indicates coincidence, a loop-back cancellation instruction unit 210 instructs a loop-back station to cancel loop-back. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、リング型ネットワークシステム及びリング型ネットワークシステムの復旧方法に関し、特にマスタ局及び複数のスレーブ局によりリング型ネットワークを構築し、各局が接続された回線上で伝送フレームを周回させることによりデータ交換処理を行うリング型ネットワークシステム及びリング型ネットワークシステムの復旧方法に関する。   The present invention relates to a ring network system and a ring network system recovery method, and more particularly, a ring network is constructed by a master station and a plurality of slave stations, and data is transmitted by circulating a transmission frame on a line to which each station is connected. The present invention relates to a ring network system that performs exchange processing and a recovery method of the ring network system.

ネットワークの接続方式の一つに、環状のバスケーブルに複数の端末を接続して構成するリング型ネットワークがあり、このようなリング型ネットワークにパーソナルコンピュータやデータ通信機器や制御装置等を接続することにより各端末間でデータや制御信号を送受するリング型ネットワークシステムがある。
このようなリング型ネットワークのシステムでは、例えばバスと接続する端末のコネクタの脱落や、バスケーブルの断線、端末の故障による障害が発生したときに、ネットワークシステム全体を停止させず、縮退状態で通信可能な端末間だけでネットワークシステムを動作させることができる。また、コネクタが再接続されたり、新しいバスケーブルに交換して再度バスと端末とが接続されたりして、ネットワークシステムの障害が解消すると、ネットワークシステムは自動的に縮退状態から通常(初期)状態に復旧する。
One of the network connection methods is a ring network configured by connecting multiple terminals to a ring-shaped bus cable, and connecting personal computers, data communication equipment, control devices, etc. to such a ring network There is a ring network system that transmits and receives data and control signals between terminals.
In such a ring network system, for example, when a failure occurs due to disconnection of a connector of a terminal connected to a bus, disconnection of a bus cable, or failure of a terminal, communication is performed in a degenerated state without stopping the entire network system. A network system can be operated only between possible terminals. In addition, when the connector is reconnected or the bus and the terminal are connected again by replacing with a new bus cable and the network system failure is resolved, the network system automatically changes from the degraded state to the normal (initial) state. To recover.

例えば、特許文献1に開示されるループ状伝送路障害自動回復方式や、特許文献2に開示されるリング形LANにおける障害検出及び障害復旧方法においては、例えば、断線やコネクタの脱落等といった、回線や局の故障等により断線状態が生じた場合には、この断線箇所近傍の局が断線状態にあることを検出してループバックを行い、このループバックによって回線を接続状態に維持することにより、ループバックによって切り離された局を除いた局間で、データ交換を継続する。   For example, in the loop-shaped transmission line fault automatic recovery method disclosed in Patent Document 1 and the fault detection and fault recovery method in the ring LAN disclosed in Patent Document 2, for example, a line such as disconnection or connector disconnection When a disconnection state occurs due to a failure of the station or the like, by detecting that the station near the disconnection point is in a disconnection state and performing a loopback, and maintaining the line in a connected state by this loopback, Data exchange is continued between the stations excluding the stations separated by the loopback.

また、特許文献3に開示されるループ式通信システムにおいては、断線を検出した局や回線構成要素である機器が、その断線箇所の断線状態からの復旧を検出したときには、自動的にループバックを解除し、ループバックにより切り離された局を含めて、一つの回線に接続された局間でのデータ交換を再開する。   Further, in the loop communication system disclosed in Patent Document 3, when a station that detects a disconnection or a device that is a line component detects a recovery from the disconnection state of the disconnection point, a loopback is automatically performed. The data exchange is resumed between the stations connected to one line including the stations disconnected by the loopback.

特開平2−294136号公報JP-A-2-294136 特開平3−206752号公報JP-A-3-206752 特開平5−276182号公報JP-A-5-276182

しかしながら、上記従来技術においては、コネクタを再接続したり、バスケーブルを交換したりする際に、バスに障害が発生する前と異なる端末が誤って接続されると、復旧時にネットワークシステムの構成が縮退状態となる前の接続状態と異なるネットワークシステムの構成となる場合があった。
具体的に、障害が解消したときの接続状態が縮退状態となる前の接続状態と同じように正しく接続されて、ネットワークシステムの構成が縮退状態となる前のネットワークシステムの構成と同じであれば、ネットワークシステムを縮退状態から通常状態に復旧させることができる。
However, in the above prior art, when reconnecting the connector or exchanging the bus cable, if a different terminal is mistakenly connected before the failure of the bus, the configuration of the network system is restored at the time of recovery. In some cases, the network system configuration differs from the connection state before the degeneration state.
Specifically, if the connection state when the failure is resolved is correctly connected in the same way as the connection state before the degraded state, and the network system configuration is the same as the network system configuration before the degraded state The network system can be restored from the degenerated state to the normal state.

一方、障害が解消したときの接続状態が、縮退状態となる前の状態と同じように正しく接続されず、ネットワークシステムの構成が、縮退状態となる前のネットワークシステムの構成と異なる場合には、ネットワークシステムの復旧処理を行ったとしても、ネットワークシステムを縮退状態となる前の状態と同じ構成で通常状態に復旧させることができない。
そこで、本発明の目的は、上記の課題に鑑み、障害解消時にネットワークシステムの構成が障害発生前のネットワークシステムの構成と同じであることを確認してから、ネットワークシステムを通常状態に復旧させることのできるリング型ネットワークシステム及びリング型ネットワークシステムの復旧方法を提供することにある。
On the other hand, if the connection state when the failure is resolved is not correctly connected as in the state before entering the degraded state, and the configuration of the network system is different from the configuration of the network system before entering the degraded state, Even if the network system recovery process is performed, the network system cannot be recovered to the normal state with the same configuration as that before the degeneration state.
Therefore, in view of the above problems, an object of the present invention is to restore a network system to a normal state after confirming that the configuration of the network system is the same as the configuration of the network system before the occurrence of the failure when the failure is resolved. An object of the present invention is to provide a ring network system and a ring network system recovery method that can be used.

本発明に係るリング型ネットワークシステム及びリング型ネットワークシステムの復旧方法は、上記の目的を達成するために、次のように構成される。
本発明に係る第1のリング型ネットワークシステムは、マスタ局と、当該マスタ局と回線を介して接続され且つマスタ局に管理される複数のスレーブ局とでリング型ネットワークを構築し、いずれかのスレーブ局が、隣接する局との間での通信が不可となる通信系統の異常状態を検出したときにマスタ局に対して異常を通知し、ループバックを行うことにより回線を介してマスタ局と接続状態にあるスレーブ局間で通信を継続し、異常状態の復旧が検出されたときにマスタ局に対して復旧を通知して、ループバックを解除し、ループバックによりマスタ局から切り離された切離スレーブ局を、回線を介してマスタ局に再接続するリング型ネットワークシステムにおいて、マスタ局は、通信系統が正常状態であるときの複数のスレーブ局のリング型ネットワークに対する各スレーブ局の構成を示す構成情報を記憶する構成情報記憶手段と、復旧が通知されたときに、切離スレーブ局の構成情報を取得するための第1の構成情報取得用コマンドと切離スレーブ局の宛先情報とを生成し、当該コマンド及び宛先情報を、第1の構成情報取得用コマンドフレームにして、ループバックを行っているループバック局宛に送信する第1の構成情報取得用コマンドフレーム送信手段と、第1の構成情報取得用コマンドフレーム送信手段により送信された第1の構成情報取得用コマンドフレームに対する応答として、ループバック局から送信された応答コマンドフレームを受信して、当該応答コマンドフレームから切離スレーブ局の構成情報を取得する第1の構成情報取得手段と、第1の構成情報取得手段によって取得された切離スレーブ局の構成情報と構成情報記憶手段に記憶された正常時の構成情報とに基づき、正常時の構成情報と復旧後の切離スレーブ局の構成情報とが一致するか否かを判定する構成判定手段と、構成判定手段によって一致していると判定されたときに、ループバックを行っているループバック局にループバック解除の指示を与えるループバック解除指示手段と、を備え、ループバック局は、自局宛の第1の構成情報取得用コマンドフレームを受信したときに、当該コマンドフレームに含まれる宛先情報から特定される切離スレーブ局宛に、第1の構成情報取得用コマンドを含む第1の構成情報取得用コマンドフレームを送信するコマンドフレーム中継手段と、第1の構成情報取得用コマンドフレームに対する応答として切離スレーブ局から受信した、切離スレーブ局の構成情報を含む応答コマンドフレームを、マスタ局宛に送信する応答中継手段と、を備え、切離スレーブ局は、ループバック局から送信された自局宛の第1の構成情報取得用コマンドフレームを受信したときに、第1の構成情報取得用コマンドに応じて、自局の構成情報を含む応答コマンドフレームをループバック局に送信する構成情報送信手段を備えることを特徴とする。
In order to achieve the above object, a ring network system and a ring network system recovery method according to the present invention are configured as follows.
A first ring network system according to the present invention includes a master network and a plurality of slave stations that are connected to the master station via a line and managed by the master station. When the slave station detects an abnormal state of the communication system that makes it impossible to communicate with adjacent stations, it notifies the master station of the abnormality and loops back to the master station via the line. Communication between connected slave stations is continued. When recovery from an abnormal state is detected, recovery is notified to the master station, loopback is released, and disconnection from the master station by loopback is performed. In a ring network system in which a remote slave station is reconnected to a master station via a line, the master station links multiple slave stations when the communication system is in a normal state. Configuration information storage means for storing configuration information indicating the configuration of each slave station for the network, and a first configuration information acquisition command for acquiring configuration information of the disconnected slave station when recovery is notified, First configuration information acquisition that generates destination information of the disconnected slave station and transmits the command and destination information as a first configuration information acquisition command frame to a loopback station performing loopback A response command frame transmitted from the loopback station as a response to the first configuration information acquisition command frame transmitted by the command frame transmission unit and the first configuration information acquisition command frame transmission unit; A first configuration information acquisition means for acquiring the configuration information of the disconnected slave station from the response command frame; Based on the configuration information of the disconnected slave station acquired by the means and the normal configuration information stored in the configuration information storage means, the configuration information at the normal time and the configuration information of the disconnected slave station after recovery match A configuration determination unit that determines whether or not, a loopback release instruction unit that gives a loopback release instruction to a loopback station that is performing a loopback when the configuration determination unit determines that they match, And when the first configuration information acquisition command frame addressed to itself is received, the loopback station transmits the first configuration addressed to the separated slave station specified from the destination information included in the command frame. A command frame relay means for transmitting a first configuration information acquisition command frame including an information acquisition command; a response to the first configuration information acquisition command frame; And a response relay means for transmitting to the master station a response command frame including the configuration information of the disconnected slave station received from the disconnected slave station, and the disconnected slave station is transmitted from the loopback station. A configuration in which when a first configuration information acquisition command frame addressed to the local station is received, a response command frame including the configuration information of the local station is transmitted to the loopback station in response to the first configuration information acquisition command An information transmission means is provided.

第1のリング型ネットワークシステムによれば、構成判定手段が、構成情報記憶手段により記憶された通信系統が正常状態であるときの複数のスレーブ局のリング型ネットワークに対する各スレーブ局の構成情報と、第1の構成情報取得手段により取得された通信系統が異常状態から正常状態に復旧する際の複数のスレーブ局のリング型ネットワークに対する各スレーブ局の構成情報とに基づき、正常時の構成情報と復旧後の切離スレーブ局の構成情報とが一致するか否かを判定する。ループバック解除指示手段は、その判定結果が一致しているときに、ルップバック局に対してループバック解除の指示を与える。このため、復旧後の切離スレーブ局の構成が正常時の構成と一致していないときは、ルップバック局はループバックを継続し、また復旧後の切離スレーブ局の構成が正常時の構成と一致するときのみ、ルップバック局はループバックを解除し、ネットワークシステムを正常状態に復旧することが可能となる。   According to the first ring network system, the configuration determination unit includes configuration information of each slave station for the ring network of a plurality of slave stations when the communication system stored by the configuration information storage unit is in a normal state; Based on the configuration information of each slave station for the ring network of a plurality of slave stations when the communication system acquired by the first configuration information acquisition means recovers from the abnormal state to the normal state, and the normal configuration information and recovery It is determined whether or not the configuration information of the subsequent disconnected slave station matches. The loopback cancellation instructing unit gives an instruction to cancel the loopback to the loopback station when the determination results match. For this reason, if the configuration of the disconnected slave station after recovery does not match the normal configuration, the loopback station continues loopback, and the configuration of the disconnected slave station after recovery is normal Only when they match, the loopback station releases the loopback and can restore the network system to the normal state.

本発明に係る第2のリング型ネットワークシステムは、上記の構成において、好ましくは、マスタ局は、更に、通信系統が正常状態であるときに、複数のスレーブ局の構成情報を取得するための第2の構成情報取得用コマンドを生成し、当該コマンドを、第2の構成情報取得用コマンドフレームにして、複数のスレーブ局に対して送信する第2の構成情報取得用コマンドフレーム送信手段と、第2の構成情報取得用コマンドフレーム送信手段により送信された第2の構成情報取得用コマンドフレームに対する応答として、複数のスレーブ局から送信された応答コマンドフレームを受信して、当該応答コマンドフレームから各スレーブ局の構成情報を取得する第2の構成情報取得手段と、を備え、スレーブ局の構成情報送信手段は、マスタ局から送信された第2の構成情報取得用コマンドフレームを受信したときに、第2の構成情報取得用コマンドに応じて自局の構成情報を含む応答コマンドフレームをマスタ局に対して送信し、第2の構成情報取得手段は、取得した各スレーブ局の構成情報を、通信系統が正常状態であるときの前記各スレーブ局の構成を示す構成情報として構成情報記憶手段に記憶することを特徴とする。   In the second ring network system according to the present invention, in the above configuration, preferably, the master station further acquires a configuration information for acquiring configuration information of a plurality of slave stations when the communication system is in a normal state. A second configuration information acquisition command frame transmitting means for generating a second configuration information acquisition command and transmitting the command as a second configuration information acquisition command frame to a plurality of slave stations; As a response to the second configuration information acquisition command frame transmitted by the configuration information acquisition command frame transmission unit 2, the response command frame transmitted from the plurality of slave stations is received, and each slave is transmitted from the response command frame. Second configuration information acquisition means for acquiring station configuration information, wherein the slave station configuration information transmission means is a master station. When the transmitted second configuration information acquisition command frame is received, a response command frame including the configuration information of the local station is transmitted to the master station in response to the second configuration information acquisition command. The configuration information acquisition unit stores the acquired configuration information of each slave station in the configuration information storage unit as configuration information indicating the configuration of each slave station when the communication system is in a normal state.

第2のリング型ネットワークシステムによれば、第2の構成情報取得手段は、第2の構成情報取得用コマンドフレーム送信手段により送信された第2の構成情報取得用コマンドフレームに対する応答として、通信系統が正常状態であるとき、複数のスレーブ局のネットワークに対する各スレーブ局の構成情報を取得することが可能となる。   According to the second ring-type network system, the second configuration information acquisition unit transmits the communication system as a response to the second configuration information acquisition command frame transmitted by the second configuration information acquisition command frame transmission unit. Is in a normal state, it becomes possible to obtain configuration information of each slave station for a network of a plurality of slave stations.

本発明に係る第3のリング型ネットワークシステムは、上記の構成において、好ましくは、マスタ局の第2の構成情報取得用コマンドフレーム送信手段は、複数のスレーブ局に対して、当該複数のスレーブ局を宛先とした共通の第2の構成情報取得用コマンドフレームを1つ送信し、複数のスレーブ局は、各局の構成情報送信手段において、マスタ局から送信された共通の第2の構成情報取得用コマンドフレームを受信したときに、応答コマンドフレームとして、共通の第2の構成情報取得用コマンドフレームに対して当該コマンドフレームを受信した順に各自局の構成情報を付加したものを送信することを特徴とする。
第3のリング型ネットワークシステムによれば、複数のスレーブ局は、共通の1つの第2の構成情報取得用コマンドフレームに各自局の構成情報を付加することが可能となる。
In the third ring network system according to the present invention, in the above configuration, preferably, the second configuration information acquisition command frame transmission means of the master station transmits the plurality of slave stations to the plurality of slave stations. One common configuration information acquisition command frame destined to the destination is transmitted, and the plurality of slave stations are configured to acquire the common second configuration information transmitted from the master station in the configuration information transmission means of each station. When a command frame is received, a response command frame is transmitted with a common second configuration information acquisition command frame added with configuration information of each local station in the order in which the command frame is received. To do.
According to the third ring network system, a plurality of slave stations can add the configuration information of their own stations to one common second configuration information acquisition command frame.

本発明に係る第4のリング型ネットワークシステムは、上記の構成において、好ましくは、マスタ局とスレーブ局とをバス接続し、且つ両端に位置する局で回線を折り返すことによりリング型ネットワークを構築し、構成情報は、スレーブ局がリング型ネットワークの端部に接続された局であるか否かを示す接続位置情報、及びスレーブ局を特定するためにスレーブ局毎に割り当てられた固有情報を含み、マスタ局は、更に、第2の構成情報取得手段によって取得した複数のスレーブ局の構成情報に基づき、マスタ局及び複数のスレーブ局の接続順番を示す接続順番情報を生成する接続順番情報生成手段を備え、第2の構成情報取得手段は、複数のスレーブ局の構成情報を、接続順番情報生成手段によって生成した接続順番情報に対応付けて、構成情報記憶手段に記憶することを特徴とする。   In the fourth ring network system according to the present invention, in the above configuration, preferably, a master network and a slave station are connected by a bus, and a ring network is constructed by looping back a line at stations located at both ends. The configuration information includes connection position information indicating whether or not the slave station is a station connected to the end of the ring network, and unique information assigned to each slave station in order to identify the slave station, The master station further includes connection order information generation means for generating connection order information indicating the connection order of the master station and the plurality of slave stations based on the configuration information of the plurality of slave stations acquired by the second configuration information acquisition means. The second configuration information acquisition means associates the configuration information of the plurality of slave stations with the connection order information generated by the connection order information generation means. And to store the configuration information storage unit.

第4のリング型ネットワークシステムによれば、構成情報が接続順番情報生成手段により生成された接続順番情報に基づいて、構成情報をリング型ネットワークシステムに接続される局と同じ順番で構成情報記憶手段に記憶するため、正常時の構成情報と復旧後の切離スレーブ局の構成情報とが一致するか否かを容易に判定することが可能となる。   According to the fourth ring type network system, the configuration information is stored in the same order as the stations connected to the ring type network system based on the connection order information generated by the connection order information generating unit. Therefore, it is possible to easily determine whether or not the configuration information at the normal time matches the configuration information of the disconnected slave station after restoration.

本発明に係る第5のリング型ネットワークシステムは、上記の構成において、好ましくは、固有情報は、複数のスレーブ局に組み込まれる装置、アプリケーション又は媒体が有する情報を含み、構成判定手段は、第1の構成情報取得手段によって取得された切離スレーブ局の構成情報に含まれる複数の識別情報と、構成情報記憶手段に記憶された正常時の構成情報に含まれる複数の識別情報とをそれぞれ比較して、正常時の構成情報と復旧後の切離スレーブ局の構成情報とが一致するか否かを判定することを特徴とする。   In the fifth ring network system according to the present invention, preferably, the unique information includes information included in a device, an application, or a medium incorporated in a plurality of slave stations. The plurality of identification information included in the configuration information of the separated slave station acquired by the configuration information acquisition unit is compared with the plurality of identification information included in the normal configuration information stored in the configuration information storage unit. Thus, it is determined whether or not the configuration information at the time of normality matches the configuration information of the disconnected slave station after recovery.

第5のリング型ネットワークシステムによれば、構成情報に含まれる固有情報には、局に組み込まれる既存の装置又はアプリケーションが有する識別情報が含まれる。このため、構成判定手段は、この複数の識別情報に基づいて、正常時の構成情報と復旧後の切離スレーブ局の構成情報とが一致するか否かを判定し、障害解消時にネットワークシステムの構成が障害発生前のネットワークシステムの構成と同じであるか否かをより正確に判定することが可能となる。例えば、正常時の構成情報に含まれる複数の識別情報と、復旧後の切離スレーブ局の構成情報に含まれる複数の識別情報とをそれぞれ比較して、1つでも一致しない識別情報があれば、障害解消時にネットワークシステムの構成が障害発生前のネットワークシステムの構成と異なることを判定することが可能となる。   According to the fifth ring network system, the unique information included in the configuration information includes identification information included in an existing device or application incorporated in the station. Therefore, the configuration determination means determines whether the configuration information at the time of normality and the configuration information of the disconnected slave station after recovery match based on the plurality of pieces of identification information, and the network system It becomes possible to more accurately determine whether or not the configuration is the same as the configuration of the network system before the failure occurs. For example, if a plurality of identification information included in the normal configuration information is compared with a plurality of identification information included in the configuration information of the disconnected slave station after restoration, there is at least one identification information that does not match It is possible to determine that the configuration of the network system is different from the configuration of the network system before the occurrence of the failure when the failure is resolved.

本発明に係るリング型ネットワークシステムの復旧方法は、マスタ局と、当該マスタ局と回線を介して接続され且つマスタ局に管理される複数のスレーブ局とでリング型ネットワークを構築し、いずれかのスレーブ局が、隣接する局との間での通信が不可となる通信系統の異常状態を検出したときにマスタ局に対して異常を通知し、ループバックを行うことにより回線を介してマスタ局と接続状態にあるスレーブ局間で通信を継続し、異常状態の復旧が検出されたときにマスタ局に対して復旧を通知して、ループバックを解除し、ループバックによりマスタ局から切り離された切離スレーブ局を、回線を介してマスタ局に再接続するリング型ネットワークシステムの復旧方法において、マスタ局は、第1の構成情報取得用コマンドフレーム送信手段が、復旧が通知されたときに、切離スレーブ局の構成情報を取得するための第1の構成情報取得用コマンドと切離スレーブ局の宛先情報とを生成し、当該コマンド及び宛先情報を、第1の構成情報取得用コマンドフレームにして、ループバックを行っているループバック局宛に送信するステップと、第1の構成情報取得手段が、第1の構成情報取得用コマンドフレーム送信手段により送信された第1の構成情報取得用コマンドフレームに対する応答として、ループバック局から送信された応答コマンドフレームを受信して、当該応答コマンドフレームから切離スレーブ局の構成情報を取得するステップと、構成判定手段が、第1の構成情報取得手段によって取得された切離スレーブ局の構成情報と、構成情報記憶手段に記憶された通信系統が正常状態であるときの複数のスレーブ局のリング型ネットワークに対する各スレーブ局の構成を示す構成情報とに基づき、正常時の構成情報と復旧後の切離スレーブ局の構成情報とが一致するか否かを判定するステップと、ループバック解除指示手段が、構成判定手段によって一致していると判定されたときに、ループバックを行っているループバック局にループバック解除の指示を与えるステップと、を有し、ループバック局は、コマンドフレーム中継手段が、自局宛の第1の構成情報取得用コマンドフレームを受信したときに、当該コマンドフレームに含まれる宛先情報から特定される切離スレーブ局宛に、第1の構成情報取得用コマンドを含む第1の構成情報取得用コマンドフレームを送信するステップと、応答中継手段が、第1の構成情報取得用コマンドフレームに対する応答として切離スレーブ局から受信した、切離スレーブ局の構成情報を含む応答コマンドフレームを、マスタ局宛に送信するステップと、を有し、切離スレーブ局は、構成情報送信手段が、ループバック局から送信された自局宛の第1の構成情報取得用コマンドフレームを受信したときに、第1の構成情報取得用コマンドに応じて、自局の構成情報を含む応答コマンドフレームをループバック局に送信するステップを有することを特徴とする。
上記のリング型ネットワークシステムの復旧方法によれば、第1のリング型ネットワークシステムと同等の作用が得られる。
The ring network system recovery method according to the present invention includes a master station and a plurality of slave stations connected to the master station via a line and managed by the master station. When the slave station detects an abnormal state of the communication system that makes it impossible to communicate with adjacent stations, it notifies the master station of the abnormality and loops back to the master station via the line. Communication between connected slave stations is continued. When recovery from an abnormal state is detected, recovery is notified to the master station, loopback is released, and disconnection from the master station by loopback is performed. In a recovery method for a ring network system in which a remote slave station is reconnected to a master station via a line, the master station transmits a first configuration information acquisition command frame. When the recovery is notified, the means generates a first configuration information acquisition command for acquiring the configuration information of the disconnected slave station and the destination information of the disconnected slave station, and the command and destination information are The first configuration information acquisition command frame is transmitted to the loopback station that is performing the loopback, and the first configuration information acquisition means is configured by the first configuration information acquisition command frame transmission means. Receiving a response command frame transmitted from the loopback station as a response to the transmitted first configuration information acquisition command frame, and acquiring configuration information of the disconnected slave station from the response command frame; The determination means is the configuration information of the separated slave station acquired by the first configuration information acquisition means, and the communication stored in the configuration information storage means Based on the configuration information that shows the configuration of each slave station for the ring network of multiple slave stations when the network is in a normal state, the configuration information at normal time and the configuration information of the disconnected slave station after recovery match A step of determining whether or not the loopback release instructing means is matched by the configuration determining means, and a step of giving a loopback release instruction to a loopback station performing the loopback The loopback station is a disconnected slave identified from the destination information included in the command frame when the command frame relay means receives the first configuration information acquisition command frame addressed to the local station. A step of transmitting a first configuration information acquisition command frame including a first configuration information acquisition command to the station, and a response relay means comprising: The response command frame including the configuration information of the disconnected slave station received from the isolated slave station as a response to the configuration information acquisition command frame is transmitted to the master station. When the configuration information transmitting means receives the first configuration information acquisition command frame addressed to the local station transmitted from the loopback station, the configuration information of the local station is received according to the first configuration information acquisition command. Transmitting a response command frame including: to a loopback station.
According to the recovery method of the above ring network system, an operation equivalent to that of the first ring network system can be obtained.

本発明によれば、構成判定部が、通信系統が正常状態であるときのネットワークシステムの構成と、障害復旧後のネットワークシステムの構成とが一致しているか否かを判定し、ネットワークシステムをループバック状態(異常状態)から正常状態に復旧させることができる。これにより、スレーブ局の故障や通信線の断線等が復旧したときに、例えば正常状態であるときと異なるスレーブ局が接続されている場合や、異なる数のスレーブ局が接続されている場合であっても、すぐにネットワークシステム全体を通常状態に復旧させずに、引き続きループバック状態にしたままにすることができる。つまり、単に、断線等の復旧と共にネットワークシステムを復旧させるのではなく、ネットワークシステムの構成を確認して、正常だと判断してから、ネットワークシステムを復旧させることで、ネットワークシステムの信頼性を向上させることができる。   According to the present invention, the configuration determination unit determines whether the configuration of the network system when the communication system is in a normal state and the configuration of the network system after the failure recovery match, and loops the network system. It is possible to recover from the back state (abnormal state) to the normal state. As a result, when a slave station failure or communication line disconnection is recovered, for example, when a different slave station from the normal state is connected, or when a different number of slave stations are connected. However, the entire network system can be kept in the loopback state without immediately restoring the entire network system to the normal state. In other words, rather than simply restoring the network system together with disconnection, etc., check the network system configuration, determine that it is normal, and then restore the network system to improve the reliability of the network system. Can be made.

また、本発明によれば、マスタ局から構成情報を取得するコマンドフレームを送信して、ネットワークシステムに接続される複数のスレーブ局のネットワークに対する構成情報を取得することができる。これによって、新たな局が追加されたり、削除されたりして、正常時のネットワークの構成が変更されても、その構成情報を取得することが可能であるので、ネットワーク構成等の変更に対して柔軟に対応することができる。
また、通信系統が異常状態から正常状態に復旧した後のネットワークの構成がいかなる構成であってもその構成情報を取得することが可能であり、通信系統が正常状態であるときのネットワークシステムの構成と、障害復旧後のネットワークシステムの構成とを簡易な構成で判定することができる。
Further, according to the present invention, it is possible to acquire configuration information for a network of a plurality of slave stations connected to the network system by transmitting a command frame for acquiring configuration information from the master station. As a result, even if a new station is added or deleted, and the normal network configuration is changed, the configuration information can be acquired. It can respond flexibly.
In addition, the configuration information can be obtained regardless of the configuration of the network after the communication system is restored from the abnormal state to the normal state, and the configuration of the network system when the communication system is in the normal state And the configuration of the network system after the failure recovery can be determined with a simple configuration.

本発明に係るリング型ネットワークシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the ring type network system which concerns on this invention. リング型ネットワークシステムの正常状態及び異常状態であるときの通信制御の流れを示す模式図である。It is a schematic diagram which shows the flow of communication control when it is a normal state and abnormal state of a ring type network system. マスタ局の構成を示すブロック図である。It is a block diagram which shows the structure of a master station. 通信系統が正常状態であるときの構成情報の取得方法を示す模式図である。It is a schematic diagram which shows the acquisition method of structure information when a communication system is a normal state. スレーブ局の構成を示すブロック図である。It is a block diagram which shows the structure of a slave station. フレームのフォーマットを示す図である。It is a figure which shows the format of a frame. 構成情報のデータフォーマットを示す図である。It is a figure which shows the data format of structure information. 接続順番情報生成部における接続順番情報の生成方法を示す模式図である。It is a schematic diagram which shows the production | generation method of the connection order information in a connection order information generation part. マスタ局における異常検知処理から復旧処理までの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process from the abnormality detection process in a master station to a recovery process. マスタ局における構成情報判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the structure information determination process in a master station. スレーブ局(ループバック局)における異常検知処理から復旧処理までの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process from the abnormality detection process in a slave station (loop back station) to a recovery process. 通信系統が異常状態であるときの構成情報の取得方法を示す模式図である。It is a schematic diagram which shows the acquisition method of configuration information when a communication system is in an abnormal state. スレーブ局(切離スレーブ局)における復旧処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the recovery process in a slave station (separated slave station).

以下に、本発明の好適な実施形態(実施例)を添付図面に基づいて説明する。
まず、図1を参照して、本発明を適用したリング型ネットワークシステムの構成を説明する。図1は、本発明に係るリング型ネットワークシステムの構成を示すブロック図である。
図1に示すリング型ネットワークシステムNWは、バスケーブルBUS、マスタ局M0及び複数のスレーブ局SL1〜SL4を備えて構成される。
バスケーブルBUSは、例えばLANケーブルであり、データや制御信号を送受する通信線である。マスタ局M0は、各スレーブ局SL1〜SL4を統括して管理し、これらを制御するものである。各スレーブ局SL1〜SL4は、被制御対象のシステム全体で所定の制御が行われるように、そのシステムの各部を制御するものである。例えば、システム全体としてロボットの制御を行うのであれば、各スレーブ局SL1〜SL4はロボットのアーム部分や各種センサなどの制御を行うものである。
DESCRIPTION OF EMBODIMENTS Preferred embodiments (examples) of the present invention will be described below with reference to the accompanying drawings.
First, the configuration of a ring network system to which the present invention is applied will be described with reference to FIG. FIG. 1 is a block diagram showing a configuration of a ring network system according to the present invention.
The ring network system NW shown in FIG. 1 includes a bus cable BUS, a master station M0, and a plurality of slave stations SL1 to SL4.
The bus cable BUS is a LAN cable, for example, and is a communication line that transmits and receives data and control signals. The master station M0 manages and controls the slave stations SL1 to SL4. Each slave station SL1-SL4 controls each part of the system so that predetermined control is performed in the whole system to be controlled. For example, if the robot is controlled as a whole system, each of the slave stations SL1 to SL4 controls the robot arm portion and various sensors.

これらの局は、例えば、スレーブ局SL1、マスタ局M0、スレーブ局SL2、スレーブ局SL3、スレーブ局SL4の順にバスケーブルBUSにバス接続され、両端に位置するスレーブ局SL1及びスレーブ局SL4においてバスケーブルBUSを折り返すことにより、リング型ネットワークを構成している。そして、バスケーブルBUS上に伝送フレームを図中に矢印で示す方向に周回させることにより、各局間でのデータや制御信号の送受信を行う。   These stations are, for example, connected to the bus cable BUS in the order of the slave station SL1, the master station M0, the slave station SL2, the slave station SL3, and the slave station SL4. A ring network is configured by folding the BUS. Then, by transmitting the transmission frame on the bus cable BUS in the direction indicated by the arrow in the drawing, data and control signals are transmitted and received between the stations.

また、マスタ局M0は、スレーブ局から断線状態の検出及びスレーブ局でループバックを行うループバック通知を受けたときには、ループバック通知を行った局の局番と局の配置状況とから、ループバックにより回線から切り離されたスレーブ局(切離スレーブ局)を認識する。逆に、ループバック通知を行ったスレーブ局(ループバック局)から断線復旧が通知されたときには、ループバック時に回線から切り離された切離スレーブ局として認識している局に対し、回線への復帰に伴う前処理の実行を指示する透過コマンドフレームを生成し、これを、断線復旧を通知したループバック局宛に送信する。なお、回線への復帰とは、ここでは、回線から脱落したスレーブ局が回線を介してマスタ局M0に再接続され、再びマスタ局M0との間での通信が可能な状態になることをいう。
また、リング型ネットワークシステムNWに接続されるスレーブ局の数は、上述した数に限定されるものでなく、制御対象に応じて任意の数であって良い。また、マスタ局又はスレーブ局をバスケーブルBUSに接続する順番についても、上述した順番に限定されない。
Also, when the master station M0 receives a disconnection state detection from the slave station and a loopback notification for performing a loopback at the slave station, the master station M0 performs a loopback based on the station number of the station that issued the loopback notification and the station arrangement status. Recognizes slave stations disconnected from the line (disconnected slave stations). Conversely, when a disconnection restoration is notified from the slave station that issued the loopback notification (loopback station), the station that is recognized as a disconnected slave station disconnected from the line at the time of loopback is returned to the line. A transparent command frame for instructing execution of preprocessing associated with is generated, and is transmitted to the loopback station that has notified the disconnection recovery. Here, the return to the line means that the slave station dropped from the line is reconnected to the master station M0 via the line and communication with the master station M0 becomes possible again. .
Further, the number of slave stations connected to the ring network system NW is not limited to the number described above, and may be any number depending on the control target. Further, the order of connecting the master station or the slave station to the bus cable BUS is not limited to the order described above.

次に、図2を参照して、リング型ネットワークシステムが正常状態及び異常状態であるときの通信制御の流れを説明する。図2(a)及び(b)は、リング型ネットワークシステムの正常状態及び異常状態であるときの通信制御の流れを示す模式図であり、図2(a)は通信系統が正常状態であるとき、図2(b)は通信系統が異常状態であるときの処理を示す。
図2(a)に示すように、リング型ネットワークシステムNWの通信系統が正常状態であるとき、スレーブ局SL1〜SL4は、所定周期で隣接するスレーブ局にフレームを送信すると共に、所定周期で隣接するスレーブ局から送信されたフレームを受信することで、断線或いは故障などにより隣接するスレーブ局との間での通信不可となる通信系統の異常状態を検出する。
Next, the flow of communication control when the ring network system is in a normal state and an abnormal state will be described with reference to FIG. 2 (a) and 2 (b) are schematic diagrams showing the flow of communication control when the ring network system is in a normal state and an abnormal state, and FIG. 2 (a) is when the communication system is in a normal state. FIG. 2B shows processing when the communication system is in an abnormal state.
As shown in FIG. 2A, when the communication system of the ring network system NW is in a normal state, the slave stations SL1 to SL4 transmit frames to adjacent slave stations at a predetermined cycle and are adjacent at a predetermined cycle. By receiving the frame transmitted from the slave station, the abnormal state of the communication system that cannot communicate with the adjacent slave station due to disconnection or failure is detected.

そして、図2(b)に示すように、例えばスレーブ局SL2とスレーブ局SL3との間でバスケーブルBUSが断線状態になると、スレーブ局SL2は、隣接するスレーブ局SL3から所定周期で送信されるフレームを受信することができなくなることを検出することで、スレーブ局SL2とスレーブ局SL3との間で生じた断線による通信系統の異常状態を検出する。そして、スレーブ局SL2は、ループバックを開始し、図中に示すグループBのスレーブ局SL3及びスレーブ局SL4を回線から切り離し、グループAのスレーブ局SL1、マスタ局M0、スレーブ局SL2間での通信を継続する。   Then, as shown in FIG. 2B, for example, when the bus cable BUS is disconnected between the slave station SL2 and the slave station SL3, the slave station SL2 is transmitted at a predetermined cycle from the adjacent slave station SL3. By detecting that the frame cannot be received, an abnormal state of the communication system due to disconnection between the slave station SL2 and the slave station SL3 is detected. Then, the slave station SL2 starts loopback, disconnects the slave station SL3 and slave station SL4 of group B shown in the figure from the line, and communicates between the slave station SL1, master station M0, and slave station SL2 of group A. Continue.

最後に、スレーブ局SL2は、マスタ局M0に対して、断線状態が生じたこと及び自局がループバック状態であることを通知して、スレーブ局SL2がループバック局となる。
ループバック局になったスレーブ局SL2は、マスタ局M0から受信したデータ又は自局から送信したスレーブ局SL1宛のデータを、本来ならスレーブ局SL3に送信するところを自局で折り返してマスタ局M0に送信する。
Finally, the slave station SL2 notifies the master station M0 that a disconnection state has occurred and that the own station is in a loopback state, and the slave station SL2 becomes a loopback station.
The slave station SL2 that has become the loopback station loops back the data that is received from the master station M0 or the data that is transmitted from the local station to the slave station SL1 to the slave station SL3. Send to.

一方、マスタ局M0では、ループバック局であるスレーブ局SL2から断線状態であることが通知されると、断線状態を検出したスレーブ局SL2でのループバックによりスレーブ局SL3及びスレーブ局SL4(切離スレーブ局)が切り離された状態であることを後述する構成情報記憶部208に記憶することで切離スレーブ局を管理する。
また、スレーブ局SL2は、隣接するスレーブ局との間での通信が再開されたときには断線状態が復旧したと判断し、マスタ局M0に対して断線状態の復旧を通知する。なお、断線状態の検出方法はどのような方法であっても良いが、例えばフレーム送受信のタイムアウト時間やリトライ回数を予め設定しておき、この時間や回数を超過して送受信が無い場合に断線状態であることを検知したり、定期的に局間応答を確認する信号を送受信することにより断線状態であること検知したりする。
On the other hand, when the master station M0 is notified of the disconnection state from the slave station SL2 that is the loopback station, the slave station SL3 and the slave station SL4 (disconnect) are disconnected by the loopback at the slave station SL2 that detects the disconnection state. The separated slave station is managed by storing in the configuration information storage unit 208 described later that the slave station is in a disconnected state.
Further, the slave station SL2 determines that the disconnection state has been recovered when communication with the adjacent slave station is resumed, and notifies the master station M0 of the recovery of the disconnection state. Any method may be used for detecting the disconnection state. For example, a timeout period and the number of retries for frame transmission / reception are set in advance. It detects that it is a disconnection state by transmitting / receiving the signal which confirms the response between stations regularly.

次に、図3を参照して、マスタ局の構成を説明する。図3は、マスタ局の構成を示すブロック図である。
図3に示すようにマスタ局M0は、制御部201、異常通知受信部202、ループバック開始指示部203、復旧通知受信部204、前処理用コマンドフレーム送受信部205、構成情報取得用コマンドフレーム送信部206、構成情報取得用コマンドフレーム取得部207、構成情報記憶部208、構成情報判定部209、ループバック解除指示部210、及び接続順番情報生成部211を備えて構成される。
Next, the configuration of the master station will be described with reference to FIG. FIG. 3 is a block diagram showing the configuration of the master station.
As shown in FIG. 3, the master station M0 includes a control unit 201, an abnormality notification reception unit 202, a loopback start instruction unit 203, a recovery notification reception unit 204, a preprocessing command frame transmission / reception unit 205, and a configuration information acquisition command frame transmission. Unit 206, configuration information acquisition command frame acquisition unit 207, configuration information storage unit 208, configuration information determination unit 209, loopback release instruction unit 210, and connection order information generation unit 211.

制御部201は、例えばマイクロプロセッサ等で構成され、上記各部と図示しない制御線を介して接続されて各部を統括して制御するものである。
異常通知受信部202は、各スレーブ局SL1〜SL4から送信される通信系統の異常状態が検出されたことを通知する異常通知信号を受信するものである。
ループバック開始指示部203は、異常通知受信部202が異常通知信号を受信したとき、異常通知信号を通知した局に対してループバックの開始を指示するループバック開始指示信号を出力するものである。
The control unit 201 is constituted by, for example, a microprocessor or the like, and is connected to the above-described units via a control line (not shown) to control the respective units in an integrated manner.
The abnormality notification receiving unit 202 receives an abnormality notification signal for notifying that an abnormal state of the communication system transmitted from each of the slave stations SL1 to SL4 has been detected.
When the abnormality notification receiving unit 202 receives the abnormality notification signal, the loopback start instructing unit 203 outputs a loopback start instruction signal that instructs the station that has notified the abnormality notification signal to start loopback. .

復旧通知受信部204は、各スレーブ局SL1〜SL4から例えば断線などによる異常状態が復旧したことを通知する復旧通知信号を受信するものである。
前処理用コマンドフレーム送受信部205は、復旧通知受信部204が復旧通知信号を受信したとき、切離状態にあるグループ(例えば、図2(b)のグループB)の各スレーブ局が回線に復帰したことに伴う、前処理用コマンドフレームの送信処理と、前処理応答コマンドフレームの受信処理とを行うものである。
The recovery notification receiving unit 204 receives a recovery notification signal for notifying that an abnormal state due to disconnection or the like has been recovered from each of the slave stations SL1 to SL4.
When the recovery notification receiving unit 204 receives the recovery notification signal, the preprocessing command frame transmission / reception unit 205 returns each slave station in the disconnected group (for example, group B in FIG. 2B) to the line. As a result, a pre-processing command frame transmission process and a pre-processing response command frame reception process are performed.

具体的に図2(b)を例に挙げると、前処理用コマンドフレームの送信処理は、グループBの各スレーブ局を回線に復帰させると共に、マスタ局M0の管理下に復帰させるにあたり、各切離スレーブ局に対して、切離スレーブ局の状態を所定の状態(復帰前状態)に移行させるためにループバック処理を解除する前に行う前処理を指示する前処理用コマンドフレームを送信する処理である。
また、前処理応答コマンドフレームの受信処理は、送信した前処理用コマンドフレームに対するレスポンスとして切離スレーブ局から送信される前処理応答コマンドフレームを受信する処理である。
Specifically, taking FIG. 2 (b) as an example, the pre-processing command frame transmission process is performed when each slave station of group B is returned to the line and under the control of the master station M0. Processing to send a preprocessing command frame that instructs preprocessing to be performed before canceling loopback processing to shift the state of the disconnected slave station to a predetermined state (pre-return state) to the remote slave station It is.
The preprocessing response command frame reception process is a process of receiving a preprocessing response command frame transmitted from the isolated slave station as a response to the transmitted preprocessing command frame.

各スレーブ局の被制御対象機器によって、各スレーブ局が回線に復帰するときのあるべき状態、つまり復帰前状態は異なるため、回線復帰時の前処理の処理内容もスレーブ局毎に異なる。例えば、システム全体としてロボットの制御を行うのであれば、各スレーブ局SL1〜SL4はロボットのアーム部分や各種センサなどの制御を行うため、上記の前処理では異常状態で停止していたアームの位置を復旧後に動作させる位置に合わせたり、各種センサの状態を初期状態に戻したりする。   The state that each slave station should return to the line, that is, the state before return differs depending on the controlled target device of each slave station, so the processing content of the pre-processing upon line return also differs for each slave station. For example, if the robot is controlled as a whole system, each slave station SL1 to SL4 controls the robot arm part and various sensors. Therefore, the position of the arm stopped in an abnormal state in the above preprocessing. Is set to the position where the sensor is operated after restoration, or the state of various sensors is returned to the initial state.

構成情報取得用コマンドフレーム送信部206は、通信系統が正常状態であるとき、各スレーブ局の後述するネットワークに対する構成情報を取得するための構成情報取得用コマンド(第1の構成情報取得用コマンドに対応)を生成し、当該コマンドを構成情報取得用コマンドフレーム(第1の構成情報取得用コマンドフレームに対応)として、各スレーブ局に対して送信するものである。   When the communication system is in a normal state, the configuration information acquisition command frame transmission unit 206 receives a configuration information acquisition command (to the first configuration information acquisition command) for acquiring configuration information for the network described later of each slave station. The command is transmitted to each slave station as a configuration information acquisition command frame (corresponding to the first configuration information acquisition command frame).

また、構成情報取得用コマンドフレーム送信部206は、復旧通知受信部204が復旧通知信号を受信したとき、各切離スレーブ局のネットワークに対する構成情報を取得するための構成情報取得用コマンド(第2の構成情報取得用コマンドに対応)を生成し、当該コマンドを構成情報取得用コマンドフレーム(第2の構成情報取得用コマンドフレームに対応)として、各切離スレーブ局に対して送信するものである。   The configuration information acquisition command frame transmission unit 206 also receives a configuration information acquisition command (second information) for acquiring configuration information for the network of each detached slave station when the recovery notification receiving unit 204 receives the recovery notification signal. Corresponding to the configuration information acquisition command) and transmits the command as a configuration information acquisition command frame (corresponding to the second configuration information acquisition command frame) to each isolated slave station. .

本実施の形態では、上記の構成情報取得用コマンドを用いた構成情報の取得方法として、例えば、マスタ局M0から各スレーブ局に対して構成情報取得用コマンドを含む共通の1つの構成情報取得用コマンドフレームを送信して、各スレーブ局がその構成情報取得用コマンドフレームを受信した順に、構成情報取得用コマンドフレームに自局の情報を付加してマスタ局M0に送信して取得する方法を用いる。   In the present embodiment, as a configuration information acquisition method using the configuration information acquisition command, for example, one common configuration information acquisition command including a configuration information acquisition command from the master station M0 to each slave station. A method is used in which command frames are transmitted, and the slave station information is added to the configuration information acquisition command frame and transmitted to the master station M0 in the order in which each slave station received the configuration information acquisition command frame. .

具体的に、図4に示すように、マスタ局M0から各スレーブ局に対して構成情報取得用コマンドを含む共通の1つの構成情報取得用コマンドフレームが送信されると、各局は隣接する局から図中に示す実線の矢印Aの方向で、その構成情報取得用コマンドフレームを受信したときのみに構成情報取得用コマンドフレームに自局の構成情報を付加する。つまり、各局は隣接する局から図中の示す点線の矢印Bの方向で、その構成情報取得用コマンドフレームを受信したときには構成情報取得用コマンドフレームに自局の情報を付加しない。   Specifically, as shown in FIG. 4, when one common configuration information acquisition command frame including a configuration information acquisition command is transmitted from the master station M0 to each slave station, each station is transmitted from an adjacent station. The configuration information of the own station is added to the configuration information acquisition command frame only when the configuration information acquisition command frame is received in the direction of the solid arrow A in the figure. That is, each station does not add its own information to the configuration information acquisition command frame when it receives the configuration information acquisition command frame from the adjacent station in the direction of the dotted arrow B shown in the figure.

構成情報の他の取得方法としては、マスタ局M0から各スレーブ局宛に構成情報取得用コマンドを含む複数の構成情報取得用コマンドフレームを送信して、各スレーブ局が構成情報取得用コマンドフレームに自局のみの情報を付加してマスタ局M0に送信して取得する方法などもある。
構成情報取得用コマンドフレーム取得部207は、構成情報取得用コマンドフレーム送信部206から送信された構成情報取得用コマンドフレームに対するレスポンスとして、切離スレーブ局から送信された各切離スレーブ局の構成情報が書き込まれた構成情報取得用コマンドフレーム(以下、構成応答コマンドフレームと称す)を受信して、当該構成応答コマンドフレームから各スレーブ局のネットワークに対する構成情報を読み出すものである。
As another method of acquiring configuration information, a plurality of configuration information acquisition command frames including a configuration information acquisition command are transmitted from the master station M0 to each slave station, and each slave station receives a configuration information acquisition command frame. There is also a method in which only the information of the own station is added and transmitted to the master station M0 for acquisition.
The configuration information acquisition command frame acquisition unit 207 receives, as a response to the configuration information acquisition command frame transmitted from the configuration information acquisition command frame transmission unit 206, the configuration information of each isolation slave station transmitted from the isolation slave station. Is received, and the configuration information for the network of each slave station is read from the configuration response command frame.

構成情報記憶部208は、リング型ネットワークシステムNWの通信系統が正常状態であるときの、マスタ局M0及び複数のスレーブ局SL1〜SL4のネットワークに対する構成情報を記憶するものである。
なお、構成情報記憶部208に構成情報を記憶する際に、上述した構成情報取得用コマンドフレームによって各スレーブ局から構成情報を取得する以外にも、予め稼働初期時に正常状態であるときの構成情報を、例えばマスタ局M0の図示しない制御操作部から入力することによって記憶させておいても良い。この場合は、予め正常時の各スレーブ局の構成情報が解っているので、構成情報取得用コマンドフレームを用いて各スレーブ局の構成情報を取得する処理が不要となる。
The configuration information storage unit 208 stores configuration information for the network of the master station M0 and the plurality of slave stations SL1 to SL4 when the communication system of the ring network system NW is in a normal state.
Note that when storing configuration information in the configuration information storage unit 208, in addition to acquiring configuration information from each slave station using the above-described configuration information acquisition command frame, configuration information when in a normal state at the initial stage of operation in advance. May be stored, for example, by inputting from a control operation unit (not shown) of the master station M0. In this case, since the configuration information of each slave station at the normal time is known in advance, it is not necessary to acquire the configuration information of each slave station using the configuration information acquisition command frame.

構成情報判定部209は、構成情報記憶部208に記憶されたマスタ局M0及び複数のスレーブ局SL1〜SL4のネットワークに対する構成情報と、構成情報取得用コマンドフレーム取得部207により取得された切離スレーブ局の構成情報とを比較し、通信系統が正常状態であるときのリング型ネットワークシステムのネットワーク構成と、通信系統が異常状態から正常状態に復旧した後のリング型ネットワークシステムのネットワーク構成とが一致しているか否かを判定するものである。   The configuration information determination unit 209 includes the configuration information for the network of the master station M0 and the plurality of slave stations SL1 to SL4 stored in the configuration information storage unit 208, and the disconnected slave acquired by the configuration information acquisition command frame acquisition unit 207. The network configuration of the ring network system when the communication system is normal is compared with the network configuration of the ring network system after the communication system is restored from the abnormal state to the normal state. It is to determine whether or not it is done.

ループバック解除指示部210は、構成情報判定部209により判定された結果に基づいて、ループバック局に対して、ループバックを解除するためのループバック解除指示信号を出力するものである。
なお、このループバック解除指示信号によりループバック処理を解除するときに、マスタ局M0では、ループバック局により切り離されている各切離スレーブ局が回線に復帰することに伴う、データ処理の追加や遅延時間の追加等といった回線復旧処理を行う。
The loopback cancellation instruction unit 210 outputs a loopback cancellation instruction signal for canceling the loopback to the loopback station based on the result determined by the configuration information determination unit 209.
When the loopback processing is canceled by the loopback cancellation instruction signal, the master station M0 adds data processing or the like when each disconnected slave station disconnected by the loopback station returns to the line. Perform line restoration processing such as adding delay time.

接続順番情報生成部211は、構成情報取得用コマンドフレーム送信部206から送信された構成情報取得用コマンドフレームによって、マスタM0,スレーブSL2,スレーブSL3,スレーブSL4,スレーブSL1の順で取得された各局の構成情報に基づき、リング型ネットワークシステムに接続される局の接続順番を示す接続順番情報を生成するものである。
この接続順番情報によって、リング型ネットワークシステムNWに接続される局の接続順番、つまりスレーブSL1,マスタM0,スレーブSL2,スレーブSL3,スレーブSL4の順番で接続されていることを把握することができる。
The connection order information generation unit 211 uses the configuration information acquisition command frame transmitted from the configuration information acquisition command frame transmission unit 206 to acquire each station acquired in the order of the master M0, slave SL2, slave SL3, slave SL4, and slave SL1. The connection order information indicating the connection order of the stations connected to the ring network system is generated based on the configuration information.
From this connection order information, it is possible to grasp that the stations connected to the ring network system NW are connected in the order of the slave SL1, master M0, slave SL2, slave SL3, and slave SL4.

次に、図5を参照して、スレーブ局の構成を説明する。図5は、スレーブ局の構成を示すブロック図である。
図5に示すスレーブ局SL1は、制御部301、状態検出部302、ループバック制御部303、コマンドフレーム中継部304、応答中継部305、構成情報送信部306、及び前処理実行部307を備えて構成される。なお、スレーブ局SL2〜SL4の局についても、スレーブ局SL1と同一の各部を有して構成されるため、ここではスレーブ局SL1の構成について説明する。
Next, the configuration of the slave station will be described with reference to FIG. FIG. 5 is a block diagram showing the configuration of the slave station.
The slave station SL1 illustrated in FIG. 5 includes a control unit 301, a state detection unit 302, a loopback control unit 303, a command frame relay unit 304, a response relay unit 305, a configuration information transmission unit 306, and a preprocessing execution unit 307. Composed. Note that the slave stations SL2 to SL4 are also configured to have the same components as the slave station SL1, and therefore the configuration of the slave station SL1 will be described here.

制御部301は、制御部201と同様に、例えばマイクロプロセッサ等で構成され、上記各部と図示しない制御線を介して接続されて各部を統括して制御するものである。
状態検出部302は、隣接するスレーブ局の故障や、隣接するスレーブ局との通信回線の断線等による通信系統の異常状態を検出し、異常状態が検出されたときにマスタ局M0に対して異常通知信号を送信するものである。
Similar to the control unit 201, the control unit 301 is configured by, for example, a microprocessor or the like, and is connected to the above-described units via a control line (not shown) to control the respective units in an integrated manner.
The state detection unit 302 detects an abnormal state of the communication system due to a failure of an adjacent slave station or a disconnection of a communication line with an adjacent slave station, and an abnormality is detected with respect to the master station M0 when an abnormal state is detected. A notification signal is transmitted.

また、状態検出部302は、隣接するスレーブ局の故障や、隣接するスレーブ局との通信回線の断線等が復旧したことを検出し、復旧が検出されたときにマスタ局M0に対して復旧通知信号を送信するものである。
ループバック制御部303は、通信系統が異常状態であるときに、通常コマンドフレームを受信した場合、通常コマンドフレームを隣接する切離スレーブ局に対して送信せず、隣接する接続状態にあるスレーブ局に対して折り返して送信(ループバック)する処理を行うものである。
In addition, the state detection unit 302 detects that the failure of the adjacent slave station or the disconnection of the communication line with the adjacent slave station has been recovered, and notifies the recovery to the master station M0 when the recovery is detected. A signal is transmitted.
When the communication system is in an abnormal state and the loopback control unit 303 receives a normal command frame, the loopback control unit 303 does not transmit the normal command frame to the adjacent disconnected slave station, and the slave station in the adjacent connection state Is sent back (looped back).

一方、上述した切離スレーブ局の構成情報を取得するための構成情報取得用コマンドや前処理用コマンドは、通信系統が異常状態であっても、切離スレーブ局に対して送信する必要があるコマンドであるため、透過コマンドとして設定されている。
従って、ループバック制御部303は、上記の透過コマンドを含むコマンドフレームを受信した場合、そのコマンドフレームをループバックせずに、切離スレーブ局宛てに送信する処理を行う。
On the other hand, the above-described configuration information acquisition command and preprocessing command for acquiring the configuration information of the disconnected slave station must be transmitted to the disconnected slave station even if the communication system is in an abnormal state. Since it is a command, it is set as a transparent command.
Therefore, when the loopback control unit 303 receives a command frame including the transparent command, the loopback control unit 303 performs a process of transmitting the command frame to the disconnected slave station without looping back the command frame.

コマンドフレーム中継部304は、マスタ局M0から透過コマンドを含む自局宛のコマンドフレームを受信したとき、受信したコマンドフレーム中のコマンドデータヘッダに記述されている切離スレーブ局の局番を新たな宛先局番として切離スレーブ局宛の透過コマンドフレームを生成し、この透過コマンドフレームを指定されたスレーブ局すなわち切離スレーブ局宛に送信するものである。
具体的に、切離スレーブ局の構成情報を取得するための構成情報取得用コマンドを含む自局宛の構成情報取得用コマンドフレームを受信したとき、そのコマンドデータヘッダに記述されている切離スレーブ局宛の構成情報取得用コマンドを含む透過コマンドフレーム(以下、構成情報取得透過コマンドフレームと称す)を生成する。
When the command frame relay unit 304 receives a command frame addressed to itself including a transparent command from the master station M0, the command frame relay unit 304 sets the station number of the disconnected slave station described in the command data header in the received command frame as a new destination. A transparent command frame addressed to the isolated slave station is generated as a station number, and this transparent command frame is transmitted to a designated slave station, that is, an isolated slave station.
Specifically, when a configuration information acquisition command frame addressed to the local station including a configuration information acquisition command for acquiring configuration information of the disconnected slave station is received, the isolated slave described in the command data header A transparent command frame including a configuration information acquisition command addressed to the station (hereinafter referred to as a configuration information acquisition transparent command frame) is generated.

また、前処理用コマンドを含む前処理用コマンドフレームを受信したとき、そのコマンドデータヘッダに記述されている切離スレーブ局宛の前処理用コマンドを含む透過コマンドフレーム(以下、前処理透過コマンドフレームと称す)を生成する。
応答中継部305は、透過コマンドフレームに対する切離スレーブ局からのレスポンスである応答コマンドフレームを受信し、受信した応答コマンドフレームをそのままマスタ局宛に送信するものである。
When a preprocessing command frame including a preprocessing command is received, a transparent command frame including a preprocessing command addressed to the disconnected slave station described in the command data header (hereinafter referred to as a preprocessing transparent command frame). Is generated).
The response relay unit 305 receives a response command frame that is a response from the disconnected slave station with respect to the transparent command frame, and transmits the received response command frame to the master station as it is.

例えば、構成情報取得透過コマンドフレームに対する切離スレーブ局からのレスポンスである構成応答コマンドフレームを受信した場合は、受信した構成応答コマンドフレームをそのままマスタ局宛に送信し、前処理透過コマンドフレームに対する前処理応答コマンドフレームを受信した場合は、受信した前処理応答コマンドフレームをそのままマスタ局宛に送信する。
構成情報送信部306は、マスタ局M0から自局宛の構成情報取得用コマンドフレームを受信したとき、そのレスポンスとして受信した構成情報取得用コマンドフレームに自局のネットワークに対する構成情報を付加して、これを応答コマンドフレーム(以下、正常時構成応答コマンドフレームと称す)として送信するものである。
For example, when a configuration response command frame, which is a response from the separated slave station with respect to the configuration information acquisition transparent command frame, is received, the received configuration response command frame is transmitted to the master station as it is, and the previous response to the pre-processing transparent command frame is transmitted. When the processing response command frame is received, the received preprocessing response command frame is transmitted to the master station as it is.
When the configuration information transmission unit 306 receives a configuration information acquisition command frame addressed to itself from the master station M0, the configuration information transmission unit 306 adds configuration information for the network of the local station to the configuration information acquisition command frame received as a response to the configuration information acquisition command frame. This is transmitted as a response command frame (hereinafter referred to as a normal configuration response command frame).

また、構成情報送信部306は、ループバック局から自局宛の構成情報取得透過コマンドフレームを受信したとき、そのレスポンスとして受信した構成情報取得透過コマンドフレームにネットワークに対する自局の構成情報を付加して、これを構成応答コマンドフレームとして送信するものである。
前処理実行部307は、ループバック局からの自局宛の前処理透過コマンドフレームを受信したとき、この前処理透過コマンドフレームの前処理用コマンドに応じた前処理を行う。また、レスポンスとして前処理応答コマンドフレームをループバック局に対して送信する。
Also, when the configuration information transmission unit 306 receives a configuration information acquisition transparent command frame addressed to itself from the loopback station, the configuration information transmission unit 306 adds the configuration information of the own station for the network to the configuration information acquisition transparent command frame received as the response. This is transmitted as a configuration response command frame.
When the preprocessing execution unit 307 receives a preprocessing transparent command frame addressed to itself from the loopback station, the preprocessing execution unit 307 performs preprocessing according to the preprocessing command of the preprocessing transparent command frame. In addition, a pre-processing response command frame is transmitted as a response to the loopback station.

次に、図6を参照して、局間で授受されるフレームのフォーマットを説明する。図6は、フレームのフォーマットの一例を示す図である。
図6に示すフレーム400は、フレーム識別子401、宛先局番402、送信元局番403、コマンド種別404、データサイズ405、コマンドデータ406、及びフレームチェックコード407から構成される。
フレーム識別子401は、フレーム400が通常コマンドフレームであるか、又は透過コマンドフレームであるかを表す制御ビットである。
Next, referring to FIG. 6, the format of a frame exchanged between stations will be described. FIG. 6 is a diagram illustrating an example of a frame format.
A frame 400 shown in FIG. 6 includes a frame identifier 401, a destination station number 402, a transmission source station number 403, a command type 404, a data size 405, command data 406, and a frame check code 407.
The frame identifier 401 is a control bit indicating whether the frame 400 is a normal command frame or a transparent command frame.

宛先局番402は、フレーム400の送信先を表すものであり、送信元局番403はフレーム400の送信元を表すものである。宛先局番402及び送信元局番403は、例えばスレーブ局SL1に割り振られるIPアドレスや、各局の制御ファームウエアで指定される局IDである。
コマンド種別404は、コマンドの種類を表すものであり、例えばコマンド仕様でコマンド毎に決められているコマンドIDである。
データサイズ405は、可変長となるコマンドデータ406のデータサイズを表すものである。
The destination station number 402 represents the transmission destination of the frame 400, and the transmission source station number 403 represents the transmission source of the frame 400. The destination station number 402 and the transmission source station number 403 are, for example, an IP address assigned to the slave station SL1 or a station ID specified by the control firmware of each station.
The command type 404 represents the type of command, and is, for example, a command ID determined for each command in the command specification.
The data size 405 represents the data size of the command data 406 having a variable length.

コマンドデータ406は、コマンド種別404で指定されるコマンドのオプション値や実行されたコマンドの戻り値として付加されるデータエリアである。
フレームチェックコード407は、パリティチェック等のフレーム400の全体のデータ誤りを検出するために付加されるチェックコードである。
各スレーブ局SL1〜SL4は、マスタ局M0から送信されるフレーム400を受信し、宛先局番402に自局が指定されていれば自局宛のコマンドデータを読み込んで次局に送信し、宛先局番402に自局が指定されていなければ何も処理をせずにそのまま次局に送信する。
The command data 406 is a data area added as an option value of a command specified by the command type 404 or a return value of the executed command.
The frame check code 407 is a check code added to detect an entire data error of the frame 400 such as a parity check.
Each of the slave stations SL1 to SL4 receives the frame 400 transmitted from the master station M0, reads the command data addressed to the own station if the destination station number 402 is designated, and transmits it to the next station. If the own station is not designated in 402, it is transmitted to the next station without any processing.

また、受信したフレームのフレーム識別子401に通常コマンドフレームであることが指定されている場合には、自局宛のコマンドデータ406で指定されるコマンドに対応する処理を行う。また、自局がループバック局であり、かつ自局宛フレームのフレーム識別子が透過コマンドフレームであり、かつ送信元がマスタ局M0である場合には、受信した透過コマンドフレーム中のコマンドデータヘッダに記述されている切離スレーブ局の局番を新たな宛先局番として切離スレーブ局宛の透過コマンドフレームを生成する。そして、この透過コマンドフレームを指定されたスレーブ局すなわち切離スレーブ局宛に送信する。また、この透過コマンドフレームが切離スレーブ局を周回し、その透過コマンドフレームを受信したとき、マスタ局から受信した自局宛の透過コマンドフレームをマスタ局M0に戻す。
なお、上述したフレームのフォーマットの構成はあくまで一例であって、他の制御情報を含んでフレームのフォーマットを構成しても良い。
Also, when the frame identifier 401 of the received frame is designated as a normal command frame, processing corresponding to the command designated by the command data 406 addressed to the own station is performed. Further, when the local station is a loopback station, the frame identifier of the frame addressed to the local station is a transparent command frame, and the transmission source is the master station M0, the command data header in the received transparent command frame is displayed. A transparent command frame addressed to the separated slave station is generated with the station number of the separated slave station described as a new destination station number. Then, this transparent command frame is transmitted to the designated slave station, that is, the disconnected slave station. When this transparent command frame goes around the isolated slave station and receives the transparent command frame, the transparent command frame received from the master station and addressed to the own station is returned to the master station M0.
The frame format configuration described above is merely an example, and the frame format may be configured to include other control information.

続いて、図7を参照して、構成情報のデータフォーマットを説明する。図7(a)〜(c)は、構成情報のデータフォーマットを示す図である。
図7(a)は構成情報記憶部208に記憶される正常状態における構成情報のデータを示し、図7(b)及び図7(c)は正常状態から異常状態に移行したときに取得された構成情報のデータを示す。
構成情報記憶部208に記憶される正常状態における構成情報のデータは、各局に対応する複数のレコードから構成される。各レコードは、図7(a)に示すように、局番号501、状態502、位置503、種類1(504)、種類2(505)、及び種類3(506)の各フィールドから構成される。そして、構成情報記憶部208には、リング型ネットワークシステムNWに接続される局数と同じ数のレコードが記憶される。
Subsequently, the data format of the configuration information will be described with reference to FIG. 7A to 7C are diagrams showing the data format of the configuration information.
FIG. 7A shows the data of the configuration information in the normal state stored in the configuration information storage unit 208, and FIGS. 7B and 7C are acquired when the normal state shifts to the abnormal state. Indicates configuration information data.
Data of configuration information in a normal state stored in the configuration information storage unit 208 is composed of a plurality of records corresponding to each station. As shown in FIG. 7A, each record is composed of fields of station number 501, status 502, position 503, type 1 (504), type 2 (505), and type 3 (506). The configuration information storage unit 208 stores the same number of records as the number of stations connected to the ring network system NW.

局番号501は、局を識別するために各局に割り振られたキーとなる識別情報である。例えば、マスタ局M0であれば局番号501は「M0」、スレーブ局SL1であれば局番号501は「SL1」である。
状態502は、各局で上述した通信系統が正常状態であるか、異常状態であるかを示すものである。例えば、正常状態であれば「0」、異常状態であれば「1」が保持される。
位置503は、リング型ネットワークシステムNWのバスケーブルBUS上の各局の位置を示すものであり、例えば両端に接続される局を「1(端局)」、それ以外の局を「0(中間局)」として記憶する。本実施の形態において、スレーブ局SL1及びスレーブ局SL4の位置503は「1(端局)」であり、それ以外の局の位置は、「0(中間局)」である。
The station number 501 is identification information that is a key assigned to each station in order to identify the station. For example, the station number 501 is “M0” for the master station M0, and the station number 501 is “SL1” for the slave station SL1.
A state 502 indicates whether the communication system described above in each station is in a normal state or an abnormal state. For example, “0” is held in the normal state and “1” is held in the abnormal state.
A position 503 indicates the position of each station on the bus cable BUS of the ring network system NW. For example, a station connected to both ends is “1 (end station)”, and other stations are “0 (intermediate station). ) ". In the present embodiment, the positions 503 of the slave station SL1 and the slave station SL4 are “1 (terminal station)”, and the positions of the other stations are “0 (intermediate station)”.

種類1(504)、種類2(505)及び種類3(506)は、ネットワークに接続するために必要なネットワークボードやファームウエアのアプリケーションID等の識別情報である。例えば、これらの識別情報を組み合わせてネットワークを構成する上で局毎に固有な情報とする。ここでは、種類1(504)は制御ロボットの各部位を示す局内のROMに記憶されている情報であり、種類2(505)は各局のネットワークボード等に割り当てられているMACアドレスであり、種類3(506)は各局に組み込まれているファームウエアで指定されているアプリケーションIDである。このように、スレーブ局に組み込まれるボード等の各種装置、アプリケーション等が有する情報をそのまま識別情報とすることができる。また、この識別情報は、ネットワークに接続される局そのものが有する情報でなくとも、局にセットされる機器や媒体等が有する情報、例えばネットワークにアクセスするために必要な認証を行う認証用情報が書き込まれているICカード等から取得したカードIDであっても良い。なお、種類は制御対象に応じて複数の種類を記憶させて良く、複数の種類を組み合わせることにより各局を識別しても良い。   Type 1 (504), type 2 (505), and type 3 (506) are identification information such as a network board and firmware application ID required for connection to the network. For example, when these identification information is combined to form a network, the information is unique to each station. Here, type 1 (504) is information stored in the ROM in the station indicating each part of the control robot, and type 2 (505) is a MAC address assigned to the network board or the like of each station. 3 (506) is an application ID designated by firmware incorporated in each station. In this way, information held by various devices such as boards and applications incorporated in the slave station can be used as identification information. In addition, this identification information is not information held by the station itself connected to the network, but information held by a device or medium set in the station, for example, authentication information for performing authentication necessary for accessing the network. It may be a card ID acquired from a written IC card or the like. Note that a plurality of types may be stored according to the control target, and each station may be identified by combining a plurality of types.

また、図7(b)及び図7(c)に示す構成情報のデータは、図7(a)に示した構成情報のデータと同じフィールドからレコードが構成される。ただし、これらの構成情報のデータは、例えば図2(b)で示した断線状態により異常状態が生じ、断線状態が復旧したときに取得されるものであるため、切離スレーブ局から復帰したスレーブ局SL3及びSL4のみの構成情報が存在する。   The configuration information data shown in FIGS. 7B and 7C is composed of the same fields as the configuration information data shown in FIG. 7A. However, since the data of these configuration information is acquired when an abnormal state occurs due to, for example, the disconnection state shown in FIG. 2B and the disconnection state is recovered, the slave that has returned from the disconnected slave station Configuration information for only stations SL3 and SL4 exists.

図7(b)に示す構成情報のデータは、通信系統が正常状態であるときのリング型ネットワークシステムのネットワーク構成と、通信系統が異常状態から正常状態に復旧した後のリング型ネットワークシステムのネットワーク構成とが一致しているときのデータであるため、図7(a)に示すスレーブ局SL3及びSL4の構成情報のデータと図7(b)に示すスレーブ局SL3及びSL4の構成情報のデータとは全て一致する。   The configuration information data shown in FIG. 7B includes the network configuration of the ring network system when the communication system is in the normal state, and the network of the ring network system after the communication system is restored from the abnormal state to the normal state. Since the data matches the configuration, the configuration information data of the slave stations SL3 and SL4 shown in FIG. 7A and the configuration information data of the slave stations SL3 and SL4 shown in FIG. All match.

しかしながら、図7(c)に示す構成情報のデータは、通信系統が正常状態であるときのリング型ネットワークシステムのネットワーク構成と、通信系統が異常状態から正常状態に復旧した後のリング型ネットワークシステムのネットワーク構成とが一致していないときのデータである。このため、図7(a)に示すスレーブ局SL3及びSL4の構成情報のデータと図7(c)に示すスレーブ局SL3及びSL4の構成情報のデータとでは、局番号SL4のレコードの種類1(504)及び種類3(506)のデータ内容は一致するが、種類2(505)のデータ内容が異なる。
また、異常状態から復旧したとき、正常状態におけるスレーブ局が全て接続されていないと、その未接続である局のレコードが存在しない。逆に、異常状態から復旧したとき、正常状態におけるスレーブ局に加えて別のスレーブ局が接続されていると、その局のレコードも追加される。
However, the configuration information data shown in FIG. 7C includes the network configuration of the ring network system when the communication system is in a normal state and the ring network system after the communication system is restored from an abnormal state to a normal state. This is data when the network configuration does not match. Therefore, in the configuration information data of the slave stations SL3 and SL4 shown in FIG. 7A and the configuration information data of the slave stations SL3 and SL4 shown in FIG. 504) and type 3 (506) have the same data contents, but type 2 (505) has different data contents.
Further, when all the slave stations in the normal state are not connected when recovered from the abnormal state, there is no record of the unconnected station. On the contrary, when recovering from the abnormal state, if another slave station is connected in addition to the slave station in the normal state, the record of that station is also added.

なお、図8に示すように、マスタ局M0の構成情報取得用コマンドフレーム送信部206から構成情報取得用コマンドフレーム511が送信され、構成情報取得用コマンドフレーム511のコマンドデータ領域にスレーブ局SL2,スレーブ局SL3,スレーブ局SL4,スレーブ局SL1の順で各局の受信順に、局番号、種類1、位置等の情報がそれぞれ書き込まれる。   As shown in FIG. 8, a configuration information acquisition command frame 511 is transmitted from the configuration information acquisition command frame transmission unit 206 of the master station M 0, and the slave stations SL 2, SL 2 are stored in the command data area of the configuration information acquisition command frame 511. Information such as station number, type 1, and position is written in the order of reception of each station in the order of slave station SL3, slave station SL4, and slave station SL1.

更に、マスタ局M0の接続順番情報生成部211は、最初にスレーブ局SL2及びスレーブ局SL3の情報をマスタ局M0の情報の図中の右方向に受信順に並べていき、位置が「0(端局)」であるスレーブ局SL4の情報を並べた後、スレーブ局SL1の情報をマスタ局M0の情報の図中の左方向に並べ替えた接続順番情報512を生成する。そして、スレーブ局の構成情報を、接続順番情報生成部211によって生成された接続順番情報512に対応付けて構成情報記憶部208に記憶する。具体的に、接続順番情報512に基づき、各スレーブ局の構成情報を、図7(a)に示すように、リング型ネットワークシステムNWに接続される局と同じ順番に並べ替えて記憶する。   Further, the connection order information generating unit 211 of the master station M0 first arranges the information of the slave stations SL2 and SL3 in the order of reception in the right direction in the drawing of the information of the master station M0, and the position is “0 (terminal station). ) ”, The connection order information 512 is generated by rearranging the information of the slave station SL1 in the left direction in the drawing of the information of the master station M0. Then, the slave station configuration information is stored in the configuration information storage unit 208 in association with the connection order information 512 generated by the connection order information generation unit 211. Specifically, based on the connection order information 512, the configuration information of each slave station is rearranged and stored in the same order as the stations connected to the ring network system NW, as shown in FIG.

続いて、図9を参照して、マスタ局における異常検知処理から復旧処理までの処理の流れを説明する。図9は、マスタ局における異常検知処理から復旧処理までの処理の流れを示すフローチャートである。
まず、通信系統が正常状態であるとき、構成情報取得用コマンドフレーム送信部206は、構成情報取得用コマンドフレームを送信する(ステップS601)。そして、構成情報取得用コマンドフレーム取得部207は、構成情報取得用コマンドフレームに対する正常時構成応答コマンドフレームを受信して(ステップS602)、正常時構成応答コマンドフレームから各スレーブ局で付加された構成情報を取得し(ステップS603)、取得した正常状態における構成情報を、接続順番情報生成部211で生成された接続順番情報の示す順番で構成情報記憶部208に記憶する(ステップS604)。
Next, with reference to FIG. 9, the flow of processing from abnormality detection processing to recovery processing in the master station will be described. FIG. 9 is a flowchart showing a flow of processing from abnormality detection processing to recovery processing in the master station.
First, when the communication system is in a normal state, the configuration information acquisition command frame transmission unit 206 transmits a configuration information acquisition command frame (step S601). Then, the configuration information acquisition command frame acquisition unit 207 receives the normal configuration response command frame for the configuration information acquisition command frame (step S602), and the configuration added by each slave station from the normal configuration response command frame Information is acquired (step S603), and the acquired configuration information in the normal state is stored in the configuration information storage unit 208 in the order indicated by the connection order information generated by the connection order information generation unit 211 (step S604).

リング型ネットワークシステムNWが動作中、異常通知受信部202は、通信系統の異常状態が検出された場合に異常状態を検知したスレーブ局から通知される異常通知信号の受信判定処理を継続して行い(ステップS605のNO)、異常通知信号を受信したとき(ステップS605のYES)、ループバック開始指示部203は、異常通知信号を通知した局に対してループバックを開始しループバック開始指示信号を出力する(ステップS606)。
その後、復旧通知受信部204は、ループバック局から通知される復旧通知信号の受信判定処理を継続して行い(ステップS607のNO)、復旧通知信号を受信すると(ステップS607のYES)、前処理用コマンドフレーム送受信部205は切離スレーブ局で行うべき前処理を指示する前処理用コマンドフレームを出力する(ステップS608)。
While the ring network system NW is in operation, the abnormality notification receiving unit 202 continuously performs reception determination processing of the abnormality notification signal notified from the slave station that detected the abnormal state when the abnormal state of the communication system is detected. When the abnormality notification signal is received (NO in step S605) (YES in step S605), the loopback start instructing unit 203 starts loopback to the station that has notified the abnormality notification signal, and outputs a loopback start instruction signal. Output (step S606).
After that, the recovery notification receiving unit 204 continues the reception determination process of the recovery notification signal notified from the loopback station (NO in step S607), and receives the recovery notification signal (YES in step S607). The command frame transmission / reception unit 205 outputs a preprocessing command frame instructing preprocessing to be performed by the isolated slave station (step S608).

また、前処理用コマンドフレーム送受信部205は、切離スレーブ局からの前処理応答コマンドフレームの受信判定処理を継続して行い(ステップS609のNO)、前処理応答コマンドフレームを受信したとき(ステップS609のYES)、構成情報取得用コマンドフレーム送信部206は切離スレーブ局に対する構成情報取得用コマンドフレームを送信する(ステップS610)。構成情報取得用コマンドフレーム取得部207は、切離スレーブ局からの構成情報取得用コマンドフレームに対するレスポンスである構成応答コマンドフレームを受信して(ステップS611)、構成応答コマンドフレームから各切離スレーブ局で付加された構成情報を取得する(ステップS612)。   Further, the preprocessing command frame transmission / reception unit 205 continuously performs the reception determination process of the preprocessing response command frame from the disconnected slave station (NO in step S609), and receives the preprocessing response command frame (step S609). (YES in S609), the configuration information acquisition command frame transmission unit 206 transmits a configuration information acquisition command frame to the isolated slave station (step S610). The configuration information acquisition command frame acquisition unit 207 receives a configuration response command frame, which is a response to the configuration information acquisition command frame from the isolated slave station (step S611), and receives each configuration slave command station from the configuration response command frame. The configuration information added in step S612 is acquired (step S612).

構成情報判定部209は、構成情報記憶部208に記憶されたマスタ局M0及び複数のスレーブ局SL1〜SL4のネットワークに対する構成情報のうち切離スレーブ局に対応する局の構成情報と、構成情報取得用コマンドフレーム取得部207により取得された切離スレーブ局の構成情報とを比較し、通信系統が正常状態であるときのリング型ネットワークシステムのネットワーク構成と、通信系統が異常状態から正常状態に復旧した後のリング型ネットワークシステムのネットワーク構成とが一致しているか否かを判定する構成情報判定処理を行う(ステップS613)。構成情報判定処理の結果、両者の構成が一致していれば(ステップS614のYES)、ループバック解除指示部210がループバック局に対してループバック解除指示信号を出力後(ステップS615)、マスタ局M0は通常状態(ステップS605)に戻り処理を繰り返す。
また、ステップS614で両者の構成が一致していなければ(ステップS614のNO)、例えばマスタ局M0の図示しない表示部にシステム構成が異常状態であることを表示して、ループバックの解除を行わず(システムを復旧せず)に一連の処理を終了する(ステップS616)。
The configuration information determination unit 209 obtains configuration information of the station corresponding to the disconnected slave station among the configuration information for the network of the master station M0 and the plurality of slave stations SL1 to SL4 stored in the configuration information storage unit 208, and configuration information acquisition The configuration information of the disconnected slave station acquired by the command frame acquisition unit 207 is compared, and the network configuration of the ring network system when the communication system is normal and the communication system is restored from the abnormal state to the normal state A configuration information determination process is performed to determine whether or not the network configuration of the ring network system after this matches (step S613). As a result of the configuration information determination process, if the two configurations match (YES in step S614), the loopback cancellation instruction unit 210 outputs a loopback cancellation instruction signal to the loopback station (step S615), and then the master The station M0 returns to the normal state (step S605) and repeats the process.
If the two configurations do not match in step S614 (NO in step S614), for example, a display unit (not shown) of the master station M0 displays that the system configuration is in an abnormal state, and the loopback is canceled. A series of processing ends (without restoring the system) (step S616).

続いて、図10を参照して、マスタ局における構成情報判定処理の流れを説明する。図10は、マスタ局における構成情報判定処理の流れを示すフローチャートである。以下、図2(b)のループバック状態を例に挙げて説明する。
上述した図9のステップS613における構成情報判定処理において、構成情報判定部209は、まず、構成情報記憶部208に記憶された図2(b)に示す切離スレーブ局に対応するスレーブ局SL3及びスレーブ局SL4のネットワークに対する構成情報の最初のレコードと、構成情報取得用コマンドフレーム取得部207により取得された切離スレーブ局の構成情報の最初のレコードを取得する(ステップS701)。
Subsequently, the flow of the configuration information determination process in the master station will be described with reference to FIG. FIG. 10 is a flowchart showing the flow of the configuration information determination process in the master station. Hereinafter, the loop back state in FIG. 2B will be described as an example.
In the configuration information determination process in step S613 of FIG. 9 described above, the configuration information determination unit 209 first stores the slave station SL3 corresponding to the disconnected slave station shown in FIG. The first record of the configuration information for the network of the slave station SL4 and the first record of the configuration information of the detached slave station acquired by the configuration information acquisition command frame acquisition unit 207 are acquired (step S701).

次に、取得した2つのレコードの最初の種類フィールドのデータ同士を比較する(ステップS702)。最初の比較対象になるデータは、例えば、図7(a)〜図7(c)に示した構成情報のうち局番号が「SL3」であるレコードの、種類1(504)のフィールドのデータである。
ここで、比較したデータ同士が1つでも一致しなければ(ステップS703のNO)、通信系統が正常状態であるときのリング型ネットワークシステムのネットワーク構成と、通信系統が異常状態から正常状態に復旧した後のリング型ネットワークシステムのネットワーク構成とが一致していないと判定する(ステップS704)。
Next, the data of the first type field of the two acquired records are compared (step S702). The first comparison target data is, for example, data in the field of type 1 (504) in the record having the station number “SL3” in the configuration information shown in FIGS. 7A to 7C. is there.
If even one of the compared data does not match (NO in step S703), the network configuration of the ring network system when the communication system is normal and the communication system is restored from the abnormal state to the normal state After that, it is determined that the network configuration of the ring network system does not match (step S704).

また、比較した種類同士が一致し(ステップS703のYES)、2つのレコードの全ての種類について比較していなければ(ステップS705のNO)、引き続き2つのレコードの次の種類にポインタを移動して(ステップS706)、2つのレコードの次の種類同士を比較する(ステップS702)。ここで、比較対象になるデータは、例えば、図7(a)〜図7(c)に示した構成情報のうち局番号が「SL3」であるレコードの、種類2(505)のフィールドのデータである。   If the compared types match (YES in step S703) and all types of two records are not compared (NO in step S705), the pointer is continuously moved to the next type of the two records. (Step S706) The next types of the two records are compared with each other (Step S702). Here, the data to be compared is, for example, data in the field of type 2 (505) of the record having the station number “SL3” in the configuration information shown in FIGS. 7A to 7C. It is.

ステップS702で、構成情報判定部209は、2つのレコードの全ての種類を比較し終わり(ステップS705のYES)、まだ比較していないレコードがあれば(ステップS707のNO)、引き続き構成情報記憶部208に記憶されたマスタ局M0及び複数のスレーブ局SL1〜SL4のネットワークに対する構成情報のうち次の切離スレーブ局のレコードと、構成情報取得用コマンドフレーム取得部207により取得された切離スレーブ局の構成情報の次のレコードを取得して(ステップS708)、同様に次の2つのレコードの最初の種類同士を比較する(ステップS702)。ここで、比較対象になるデータは、例えば、図7(a)〜図7(c)に示した構成情報のうち局番号が「SL4」であるレコードの、種類1(504)のフィールドである。   In step S702, the configuration information determination unit 209 finishes comparing all types of two records (YES in step S705). If there is a record that has not been compared yet (NO in step S707), the configuration information storage unit continues. Of the configuration information for the network of the master station M0 and the plurality of slave stations SL1 to SL4 stored in 208, the record of the next disconnected slave station and the disconnected slave station acquired by the command frame acquisition unit 207 for acquiring the configuration information The next record of the configuration information is acquired (step S708), and the first two types of the next two records are similarly compared (step S702). Here, the data to be compared is, for example, the type 1 (504) field of the record having the station number “SL4” in the configuration information shown in FIGS. 7A to 7C. .

そして、構成情報判定部209は、全てのレコードを比較し、比較した全てのデータが一致していれば(ステップS707のYES)、通信系統が正常状態であるときのリング型ネットワークシステムのネットワーク構成と、通信系統が異常状態から正常状態に復旧した後のリング型ネットワークシステムのネットワーク構成とが一致していると判定する(ステップS709)。   Then, the configuration information determination unit 209 compares all the records, and if all the compared data match (YES in step S707), the network configuration of the ring network system when the communication system is in a normal state And the network configuration of the ring network system after the communication system is restored from the abnormal state to the normal state is determined to match (step S709).

なお、本構成情報判定処理において、断線などにより通信系統が異常状態から復旧しても、正常状態におけるスレーブ局が全て接続されていなかったり、逆に正常状態におけるスレーブ局の他に別のスレーブ局が接続されていたりする場合には、上述したように2つのレコード同士を比較することができない。そのようなときは、通信系統が正常状態であるときのリング型ネットワークシステムのネットワーク構成と、通信系統が異常状態から正常状態に復旧した後のリング型ネットワークシステムのネットワーク構成とが一致していないと判断すれば良い。   In this configuration information determination process, even if the communication system recovers from an abnormal state due to disconnection or the like, not all slave stations in the normal state are connected, or conversely, another slave station other than the slave station in the normal state Are connected, the two records cannot be compared as described above. In such a case, the network configuration of the ring network system when the communication system is normal does not match the network configuration of the ring network system after the communication system is restored from the abnormal state to the normal state. Judge it.

続いて、図11を参照して、スレーブ局(ループバック局)における異常検知処理から復旧処理までの処理の流れを説明する。図11は、スレーブ局(ループバック局)における異常検知処理から復旧処理までの処理の流れを示すフローチャートである。
まず、構成情報送信部306は通信系統が正常状態あるとき、マスタ局M0から送信された構成情報取得用コマンドフレームの受信判定処理を継続して行い(ステップS801のNO)、構成情報取得用コマンドフレームを受信したとき(ステップS801のYES)、構成情報取得用コマンドフレームのレスポンスとして、この構成情報取得用コマンドフレームにネットワークに対する自局の構成情報を付加したものを、正常時構成応答コマンドフレームとしてマスタ局M0に対して送信する(ステップS802)。
Next, with reference to FIG. 11, the flow of processing from abnormality detection processing to recovery processing in the slave station (loopback station) will be described. FIG. 11 is a flowchart showing the flow of processing from abnormality detection processing to recovery processing in a slave station (loopback station).
First, when the communication system is in a normal state, the configuration information transmission unit 306 continuously performs reception determination processing for the configuration information acquisition command frame transmitted from the master station M0 (NO in step S801), and receives the configuration information acquisition command. When a frame is received (YES in step S801), as a response to the configuration information acquisition command frame, the configuration information acquisition command frame added with the configuration information of the local station for the network is used as a normal configuration response command frame. Transmit to the master station M0 (step S802).

その後、状態検出部302は、隣接するスレーブ局の故障や、隣接するスレーブ局との通信回線の断線等による通信系統の異常状態の検出判定処理を継続して行い(ステップS803のNO)、異常状態を検出すると(ステップS803のYES)、マスタ局M0に対して異常通知信号を送信する(ステップS804)。続いて、ループバック制御部303は、マスタ局M0からループバック開始指示信号を受信するまで待機し(ステップS805のNO)、ループバック開始指示信号を受信すると(ステップS805のYES)、ループバック処理を開始する(ステップS806)。   After that, the state detection unit 302 continuously performs the detection determination process of the abnormal state of the communication system due to the failure of the adjacent slave station or the disconnection of the communication line with the adjacent slave station (NO in step S803). When the state is detected (YES in step S803), an abnormality notification signal is transmitted to the master station M0 (step S804). Subsequently, the loopback control unit 303 waits until a loopback start instruction signal is received from the master station M0 (NO in step S805). When the loopback start instruction signal is received (YES in step S805), the loopback process is performed. Is started (step S806).

具体的に、図12(a)に示すように、スレーブ局SL2が隣接するスレーブ局SL3との間の異常状態を検出する処理を継続して行い、異常状態を検出したときにマスタ局M0に対して異常通知信号831を送信する。続いて、スレーブ局SL2がマスタ局M0からループバック開始指示信号832を受信するとループバック処理833を開始する。
そして、状態検出部302は、隣接するスレーブ局の故障や、隣接するスレーブ局との通信回線の断線等が復旧したことを検出する処理を継続して行い(ステップS807のNO)、断線等が復旧したことを検出すると(ステップS807のYES)、マスタ局M0に対して復旧通知信号を送信する(ステップS808)。
Specifically, as shown in FIG. 12 (a), the slave station SL2 continuously performs the process of detecting an abnormal state between the slave station SL3 and the master station M0 when the abnormal state is detected. In response, an abnormality notification signal 831 is transmitted. Subsequently, when the slave station SL2 receives the loopback start instruction signal 832 from the master station M0, the loopback processing 833 is started.
Then, the state detection unit 302 continuously performs processing to detect that the failure of the adjacent slave station, the disconnection of the communication line with the adjacent slave station, etc. has been recovered (NO in step S807). When the recovery is detected (YES in step S807), a recovery notification signal is transmitted to the master station M0 (step S808).

続いて、コマンドフレーム中継部304は、マスタ局M0から自局宛の透過コマンドを含む構成情報取得用コマンドフレームを受信したとき(ステップS809のYES)、受信した構成情報取得用コマンドフレーム中のコマンドデータヘッダに記述されている切離スレーブ局の局番を新たな宛先局番として切離スレーブ局宛の構成情報取得用コマンドフレームである構成情報取得透過コマンドフレームを生成し、この構成情報取得透過コマンドフレームを指定されたスレーブ局すなわち切離スレーブ局宛に送信する(ステップS810)。   Subsequently, when the command frame relay unit 304 receives a configuration information acquisition command frame including a transparent command addressed to itself from the master station M0 (YES in step S809), the command in the received configuration information acquisition command frame Generates a configuration information acquisition transparent command frame that is a configuration information acquisition command frame addressed to the isolated slave station with the station number of the isolated slave station described in the data header as a new destination station number, and this configuration information acquisition transparent command frame Is transmitted to the designated slave station, that is, to the disconnected slave station (step S810).

具体的に、図12(b)に示すように、スレーブ局SL2の状態検出部302が、断線等が復旧したことを検出する処理を継続して行い、断線等が復旧したことを検出したときにマスタ局M0に対して復旧通知信号834を送信する。
一方、スレーブ局SL2は、マスタ局M0から透過コマンドフレーム以外の通常コマンドフレームを受信した場合、ループバック処理833によって、通常コマンドフレームを隣接する切離スレーブ局SL3に対して送信せず、隣接する接続状態にあるマスタ局M0に対して折り返して送信する。
Specifically, as shown in FIG. 12B, when the state detection unit 302 of the slave station SL2 continuously performs the process of detecting the disconnection or the like and detects the disconnection or the like. A recovery notification signal 834 is transmitted to the master station M0.
On the other hand, when the slave station SL2 receives a normal command frame other than the transparent command frame from the master station M0, the slave station SL2 does not transmit the normal command frame to the adjacent separated slave station SL3 by the loopback process 833, and is adjacent to the slave station SL2. Return to the connected master station M0 and transmit.

また、マスタ局M0からスレーブ局SL2に、コマンドデータヘッダに切離スレーブ局SL3及び切離スレーブ局SL4の宛先局番の記述された透過コマンドを含む構成情報取得用コマンドフレームが送信されると、スレーブ局SL2は、そのコマンドデータヘッドに記述されている切離スレーブ局の局番を新たな宛先局番として切離スレーブ局宛の構成情報取得用コマンドフレームである構成情報取得用透過コマンドフレームを生成し、この構成情報取得用透過コマンドフレーム835をすなわち切離スレーブ局SL3及び切離スレーブ局SL4に送信する。   When a command frame for acquiring configuration information including a transparent command in which the destination station numbers of the isolated slave station SL3 and the isolated slave station SL4 are described in the command data header is transmitted from the master station M0 to the slave station SL2. The station SL2 generates a configuration information acquisition transparent command frame that is a configuration information acquisition command frame addressed to the isolated slave station with the station number of the isolated slave station described in the command data head as a new destination station number, This configuration information acquisition transparent command frame 835 is transmitted to the separation slave station SL3 and the separation slave station SL4.

また、コマンドフレーム中継部304がマスタ局M0から自局宛の構成情報取得用コマンドフレームを受信せず(ステップS809のNO)、応答中継部305が構成情報取得透過コマンドフレームに対するレスポンスとしての構成応答コマンドフレームを受信した場合(ステップS811のYES)、受信した構成応答コマンドフレームをマスタ局M0宛にそのまま送信する(ステップS812)。   Further, the command frame relay unit 304 does not receive the configuration information acquisition command frame addressed to itself from the master station M0 (NO in step S809), and the response relay unit 305 receives a configuration response as a response to the configuration information acquisition transparent command frame. When the command frame is received (YES in step S811), the received configuration response command frame is transmitted as it is to the master station M0 (step S812).

また、応答中継部305が構成応答コマンドフレームを受信しなければ(ステップS811のNO)、ループバック制御部201はマスタ局M0からループバック解除指示信号を受信するまで(ステップS813のNO)、ループバック制御を継続する。そして、ループバック制御部201はマスタ局M0からループバック解除指示信号を受信したとき(ステップS813のYES)、ループバック制御を解除して(ステップS814)、ループバック局は通常状態(図11のステップS803)に戻り処理を繰り返す。
なお、上述した故障状態にある各スレーブ局を回線に復帰させるための前処理は、上記のステップS807〜ステップS813までのループバック処理が行われている間に行えば良いので、構成情報取得透過コマンドフレームやループバック解除指示信号と一緒に前処理用コマンドフレームを送信することも可能である。
If the response relay unit 305 does not receive the configuration response command frame (NO in step S811), the loopback control unit 201 loops until a loopback release instruction signal is received from the master station M0 (NO in step S813). Continue back control. When the loopback control unit 201 receives the loopback release instruction signal from the master station M0 (YES in step S813), the loopback control unit 201 cancels the loopback control (step S814), and the loopback station is in a normal state (in FIG. 11). Returning to step S803), the process is repeated.
Note that the pre-processing for returning each slave station in the above-described failure state to the line may be performed while the loop-back processing from step S807 to step S813 is being performed. It is also possible to transmit a preprocessing command frame together with a command frame and a loopback release instruction signal.

続いて、図13を参照して、スレーブ局(切離スレーブ局)における復旧処理の流れを説明する。図13は、スレーブ局(切離スレーブ局)における復旧処理の流れを示すフローチャートである。
前処理実行部307は、自局宛の前処理用透過コマンドフレームの受信判定処理を継続して行い(ステップS901のNO)、自局宛の前処理用コマンドフレームを受信したとき(ステップS901のYES)、前処理用透過コマンドフレームの前処理用コマンドに応じた前処理を行う(ステップS902)。そして、前処理実行部307は、前処理用コマンドフレームのレスポンスとして前処理応答コマンドフレームをマスタ局M0に対して送信する(ステップS903)。
Next, with reference to FIG. 13, the flow of recovery processing in the slave station (separated slave station) will be described. FIG. 13 is a flowchart showing the flow of recovery processing in a slave station (disconnected slave station).
The preprocessing execution unit 307 continues the reception determination process for the preprocessing transparent command frame addressed to the own station (NO in step S901), and receives the preprocessing command frame addressed to the own station (in step S901). YES), pre-processing corresponding to the pre-processing command of the pre-processing transparent command frame is performed (step S902). Then, the preprocessing execution unit 307 transmits a preprocessing response command frame to the master station M0 as a response to the preprocessing command frame (step S903).

また、切離スレーブ局に対する全ての前処理が完了すると、マスタ局M0からの透過コマンドを含む構成情報取得用コマンドフレームに応じて、ループバック局から構成情報取得透過コマンドフレームが送信されるので、構成情報送信部306は、自局宛の構成情報取得透過コマンドフレームの受信判定処理を継続して行い(ステップS904のNO)、自局宛の構成情報取得透過コマンドフレームを受信したとき(ステップS904のYES)、受信した構成情報取得透過コマンドフレームに自局のネットワークに対する構成情報を付加して、これを構成応答コマンドフレームとして送信する(ステップS905)。   In addition, when all the preprocessing for the disconnected slave station is completed, the configuration information acquisition transparent command frame is transmitted from the loopback station in response to the configuration information acquisition command frame including the transparent command from the master station M0. The configuration information transmitting unit 306 continues the reception determination process for the configuration information acquisition transparent command frame addressed to the local station (NO in step S904), and receives the configuration information acquisition transparent command frame addressed to the local station (step S904). YES), the configuration information for the network of the own station is added to the received configuration information acquisition transparent command frame, and this is transmitted as a configuration response command frame (step S905).

そして、マスタ局M0が、全ての切離スレーブ局のネットワークに対する構成情報を受信し、マスタ局M0によって正常状態であるときのリング型ネットワークシステムのネットワーク構成と、通信系統が異常状態から正常状態に復旧した後のリング型ネットワークシステムのネットワーク構成とが一致していることが判定されると、切離スレーブ局は通常のスレーブ局として機能する。   Then, the master station M0 receives the configuration information for the networks of all the disconnected slave stations, and the network configuration of the ring network system when the master station M0 is in the normal state and the communication system is changed from the abnormal state to the normal state. When it is determined that the network configuration of the ring network system after restoration is identical, the disconnected slave station functions as a normal slave station.

以上、本実施の形態のリング型ネットワークシステムは、断線等の復旧と共にネットワークシステムを復旧させるのではなく、通信系統が正常状態であるときのネットワークシステムの構成と、障害復旧後のネットワークシステムの構成とが一致しているか否かを判定し、ネットワークシステムの構成が正常だと判断してからネットワークシステムを復旧するので、確実に正常時のネットワーク状態に復帰させることができる。   As described above, the ring network system according to the present embodiment does not restore the network system together with the disconnection or the like, but the configuration of the network system when the communication system is normal and the configuration of the network system after the failure recovery Since the network system is restored after determining whether the network system configuration is normal, it is possible to reliably return to the normal network state.

また、構成情報取得透過コマンドフレームと一緒に前処理用コマンドフレームを送信することで、故障状態にある各スレーブ局を回線に復帰させるための前処理を行うことも可能であるため、ループバック解除時に、マスタ局M0では、前処理と回線復旧処理とを同時に行う必要がないため、ループバック解除時におけるマスタ局M0での負荷軽減を図ることができる。このため、ループバック解除がなされた時点から、実際に、スレーブ局SL3及びスレーブ局SL4を含めたシステム制御の開始までの所要時間を短縮することができる。このため、断線復旧時のリカバリ時間の短縮を図ることができ、プログラマブルコントローラを用いたネットワークシステムや機械制御システムを構成するネットワークシステムの場合には、信頼性や生産性の向上を図ることができる。   In addition, by sending a preprocessing command frame along with a configuration information acquisition transparent command frame, it is possible to perform preprocessing to return each slave station in a faulty state to the line, so loopback is released. Sometimes, the master station M0 does not need to perform the pre-processing and the line restoration process at the same time, so that it is possible to reduce the load on the master station M0 when the loopback is released. For this reason, it is possible to shorten the time required from the time when the loopback is released to the start of system control including the slave station SL3 and the slave station SL4. For this reason, it is possible to shorten the recovery time at the time of disconnection recovery, and in the case of a network system using a programmable controller or a network system constituting a machine control system, it is possible to improve reliability and productivity. .

また、マスタ局M0での処理として前処理と回線復旧処理とを明確に切り分けることができるため、マスタ局M0における処理構造の簡略化を図ることができる。
また、回線に復帰したスレーブ局の故障情報は、クリアされた状態で回線に復帰する。このため、例えば、ネットワークシステムの保守等のために、マスタ局M0側でスレーブ局の故障情報を保守情報として収集し記憶するように構成されている場合であっても、マスタ局M0では、スレーブ局は正常状態として認識するため、スレーブ局の故障情報が収集されることはない。従って、何らかにより一時的に通信を行うことができなくなった場合など、一時的な断線状態が生じた場合に、この一時的な断線状態に伴う故障情報が保守情報として収集されることを回避することができる。このため、一時的な断線状態といった比較的軽微な故障情報が保守情報として収集されることを回避することができる。
In addition, since the preprocessing and the line restoration processing can be clearly separated as the processing at the master station M0, the processing structure at the master station M0 can be simplified.
Also, the failure information of the slave station that has returned to the line returns to the line in a cleared state. Therefore, for example, even if the master station M0 is configured to collect and store the failure information of the slave station as maintenance information for maintenance of the network system, the master station M0 Since the station recognizes it as a normal state, slave station failure information is not collected. Therefore, in the event of a temporary disconnection, such as when communication cannot be temporarily performed due to something, avoiding the collection of failure information associated with this temporary disconnection as maintenance information can do. For this reason, it is possible to avoid collecting relatively minor failure information such as a temporary disconnection state as maintenance information.

なお、以上の実施形態で説明されたネットワーク構成については、本発明が理解・実施できる程度に概略的に示したものにすぎず、またネットワークに対する構成情報等については例示にすぎない。
例えば、上記実施の形態においてネットワークの構成は、マスタ局及びスレーブ局をバス接続し、その両端に位置する局で回線を折り返すことにより構成されるリング型のネットワークについて説明したが、マスタ局及びスレーブ局を二重の回線によってループ状に接続し、断線状態が生じた箇所でループバックを行うことにより、マスタ局と回線を介して接続されるスレーブ局との間で通信を継続し、断線状態が復旧したときにループバックを解除するリング型のネットワークであっても良い。従って、本発明は、説明された実施形態に限定されるものではなく、特許請求の範囲に示される技術的思想の範囲を逸脱しない限り様々な形態に変更することができる。
Note that the network configuration described in the above embodiments is merely schematically shown to the extent that the present invention can be understood and implemented, and the configuration information for the network is merely an example.
For example, in the above embodiment, the network configuration has been described with respect to a ring-type network configured by connecting a master station and a slave station by a bus and turning back a line at stations located at both ends. By connecting the stations in a loop using a double line and looping back where the disconnection occurred, communication between the master station and the slave station connected via the line is continued, and the disconnection It may be a ring network that releases the loopback when the network is restored. Therefore, the present invention is not limited to the described embodiments, and can be variously modified without departing from the scope of the technical idea shown in the claims.

例えば、複数の機能部を制御することによりシステム全体としてロボット制御するためのリング型ネットワークシステム及びリング型ネットワークシステムの復旧方法として利用される。   For example, the present invention is used as a ring network system for controlling a robot as a whole system by controlling a plurality of functional units, and a restoration method for the ring network system.

NW リング型ネットワークシステム
M0 マスタ局
SL1〜SL4 スレーブ局
BUS バスケーブル
201 制御部
202 異常通知受信部
203 ループバック開始指示部
204 復旧通知受信部
205 前処理用コマンドフレーム送受信部
206 構成情報取得用コマンドフレーム送信部
207 構成情報取得用コマンドフレーム取得部
208 構成情報記憶部
209 構成情報判定部
210 ループバック解除指示部
211 接続順番情報生成部
301 制御部
302 状態検出部
303 ループバック制御部
304 コマンドフレーム中継部
305 応答中継部
306 構成情報送信部
307 前処理実行部
NW ring network system M0 Master station SL1 to SL4 Slave station BUS Bus cable 201 Control unit 202 Abnormality notification reception unit 203 Loopback start instruction unit 204 Recovery notification reception unit 205 Preprocessing command frame transmission / reception unit 206 Configuration information acquisition command frame Transmission unit 207 Configuration information acquisition command frame acquisition unit 208 Configuration information storage unit 209 Configuration information determination unit 210 Loopback release instruction unit 211 Connection order information generation unit 301 Control unit 302 State detection unit 303 Loopback control unit 304 Command frame relay unit 305 Response relay unit 306 Configuration information transmission unit 307 Preprocessing execution unit

Claims (6)

マスタ局と、当該マスタ局と回線を介して接続され且つ前記マスタ局に管理される複数のスレーブ局とでリング型ネットワークを構築し、
いずれかのスレーブ局が、隣接する局との間での通信が不可となる通信系統の異常状態を検出したときに前記マスタ局に対して異常を通知し、ループバックを行うことにより前記回線を介して前記マスタ局と接続状態にあるスレーブ局間で通信を継続し、
前記異常状態の復旧が検出されたときに前記マスタ局に対して前記復旧を通知して、前記ループバックを解除し、前記ループバックにより前記マスタ局から切り離された切離スレーブ局を、前記回線を介して前記マスタ局に再接続するリング型ネットワークシステムにおいて、
前記マスタ局は、
前記通信系統が正常状態であるときの前記複数のスレーブ局の前記リング型ネットワークに対する各スレーブ局の構成を示す構成情報を記憶する構成情報記憶手段と、
前記復旧が通知されたときに、前記切離スレーブ局の前記構成情報を取得するための第1の構成情報取得用コマンドと前記切離スレーブ局の宛先情報とを生成し、当該コマンド及び宛先情報を、第1の構成情報取得用コマンドフレームにして、前記ループバックを行っているループバック局宛に送信する第1の構成情報取得用コマンドフレーム送信手段と、
前記第1の構成情報取得用コマンドフレーム送信手段により送信された前記第1の構成情報取得用コマンドフレームに対する応答として、前記ループバック局から送信された応答コマンドフレームを受信して、当該応答コマンドフレームから前記切離スレーブ局の構成情報を取得する第1の構成情報取得手段と、
前記第1の構成情報取得手段によって取得された前記切離スレーブ局の構成情報と前記構成情報記憶手段に記憶された正常時の前記構成情報とに基づき、前記正常時の構成情報と復旧後の前記切離スレーブ局の構成情報とが一致するか否かを判定する構成判定手段と、
前記構成判定手段によって一致していると判定されたときに、前記ループバックを行っているループバック局宛に前記ループバック解除の指示を与えるループバック解除指示手段と、を備え、
前記ループバック局は、
自局宛の前記第1の構成情報取得用コマンドフレームを受信したときに、当該コマンドフレームに含まれる前記宛先情報から特定される前記切離スレーブ局宛に、前記第1の構成情報取得用コマンドを含む第1の構成情報取得用コマンドフレームを送信するコマンドフレーム中継手段と、
前記第1の構成情報取得用コマンドフレームに対する応答として前記切離スレーブ局から受信した、前記切離スレーブ局の構成情報を含む応答コマンドフレームを、前記マスタ局宛に送信する応答中継手段と、を備え、
前記切離スレーブ局は、
前記ループバック局から送信された自局宛の前記第1の構成情報取得用コマンドフレームを受信したときに、前記第1の構成情報取得用コマンドに応じて、自局の構成情報を含む応答コマンドフレームを前記ループバック局に送信する構成情報送信手段を備えることを特徴とするリング型ネットワークシステム。
A ring network is constructed by a master station and a plurality of slave stations connected to the master station via a line and managed by the master station,
When any slave station detects an abnormal state of a communication system in which communication with an adjacent station is impossible, the master station is notified of the abnormality, and loops back to establish the line. Through the slave station connected to the master station via
When the recovery of the abnormal state is detected, the recovery is notified to the master station, the loopback is canceled, and the disconnected slave station disconnected from the master station by the loopback is connected to the line In the ring network system reconnecting to the master station via
The master station
Configuration information storage means for storing configuration information indicating the configuration of each slave station for the ring network of the plurality of slave stations when the communication system is in a normal state;
When the recovery is notified, a first configuration information acquisition command for acquiring the configuration information of the disconnected slave station and destination information of the disconnected slave station are generated, and the command and destination information are generated. A first configuration information acquisition command frame transmission means for transmitting to the loopback station performing the loopback as a first configuration information acquisition command frame;
As a response to the first configuration information acquisition command frame transmitted by the first configuration information acquisition command frame transmission means, the response command frame transmitted from the loopback station is received and the response command frame is received. First configuration information acquisition means for acquiring configuration information of the disconnected slave station from:
Based on the configuration information of the disconnected slave station acquired by the first configuration information acquisition means and the configuration information at the normal time stored in the configuration information storage means, the configuration information at the normal time and the post-restoration information Configuration determination means for determining whether or not the configuration information of the disconnected slave station matches;
A loopback release instructing means for giving an instruction to release the loopback to a loopback station performing the loopback when it is determined by the configuration determining means to match,
The loopback station is
When the first configuration information acquisition command frame addressed to its own station is received, the first configuration information acquisition command addressed to the separated slave station specified from the destination information included in the command frame Command frame relay means for transmitting a first configuration information acquisition command frame including:
Response relay means for transmitting a response command frame including the configuration information of the disconnected slave station received from the disconnected slave station as a response to the first configuration information acquisition command frame, to the master station. Prepared,
The disconnected slave station is
When the first configuration information acquisition command frame addressed to the own station transmitted from the loopback station is received, a response command including the configuration information of the own station according to the first configuration information acquisition command A ring network system comprising: configuration information transmitting means for transmitting a frame to the loopback station.
前記マスタ局は、更に、
前記通信系統が正常状態であるときに、前記複数のスレーブ局の構成情報を取得するための第2の構成情報取得用コマンドを生成し、当該コマンドを、第2の構成情報取得用コマンドフレームにして、前記複数のスレーブ局に対して送信する第2の構成情報取得用コマンドフレーム送信手段と、
前記第2の構成情報取得用コマンドフレーム送信手段により送信された前記第2の構成情報取得用コマンドフレームに対する応答として、前記複数のスレーブ局から送信された応答コマンドフレームを受信して、当該応答コマンドフレームから前記各スレーブ局の構成情報を取得する第2の構成情報取得手段と、を備え、
前記スレーブ局の前記構成情報送信手段は、前記マスタ局から送信された前記第2の構成情報取得用コマンドフレームを受信したときに、前記第2の構成情報取得用コマンドに応じて自局の構成情報を含む応答コマンドフレームを前記マスタ局に対して送信し、
前記第2の構成情報取得手段は、前記取得した各スレーブ局の構成情報を、前記通信系統が正常状態であるときの前記各スレーブ局の構成を示す構成情報として前記構成情報記憶手段に記憶することを特徴とする請求項1記載のリング型ネットワークシステム。
The master station further includes
When the communication system is in a normal state, a second configuration information acquisition command for acquiring configuration information of the plurality of slave stations is generated, and the command is used as a second configuration information acquisition command frame. Second configuration information acquisition command frame transmitting means for transmitting to the plurality of slave stations,
In response to the second configuration information acquisition command frame transmitted by the second configuration information acquisition command frame transmission means, the response command frame transmitted from the plurality of slave stations is received and the response command is received. Second configuration information acquisition means for acquiring configuration information of each slave station from a frame,
When the configuration information transmitting means of the slave station receives the second configuration information acquisition command frame transmitted from the master station, the configuration information transmitting means of the slave station is configured according to the second configuration information acquisition command. Sending a response command frame containing information to the master station;
The second configuration information acquisition unit stores the acquired configuration information of each slave station in the configuration information storage unit as configuration information indicating the configuration of each slave station when the communication system is in a normal state. The ring network system according to claim 1.
前記第2の構成情報取得用コマンドフレーム送信手段は、前記複数のスレーブ局に対して、当該複数のスレーブ局を宛先とした共通の前記第2の構成情報取得用コマンドフレームを1つ送信し、
前記複数のスレーブ局は、前記各局の構成情報送信手段において、前記マスタ局から送信された前記共通の第2の構成情報取得用コマンドフレームを受信したときに、前記応答コマンドフレームとして、前記共通の第2の構成情報取得用コマンドフレームに対して当該コマンドフレームを受信した順に各自局の構成情報を付加したものを送信することを特徴とする請求項2記載のリング型ネットワークシステム。
The second configuration information acquisition command frame transmission means transmits one common second configuration information acquisition command frame addressed to the plurality of slave stations to the plurality of slave stations,
When the plurality of slave stations receive the common second configuration information acquisition command frame transmitted from the master station in the configuration information transmission unit of each station, the plurality of slave stations serve as the common command information as the response command frame. 3. The ring network system according to claim 2, wherein the second configuration information acquisition command frame is transmitted by adding the configuration information of each own station in the order in which the command frame is received.
前記マスタ局と前記スレーブ局とをバス接続し、且つ両端に位置する局で回線を折り返すことにより前記リング型ネットワークを構築し、
前記構成情報は、前記スレーブ局が前記リング型ネットワークの端部に接続された局であるか否かを示す接続位置情報、及び前記スレーブ局を特定するために前記スレーブ局毎に割り当てられた固有情報を含み、
前記マスタ局は、更に、
前記第2の構成情報取得手段によって取得した前記複数のスレーブ局の構成情報に基づき、前記マスタ局及び前記複数のスレーブ局の接続順番を示す接続順番情報を生成する接続順番情報生成手段を備え、
前記第2の構成情報取得手段は、前記複数のスレーブ局の構成情報を、前記接続順番情報生成手段によって生成した前記接続順番情報に対応付けて、前記構成情報記憶手段に記憶することを特徴とする請求項3記載のリング型ネットワークシステム。
The master network and the slave station are connected by bus, and the ring network is constructed by turning back the line at stations located at both ends.
The configuration information includes connection position information indicating whether or not the slave station is a station connected to an end of the ring network, and a unique information assigned to each slave station to identify the slave station. Including information,
The master station further includes
Based on the configuration information of the plurality of slave stations acquired by the second configuration information acquisition means, comprising connection order information generating means for generating connection order information indicating the connection order of the master station and the plurality of slave stations,
The second configuration information acquisition means stores the configuration information of the plurality of slave stations in the configuration information storage means in association with the connection order information generated by the connection order information generation means. The ring network system according to claim 3.
前記固有情報は、前記複数のスレーブ局に組み込まれる装置又はアプリケーションが有する情報を含み、
前記構成判定手段は、前記第1の構成情報取得手段によって取得された前記切離スレーブ局の構成情報に含まれる複数の識別情報と、前記構成情報記憶手段に記憶された正常時の前記構成情報に含まれる複数の識別情報とをそれぞれ比較して、前記正常時の構成情報と復旧後の前記切離スレーブ局の構成情報とが一致するか否かを判定することを特徴とする請求項4記載のリング型ネットワークシステム。
The unique information includes information included in a device or application incorporated in the plurality of slave stations,
The configuration determination unit includes a plurality of pieces of identification information included in the configuration information of the disconnected slave station acquired by the first configuration information acquisition unit, and the configuration information at normal time stored in the configuration information storage unit 5. A plurality of pieces of identification information included in the information are respectively compared, and it is determined whether the normal configuration information matches the configuration information of the disconnected slave station after restoration. The ring network system described.
マスタ局と、当該マスタ局と回線を介して接続され且つ前記マスタ局に管理される複数のスレーブ局とでリング型ネットワークを構築し、
いずれかのスレーブ局が、隣接する局との間での通信が不可となる通信系統の異常状態を検出したときに前記マスタ局に対して異常を通知し、ループバックを行うことにより前記回線を介して前記マスタ局と接続状態にあるスレーブ局間で通信を継続し、
前記異常状態の復旧が検出されたときに前記マスタ局に対して前記復旧を通知して、前記ループバックを解除し、前記ループバックにより前記マスタ局から切り離された切離スレーブ局を、前記回線を介して前記マスタ局に再接続するリング型ネットワークシステムの復旧方法において、
前記マスタ局は、
第1の構成情報取得用コマンドフレーム送信手段が、前記復旧が通知されたときに、前記切離スレーブ局の前記構成情報を取得するための第1の構成情報取得用コマンドと前記切離スレーブ局の宛先情報とを生成し、当該コマンド及び宛先情報を、第1の構成情報取得用コマンドフレームにして、前記ループバックを行っているループバック局宛に送信するステップと、
第1の構成情報取得手段が、前記第1の構成情報取得用コマンドフレーム送信手段により送信された前記第1の構成情報取得用コマンドフレームに対する応答として、前記ループバック局から送信された応答コマンドフレームを受信して、当該応答コマンドフレームから前記切離スレーブ局の構成情報を取得するステップと、
構成判定手段が、前記第1の構成情報取得手段によって取得された前記切離スレーブ局の構成情報と、前記構成情報記憶手段に記憶された前記通信系統が正常状態であるときの前記複数のスレーブ局の前記リング型ネットワークに対する各スレーブ局の構成を示す構成情報とに基づき、前記正常時の構成情報と復旧後の前記切離スレーブ局の構成情報とが一致するか否かを判定するステップと、
ループバック解除指示手段が、前記構成判定手段によって一致していると判定されたときに、前記ループバックを行っているループバック局に前記ループバック解除の指示を与えるステップと、を有し、
前記ループバック局は、
コマンドフレーム中継手段が、自局宛の前記第1の構成情報取得用コマンドフレームを受信したときに、当該コマンドフレームに含まれる前記宛先情報から特定される前記切離スレーブ局宛に、前記第1の構成情報取得用コマンドを含む第1の構成情報取得用コマンドフレームを送信するステップと、
応答中継手段が、前記第1の構成情報取得用コマンドフレームに対する応答として前記切離スレーブ局から受信した、前記切離スレーブ局の構成情報を含む応答コマンドフレームを、前記マスタ局宛に送信するステップと、を有し、
前記切離スレーブ局は、
構成情報送信手段が、前記ループバック局から送信された自局宛の前記第1の構成情報取得用コマンドフレームを受信したときに、前記第1の構成情報取得用コマンドに応じて、自局の構成情報を含む応答コマンドフレームを前記ループバック局に送信するステップを有することを特徴とするリング型ネットワークシステムの復旧方法。
A ring network is constructed by a master station and a plurality of slave stations connected to the master station via a line and managed by the master station,
When any slave station detects an abnormal state of a communication system in which communication with an adjacent station is impossible, the master station is notified of the abnormality, and loops back to establish the line. Through the slave station connected to the master station via
When the recovery of the abnormal state is detected, the recovery is notified to the master station, the loopback is canceled, and the disconnected slave station disconnected from the master station by the loopback is connected to the line In the recovery method of the ring network system reconnecting to the master station via
The master station
When the first configuration information acquisition command frame transmission means is notified of the recovery, the first configuration information acquisition command and the isolation slave station for acquiring the configuration information of the isolation slave station Generating the destination information and sending the command and destination information as a first configuration information acquisition command frame to the loopback station performing the loopback;
A response command frame transmitted from the loopback station as a response to the first configuration information acquisition command frame transmitted by the first configuration information acquisition command frame by the first configuration information acquisition unit. Receiving the configuration information of the disconnected slave station from the response command frame,
The plurality of slaves when the configuration determination unit includes the configuration information of the disconnected slave station acquired by the first configuration information acquisition unit and the communication system stored in the configuration information storage unit is in a normal state Determining whether the normal configuration information and the disconnected slave station configuration information match based on configuration information indicating a configuration of each slave station with respect to the ring network of the station; ,
Providing a loopback release instruction to a loopback station performing the loopback when the loopback release instruction means is determined to be matched by the configuration determination means, and
The loopback station is
When the command frame relay means receives the first configuration information acquisition command frame addressed to its own station, the command frame relay means address the first slave information addressed to the separated slave station specified from the destination information included in the command frame. Transmitting a first configuration information acquisition command frame including the configuration information acquisition command of:
A step of transmitting a response command frame including configuration information of the disconnected slave station, which is received from the disconnected slave station as a response to the first configuration information acquisition command frame, to the master station by response relay means And having
The disconnected slave station is
When the configuration information transmitting means receives the first configuration information acquisition command frame addressed to the local station transmitted from the loopback station, the configuration information transmitting means responds to the first configuration information acquisition command according to the first configuration information acquisition command. A ring network system recovery method comprising the step of transmitting a response command frame including configuration information to the loopback station.
JP2009049204A 2009-03-03 2009-03-03 Ring network system and ring network system recovery method Active JP5169909B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009049204A JP5169909B2 (en) 2009-03-03 2009-03-03 Ring network system and ring network system recovery method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009049204A JP5169909B2 (en) 2009-03-03 2009-03-03 Ring network system and ring network system recovery method

Publications (2)

Publication Number Publication Date
JP2010206471A true JP2010206471A (en) 2010-09-16
JP5169909B2 JP5169909B2 (en) 2013-03-27

Family

ID=42967515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009049204A Active JP5169909B2 (en) 2009-03-03 2009-03-03 Ring network system and ring network system recovery method

Country Status (1)

Country Link
JP (1) JP5169909B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012070025A (en) * 2010-09-21 2012-04-05 Fuji Electric Co Ltd Ring type network system
WO2014010089A1 (en) * 2012-07-13 2014-01-16 富士通株式会社 System and system control method
JP2014513880A (en) * 2011-03-01 2014-06-05 リンデール インコーポレイテッド System and method for electrical device control
US8761937B2 (en) 2010-12-28 2014-06-24 Samsung Electronics Co., Ltd. Walking robot and control method thereof
JP2019022167A (en) * 2017-07-21 2019-02-07 富士電機株式会社 Communication apparatus and communication system
CN110741322A (en) * 2017-07-07 2020-01-31 欧姆龙株式会社 Control system and control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008099265A (en) * 2006-09-13 2008-04-24 Yamaha Corp Network system
JP2010062861A (en) * 2008-09-03 2010-03-18 Fuji Electric Systems Co Ltd Ring type network system and method for restoring same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008099265A (en) * 2006-09-13 2008-04-24 Yamaha Corp Network system
JP2010062861A (en) * 2008-09-03 2010-03-18 Fuji Electric Systems Co Ltd Ring type network system and method for restoring same

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012070025A (en) * 2010-09-21 2012-04-05 Fuji Electric Co Ltd Ring type network system
US8761937B2 (en) 2010-12-28 2014-06-24 Samsung Electronics Co., Ltd. Walking robot and control method thereof
JP2014513880A (en) * 2011-03-01 2014-06-05 リンデール インコーポレイテッド System and method for electrical device control
WO2014010089A1 (en) * 2012-07-13 2014-01-16 富士通株式会社 System and system control method
JP5900621B2 (en) * 2012-07-13 2016-04-06 富士通株式会社 System and system control method
CN110741322A (en) * 2017-07-07 2020-01-31 欧姆龙株式会社 Control system and control method
CN110741322B (en) * 2017-07-07 2022-08-12 欧姆龙株式会社 Control system and control method
JP2019022167A (en) * 2017-07-21 2019-02-07 富士電機株式会社 Communication apparatus and communication system

Also Published As

Publication number Publication date
JP5169909B2 (en) 2013-03-27

Similar Documents

Publication Publication Date Title
JP5776618B2 (en) Network switch
JP5169909B2 (en) Ring network system and ring network system recovery method
JPH04502542A (en) Distributed switching architecture for communication module redundancy
JP5554292B2 (en) Redundant controller
JP5077153B2 (en) Ring network system and ring network system recovery method
JP4541241B2 (en) Plant control system
JP4287734B2 (en) Network equipment
JPWO2019087849A1 (en) COMMUNICATION SYSTEM, CONTROLLED DEVICE, AND COMMUNICATION SYSTEM CONTROL METHOD
JP4419617B2 (en) Fault location determination method for multi-loop network
JPH0793614B2 (en) Series controller
JP6654762B2 (en) Power receiving device, power supply device, and power supply system
JP2006301701A (en) Digital output substrate for monitoring control of plant and its method and plant monitoring controller
JP2008287632A (en) Control device recovery system
JP2013121095A (en) Communication device
JP4878061B2 (en) Detour configuration method for double loop transmission
JP5349229B2 (en) Method for identifying fault location in packet ring network and system for executing the method
JP5167183B2 (en) Node and network control method
JP6234388B2 (en) Dual system controller
JP5167173B2 (en) Node and network control method
JPH0442632A (en) System management system
JP2010050872A (en) Data transmission system, and data transmission control method
JP4854188B2 (en) Detour configuration method for double loop transmission
JP2737294B2 (en) Duplex receiver
JP3679066B2 (en) Line information table generation method
JP5602071B2 (en) CPU duplex control system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110422

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110812

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120925

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121022

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: 20121204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121217

R150 Certificate of patent or registration of utility model

Ref document number: 5169909

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250