Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6943053B2 - Communication equipment and communication systems - Google Patents
[go: Go Back, main page]

JP6943053B2 - Communication equipment and communication systems - Google Patents

Communication equipment and communication systems Download PDF

Info

Publication number
JP6943053B2
JP6943053B2 JP2017141431A JP2017141431A JP6943053B2 JP 6943053 B2 JP6943053 B2 JP 6943053B2 JP 2017141431 A JP2017141431 A JP 2017141431A JP 2017141431 A JP2017141431 A JP 2017141431A JP 6943053 B2 JP6943053 B2 JP 6943053B2
Authority
JP
Japan
Prior art keywords
connection
connection terminal
information
terminal
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.)
Active
Application number
JP2017141431A
Other languages
Japanese (ja)
Other versions
JP2019022167A (en
Inventor
植田 基之
基之 植田
佑樹 平井
佑樹 平井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2017141431A priority Critical patent/JP6943053B2/en
Publication of JP2019022167A publication Critical patent/JP2019022167A/en
Application granted granted Critical
Publication of JP6943053B2 publication Critical patent/JP6943053B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本技術は、通信装置および通信システムに関する。 The present technology relates to communication devices and communication systems.

プログラマブルコントローラ(PLC:Programmable Logic Controller)は、演算処理、データ処理およびPID(Proportional, Integral, Derivative)制御等を行う産業用制御装置であり、高機能で高速化された装置の開発が進んでいる。 Programmable Logic Controller (PLC) is an industrial control device that performs arithmetic processing, data processing, PID (Proportional, Integral, Derivative) control, etc., and the development of high-performance and high-speed devices is progressing. ..

また、近年では、PLCの高速処理および数値演算機能等の充実により、例えば、鉄鋼精製ラインの位置決め、計装プロセス制御および加工産業の機械制御等、適用範囲が急速に拡大しており、プラントコントローラとしての需要が増大している。 Further, in recent years, due to the enhancement of PLC high-speed processing and numerical calculation functions, the range of application has rapidly expanded, for example, positioning of steel refining lines, instrumentation process control, and machine control in the processing industry. Demand is increasing.

一方、プラント環境内では、PLCが複数の箇所に配置され、各PLCがオンラインで連携された通信システムが構成される。このような通信システムでは、1台のPLCがマスタ局になって、スレーブ局となる他の複数のPLCを制御する。例えば、マスタ局が、スレーブ局に対してプログラム更新等を一括して行うことで管理制御の効率性を高めることができる。 On the other hand, in the plant environment, PLCs are arranged at a plurality of locations, and a communication system in which each PLC is linked online is configured. In such a communication system, one PLC serves as a master station and controls a plurality of other PLCs as slave stations. For example, the efficiency of management control can be improved by the master station collectively updating the program for the slave station.

特開2016−119616号公報Japanese Unexamined Patent Publication No. 2016-119616

上記の通信システムでは、各局が回線で接続されて局間で通信が行われるが、システム内に誤接続された局が含まれると正常な通信が不可能になるため、誤接続をすみやかに発見して対処することが求められる。しかし、局間の接続構成が複雑な場合や、誤接続箇所が複数あるような場合では、回線の誤接続箇所を早期に特定することが困難である。 In the above communication system, each station is connected by a line and communication is performed between stations, but if the system includes a misconnected station, normal communication becomes impossible, so a misconnection is quickly discovered. It is required to deal with it. However, when the connection configuration between stations is complicated or when there are a plurality of erroneous connection points, it is difficult to identify the erroneous connection points of the line at an early stage.

1つの側面では、本発明は、誤接続箇所を早期に特定して運用性の向上を図った通信装置および通信システムを提供することを目的とする。 In one aspect, it is an object of the present invention to provide a communication device and a communication system in which an erroneously connected portion is identified at an early stage and operability is improved.

上記課題を解決するために、通信装置が提供される。通信装置は、回線接続端子および制御部を備える。回線接続端子は、第1の接続端子、第2の接続端子および分岐端子を含む。制御部は、回線接続端子を介してフレームの伝送制御を行う。また、制御部は、第1の接続端子で受信した第1のフレームには自装置情報を追加して自装置情報追加フレームを生成し、自装置情報追加フレームを出力する場合、分岐端子と第2の接続端子共に物理接続がある場合は、自装置情報追加フレームを分岐端子から出力し、分岐端子に物理接続がなく、第2の接続端子に物理接続がある場合は、自装置情報追加フレームを第2の接続端子から出力し、分岐端子と第2の接続端子共に物理接続がない場合は、自装置情報追加フレームを第1の接続端子から出力し、分岐端子で受信した第2のフレームには自装置情報は追加せずに第2の接続端子から第2のフレームを中継送信し、第2の接続端子で受信した第3のフレームには自装置情報は追加せずに第1の接続端子から第3のフレームを中継送信し、自装置側の回線接続端子と他装置側の回線接続端子との物理接続関係である接続情報を収集して、接続情報を自装置情報に含める。 A communication device is provided to solve the above problems. The communication device includes a line connection terminal and a control unit. Line connection terminal includes a first connection terminal, a second connection terminal and branch terminal. The control unit controls the transmission of frames via the line connection terminal. Further, when the control unit adds the own device information to the first frame received by the first connection terminal to generate the own device information addition frame and outputs the own device information addition frame, the control unit has a branch terminal and the first frame. If both of the 2 connection terminals have a physical connection, the own device information addition frame is output from the branch terminal, and if the branch terminal has no physical connection and the second connection terminal has a physical connection, the own device information addition frame Is output from the second connection terminal, and if there is no physical connection between the branch terminal and the second connection terminal, the own device information addition frame is output from the first connection terminal, and the second frame received at the branch terminal. The second frame is relay-transmitted from the second connection terminal without adding the own device information to the third frame received at the second connection terminal, and the first frame is received without adding the own device information to the first frame. The third frame is relay-transmitted from the connection terminal, the connection information which is the physical connection relationship between the line connection terminal on the own device side and the line connection terminal on the other device side is collected, and the connection information is included in the own device information.

また、上記課題を解決するために、通信システムが提供される。通信システムは、マスタ局と、複数のスレーブ局とを備える。マスタ局は、第1のマスタ側接続端子、第2のマスタ側接続端子およびマスタ側分岐端子を含むマスタ側回線接続端子と、マスタ側回線接続端子を介し、スレーブ局に対してフレームの伝送制御を行うマスタ側制御部とを含む。スレーブ局は、第1のスレーブ側接続端子、第2のスレーブ側接続端子およびスレーブ側分岐端子を含むスレーブ側回線接続端子と、スレーブ側回線接続端子を介してフレームの伝送制御を行うスレーブ側制御部とを含む。 In addition, a communication system is provided to solve the above problems. The communication system includes a master station and a plurality of slave stations. Master station includes a first master-side connecting terminals, and a master-side line connection terminals including a second master-side connection terminal and the master-side branching pin, through the master-side line connection terminals, the frame to the slave station Includes a master-side control unit that performs transmission control. Slave station, the first slave-side connection terminals, slave performed and the slave line connection terminals including a second slave-side connection terminal and the slave-side branching pin, a transmission control frame via the slave-side line connection terminals Includes a control unit.

また、スレーブ側制御部は、第1のスレーブ側接続端子で受信した第1のフレームには自局情報を追加して自局情報追加フレームを生成し、自局情報追加フレームを出力する場合、スレーブ側分岐端子と第2のスレーブ側接続端子共に物理接続がある場合は、自局情報追加フレームをスレーブ側分岐端子から出力し、スレーブ側分岐端子に物理接続がなく、第2のスレーブ側接続端子に物理接続がある場合は、自局情報追加フレームを第2のスレーブ側接続端子から出力し、スレーブ側分岐端子と第2のスレーブ側接続端子共に物理接続がない場合は、自局情報追加フレームを第1のスレーブ側接続端子から出力し、スレーブ側分岐端子で受信した第2のフレームには自局情報は追加せずに第2のスレーブ側接続端子から第2のフレームを中継送信し、第2のスレーブ側接続端子で受信した第3のフレームには自局情報は追加せずに第1のスレーブ側接続端子から第3のフレームを中継送信し、自局側のスレーブ側回線接続端子と、他局側のスレーブ側回線接続端子またはマスタ側回線接続端子との物理接続関係である接続情報を収集して、接続情報を自局情報に含める。 Further, when the slave side control unit adds own station information to the first frame received by the first slave side connection terminal to generate the own station information addition frame and outputs the own station information addition frame, the slave side control unit outputs the own station information addition frame. If both the slave side branch terminal and the second slave side connection terminal have a physical connection, the own station information addition frame is output from the slave side branch terminal, the slave side branch terminal has no physical connection, and the second slave side connection. If the terminal has a physical connection, the own station information addition frame is output from the second slave side connection terminal, and if neither the slave side branch terminal nor the second slave side connection terminal has a physical connection, the own station information is added. The frame is output from the first slave-side connection terminal, and the second frame is relay-transmitted from the second slave-side connection terminal without adding own station information to the second frame received at the slave-side branch terminal. , The third frame received from the second slave side connection terminal is relay-transmitted from the first slave side connection terminal without adding the own station information to the third frame, and the own station side slave side line connection is established. Collect the connection information that is the physical connection relationship between the terminal and the slave side line connection terminal on the other station side or the master side line connection terminal, and include the connection information in the own station information.

誤接続箇所を早期に特定して運用性の向上を図ることが可能になる。 It is possible to identify erroneous connection points at an early stage and improve operability.

本発明の通信装置の構成例を示す図である。It is a figure which shows the structural example of the communication apparatus of this invention. 通信システムの構成例を示す図である。It is a figure which shows the configuration example of the communication system. マスタ局の機能ブロックの一例を示す図である。It is a figure which shows an example of the functional block of a master station. スレーブ局の機能ブロックの一例を示す図である。It is a figure which shows an example of the functional block of a slave station. スレーブ局におけるフレーム伝送制御を説明するための図である。It is a figure for demonstrating frame transmission control in a slave station. フレーム伝送の流れを説明するための図である。It is a figure for demonstrating the flow of frame transmission. 接続構成情報フレームの一例を示す図である。It is a figure which shows an example of the connection configuration information frame. 誤接続がある場合のフレーム伝送を説明するための図である。It is a figure for demonstrating frame transmission at the time of erroneous connection. 接続構成情報フレームの一例を示す図である。It is a figure which shows an example of the connection configuration information frame. 接続情報の収集の一例を示す図である。It is a figure which shows an example of the collection of connection information. 接続情報が含まれる接続構成情報フレームの一例を示す図である。It is a figure which shows an example of the connection configuration information frame which contains the connection information. 誤接続がある通信システムの構成例を示す図である。It is a figure which shows the configuration example of the communication system which has a misconnection. 接続情報が含まれる接続構成情報フレームの一例を示す図である。It is a figure which shows an example of the connection configuration information frame which contains the connection information. 誤接続がある通信システムの構成例を示す図である。It is a figure which shows the configuration example of the communication system which has a misconnection. 接続情報が含まれる接続構成情報フレームの一例を示す図である。It is a figure which shows an example of the connection configuration information frame which contains the connection information. 誤接続がある通信システムの構成例を示す図である。It is a figure which shows the configuration example of the communication system which has a misconnection. 接続情報が含まれる接続構成情報フレームの一例を示す図である。It is a figure which shows an example of the connection configuration information frame which contains the connection information. 接続情報収集処理の変形例の動作を説明するための図である。It is a figure for demonstrating the operation of the modification of the connection information collection processing.

以下、実施の形態について図面を参照して説明する。図1は本発明の通信装置の構成例を示す図である。通信装置1は、回線接続端子1a、制御部1bおよび接続情報管理部1cを備える。 Hereinafter, embodiments will be described with reference to the drawings. FIG. 1 is a diagram showing a configuration example of the communication device of the present invention. The communication device 1 includes a line connection terminal 1a, a control unit 1b, and a connection information management unit 1c.

また、回線接続端子1aは、バス配線上で一方の通信装置と物理接続するための接続端子A(第1の接続端子)、バス配線上で他方の通信装置と物理接続するための接続端子B(第2の接続端子)、およびバス配線から分岐して他の通信装置と物理接続するための分岐端子Tの少なくとも1つを含む。 Further, the line connection terminal 1a is a connection terminal A (first connection terminal) for physically connecting to one communication device on the bus wiring, and a connection terminal B for physically connecting to the other communication device on the bus wiring. (Second connection terminal), and at least one of the branch terminals T for branching from the bus wiring and physically connecting to another communication device.

制御部1bは、回線接続端子1aを介してフレーム伝送制御を行う。具体的には、制御部1bは、接続端子Aで受信した第1のフレームに対しては、自装置情報を追加して自装置情報追加フレームを生成する。 The control unit 1b performs frame transmission control via the line connection terminal 1a. Specifically, the control unit 1b adds the own device information to the first frame received at the connection terminal A to generate the own device information addition frame.

そして、自装置情報追加フレームを出力する場合、制御部1bは、分岐端子Tと接続端子B共に物理接続がある場合は、自装置情報追加フレームを分岐端子Tから出力する。
また、制御部1bは、分岐端子Tに物理接続がなく、接続端子Bに物理接続がある場合は、自装置情報追加フレームを接続端子Bから出力する。
Then, when the own device information addition frame is output, the control unit 1b outputs the own device information addition frame from the branch terminal T when both the branch terminal T and the connection terminal B have a physical connection.
Further, when the branch terminal T has no physical connection and the connection terminal B has a physical connection, the control unit 1b outputs the own device information addition frame from the connection terminal B.

さらに、制御部1bは、分岐端子Tと接続端子B共に物理接続がない場合は、自装置情報追加フレームを接続端子Aから出力する。
一方、制御部1bは、分岐端子Tで受信した第2のフレームに対しては、自装置情報は追加せずに接続端子Bから第2のフレームを中継送信し、接続端子Bで受信した第3のフレームに対しては、自装置情報は追加せずに接続端子Aから第3のフレームを中継送信する。
Further, when neither the branch terminal T nor the connection terminal B has a physical connection, the control unit 1b outputs the own device information addition frame from the connection terminal A.
On the other hand, the control unit 1b relay-transmits the second frame from the connection terminal B without adding the own device information to the second frame received at the branch terminal T, and receives the second frame at the connection terminal B. For the third frame, the third frame is relay-transmitted from the connection terminal A without adding the own device information.

また、制御部1bでは、自装置側の回線接続端子1aと、自装置に繋がる他装置側の回線接続端子との物理接続関係である接続情報を収集して接続情報を自装置情報に含めてフレーム伝送を行う。なお、接続情報は、接続情報管理部1cにより格納管理される。 Further, the control unit 1b collects connection information which is a physical connection relationship between the line connection terminal 1a on the own device side and the line connection terminal on the other device side connected to the own device, and includes the connection information in the own device information. Perform frame transmission. The connection information is stored and managed by the connection information management unit 1c.

さらに、マスタ側に位置する通信装置1に備えられる制御部1bは、スレーブ側に位置するすべての通信装置で収集された接続情報を取得し、あらかじめ保存してある正常接続情報と、取得した接続情報とを比較して、誤接続の検出を行う。 Further, the control unit 1b provided in the communication device 1 located on the master side acquires the connection information collected by all the communication devices located on the slave side, and the normal connection information saved in advance and the acquired connection. Detects incorrect connections by comparing with information.

図1に示す例を用いて通信装置1の動作について説明する。なお、以降では、マスタ側に位置する通信装置をマスタ局、スレーブ側に位置する通信装置をスレーブ局と呼ぶ。
通信システム1Aは、マスタ局M0およびスレーブ局S1〜S3を備える。マスタ局M0は、分岐端子T0および接続端子B0を有する。スレーブ局S1は、接続端子A1、B1および分岐端子T1を有し、スレーブ局S2は、接続端子A2、B2および分岐端子T2を有し、スレーブ局S3は、接続端子A3、B3および分岐端子T3を有する。
The operation of the communication device 1 will be described with reference to the example shown in FIG. Hereinafter, the communication device located on the master side will be referred to as a master station, and the communication device located on the slave side will be referred to as a slave station.
Communication system 1A includes a master station M0 and slave stations S1 to S3. The master station M0 has a branch terminal T0 and a connection terminal B0. The slave station S1 has connection terminals A1, B1 and a branch terminal T1, the slave station S2 has connection terminals A2, B2 and a branch terminal T2, and the slave station S3 has connection terminals A3, B3 and a branch terminal T3. Have.

通信システム1Aの各局の接続関係は、接続端子B0と接続端子A1が接続し、分岐端子T1と接続端子A2が接続し、接続端子B1と接続端子A3が接続する。なお、この接続状態を正常な接続状態とする。 Regarding the connection relationship of each station of the communication system 1A, the connection terminal B0 and the connection terminal A1 are connected, the branch terminal T1 and the connection terminal A2 are connected, and the connection terminal B1 and the connection terminal A3 are connected. In addition, this connection state is regarded as a normal connection state.

一方、通信システム1Bは、通信システム1Aと同様な局を備えるが、局間の回線接続に誤接続がある場合を示している。この例では、接続端子B1が接続端子A3と接続せずに接続端子A2に誤接続し、接続端子T1が接続端子A2と接続せずに接続端子A3に誤接続しているとする。 On the other hand, the communication system 1B includes a station similar to the communication system 1A, but shows a case where there is an erroneous connection in the line connection between the stations. In this example, it is assumed that the connection terminal B1 is erroneously connected to the connection terminal A2 without being connected to the connection terminal A3, and the connection terminal T1 is erroneously connected to the connection terminal A3 without being connected to the connection terminal A2.

通信システム1Aにおけるフレーム伝送制御について、以下のステップSt1a〜St6aにて示す。
〔St1a〕マスタ局M0は、フレームを接続端子B0から送信する。
The frame transmission control in the communication system 1A is shown in the following steps St1a to St6a.
[St1a] The master station M0 transmits a frame from the connection terminal B0.

〔St2a〕スレーブ局S1は、フレームを接続端子A1で受信し、受信したフレームに自局情報を追加して、分岐端子T1から送信する。
〔St3a〕スレーブ局S2は、フレームを接続端子A2で受信し、受信したフレームに自局情報を追加して、接続端子A2から送信する。
[St2a] The slave station S1 receives a frame at the connection terminal A1, adds its own station information to the received frame, and transmits the frame from the branch terminal T1.
[St3a] The slave station S2 receives a frame at the connection terminal A2, adds its own station information to the received frame, and transmits the frame from the connection terminal A2.

〔St4a〕スレーブ局S1は、分岐端子T1でフレームを受信し、接続端子B1から中継送信する。
〔St5a〕スレーブ局S3は、フレームを接続端子A3で受信し、受信したフレームに自局情報を追加し、接続端子A3から送信する。
[St4a] The slave station S1 receives a frame at the branch terminal T1 and relay-transmits it from the connection terminal B1.
[St5a] The slave station S3 receives a frame at the connection terminal A3, adds its own station information to the received frame, and transmits the frame from the connection terminal A3.

〔St6a〕スレーブ局S1は、フレームを接続端子B1で受信し、接続端子A1から中継送信する。そして、マスタ局M0では、スレーブ局S1で生成されたフレームf1、スレーブ局S2で生成されたフレームf2、スレーブ局S3で生成されたフレームf3をフレームf1、f2、f3の順に受信する。 [St6a] The slave station S1 receives the frame at the connection terminal B1 and relay-transmits it from the connection terminal A1. Then, the master station M0 receives the frame f1 generated by the slave station S1, the frame f2 generated by the slave station S2, and the frame f3 generated by the slave station S3 in the order of frames f1, f2, and f3.

通信システム1Bにおけるフレーム伝送制御について、以下のステップSt1b〜St6bにて示す。
〔St1b〕マスタ局M0は、フレームを接続端子B0から送信する。
The frame transmission control in the communication system 1B is shown in the following steps St1b to St6b.
[St1b] The master station M0 transmits a frame from the connection terminal B0.

〔St2b〕スレーブ局S1は、フレームを接続端子A1で受信し、受信したフレームに自局情報を追加して、分岐端子T1から送信する。
〔St3b〕スレーブ局S3は、フレームを接続端子A3で受信し、受信したフレームに自局情報を追加して、接続端子A3から送信する。
[St2b] The slave station S1 receives a frame at the connection terminal A1, adds its own station information to the received frame, and transmits the frame from the branch terminal T1.
[St3b] The slave station S3 receives the frame at the connection terminal A3, adds its own station information to the received frame, and transmits the frame from the connection terminal A3.

〔St4b〕スレーブ局S1は、分岐端子T1でフレームを受信し、接続端子B1から中継送信する。
〔St5b〕スレーブ局S2は、フレームを接続端子A2で受信し、受信したフレームに自局情報を追加し、接続端子A2から送信する。
[St4b] The slave station S1 receives a frame at the branch terminal T1 and relay-transmits it from the connection terminal B1.
[St5b] The slave station S2 receives a frame at the connection terminal A2, adds its own station information to the received frame, and transmits the frame from the connection terminal A2.

〔St6b〕スレーブ局S1は、フレームを接続端子B1で受信し、接続端子A1から中継送信する。そして、マスタ局M0では、スレーブ局S1で生成されたフレームf1、スレーブ局S2で生成されたフレームf2、スレーブ局S3で生成されたフレームf3をフレームf1、f3、f2の順に受信する。 [St6b] The slave station S1 receives the frame at the connection terminal B1 and relay-transmits it from the connection terminal A1. Then, the master station M0 receives the frame f1 generated by the slave station S1, the frame f2 generated by the slave station S2, and the frame f3 generated by the slave station S3 in the order of frames f1, f3, and f2.

ここで、マスタ局M0は、正常に回線接続されている構成の通信システム1Aでは、フレームf1、f2、f3の順にフレームを受信するが、通信システム1Bの場合では、フレームf1、f3、f2の順にフレームを受信するため、通信システム1Bでは誤接続が発生していることを検出する。 Here, the master station M0 receives frames in the order of frames f1, f2, and f3 in the communication system 1A having a configuration in which the lines are normally connected, but in the case of the communication system 1B, the frames f1, f3, and f2. Since the frames are received in order, the communication system 1B detects that an erroneous connection has occurred.

一方、通信システム1Aにおいて、スレーブ局S1は、自局の接続情報として(A1−B0)を収集する(自局の端子Xに他局の端子Yが接続する場合、(X−Y)と表記する)。同様にして、スレーブ局S1は、自局の接続情報として(T1−A2)、(B1−A3)を収集する。 On the other hand, in the communication system 1A, the slave station S1 collects (A1-B0) as the connection information of its own station (when the terminal Y of another station is connected to the terminal X of its own station, it is expressed as (XY). do). Similarly, the slave station S1 collects (T1-A2) and (B1-A3) as connection information of its own station.

また、スレーブ局S2は、自局の接続情報として(A2−T1)、(T2−)、(B2−)を収集する(自局の端子Xに物理接続がない場合、(X−)と表記する)。スレーブ局S3は、自局の接続情報として(A3−B1)、(T3−)、(B3−)を収集する。 Further, the slave station S2 collects (A2-T1), (T2-), and (B2-) as the connection information of its own station (when there is no physical connection at the terminal X of its own station, it is expressed as (X-). do). The slave station S3 collects (A3-B1), (T3-), and (B3-) as connection information of its own station.

これらの接続情報は、フレームf1〜f3内の自局情報に含まれ、マスタ局M0で受信される(マスタ局M0で受信された、通信システム1Aにおけるスレーブ局S1〜S3の接続情報をまとめて接続情報d1とする)。 These connection information are included in the own station information in the frames f1 to f3, and are received by the master station M0 (the connection information of the slave stations S1 to S3 in the communication system 1A received by the master station M0 is collectively collected. Connection information d1).

同様に、通信システム1Bにおいて、スレーブ局S1は、自局の接続情報として(A1−B0)、(T1−A3)、(B1−A2)を収集する。スレーブ局S2は、自局の接続情報として(A2−B1)、(T2−)、(B2−)を収集する。スレーブ局S3は、自局の接続情報として(A3−T1)、(T3−)、(B3−)を収集する。 Similarly, in the communication system 1B, the slave station S1 collects (A1-B0), (T1-A3), and (B1-A2) as connection information of its own station. The slave station S2 collects (A2-B1), (T2-), and (B2-) as connection information of its own station. The slave station S3 collects (A3-T1), (T3-), and (B3-) as connection information of its own station.

これらの接続情報は、フレームf1〜f3内の自局情報に含まれ、マスタ局M0で受信される(マスタ局M0で受信された、通信システム1Bにおけるスレーブ局S1〜S3の接続情報をまとめて接続情報d2とする)。 These connection information are included in the own station information in the frames f1 to f3, and are received by the master station M0 (the connection information of the slave stations S1 to S3 in the communication system 1B received by the master station M0 is collectively collected. Connection information d2).

マスタ局M0では、接続情報d1、d2を比較して回線接続判定を行う。この例では、正常な接続情報d1に対して、接続情報d2では(T1−A3)、(B1−A2)、(A3−T1)(A2−B1)が不一致となり異なっている。 The master station M0 compares the connection information d1 and d2 to determine the line connection. In this example, (T1-A3), (B1-A2), and (A3-T1) (A2-B1) are different from the normal connection information d1 in the connection information d2.

したがって、マスタ局M0は、接続端子A2、A3、B1および分岐端子T1が誤接続箇所であることを特定する。また、マスタ局M0は、特定した誤接続箇所をユーザに通知する。例えば、GUI(Graphical User Interface)機能により、誤接続箇所をマーキングした通信システムの回線接続ラインを画面上に表示する等を行って、ユーザに誤接続箇所を知らせる。 Therefore, the master station M0 identifies that the connection terminals A2, A3, B1 and the branch terminal T1 are erroneous connection points. Further, the master station M0 notifies the user of the specified erroneous connection location. For example, the GUI (Graphical User Interface) function is used to display on the screen the line connection line of the communication system in which the erroneous connection location is marked, so that the user is notified of the erroneous connection location.

このように、通信装置1の構成によって、誤接続の発生を検出し、さらに誤接続箇所を早期にかつ容易に特定することができ、運用性の向上を図ることが可能になる。なお、上記のフレームの伝送制御や接続情報の収集処理、および回線接続判定処理等の詳細については、図2以降で説明する。 As described above, the configuration of the communication device 1 makes it possible to detect the occurrence of erroneous connection, further identify the erroneous connection location early and easily, and improve the operability. The details of the frame transmission control, the connection information collection process, the line connection determination process, and the like will be described with reference to FIGS. 2 and 2.

次に本発明の技術の詳細について説明する。図2は通信システムの構成例を示す図である。通信システム1−1は、マスタ局M0と、スレーブ局S1〜S7を備える。マスタ局M0は例えば、マスタ側のPLCに該当し、スレーブ局S1〜S7は例えば、スレーブ側のPLCに該当する。 Next, the details of the technique of the present invention will be described. FIG. 2 is a diagram showing a configuration example of a communication system. Communication system 1-1 includes a master station M0 and slave stations S1 to S7. The master station M0 corresponds to, for example, the PLC on the master side, and the slave stations S1 to S7 correspond to, for example, the PLC on the slave side.

マスタ局M0は、分岐端子T0および接続端子B0を備える(実際には接続端子A0も備えるが、図示は省略している)。スレーブ局S1は、接続端子A1、B1および分岐端子T1を備え、スレーブ局S2は、接続端子A2、B2および分岐端子T2を備え、スレーブ局S3は、接続端子A3、B3および分岐端子T3を備える。 The master station M0 includes a branch terminal T0 and a connection terminal B0 (actually, the connection terminal A0 is also provided, but the illustration is omitted). The slave station S1 includes connection terminals A1, B1 and a branch terminal T1, the slave station S2 includes connection terminals A2, B2 and a branch terminal T2, and the slave station S3 includes connection terminals A3, B3 and a branch terminal T3. ..

スレーブ局S4は、接続端子A4、B4および分岐端子T4を備え、スレーブ局S5は、接続端子A5、B5および分岐端子T5を備え、スレーブ局S6は、接続端子A6、B6および分岐端子T6を備え、スレーブ局S7は、接続端子A7、B7および分岐端子T7を備える。 The slave station S4 includes connection terminals A4, B4 and a branch terminal T4, the slave station S5 includes connection terminals A5, B5 and a branch terminal T5, and the slave station S6 includes connection terminals A6, B6 and a branch terminal T6. , The slave station S7 includes connection terminals A7 and B7 and a branch terminal T7.

各局の接続関係を示すと、マスタ局M0の接続端子B0と、スレーブ局S1の接続端子A1とが接続する。スレーブ局S1の分岐端子T1と、スレーブ局S2の接続端子A2とが接続し、スレーブ局S1の接続端子B1と、スレーブ局S4の接続端子A4とが接続する。 To show the connection relationship of each station, the connection terminal B0 of the master station M0 and the connection terminal A1 of the slave station S1 are connected. The branch terminal T1 of the slave station S1 and the connection terminal A2 of the slave station S2 are connected, and the connection terminal B1 of the slave station S1 and the connection terminal A4 of the slave station S4 are connected.

スレーブ局S4の分岐端子T4と、スレーブ局S5の接続端子A5とが接続し、スレーブ局S4の接続端子B4と、スレーブ局S7の接続端子A7とが接続する。スレーブ局S2の接続端子B2と、スレーブ局S3の接続端子A3とが接続し、スレーブ局S5の接続端子B5と、スレーブ局S6の接続端子A6とが接続する。このような図2に示す通信システム1−1の接続状態を正常な回線接続状態とする。 The branch terminal T4 of the slave station S4 and the connection terminal A5 of the slave station S5 are connected, and the connection terminal B4 of the slave station S4 and the connection terminal A7 of the slave station S7 are connected. The connection terminal B2 of the slave station S2 and the connection terminal A3 of the slave station S3 are connected, and the connection terminal B5 of the slave station S5 and the connection terminal A6 of the slave station S6 are connected. The connection state of the communication system 1-1 shown in FIG. 2 is set to a normal line connection state.

次にマスタ局およびスレーブ局の機能ブロックについて説明する。図3はマスタ局の機能ブロックの一例を示す図である。マスタ局M0は、接続端子A20、B20および分岐端子T20、送信バッファ27a、27b、27c、受信バッファ28a、28b、28cおよびマスタ側フレーム伝送制御部20−1を備える。 Next, the functional blocks of the master station and the slave station will be described. FIG. 3 is a diagram showing an example of a functional block of the master station. The master station M0 includes connection terminals A20, B20, a branch terminal T20, transmission buffers 27a, 27b, 27c, reception buffers 28a, 28b, 28c, and a master-side frame transmission control unit 20-1.

また、マスタ側フレーム伝送制御部20−1は、フレーム送信部21、フレーム受信部22、接続構成情報フレーム管理部23、正常接続情報管理部24、接続判定部25および結果通知部26を含む。マスタ側フレーム伝送制御部20−1は、例えば、CPU(Central Processing Unit)等のプロセッサおよびメモリによって構成される。 Further, the master-side frame transmission control unit 20-1 includes a frame transmission unit 21, a frame reception unit 22, a connection configuration information frame management unit 23, a normal connection information management unit 24, a connection determination unit 25, and a result notification unit 26. The master-side frame transmission control unit 20-1 is composed of, for example, a processor such as a CPU (Central Processing Unit) and a memory.

なお、図1に示した通信装置1がマスタ局に適用される場合、制御部1bおよび接続情報管理部1cの機能は、マスタ側フレーム伝送制御部20−1により実現される。
送信バッファ27a、27b、27cは、フレーム送信部21から出力された送信対象のフレームをバッファリングする。受信バッファ28a、28b、28cは、スレーブ局から送信されたフレームを受信してバッファリングする。
When the communication device 1 shown in FIG. 1 is applied to the master station, the functions of the control unit 1b and the connection information management unit 1c are realized by the master side frame transmission control unit 20-1.
The transmission buffers 27a, 27b, and 27c buffer the frames to be transmitted output from the frame transmission unit 21. The reception buffers 28a, 28b, and 28c receive and buffer the frames transmitted from the slave station.

フレーム送信部21は、フレームを生成して送信バッファ27a、27b、27cへ出力する。フレーム受信部22は、受信バッファ28a、28b、28cを介して受信されたフレームの受信処理を行う。 The frame transmission unit 21 generates a frame and outputs it to the transmission buffers 27a, 27b, and 27c. The frame receiving unit 22 performs reception processing of the frame received via the receiving buffers 28a, 28b, and 28c.

接続構成情報フレーム管理部23は、後述の接続構成情報フレームを格納する。正常接続情報管理部24は、正常な回線接続の状態を示す正常接続情報をあらかじめ格納する。接続判定部25は、正常接続情報と、接続構成情報フレームに含まれる接続情報とを比較して回線接続が正常接続の状態か誤接続の状態かを判定し、誤接続の状態の場合は、誤接続箇所を特定する。結果通知部26は、GUIの機能等によって接続判定部25の判定結果を外部に通知する。 The connection configuration information frame management unit 23 stores the connection configuration information frame described later. The normal connection information management unit 24 stores in advance normal connection information indicating a normal line connection status. The connection determination unit 25 compares the normal connection information with the connection information included in the connection configuration information frame to determine whether the line connection is in a normal connection state or an erroneous connection state. Identify the location of the incorrect connection. The result notification unit 26 notifies the determination result of the connection determination unit 25 to the outside by a GUI function or the like.

図4はスレーブ局の機能ブロックの一例を示す図である。スレーブ局S0は(スレーブ局S1〜S7を総称してスレーブ局S0とする)、接続端子A10、B10および分岐端子T10、送信バッファ14a、14b、14c、受信バッファ15a、15b、15cおよびスレーブ側フレーム伝送制御部10−1を備える。 FIG. 4 is a diagram showing an example of a functional block of a slave station. Slave station S0 (slave stations S1 to S7 are collectively referred to as slave station S0), connection terminals A10, B10 and branch terminal T10, transmission buffers 14a, 14b, 14c, reception buffers 15a, 15b, 15c and slave side frames. A transmission control unit 10-1 is provided.

また、スレーブ側フレーム伝送制御部10−1は、フレーム送信部11、フレーム受信部12および接続情報管理部13を含む。スレーブ側フレーム伝送制御部10−1は、例えば、FPGA(Field Programmable Gate Array)等のプログラマブル論理集積回路およびメモリによって構成される。 Further, the slave-side frame transmission control unit 10-1 includes a frame transmission unit 11, a frame reception unit 12, and a connection information management unit 13. The slave-side frame transmission control unit 10-1 is composed of, for example, a programmable logic integrated circuit such as an FPGA (Field Programmable Gate Array) and a memory.

なお、図1に示した通信装置1がスレーブ局に適用される場合、制御部1bおよび接続情報管理部1cの機能は、スレーブ側フレーム伝送制御部10−1により実現される。
送信バッファ14a、14b、14cは、フレーム送信部11から出力された送信対象のフレームをバッファリングする。受信バッファ15a、15b、15cは、他のスレーブ局から送信されたフレームを受信してバッファリングする。
When the communication device 1 shown in FIG. 1 is applied to a slave station, the functions of the control unit 1b and the connection information management unit 1c are realized by the slave side frame transmission control unit 10-1.
The transmission buffers 14a, 14b, and 14c buffer the frames to be transmitted output from the frame transmission unit 11. The reception buffers 15a, 15b, and 15c receive and buffer frames transmitted from other slave stations.

フレーム送信部11は、フレームを生成して送信バッファ14a、14b、14cへ出力する。フレームの送信を行う場合、自局情報を追加したフレームの送信、または自局情報を追加せずに受信したフレームをそのまま中継する送信のいずれかを行う。 The frame transmission unit 11 generates a frame and outputs the frame to the transmission buffers 14a, 14b, and 14c. When transmitting a frame, either the frame with the own station information added or the received frame without adding the own station information is relayed as it is.

また、フレーム送信部11では、接続情報を収集する場合には、各端子の識別情報または要求/応答メッセージを生成して出力する(後述する)。
フレーム受信部12は、受信バッファ15a、15b、15cを介して受信されたフレームや、端子の識別情報または要求/応答メッセージの受信処理を行う。接続情報管理部13は、自局の接続端子A10、B10および分岐端子T10と、他局の回線接続端子との接続関係を示す接続情報を保存管理する。
Further, when the frame transmission unit 11 collects the connection information, the frame transmission unit 11 generates and outputs the identification information or the request / response message of each terminal (described later).
The frame receiving unit 12 performs reception processing of the frame received via the receiving buffers 15a, 15b, 15c, the identification information of the terminal, or the request / response message. The connection information management unit 13 stores and manages connection information indicating the connection relationship between the connection terminals A10 and B10 of the own station and the branch terminal T10 and the line connection terminal of another station.

次にフレーム伝送制御について説明する。まず、マスタ局M0では、物理接続のある分岐端子T0および接続端子B0からフレームの送受信が行われる(上述の図2の例では、接続端子B0のみに接続があるので、接続端子B0でフレームの送信および受信が行われる)。 Next, frame transmission control will be described. First, in the master station M0, the frame is transmitted and received from the branch terminal T0 and the connection terminal B0 having a physical connection (in the example of FIG. 2 described above, since the connection is made only to the connection terminal B0, the connection terminal B0 is used to connect the frame. Send and receive).

一方、スレーブ局S1〜S7については、以下に示すような条件でフレーム伝送制御が行われる。図5はスレーブ局におけるフレーム伝送制御を説明するための図である。
(自局情報を追加したフレームの送信)
スレーブ局S1〜S7は、接続端子Aでフレームを受信した場合、受信したフレームに自局情報(局の識別情報および各種の運用情報、または後述する接続情報等が含まれる)を追加して、物理接続のある分岐端子Tまたは接続端子Bからフレーム(自局情報追加フレーム)を送信する。この場合、以下の3つのパターンP1a、P1b、P1cがある。
On the other hand, for the slave stations S1 to S7, frame transmission control is performed under the following conditions. FIG. 5 is a diagram for explaining frame transmission control in a slave station.
(Send of frame with own station information added)
When the slave stations S1 to S7 receive a frame at the connection terminal A, the slave stations S1 to S7 add their own station information (including station identification information and various operation information, or connection information described later) to the received frame. A frame (own station information addition frame) is transmitted from the branch terminal T or the connection terminal B having a physical connection. In this case, there are the following three patterns P1a, P1b, and P1c.

〔パターンP1a〕スレーブ局S1〜S7は、分岐端子Tおよび接続端子B共に物理接続がある場合、自局情報を追加したフレームを分岐端子Tから送信する。
〔パターンP1b〕スレーブ局S1〜S7は、分岐端子Tに物理接続はなく、接続端子Bに物理接続がある場合、自局情報を追加したフレームを接続端子Bから送信する。
[Pattern P1a] When both the branch terminal T and the connection terminal B have a physical connection, the slave stations S1 to S7 transmit a frame to which the own station information is added from the branch terminal T.
[Pattern P1b] When the slave stations S1 to S7 have no physical connection at the branch terminal T and have a physical connection at the connection terminal B, the slave stations S1 to S7 transmit a frame to which the own station information is added from the connection terminal B.

〔パターンP1c〕スレーブ局S1〜S7は、分岐端子Tおよび接続端子B共に物理接続がない場合、自局情報を追加したフレームを接続端子Aから送信する。
(フレームの中継送信)
スレーブ局S1〜S7は、自局情報を追加せずにフレームを中継送信する場合は、以下の2つのパターンP2a、P2bがある。
[Pattern P1c] When neither the branch terminal T nor the connection terminal B has a physical connection, the slave stations S1 to S7 transmit a frame to which the own station information is added from the connection terminal A.
(Relay transmission of frames)
The slave stations S1 to S7 have the following two patterns P2a and P2b when the frame is relayed and transmitted without adding the own station information.

〔パターンP2a〕スレーブ局S1〜S7は、物理接続のある分岐端子Tで受信したフレームに対しては、自局情報は追加せず、物理接続のある接続端子Bによって中継送信する。 [Pattern P2a] The slave stations S1 to S7 do not add their own station information to the frame received at the branch terminal T having a physical connection, but relay-transmit the frame through the connection terminal B having a physical connection.

〔パターンP2b〕スレーブ局S1〜S7は、物理接続のある接続端子Bで受信したフレームに対しては、自局情報は追加せず、接続端子Aによって中継送信する。
図6はフレーム伝送の流れを説明するための図である。図2に示す通信システム1−1の構成において、図5に示した条件にもとづいて行われるフレーム伝送について説明する。
[Pattern P2b] The slave stations S1 to S7 do not add their own station information to the frame received at the connection terminal B having a physical connection, but relay-transmit the frame through the connection terminal A.
FIG. 6 is a diagram for explaining the flow of frame transmission. In the configuration of the communication system 1-1 shown in FIG. 2, the frame transmission performed based on the conditions shown in FIG. 5 will be described.

〔St11〕マスタ局M0は、物理接続のある分岐端子T0および接続端子B0よりフレームを送信するが、通信システム1−1の例では分岐端子T0は接続がなく、接続端子B0のみ接続がある。よって、接続端子B0からフレームが送信される。 [St11] The master station M0 transmits a frame from the branch terminal T0 and the connection terminal B0 having a physical connection, but in the example of the communication system 1-1, the branch terminal T0 is not connected and only the connection terminal B0 is connected. Therefore, the frame is transmitted from the connection terminal B0.

〔St12〕スレーブ局S1は、接続端子A1でフレームを受信する。また、分岐端子T1および接続端子B1共に接続がある。よって、スレーブ局S1の自局情報が追加されたフレームが、分岐端子T1から送信される。 [St12] The slave station S1 receives a frame at the connection terminal A1. Further, both the branch terminal T1 and the connection terminal B1 are connected. Therefore, the frame to which the own station information of the slave station S1 is added is transmitted from the branch terminal T1.

〔St13〕スレーブ局S2は、接続端子A2でフレームを受信する。また、接続端子B2のみに接続がある。よって、スレーブ局S2の自局情報が追加されたフレームが、接続端子B2から送信される。 [St13] The slave station S2 receives a frame at the connection terminal A2. Further, only the connection terminal B2 has a connection. Therefore, the frame to which the own station information of the slave station S2 is added is transmitted from the connection terminal B2.

〔St14〕スレーブ局S3は、接続端子A3でフレームを受信する。また、接続端子A3のみに接続がある。よって、スレーブ局S3の自局情報が追加されたフレームが、接続端子A3から送信される。 [St14] The slave station S3 receives a frame at the connection terminal A3. Further, only the connection terminal A3 has a connection. Therefore, the frame to which the own station information of the slave station S3 is added is transmitted from the connection terminal A3.

〔St15〕スレーブ局S2は、接続端子B2でフレームを受信する。よって、受信されたフレームは、接続端子A2から中継送信される。
〔St16〕スレーブ局S1は、分岐端子T1でフレームを受信する。よって、受信されたフレームは、接続端子B1から中継送信される。
[St15] The slave station S2 receives a frame at the connection terminal B2. Therefore, the received frame is relay-transmitted from the connection terminal A2.
[St16] The slave station S1 receives a frame at the branch terminal T1. Therefore, the received frame is relay-transmitted from the connection terminal B1.

〔St17〕スレーブ局S4は、接続端子A4でフレームを受信する。また、分岐端子T4および接続端子B4共に接続がある。よって、スレーブ局S4の自局情報が追加されたフレームが、分岐端子T4から送信される。 [St17] The slave station S4 receives a frame at the connection terminal A4. Further, both the branch terminal T4 and the connection terminal B4 are connected. Therefore, the frame to which the own station information of the slave station S4 is added is transmitted from the branch terminal T4.

〔St18〕スレーブ局S5は、接続端子A5でフレームを受信する。また、接続端子B5のみに接続がある。よって、スレーブ局S5の自局情報が追加されたフレームが、接続端子B5から送信される。 [St18] The slave station S5 receives a frame at the connection terminal A5. Further, only the connection terminal B5 has a connection. Therefore, the frame to which the own station information of the slave station S5 is added is transmitted from the connection terminal B5.

〔St19〕スレーブ局S6は、接続端子A6でフレームを受信する。また、接続端子A6のみに接続がある。よって、スレーブ局S6の自局情報が追加されたフレームが、接続端子A6から送信される。 [St19] The slave station S6 receives a frame at the connection terminal A6. Further, only the connection terminal A6 has a connection. Therefore, the frame to which the own station information of the slave station S6 is added is transmitted from the connection terminal A6.

〔St20〕スレーブ局S5は、接続端子B5でフレームを受信する。よって、受信されたフレームは、接続端子A5から中継送信される。
〔St21〕スレーブ局S4は、分岐端子T4でフレームを受信する。よって、受信されたフレームは、接続端子B4から中継送信される。
[St20] The slave station S5 receives a frame at the connection terminal B5. Therefore, the received frame is relay-transmitted from the connection terminal A5.
[St21] The slave station S4 receives a frame at the branch terminal T4. Therefore, the received frame is relay-transmitted from the connection terminal B4.

〔St22〕スレーブ局S7は、接続端子A7でフレームを受信する。また、接続端子A7のみに接続がある。よって、スレーブ局S7の自局情報が追加されたフレームが、接続端子A7から送信される。 [St22] The slave station S7 receives a frame at the connection terminal A7. Further, only the connection terminal A7 has a connection. Therefore, the frame to which the own station information of the slave station S7 is added is transmitted from the connection terminal A7.

〔St23〕スレーブ局S4は、接続端子B4でフレームを受信する。よって、受信されたフレームは、接続端子A4から中継送信される。
〔St24〕スレーブ局S1は、接続端子B1でフレームを受信する。よって、受信されたフレームは、接続端子A1から中継送信される。そして、マスタ局M0は、接続端子B0でフレームを受信する。
[St23] The slave station S4 receives a frame at the connection terminal B4. Therefore, the received frame is relay-transmitted from the connection terminal A4.
[St24] The slave station S1 receives a frame at the connection terminal B1. Therefore, the received frame is relay-transmitted from the connection terminal A1. Then, the master station M0 receives the frame at the connection terminal B0.

図7は接続構成情報フレームの一例を示す図である。図6に示した流れでフレームが伝送されることで、スレーブ局S1〜S7毎に自局情報が追加されたフレームf1〜f7を含む接続構成情報フレームF1が生成されて、マスタ局M0で接続構成情報フレームF1が受信される。 FIG. 7 is a diagram showing an example of a connection configuration information frame. By transmitting the frame in the flow shown in FIG. 6, the connection configuration information frame F1 including the frames f1 to f7 to which the own station information is added is generated for each of the slave stations S1 to S7, and the master station M0 connects. The configuration information frame F1 is received.

フレームf1は、スレーブ局S1で生成されてスレーブ局S1の自局情報を含み、フレームf2は、スレーブ局S2で生成されてスレーブ局S2の自局情報を含む。
フレームf3は、スレーブ局S3で生成されてスレーブ局S3の自局情報を含み、フレームf4は、スレーブ局S4で生成されてスレーブ局S4の自局情報を含む。
The frame f1 is generated by the slave station S1 and includes the own station information of the slave station S1, and the frame f2 is generated by the slave station S2 and includes the own station information of the slave station S2.
The frame f3 is generated by the slave station S3 and includes the own station information of the slave station S3, and the frame f4 is generated by the slave station S4 and includes the own station information of the slave station S4.

フレームf5は、スレーブ局S5で生成されてスレーブ局S5の自局情報を含み、フレームf6は、スレーブ局S6で生成されてスレーブ局S6の自局情報を含み、フレームf7は、スレーブ局S7で生成されてスレーブ局S7の自局情報を含む。 The frame f5 is generated by the slave station S5 and includes the own station information of the slave station S5, the frame f6 is generated by the slave station S6 and includes the own station information of the slave station S6, and the frame f7 is generated by the slave station S7. It is generated and includes the own station information of the slave station S7.

ここで、接続構成情報フレームF1には、ステップSt12の処理の時点でスレーブ局S1によって生成されたフレームf1が配置される。さらに、ステップSt13の処理の時点でスレーブ局S1、S2の順序となるフレームf1、f2が配置され、ステップSt14、St15、St16の処理の時点でスレーブ局S1、S2、S3の順序となるフレームf1、f2、f3が配置される。 Here, in the connection configuration information frame F1, the frame f1 generated by the slave station S1 at the time of processing in step St12 is arranged. Further, the frames f1 and f2 in the order of the slave stations S1 and S2 are arranged at the time of processing in step St13, and the frames f1 in the order of slave stations S1, S2 and S3 at the time of processing in steps St14, St15 and St16. , F2, f3 are arranged.

また、接続構成情報フレームF1には、ステップSt17の処理の時点でスレーブ局S1、S2、S3、S4の順序となるフレームf1、f2、f3、f4が配置される。さらに、ステップSt18の処理の時点でスレーブ局S1、S2、S3、S4、S5の順序となるフレームf1、f2、f3、f4、f5が配置される。 Further, in the connection configuration information frame F1, frames f1, f2, f3, and f4 in the order of slave stations S1, S2, S3, and S4 are arranged at the time of processing in step St17. Further, at the time of processing in step St18, frames f1, f2, f3, f4, and f5 in the order of slave stations S1, S2, S3, S4, and S5 are arranged.

また、接続構成情報フレームF1には、ステップSt19、St20、St21の処理の時点でスレーブ局S1、S2、S3、S4、S5、S6の順序となるフレームf1、f2、f3、f4、f5、f6が配置される。 Further, in the connection configuration information frame F1, the frames f1, f2, f3, f4, f5, and f6 in the order of the slave stations S1, S2, S3, S4, S5, and S6 at the time of processing in steps St19, St20, and St21. Is placed.

さらに、ステップSt22、St23、St24の処理の時点でスレーブ局S1、S2、S3、S4、S5、S6、S7の順序となるフレームf1、f2、f3、f4、f5、f6、f7が配置される。 Further, at the time of processing in steps St22, St23, and St24, frames f1, f2, f3, f4, f5, f6, and f7 in the order of slave stations S1, S2, S3, S4, S5, S6, and S7 are arranged. ..

マスタ局M0では、図7に示すような、スレーブ局S1からスレーブ局S7まで、各局の自局情報が時系列に順番に配列されている接続構成情報フレームF1を受信することで、すべての局が誤接続なく正常に接続されていると認識する。 The master station M0 receives all stations from the slave station S1 to the slave station S7, as shown in FIG. 7, by receiving the connection configuration information frame F1 in which the own station information of each station is arranged in chronological order. Recognizes that the connection is normal without any incorrect connection.

次に誤接続がある場合のフレームの流れについて説明する。図8は誤接続がある場合のフレーム伝送を説明するための図である。通信システム1−1aにおいて、スレーブ局S1の接続端子B1が、本来はスレーブ局S4の接続端子A4に接続するはずが、スレーブ局S4の分岐端子T4に誤接続しているとする。 Next, the frame flow when there is an erroneous connection will be described. FIG. 8 is a diagram for explaining frame transmission when there is an erroneous connection. In the communication system 1-1a, it is assumed that the connection terminal B1 of the slave station S1 is supposed to be connected to the connection terminal A4 of the slave station S4, but is erroneously connected to the branch terminal T4 of the slave station S4.

また、スレーブ局S4の接続端子A4が、本来はスレーブ局S1の接続端子B1に接続するはずが、スレーブ局S5の接続端子A5に誤接続しているとする。その他の接続は図6と同じであり正常状態とする。 Further, it is assumed that the connection terminal A4 of the slave station S4 should originally be connected to the connection terminal B1 of the slave station S1, but is erroneously connected to the connection terminal A5 of the slave station S5. Other connections are the same as in FIG. 6 and are in a normal state.

〔St31〕マスタ局M0の接続端子B0からフレームが送信される。
〔St32〕スレーブ局S1の分岐端子T1から、スレーブ局S1の自局情報が追加されたフレームが送信される。
[St31] A frame is transmitted from the connection terminal B0 of the master station M0.
[St32] From the branch terminal T1 of the slave station S1, a frame to which the own station information of the slave station S1 is added is transmitted.

〔St33〕スレーブ局S2の接続端子B2から、スレーブ局S2の自局情報が追加されたフレームが送信される。
〔St34〕スレーブ局S3の接続端子A3から、スレーブ局S3の自局情報が追加されたフレームが送信される。
[St33] From the connection terminal B2 of the slave station S2, a frame to which the own station information of the slave station S2 is added is transmitted.
[St34] From the connection terminal A3 of the slave station S3, a frame to which the own station information of the slave station S3 is added is transmitted.

〔St35〕スレーブ局S2の接続端子A2から、フレームが中継送信される。
〔St36〕スレーブ局S1の接続端子B1から、フレームが中継送信される。
〔St37〕スレーブ局S4は、分岐端子T4でフレームを受信する。よって、受信されたフレームは、接続端子B4から中継送信される。
[St35] The frame is relay-transmitted from the connection terminal A2 of the slave station S2.
[St36] The frame is relay-transmitted from the connection terminal B1 of the slave station S1.
[St37] The slave station S4 receives a frame at the branch terminal T4. Therefore, the received frame is relay-transmitted from the connection terminal B4.

〔St38〕スレーブ局S7は、接続端子A7でフレームを受信し、自局情報を追加して、接続端子A7からフレームを送信する。
〔St39〕スレーブ局S4は、接続端子B4でフレームを受信する。よって、受信されたフレームは、接続端子A4から中継送信される。
[St38] The slave station S7 receives the frame at the connection terminal A7, adds its own station information, and transmits the frame from the connection terminal A7.
[St39] The slave station S4 receives a frame at the connection terminal B4. Therefore, the received frame is relay-transmitted from the connection terminal A4.

〔St40〕スレーブ局S5は、接続端子A5でフレームを受信する。よって、スレーブ局S5の自局情報が追加されたフレームが、接続端子B5から送信される。
〔St41〕スレーブ局S6は、接続端子A6でフレームを受信し、自局情報を追加したフレームを、接続端子A6から送信する。
[St40] The slave station S5 receives a frame at the connection terminal A5. Therefore, the frame to which the own station information of the slave station S5 is added is transmitted from the connection terminal B5.
[St41] The slave station S6 receives the frame at the connection terminal A6, and transmits the frame to which the own station information is added from the connection terminal A6.

〔St42〕スレーブ局S5は、接続端子B5でフレームを受信する。よって、受信されたフレームは、接続端子A5から中継送信される。
〔St43〕スレーブ局S4は、接続端子A4でフレームを受信する。よって、スレーブ局S4の自局情報が追加されたフレームが、分岐端子T4から送信される。
[St42] The slave station S5 receives a frame at the connection terminal B5. Therefore, the received frame is relay-transmitted from the connection terminal A5.
[St43] The slave station S4 receives a frame at the connection terminal A4. Therefore, the frame to which the own station information of the slave station S4 is added is transmitted from the branch terminal T4.

〔St44〕スレーブ局S1は、接続端子B1でフレームを受信する。よって、受信されたフレームは、接続端子A1から中継送信される。そして、マスタ局M0は、接続端子B0でフレームを受信する。 [St44] The slave station S1 receives a frame at the connection terminal B1. Therefore, the received frame is relay-transmitted from the connection terminal A1. Then, the master station M0 receives the frame at the connection terminal B0.

図9は接続構成情報フレームの一例を示す図である。図8に示した流れでフレームが伝送されることで、スレーブ局S1〜S7毎に自局情報が追加されたフレームf1〜f7を含む接続構成情報フレームF1−1が生成されて、マスタ局M0によって接続構成情報フレームF1−1が受信される。 FIG. 9 is a diagram showing an example of a connection configuration information frame. By transmitting the frame in the flow shown in FIG. 8, the connection configuration information frame F1-1 including the frames f1 to f7 to which the own station information is added is generated for each of the slave stations S1 to S7, and the master station M0. The connection configuration information frame F1-1 is received by.

接続構成情報フレームF1−1には、ステップSt32の処理の時点でスレーブ局S1によって生成されたフレームf1が配置される。さらに、ステップSt33の処理の時点でスレーブ局S1、S2の順序となるフレームf1、f2が配置され、ステップSt34、St35、St36、St37の処理の時点でスレーブ局S1、S2、S3の順序となるフレームf1、f2、f3が配置される。 In the connection configuration information frame F1-1, the frame f1 generated by the slave station S1 at the time of processing in step St32 is arranged. Further, the frames f1 and f2 in the order of the slave stations S1 and S2 are arranged at the time of processing in step St33, and the order of slave stations S1, S2 and S3 is obtained at the time of processing in steps St34, St35, St36 and St37. Frames f1, f2, and f3 are arranged.

また、接続構成情報フレームF1−1には、ステップSt38、St39の処理の時点でスレーブ局S1、S2、S3、S7の順序となるフレームf1、f2、f3、f7が配置される。さらに、ステップSt40の処理の時点でスレーブ局S1、S2、S3、S7、S5の順序となるフレームf1、f2、f3、f7、f5が配置される。 Further, in the connection configuration information frame F1-1, frames f1, f2, f3, and f7 in the order of slave stations S1, S2, S3, and S7 at the time of processing in steps St38 and St39 are arranged. Further, at the time of processing in step St40, frames f1, f2, f3, f7, and f5 in the order of slave stations S1, S2, S3, S7, and S5 are arranged.

また、接続構成情報フレームF1−1には、ステップSt41、St42の処理の時点でスレーブ局S1、S2、S3、S7、S5、S6の順序となるフレームf1、f2、f3、f7、f5、f6が配置される。 Further, in the connection configuration information frame F1-1, frames f1, f2, f3, f7, f5, f6 in the order of slave stations S1, S2, S3, S7, S5, S6 at the time of processing in steps St41 and St42. Is placed.

さらに、ステップSt43、St44の処理の時点でスレーブ局S1、S2、S3、S7、S5、S6、S4の順序となるフレームf1、f2、f3、f7、f5、f6、f4が配置される。 Further, at the time of processing in steps St43 and St44, frames f1, f2, f3, f7, f5, f6 and f4 in the order of slave stations S1, S2, S3, S7, S5, S6 and S4 are arranged.

マスタ局M0では、接続構成情報フレームF1−1を受信すると、スレーブ局S1からスレーブ局S7まで、各局の自局情報を含むフレームが時系列に順番に配列されていないこと、すなわち、この例ではフレームf4、f7が本来配置される位置とは異なることを検出する。したがって、マスタ局M0は、通信システム1−1aの局間の接続において誤接続があることを認識する。 When the master station M0 receives the connection configuration information frame F1-1, the frames including the own station information of each station are not arranged in chronological order from the slave station S1 to the slave station S7, that is, in this example. It is detected that the frames f4 and f7 are different from the positions where they are originally arranged. Therefore, the master station M0 recognizes that there is an erroneous connection in the connection between the stations of the communication system 1-1a.

上記のように、マスタ局M0では、接続構成情報フレームに含まれるスレーブ局の並び順から正常接続か誤接続かを判定することができる。ただし、接続構成情報フレームに含まれるスレーブ局の並び順だけでは、どの端子で誤接続が生じているかの誤接続箇所の特定までには至らない。 As described above, the master station M0 can determine whether the connection is normal or incorrect from the order of the slave stations included in the connection configuration information frame. However, the order of the slave stations included in the connection configuration information frame alone does not lead to the identification of the erroneous connection location at which terminal the erroneous connection occurs.

このため、本発明ではさらに、自局側の回線接続端子と他局側の回線接続端子との物理接続関係である接続情報を収集し、該接続情報を自局情報に含めたフレームの伝送制御を行う。これにより、回線の誤接続の発生検出のみならず、誤接続箇所の特定をも可能にするものである。 Therefore, in the present invention, further, connection information which is a physical connection relationship between the line connection terminal on the own station side and the line connection terminal on the other station side is collected, and the transmission control of the frame including the connection information in the own station information. I do. This makes it possible not only to detect the occurrence of erroneous connection of the line but also to identify the erroneous connection location.

次に接続情報を収集して誤接続箇所を特定する動作について説明する。図10は接続情報の収集の一例を示す図である。通信システム1−2は、マスタ局M0およびスレーブ局S1〜S7を備える。各局の接続構成は図2と同じである(正常な回線接続状態)。また、スレーブ局S1〜S7はそれぞれ、接続情報管理部13−1〜13−7を有する。以下、接続情報の収集処理についてスレーブ局毎に説明する。 Next, the operation of collecting connection information and identifying the erroneous connection location will be described. FIG. 10 is a diagram showing an example of collecting connection information. Communication system 1-2 includes a master station M0 and slave stations S1 to S7. The connection configuration of each station is the same as in FIG. 2 (normal line connection state). Further, each of the slave stations S1 to S7 has a connection information management unit 13-1 to 13-7. Hereinafter, the connection information collection process will be described for each slave station.

(スレーブ局S1における接続情報の収集処理)
スレーブ局S1は、接続端子A1から識別情報「A1」を送信し、マスタ局M0の接続端子B0から送信された識別情報「B0」を接続端子A1により受信する。
(Collection processing of connection information in slave station S1)
The slave station S1 transmits the identification information "A1" from the connection terminal A1, and receives the identification information "B0" transmitted from the connection terminal B0 of the master station M0 by the connection terminal A1.

スレーブ局S1は、接続端子A1を通じて、識別情報「A1」を送信し、識別情報「B0」を受信するので、接続端子A1には接続端子B0が接続されて、接続端子A1と接続端子B0との端子間で通信が可能であることを検出する。この場合、スレーブ局S1では、接続端子A1と接続端子B0との接続関係を例えば、接続情報(A1−B0)として接続情報管理部13−1に保存する。 Since the slave station S1 transmits the identification information "A1" and receives the identification information "B0" through the connection terminal A1, the connection terminal B0 is connected to the connection terminal A1 to connect the connection terminal A1 and the connection terminal B0. Detects that communication is possible between the terminals of. In this case, in the slave station S1, the connection relationship between the connection terminal A1 and the connection terminal B0 is stored in the connection information management unit 13-1 as connection information (A1-B0), for example.

また、スレーブ局S1は、分岐端子T1から識別情報「T1」を送信し、スレーブ局S2の接続端子A2から送信された識別情報「A2」を分岐端子T1により受信する。
スレーブ局S1では、分岐端子T1を通じて、識別情報「T1」を送信し、識別情報「A2」を受信するので、分岐端子T1には接続端子A2が接続されて、分岐端子T1と接続端子A2との端子間で通信が可能であることを検出する。この場合、スレーブ局S1は、分岐端子T1と接続端子A2との接続関係を例えば、接続情報(T1−A2)として接続情報管理部13−1に保存する。
Further, the slave station S1 transmits the identification information "T1" from the branch terminal T1 and receives the identification information "A2" transmitted from the connection terminal A2 of the slave station S2 by the branch terminal T1.
In the slave station S1, the identification information "T1" is transmitted through the branch terminal T1 and the identification information "A2" is received. Therefore, the connection terminal A2 is connected to the branch terminal T1 to connect the branch terminal T1 and the connection terminal A2. Detects that communication is possible between the terminals of. In this case, the slave station S1 stores the connection relationship between the branch terminal T1 and the connection terminal A2 in the connection information management unit 13-1 as connection information (T1-A2), for example.

さらに、スレーブ局S1は、接続端子B1から識別情報「B1」を送信し、スレーブ局S4の接続端子A4から送信された識別情報「A4」を接続端子B1により受信する。
スレーブ局S1では、接続端子B1を通じて、識別情報「B1」を送信し、識別情報「A4」を受信するので、接続端子B1には接続端子A4が接続されて、接続端子B1と接続端子A4との端子間で通信が可能であることを検出する。この場合、スレーブ局S1は、接続端子B1と接続端子A4との接続関係を例えば、接続情報(B1−A4)として接続情報管理部13−1に保存する。
Further, the slave station S1 transmits the identification information "B1" from the connection terminal B1 and receives the identification information "A4" transmitted from the connection terminal A4 of the slave station S4 by the connection terminal B1.
In the slave station S1, the identification information "B1" is transmitted through the connection terminal B1 and the identification information "A4" is received. Therefore, the connection terminal A4 is connected to the connection terminal B1 to connect the connection terminal B1 and the connection terminal A4. Detects that communication is possible between the terminals of. In this case, the slave station S1 stores the connection relationship between the connection terminal B1 and the connection terminal A4 in the connection information management unit 13-1 as connection information (B1-A4), for example.

(スレーブ局S2における接続情報の収集処理)
スレーブ局S2は、接続端子A2から識別情報「A2」を送信し、スレーブ局S1の分岐端子T1から送信された識別情報「T1」を接続端子A2により受信する。
(Collection processing of connection information in slave station S2)
The slave station S2 transmits the identification information "A2" from the connection terminal A2, and receives the identification information "T1" transmitted from the branch terminal T1 of the slave station S1 by the connection terminal A2.

スレーブ局S2では、接続端子A2を通じて、識別情報「A2」を送信し、識別情報「T1」を受信するので、接続端子A2には分岐端子T1が接続されて、接続端子A2と分岐端子T1との端子間で通信が可能であることを検出する。この場合、スレーブ局S2は、接続端子A2と分岐端子T1との接続関係を例えば、接続情報(A2−T1)として接続情報管理部13−2に保存する。 In the slave station S2, the identification information "A2" is transmitted through the connection terminal A2 and the identification information "T1" is received. Therefore, the branch terminal T1 is connected to the connection terminal A2, and the connection terminal A2 and the branch terminal T1 are connected. Detects that communication is possible between the terminals of. In this case, the slave station S2 stores the connection relationship between the connection terminal A2 and the branch terminal T1 as connection information (A2-T1) in the connection information management unit 13-2, for example.

また、スレーブ局S2は、分岐端子T2を介して他局から識別情報を受信しない。この場合、スレーブ局S2では、分岐端子T2には物理接続がないと検出し、例えば、接続情報(T2−)として接続情報管理部13−2に保存する。 Further, the slave station S2 does not receive identification information from another station via the branch terminal T2. In this case, the slave station S2 detects that there is no physical connection at the branch terminal T2, and stores the connection information (T2-) in the connection information management unit 13-2, for example.

さらに、スレーブ局S2は、接続端子B2から識別情報「B2」を送信し、スレーブ局S3の接続端子A3から送信された識別情報「A3」を接続端子B2により受信する。
スレーブ局S2では、接続端子B2を通じて、識別情報「B2」を送信し、識別情報「A3」を受信するので、接続端子B2には接続端子A3が接続されて、接続端子B2と接続端子A3との端子間で通信が可能であることを検出する。この場合、スレーブ局S2は、接続端子B2と接続端子A3との接続関係を例えば、接続情報(B2−A3)として接続情報管理部13−2に保存する。
Further, the slave station S2 transmits the identification information "B2" from the connection terminal B2, and receives the identification information "A3" transmitted from the connection terminal A3 of the slave station S3 by the connection terminal B2.
In the slave station S2, the identification information "B2" is transmitted through the connection terminal B2 and the identification information "A3" is received. Therefore, the connection terminal A3 is connected to the connection terminal B2, and the connection terminal B2 and the connection terminal A3 are connected to each other. Detects that communication is possible between the terminals of. In this case, the slave station S2 stores the connection relationship between the connection terminal B2 and the connection terminal A3 in the connection information management unit 13-2 as connection information (B2-A3), for example.

(スレーブ局S3における接続情報の収集処理)
スレーブ局S3は、接続端子A3から識別情報「A3」を送信し、スレーブ局S2の接続端子B2から送信された識別情報「B2」を接続端子A3により受信する。
(Collection processing of connection information in slave station S3)
The slave station S3 transmits the identification information "A3" from the connection terminal A3, and receives the identification information "B2" transmitted from the connection terminal B2 of the slave station S2 by the connection terminal A3.

スレーブ局S3では、接続端子A3を通じて、識別情報「A3」を送信し、識別情報「B2」を受信するので、接続端子A3には接続端子B2が接続されて、接続端子A3と接続端子B2との端子間で通信が可能であることを検出する。この場合、スレーブ局S3は、接続端子A3と接続端子B2との接続関係を例えば、接続情報(A3−B2)として接続情報管理部13−3に保存する。 In the slave station S3, the identification information "A3" is transmitted through the connection terminal A3 and the identification information "B2" is received. Therefore, the connection terminal B2 is connected to the connection terminal A3, and the connection terminal A3 and the connection terminal B2 are connected to each other. Detects that communication is possible between the terminals of. In this case, the slave station S3 stores the connection relationship between the connection terminal A3 and the connection terminal B2 in the connection information management unit 13-3 as connection information (A3-B2), for example.

また、スレーブ局S3は、分岐端子T3を介して他局から識別情報を受信しない。この場合、スレーブ局S3では、分岐端子T3には物理接続がないと検出し、例えば、接続情報(T3−)として接続情報管理部13−3に保存する。 Further, the slave station S3 does not receive identification information from another station via the branch terminal T3. In this case, the slave station S3 detects that there is no physical connection at the branch terminal T3, and stores it in the connection information management unit 13-3 as connection information (T3-), for example.

さらに、スレーブ局S3は、接続端子B3を介して他局から識別情報を受信しない。この場合、スレーブ局S3では、接続端子B3には物理接続がないと検出し、例えば、接続情報(B3−)として接続情報管理部13−3に保存する。 Further, the slave station S3 does not receive identification information from another station via the connection terminal B3. In this case, the slave station S3 detects that there is no physical connection at the connection terminal B3, and stores the connection information (B3-) in the connection information management unit 13-3, for example.

(スレーブ局S4における接続情報の収集処理)
スレーブ局S4は、接続端子A4から識別情報「A4」を送信し、スレーブ局S1の接続端子B1から送信された識別情報「B1」を接続端子A4により受信する。
(Collection processing of connection information in slave station S4)
The slave station S4 transmits the identification information "A4" from the connection terminal A4, and receives the identification information "B1" transmitted from the connection terminal B1 of the slave station S1 by the connection terminal A4.

スレーブ局S4は、接続端子A4を通じて、識別情報「A4」を送信し、識別情報「B1」を受信するので、接続端子A4には接続端子B1が接続されて、接続端子A4と接続端子B1との端子間で通信が可能であることを検出する。この場合、スレーブ局S4では、接続端子A4と接続端子B1との接続関係を例えば、接続情報(A4−B1)として接続情報管理部13−4に保存する。 Since the slave station S4 transmits the identification information "A4" and receives the identification information "B1" through the connection terminal A4, the connection terminal B1 is connected to the connection terminal A4, and the connection terminal A4 and the connection terminal B1 are connected. Detects that communication is possible between the terminals of. In this case, in the slave station S4, the connection relationship between the connection terminal A4 and the connection terminal B1 is stored in the connection information management unit 13-4 as connection information (A4-B1), for example.

また、スレーブ局S4は、分岐端子T4から識別情報「T4」を送信し、スレーブ局S5の接続端子A5から送信された識別情報「A5」を分岐端子T4により受信する。
スレーブ局S4では、分岐端子T4を通じて、識別情報「T4」を送信し、識別情報「A5」を受信するので、分岐端子T4には接続端子A5が接続されて、分岐端子T4と接続端子A5との端子間で通信が可能であることを検出する。この場合、スレーブ局S4は、分岐端子T4と接続端子A5との接続関係を例えば、接続情報(T4−A5)として接続情報管理部13−4に保存する。
Further, the slave station S4 transmits the identification information "T4" from the branch terminal T4, and receives the identification information "A5" transmitted from the connection terminal A5 of the slave station S5 by the branch terminal T4.
In the slave station S4, the identification information "T4" is transmitted through the branch terminal T4 and the identification information "A5" is received. Therefore, the connection terminal A5 is connected to the branch terminal T4, and the branch terminal T4 and the connection terminal A5 are connected to each other. Detects that communication is possible between the terminals of. In this case, the slave station S4 stores the connection relationship between the branch terminal T4 and the connection terminal A5 in the connection information management unit 13-4 as connection information (T4-A5), for example.

さらに、スレーブ局S4は、接続端子B4から識別情報「B4」を送信し、スレーブ局S7の接続端子A7から送信された識別情報「A7」を接続端子B4により受信する。
スレーブ局S4では、接続端子B4を通じて、識別情報「B4」を送信し、識別情報「A7」を受信するので、接続端子B4には接続端子A7が接続されて、接続端子B4と接続端子A7との端子間で通信が可能であることを検出する。この場合、スレーブ局S4は、接続端子B4と接続端子A7との接続関係を例えば、接続情報(B4−A7)として接続情報管理部13−4に保存する。
Further, the slave station S4 transmits the identification information "B4" from the connection terminal B4, and receives the identification information "A7" transmitted from the connection terminal A7 of the slave station S7 by the connection terminal B4.
In the slave station S4, the identification information "B4" is transmitted through the connection terminal B4 and the identification information "A7" is received. Therefore, the connection terminal A7 is connected to the connection terminal B4, and the connection terminal B4 and the connection terminal A7 are connected to each other. Detects that communication is possible between the terminals of. In this case, the slave station S4 stores the connection relationship between the connection terminal B4 and the connection terminal A7 in the connection information management unit 13-4 as connection information (B4-A7), for example.

(スレーブ局S5における接続情報の収集処理)
スレーブ局S5は、接続端子A5から識別情報「A5」を送信し、スレーブ局S4の分岐端子T4から送信された識別情報「T4」を接続端子A5により受信する。
(Collection processing of connection information in slave station S5)
The slave station S5 transmits the identification information "A5" from the connection terminal A5, and receives the identification information "T4" transmitted from the branch terminal T4 of the slave station S4 by the connection terminal A5.

スレーブ局S5では、接続端子A5を通じて、識別情報「A5」を送信し、識別情報「T4」を受信するので、接続端子A5には分岐端子T4が接続されて、接続端子A5と分岐端子T4との端子間で通信が可能であることを検出する。この場合、スレーブ局S5は、接続端子A5と分岐端子T4との接続関係を例えば、接続情報(A5−T4)として接続情報管理部13−5に保存する。 In the slave station S5, the identification information "A5" is transmitted through the connection terminal A5 and the identification information "T4" is received. Therefore, the branch terminal T4 is connected to the connection terminal A5, and the connection terminal A5 and the branch terminal T4 are connected. Detects that communication is possible between the terminals of. In this case, the slave station S5 stores the connection relationship between the connection terminal A5 and the branch terminal T4 as connection information (A5-T4) in the connection information management unit 13-5, for example.

また、スレーブ局S5は、分岐端子T5を介して他局から識別情報を受信しない。この場合、スレーブ局S5では、分岐端子T5には物理接続がないと検出し、例えば、接続情報(T5−)として接続情報管理部13−5に保存する。 Further, the slave station S5 does not receive identification information from another station via the branch terminal T5. In this case, the slave station S5 detects that there is no physical connection at the branch terminal T5, and stores it as connection information (T5-) in the connection information management unit 13-5, for example.

さらに、スレーブ局S5は、接続端子B5から識別情報「B5」を送信し、スレーブ局S6の接続端子A6から送信された識別情報「A6」を接続端子B5により受信する。
スレーブ局S5では、接続端子B5を通じて、識別情報「B5」を送信し、識別情報「A6」を受信するので、接続端子B5には接続端子A6が接続されて、接続端子B5と接続端子A6との端子間で通信が可能であることを検出する。この場合、スレーブ局S5は、接続端子B5と接続端子A6との接続関係を例えば、接続情報(B5−A6)として接続情報管理部13−5に保存する。
Further, the slave station S5 transmits the identification information "B5" from the connection terminal B5, and receives the identification information "A6" transmitted from the connection terminal A6 of the slave station S6 by the connection terminal B5.
In the slave station S5, the identification information "B5" is transmitted through the connection terminal B5 and the identification information "A6" is received. Therefore, the connection terminal A6 is connected to the connection terminal B5, and the connection terminal B5 and the connection terminal A6 are connected. Detects that communication is possible between the terminals of. In this case, the slave station S5 stores the connection relationship between the connection terminal B5 and the connection terminal A6 as connection information (B5-A6) in the connection information management unit 13-5, for example.

(スレーブ局S6における接続情報の収集処理)
スレーブ局S6は、接続端子A6から識別情報「A6」を送信し、スレーブ局S5の接続端子B5から送信された識別情報「B5」を接続端子A6により受信する。
(Collection processing of connection information in slave station S6)
The slave station S6 transmits the identification information "A6" from the connection terminal A6, and receives the identification information "B5" transmitted from the connection terminal B5 of the slave station S5 by the connection terminal A6.

スレーブ局S6では、接続端子A6を通じて、識別情報「A6」を送信し、識別情報「B5」を受信するので、接続端子A6には接続端子B5が接続されて、接続端子A6と接続端子B5との端子間で通信が可能であることを検出する。この場合、スレーブ局S6は、接続端子A6と接続端子B5との接続関係を例えば、接続情報(A6−B5)として接続情報管理部13−6に保存する。 In the slave station S6, the identification information "A6" is transmitted through the connection terminal A6 and the identification information "B5" is received. Therefore, the connection terminal B5 is connected to the connection terminal A6, and the connection terminal A6 and the connection terminal B5 are connected to each other. Detects that communication is possible between the terminals of. In this case, the slave station S6 stores the connection relationship between the connection terminal A6 and the connection terminal B5 in the connection information management unit 13-6 as connection information (A6-B5), for example.

また、スレーブ局S6は、分岐端子T6を介して他局から識別情報を受信しない。この場合、スレーブ局S6では、分岐端子T6には物理接続がないと検出し、例えば、接続情報(T6−)として接続情報管理部13−6に保存する。 Further, the slave station S6 does not receive identification information from another station via the branch terminal T6. In this case, the slave station S6 detects that there is no physical connection at the branch terminal T6, and stores the connection information (T6-) in the connection information management unit 13-6, for example.

さらに、スレーブ局S6は、接続端子B6を介して他局から識別情報を受信しない。この場合、スレーブ局S6では、接続端子B6には物理接続がないと検出して、例えば、接続情報(B6−)として接続情報管理部13−6に保存する。 Further, the slave station S6 does not receive identification information from another station via the connection terminal B6. In this case, the slave station S6 detects that there is no physical connection at the connection terminal B6, and stores the connection information (B6-) in the connection information management unit 13-6, for example.

(スレーブ局S7における接続情報の収集処理)
スレーブ局S7は、接続端子A7から識別情報「A7」を送信し、スレーブ局S4の接続端子B4から送信された識別情報「B4」を接続端子A7により受信する。
(Collection processing of connection information in slave station S7)
The slave station S7 transmits the identification information "A7" from the connection terminal A7, and receives the identification information "B4" transmitted from the connection terminal B4 of the slave station S4 by the connection terminal A7.

スレーブ局S7では、接続端子A7を通じて、識別情報「A7」を送信し、識別情報「B4」を受信するので、接続端子A7には接続端子B4が接続されて、接続端子A7と接続端子B4との端子間で通信が可能であることを検出する。この場合、スレーブ局S7は、接続端子A7と接続端子B4との接続関係を例えば、接続情報(A7−B4)として接続情報管理部13−7に保存する。 In the slave station S7, the identification information "A7" is transmitted through the connection terminal A7 and the identification information "B4" is received. Therefore, the connection terminal B4 is connected to the connection terminal A7, and the connection terminal A7 and the connection terminal B4 are connected to each other. Detects that communication is possible between the terminals of. In this case, the slave station S7 stores the connection relationship between the connection terminal A7 and the connection terminal B4 in the connection information management unit 13-7 as connection information (A7-B4), for example.

また、スレーブ局S7は、分岐端子T7を介して他局から識別情報を受信しない。この場合、スレーブ局S7では、分岐端子T7には物理接続がないと検出し、例えば、接続情報(T7−)として接続情報管理部13−7に保存する。 Further, the slave station S7 does not receive identification information from another station via the branch terminal T7. In this case, the slave station S7 detects that there is no physical connection at the branch terminal T7, and stores the connection information (T7-) in the connection information management unit 13-7, for example.

さらに、スレーブ局S7は、接続端子B7を介して他局から識別情報を受信しない。この場合、スレーブ局S7では、接続端子B7には物理接続がないと検出し、例えば、接続情報(B7−)として接続情報管理部13−7に保存する。 Further, the slave station S7 does not receive identification information from another station via the connection terminal B7. In this case, the slave station S7 detects that there is no physical connection at the connection terminal B7, and stores the connection information (B7-) in the connection information management unit 13-7, for example.

なお、上記に示した接続情報収集処理は、装置起動時(例えば、システムの初期運用時や各局の接続変更時等)において、スレーブ局S1〜S7が自律的に行う(自律的に端子の識別情報をやりとりして接続情報を収集する)ものである。 The connection information collection process shown above is autonomously performed by the slave stations S1 to S7 when the device is started (for example, when the system is initially operated or when the connection of each station is changed) (terminal identification autonomously). It exchanges information and collects connection information).

図11は接続情報が含まれる接続構成情報フレームの一例を示す図である。接続構成情報フレームF2は、フレームf1a〜f7aを含む。
接続構成情報フレームF2のフレームの並び順は、図7に示した接続構成情報フレームF1のフレームの並び順と同じであるが(正常な回線接続状態であるため)、異なる点として、フレームf1a〜f7aの自局情報には、各スレーブ局の接続情報が含まれている。
FIG. 11 is a diagram showing an example of a connection configuration information frame including connection information. The connection configuration information frame F2 includes frames f1a to f7a.
The order of the frames of the connection configuration information frame F2 is the same as the order of the frames of the connection configuration information frame F1 shown in FIG. 7 (because it is in a normal line connection state), except that the frames f1a to The own station information of f7a includes connection information of each slave station.

すなわち、フレームf1aの自局情報には、スレーブ局S1の接続情報管理部13−1で格納されている接続情報(A1−B0)、(T1−A2)、(B1−A4)が含まれる。 That is, the own station information of the frame f1a includes the connection information (A1-B0), (T1-A2), and (B1-A4) stored in the connection information management unit 13-1 of the slave station S1.

フレームf2aの自局情報には、スレーブ局S2の接続情報管理部13−2で格納されている接続情報(A2−T1)、(T2−)、(B2−A3)が含まれる。フレームf3aの自局情報には、スレーブ局S3の接続情報管理部13−3で格納されている接続情報(A3−B2)、(T3−)、(B3−)が含まれる。 The own station information of the frame f2a includes connection information (A2-T1), (T2-), and (B2-A3) stored in the connection information management unit 13-2 of the slave station S2. The own station information of the frame f3a includes connection information (A3-B2), (T3-), and (B3-) stored in the connection information management unit 13-3 of the slave station S3.

フレームf4aの自局情報には、スレーブ局S4の接続情報管理部13−4で格納されている接続情報(A4−B1)、(T4−A5)、(B4−A7)が含まれる。フレームf5aの自局情報には、スレーブ局S5の接続情報管理部13−5で格納されている接続情報(A5−T4)、(T5−)、(B5−A6)が含まれる。 The own station information of the frame f4a includes connection information (A4-B1), (T4-A5), and (B4-A7) stored in the connection information management unit 13-4 of the slave station S4. The own station information of the frame f5a includes connection information (A5-T4), (T5-), and (B5-A6) stored in the connection information management unit 13-5 of the slave station S5.

フレームf6aの自局情報には、スレーブ局S6の接続情報管理部13−6で格納されている接続情報(A6−B5)、(T6−)、(B6−)が含まれる。フレームf7aの自局情報には、スレーブ局S7の接続情報管理部13−7で格納されている接続情報(A7−B4)、(T7−)、(B7−)が含まれる。 The own station information of the frame f6a includes connection information (A6-B5), (T6-), and (B6-) stored in the connection information management unit 13-6 of the slave station S6. The own station information of the frame f7a includes connection information (A7-B4), (T7-), and (B7-) stored in the connection information management unit 13-7 of the slave station S7.

そして、マスタ局M0では、接続構成情報フレームF2を受信すると、スレーブ局S1〜S7の接続情報D0を保存管理する。
次に誤接続がある場合において、収集された接続情報にもとづき行われる回線接続判定について説明する。図12は誤接続がある通信システムの構成例を示す図である。通信システム1−2aは図8と同様に、スレーブ局S1の接続端子B1がスレーブ局S4の分岐端子T4に誤接続し、スレーブ局S4の接続端子A4がスレーブ局S5の接続端子A5に誤接続しているとする。その他の接続は図10と同じであり正常状態とする。
Then, when the master station M0 receives the connection configuration information frame F2, the master station M0 saves and manages the connection information D0 of the slave stations S1 to S7.
Next, when there is an erroneous connection, the line connection determination performed based on the collected connection information will be described. FIG. 12 is a diagram showing a configuration example of a communication system having an erroneous connection. In the communication system 1-2a, as in FIG. 8, the connection terminal B1 of the slave station S1 is erroneously connected to the branch terminal T4 of the slave station S4, and the connection terminal A4 of the slave station S4 is erroneously connected to the connection terminal A5 of the slave station S5. Suppose you are. Other connections are the same as in FIG. 10 and are in a normal state.

スレーブ局S1において、接続端子B1がスレーブ局S4の分岐端子T4に誤接続している。このため、スレーブ局S1の接続情報管理部13−1には、図10で上述したような接続情報収集処理によって、接続情報(A1−B0)、(T1−A2)、(B1−T4)が格納される。 In the slave station S1, the connection terminal B1 is erroneously connected to the branch terminal T4 of the slave station S4. Therefore, the connection information management unit 13-1 of the slave station S1 is provided with connection information (A1-B0), (T1-A2), and (B1-T4) by the connection information collection process as described above in FIG. Stored.

スレーブ局S4において、接続端子A4がスレーブ局S5の接続端子A5に誤接続し、分岐端子T4がスレーブ局S1の接続端子B1に誤接続している。このため、スレーブ局S4の接続情報管理部13−4には、図10で上述したような接続情報収集処理によって、接続情報(A4−A5)、(T4−B1)、(B4−A7)が格納される。 In the slave station S4, the connection terminal A4 is erroneously connected to the connection terminal A5 of the slave station S5, and the branch terminal T4 is erroneously connected to the connection terminal B1 of the slave station S1. Therefore, the connection information management unit 13-4 of the slave station S4 receives the connection information (A4-A5), (T4-B1), and (B4-A7) by the connection information collection process as described above in FIG. Stored.

スレーブ局S5において、接続端子A5がスレーブ局S4の接続端子A4に誤接続している。このため、スレーブ局S5の接続情報管理部13−5には、図10で上述したような接続情報収集処理によって、接続情報(A5−A4)、(T5−)、(B5−A6)が格納される。なお、その他の接続情報管理部の格納状態は図10で示した状態と同様である。 In the slave station S5, the connection terminal A5 is erroneously connected to the connection terminal A4 of the slave station S4. Therefore, the connection information management unit 13-5 of the slave station S5 stores the connection information (A5-A4), (T5-), and (B5-A6) by the connection information collection process as described above in FIG. Will be done. The storage state of the other connection information management units is the same as the state shown in FIG.

図13は接続情報が含まれる接続構成情報フレームの一例を示す図である。接続構成情報フレームF2−1は、通信システム1−2aの接続状態において生成されるフレームであり、マスタ局M0で受信される。 FIG. 13 is a diagram showing an example of a connection configuration information frame including connection information. The connection configuration information frame F2-1 is a frame generated in the connected state of the communication system 1-2a, and is received by the master station M0.

マスタ局M0では、接続構成情報フレームF2−1を受信すると、スレーブ局S1〜S7の接続情報D1を保存管理する。
また、接続構成情報フレームF2−1を形成する各フレームの順序は、図5で上述したフレーム伝送制御によって、f1a、f2a、f3a、f7a、f5a、f6a、f4aとなって、正常接続時の並び順と異なるため、マスタ局M0は、システム内に誤接続が生じていることを検出する。
When the master station M0 receives the connection configuration information frame F2-1, the master station M0 stores and manages the connection information D1 of the slave stations S1 to S7.
Further, the order of each frame forming the connection configuration information frame F2-1 becomes f1a, f2a, f3a, f7a, f5a, f6a, f4a by the frame transmission control described above in FIG. 5, and is arranged at the time of normal connection. Since the order is different, the master station M0 detects that an erroneous connection has occurred in the system.

さらに、マスタ局M0は、正常な接続状態のときの接続情報D0(図11)と、接続情報D1とを比較して、同一スレーブ局毎に不一致となる接続情報を接続情報D1の中から検出する。 Further, the master station M0 compares the connection information D0 (FIG. 11) in the normal connection state with the connection information D1 and detects the connection information that does not match for each of the same slave stations from the connection information D1. do.

この例では、接続情報D1において、スレーブ局S1の接続情報(B1−T4)、スレーブ局S5の接続情報(A5−A4)、スレーブ局S4の接続情報(A4−A5)、(T4−B1)が接続情報D0とは異なる。 In this example, in the connection information D1, the connection information of the slave station S1 (B1-T4), the connection information of the slave station S5 (A5-A4), the connection information of the slave station S4 (A4-A5), (T4-B1) Is different from the connection information D0.

したがって、マスタ局M0は、この検出結果から、スレーブ局S1の接続端子B1、スレーブ局S4の分岐端子T4、スレーブ局S4の接続端子A4、スレーブ局S5の接続端子A5が誤接続されていることを特定する。 Therefore, from this detection result, the master station M0 erroneously connects the connection terminal B1 of the slave station S1, the branch terminal T4 of the slave station S4, the connection terminal A4 of the slave station S4, and the connection terminal A5 of the slave station S5. To identify.

図14は誤接続がある通信システムの構成例を示す図である。通信システム1−2bにおいて、スレーブ局S1の接続端子B1が、本来はスレーブ局S4の接続端子A4に接続するはずが、スレーブ局S4の接続端子B4に誤接続しているとする。 FIG. 14 is a diagram showing a configuration example of a communication system having an erroneous connection. In the communication system 1-2b, it is assumed that the connection terminal B1 of the slave station S1 is supposed to be connected to the connection terminal A4 of the slave station S4, but is erroneously connected to the connection terminal B4 of the slave station S4.

また、スレーブ局S4の接続端子A4が、本来はスレーブ局S1の接続端子B1に接続するはずが、スレーブ局S7の接続端子A7に誤接続しているとする。その他の接続は図10と同じであり正常状態とする。 Further, it is assumed that the connection terminal A4 of the slave station S4 should originally be connected to the connection terminal B1 of the slave station S1, but is erroneously connected to the connection terminal A7 of the slave station S7. Other connections are the same as in FIG. 10 and are in a normal state.

スレーブ局S1において、接続端子B1がスレーブ局S4の接続端子B4に誤接続している。このため、スレーブ局S1の接続情報管理部13−1には、図10で上述したような接続情報収集処理によって、接続情報(A1−B0)、(T1−A2)、(B1−B4)が格納される。 In the slave station S1, the connection terminal B1 is erroneously connected to the connection terminal B4 of the slave station S4. Therefore, the connection information management unit 13-1 of the slave station S1 is provided with connection information (A1-B0), (T1-A2), and (B1-B4) by the connection information collection process as described above in FIG. Stored.

スレーブ局S4において、接続端子A4がスレーブ局S7の接続端子A7に誤接続し、接続端子B4がスレーブ局S1の接続端子B1に誤接続している。このため、スレーブ局S4の接続情報管理部13−4には、図10で上述したような接続情報収集処理によって、接続情報(A4−A7)、(T4−A5)、(B4−B1)が格納される。 In the slave station S4, the connection terminal A4 is erroneously connected to the connection terminal A7 of the slave station S7, and the connection terminal B4 is erroneously connected to the connection terminal B1 of the slave station S1. Therefore, the connection information management unit 13-4 of the slave station S4 receives the connection information (A4-A7), (T4-A5), and (B4-B1) by the connection information collection process as described above in FIG. Stored.

スレーブ局S7において、接続端子A7がスレーブ局S4の接続端子A4に誤接続している。このため、スレーブ局S7の接続情報管理部13−7には、図10で上述したような接続情報収集処理によって、接続情報(A7−A4)、(T7−)、(B7−)が格納される。なお、その他の接続情報管理部の格納状態は図10で示した状態と同様である。 In the slave station S7, the connection terminal A7 is erroneously connected to the connection terminal A4 of the slave station S4. Therefore, the connection information management unit 13-7 of the slave station S7 stores the connection information (A7-A4), (T7-), and (B7-) by the connection information collection process as described above in FIG. NS. The storage state of the other connection information management units is the same as the state shown in FIG.

図15は接続情報が含まれる接続構成情報フレームの一例を示す図である。接続構成情報フレームF2−2は、通信システム1−2bの接続状態において生成されるフレームであり、マスタ局M0で受信される。 FIG. 15 is a diagram showing an example of a connection configuration information frame including connection information. The connection configuration information frame F2-2 is a frame generated in the connected state of the communication system 1-2b, and is received by the master station M0.

マスタ局M0では、接続構成情報フレームF2−2を受信すると、スレーブ局S1〜S7の接続情報D2を保存管理する。
また、接続構成情報フレームF2−2のフレームの順序は、図5で上述したフレーム伝送制御によって、f1a、f2a、f3a、f7a、f4a、f5a、f6aとなって、正常接続時の並び順と異なるため、マスタ局M0は、システム内に誤接続が生じていることを検出する。
When the master station M0 receives the connection configuration information frame F2-2, the master station M0 stores and manages the connection information D2 of the slave stations S1 to S7.
Further, the frame order of the connection configuration information frame F2-2 becomes f1a, f2a, f3a, f7a, f4a, f5a, f6a by the frame transmission control described above in FIG. 5, which is different from the order at the time of normal connection. Therefore, the master station M0 detects that an erroneous connection has occurred in the system.

さらに、マスタ局M0は、正常な接続状態のときの接続情報D0(図11)と、接続情報D2とを比較して、同一スレーブ局毎に不一致となる接続情報を接続情報D2の中から検出する。 Further, the master station M0 compares the connection information D0 (FIG. 11) in the normal connection state with the connection information D2, and detects the connection information that does not match for each of the same slave stations from the connection information D2. do.

この例では、接続情報D2において、スレーブ局S1の接続情報(B1−B4)、スレーブ局S4の接続情報(A4−A7)、(B4−B1)およびスレーブ局S7の接続情報(A7−A4)が接続情報D0とは異なる。 In this example, in the connection information D2, the connection information of the slave station S1 (B1-B4), the connection information of the slave station S4 (A4-A7), (B4-B1), and the connection information of the slave station S7 (A7-A4). Is different from the connection information D0.

したがって、マスタ局M0は、この検出結果から、スレーブ局S1の接続端子B1、スレーブ局S4の接続端子B4、スレーブ局S4の接続端子A4、スレーブ局S7の接続端子A7が誤接続されていることを特定する。 Therefore, from this detection result, the master station M0 erroneously connects the connection terminal B1 of the slave station S1, the connection terminal B4 of the slave station S4, the connection terminal A4 of the slave station S4, and the connection terminal A7 of the slave station S7. To identify.

図16は誤接続がある通信システムの構成例を示す図である。通信システム1−2cにおいて、スレーブ局S4の分岐端子T4が、本来はスレーブ局S5の接続端子A5に接続するはずが、スレーブ局S7の接続端子A7に誤接続しているとする。 FIG. 16 is a diagram showing a configuration example of a communication system having an erroneous connection. In the communication system 1-2c, it is assumed that the branch terminal T4 of the slave station S4 is supposed to be connected to the connection terminal A5 of the slave station S5, but is erroneously connected to the connection terminal A7 of the slave station S7.

また、スレーブ局S4の接続端子B4が、本来はスレーブ局S7の接続端子A7に接続するはずが、スレーブ局S5の接続端子A5に誤接続しているとする。その他の接続は図10と同じであり正常状態とする。 Further, it is assumed that the connection terminal B4 of the slave station S4 is supposed to be connected to the connection terminal A7 of the slave station S7, but is erroneously connected to the connection terminal A5 of the slave station S5. Other connections are the same as in FIG. 10 and are in a normal state.

スレーブ局S4において、分岐端子T4がスレーブ局S7の接続端子A7に誤接続し、接続端子B4がスレーブ局S5の接続端子A5に誤接続している。このため、スレーブ局S4の接続情報管理部13−4には、図10で上述したような接続情報収集処理によって、接続情報(A4−B1)、(T4−A7)、(B4−A5)が格納される。 In the slave station S4, the branch terminal T4 is erroneously connected to the connection terminal A7 of the slave station S7, and the connection terminal B4 is erroneously connected to the connection terminal A5 of the slave station S5. Therefore, the connection information management unit 13-4 of the slave station S4 receives the connection information (A4-B1), (T4-A7), and (B4-A5) by the connection information collection process as described above in FIG. Stored.

スレーブ局S5において、接続端子A5がスレーブ局S4の接続端子B4に誤接続している。このため、スレーブ局S5の接続情報管理部13−5には、図10で上述したような接続情報収集処理によって、接続情報(A5−B4)、(T5−)、(B5−A6)が格納される。 In the slave station S5, the connection terminal A5 is erroneously connected to the connection terminal B4 of the slave station S4. Therefore, the connection information management unit 13-5 of the slave station S5 stores the connection information (A5-B4), (T5-), and (B5-A6) by the connection information collection process as described above in FIG. Will be done.

スレーブ局S7において、接続端子A7がスレーブ局S4の分岐端子T4に誤接続している。このため、スレーブ局S7の接続情報管理部13−7には、図10で上述したような接続情報収集処理によって、接続情報(A7−T4)、(T7−)、(B7−)が格納される。なお、その他の接続情報管理部の格納状態は図10で示した状態と同様である。 In the slave station S7, the connection terminal A7 is erroneously connected to the branch terminal T4 of the slave station S4. Therefore, the connection information management unit 13-7 of the slave station S7 stores the connection information (A7-T4), (T7-), and (B7-) by the connection information collection process as described above in FIG. NS. The storage state of the other connection information management units is the same as the state shown in FIG.

図17は接続情報が含まれる接続構成情報フレームの一例を示す図である。接続構成情報フレームF2−3は、通信システム1−2cの接続状態において生成されるフレームであり、マスタ局M0で受信される。 FIG. 17 is a diagram showing an example of a connection configuration information frame including connection information. The connection configuration information frame F2-3 is a frame generated in the connected state of the communication system 1-2c, and is received by the master station M0.

マスタ局M0では、接続構成情報フレームF2−3を受信すると、スレーブ局S1〜S7の接続情報D3を保存管理する。
また、接続構成情報フレームF2−3のフレームの順序は、図5で上述したフレーム伝送制御によって、f1a、f2a、f3a、f4a、f7a、f5a、f6aとなって、正常接続時の並び順と異なるため、マスタ局M0は、システム内に誤接続が生じていることを検出する。
When the master station M0 receives the connection configuration information frame F2-3, the master station M0 saves and manages the connection information D3 of the slave stations S1 to S7.
Further, the frame order of the connection configuration information frame F2-3 becomes f1a, f2a, f3a, f4a, f7a, f5a, f6a by the frame transmission control described above in FIG. 5, which is different from the order at the time of normal connection. Therefore, the master station M0 detects that an erroneous connection has occurred in the system.

さらに、マスタ局M0は、正常な接続状態のときの接続情報D0(図11)と、接続情報D3とを比較して、同一スレーブ局毎に不一致となる接続情報を接続情報D3の中から検出する。 Further, the master station M0 compares the connection information D0 (FIG. 11) in the normal connection state with the connection information D3, and detects the connection information that does not match for each of the same slave stations from the connection information D3. do.

この例では、接続情報D3において、スレーブ局S4の接続情報(T4−A7)、(B4−A5)、スレーブ局S5の接続情報(A5−B4)およびスレーブ局S7の接続情報(A7−T4)が接続情報D0とは異なる。 In this example, in the connection information D3, the connection information (T4-A7) and (B4-A5) of the slave station S4, the connection information (A5-B4) of the slave station S5, and the connection information (A7-T4) of the slave station S7. Is different from the connection information D0.

したがって、マスタ局M0は、この検出結果から、スレーブ局S4の分岐端子T4、スレーブ局S7の接続端子A7、スレーブ局S4の接続端子B4、スレーブ局S5の接続端子A5が誤接続されていることを特定する。 Therefore, from this detection result, the master station M0 erroneously connects the branch terminal T4 of the slave station S4, the connection terminal A7 of the slave station S7, the connection terminal B4 of the slave station S4, and the connection terminal A5 of the slave station S5. To identify.

次に接続情報収集処理の変形例について説明する。変形例では、端子の識別情報が通信品質要求メッセージに含めて送信され、通信品質要求メッセージを受信した局では、通信品質応答メッセージに端子の識別情報を含めて返信することで接続情報の収集を行う。 Next, a modified example of the connection information collection process will be described. In the modified example, the terminal identification information is included in the communication quality request message and transmitted, and the station that received the communication quality request message replies with the terminal identification information included in the communication quality response message to collect the connection information. conduct.

図18は接続情報収集処理の変形例の動作を説明するための図である。
〔St51〕マスタ局M0は、物理接続のある接続端子B0から、識別情報「B0」を付加した通信品質要求メッセージを送信する。
FIG. 18 is a diagram for explaining the operation of a modified example of the connection information collection process.
[St51] The master station M0 transmits a communication quality request message to which the identification information "B0" is added from the connection terminal B0 having a physical connection.

〔St52〕スレーブ局S1は、接続端子A1で通信品質要求メッセージを受信すると、識別情報「A1」を付加した通信品質応答メッセージを接続端子A1より送信する。
また、同時に、スレーブ局S1は、受信した通信品質要求メッセージに付加されている送信元の識別情報「B0」と、識別情報「B0」を受信した接続端子A1の識別情報「A1」とを合わせて、接続情報(A1−B0)を接続情報管理部13−1に保存する。
[St52] When the slave station S1 receives the communication quality request message at the connection terminal A1, the slave station S1 transmits a communication quality response message with the identification information "A1" added from the connection terminal A1.
At the same time, the slave station S1 combines the source identification information "B0" added to the received communication quality request message with the identification information "A1" of the connection terminal A1 that has received the identification information "B0". Then, the connection information (A1-B0) is stored in the connection information management unit 13-1.

〔St53〕マスタ局M0は、接続端子B0の識別情報「B0」と、受信した通信品質応答メッセージに付加されている送信先の識別情報「A1」とを合わせて、接続情報(B0−A1)を接続情報管理部13−0(図3に示した接続構成情報フレーム管理部23で実現される)に保存する。 [St53] The master station M0 combines the identification information "B0" of the connection terminal B0 and the identification information "A1" of the destination added to the received communication quality response message to form the connection information (B0-A1). Is stored in the connection information management unit 13-0 (realized by the connection configuration information frame management unit 23 shown in FIG. 3).

〔St54−1〕スレーブ局S1は、通信品質応答メッセージをマスタ局M0に送信した後、物理接続のある分岐端子T1から、識別情報「T1」を付加した通信品質要求メッセージを送信する。 [St54-1] After transmitting the communication quality response message to the master station M0, the slave station S1 transmits a communication quality request message to which the identification information "T1" is added from the branch terminal T1 having a physical connection.

〔St54−2〕スレーブ局S1は、通信品質応答メッセージをマスタ局M0に送信した後、物理接続のある接続端子B1から、識別情報「B1」を付加した通信品質要求メッセージを送信する。 [St54-2] The slave station S1 transmits a communication quality response message to the master station M0, and then transmits a communication quality request message to which the identification information "B1" is added from the connection terminal B1 having a physical connection.

〔St55〕スレーブ局S2は、接続端子A2で通信品質要求メッセージを受信すると、自身の接続端子A2の識別情報「A2」を付加した通信品質応答メッセージを接続端子A2より送信する。 [St55] When the slave station S2 receives the communication quality request message at the connection terminal A2, the slave station S2 transmits a communication quality response message with the identification information "A2" of its own connection terminal A2 added from the connection terminal A2.

また、同時に、スレーブ局S2は、受信した通信品質要求メッセージに付加されている送信元の識別情報「T1」と、識別情報「T1」を受信した接続端子A2の識別情報「A2」とを合わせて、接続情報(A2−T1)を接続情報管理部13−2に保存する。 At the same time, the slave station S2 combines the source identification information "T1" added to the received communication quality request message with the identification information "A2" of the connection terminal A2 that has received the identification information "T1". Then, the connection information (A2-T1) is saved in the connection information management unit 13-2.

〔St56〕スレーブ局S1は、分岐端子T1の識別情報「T1」と、受信した通信品質応答メッセージに付加されている送信先の識別情報「A2」とを合わせて、接続情報(T1−A2)を接続情報管理部13−1に保存する。 [St56] The slave station S1 combines the identification information "T1" of the branch terminal T1 and the destination identification information "A2" added to the received communication quality response message to provide connection information (T1-A2). Is saved in the connection information management unit 13-1.

〔St57〕スレーブ局S4は、接続端子A4で通信品質要求メッセージを受信すると、識別情報「A4」を付加した通信品質応答メッセージを接続端子A4から送信する。
また、同時に、スレーブ局S4は、受信した通信品質要求メッセージに付加されている送信元の識別情報「B1」と、識別情報「B1」を受信した接続端子A4の識別情報「A4」とを合わせて、接続情報(A4−B1)を接続情報管理部13−4に保存する。
[St57] When the slave station S4 receives the communication quality request message at the connection terminal A4, the slave station S4 transmits a communication quality response message with the identification information "A4" added from the connection terminal A4.
At the same time, the slave station S4 combines the source identification information "B1" added to the received communication quality request message with the identification information "A4" of the connection terminal A4 that has received the identification information "B1". Then, the connection information (A4-B1) is saved in the connection information management unit 13-4.

〔St58〕スレーブ局S1は、接続端子B1の識別情報「B1」と、受信した通信品質応答メッセージに付加されている送信先の識別情報「A4」とを合わせて、接続情報(B1−A4)を接続情報管理部13−1に保存する。以下同様にして各局において接続情報が収集されていく。 [St58] The slave station S1 combines the identification information "B1" of the connection terminal B1 and the destination identification information "A4" added to the received communication quality response message to form the connection information (B1-A4). Is saved in the connection information management unit 13-1. Connection information is collected at each station in the same manner.

このような動作によっても接続情報を効率よく各局において収集することができる。なお、変形例の場合の接続情報収集処理においても、装置起動時(システムの初期運用時や各局の接続変更時等)に、スレーブ局S1〜S7が自律的に行う(自律的に通信品質要求/応答メッセージをやりとりして接続情報を収集する)ものである。 Even with such an operation, connection information can be efficiently collected at each station. In the connection information collection process in the modified example, the slave stations S1 to S7 autonomously perform (autonomous communication quality request) when the device is started (when the system is initially operated, when the connection of each station is changed, etc.). / It exchanges response messages and collects connection information).

以上説明したように、本発明によれば、2つの接続端子と1つの分岐端子を持つ局から構成されるバス接続形態の通信システムにおいて、局間の接続構成が複雑な場合や、誤接続箇所が複数あるような場合であっても、回線の誤接続箇所を早期にかつ容易に特定することができ、運用性、保守性の向上を図ることが可能になる。 As described above, according to the present invention, in a bus connection type communication system composed of a station having two connection terminals and one branch terminal, the connection configuration between stations is complicated or an erroneous connection location. Even when there are a plurality of lines, it is possible to quickly and easily identify the erroneous connection location of the line, and it is possible to improve operability and maintainability.

以上、実施の形態を例示したが、実施の形態で示した各部の構成は同様の機能を有する他のものに置換することができる。また、他の任意の構成物や工程が付加されてもよい。 Although the embodiment has been illustrated above, the configuration of each part shown in the embodiment can be replaced with another having the same function. Further, any other components or processes may be added.

1 通信装置
1a 回線接続端子
1b 制御部
1c 接続情報管理部
A、A1、A2、A3 接続端子(第1の接続端子)
B、B0、B1、B2、B3 接続端子(第2の接続端子)
T、T0、T1、T2、T3 分岐端子
1A、1B 通信システム
M0 マスタ局
S1〜S3 スレーブ局
f1〜f3 フレーム
d1、d2 接続情報
1 Communication device 1a Line connection terminal 1b Control unit 1c Connection information management unit A, A1, A2, A3 Connection terminal (first connection terminal)
B, B0, B1, B2, B3 connection terminal (second connection terminal)
T, T0, T1, T2, T3 Branch terminal 1A, 1B Communication system M0 Master station S1 to S3 Slave station f1 to f3 Frame d1, d2 Connection information

Claims (12)

第1の接続端子、第2の接続端子および分岐端子を含む回線接続端子と、
前記回線接続端子を介してフレームの伝送制御を行う制御部と、
を備え、
前記制御部は、
前記第1の接続端子で受信した第1のフレームには自装置情報を追加して自装置情報追加フレームを生成し、前記自装置情報追加フレームを出力する場合、
前記分岐端子と前記第2の接続端子共に物理接続がある場合は、前記自装置情報追加フレームを前記分岐端子から出力し、
前記分岐端子に物理接続がなく、前記第2の接続端子に物理接続がある場合は、前記自装置情報追加フレームを前記第2の接続端子から出力し、
前記分岐端子と前記第2の接続端子共に物理接続がない場合は、前記自装置情報追加フレームを前記第1の接続端子から出力し、
前記分岐端子で受信した第2のフレームには前記自装置情報は追加せずに前記第2の接続端子から前記第2のフレームを中継送信し、
前記第2の接続端子で受信した第3のフレームには前記自装置情報は追加せずに前記第1の接続端子から前記第3のフレームを中継送信し、
自装置側の前記回線接続端子と他装置側の前記回線接続端子との物理接続関係である接続情報を収集して、前記接続情報を前記自装置情報に含める、
ことを特徴とする通信装置。
A line connection terminal comprising a first connection terminal, a second connection terminal and branch pin,
A control unit that controls frame transmission via the line connection terminal,
With
The control unit
When the own device information is added to the first frame received by the first connection terminal to generate the own device information addition frame and the own device information addition frame is output.
When both the branch terminal and the second connection terminal have a physical connection, the own device information addition frame is output from the branch terminal.
If the branch terminal has no physical connection and the second connection terminal has a physical connection, the own device information addition frame is output from the second connection terminal.
If neither the branch terminal nor the second connection terminal has a physical connection, the own device information addition frame is output from the first connection terminal.
The second frame is relay-transmitted from the second connection terminal without adding the own device information to the second frame received at the branch terminal.
The third frame is relay-transmitted from the first connection terminal without adding the own device information to the third frame received at the second connection terminal.
The connection information which is the physical connection relationship between the line connection terminal on the own device side and the line connection terminal on the other device side is collected, and the connection information is included in the own device information.
A communication device characterized by that.
前記通信装置はマスタ局であり、前記制御部は、前記フレームに追加された前記自装置情報の配列にもとづいて誤接続の発生有無を検出し、かつすべてのスレーブ局で収集された前記接続情報を取得して、あらかじめ保存してある正常時の回線接続状態の正常接続情報と、取得した前記接続情報とを比較して誤接続箇所の検出を行うことを特徴とする請求項1記載の通信装置。 The communication device is a master station, and the control unit detects the presence or absence of erroneous connection based on the array of own device information added to the frame, and the connection information collected by all slave stations. The communication according to claim 1, wherein the normal connection information of the normal line connection state stored in advance is compared with the acquired connection information to detect an erroneous connection location. Device. 前記制御部は、
前記第1の接続端子の識別情報を前記第1の接続端子から送信し、前記第1の接続端子に接続される他装置側の前記回線接続端子の識別情報を前記第1の接続端子で受信したか否かを検出して、前記第1の接続端子の物理接続関係である第1の接続情報を収集し、
前記第2の接続端子の識別情報を前記第2の接続端子から送信し、前記第2の接続端子に接続される他装置側の前記回線接続端子の識別情報を前記第2の接続端子で受信したか否かを検出して、前記第2の接続端子の物理接続関係である第2の接続情報を収集し、
前記分岐端子の識別情報を前記分岐端子から送信し、前記分岐端子に接続される他装置側の前記回線接続端子の識別情報を前記分岐端子で受信したか否かを検出して、前記分岐端子の物理接続関係である第3の接続情報を収集する、
ことを特徴とする請求項1記載の通信装置。
The control unit
The identification information of the first connection terminal is transmitted from the first connection terminal, and the identification information of the line connection terminal on the other device side connected to the first connection terminal is received by the first connection terminal. It detects whether or not it has been done, collects the first connection information which is the physical connection relationship of the first connection terminal, and collects the first connection information.
The identification information of the second connection terminal is transmitted from the second connection terminal, and the identification information of the line connection terminal on the other device side connected to the second connection terminal is received by the second connection terminal. It detects whether or not it has been done, collects the second connection information which is the physical connection relationship of the second connection terminal, and collects the second connection information.
The identification information of the branch terminal is transmitted from the branch terminal, and it is detected whether or not the identification information of the line connection terminal on the other device side connected to the branch terminal is received by the branch terminal, and the branch terminal is detected. Collect the third connection information, which is the physical connection relationship of
The communication device according to claim 1.
前記制御部は、前記第1の接続端子の識別情報、前記第2の接続端子の識別情報および前記分岐端子の識別情報を、装置起動時に自律的に送信することを特徴とする請求項3記載の通信装置。 3. The third aspect of the present invention, wherein the control unit autonomously transmits the identification information of the first connection terminal, the identification information of the second connection terminal, and the identification information of the branch terminal when the device is started. Communication device. 前記制御部は、
前記第1の接続端子の識別情報を第1の要求メッセージに含めて前記第1の接続端子から送信し、前記第1の要求メッセージを受信した他装置から、前記第1の接続端子に接続される他装置側の前記回線接続端子の識別情報を含む第1の応答メッセージを前記第1の接続端子で受信したか否かを検出して、前記第1の接続端子の物理接続関係である第1の接続情報を収集し、
前記第2の接続端子の識別情報を第2の要求メッセージに含めて前記第2の接続端子から送信し、前記第2の要求メッセージを受信した他装置から、前記第2の接続端子に接続される他装置側の前記回線接続端子の識別情報を含む第2の応答メッセージを前記第2の接続端子で受信したか否かを検出して、前記第2の接続端子の物理接続関係である第2の接続情報を収集し、
前記分岐端子の識別情報を第3の要求メッセージに含めて前記分岐端子から送信し、前記第3の要求メッセージを受信した他装置から、前記分岐端子に接続される他装置側の前記回線接続端子の識別情報を含む第3の応答メッセージを前記分岐端子で受信したか否かを検出して、前記分岐端子の物理接続関係である第3の接続情報を収集する、
ことを特徴とする請求項1記載の通信装置。
The control unit
The identification information of the first connection terminal is included in the first request message and transmitted from the first connection terminal, and is connected to the first connection terminal from another device that has received the first request message. It is the physical connection relationship of the first connection terminal by detecting whether or not the first response message including the identification information of the line connection terminal on the other device side is received by the first connection terminal. Collect the connection information of 1 and
The identification information of the second connection terminal is included in the second request message and transmitted from the second connection terminal, and is connected to the second connection terminal from another device that has received the second request message. It is the physical connection relationship of the second connection terminal by detecting whether or not the second response message including the identification information of the line connection terminal on the other device side is received by the second connection terminal. Collect the connection information of 2 and
The line connection terminal on the other device side connected to the branch terminal from another device that includes the identification information of the branch terminal in the third request message and transmits it from the branch terminal and receives the third request message. Detects whether or not a third response message including the identification information of the above is received at the branch terminal, and collects the third connection information which is the physical connection relationship of the branch terminal.
The communication device according to claim 1.
前記制御部は、前記第1の要求メッセージ、前記第2の要求メッセージ、前記第3の要求メッセージおよび前記第1の応答メッセージ、前記第2の応答メッセージ、前記第3の応答メッセージによる通信を、装置起動時に自律的に行うことを特徴とする請求項5記載の通信装置。 The control unit communicates with the first request message , the second request message, the third request message and the first response message , the second response message, and the third response message . The communication device according to claim 5, wherein the communication device is autonomously performed when the device is activated. 第1のマスタ側接続端子、第2のマスタ側接続端子およびマスタ側分岐端子を含むマスタ側回線接続端子と、
前記マスタ側回線接続端子を介し、スレーブ局に対してフレームの伝送制御を行うマスタ側制御部と、
を含むマスタ局と、
第1のスレーブ側接続端子、第2のスレーブ側接続端子およびスレーブ側分岐端子を含むスレーブ側回線接続端子と、
前記スレーブ側回線接続端子を介してフレームの伝送制御を行うスレーブ側制御部と、
を含む複数のスレーブ局と、
を備え、
前記スレーブ側制御部は、
前記第1のスレーブ側接続端子で受信した第1のフレームには自局情報を追加して自局情報追加フレームを生成し、前記自局情報追加フレームを出力する場合、
前記スレーブ側分岐端子と前記第2のスレーブ側接続端子共に物理接続がある場合は、前記自局情報追加フレームを前記スレーブ側分岐端子から出力し、
前記スレーブ側分岐端子に物理接続がなく、前記第2のスレーブ側接続端子に物理接続がある場合は、前記自局情報追加フレームを前記第2のスレーブ側接続端子から出力し、
前記スレーブ側分岐端子と前記第2のスレーブ側接続端子共に物理接続がない場合は、前記自局情報追加フレームを前記第1のスレーブ側接続端子から出力し、
前記スレーブ側分岐端子で受信した第2のフレームには前記自局情報は追加せずに前記第2のスレーブ側接続端子から前記第2のフレームを中継送信し、
前記第2のスレーブ側接続端子で受信した第3のフレームには前記自局情報は追加せずに前記第1のスレーブ側接続端子から前記第3のフレームを中継送信し、
自局側の前記スレーブ側回線接続端子と、他局側の前記スレーブ側回線接続端子または前記マスタ側回線接続端子との物理接続関係である接続情報を収集して、前記接続情報を前記自局情報に含める、
ことを特徴とする通信システム。
A master-side line connection terminals including a first master-side connecting terminal, a second master-side connection terminal and the master-side branching pin,
Through the master-side line connection terminals, and a master control portion for performing transmission control of frame to slave station,
Master station including
And the slave-side line connection terminals including a first slave-side connection terminal, the second slave-side connection terminal and the slave-side branching pin,
A slave-side control unit that controls frame transmission via the slave-side line connection terminal,
With multiple slave stations, including
With
The slave side control unit
When the own station information is added to the first frame received by the first slave side connection terminal to generate the own station information addition frame and the own station information addition frame is output.
When both the slave side branch terminal and the second slave side connection terminal have a physical connection, the own station information addition frame is output from the slave side branch terminal.
When the slave side branch terminal has no physical connection and the second slave side connection terminal has a physical connection, the own station information addition frame is output from the second slave side connection terminal.
If neither the slave side branch terminal nor the second slave side connection terminal has a physical connection, the own station information addition frame is output from the first slave side connection terminal.
The second frame is relay-transmitted from the second slave-side connection terminal without adding the own station information to the second frame received at the slave-side branch terminal.
The third frame is relay-transmitted from the first slave-side connection terminal without adding the own station information to the third frame received by the second slave-side connection terminal.
The connection information that is the physical connection relationship between the slave side line connection terminal on the own station side and the slave side line connection terminal on the other station side or the master side line connection terminal is collected, and the connection information is used as the own station. Include in information,
A communication system characterized by that.
前記マスタ側制御部は、前記フレームに追加された前記スレーブ局の前記自局情報の配列にもとづいて誤接続の発生有無を検出し、かつ前記スレーブ局で収集された前記接続情報を取得して、あらかじめ保存してある正常時の回線接続状態の正常接続情報と、取得した前記接続情報とを比較して誤接続箇所の検出を行うことを特徴とする請求項7記載の通信システム。 The master-side control unit detects the presence or absence of erroneous connection based on the array of own station information of the slave station added to the frame, and acquires the connection information collected by the slave station. The communication system according to claim 7, wherein a erroneous connection location is detected by comparing the normal connection information of the normal line connection state stored in advance with the acquired connection information. 前記スレーブ側制御部は、
前記第1のスレーブ側接続端子の識別情報を前記第1のスレーブ側接続端子から送信し、前記第1のスレーブ側接続端子に接続される他局側の前記スレーブ側回線接続端子の識別情報を前記第1のスレーブ側接続端子で受信したか否かを検出して、前記第1のスレーブ側接続端子の物理接続関係である第1の接続情報を収集し、
前記第2のスレーブ側接続端子の識別情報を前記第2のスレーブ側接続端子から送信し、前記第2のスレーブ側接続端子に接続される他局側の前記スレーブ側回線接続端子の識別情報を前記第2のスレーブ側接続端子で受信したか否かを検出して、前記第2のスレーブ側接続端子の物理接続関係である第2の接続情報を収集し、
前記スレーブ側分岐端子の識別情報を前記スレーブ側分岐端子から送信し、前記スレーブ側分岐端子に接続される他局側の前記スレーブ側回線接続端子の識別情報を前記スレーブ側分岐端子で受信したか否かを検出して、前記スレーブ側分岐端子の物理接続関係である第3の接続情報を収集する、
ことを特徴とする請求項7記載の通信システム。
The slave side control unit
The identification information of the first slave side connection terminal is transmitted from the first slave side connection terminal, and the identification information of the slave side line connection terminal on the other station side connected to the first slave side connection terminal is transmitted. Detecting whether or not the information was received at the first slave side connection terminal, the first connection information which is the physical connection relationship of the first slave side connection terminal is collected, and the first connection information is collected.
The identification information of the second slave side connection terminal is transmitted from the second slave side connection terminal, and the identification information of the slave side line connection terminal on the other station side connected to the second slave side connection terminal is transmitted. Detecting whether or not the information was received at the second slave side connection terminal, the second connection information which is the physical connection relationship of the second slave side connection terminal is collected, and the second connection information is collected.
Whether the identification information of the slave side branch terminal is transmitted from the slave side branch terminal and the identification information of the slave side line connection terminal on the other station side connected to the slave side branch terminal is received by the slave side branch terminal. Detecting whether or not, the third connection information which is the physical connection relationship of the slave side branch terminal is collected.
7. The communication system according to claim 7.
前記スレーブ側制御部は、前記第1のスレーブ側接続端子の識別情報、前記第2のスレーブ側接続端子の識別情報および前記スレーブ側分岐端子の識別情報を、装置起動時に自律的に送信することを特徴とする請求項9記載の通信システム。 The slave-side control unit autonomously transmits the identification information of the first slave-side connection terminal, the identification information of the second slave-side connection terminal, and the identification information of the slave-side branch terminal at the time of starting the device. 9. The communication system according to claim 9. 前記スレーブ側制御部は、
前記第1のスレーブ側接続端子の識別情報を第1の要求メッセージに含めて前記第1のスレーブ側接続端子から送信し、前記第1の要求メッセージを受信した他局から、前記第1のスレーブ側接続端子に接続される他局側の前記スレーブ側回線接続端子の識別情報を含む第1の応答メッセージを前記第1のスレーブ側接続端子で受信したか否かを検出して、前記第1のスレーブ側接続端子の物理接続関係である第1の接続情報を収集し、
前記第2のスレーブ側接続端子の識別情報を第2の要求メッセージに含めて前記第2のスレーブ側接続端子から送信し、前記第2の要求メッセージを受信した他局から、前記第2のスレーブ側接続端子に接続される他局側の前記スレーブ側回線接続端子の識別情報を含む第2の応答メッセージを前記第2のスレーブ側接続端子で受信したか否かを検出して、前記第2のスレーブ側接続端子の物理接続関係である第2の接続情報を収集し、
前記スレーブ側分岐端子の識別情報を第3の要求メッセージに含めて前記スレーブ側分岐端子から送信し、前記第3の要求メッセージを受信した他局から、前記スレーブ側分岐端子に接続される他局側の前記スレーブ側回線接続端子の識別情報を含む第3の応答メッセージを前記スレーブ側分岐端子で受信したか否かを検出して、前記スレーブ側分岐端子の物理接続関係である第3の接続情報を収集する、
ことを特徴とする請求項7記載の通信システム。
The slave side control unit
The identification information of the first slave side connection terminal is included in the first request message and transmitted from the first slave side connection terminal, and the first slave is transmitted from another station that has received the first request message. The first response message including the identification information of the slave side line connection terminal on the other station side connected to the side connection terminal is detected by detecting whether or not the first response message is received by the first slave side connection terminal. Collect the first connection information, which is the physical connection relationship of the slave side connection terminal of
The identification information of the second slave side connection terminal is included in the second request message and transmitted from the second slave side connection terminal, and the second slave is transmitted from another station that has received the second request message. The second response message including the identification information of the slave side line connection terminal on the other station side connected to the side connection terminal is detected by detecting whether or not the second response message is received by the second slave side connection terminal. Collect the second connection information, which is the physical connection relationship of the slave side connection terminal of
The identification information of the slave-side branch terminal is included in the third request message and transmitted from the slave-side branch terminal, and another station connected to the slave-side branch terminal from the other station that receives the third request message. It is detected whether or not a third response message including the identification information of the slave side line connection terminal on the side is received by the slave side branch terminal, and a third connection which is a physical connection relationship of the slave side branch terminal is obtained. Gather information,
7. The communication system according to claim 7.
前記スレーブ側制御部は、前記第1の要求メッセージ、前記第2の要求メッセージ、前記第3の要求メッセージおよび前記第1の応答メッセージ、前記第2の応答メッセージ、前記第3の応答メッセージによる通信を、装置起動時に自律的に行うことを特徴とする請求項11記載の通信システム。 The slave-side control unit communicates with the first request message , the second request message, the third request message, the first response message , the second response message, and the third response message . 11. The communication system according to claim 11, wherein the communication system is autonomously performed when the device is activated.
JP2017141431A 2017-07-21 2017-07-21 Communication equipment and communication systems Active JP6943053B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017141431A JP6943053B2 (en) 2017-07-21 2017-07-21 Communication equipment and communication systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017141431A JP6943053B2 (en) 2017-07-21 2017-07-21 Communication equipment and communication systems

Publications (2)

Publication Number Publication Date
JP2019022167A JP2019022167A (en) 2019-02-07
JP6943053B2 true JP6943053B2 (en) 2021-09-29

Family

ID=65355800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017141431A Active JP6943053B2 (en) 2017-07-21 2017-07-21 Communication equipment and communication systems

Country Status (1)

Country Link
JP (1) JP6943053B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7721204B1 (en) * 2024-12-26 2025-08-12 株式会社Leap Monitoring system, monitoring method, and monitoring program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5169909B2 (en) * 2009-03-03 2013-03-27 富士電機株式会社 Ring network system and ring network system recovery method
JP5381379B2 (en) * 2009-06-18 2014-01-08 富士電機株式会社 Network system and system configuration analysis method for network system
JP2017073592A (en) * 2015-10-05 2017-04-13 富士電機株式会社 Control system and relay device

Also Published As

Publication number Publication date
JP2019022167A (en) 2019-02-07

Similar Documents

Publication Publication Date Title
JP6882991B2 (en) How to assemble an electric switch and an assembly aid that simplifies the assembly of such a switch
US5845149A (en) Industrial controller with I/O mapping table for linking software addresses to physical network addresses
US9823641B2 (en) PLC communication system
JP6590114B2 (en) Network configuration information generation method
KR20210102024A (en) Management system for automatic line numbering and real-time failure analysis of integrated distribution network systems
US20180019933A1 (en) Information processing apparatus, information processing program, and information processing method
JP6816554B2 (en) Control systems, controllers and control programs
JP6943053B2 (en) Communication equipment and communication systems
EP3952224B1 (en) Master device, arithmetic processing device, programmable logic controller, network, and information processing method
CN114268650B (en) Configuration method and system for establishing communication connection
CN101410766B (en) Control and communication system including an engineering unit
CN100511059C (en) Integration system, system integration method
CN113545013B (en) Network management device, management method, and recording medium
US8539122B2 (en) Submodule and method for exchanging peripheral data
US20130246684A1 (en) System and method for communicating with a plurality of devices
JP6419010B2 (en) Network monitoring apparatus, network monitoring method and program
KR20200001070A (en) Apparatus and method for controlling network failure with artificial intelligence based on analytic rule
JP2012235335A (en) Method and device for detecting incorrect connection between devices
CN113826052B (en) Data collection device, data collection method, and computer-readable non-transitory recording medium
KR102216308B1 (en) Interface Middleware System Having Cluster Architecture for Smart Factory Platform
JPH0973304A (en) Programmable controller control system
CN113190600A (en) Multi-system data fusion method and application platform
CN114764541B (en) A method and device for predictive maintenance of equipment based on joint learning
KR102261342B1 (en) Artificial and Natural earthquake early warning method using multiple algorithms
TWI820717B (en) Decentralized manufacturing-field intelligent assistance system and its bridge interface device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20191212

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20191212

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210511

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210623

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210823

R150 Certificate of patent or registration of utility model

Ref document number: 6943053

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