JP5894553B2 - Control system, line connection diagnosis method and program - Google Patents

Control system, line connection diagnosis method and program Download PDF

Info

Publication number
JP5894553B2
JP5894553B2 JP2013068201A JP2013068201A JP5894553B2 JP 5894553 B2 JP5894553 B2 JP 5894553B2 JP 2013068201 A JP2013068201 A JP 2013068201A JP 2013068201 A JP2013068201 A JP 2013068201A JP 5894553 B2 JP5894553 B2 JP 5894553B2
Authority
JP
Japan
Prior art keywords
line
control unit
frame
input
communication control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013068201A
Other languages
Japanese (ja)
Other versions
JP2014192796A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2013068201A priority Critical patent/JP5894553B2/en
Publication of JP2014192796A publication Critical patent/JP2014192796A/en
Application granted granted Critical
Publication of JP5894553B2 publication Critical patent/JP5894553B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、二重化された演算装置と、それら演算装置に対して複数の制御装置がそれぞれ二重化された回線によってリング接続された環境において、各装置間を接続する回線の誤接続箇所検出を可能にする制御システム、回線接続診断方法及びプログラムに関する。   The present invention makes it possible to detect erroneous connection locations of lines connecting each device in an environment in which a redundant arithmetic device and a plurality of control devices are connected to each other by a redundant line. The present invention relates to a control system, a line connection diagnosis method, and a program.

従来、原子力発電、火力発電、水力発電等のプラントを制御するための制御システムがある。このような制御システムでは、プラント制御の信頼性を向上させるために演算装置、光中継装置、入出力装置等の制御装置を二重化し、これら二重化した各装置間を二重化した回線によりリング方式で接続して運用することが一般的であった。この制御システムでは二重化された演算装置のうち、一方の演算装置が故障した場合には、他方の正常な演算装置に速やかに制御を切替えて、各種のセンサ等を含む制御対象に対する制御を継続することが重要である。このような理由から、制御システムを構築する際には、二台の演算装置を同一のリング上に配置せず、各演算装置から見て独立したリングで接続する方式を採用している。   Conventionally, there are control systems for controlling plants such as nuclear power generation, thermal power generation, and hydropower generation. In such a control system, in order to improve the reliability of plant control, control devices such as arithmetic devices, optical repeaters, and input / output devices are duplexed, and these duplexed devices are connected by a ring system using a duplex line. It was common to operate in this way. In this control system, when one of the redundant computing devices fails, the control is quickly switched to the other normal computing device, and the control of the control target including various sensors is continued. This is very important. For this reason, when constructing a control system, a system is adopted in which two arithmetic devices are not arranged on the same ring, but are connected by an independent ring as seen from each arithmetic device.

特許文献1には、二重化した伝送路を運用系及び予備系として複数の伝送装置を夫々ループ接続し、誤接続が生じている場合は、接続情報ビット列を識別することにより誤接続の位置を特定可能とする技術が開示されている。   In Patent Document 1, a plurality of transmission apparatuses are connected in a loop using a duplexed transmission path as an active system and a standby system, and if an erroneous connection has occurred, the position of the erroneous connection is identified by identifying a connection information bit string. Techniques that enable it are disclosed.

特開2002−341936号公報JP 2002-341936 A

ところで、大規模な制御システムでは、制御装置の総数が百台以上となることも多く、各制御装置の間を光ケーブル等の回線で接続する作業は膨大なものとなる。さらに、プラント制御の信頼性を向上させるために回線の二重化を図った場合、回線に必要な配線数は2倍となる。そして、二重化した回線によって構成されるリング方式は、通信の信頼性を向上させるために、制御システムの運用前に回線の誤接続を確認することは必須である。   By the way, in a large-scale control system, the total number of control devices often reaches 100 or more, and the work of connecting each control device with a line such as an optical cable becomes enormous. Furthermore, when the line is duplicated to improve the reliability of the plant control, the number of wires required for the line is doubled. In the ring system constituted by the duplexed lines, it is essential to confirm the erroneous connection of the lines before the operation of the control system in order to improve the reliability of communication.

しかし、従来、回線の配線及び確認作業は作業員の目視により行われており、その作業工数の多さから、ヒューマンエラーによる誤接続箇所の見落としが発生していた。   Conventionally, however, wiring and confirmation work of lines has been carried out by visual inspection of workers, and due to the large number of work steps, erroneous connection locations due to human errors have occurred.

また、各演算装置から見て独立したリング接続となる方式を採用した場合、誤接続された回線を通過したフレームが送信元の演算装置とは異なる演算装置に届いてしまう。このため、特許文献1に開示された技術を用いたとしても、送信元の演算装置は、フレームがどのような経路を辿ったのか把握することができず、回線の誤接続を検知するには不十分であった。   Further, when a method of ring connection independent from each arithmetic device is adopted, a frame that has passed through the misconnected line reaches a different arithmetic device from the source arithmetic device. For this reason, even if the technique disclosed in Patent Literature 1 is used, the transmission source arithmetic device cannot grasp what route the frame has taken, and can detect an erroneous connection of the line. It was insufficient.

本発明はこのような状況に鑑みて成されたものであり、制御システムを構成する回線の確認作業を容易にすることを目的とする。   The present invention has been made in view of such a situation, and an object of the present invention is to facilitate the confirmation work of the lines constituting the control system.

本発明は、二重化された演算装置と、二重化された入出力装置と、を備えた制御システムに関する。
演算装置は、二重化された1系回線及び2系回線によってそれぞれリング接続され、それぞれ上位の端末から指示された制御対象に制御命令を出力する。
入出力装置は、1系回線及び2系回線によってそれぞれリング接続され、演算装置から受け取った制御命令を制御対象に出力し、制御対象から受け取った応答結果を演算装置に送信する。
この入出力装置は、1系回線によって演算装置から制御命令を受け取り、演算装置に応答結果を送信する第1の1系通信制御部と、第1の1系通信制御部に対して第1の通信路によって接続され、2系回線によって演算装置から制御命令を受け取り、演算装置に応答結果を送信する第1の2系通信制御部と、を備える。
そして、演算装置は、1系回線又は2系回線を識別するための第1の系情報を付加した要求フレームを、入出力装置を宛先として送信する。
入出力装置の第1の1系通信制御部は、入出力装置を宛先として演算装置から送信された要求フレームの第1の系情報が1系回線を示す場合、又は第1の2系通信制御部から第1の通信路を経て要求フレームに対する応答フレームを受信した場合には、要求フレームを受信した1系回線又は2系回線を識別するための第2の系情報を付加した応答フレームを、第1の系情報によって示される1系回線で演算装置に向けて送信し、要求フレームの第1の系情報が2系回線を示す場合には、応答フレームを第1の通信路から第1の2系通信制御部に送信する。
入出力装置の第1の2系通信制御部は、入出力装置を宛先として演算装置から送信された要求フレームの第1の系情報が2系回線を示す場合、又は第1の1系通信制御部から第1の通信路を経て応答フレームを受信した場合には、第2の系情報を付加した応答フレームを、第1の系情報によって示される2系回線で演算装置に向けて送信し、要求フレームの第1の系情報が1系回線を示す場合には、応答フレームを第1の通信路から第1の1系通信制御部に送信する。
端末は、演算装置から受け取った要求フレームに対する応答結果に基づいて、1系回線又は2系回線の正常接続又は誤接続を診断する。
The present invention relates to a control system including a duplicated arithmetic device and a duplicated input / output device.
The arithmetic devices are respectively ring-connected by the duplexed 1-system line and 2-system line, and output control commands to the controlled objects designated by the higher-level terminals.
The input / output device is ring-connected by the 1-system line and the 2-system line, respectively, outputs a control command received from the arithmetic device to the control target, and transmits a response result received from the control target to the arithmetic device.
The input / output device receives a control command from the arithmetic device via the system 1 line and transmits a response result to the arithmetic device, and a first system communication control unit and a first system communication controller A first 2-system communication control unit that is connected by a communication path, receives a control command from the arithmetic device via a 2-system line, and transmits a response result to the arithmetic device.
Then, the arithmetic device transmits a request frame to which the first system information for identifying the first system line or the second system line is added, with the input / output device as the destination.
The first 1-system communication control unit of the input / output device is configured when the first system information of the request frame transmitted from the arithmetic device with the input / output device as the destination indicates the 1-system line, or the first 2-system communication control When a response frame to the request frame is received from the unit via the first communication path, a response frame to which second system information for identifying the first system line or the second system line that has received the request frame is added, When the first system information indicated by the first system information is transmitted to the arithmetic unit and the first system information of the request frame indicates the second system line, the response frame is transmitted from the first communication path to the first It transmits to 2 system communication control part .
The first 2-system communication control unit of the input / output device is configured when the first system information of the request frame transmitted from the arithmetic device with the input / output device as the destination indicates a 2-system line, or the first 1-system communication control When the response frame is received from the unit via the first communication path, the response frame to which the second system information is added is transmitted to the arithmetic device via the second system line indicated by the first system information, When the first system information of the request frame indicates a system 1 line, a response frame is transmitted from the first communication path to the first system 1 communication control unit.
The terminal diagnoses normal connection or incorrect connection of the 1-system line or the 2-system line based on the response result to the request frame received from the arithmetic device.

本発明によれば、制御装置による回線の誤接続診断を行うことができ、作業員による回線確認作業の負荷を低減することが可能となる。   According to the present invention, it is possible to perform an erroneous connection diagnosis of a line by the control device, and it is possible to reduce the load of the line confirmation work by the worker.

本発明の一実施の形態例における制御システムの全体構成例を示すブロック図である。It is a block diagram which shows the example of whole structure of the control system in the example of 1 embodiment of this invention. 本発明の一実施の形態例における各装置が情報を通信するために用いるフレームのフォーマットの構成例を示す説明図である。It is explanatory drawing which shows the structural example of the format of the frame which each apparatus in one embodiment of this invention uses in order to communicate information. 本発明の一実施の形態例における端末が行う回線誤接続の診断手順の例を示すフローチャートである。It is a flowchart which shows the example of the diagnostic procedure of the line incorrect connection which the terminal in one embodiment of this invention performs. 本発明の一実施の形態例における演算装置の処理例を示すフローチャートである。It is a flowchart which shows the process example of the arithmetic unit in one embodiment of this invention. 本発明の一実施の形態例における光中継装置の処理例を示すフローチャートである。It is a flowchart which shows the example of a process of the optical repeater in one embodiment of this invention. 本発明の一実施の形態例における入出力装置の処理例を示すフローチャートである。It is a flowchart which shows the process example of the input / output device in one embodiment of this invention. 本発明の一実施の形態例における回線正常接続時と回線誤接続時における光中継装置のフレーム送受信の動作例を示すブロック図である。It is a block diagram which shows the operation example of the frame transmission / reception of the optical repeater at the time of the line normal connection in the example of one embodiment of this invention, and the line incorrect connection. 本発明の一実施の形態例における回線正常接続時と回線誤接続時における入出力装置のフレーム送受信の動作例を示すブロック図である。It is a block diagram which shows the operation example of the flame | frame transmission / reception of an input / output device at the time of the line normal connection in the example of 1 embodiment of this invention, and a line incorrect connection. 本発明の一実施の形態例における回線の誤接続形態に対応した表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the table | surface corresponding to the line incorrect connection form in one embodiment of this invention. 本発明の一実施の形態例における回線の誤接続形態に対応した表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the table | surface corresponding to the line incorrect connection form in one embodiment of this invention. 本発明の一実施の形態例における回線の誤接続形態に対応した表の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the table | surface corresponding to the line incorrect connection form in one embodiment of this invention. 本発明の一実施の形態例における制御システムの入出力装置Aと入出力装置B間の電気ケーブルに誤接続が発生した構成例を示すブロック図である。It is a block diagram which shows the structural example in which the misconnection generate | occur | produced in the electric cable between the input / output device A and the input / output device B of the control system in one embodiment of this invention. 本発明の一実施の形態例における制御システムの光中継装置A,Bから入出力装置A方向への光ケーブルに誤接続が発生した構成例を示すブロック図である。It is a block diagram which shows the structural example which the misconnection generate | occur | produced in the optical cable from the optical repeaters A and B of the control system in one embodiment of this invention to the input / output device A direction. 本発明の一実施の形態例における制御システムの入出力装置Aから光中継装置A,B方向への光ケーブルに誤接続が発生した構成例を示すブロック図である。It is a block diagram which shows the structural example in which the misconnection generate | occur | produced in the optical cable from the input / output apparatus A of the control system in the example of this invention to the optical repeater A and B direction. 本発明の一実施の形態例における制御システムの演算装置Aから光中継装置A,C方向への光ケーブルに誤接続が発生した構成例を示すブロック図である。It is a block diagram which shows the structural example in which the misconnection generate | occur | produced in the optical cable from the arithmetic unit A of the control system in one embodiment of this invention to the optical repeater A and C direction. 本発明の一実施の形態例における制御システムの光中継装置B,Dから演算装置A方向への光ケーブルに誤接続が発生した構成例を示すブロック図である。It is a block diagram which shows the structural example in which the erroneous connection generate | occur | produced in the optical cable from the optical repeaters B and D of the control system in one embodiment of this invention to the arithmetic unit A direction.

以下、本発明の一実施の形態例について、添付図面を参照して説明する。
本発明の一実施の形態例に係る制御システム1は、コンピュータがプログラムを実行することにより、後述する機能ブロックが連携して行う制御方法を実現する。本明細書及び図面において、実質的に同一の機能又は構成を有する構成要素については、同一の符号を付することにより重複する説明を省略する。
Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
The control system 1 according to an embodiment of the present invention realizes a control method performed by a functional block described later in cooperation with a computer executing a program. In the present specification and drawings, components having substantially the same function or configuration are denoted by the same reference numerals, and redundant description is omitted.

図1は、本発明の一実施の形態例に係る制御システム1の全体構成例を示すブロック図である。
制御システム1は、作業者が入出力を行うインターフェースとなる二重化された端末A2,B2を備える。端末A2,B2は、それぞれ不図示の操作部、表示部、制御部、通信インターフェース、記録部を備えている。CPU等からなる制御部は、記録部から読み出したプログラムを実行する。記録部には、演算装置A3,B3が送信した要求フレームや、演算装置A3,B3から受け取った応答フレームの他に、誤接続診断用マトリクス(後述する図9〜図11を参照)が記録されている。
FIG. 1 is a block diagram showing an example of the overall configuration of a control system 1 according to an embodiment of the present invention.
The control system 1 includes duplex terminals A2 and B2 that serve as interfaces through which an operator inputs and outputs. Each of the terminals A2 and B2 includes an operation unit, a display unit, a control unit, a communication interface, and a recording unit (not shown). A control unit composed of a CPU or the like executes a program read from the recording unit. In addition to the request frame transmitted from the arithmetic devices A3 and B3 and the response frame received from the arithmetic devices A3 and B3, an erroneous connection diagnosis matrix (see FIGS. 9 to 11 described later) is recorded in the recording unit. ing.

作業者は、マウス、キーボード等からなる操作部を用いて、後述する回線誤接続診断の開始を指示したり、制御対象A6,B6に制御命令を出力したりするプログラムの実行指示を行う。回線誤接続診断の開始指示や制御命令等は通信インターフェースを介して演算装置A3,B3に送信される。そして、制御部は、演算装置A3,B3から制御対象A6,B6の応答結果を受け取ったり、要求フレームに対する応答結果を受け取ったりする。さらに、制御部は、要求フレームに対する応答結果に基づいて、1系回線又は2系回線の正常接続又は誤接続を診断する。この応答結果には、応答フレームを受け取れなかったという情報も含むため、演算装置A3,B3が応答フレームを受け取れなかった場合でも回線の接続診断が可能となる。   The operator uses a console, such as a mouse and a keyboard, to instruct the start of an erroneous connection diagnosis, which will be described later, and to execute a program for outputting a control command to the controlled objects A6 and B6. An instruction for starting a connection error diagnosis, a control command, and the like are transmitted to the arithmetic devices A3 and B3 via the communication interface. And a control part receives the response result of control object A6, B6 from arithmetic unit A3, B3, or receives the response result with respect to a request | requirement frame. Further, the control unit diagnoses normal connection or incorrect connection of the 1-system line or the 2-system line based on the response result to the request frame. Since the response result includes information indicating that the response frame has not been received, the line connection diagnosis can be performed even when the arithmetic devices A3 and B3 cannot receive the response frame.

また、制御システム1は、端末A2,B2にそれぞれ接続される演算装置A3,B3を備える。演算装置A3,B3は、通信する情報の信頼性を向上するために二重化された1系回線L1,L4及び2系回線L2,L3によってそれぞれリング接続され、それぞれ上位の端末A2,B2から指示された制御対象A6,B6に制御命令を出力する。   The control system 1 includes arithmetic devices A3 and B3 connected to the terminals A2 and B2, respectively. Arithmetic devices A3 and B3 are ring-connected by duplexed 1-system lines L1 and L4 and 2-system lines L2 and L3, respectively, in order to improve the reliability of information to be communicated, and are instructed by higher-level terminals A2 and B2, respectively. A control command is output to the control objects A6 and B6.

演算装置A3に対して光中継装置A4〜D4と入出力装置A5,B5が1系回線L4、2系回線L3による二重化された回線でリング接続される。二重化された光中継装置A4,B4は、演算装置A3,B3と入出力装置A5の間に配置されて光信号を中継する。二重化された光中継装置C4,D4は、演算装置A3,B3と入出力装置B5の間に配置されて光信号を中継する。光中継装置A4〜D4が行う光信号の中継では、例えば、光信号の波形を整形する処理が行われる。入出力装置A5,B5は、演算装置A3,B3から受け取った制御命令を制御対象A6,B6に出力し、制御対象A6,B6から受け取った応答結果を演算装置A3,B3に送信するために用いられる。   The optical repeaters A4 to D4 and the input / output devices A5 and B5 are ring-connected to the arithmetic unit A3 by a duplicated line of the 1-system line L4 and the 2-system line L3. The duplexed optical repeaters A4 and B4 are arranged between the arithmetic units A3 and B3 and the input / output device A5 and relay optical signals. The duplexed optical repeaters C4 and D4 are arranged between the arithmetic units A3 and B3 and the input / output device B5 and relay optical signals. In the relay of the optical signal performed by the optical repeaters A4 to D4, for example, a process for shaping the waveform of the optical signal is performed. The input / output devices A5 and B5 are used for outputting the control commands received from the arithmetic devices A3 and B3 to the control objects A6 and B6 and transmitting the response results received from the control objects A6 and B6 to the arithmetic devices A3 and B3. It is done.

ここで、1系回線L4は、演算装置A3から出て、光中継装置A4、入出力装置A5,B5、光中継装置D4を経て演算装置A3に戻る回線である。2系回線L3は、演算装置A3から出て、光中継装置C4、入出力装置B5,A5、光中継装置B4を経て演算装置A3に戻る回線である。   Here, the 1-system line L4 is a line that exits from the arithmetic device A3 and returns to the arithmetic device A3 via the optical repeater A4, the input / output devices A5 and B5, and the optical repeater D4. The 2-system line L3 is a line that exits from the arithmetic device A3 and returns to the arithmetic device A3 via the optical repeater C4, the input / output devices B5 and A5, and the optical repeater B4.

また、演算装置B3に対して光中継装置A4〜D4と入出力装置A5,B5が1系回線L1、2系回線L2による二重化された回線でリング接続される。1系回線L1は、演算装置B3から出て、光中継装置D4、入出力装置B5,A5、光中継装置A4を経て演算装置B3に戻る回線である。2系回線L2は、演算装置B3から出て、光中継装置B4、入出力装置A5,B5、光中継装置D4を経て演算装置B3に戻る回線である。   Further, the optical repeaters A4 to D4 and the input / output devices A5 and B5 are ring-connected to the arithmetic unit B3 by a duplex line composed of the 1-system line L1 and the 2-system line L2. The 1-system line L1 is a line that exits from the arithmetic device B3 and returns to the arithmetic device B3 via the optical repeater D4, the input / output devices B5 and A5, and the optical repeater A4. The 2-system line L2 is a line that leaves the arithmetic device B3 and returns to the arithmetic device B3 through the optical repeater B4, the input / output devices A5 and B5, and the optical repeater D4.

以下の説明では、光中継装置A4〜D4、入出力装置A5,B5を区別しない場合には、「各装置」と略称する場合がある。1系回線L1,L4に配置される各装置や1系回線L1,L4を「1系」と略称し、2系回線L2,L3に配置される各装置や2系回線L2,L3を「2系」と略称する場合がある。また、1系回線L1,L4を区別しない場合には「1系回線」と呼び、2系回線L2,L3を区別しない場合には「2系回線」と呼ぶ場合がある。さらに、1系回線、2系回線を区別しない場合には、単に「回線」と略称する場合がある。   In the following description, when the optical repeaters A4 to D4 and the input / output devices A5 and B5 are not distinguished, they may be abbreviated as “each device”. The devices arranged in the 1-system lines L1 and L4 and the 1-system lines L1 and L4 are abbreviated as “1 system”, and the devices and the 2 system lines L2 and L3 arranged in the 2 system lines L2 and L3 are “2”. "System" may be abbreviated. Further, when the system 1 lines L1 and L4 are not distinguished, they are called “system 1 lines”, and when the system 2 lines L2 and L3 are not distinguished, they are sometimes called “system 2 lines”. Further, when the 1-system line and the 2-system line are not distinguished, they may be simply referred to as “line”.

制御システム1を構成する各装置はそれぞれ割り振られた固有のアドレスを持っている。例えば、演算装置A3はアドレス“0”を持ち、演算装置B3はアドレス“1”を持つ。また、光中継装置A4,B4はアドレス“2”を持ち、光中継装置C4,D4はアドレス“5”を持つ。また、入出力装置A5はアドレス“3”を持ち、入出力装置B5はアドレス“4”を持つ。   Each device constituting the control system 1 has an assigned unique address. For example, the arithmetic unit A3 has an address “0”, and the arithmetic unit B3 has an address “1”. The optical repeaters A4 and B4 have an address “2”, and the optical repeaters C4 and D4 have an address “5”. The input / output device A5 has an address “3”, and the input / output device B5 has an address “4”.

回線は、演算装置A3,B3と光中継装置A4〜D4間、及び光中継装置A4〜D4と入出力装置A5,B5間が光ケーブルで構成される。そして、入出力装置A5が備える1系通信制御部52Aと、入出力装置B5が備える1系通信制御部52Aとが第1の電気ケーブル又は第1の光ケーブルによって接続される。また、入出力装置A5が備える2系通信制御部52Bと、入出力装置B5が備える2系通信制御部52Bとが第2の電気ケーブル又は第2の光ケーブルによって接続される。電気ケーブル又は光ケーブルは、各装置が配置される場所の状況に応じて使い分ければよいため、配線の自由度が高まる。
なお、演算装置A3,B3と入出力装置A5,B5間を電気ケーブルで構成してもよい。この場合には、光信号を電気信号に変換しなくてよいので、制御システム1から光中継装置A4〜D4が不要となる。
The lines are constituted by optical cables between the arithmetic devices A3 and B3 and the optical repeaters A4 to D4, and between the optical repeaters A4 to D4 and the input / output devices A5 and B5. Then, the 1-system communication control unit 52A included in the input / output device A5 and the 1-system communication control unit 52A included in the input / output device B5 are connected by the first electric cable or the first optical cable. In addition, the 2-system communication control unit 52B provided in the input / output device A5 and the 2-system communication control unit 52B provided in the input / output device B5 are connected by a second electric cable or a second optical cable. Since the electric cable or the optical cable may be used properly according to the situation of the place where each device is arranged, the degree of freedom of wiring increases.
In addition, you may comprise between arithmetic unit A3, B3 and input-output device A5, B5 with an electric cable. In this case, since it is not necessary to convert the optical signal into an electrical signal, the optical repeaters A4 to D4 are unnecessary from the control system 1.

上述したように制御システム1は、演算装置A3,B3のそれぞれに対して光中継装置A4〜D4と入出力装置A5,B5が、それぞれ独立したリング状の回線によって接続されている。これにより、演算装置A3,B3のうち、どちらか一方が故障しても、直ちに故障した演算装置から正常な演算装置に制御を切り替え、正常な演算装置は、光中継装置A4〜D4と入出力装置A5,B5に対して一定の間隔で通信を継続することができる。このため、正常な演算装置が使用する回線が遮断され、制御対象A6,B6が制御不能となるような影響を抑えることができる。   As described above, in the control system 1, the optical repeaters A4 to D4 and the input / output devices A5 and B5 are connected to the arithmetic devices A3 and B3, respectively, by independent ring-shaped lines. As a result, even if one of the arithmetic devices A3 and B3 fails, the control is immediately switched from the failed arithmetic device to the normal arithmetic device, and the normal arithmetic device inputs and outputs to the optical repeaters A4 to D4. Communication with the devices A5 and B5 can be continued at regular intervals. For this reason, it is possible to suppress the influence that the line used by the normal arithmetic device is blocked and the controlled objects A6 and B6 become uncontrollable.

端末A2,B2は、二重化してリング接続された回線の誤接続の有無と、誤接続が生じた箇所を検出することができる。演算装置A3,B3の上位の端末A2,B2からの診断開始の指示に従い、演算装置A3,B3から、光中継装置A4〜D4と入出力装置A5,B5を宛先とする1系と2系の個別の片系通信を行う。この宛先には、二重化された演算装置A3,B3、光中継装置A4〜D4、入出力装置A5,B5に割り振られた異なるアドレス(位置情報の一例)が含まれる。このとき、演算装置A3,B3は、1系回線又は2系回線を識別するためのフレーム送信情報F4(第1の系情報の一例として後述する図2に示す)を付加した要求フレームを送信する。端末A2,B2からの指示は、作業者が行う明示的な入力操作によってなされるが、一定時間毎に自動的に診断開始の指示を発生するものとしてもよい。   Terminals A2 and B2 can detect the presence / absence of erroneous connection of the duplexed and ring-connected lines and the location where the erroneous connection has occurred. In accordance with the instruction to start diagnosis from the upper terminals A2 and B2 of the arithmetic devices A3 and B3, the arithmetic devices A3 and B3 send the optical repeaters A4 to D4 and the input / output devices A5 and B5 to the first and second systems. Perform individual one-line communication. This destination includes different addresses (an example of position information) allocated to the redundant arithmetic devices A3 and B3, optical repeaters A4 to D4, and input / output devices A5 and B5. At this time, the arithmetic devices A3 and B3 transmit a request frame to which frame transmission information F4 (identified in FIG. 2 described later as an example of the first system information) is added to identify the system 1 or system 2 line. . The instructions from the terminals A2 and B2 are made by an explicit input operation performed by the worker. However, the diagnosis start instruction may be automatically generated at regular intervals.

入出力装置A5,B5は、演算装置A3,B3から要求フレームを受信すると、要求フレームを受信した1系回線又は2系回線を識別するためのフレーム受信情報F5(第2の系情報の一例として後述する図2に示す)を応答フレームに付加する。そして、第1の系情報によって示される1系回線又は2系回線で応答フレームを演算装置A3,B3に向けて送信する。   When the input / output devices A5 and B5 receive the request frame from the arithmetic devices A3 and B3, the frame reception information F5 (as an example of the second system information) for identifying the system 1 or system 2 that has received the request frame. (Shown in FIG. 2 described later) is added to the response frame. Then, the response frame is transmitted to the arithmetic devices A3 and B3 through the 1-system line or the 2-system line indicated by the first system information.

同様に、光中継装置A4〜D4は、演算装置A3,B3が1系回線又は2系回線のいずれかを用いて、光中継装置A4〜D4を宛先として送信したフレーム送信情報F4を付加した要求フレームを受信すると、フレーム受信情報F5を要求フレームに付加する。そして、フレーム送信情報F4によって示される1系回線又は2系回線で要求フレームに対する応答フレームを演算装置A3,B3に向けて送信する。   Similarly, the optical repeaters A4 to D4 request that the calculation devices A3 and B3 add the frame transmission information F4 transmitted from the optical repeaters A4 to D4 by using either the 1-system line or the 2-system line. When the frame is received, frame reception information F5 is added to the request frame. Then, a response frame to the request frame is transmitted to the arithmetic devices A3 and B3 through the 1-system line or the 2-system line indicated by the frame transmission information F4.

要求フレームを送信した演算装置A3,B3は、各装置に送信した要求フレームの応答結果として3つの情報を上位の端末A2,B2に通知する。3つの情報には、(1)1系回線又は2系回線に接続された各装置が応答した応答フレームの有無に関する情報、(2)演算装置A3,B3が応答フレームを受信した1系回線又は2系回線を示す情報、(3)応答フレームに付加されたフレーム受信系情報がある。端末A2,B2は、これら3つの情報と、1系回線又は2系回線の誤接続を診断するためのマトリクス(後述する図9〜図11を参照)と照合して、1系回線又は2系回線の正常接続又は誤接続を診断する。この診断により、回線の誤接続の有無と、誤接続が生じた箇所が判明し、回線の接続診断を効率化することができる。   The arithmetic devices A3 and B3 that have transmitted the request frame notify the upper terminals A2 and B2 of three pieces of information as a response result of the request frame transmitted to each device. The three types of information include (1) information on the presence / absence of a response frame to which each device connected to the system 1 line or system 2 line responds, and (2) the system 1 line on which the arithmetic devices A3 and B3 received the response frame or There is information indicating the 2 system line, and (3) frame reception system information added to the response frame. The terminals A2 and B2 collate these three pieces of information with a matrix (see FIGS. 9 to 11 to be described later) for diagnosing erroneous connection of the 1-system line or the 2-system line, and the 1-system line or 2-system. Diagnose normal or incorrect connection of the line. By this diagnosis, the presence / absence of erroneous connection of the line and the location where the erroneous connection has occurred can be determined, and the connection diagnosis of the line can be made more efficient.

通信のマスタとなる演算装置A3,B3は、それぞれ送信及び受信フレーム情報を格納するメモリ34、1系回線の通信制御を行う1系通信制御部33aと2系回線の通信制御を行う2系通信制御部33bを内部に持つ通信制御部32によって構成される。メモリ34に格納される送信フレーム情報として、例えば、後述する要求フレームがあり、受信フレーム情報として、例えば、後述する応答フレームがある。さらに、演算装置A3,B3は、回線の情報を上位の端末A2,B2へ通知するデータ制御部31、光信号を電気信号に変換し、電気信号を光信号に変換する光/電気変換器35A,35Bによって構成される。   Arithmetic devices A3 and B3 serving as communication masters include a memory 34 for storing transmission and reception frame information, a 1-system communication control unit 33a for performing communication control for the 1-system line, and 2-system communication for performing communication control for the 2-system line, respectively. It is comprised by the communication control part 32 which has the control part 33b inside. The transmission frame information stored in the memory 34 includes, for example, a request frame described later, and the received frame information includes, for example, a response frame described later. Further, the arithmetic devices A3 and B3 include a data control unit 31 that notifies line information to the upper terminals A2 and B2, and an optical / electrical converter 35A that converts an optical signal into an electrical signal and converts the electrical signal into an optical signal. , 35B.

通信のスレーブとなる光中継装置A4〜D4は、1系回線の通信制御を行う1系通信制御部41A(第2の1系通信制御部の一例)、又は2系回線の通信制御を行う2系通信制御部41B(第2の2系通信制御部の一例)のいずれかで構成される。1系通信制御部41Aは、1系回線によって演算装置A3,B3から要求フレームを受け取り、演算装置A3,B3に応答フレームを送信する。2系通信制御部41Bは、2系回線によって演算装置A3,B3から要求フレームを受け取り、演算装置A3,B3に応答フレームを送信する。1系通信制御部41Aと2系通信制御部41Bは、通信路42(第2の通信路の一例)によって互いに情報(例えば、応答フレーム)を受け渡すことが可能となっている。   The optical repeaters A4 to D4 serving as communication slaves are a 1-system communication control unit 41A (an example of a second 1-system communication control unit) that performs communication control of a 1-system line, or 2 that performs communication control of a 2-system line. It is configured by one of the system communication control units 41B (an example of a second 2 system communication control unit). The 1-system communication control unit 41A receives a request frame from the arithmetic devices A3 and B3 through the 1-system line, and transmits a response frame to the arithmetic devices A3 and B3. The 2-system communication control unit 41B receives the request frame from the arithmetic devices A3, B3 through the 2-system line, and transmits a response frame to the arithmetic devices A3, B3. The 1-system communication control unit 41A and the 2-system communication control unit 41B can pass information (for example, a response frame) to each other via the communication path 42 (an example of a second communication path).

1系通信制御部41Aを持つ光中継装置A4と、2系通信制御部41Bを持つ光中継装置B4は同じアドレス(“2”)を持つ対の関係であり、光中継装置A4,B4間の通信路42を利用して情報(例えば、応答フレーム)を受け渡すことが可能である。同様に、1系通信制御部41Aを持つ光中継装置D4と2系通信制御部41Bを持つ光中継装置C4は同じアドレス(“2”)を持つ対の関係であり、光中継装置C4,D4間の通信路42を利用して情報(例えば、応答フレーム)を受け渡すことが可能である。   The optical repeater A4 having the 1-system communication control unit 41A and the optical repeater B4 having the 2-system communication control unit 41B are in a pair relationship having the same address ("2"), and are between the optical repeaters A4 and B4. Information (for example, a response frame) can be transferred using the communication path 42. Similarly, the optical repeater D4 having the 1-system communication control unit 41A and the optical repeater C4 having the 2-system communication control unit 41B are in a pair relationship having the same address ("2"), and the optical repeaters C4 and D4 It is possible to pass information (for example, response frame) using the communication path 42 between them.

また、通信のスレーブとなる入出力装置A5,B5は、光信号を電気信号に変換し、又は電気信号を光信号に変換する光/電気変換器51A,51Bを備える。また、入出力装置A5,B5は、1系回線の通信制御を行う1系通信制御部52A(第1の1系通信制御部の一例)と2系回線の通信制御を行う2系通信制御部52B(第1の2系通信制御部の一例)を内部に持つ通信制御部52を備える。1系通信制御部52Aは、1系回線によって演算装置A3,B3から制御命令を受け取り、演算装置A3,B3に応答結果を送信する。2系通信制御部52Bは、2系回線によって演算装置A3,B3から制御命令を受け取り、演算装置A3,B3に応答結果を送信する。1系通信制御部52Aと2系通信制御部52Bは、通信路53(第1の通信路の一例)によって接続され、互いに情報(例えば、応答フレーム)を受け渡すことが可能となっている。   In addition, the input / output devices A5 and B5 serving as communication slaves include optical / electrical converters 51A and 51B that convert optical signals into electrical signals or convert electrical signals into optical signals. The input / output devices A5 and B5 include a 1-system communication control unit 52A (an example of a first 1-system communication control unit) that performs communication control of a 1-system line and a 2-system communication control unit that performs communication control of a 2 system line. The communication control part 52 which has 52B (an example of a 1st 2 system communication control part) inside is provided. The 1-system communication control unit 52A receives a control command from the arithmetic devices A3 and B3 through the 1-system line, and transmits a response result to the arithmetic devices A3 and B3. The 2-system communication control unit 52B receives a control command from the arithmetic devices A3, B3 through the 2-system line, and transmits a response result to the arithmetic devices A3, B3. The 1-system communication control unit 52A and the 2-system communication control unit 52B are connected by a communication path 53 (an example of a first communication path) and can exchange information (for example, a response frame) with each other.

また、入出力装置A5は、制御対象A6への入出力を行うデータ制御部54を備え、入出力装置B5は、制御対象B6への入出力を行うデータ制御部54を備える。制御対象A6,B6は、例えば、プラント内に配置されたモータや各種センサ等であり、データ制御部54が出力した制御命令に対する動作結果等をデータ制御部54に応答する。   The input / output device A5 includes a data control unit 54 that performs input / output to / from the control target A6, and the input / output device B5 includes a data control unit 54 that performs input / output to the control target B6. The control objects A6 and B6 are, for example, motors and various sensors arranged in the plant, and respond to the data control unit 54 with the operation results for the control commands output by the data control unit 54.

図2は、各装置が情報を通信するために用いるフレームのフォーマットの構成例を示す説明図である。
図2に示すフレームのフォーマットは、通信のマスタである演算装置A3,B3からスレーブである光中継装置A4〜D4及び入出力装置A5,B5に送信される要求フレームと、スレーブからマスタへ送信される応答フレームで共通としてある。
FIG. 2 is an explanatory diagram showing a configuration example of a format of a frame used for each device to communicate information.
The frame format shown in FIG. 2 includes request frames transmitted from the arithmetic devices A3 and B3, which are communication masters, to the optical repeaters A4 to D4 and input / output devices A5, B5, which are slaves, and transmitted from the slave to the master. This is common in response frames.

そして、フレームのフォーマットは、フレームの先頭を示す開始フラグF1、要求フレームか応答フレームかを区別する要求応答F2、フレームの宛先となる装置のアドレスを格納する送信先アドレスF3によって構成される。また、演算装置A3,B3がフレームを1系回線又は2系回線のいずれで送信したかを区別する送信系情報が格納されるフレーム送信情報F4によって構成される。また、各装置がフレームを1系回線又は2系回線のいずれで受信したかを区別する受信系情報が格納されるフレーム受信情報F5、データの入出力に用いるデータF6によって構成される。さらに、フレームデータの健全性を保証するCRC(Cyclic Redundancy Check)F7、フレームの終わりを示す終了フラグF8によって構成される。   The format of the frame includes a start flag F1 indicating the head of the frame, a request response F2 for distinguishing between the request frame and the response frame, and a transmission destination address F3 for storing the address of the device that is the destination of the frame. Further, it is constituted by frame transmission information F4 in which transmission system information for distinguishing whether the arithmetic devices A3 and B3 transmit a frame via the 1-system line or the 2-system line is stored. Also, it is composed of frame reception information F5 in which reception system information for distinguishing whether each device has received a frame on the 1-system line or the 2-system line, and data F6 used for data input / output. Furthermore, the frame data is constituted by a CRC (Cyclic Redundancy Check) F7 for guaranteeing the soundness of the frame data and an end flag F8 indicating the end of the frame.

開始フラグF1に開始フラグが立っていれば、フレームを受信したスレーブの各装置は、演算装置A3,B3のいずれかから要求フレームが送信されたことを知ることができる。そして、要求応答F2には、このフレームが要求フレームである場合に“0”が設定され、このフレームが応答フレームである場合に“1”が設定される。送信先アドレスF3は、通信のマスタである演算装置のアドレスF31と、スレーブである光中継装置又は入出力装置のアドレスF32を格納している。   If the start flag is set in the start flag F1, each slave device that has received the frame can know that the request frame has been transmitted from any of the arithmetic devices A3 and B3. In the request response F2, “0” is set when this frame is a request frame, and “1” is set when this frame is a response frame. The destination address F3 stores the address F31 of the arithmetic device that is the master of communication and the address F32 of the optical repeater or input / output device that is the slave.

フレーム送信情報F4は、マスタである演算装置A3,B3のいずれかが付加する情報である。1系回線への通信を行う場合には、要求フレームの1系情報F41が“1”に設定される。2系回線への通信を行う場合には、2系情報F42が“1”に設定される。フレーム受信情報F5は、スレーブである光中継装置及び入出力装置が付加する情報である。1系回線で要求フレームを受信した場合には、応答フレームの1系情報F51を“1”に設定し、2系回線で要求フレームを受信した場合には、2系情報F52を“1”に設定される。   The frame transmission information F4 is information added by any of the arithmetic devices A3 and B3 that are masters. When performing communication to the 1-system line, the 1-system information F41 of the request frame is set to “1”. In the case of performing communication to the 2-system line, the 2-system information F42 is set to “1”. The frame reception information F5 is information added by the slave optical repeater and input / output device. When the request frame is received on the 1-system line, the 1-system information F51 of the response frame is set to “1”, and when the request frame is received on the 2-system line, the 2 system information F52 is set to “1”. Is set.

データF6には、このフレームが応答フレームである場合に、制御対象A6,B6のいずれかが入出力装置A5,B5に応答した際の処理結果を示すデータが設定される。CRCF7は、一般的な巡回冗長検査に用いられる値が設定され、通信途中でフレームが破損していないか各装置がチェックするために用いられる。終了フラグF8に終了フラグが立っていれば、各装置はフレームの終了を判断することができる。   In the data F6, when this frame is a response frame, data indicating a processing result when one of the control targets A6 and B6 responds to the input / output devices A5 and B5 is set. The CRCF 7 is set with a value used for general cyclic redundancy check, and is used for each device to check whether a frame is damaged during communication. If the end flag is set in the end flag F8, each device can determine the end of the frame.

次に、作業者が端末A2を用いて、制御システム1内の回線の誤接続の有無と、誤接続されている箇所を検出する手法について、図3〜図6を参照して説明する。
図3は、端末A2,A3が行う回線誤接続の診断手順の例を示すフローチャートである。
図4は、演算装置A3の処理例を示すフローチャートである。
図5は、光中継装置A4,B4の処理例を示すフローチャートである。
図6は、入出力装置A5,B5の処理例を示すフローチャートである。
Next, with reference to FIGS. 3 to 6, a method in which an operator uses the terminal A <b> 2 to detect the presence / absence of erroneous connection of a line in the control system 1 and the erroneously connected portion will be described.
FIG. 3 is a flowchart showing an example of a procedure for diagnosing line misconnection performed by the terminals A2 and A3.
FIG. 4 is a flowchart illustrating a processing example of the arithmetic device A3.
FIG. 5 is a flowchart showing a processing example of the optical repeaters A4 and B4.
FIG. 6 is a flowchart showing a processing example of the input / output devices A5 and B5.

制御システム1では、演算装置A3は、アドレスを順に変えた要求フレームを1系回線L4及び2系回線L3に接続される光中継装置A4〜D4及び入出力装置A5,B5に送信し、光中継装置A4〜D4及び入出力装置A5,B5から応答フレームを受信する。
その後、演算装置B3がアドレスを順に変えた要求フレームを1系回線L1及び2系回線L2に接続される光中継装置A4〜D4及び入出力装置A5,B5に送信し、光中継装置A4〜D4及び入出力装置A5,B5から応答フレームを受信する。
In the control system 1, the arithmetic unit A3 transmits the request frames whose addresses are changed in order to the optical repeaters A4 to D4 and the input / output devices A5 and B5 connected to the first system line L4 and the second system line L3. Response frames are received from the devices A4 to D4 and the input / output devices A5 and B5.
Thereafter, the request frame in which the arithmetic device B3 changes the address in order is transmitted to the optical repeaters A4 to D4 and the input / output devices A5 and B5 connected to the first line L1 and the second line L2, and the optical repeaters A4 to D4 are transmitted. The response frame is received from the input / output devices A5 and B5.

具体的には、図3に示すように端末A2は、演算装置A3が要求フレームを送信する回線(以下、「送信回線」と略称する)を1系に設定する(ステップS1)。次に、要求フレームの送信先アドレスF3を“2”、すなわち図1における光中継装置A4,B4宛てに設定する(ステップS2)。そして、上記2つの設定を終えた後、端末A2は、演算装置A3に対して要求フレームの送信命令を実行する(ステップS3)。   Specifically, as shown in FIG. 3, the terminal A2 sets a line (hereinafter abbreviated as “transmission line”) through which the arithmetic device A3 transmits a request frame to the 1st system (step S1). Next, the transmission destination address F3 of the request frame is set to “2”, that is, to the optical repeaters A4 and B4 in FIG. 1 (step S2). After completing the above two settings, the terminal A2 executes a request frame transmission command to the arithmetic device A3 (step S3).

図4に示すように、演算装置A3は、端末A2から要求フレームの送信命令を受信すると(ステップS11)、端末A2が指定した送信回線が1系であるか判定を行う(ステップS12)。判定した結果、端末A2が指定した送信回線が1系であれば、同じく端末A2が指定した送信先アドレスF3で示される各装置に1系回線L4から要求フレームを送信する(ステップS13)。端末A2が指定した送信回線が2系であれば端末A2が指定した送信先アドレスF3で示される各装置に2系回線L3から要求フレームを送信する(ステップS14)。以降の説明では、演算装置A3が1系回線L4で要求フレームを送信したものとする。   As shown in FIG. 4, when the arithmetic unit A3 receives a request frame transmission command from the terminal A2 (step S11), the arithmetic unit A3 determines whether the transmission line designated by the terminal A2 is the first system (step S12). As a result of the determination, if the transmission line designated by the terminal A2 is system 1, the request frame is transmitted from the system 1 line L4 to each device indicated by the destination address F3 designated by the terminal A2 (step S13). If the transmission line designated by the terminal A2 is the second system, the request frame is transmitted from the second system line L3 to each device indicated by the transmission destination address F3 designated by the terminal A2 (step S14). In the following description, it is assumed that the arithmetic device A3 transmits a request frame through the 1-system line L4.

そして、図5に示すように、1系回線L4の光中継装置A4は、演算装置A3から要求フレームを受信すると(ステップS21)、その要求フレームを受信した系が1系であるか判定を行う(ステップS22)。   Then, as shown in FIG. 5, when the optical repeater A4 of the 1-system line L4 receives the request frame from the arithmetic device A3 (step S21), it determines whether the system that received the request frame is the 1-system. (Step S22).

要求フレームを受信した系が1系である場合、光中継装置A4は、受信した要求フレームのアドレスが自装置宛てであるか判定を行う(ステップS23)。要求フレームのアドレスが自装置宛てで無い場合、光中継装置A4は、リング方式で接続された次の装置(本例では、入出力装置A5)へ要求フレームを転送する(ステップS28)。   If the system that has received the request frame is system 1, the optical repeater A4 determines whether the address of the received request frame is addressed to itself (step S23). If the address of the request frame is not addressed to the own apparatus, the optical repeater A4 transfers the request frame to the next apparatus (in this example, the input / output apparatus A5) connected by the ring method (step S28).

一方、要求フレームのアドレスが自装置宛てである場合、光中継装置A4は、応答フレームのフレーム受信情報F5に1系情報F51を設定する(ステップS24)。次に、光中継装置A4は、演算装置A3から送信された要求フレームのフレーム送信情報F4の内容が1系であるか判定を行う(ステップS25)。   On the other hand, when the address of the request frame is addressed to itself, the optical repeater A4 sets the 1-system information F51 in the frame reception information F5 of the response frame (step S24). Next, the optical repeater A4 determines whether the content of the frame transmission information F4 of the request frame transmitted from the arithmetic unit A3 is 1-system (Step S25).

ステップS25において、フレーム送信情報F4の内容が1系を示していれば、光中継装置A4は、1系回線L4により、演算装置A3に向けて応答フレームを送信する(ステップS27)。フレーム送信情報F4の内容が2系を示していれば、光中継装置A4は、対となる2系通信制御部41Bを持つ光中継装置B4に応答すべきフレーム情報を通知する(ステップS26)。そして、光中継装置B4は、2系回線L3により演算装置A3に向けて応答フレームの送信を行う(ステップS33)。
光中継装置A4,B4が要求フレームを受信した系が1系ではなく2系の場合は、上記内容の1系と2系を置き換えた処理を行う(ステップS21,S22,S27,S29〜S34)。
In step S25, if the content of the frame transmission information F4 indicates the first system, the optical repeater A4 transmits a response frame to the arithmetic device A3 through the first system line L4 (step S27). If the content of the frame transmission information F4 indicates the second system, the optical repeater A4 notifies the frame information to be responded to the optical repeater B4 having the paired second-system communication control unit 41B (step S26). Then, the optical repeater B4 transmits a response frame toward the arithmetic unit A3 through the second system line L3 (step S33).
When the system in which the optical repeaters A4 and B4 have received the request frame is not the first system but the second system, the above-described contents of the first system and the second system are replaced (steps S21, S22, S27, S29 to S34). .

ステップS28において、1系から送信された要求フレームを、図6の入出力装置処理フローに示すように入出力装置A5が受信すると(ステップS41)、入出力装置A5の光/電気変換器51Aが光信号を電気信号に変換する。そして、通信制御部52内の1系通信制御部52Aは、電気信号に変換された要求フレームを受信した系が1系であるか判定を行う(ステップS42)。   In step S28, when the input / output device A5 receives the request frame transmitted from the system 1 as shown in the input / output device processing flow of FIG. 6 (step S41), the optical / electrical converter 51A of the input / output device A5 Convert optical signals into electrical signals. Then, the 1-system communication control section 52A in the communication control section 52 determines whether or not the system that has received the request frame converted into the electrical signal is the 1-system (step S42).

1系通信制御部52Aが受信した系が1系である場合、1系通信制御部52Aは、受信した要求フレームのアドレスF32から読み出したアドレスが自装置宛てであるか判定を行う(ステップS43)。自装置宛てで無い場合は、リング方式で接続された次の装置である入出力装置B5へ、1系により要求フレームを送信する(ステップS47)。   When the system received by the 1-system communication control unit 52A is the 1-system, the 1-system communication control unit 52A determines whether the address read from the address F32 of the received request frame is addressed to its own device (step S43). . If it is not addressed to the own device, the request frame is transmitted by the 1 system to the input / output device B5 which is the next device connected by the ring method (step S47).

一方、要求フレームのアドレスが自装置宛てである場合、1系通信制御部52Aは、応答フレームのフレーム受信情報F5に1系情報F51を設定する(ステップS44)。次に、1系通信制御部52Aは、演算装置A3から送信された要求フレームのフレーム送信情報が1系であるか判定を行う(ステップS45)。   On the other hand, when the address of the request frame is addressed to the own apparatus, the 1-system communication control unit 52A sets the 1-system information F51 in the frame reception information F5 of the response frame (step S44). Next, the first-system communication control unit 52A determines whether the frame transmission information of the request frame transmitted from the arithmetic device A3 is the first system (step S45).

ステップS45において、フレーム送信情報F4の内容が1系を示していれば、1系通信制御部52Aは、1系回線L4により、光中継装置A4に向けて応答フレームを送信する(ステップS46)。フレーム送信情報F4の内容が2系を示していれば、1系通信制御部52Aは、対となる2系通信制御部52Bに応答すべきフレーム情報を通知する。そして、2系通信制御部52Bが2系回線L3により光中継装置B4に向けて応答フレームの送信を行う(ステップS51)。
入出力装置A5,B5が要求フレームを受信した系が1系ではなく2系の場合は、上記内容の1系と2系を置き換えた処理を行う(ステップS41,S42,S46,S48〜S52)。
In step S45, if the content of the frame transmission information F4 indicates system 1, the system 1 communication control unit 52A transmits a response frame to the optical repeater A4 through the system 1 line L4 (step S46). If the content of the frame transmission information F4 indicates the second system, the first system communication control unit 52A notifies the paired second system communication control unit 52B of the frame information to be responded to. Then, the 2-system communication control unit 52B transmits a response frame to the optical repeater B4 through the 2-system line L3 (step S51).
If the system in which the input / output devices A5 and B5 have received the request frame is not the first system but the second system, the above-described contents of the first system and the second system are replaced (steps S41, S42, S46, S48 to S52). .

上述した図4のステップS13又はS14の処理の後、演算装置A3は、要求フレームの送信後に1系又は2系で応答フレームを受信できたか判定を行う(ステップS15)。応答フレームを1系又は2系のどちらかで受信できた場合、演算装置A3は、以下の3つの情報を端末A2に通知する(ステップS16)。3つの情報には、演算装置A3が1系と2系のどちらかで応答フレームを受信したこと、演算装置A3が応答フレームを受信した系、応答フレーム内のフレーム受信情報が含まれる。   After the process of step S13 or S14 in FIG. 4 described above, the arithmetic unit A3 determines whether or not the response frame has been received in the first system or the second system after transmitting the request frame (step S15). When the response frame can be received by either the first system or the second system, the arithmetic unit A3 notifies the terminal A2 of the following three pieces of information (step S16). The three pieces of information include that the arithmetic device A3 has received the response frame in either the first system or the second system, the system in which the arithmetic device A3 has received the response frame, and frame reception information in the response frame.

ステップS15において、演算装置A3は、タイムアウトにより1系と2系のどちらからも応答フレームを受信できていないと判定すると、以下の3つの情報を端末A2に通知する(ステップS17)。この3つの情報には、1系と2系のどちらからも応答フレームを受信していないことを示す情報に加えて、応答フレームを受信した系と、応答フレーム内のフレーム受信情報が空データであることが含まれる。   In step S15, if the arithmetic unit A3 determines that it has not received a response frame from either the first system or the second system due to a timeout, it notifies the terminal A2 of the following three pieces of information (step S17). In addition to the information indicating that no response frame has been received from either system 1 or system 2, the three information includes the system that received the response frame and the frame reception information in the response frame is empty data. It is included.

ここで、図3に示すように、端末A2は、演算装置A3から3つの情報を取得する(ステップS4)。3つの情報には、1系と2系のどちらかでの応答フレームの受信有無、演算装置A3が応答フレームを受信した系、応答フレーム内のフレーム受信情報がある。その後、端末A2は、送信先アドレスF3の設定値が“5”であるか判定を行う(ステップS5)。   Here, as shown in FIG. 3, the terminal A2 acquires three pieces of information from the arithmetic unit A3 (step S4). The three types of information include the presence / absence of reception of a response frame in either the first system or the second system, the system in which the arithmetic device A3 receives the response frame, and frame reception information in the response frame. Thereafter, the terminal A2 determines whether or not the set value of the transmission destination address F3 is “5” (step S5).

ステップS5で判定する送信先アドレスF3の設定値が“5”であることは、制御システム1において、各装置に対して、“2”〜“5”のアドレスを割り振ったことに起因している。つまり、送信先アドレスF3の設定値が“5”であれば、全ての装置に対して要求フレームの送信が完了していることを示している。送信先アドレスF3の設定値が“5”でなければ、回線の誤接続の有無と、誤接続されている箇所を診断していない装置が残っていることを意味する。   The setting value of the destination address F3 determined in step S5 is “5” because the control system 1 assigns addresses “2” to “5” to each device. . That is, if the setting value of the transmission destination address F3 is “5”, it indicates that the transmission of the request frame has been completed to all apparatuses. If the setting value of the transmission destination address F3 is not “5”, it means that there is a device that has not diagnosed the erroneous connection and the presence / absence of the erroneous connection of the line.

このため、送信先アドレスF3の設定値が“5”で無い場合は、送信先アドレスF3を“1”インクリメントし(ステップS6)、演算装置A3に対して要求フレームの送信命令を実行する(ステップS3)。ステップS6の処理において、送信先アドレスF3がインクリメントされることにより、“3”以降のアドレスを持つ各装置に対して、順に診断を行うことができる。このため、制御システム1が備える全ての光中継装置A4〜D4と入出力装置A5,B5に対して1系回線から要求フレームの送信を行う。   Therefore, if the setting value of the transmission destination address F3 is not “5”, the transmission destination address F3 is incremented by “1” (step S6), and a request frame transmission command is executed to the arithmetic device A3 (step S6). S3). In the process of step S6, the transmission destination address F3 is incremented, so that each device having an address after “3” can be diagnosed in order. Therefore, a request frame is transmitted from the 1-system line to all the optical repeaters A4 to D4 and the input / output devices A5 and B5 provided in the control system 1.

送信先アドレスF3の設定値が“5”の場合、送信回線の設定値が“2”であるか判定を行う(ステップS7)。
上述したステップS1に示したように、端末A2が行う各装置の診断は1系回線L4から開始する。このため、送信回線の設定値が“2”である場合は、1系と2系の両方に対して要求フレームの送信が完了していることを示す。
If the setting value of the transmission destination address F3 is “5”, it is determined whether the setting value of the transmission line is “2” (step S7).
As shown in step S1, the diagnosis of each device performed by the terminal A2 starts from the 1-system line L4. Therefore, when the setting value of the transmission line is “2”, it indicates that the transmission of the request frame has been completed for both the first system and the second system.

送信回線の設定値が“2”で無い場合、要求フレームの送信回線を“2”に設定し(ステップS8)、その後要求フレームの送信先アドレスF3を“2”に設定する(ステップS2)。これにより、制御システム1が備える全ての光中継装置A4〜D4と入出力装置A5,B5に対して2系回線L3から要求フレームの送信を行うことができる。   If the setting value of the transmission line is not “2”, the transmission line of the request frame is set to “2” (step S8), and then the transmission destination address F3 of the request frame is set to “2” (step S2). As a result, the request frame can be transmitted from the second system line L3 to all the optical repeaters A4 to D4 and the input / output devices A5 and B5 provided in the control system 1.

送信回線の設定値が“2”の場合は、図3に示す端末A2の診断手順フローで取得した各送信先アドレスF3に対する1系回線から3つ、2系回線から3つの計6つの情報と端末A2に予め用意された誤接続診断用マトリクスを比較する。この誤接続診断用マトリクスは、後述する図9〜図11に表1〜表6として示してある。そして、端末A2は、誤接続の有無と誤接続の箇所を特定する(ステップS9)。   When the setting value of the transmission line is “2”, a total of six pieces of information including three from the first line and three from the second line for each transmission destination address F3 acquired in the diagnosis procedure flow of the terminal A2 shown in FIG. The erroneous connection diagnosis matrices prepared in advance for the terminal A2 are compared. This erroneous connection diagnosis matrix is shown as Tables 1 to 6 in FIGS. Then, the terminal A2 specifies the presence / absence of an erroneous connection and the location of the erroneous connection (step S9).

次に、図5の光中継装置の処理フローと図6の入出力装置処理フロー中に示した、光中継装置A4,B4及び入出力装置A5,B5が自装置宛の要求フレームを受信した場合の動作例について、各装置の構成図とフレームの概略図を用いて詳細に説明する。   Next, when the optical repeaters A4 and B4 and the input / output devices A5 and B5 receive the request frame addressed to their own devices as shown in the processing flow of the optical repeater in FIG. 5 and the input / output device process flow in FIG. An example of the operation will be described in detail with reference to a configuration diagram of each device and a schematic diagram of a frame.

図7は、回線正常接続時と回線誤接続時における光中継装置A4,B4のフレーム送受信の動作例を示すブロック図である。図7Aは、回線正常接続時に光中継装置A4が行うフレームの送受信動作の例を示し、図7Bは、回線誤接続時に光中継装置B4が行うフレームの送受信動作の例を示す。   FIG. 7 is a block diagram showing an example of frame transmission / reception operations of the optical repeaters A4 and B4 when the line is normally connected and when the line is erroneously connected. FIG. 7A illustrates an example of a frame transmission / reception operation performed by the optical repeater A4 when the line is normally connected, and FIG. 7B illustrates an example of a frame transmission / reception operation performed by the optical repeater B4 when the line is erroneously connected.

図7Aに示す回線正常接続時の例では、演算装置A3の光/電気変換器35Aから1系回線が光中継装置A4に接続されている。そして、1系通信制御部41Aを内部に持つ光中継装置A4は、フレーム送信情報F4の1系情報F41に“1”が設定された1系回線用の要求フレームを受信する。このとき要求フレームのフレーム受信情報F5には、まだビットが設定されていない。   In the example of the normal connection shown in FIG. 7A, the 1-system line is connected to the optical repeater A4 from the optical / electrical converter 35A of the arithmetic unit A3. Then, the optical repeater A4 having the 1-system communication control unit 41A inside receives the request frame for the 1-system line in which “1” is set in the 1-system information F41 of the frame transmission information F4. At this time, no bit is set in the frame reception information F5 of the request frame.

光中継装置A4の1系通信制御部41Aは、光中継装置A4を宛先として送信された要求フレームのフレーム受信情報F5が1系回線を示す場合、又は2系通信制御部41Bから通信路42を経て応答フレームを受信した場合には、応答フレームを1系回線に送信する。そして、要求フレームのフレーム受信情報F5が2系回線を示す場合には、応答フレームを通信路42から2系通信制御部41Bに送信する。
一方、2系通信制御部41Bは、光中継装置A4を宛先として送信された要求フレームのフレーム受信情報F5が2系回線を示す場合、又は1系通信制御部41Aから通信路42を経て応答フレームを受信した場合には、応答フレームを2系回線に送信する。そして、要求フレームのフレーム受信情報F5が1系回線を示す場合には、応答フレームを通信路42から1系通信制御部41Aに送信する。
このように、光中継装置A4は、自装置宛の要求フレームを受け取った系と、フレーム送信情報F4が異なれば、フレーム送信情報F4に合わせた系で応答フレームを送信するため、演算装置A3は応答フレームを確実に受信できる。
The first-system communication control unit 41A of the optical repeater A4 uses the communication path 42 from the second-system communication control unit 41B when the frame reception information F5 of the request frame transmitted with the optical repeater A4 as a destination indicates a first-system line. If a response frame is received, the response frame is transmitted to the system 1 line. When the frame reception information F5 of the request frame indicates a system 2 line, a response frame is transmitted from the communication path 42 to the system 2 communication control unit 41B.
On the other hand, when the frame reception information F5 of the request frame transmitted with the optical repeater A4 as the destination indicates a system 2 line, or the system 2 communication control unit 41B responds via the communication path 42 from the system 1 communication control unit 41A. Is received, a response frame is transmitted to the second system line. When the frame reception information F5 of the request frame indicates a system 1 line, a response frame is transmitted from the communication path 42 to the system 1 communication control unit 41A.
In this way, the optical repeater A4 transmits a response frame in a system that matches the frame transmission information F4 if the frame transmission information F4 is different from the system that received the request frame addressed to itself, and therefore the arithmetic device A3 A response frame can be reliably received.

具体的には、光中継装置A4の1系通信制御部41Aは、自装置宛の要求フレームを受信すると、受信した要求フレームの要求応答F2を「応答」に書き換え、フレーム受信情報F5の1系情報F51に“1”を設定する(図中では“1系”と記載)。これにより、1系通信制御部41Aが要求フレームを受信した系と、要求フレーム内に格納されたフレーム送信情報F4が共に1系で一致する。このため、1系通信制御部41Aから演算装置A3に対して1系回線L4により応答フレームの送信を行う。この応答フレームは、入出力装置A5,B5、光中継装置D4の順に1系回線L4を辿って演算装置A3に到達する。   Specifically, when receiving the request frame addressed to the own apparatus, the 1-system communication control unit 41A of the optical repeater A4 rewrites the request response F2 of the received request frame to “response”, and the 1-system of the frame reception information F5 “1” is set in the information F51 (indicated as “1 system” in the figure). As a result, the system in which the first-system communication control unit 41A receives the request frame and the frame transmission information F4 stored in the request frame both match in the first system. For this reason, a response frame is transmitted from the 1-system communication control unit 41A to the arithmetic unit A3 through the 1-system line L4. This response frame follows the 1-system line L4 in the order of the input / output devices A5 and B5 and the optical repeater D4 and reaches the arithmetic unit A3.

図7Bに示す回線誤接続時の例では、演算装置A3の光/電気変換器35Aから光中継装置A4に接続されるはずの回線が誤って光中継装置B4に接続されている。そして、2系通信制御部41Bを内部に持つ光中継装置B4は、フレーム送信情報F4の1系情報F41に“1”が設定された1系回線用の要求フレームを受信する。そして、光中継装置B4の2系通信制御部41Bは、受信した要求フレームのフレーム受信情報F5に2系情報F52を設定する。   In the example when the line is erroneously connected as shown in FIG. 7B, the line that should be connected from the optical / electrical converter 35A of the arithmetic unit A3 to the optical repeater A4 is erroneously connected to the optical repeater B4. Then, the optical repeater B4 having the 2-system communication control unit 41B inside receives the request frame for the 1-system line in which “1” is set in the 1-system information F41 of the frame transmission information F4. Then, the 2-system communication control unit 41B of the optical repeater B4 sets the 2-system information F52 in the frame reception information F5 of the received request frame.

このとき、回線が誤接続されていることにより、要求フレームを受信した系と、要求フレーム内に格納されたフレーム送信情報F4に付加される系の情報が一致しない。このため、光中継装置B4の2系通信制御部41Bは、要求フレームを受信した系とは異なる系、すなわち光中継装置A4の1系通信制御部41Aに応答すべきフレーム情報の通知を行う。この通知に際して、2系通信制御部41Bは、フレームの要求応答F2を「応答」に書き換え、フレーム受信情報F5の2系情報F52に“1”を設定(図中では“2系”と記載)した応答フレームを、通信路42を介して1系通信制御部41Aに送信する。そして、光中継装置A4の1系通信制御部41Aは、光中継装置B4から受信した応答フレームを演算装置A3に対して送信する。この応答フレームは、入出力装置A5,B5、光中継装置D4の順に1系回線L4を辿って演算装置A3に到達する。   At this time, because the line is erroneously connected, the system that receives the request frame and the system information added to the frame transmission information F4 stored in the request frame do not match. For this reason, the second-system communication control unit 41B of the optical repeater B4 notifies frame information to be responded to a system different from the system that received the request frame, that is, the first-system communication control unit 41A of the optical repeater A4. At the time of this notification, the 2-system communication control unit 41B rewrites the frame request response F2 to “response” and sets “2” in the 2-system information F52 of the frame reception information F5 (denoted as “system 2” in the figure). The response frame is transmitted to the first-system communication control unit 41A through the communication path 42. Then, the 1-system communication control unit 41A of the optical repeater A4 transmits the response frame received from the optical repeater B4 to the arithmetic unit A3. This response frame follows the 1-system line L4 in the order of the input / output devices A5 and B5 and the optical repeater D4 and reaches the arithmetic unit A3.

図8は、回線正常接続時と回線誤接続時における入出力装置A5,B5のフレーム送受信の動作例を示すブロック図である。図8Aは、回線正常接続時に入出力装置A5が行うフレームの送受信動作の例を示し、図8Bは、回線誤接続時に入出力装置B5が行うフレームの送受信動作の例を示す。   FIG. 8 is a block diagram showing an example of frame transmission / reception operations of the input / output devices A5 and B5 when the line is normally connected and when the line is erroneously connected. FIG. 8A shows an example of a frame transmission / reception operation performed by the input / output device A5 when the line is normally connected, and FIG. 8B shows an example of a frame transmission / reception operation performed by the input / output device B5 when the line is erroneously connected.

図8Aに示す回線正常接続時の例では、入出力装置A5は、通信制御部52内の1系通信制御部52Aで、フレーム送信情報F4の1系情報F41に“1”が設定された1系回線用の要求フレームを受信する。このとき要求フレームのフレーム受信情報F5には、まだビットは設定されていない。   In the example when the line is normally connected shown in FIG. 8A, the input / output device A5 is a 1-system communication control unit 52A in the communication control unit 52, and 1 is set in the 1-system information F41 of the frame transmission information F4. A request frame for the system line is received. At this time, no bit is set in the frame reception information F5 of the request frame.

入出力装置A5の1系通信制御部52Aは、入出力装置A5を宛先として送信された要求フレームのフレーム送信情報F4が1系回線を示す場合、又は2系通信制御部52Bから通信路53を経て応答フレームを受信した場合には、応答フレームを1系回線に送信する。そして、1系通信制御部52Aは、要求フレームのフレーム送信情報F4が2系回線を示す場合には、応答フレームを通信路53から2系通信制御部52Bに送信する。   The first-system communication control unit 52A of the input / output device A5 uses the communication path 53 from the second-system communication control unit 52B when the frame transmission information F4 of the request frame transmitted with the input-output device A5 as the destination indicates a first-system line. If a response frame is received, the response frame is transmitted to the system 1 line. When the frame transmission information F4 of the request frame indicates a system 2 line, the system 1 communication control unit 52A transmits a response frame from the communication path 53 to the system 2 communication control unit 52B.

同様に、2系通信制御部52Bは、入出力装置A5を宛先として送信された要求フレームのフレーム送信情報F4が2系回線を示す場合、又は1系通信制御部52Aから通信路53を経て応答フレームを受信した場合には、応答フレームを2系回線に送信する。そして、2系通信制御部52Bは、要求フレームのフレーム送信情報F4が1系回線を示す場合には、応答フレームを通信路53から1系通信制御部52Aに送信する。
このように、入出力装置A5は、自装置宛の要求フレームを受け取った系と、フレーム送信情報F4が異なれば、フレーム送信情報F4に合わせた系で応答フレームを送信するため、演算装置A3は応答フレームを確実に受信できる。
Similarly, the 2-system communication control unit 52B responds via the communication path 53 from the 1-system communication control unit 52A when the frame transmission information F4 of the request frame transmitted to the input / output device A5 indicates the 2-system line. When a frame is received, a response frame is transmitted to the system 2 line. Then, when the frame transmission information F4 of the request frame indicates a system 1 line, the system 2 communication control unit 52B transmits a response frame from the communication path 53 to the system 1 communication control unit 52A.
Thus, since the input / output device A5 transmits a response frame in a system that matches the frame transmission information F4 if the frame transmission information F4 is different from the system that received the request frame addressed to itself, the arithmetic device A3 A response frame can be reliably received.

具体的には、1系通信制御部52Aは、自装置宛の要求フレームを受信すると、受信した要求フレームの要求応答F2を「応答」に書き換え、フレーム受信情報F5の1系情報F51に“1”を設定する(図中では“1系”と記載)。これにより、1系通信制御部52Aが要求フレームを受信した系と、要求フレーム内に格納されたフレーム送信情報F4が共に1系で一致する。このため、入出力装置A5の1系通信制御部52Aから演算装置A3に対して1系回線L4により応答フレームの送信を行う。この応答フレームは、入出力装置B5、光中継装置D4の順に1系回線L4を辿って演算装置A3に到達する。   Specifically, upon receiving a request frame addressed to itself, the 1-system communication control unit 52A rewrites the request response F2 of the received request frame to “response”, and sets “1” in the 1-system information F51 of the frame reception information F5. "Is set (indicated as" 1 system "in the figure). As a result, the system in which the first-system communication control unit 52A receives the request frame and the frame transmission information F4 stored in the request frame both match in the first system. Therefore, a response frame is transmitted from the 1-system communication control unit 52A of the input / output device A5 to the arithmetic device A3 through the 1-system line L4. The response frame reaches the arithmetic unit A3 by following the system 1 line L4 in the order of the input / output device B5 and the optical repeater D4.

図8Bに示す回線誤接続時の例では、入出力装置A5の1系通信制御部52Aから入出力装置B5の1系通信制御部52Aに接続されるはずの回線が、誤って入出力装置B5の2系通信制御部52Bに接続されている。このため、2系通信制御部52Bを内部に持つ入出力装置B5は、フレーム送信情報F4の1系情報F41に“1”が設定された1系回線用の要求フレームを受信する。そして、入出力装置B5の2系通信制御部52Bは、受信した要求フレームのフレーム受信情報F5の2系情報F52に“1”を設定する(図中では“2系”と記載)。   In the example when the line is erroneously connected shown in FIG. 8B, the line that should be connected from the 1-system communication control unit 52A of the input / output device A5 to the 1-system communication control unit 52A of the input / output device B5 is mistakenly input / output device B5. Are connected to the 2-system communication control unit 52B. For this reason, the input / output device B5 having the 2-system communication control unit 52B inside receives the request frame for the 1-system line in which “1” is set in the 1-system information F41 of the frame transmission information F4. Then, the second-system communication control unit 52B of the input / output device B5 sets “1” to the second-system information F52 of the frame reception information F5 of the received request frame (described as “second-system” in the drawing).

このとき、回線が誤接続されていることにより、要求フレームを受信した系と、要求フレーム内に格納されたフレーム送信情報F4に付加される系の情報が一致しない。このため、2系通信制御部52Bから1系通信制御部52Aに対して応答フレームが送信される。この際、2系通信制御部52Bは、フレームの要求応答F2を「応答」に書き換え、フレーム受信情報F5の2系情報F52に“1”を設定した応答フレームを、通信路53を介して1系通信制御部52Aに送信する。そして、入出力装置B5の1系通信制御部52Aは、光中継装置B4から受信した応答フレームを演算装置A3に対して送信する。この応答フレームは、光中継装置D4を経て1系回線L4を辿って演算装置A3に到達する。   At this time, because the line is erroneously connected, the system that receives the request frame and the system information added to the frame transmission information F4 stored in the request frame do not match. For this reason, a response frame is transmitted from the 2-system communication control unit 52B to the 1-system communication control unit 52A. At this time, the 2-system communication control unit 52B rewrites the request response F2 of the frame to “response”, and sends a response frame in which “1” is set to the 2-system information F52 of the frame reception information F5 via the communication path 53. It transmits to the system communication control part 52A. Then, the 1-system communication control unit 52A of the input / output device B5 transmits the response frame received from the optical repeater B4 to the arithmetic device A3. This response frame follows the 1-system line L4 via the optical repeater D4 and reaches the arithmetic unit A3.

次に、図3のステップS9において端末A2が行う回線診断に際し、参照する誤接続診断用マトリクスについて、図9〜図11を参照して説明する。
端末A2は、演算装置A3から取得した3つの情報と誤接続診断用マトリクスを比較し、回線の誤接続有無とその誤接続箇所を特定している。
Next, an erroneous connection diagnosis matrix to be referred to in the line diagnosis performed by the terminal A2 in step S9 in FIG. 3 will be described with reference to FIGS.
The terminal A2 compares the three pieces of information acquired from the arithmetic unit A3 with the erroneous connection diagnosis matrix, and specifies the presence / absence of the erroneous connection of the line and the erroneous connection location.

回線の誤接続形態として、以下に例示するものがある。
例えば、入出力装置間の電気ケーブル誤接続、光中継装置から入出力装置方向への光ケーブル誤接続、入出力装置から光中継装置方向への光ケーブル誤接続、演算装置から光中継装置方向への光ケーブル誤接続、光中継装置から演算装置方向への誤接続がある。
The following are examples of line misconnection forms.
For example, electrical cable misconnection between input / output devices, optical cable misconnection from the optical repeater to the input / output device, optical cable misconnection from the input / output device to the optical repeater, and optical cable from the computing device to the optical repeater There are misconnections and misconnections from the optical repeater to the arithmetic unit.

そこで、端末A2が持つ誤接続診断用マトリクスの例について、図9〜図11を参照して説明する。   Therefore, an example of the erroneous connection diagnosis matrix possessed by the terminal A2 will be described with reference to FIGS.

図9〜図11は、上述した回線の誤接続形態にそれぞれ対応した表の構成例を示す説明図である。
図9Aは、正常接続結果の表1を示し、図9Bは、入出力装置A5,B5間の電気ケーブル誤接続結果の表2を示す。
また、図10Aは、光中継装置A4,B4から入出力装置A5方向への光ケーブル誤接続結果の表3を示し、図10Bは、入出力装置A5から光中継装置A4,B4方向への光ケーブル誤接続結果の表4を示す。
また、図11Aは、演算装置A3から光中継装置A4,C4方向への光ケーブル誤接続結果の表5を示し、図11Bは、光中継装置B4,D4から演算装置A3方向への光ケーブル誤接続結果の表6を示す。
FIG. 9 to FIG. 11 are explanatory diagrams showing configuration examples of tables respectively corresponding to the above-described line misconnection forms.
FIG. 9A shows Table 1 of the result of normal connection, and FIG. 9B shows Table 2 of the result of erroneous connection of the electric cable between the input / output devices A5 and B5.
FIG. 10A shows Table 3 of the optical cable misconnection results from the optical repeaters A4 and B4 in the direction of the input / output device A5. FIG. 10B shows the optical cable error in the direction of the optical repeaters A4 and B4 from the input / output device A5. Table 4 shows the connection results.
Further, FIG. 11A shows a table 5 of optical cable misconnection results from the arithmetic device A3 in the direction of the optical repeaters A4 and C4, and FIG. 11B shows an optical cable misconnection result from the optical repeaters B4 and D4 in the direction of the arithmetic device A3. Table 6 is shown.

図9〜図11に示す各表は、アドレス“2”からアドレス“5”が付された各装置に対して1系診断と2系診断を行った場合に想定される期待値を示している。
1系診断の欄は、端末A2が送信回線を1系に設定した時に演算装置A3から取得する3つの情報を示す。この情報により、演算装置A3が1系と2系のどちらで応答フレームを受信したか、又は受信しなかったかを示す応答フレームの受信有無、演算装置A3が応答フレームを受信した系、応答フレーム内のフレーム受信情報F5が1系と2系のいずれであるかが示される。これら3つの情報について、制御システム1内の回線が正常に接続された状態を基本とする正誤形式で各表を表現する。
2系診断の欄についても1系診断の欄と同様の情報が格納されている。
Each table shown in FIG. 9 to FIG. 11 shows an expected value assumed when the 1-system diagnosis and the 2-system diagnosis are performed on the devices assigned the addresses “2” to “5”. .
The 1-system diagnosis column shows three pieces of information acquired from the arithmetic unit A3 when the terminal A2 sets the transmission line to the 1-system. Based on this information, whether the arithmetic device A3 has received the response frame in the first system or the second system or not, whether or not a response frame has been received, the system in which the arithmetic device A3 received the response frame, the response frame This indicates whether the frame reception information F5 of the first system or the second system. For these three pieces of information, each table is expressed in a correct / incorrect format based on a state in which the lines in the control system 1 are normally connected.
The same information as the 1-system diagnosis column is stored in the 2-system diagnosis column.

そして、図9〜図11に示す各表は、端末B2が送信回線を1系又は2系に設定した時に演算装置B3から取得する3つの情報についても対応している。以下、端末A2の指示により、演算装置A3が回線誤接続診断を行う場合の動作例を説明することとし、演算装置A3が回線誤接続診断を行う場合の動作例は説明を省略する。   Each table shown in FIGS. 9 to 11 also corresponds to three pieces of information acquired from the arithmetic unit B3 when the terminal B2 sets the transmission line to the 1st system or the 2nd system. In the following, an operation example when the arithmetic device A3 performs line misconnection diagnosis according to an instruction from the terminal A2 will be described, and an operation example when the arithmetic device A3 performs line misconnection diagnosis will be omitted.

図1に示したように、制御システム1内の回線が正常に接続された状態において、端末A2が診断を開始すると、演算装置A3は、1系回線L4から各装置を宛先として、各装置内の1系通信制御部に要求フレームを送信する。これにより、宛先となる光中継装置A4、入出力装置A5,B5、光中継装置D4に送信した要求フレームは、それぞれの1系通信制御部に到達する。   As shown in FIG. 1, when the terminal A2 starts diagnosis in a state in which the line in the control system 1 is normally connected, the arithmetic unit A3 uses each device as the destination from the 1-system line L4, The request frame is transmitted to the 1-system communication control unit. As a result, the request frames transmitted to the destination optical repeater A4, input / output devices A5 and B5, and optical repeater D4 reach the respective 1-system communication control units.

そして、各装置の1系通信制御部から演算装置A3の1系通信制御部33aに向けて応答フレームが送信される。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は1系、応答フレーム内のフレーム受信情報は1系となり、図9Aの表1に示す1系診断の結果と合致する。   Then, a response frame is transmitted from the 1-system communication control unit of each device toward the 1-system communication control unit 33a of the arithmetic device A3. Therefore, the three pieces of information that the terminal A2 obtains from the arithmetic unit A3 is that there is a response frame received in either the first system or the second system, the first system that received the response frame is the first system, and the frame reception information in the response frame is It becomes 1 system, and it agrees with the result of 1 system diagnosis shown in Table 1 of FIG. 9A.

次に、演算装置A3は、2系回線L3から各装置を宛先として、各装置内の2系通信制御部に要求フレームを送信する。これにより、光中継装置C4、入出力装置B5,A5、光中継装置B4に向けて送信した要求フレームは、それぞれの2系通信制御部に到達する。   Next, the arithmetic unit A3 transmits a request frame to the second-system communication control unit in each device with each device as the destination from the second-system line L3. As a result, the request frame transmitted toward the optical repeater C4, the input / output devices B5 and A5, and the optical repeater B4 reaches the respective 2-system communication control units.

そして、各装置の2系通信制御部から演算装置A3の2系通信制御部33bに応答フレームが送信される。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は2系、応答フレーム内のフレーム受信情報は2系となり、図9Aの表1に示す2系診断の結果と合致する。   Then, a response frame is transmitted from the 2-system communication control unit of each device to the 2-system communication control unit 33b of the arithmetic device A3. For this reason, the three pieces of information acquired by the terminal A2 from the arithmetic unit A3 are the reception of response frames in either the first system or the second system, the second system receiving the response frame is the second system, and the frame reception information in the response frame is It becomes 2 systems, and corresponds with the result of 2 system diagnosis shown in Table 1 of Drawing 9A.

以上の結果から図1に示す構成とした制御システム1において、端末A2,B2が回線誤接続診断を行った場合、図9Aの表1に示す結果と一致することから回線の接続は正常であることが分かる。   In the control system 1 configured as shown in FIG. 1 based on the above results, when the terminals A2 and B2 perform line misconnection diagnosis, the result is the same as the result shown in Table 1 of FIG. I understand that.

図12は、制御システム1の入出力装置A5と入出力装置B5間の電気ケーブルに誤接続が発生した構成例を示すブロック図である。この構成では、入出力装置A5の1系通信制御部52Aが入出力装置B5の2系通信制御部52Bに誤接続され、入出力装置A5の2系通信制御部52Bが入出力装置B5の1系通信制御部52Aに誤接続されている。   FIG. 12 is a block diagram illustrating a configuration example in which an erroneous connection has occurred in the electric cable between the input / output device A5 and the input / output device B5 of the control system 1. In this configuration, the 1-system communication control unit 52A of the input / output device A5 is erroneously connected to the 2-system communication control unit 52B of the input / output device B5, and the 2-system communication control unit 52B of the input / output device A5 is 1 of the input / output device B5. Misconnected to the system communication control unit 52A.

本構成において演算装置A3は、1系回線L4から各装置の1系通信制御部に要求フレームを送信すると、アドレス“2”の光中継装置A4,B4、及びアドレス“3”の入出力装置A5に向けて送信した要求フレームは正常にそれぞれの1系通信制御部に到達する。しかし、光中継装置A4,B4及び入出力装置A5が送信した応答フレームは、入出力装置B5の2系通信制御部52B、光中継装置C4を経由して演算装置B3の2系通信制御部33bに到達し、演算装置A3に返らない。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信無し、空データ、空データとなる。   In this configuration, when the arithmetic device A3 transmits a request frame from the 1-system line L4 to the 1-system communication control unit of each device, the optical repeaters A4 and B4 with the address “2” and the input / output device A5 with the address “3”. The request frame transmitted toward the network normally reaches each 1-system communication control unit. However, the response frames transmitted by the optical repeaters A4 and B4 and the input / output device A5 are sent to the second communication control unit 33b of the arithmetic device B3 via the second communication control unit 52B of the input / output device B5 and the optical repeater C4. And does not return to the arithmetic unit A3. For this reason, the three pieces of information that the terminal A2 acquires from the arithmetic unit A3 are no response frame reception, empty data, and empty data in either the first system or the second system.

また、演算装置A3がアドレス“4”の入出力装置B5、及びアドレス“5”の光中継装置C4,D4に向けて送信した要求フレームはそれぞれの2系通信制御部に到達し、1系通信制御部に渡される。その後、1系通信制御部から演算装置A3の1系通信制御部33aに応答フレームが送信される。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は1系、応答フレーム内のフレーム受信情報は2系となり、図9Bの表2に示す1系診断の結果と合致する。   Further, the request frame transmitted from the arithmetic unit A3 to the input / output device B5 having the address “4” and the optical repeaters C4 and D4 having the address “5” arrives at the respective 2-system communication control units, and the 1-system communication. Passed to the control unit. Thereafter, a response frame is transmitted from the 1-system communication control unit to the 1-system communication control unit 33a of the arithmetic device A3. Therefore, the three pieces of information that the terminal A2 obtains from the arithmetic unit A3 is that there is a response frame received in either the first system or the second system, the first system that received the response frame is the first system, and the frame reception information in the response frame is It becomes 2 systems, and corresponds with the result of 1 system diagnosis shown in Table 2 of Drawing 9B.

次に、演算装置A3は、2系回線L3から各装置の2系通信制御部に要求フレームを送信すると、光中継装置C4,D4及び入出力装置B5に向けて送信した要求フレームは正常にそれぞれの2系通信制御部に到達する。しかし、光中継装置C4,D4及び入出力装置B5からの応答フレームは、入出力装置A5の1系通信制御部52A、光中継装置A4を経由して演算装置B3の1系通信制御部33aに到達し、演算装置A3に返らない。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信無し、空データ、空データとなる。   Next, when the arithmetic device A3 transmits a request frame to the second system communication control unit of each device from the second system line L3, the request frames transmitted to the optical repeaters C4 and D4 and the input / output device B5 are normally transmitted. To the second system communication control unit. However, response frames from the optical repeaters C4 and D4 and the input / output device B5 are sent to the 1-system communication control unit 33a of the arithmetic unit B3 via the 1-system communication control unit 52A of the input / output device A5 and the optical repeater A4. Arrives and does not return to the arithmetic unit A3. For this reason, the three pieces of information that the terminal A2 acquires from the arithmetic unit A3 are no response frame reception, empty data, and empty data in either the first system or the second system.

また、演算装置A3が入出力装置A5及び光中継装置A4,B4に向けて送信した要求フレームはそれぞれの1系通信制御部に到達し、2系通信制御部に渡される。その後、2系通信制御部から演算装置A3の2系通信制御部33bに応答フレームが送信される。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は2系、応答フレーム内のフレーム受信情報は1系となり、図9Bの表2に示す2系診断の結果と合致する。   Further, the request frame transmitted from the arithmetic unit A3 to the input / output unit A5 and the optical repeaters A4 and B4 reaches the respective 1-system communication control units and is passed to the 2-system communication control unit. Thereafter, a response frame is transmitted from the 2-system communication control unit to the 2-system communication control unit 33b of the arithmetic device A3. For this reason, the three pieces of information acquired by the terminal A2 from the arithmetic unit A3 are the reception of response frames in either the first system or the second system, the second system receiving the response frame is the second system, and the frame reception information in the response frame is It becomes 1 system, and it agrees with the result of 2 system diagnosis shown in Table 2 of FIG. 9B.

この診断結果より図12に示す構成とした制御システム1において、回線誤接続診断を行った場合、図9Bの表2に示す結果と一致することから、入出力装置A5と入出力装置B5間の電気ケーブルで誤接続が発生していることが分かる。   From the diagnosis result, in the control system 1 configured as shown in FIG. 12, when the line misconnection diagnosis is performed, the result matches the result shown in Table 2 of FIG. 9B, and therefore, between the input / output device A5 and the input / output device B5. It can be seen that a misconnection has occurred in the electric cable.

図13は、制御システム1の光中継装置A4,B4から入出力装置A5方向への光ケーブルに誤接続が発生した構成例を示すブロック図である。   FIG. 13 is a block diagram illustrating a configuration example in which an erroneous connection has occurred in the optical cable from the optical repeaters A4 and B4 in the control system 1 toward the input / output device A5.

本構成において演算装置A3は、1系回線L4から各装置の1系通信制御部に要求フレームを送信すると、光中継装置A4,B4に向けて送信した要求フレームは正常に到達する。しかし、光中継装置A4,B4からの応答フレームは、入出力装置A5の2系通信制御部52B、入出力装置B5の2系通信制御部52B、光中継装置C4を経由して演算装置B3の2系通信制御部33bに到達し、演算装置A3に返らない。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信無し、空データ、空データとなる。   In this configuration, when the arithmetic device A3 transmits a request frame from the 1-system line L4 to the 1-system communication control unit of each device, the request frame transmitted toward the optical repeaters A4 and B4 normally arrives. However, the response frames from the optical repeaters A4 and B4 are sent from the arithmetic unit B3 via the 2-system communication control unit 52B of the input / output device A5, the 2-system communication control unit 52B of the input / output device B5, and the optical repeater C4. It reaches the second system communication control unit 33b and does not return to the arithmetic unit A3. For this reason, the three pieces of information that the terminal A2 acquires from the arithmetic unit A3 are no response frame reception, empty data, and empty data in either the first system or the second system.

また、演算装置A3が入出力装置A5,B5、光中継装置C4,D4に向けて送信した要求フレームはそれぞれの2系通信制御部に到達し、1系通信制御部に渡される。その後、1系通信制御部から演算装置A3の1系通信制御部33aに応答フレームが送信される。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は1系、応答フレーム内のフレーム受信情報は2系となり、図10Aの表3に示す1系診断の結果と合致する。   Further, the request frame transmitted from the arithmetic unit A3 to the input / output devices A5 and B5 and the optical repeaters C4 and D4 reaches the respective 2-system communication control units and is passed to the 1-system communication control unit. Thereafter, a response frame is transmitted from the 1-system communication control unit to the 1-system communication control unit 33a of the arithmetic device A3. Therefore, the three pieces of information that the terminal A2 obtains from the arithmetic unit A3 is that there is a response frame received in either the first system or the second system, the first system that received the response frame is the first system, and the frame reception information in the response frame is This corresponds to the result of 1-system diagnosis shown in Table 3 of FIG. 10A.

次に、演算装置A3は、2系回線L3から各装置の2系通信制御部に要求フレームを送信すると、光中継装置C4,D4、入出力装置B5,A5、光中継装置A4,B4に向けて送信した要求フレームは正常にそれぞれの2系通信制御部に到達する。そして、光中継装置C4,D4、入出力装置B5,A5、光中継装置A4,B4からの応答フレームも全て正常に演算装置A3の2系通信制御部33bに返る。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は2系、応答フレーム内のフレーム受信情報は2系となり、図10Aの表3に示す2系診断の結果と合致する。   Next, when the arithmetic unit A3 transmits a request frame to the second system communication control unit of each device from the second system line L3, the arithmetic device A3 is directed to the optical repeaters C4 and D4, the input / output devices B5 and A5, and the optical repeaters A4 and B4. The request frame transmitted in this manner normally arrives at each 2-system communication control unit. The response frames from the optical repeaters C4 and D4, the input / output devices B5 and A5, and the optical repeaters A4 and B4 are all normally returned to the 2-system communication control unit 33b of the arithmetic unit A3. For this reason, the three pieces of information acquired by the terminal A2 from the arithmetic unit A3 are the reception of response frames in either the first system or the second system, the second system receiving the response frame is the second system, and the frame reception information in the response frame is This corresponds to the result of the two-system diagnosis shown in Table 3 of FIG. 10A.

この診断結果より図13に示す構成とした制御システム1において、回線誤接続診断を行った場合、図10Aの表3に示す結果と一致することから光中継装置A4,B4から入出力装置A5方向への光ケーブルで回線誤接続が発生していることが分かる。   From the diagnosis result, in the control system 1 configured as shown in FIG. 13, when a line misconnection diagnosis is performed, the result matches the result shown in Table 3 of FIG. 10A, so that the direction from the optical repeaters A4 and B4 to the input / output device A5 It can be seen that an erroneous connection has occurred in the optical cable to the cable.

図14は、制御システム1の入出力装置A5から光中継装置A4,B4方向への光ケーブルに誤接続が発生した構成例を示すブロック図である。   FIG. 14 is a block diagram illustrating a configuration example in which an erroneous connection has occurred in the optical cable from the input / output device A5 of the control system 1 to the optical repeaters A4 and B4.

本構成において演算装置A3は、1系回線L4から各装置の1系通信制御部に要求フレームを送信すると、光中継装置A4,B4、入出力装置A5,B5、光中継装置C4,D4に向けて送信した要求フレームは正常にそれぞれの1系通信制御部に到達する。そして、光中継装置A4,B4、入出力装置A5,B5、光中継装置C4,D4からの応答フレームも全て正常に演算装置A3の1系通信制御部33aに返る。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は1系、応答フレーム内のフレーム受信情報は1系となり、図10Bの表4に示す1系診断の結果と合致する。   In this configuration, when the arithmetic device A3 transmits a request frame from the 1-system line L4 to the 1-system communication control unit of each device, it is directed to the optical repeaters A4 and B4, the input / output devices A5 and B5, and the optical repeaters C4 and D4. The request frame transmitted in this manner normally reaches each 1-system communication control unit. The response frames from the optical repeaters A4 and B4, the input / output devices A5 and B5, and the optical repeaters C4 and D4 are all normally returned to the 1-system communication control unit 33a of the arithmetic unit A3. Therefore, the three pieces of information that the terminal A2 obtains from the arithmetic unit A3 is that there is a response frame received in either the first system or the second system, the first system that received the response frame is the first system, and the frame reception information in the response frame is It becomes 1 system, and corresponds with the result of 1 system diagnosis shown in Table 4 of Drawing 10B.

次に、演算装置A3は、2系回線L3から各装置の2系通信制御部に要求フレームを送信すると、光中継装置C4,D4、入出力装置B5,A5に向けて送信した要求フレームは正常にそれぞれの2系通信制御部に到達する。しかし、光中継装置C4,D4、入出力装置B5,A5からの応答フレームは、光中継装置A4を経由して演算装置B3の1系通信制御部33aに到達し、演算装置A3に返らない。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信無し、空データ、空データとなる。   Next, when the arithmetic device A3 transmits the request frame to the second system communication control unit of each device from the second system line L3, the request frame transmitted to the optical repeaters C4 and D4 and the input / output devices B5 and A5 is normal. To the respective 2-system communication control units. However, response frames from the optical repeaters C4 and D4 and the input / output devices B5 and A5 reach the 1-system communication control unit 33a of the arithmetic device B3 via the optical repeater A4 and do not return to the arithmetic device A3. For this reason, the three pieces of information that the terminal A2 acquires from the arithmetic unit A3 are no response frame reception, empty data, and empty data in either the first system or the second system.

また、演算装置A3が光中継装置A4,B4に向けて送信した要求フレームは光中継装置A4の1系通信制御部41Aに到達し、2系通信制御部41Bに渡される。その後、光中継装置B4から演算装置A3の2系通信制御部33bに応答フレームが送信される。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は2系、応答フレーム内のフレーム受信情報は1系となり、図10Bの表4に示す2系診断の結果と合致する。   Further, the request frame transmitted from the arithmetic unit A3 to the optical repeaters A4 and B4 reaches the 1-system communication control unit 41A of the optical repeater A4 and is passed to the 2-system communication control unit 41B. Thereafter, a response frame is transmitted from the optical repeater B4 to the second-system communication control unit 33b of the arithmetic unit A3. For this reason, the three pieces of information acquired by the terminal A2 from the arithmetic unit A3 are the reception of response frames in either the first system or the second system, the second system receiving the response frame is the second system, and the frame reception information in the response frame is It becomes 1 system and agrees with the result of 2 system diagnosis shown in Table 4 of FIG. 10B.

この診断結果より図14に示す構成とした制御システム1において、回線誤接続診断を行った場合、図10Bの表4に示す結果と一致することから入出力装置A5から光中継装置A4,B4方向への光ケーブルで回線誤接続が発生していることが分かる。   In the control system 1 configured as shown in FIG. 14 based on the diagnosis result, when the line misconnection diagnosis is performed, the result matches the result shown in Table 4 in FIG. 10B, and therefore the direction from the input / output device A5 to the optical repeaters A4 and B4. It can be seen that an erroneous connection has occurred in the optical cable to the cable.

図15は、制御システム1の演算装置A3から光中継装置A4,C4方向への光ケーブルに誤接続が発生した構成例を示すブロック図である。   FIG. 15 is a block diagram illustrating a configuration example in which an erroneous connection occurs in the optical cable from the arithmetic device A3 of the control system 1 to the optical repeaters A4 and C4.

本構成において演算装置A3は、1系回線L4から各装置の1系通信制御部に要求フレームを送信すると、光中継装置A4,B4、入出力装置A5,B5、光中継装置C4,D4に向けて送信した要求フレームはそれぞれの2系通信制御部に到達する。このため、各装置の2系通信制御部は、1系通信制御部に応答フレームを渡した後、1系通信制御部から演算装置A3の1系通信制御部33aに応答フレームが送信される。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は1系、応答フレーム内のフレーム受信情報は2系となり、図11Aの表5に示す1系診断の結果と合致する。   In this configuration, when the arithmetic device A3 transmits a request frame from the 1-system line L4 to the 1-system communication control unit of each device, it is directed to the optical repeaters A4 and B4, the input / output devices A5 and B5, and the optical repeaters C4 and D4. The request frame transmitted in this way reaches the respective two-system communication control units. For this reason, the 2 system communication control unit of each device passes the response frame to the 1 system communication control unit, and then the response frame is transmitted from the 1 system communication control unit to the 1 system communication control unit 33a of the arithmetic device A3. Therefore, the three pieces of information that the terminal A2 obtains from the arithmetic unit A3 is that there is a response frame received in either the first system or the second system, the first system that received the response frame is the first system, and the frame reception information in the response frame is This corresponds to the result of the 1-system diagnosis shown in Table 5 of FIG. 11A.

次に、演算装置A3は、2系回線L3から各装置の2系通信制御部に要求フレームを送信すると、光中継装置C4,D4、入出力装置B5,A5、光中継装置A4,B4に向けて送信した要求フレームはそれぞれ1系通信制御部に到達する。このため、各装置の1系通信制御部は、2系通信制御部に応答フレームを渡した後、2系通信制御部から演算装置A3の2系通信制御部33bに応答フレームが送信される。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は2系、応答フレーム内のフレーム受信情報は1系となり、図11Aの表5に示す2系診断の結果と合致する。   Next, when the arithmetic unit A3 transmits a request frame to the second system communication control unit of each device from the second system line L3, the arithmetic device A3 is directed to the optical repeaters C4 and D4, the input / output devices B5 and A5, and the optical repeaters A4 and B4. The request frames transmitted in this way reach the 1-system communication control unit. For this reason, the 1-system communication control unit of each device passes the response frame to the 2-system communication control unit, and then the response frame is transmitted from the 2-system communication control unit to the 2-system communication control unit 33b of the arithmetic device A3. For this reason, the three pieces of information acquired by the terminal A2 from the arithmetic unit A3 are the reception of response frames in either the first system or the second system, the second system receiving the response frame is the second system, and the frame reception information in the response frame is It becomes 1 system, and agrees with the result of 2 system diagnosis shown in Table 5 of FIG. 11A.

この診断結果より図15に示す構成とした制御システム1において、回線誤接続診断を行った場合、図11Aの表5に示す結果と一致することから演算装置A3から光中継装置A4,C4方向への光ケーブルで回線誤接続が発生していることが分かる。   In the control system 1 having the configuration shown in FIG. 15 based on the diagnosis result, when the line misconnection diagnosis is performed, the result matches the result shown in Table 5 in FIG. 11A, so that the arithmetic unit A3 moves to the optical repeaters A4 and C4. It can be seen that a line misconnection has occurred in the optical cable.

図16は、制御システム1の光中継装置B4,D4から演算装置A3方向への光ケーブルに誤接続が発生した構成例を示すブロック図である。   FIG. 16 is a block diagram illustrating a configuration example in which an erroneous connection has occurred in the optical cable from the optical repeaters B4 and D4 of the control system 1 toward the arithmetic unit A3.

本構成において演算装置A3は、1系回線L4から各装置の1系通信制御部に要求フレームを送信すると、光中継装置A4,B4、入出力装置A5,B5、光中継装置C4,D4に向けて送信した要求フレームはそれぞれ1系通信制御部に到達する。そして、1系通信制御部から演算装置A3にフレームが送信される。   In this configuration, when the arithmetic device A3 transmits a request frame from the 1-system line L4 to the 1-system communication control unit of each device, it is directed to the optical repeaters A4 and B4, the input / output devices A5 and B5, and the optical repeaters C4 and D4. The request frames transmitted in this way reach the 1-system communication control unit. Then, a frame is transmitted from the 1-system communication control unit to the arithmetic device A3.

しかし、演算装置A3は応答フレームを2系通信制御部33bで受信する。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は2系、応答フレーム内のフレーム受信情報は1系となり、図11Bの表6に示す1系診断の結果と合致する。   However, the arithmetic unit A3 receives the response frame at the second system communication control unit 33b. For this reason, the three pieces of information acquired by the terminal A2 from the arithmetic unit A3 are the reception of response frames in either the first system or the second system, the second system receiving the response frame is the second system, and the frame reception information in the response frame is 1 system, which matches the results of the 1 system diagnosis shown in Table 6 of FIG. 11B.

次に、演算装置A3は、2系回線L3から各装置の2系通信制御部に要求フレームを送信すると、光中継装置C4,D4、入出力装置B5,A5、光中継装置A4,B4に向けて送信した要求フレームはそれぞれ2系通信制御部に到達する。そして、2系通信制御部から演算装置A3にフレームが送信される。   Next, when the arithmetic unit A3 transmits a request frame to the second system communication control unit of each device from the second system line L3, the arithmetic device A3 is directed to the optical repeaters C4 and D4, the input / output devices B5 and A5, and the optical repeaters A4 and B4. The request frames transmitted in this manner reach the second system communication control unit. Then, the frame is transmitted from the 2-system communication control unit to the arithmetic unit A3.

しかし、演算装置A3は応答フレームを1系通信制御部33aで受信する。このため、端末A2が演算装置A3から取得する3つの情報は、1系と2系のどちらかでの応答フレーム受信有り、応答フレームを受信した系は1系、応答フレーム内のフレーム受信情報は2系となり、図11Bの表6に示す2系診断の結果と合致する。   However, the arithmetic unit A3 receives the response frame at the 1-system communication control unit 33a. Therefore, the three pieces of information that the terminal A2 obtains from the arithmetic unit A3 is that there is a response frame received in either the first system or the second system, the first system that received the response frame is the first system, and the frame reception information in the response frame is This corresponds to the result of the second system diagnosis shown in Table 6 of FIG. 11B.

この診断結果より図16に示す構成とした制御システム1において、回線誤接続診断を行った場合、図11Bの表6に示す結果と一致することから光中継装置B4,D4から演算装置A3方向への光ケーブルで回線誤接続が発生していることが分かる。   In the control system 1 having the configuration shown in FIG. 16 based on the diagnosis result, when the line misconnection diagnosis is performed, the result shown in Table 6 in FIG. 11B matches the result shown in Table 6 from the optical repeaters B4 and D4 toward the arithmetic unit A3. It can be seen that a line misconnection has occurred in the optical cable.

以上説明した一実施の形態例に係る制御システム1は、二重化された演算装置A3,B3が、二重にリングで接続された光中継装置A4〜D4、及び入出力装置A5,B5に対して送信した要求フレームに対する応答結果を端末A2,B2に知らせる。そして、端末A2,B2は、演算装置A3,B3から受け取った要求フレームに対する応答結果と、誤接続診断用マトリクスを比較することで、誤接続の有無と誤接続の箇所を特定することができる。この要求フレームに対する応答結果には、1系回線及び2系回線のいずれからも応答フレームを受信しなかったことを示す情報も含まれているため、応答フレームの消失を加味した回線の接続診断が可能となる。   In the control system 1 according to the embodiment described above, the redundant arithmetic devices A3 and B3 are connected to the optical repeaters A4 to D4 and the input / output devices A5 and B5 that are connected in a double ring. The terminal A2 and B2 are notified of the response result for the transmitted request frame. Then, the terminals A2 and B2 can identify the presence / absence of the erroneous connection and the location of the erroneous connection by comparing the response result to the request frame received from the arithmetic devices A3 and B3 with the erroneous connection diagnosis matrix. Since the response result to this request frame includes information indicating that no response frame has been received from either the system 1 line or the system 2 line, the connection diagnosis of the line taking into account the loss of the response frame is performed. It becomes possible.

また、回線の誤接続により自装置宛の要求フレームに付加されたフレーム送信情報F4の内容と、実際に要求フレームを受信した回線の系が異なっていた場合には、各装置は、応答フレームにフレーム受信情報F5を付加する。そして、フレーム送信情報F4の内容に合わせた系で応答フレームを送信する。このため、演算装置A3,B3は、受信した応答フレームの内容に基づいて、誤接続が生じた回線を把握しやすくなる。   In addition, if the contents of the frame transmission information F4 added to the request frame addressed to the own device due to incorrect connection of the line and the system of the line that actually received the request frame are different, each device Frame reception information F5 is added. Then, a response frame is transmitted in a system that matches the content of the frame transmission information F4. For this reason, the arithmetic devices A3 and B3 can easily grasp the line on which the erroneous connection has occurred based on the content of the received response frame.

また、演算装置A3が1系回線、2系回線の順に各装置の接続診断を行った後、演算装置B3が1系回線、2系回線の順に各装置の接続診断を行う。このため、制御システム1が備える全ての装置間の接続診断が自動化されるため、作業員が目視で確認していた場合に比べ、作業効率を大きく高めることができる。これにより、回線の誤接続の有無とその箇所を容易に特定することができ、誤接続箇所の見落としによる制御システム1の誤動作及び不具合を未然に防ぐことが可能となる。   In addition, after the arithmetic device A3 performs connection diagnosis of each device in the order of the first system line and the second system line, the arithmetic device B3 performs connection diagnosis of each device in the order of the first system line and the second system line. For this reason, since the connection diagnosis between all the apparatuses with which the control system 1 is provided is automated, work efficiency can be greatly improved compared with the case where the worker has confirmed visually. As a result, it is possible to easily identify the presence / absence of an erroneous connection of the line and its location, and to prevent malfunction and malfunction of the control system 1 due to oversight of the erroneous connection location.

また、図9〜図11に示す各表は、端末A2,B2が不図示のモニタ等に表示することで、作業者が回線の誤接続を把握する際の一助とすることができる。ただし、1系診断又は2系診断のいずれかを行ってすぐに、図9〜図11に示す各表を示すことで、速やかに回線の誤接続が生じた箇所を把握できるようにしてもよい。   Further, the tables shown in FIGS. 9 to 11 are displayed by the terminals A2 and B2 on a monitor or the like (not shown), thereby helping the worker to grasp the erroneous connection of the line. However, immediately after performing either the 1-system diagnosis or the 2-system diagnosis, the tables shown in FIGS. 9 to 11 may be used so that it is possible to quickly grasp the location where the erroneous connection of the line has occurred. .

二重化された各装置は、同じアドレスによって所在が管理されており、アドレスを変えるだけで宛先を指定することが可能であるため、装置の数が多くなった場合でも全ての回線の接続診断を容易に実行しやすい。   The location of each duplicated device is managed by the same address, and it is possible to specify the destination simply by changing the address, so even if the number of devices increases, connection diagnosis of all lines is easy. Easy to perform.

また、上述した実施の形態例における一連の処理は、ハードウェアにより実行することができるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが専用のハードウェアに組み込まれているコンピュータ、又は各種の機能を実行するためのプログラムをインストールしたコンピュータにより、実行可能である。例えば汎用のパーソナルコンピュータ等に所望のソフトウェアを構成するプログラムをインストールして実行させればよい。   The series of processes in the above-described embodiment can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, it can be executed by a computer in which a program constituting the software is incorporated in dedicated hardware or a computer in which programs for executing various functions are installed. . For example, a program constituting desired software may be installed and executed on a general-purpose personal computer or the like.

また、システムあるいは装置にプログラムコードを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等が用いられる。また、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介してソフトウェアのプログラムコードを提供することもできる。   Examples of the recording medium for supplying the program code to the system or apparatus include a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, etc. Is used. It is also possible to provide software program codes via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.

また、コンピュータが読み出したプログラムコードを実行することにより、上述した実施の形態例の機能が実現される。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS等が実際の処理の一部又は全部を行う。その処理によって上述した実施の形態例の機能が実現される場合も含まれる。   Further, the functions of the above-described embodiment are realized by executing the program code read by the computer. In addition, an OS or the like running on the computer performs part or all of the actual processing based on the instruction of the program code. The case where the function of the above-described embodiment is realized by the processing is also included.

また、本発明は上述した実施の形態例に限られるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限りその他種々の応用例、変形例を取り得ることは勿論である。
例えば、上記した実施形態例は本開示を分かりやすく説明するために装置及びシステムの構成を詳細且つ具体的に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることは可能であり、更にはある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加・削除・置換をすることも可能である。
また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしもすべての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。
Further, the present invention is not limited to the above-described embodiments, and various other application examples and modifications can be taken without departing from the gist of the present invention described in the claims.
For example, the above-described exemplary embodiments are detailed and specific descriptions of the configuration of the apparatus and the system in order to easily understand the present disclosure, and are not necessarily limited to those having all the configurations described. . Further, a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment. Moreover, it is also possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.
In addition, the control lines and information lines are those that are considered necessary for the explanation, and not all the control lines and information lines on the product are necessarily shown. Actually, it may be considered that almost all the components are connected to each other.

1…制御システム、2…端末A,B、3…演算装置A,B、4…光中継装置A〜D、5…入出力装置A,B、6…制御対象A,B   DESCRIPTION OF SYMBOLS 1 ... Control system, 2 ... Terminal A, B, 3 ... Arithmetic apparatus A, B, 4 ... Optical repeater A-D, 5 ... Input-output device A, B, 6 ... Control object A, B

Claims (9)

二重化された1系回線及び2系回線によってそれぞれリング接続され、それぞれ上位の端末から指示された制御対象に制御命令を出力する二重化された演算装置と、
前記1系回線及び前記2系回線によってそれぞれリング接続され、前記演算装置から受け取った前記制御命令を前記制御対象に出力し、前記制御対象から受け取った応答結果を前記演算装置に送信する二重化された入出力装置と、を備え、
前記入出力装置は、
前記1系回線によって前記演算装置から前記制御命令を受け取り、前記演算装置に前記応答結果を送信する第1の1系通信制御部と、
前記第1の1系通信制御部に対して第1の通信路によって接続され、前記2系回線によって前記演算装置から前記制御命令を受け取り、前記演算装置に前記応答結果を送信する第1の2系通信制御部と、を備え、
前記演算装置は、前記1系回線又は前記2系回線を識別するための第1の系情報を付加した要求フレームを、前記入出力装置を宛先として送信し、
前記入出力装置の前記第1の1系通信制御部は、前記入出力装置を宛先として前記演算装置から送信された前記要求フレームの前記第1の系情報が前記1系回線を示す場合、又は前記第1の2系通信制御部から前記第1の通信路を経て前記要求フレームに対する応答フレームを受信した場合には、前記要求フレームを受信した前記1系回線又は前記2系回線を識別するための第2の系情報を付加した前記応答フレームを、前記第1の系情報によって示される前記1系回線で前記演算装置に向けて送信し、前記要求フレームの前記第1の系情報が前記2系回線を示す場合には、前記応答フレームを前記第1の通信路から前記第1の2系通信制御部に送信し、
前記入出力装置の前記第1の2系通信制御部は、前記入出力装置を宛先として前記演算装置から送信された前記要求フレームの前記第1の系情報が前記2系回線を示す場合、又は前記第1の1系通信制御部から前記第1の通信路を経て前記応答フレームを受信した場合には、前記第2の系情報を付加した前記応答フレームを、前記第1の系情報によって示される前記2系回線で前記演算装置に向けて送信し、前記要求フレームの前記第1の系情報が前記1系回線を示す場合には、前記応答フレームを前記第1の通信路から前記第1の1系通信制御部に送信し、
前記端末は、前記演算装置から受け取った前記要求フレームに対する応答結果に基づいて、前記1系回線又は2系回線の正常接続又は誤接続を診断する
制御システム。
A redundant computing device that is ring-connected by the duplexed system 1 and system 2 lines and that outputs a control command to a control target instructed by a host terminal;
Each of the first system line and the second system line is ring-connected, outputs the control command received from the arithmetic device to the control target, and transmits a response result received from the control target to the arithmetic device. An input / output device;
The input / output device is
A first 1-system communication control unit that receives the control command from the computing device via the 1-system line and transmits the response result to the computing device;
A first 2 connected to the first 1-system communication control unit by a first communication path, receives the control command from the arithmetic device via the second system line, and transmits the response result to the arithmetic device. System communication control unit,
The arithmetic device transmits a request frame to which first system information for identifying the first system line or the second system line is added, with the input / output device as a destination,
The first 1-system communication control unit of the input / output device, when the first system information of the request frame transmitted from the arithmetic device with the input / output device as a destination indicates the 1-system line; or When a response frame to the request frame is received from the first second-line communication control unit via the first communication path, the first-line line or the second-line line that has received the request frame is identified. The response frame to which the second system information is added is transmitted to the arithmetic unit via the first system line indicated by the first system information, and the first system information of the request frame is the 2 When indicating a system line, the response frame is transmitted from the first communication path to the first 2 system communication control unit,
The first second-system communication control unit of the input / output device, when the first-system information of the request frame transmitted from the arithmetic device with the input / output device as a destination indicates the second-system line; or When the response frame is received from the first first-system communication control unit via the first communication path, the response frame to which the second system information is added is indicated by the first system information. When the first system information of the request frame indicates the first system line, the response frame is transmitted from the first communication path to the first system. To the 1-system communication controller of
The terminal diagnoses normal connection or erroneous connection of the system 1 line or system 2 line based on a response result to the request frame received from the arithmetic device.
前記端末は、前記要求フレームに対する応答結果として、前記1系回線又は前記2系回線に接続された前記入出力装置が応答した前記応答フレームの有無に関する情報と、前記演算装置が前記応答フレームを受信した前記1系回線又は前記2系回線を示す情報と、及び前記応答フレームに付加された前記第2の系情報とを受け取った後、前記1系回線又は前記2系回線の誤接続を診断するための表と照合して、前記1系回線又は前記2系回線の正常接続又は誤接続を診断する
請求項1記載の制御システム。
The terminal receives, as a response result to the request frame, information on the presence / absence of the response frame responded by the input / output device connected to the system 1 or system 2 line, and the arithmetic unit receives the response frame. After receiving the information indicating the first system line or the second system line and the second system information added to the response frame, an erroneous connection of the first system line or the second system line is diagnosed. The control system according to claim 1, wherein a normal connection or an erroneous connection of the first-system line or the second-system line is diagnosed by checking with a table for checking.
二重化された前記入出力装置のうち、一方の前記入出力装置が備える前記第1の1系通信制御部と、他方の前記入出力装置が備える前記第1の1系通信制御部とが第1の電気ケーブル又は第1の光ケーブルによって接続され、他方の前記入出力装置が備える前記第1の2系通信制御部と、一方の前記入出力装置が備える前記第1の2系通信制御部とが第2の電気ケーブル又は第2の光ケーブルによって接続される
請求項記載の制御システム。
Among the duplicated input / output devices, the first 1-system communication control unit provided in one of the input / output devices and the first 1-system communication control unit provided in the other input / output device are first. The first two-system communication control unit provided in the other input / output device and the first two-system communication control unit provided in one of the input / output devices are connected by an electrical cable or a first optical cable. The control system according to claim 2 , wherein the control system is connected by a second electric cable or a second optical cable.
さらに、前記演算装置と前記入出力装置の間が光ケーブルによって接続される場合に、前記1系回線及び前記2系回線によってリング接続され、前記演算装置と前記入出力装置の間に配置されて、光信号を中継する二重化された光中継装置を備え、
前記光中継装置は、前記演算装置が前記1系回線又は2系回線のいずれかを用いて、前記光中継装置を宛先として送信した前記第1の系情報を付加した要求フレームを受信すると、前記第2の系情報を前記要求フレームに付加し、前記第1の系情報によって示される前記1系回線又は前記2系回線で前記要求フレームに対する応答フレームを前記演算装置に向けて送信する
請求項記載の制御システム。
Further, when the arithmetic device and the input / output device are connected by an optical cable, the arithmetic system and the input / output device are ring-connected by the system 1 line and the system 2 line, and are arranged between the arithmetic device and the input / output device, It has a duplexed optical repeater that relays optical signals,
When the optical repeater receives the request frame to which the first system information added with the optical repeater as a destination is received by the arithmetic unit using either the first line or the second line, the second system information added to the request frame, according to claim 3 for transmitting a response frame to said request frame with one system line or the 2 system line indicated by the first system information toward the arithmetic unit The described control system.
前記端末は、前記要求フレームに対する応答結果として、前記1系回線又は前記2系回線に接続された前記光中継装置が応答した前記応答フレームの有無、前記演算装置が前記応答フレームを受信した前記1系回線又は前記2系回線を示す情報、前記応答フレームに付加された前記第2の系情報を得た後、前記1系回線又は前記2系回線の誤接続を診断するための表と照合して、前記1系回線又は前記2系回線の正常接続又は誤接続を診断する
請求項記載の制御システム。
The terminal, as a response result to the request frame, the presence / absence of the response frame responded by the optical repeater connected to the system 1 line or the system 2 line, and the arithmetic unit receiving the response frame 1 After obtaining information indicating the system line or the second system line and the second system information added to the response frame, the information is collated with a table for diagnosing erroneous connection of the first system line or the second system line. The control system according to claim 4 , wherein normal connection or erroneous connection of the first system line or the second system line is diagnosed.
前記光中継装置は、
前記1系回線によって前記演算装置から前記要求フレームを受け取り、前記演算装置に前記応答フレームを送信する第2の1系通信制御部と、
前記第2の1系通信制御部に対して第2の通信路によって接続され、前記2系回線によって前記演算装置から前記要求フレームを受け取り、前記演算装置に前記応答フレームを送信する第2の2系通信制御部と、を備え、
前記第2の1系通信制御部は、前記光中継装置を宛先として送信された前記要求フレームの前記第2の系情報が前記1系回線を示す場合、又は前記第2の2系通信制御部から前記第2の通信路を経て前記応答フレームを受信した場合には、前記応答フレームを前記1系回線に送信し、前記要求フレームの前記第2の系情報が前記2系回線を示す場合には、前記応答フレームを前記第2の通信路から前記第2の2系通信制御部に送信し、
前記第2の2系通信制御部は、前記光中継装置を宛先として送信された前記要求フレームの前記第2の系情報が前記2系回線を示す場合、又は前記第2の1系通信制御部から前記第2の通信路を経て前記応答フレームを受信した場合には、前記応答フレームを前記2系回線に送信し、前記要求フレームの前記第2の系情報が前記1系回線を示す場合には、前記応答フレームを前記第2の通信路から前記第2の1系通信制御部に送信する
請求項記載の制御システム。
The optical repeater is
A second system 1 communication control unit that receives the request frame from the computing device via the system 1 line and transmits the response frame to the computing device;
A second 2 connected to the second 1-system communication control unit by a second communication path, receiving the request frame from the computing device via the 2-system line, and transmitting the response frame to the computing device. System communication control unit,
The second system 1 communication control unit is configured when the second system information of the request frame transmitted with the optical repeater as a destination indicates the system 1 line, or the second system 2 communication control unit When the response frame is received via the second communication path, the response frame is transmitted to the system 1 line, and the second system information of the request frame indicates the system 2 line. Transmits the response frame from the second communication path to the second 2-system communication control unit,
The second 2-system communication control unit is configured when the second system information of the request frame transmitted with the optical repeater as a destination indicates the 2-system line, or the second 1-system communication control unit When the response frame is received via the second communication path, the response frame is transmitted to the second system line, and the second system information of the request frame indicates the first system line. The control system according to claim 5 , wherein the response frame is transmitted from the second communication path to the second system 1 communication control unit.
前記要求フレームに付加された前記宛先には、二重化された前記演算装置、前記光中継装置、前記入出力装置に割り振られた異なる位置情報が含まれ、
一方の前記演算装置が前記位置情報を順に変えた前記要求フレームを前記1系回線及び前記2系回線に接続される前記光中継装置及び前記入出力装置に送信し、前記光中継装置及び前記入出力装置から前記応答フレームを受信した後、
他方の前記演算装置が前記位置情報を順に変えた前記要求フレームを前記1系回線及び前記2系回線に接続される前記光中継装置及び前記入出力装置に送信し、前記光中継装置及び前記入出力装置から前記応答フレームを受信する
請求項記載の制御システム。
The destination added to the request frame includes different position information allocated to the duplicated arithmetic device, the optical repeater, and the input / output device,
One of the arithmetic devices transmits the request frame in which the position information is changed in order to the optical repeater and the input / output device connected to the first-line and second-line, and the optical repeater and the input After receiving the response frame from the output device,
The other arithmetic device transmits the request frame in which the position information is changed in order to the optical repeater and the input / output device connected to the first and second system lines, and The control system according to claim 6, wherein the response frame is received from an output device.
二重化された1系回線及び2系回線によってそれぞれリング接続され、それぞれ上位の端末から指示された制御対象に制御命令を出力する二重化された演算装置と、
前記1系回線及び前記2系回線によってそれぞれリング接続され、前記演算装置から受け取った前記制御命令を前記制御対象に出力し、前記制御対象から受け取った応答結果を前記演算装置に送信する二重化された入出力装置と、を備え
前記入出力装置は、
前記1系回線によって前記演算装置から前記制御命令を受け取り、前記演算装置に前記応答結果を送信する第1の1系通信制御部と、
前記第1の1系通信制御部に対して第1の通信路によって接続され、前記2系回線によって前記演算装置から前記制御命令を受け取り、前記演算装置に前記応答結果を送信する第1の2系通信制御部と、を備えた制御システムにおいて行われる回線接続診断方法であって、
前記演算装置は、前記1系回線又は前記2系回線を識別するための第1の系情報を付加した要求フレームを、前記入出力装置を宛先として送信するステップと、
前記入出力装置の前記第1の1系通信制御部は、前記入出力装置を宛先として前記演算装置から送信された前記要求フレームの前記第1の系情報が前記1系回線を示す場合、又は前記第1の2系通信制御部から前記第1の通信路を経て前記要求フレームに対する応答フレームを受信した場合には、前記要求フレームを受信した前記1系回線又は前記2系回線を識別するための第2の系情報を付加した前記応答フレームを、前記第1の系情報によって示される前記1系回線で前記演算装置に向けて送信し、前記要求フレームの前記第1の系情報が前記2系回線を示す場合には、前記応答フレームを前記第1の通信路から前記第1の2系通信制御部に送信するステップと、
前記入出力装置の前記第1の2系通信制御部は、前記入出力装置を宛先として前記演算装置から送信された前記要求フレームの前記第1の系情報が前記2系回線を示す場合、又は前記第1の1系通信制御部から前記第1の通信路を経て前記応答フレームを受信した場合には、前記第2の系情報を付加した前記応答フレームを、前記第1の系情報によって示される前記2系回線で前記演算装置に向けて送信し、前記要求フレームの前記第1の系情報が前記1系回線を示す場合には、前記応答フレームを前記第1の通信路から前記第1の1系通信制御部に送信するステップと、
前記端末は、前記演算装置から受け取った前記要求フレームに対する応答結果に基づいて、前記1系回線又は2系回線の正常接続又は誤接続を診断するステップと、を含む
回線接続診断方法。
A redundant computing device that is ring-connected by the duplexed system 1 and system 2 lines and that outputs a control command to a control target instructed by a host terminal;
Each of the first system line and the second system line is ring-connected, outputs the control command received from the arithmetic device to the control target, and transmits a response result received from the control target to the arithmetic device. An input / output device ;
The input / output device is
A first 1-system communication control unit that receives the control command from the computing device via the 1-system line and transmits the response result to the computing device;
A first 2 connected to the first 1-system communication control unit by a first communication path, receives the control command from the arithmetic device via the second system line, and transmits the response result to the arithmetic device. A line connection diagnosis method performed in a control system comprising a system communication control unit ,
The arithmetic device transmits a request frame to which first system information for identifying the first system line or the second system line is added with the input / output device as a destination;
The first 1-system communication control unit of the input / output device, when the first system information of the request frame transmitted from the arithmetic device with the input / output device as a destination indicates the 1-system line; or When a response frame to the request frame is received from the first second-line communication control unit via the first communication path, the first-line line or the second-line line that has received the request frame is identified. The response frame to which the second system information is added is transmitted to the arithmetic unit via the first system line indicated by the first system information, and the first system information of the request frame is the 2 When indicating a system line, the step of transmitting the response frame from the first communication path to the first 2 system communication control unit ;
The first second-system communication control unit of the input / output device, when the first-system information of the request frame transmitted from the arithmetic device with the input / output device as a destination indicates the second-system line; or When the response frame is received from the first first-system communication control unit via the first communication path, the response frame to which the second system information is added is indicated by the first system information. When the first system information of the request frame indicates the first system line, the response frame is transmitted from the first communication path to the first system. Transmitting to the 1-system communication control unit of
The terminal includes a step of diagnosing normal connection or erroneous connection of the system 1 line or system 2 line based on a response result to the request frame received from the arithmetic device.
二重化された1系回線及び2系回線によってそれぞれリング接続され、それぞれ上位の端末から指示された制御対象に制御命令を出力する二重化された演算装置と、
前記1系回線及び前記2系回線によってそれぞれリング接続され、前記演算装置から受け取った前記制御命令を前記制御対象に出力し、前記制御対象から受け取った応答結果を前記演算装置に送信する二重化された入出力装置と、を備え
前記入出力装置は、
前記1系回線によって前記演算装置から前記制御命令を受け取り、前記演算装置に前記応答結果を送信する第1の1系通信制御部と、
前記第1の1系通信制御部に対して第1の通信路によって接続され、前記2系回線によって前記演算装置から前記制御命令を受け取り、前記演算装置に前記応答結果を送信する第1の2系通信制御部と、を備えた制御システムにおいてコンピュータに実行させるプログラムであって、
前記演算装置は、前記1系回線又は前記2系回線を識別するための第1の系情報を付加した要求フレームを、前記入出力装置を宛先として送信する手順、
前記入出力装置の前記第1の1系通信制御部は、前記入出力装置を宛先として前記演算装置から送信された前記要求フレームの前記第1の系情報が前記1系回線を示す場合、又は前記第1の2系通信制御部から前記第1の通信路を経て前記要求フレームに対する応答フレームを受信した場合には、前記要求フレームを受信した前記1系回線又は前記2系回線を識別するための第2の系情報を付加した前記応答フレームを、前記第1の系情報によって示される前記1系回線で前記演算装置に向けて送信し、前記要求フレームの前記第1の系情報が前記2系回線を示す場合には、前記応答フレームを前記第1の通信路から前記第1の2系通信制御部に送信する手順、
前記入出力装置の前記第1の2系通信制御部は、前記入出力装置を宛先として前記演算装置から送信された前記要求フレームの前記第1の系情報が前記2系回線を示す場合、又は前記第1の1系通信制御部から前記第1の通信路を経て前記応答フレームを受信した場合には、前記第2の系情報を付加した前記応答フレームを、前記第1の系情報によって示される前記2系回線で前記演算装置に向けて送信し、前記要求フレームの前記第1の系情報が前記1系回線を示す場合には、前記応答フレームを前記第1の通信路から前記第1の1系通信制御部に送信する手順、
前記端末は、前記演算装置から受け取った前記要求フレームに対する応答結果に基づいて、前記1系回線又は2系回線の正常接続又は誤接続を診断する手順と、を
コンピュータに実行させるプログラム。
A redundant computing device that is ring-connected by the duplexed system 1 and system 2 lines and that outputs a control command to a control target instructed by a host terminal;
Each of the first system line and the second system line is ring-connected, outputs the control command received from the arithmetic device to the control target, and transmits a response result received from the control target to the arithmetic device. An input / output device ;
The input / output device is
A first 1-system communication control unit that receives the control command from the computing device via the 1-system line and transmits the response result to the computing device;
A first 2 connected to the first 1-system communication control unit by a first communication path, receives the control command from the arithmetic device via the second system line, and transmits the response result to the arithmetic device. A program to be executed by a computer in a control system comprising a system communication control unit ,
The arithmetic device transmits a request frame to which the first system information for identifying the first system line or the second system line is added, with the input / output device as a destination,
The first 1-system communication control unit of the input / output device, when the first system information of the request frame transmitted from the arithmetic device with the input / output device as a destination indicates the 1-system line; or When a response frame to the request frame is received from the first second-line communication control unit via the first communication path, the first-line line or the second-line line that has received the request frame is identified. The response frame to which the second system information is added is transmitted to the arithmetic unit via the first system line indicated by the first system information, and the first system information of the request frame is the 2 When indicating a system line, a procedure for transmitting the response frame from the first communication path to the first 2 system communication control unit ;
The first second-system communication control unit of the input / output device, when the first-system information of the request frame transmitted from the arithmetic device with the input / output device as a destination indicates the second-system line; or When the response frame is received from the first first-system communication control unit via the first communication path, the response frame to which the second system information is added is indicated by the first system information. When the first system information of the request frame indicates the first system line, the response frame is transmitted from the first communication path to the first system. The procedure to transmit to the 1 system communication control unit of
A program for causing a computer to execute a procedure for diagnosing normal connection or erroneous connection of the first system line or second system line based on a response result to the request frame received from the arithmetic device.
JP2013068201A 2013-03-28 2013-03-28 Control system, line connection diagnosis method and program Expired - Fee Related JP5894553B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013068201A JP5894553B2 (en) 2013-03-28 2013-03-28 Control system, line connection diagnosis method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013068201A JP5894553B2 (en) 2013-03-28 2013-03-28 Control system, line connection diagnosis method and program

Publications (2)

Publication Number Publication Date
JP2014192796A JP2014192796A (en) 2014-10-06
JP5894553B2 true JP5894553B2 (en) 2016-03-30

Family

ID=51838674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013068201A Expired - Fee Related JP5894553B2 (en) 2013-03-28 2013-03-28 Control system, line connection diagnosis method and program

Country Status (1)

Country Link
JP (1) JP5894553B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2559681B (en) * 2015-08-26 2021-06-09 Hitachi Ltd Control system
JP6698404B2 (en) * 2016-03-30 2020-05-27 三菱電機株式会社 Switchboard control device and switchboard system using the switchboard control device
JP6918849B2 (en) * 2019-01-22 2021-08-11 ファナック株式会社 system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4565751B2 (en) * 2001-01-16 2010-10-20 富士通株式会社 Transmission equipment
JP2002341936A (en) * 2001-05-15 2002-11-29 Toyo Commun Equip Co Ltd Method for detecting loop connection error of transmitter
JP5152765B2 (en) * 2009-02-25 2013-02-27 株式会社日立製作所 Line switching device and plant control system
JP2011113415A (en) * 2009-11-27 2011-06-09 Hitachi Ltd Control system and cpu unit
JP2012235335A (en) * 2011-05-02 2012-11-29 Hitachi Ltd Method and device for detecting incorrect connection between devices

Also Published As

Publication number Publication date
JP2014192796A (en) 2014-10-06

Similar Documents

Publication Publication Date Title
JP4776374B2 (en) Redundant supervisory control system and redundant switching method for the same system
US7831743B2 (en) Numerical controller managing multiple input/output units that automatically allocate and stores group IDs for the input/output units
JP6509477B2 (en) Control device and control program
US11022962B2 (en) High availability industrial automation system having primary and secondary industrial automation controllers and method of communicating information over the same
JP2017151496A (en) Safety monitoring device, network system, and safety monitoring method
JP5894553B2 (en) Control system, line connection diagnosis method and program
WO2008075631A1 (en) Plc dispersion control system
CN109188895A (en) A kind of servo-control system based on Redundancy Design
JP4656335B2 (en) Safety device setting file creation support device
KR101735919B1 (en) Inverter controlling method
JP6830608B2 (en) Communication system, controlled device, and control method of communication system
JP2008181572A (en) Plc system
WO1990002366A1 (en) System for diagnosing cnc
JP4541241B2 (en) Plant control system
JP6373630B2 (en) Relay control system and communication relay method
JP6149393B2 (en) Communication coupler, information processing apparatus, control method, and program
CN113545013B (en) Network management device, management method, and recording medium
JP2013168090A (en) Multi-controller system, control method, and program
JP4419617B2 (en) Fault location determination method for multi-loop network
JP2012235335A (en) Method and device for detecting incorrect connection between devices
EP3316260A1 (en) Safety control system for nuclear power plant
WO2011074147A1 (en) Redundant control device
CN113557694A (en) Network management device, management method, management program, and recording medium
JP5961212B2 (en) Redundant system and redundancy method
JP2006040148A (en) Safety controller, safety control system and communication error detection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160226

R150 Certificate of patent or registration of utility model

Ref document number: 5894553

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees