JP2007124680A - Data transmission method - Google Patents

Data transmission method Download PDF

Info

Publication number
JP2007124680A
JP2007124680A JP2006321157A JP2006321157A JP2007124680A JP 2007124680 A JP2007124680 A JP 2007124680A JP 2006321157 A JP2006321157 A JP 2006321157A JP 2006321157 A JP2006321157 A JP 2006321157A JP 2007124680 A JP2007124680 A JP 2007124680A
Authority
JP
Japan
Prior art keywords
transmission
data
control
reception
control device
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.)
Pending
Application number
JP2006321157A
Other languages
Japanese (ja)
Inventor
Hideaki Matsuoka
秀明 松岡
Masashi Asano
昌志 浅野
Hiroshi Ito
洋志 伊東
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2006321157A priority Critical patent/JP2007124680A/en
Publication of JP2007124680A publication Critical patent/JP2007124680A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data transmission method with which data can be properly exchanged between control devices in a control system wherein control devices each for controlling a process are connected via a network. <P>SOLUTION: In the case of transmitting data from a control device constructed from a controller and a transmitter to another control device via a network constructed from one transmission line, if reception data equal with or more than a fixed number are received from the network in a concentrated manner within a predetermined time, the receiving-side control device stops receiving data from the network and after the lapse of a fixed time, data reception prohibition is canceled. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、プロセスを制御する制御装置をネットワークを介して接続した制御システムでの制御装置間でのデータの送受信を行うデータ伝送方法に関する。   The present invention relates to a data transmission method for transmitting and receiving data between control devices in a control system in which control devices for controlling processes are connected via a network.

例えば、発電プラントや送配電プラントでは複数の制御装置が設けられ、これら制御装置をネットワークを介して接続し、制御装置間でデータの送受信を行うようにしている。   For example, in a power plant or a power transmission / distribution plant, a plurality of control devices are provided, and these control devices are connected via a network so that data is transmitted and received between the control devices.

図12は、二重化された伝送路を有するネットワークに2台の制御装置を接続した制御システムの構成図である。制御装置1a、1bは、それぞれ制御コントローラ2a、2bおよび伝送装置3a、3bで構成されており、各伝送装置3a、3bは、冗長化された伝送路10a、10bで構成されたネットワーク11で接続されている。このような制御システムで、制御装置1aから制御装置1bへデータを伝送する場合について説明する。   FIG. 12 is a configuration diagram of a control system in which two control devices are connected to a network having a duplexed transmission path. The control devices 1a and 1b are respectively composed of control controllers 2a and 2b and transmission devices 3a and 3b. Each transmission device 3a and 3b is connected by a network 11 composed of redundant transmission lines 10a and 10b. Has been. A case where data is transmitted from the control device 1a to the control device 1b in such a control system will be described.

いま、送信側制御装置を制御装置1aとし受信側制御装置を制御装置1bとする。送信側制御装置1aの制御コントローラ2aは制御演算処理により最新プロセスデータを作成している。送信側制御装置1aの伝送装置3aは、制御コントローラ2aの制御演算処理により作成された最新プロセスデータを伝送周期毎に受け取り、伝送路10a、10bで構成されたネットワーク11へ送信する。   Now, let the transmission side control device be the control device 1a and the reception side control device be the control device 1b. The control controller 2a of the transmission side control device 1a creates the latest process data by the control calculation process. The transmission device 3a of the transmission side control device 1a receives the latest process data created by the control arithmetic processing of the control controller 2a for each transmission cycle, and transmits it to the network 11 constituted by the transmission paths 10a and 10b.

受信側制御装置1bの伝送装置3bでは、ネットワーク11を構成する伝送路10a、10bからデータを受信し、受信したデータを制御コントローラ2bに入力する。このようにして、制御装置1a、1b間のデータ伝送を実施している。 The transmission device 3b of the reception side control device 1b receives data from the transmission lines 10a and 10b constituting the network 11, and inputs the received data to the control controller 2b. In this way, data transmission is performed between the control devices 1a and 1b.

図13は、送信側伝送装置3aの送信処理手順を示すフローチャートである。送信側伝送装置3aでは、データ伝送周期を監視しており(S100)、データの伝送周期を検出すると、制御コントローラ2aから最新のプロセスデータを送信データとして送信用メモリに入力する(S101)。次に、ネットワーク11の冗長化された伝送路10a、10bの中から一つの伝送路を選択し(S102)、選択した伝送路に対してデータ送信を実行する(S103)。そして、全ての冗長化された伝送路10a、10bに送信したか否かを判定し(S104)、全ての伝送路10a、10bに送信完了するまでステップS3〜ステップS5を繰り返し実行する。   FIG. 13 is a flowchart showing a transmission processing procedure of the transmission apparatus 3a on the transmission side. The transmission-side transmission device 3a monitors the data transmission cycle (S100). When the data transmission cycle is detected, the latest process data is input from the controller 2a as transmission data to the transmission memory (S101). Next, one transmission path is selected from the redundant transmission paths 10a and 10b of the network 11 (S102), and data transmission is executed for the selected transmission path (S103). Then, it is determined whether or not the transmission has been made to all the redundant transmission lines 10a and 10b (S104), and Steps S3 to S5 are repeatedly executed until the transmission to all the transmission lines 10a and 10b is completed.

図14は、受信側伝送装置3bの受信処理手順を示すフローチャートである。受信側伝送装置3bでは、ネットワーク11の伝送路10a、10bのいずれかからデータ受信があるか否かを判定し(S200)、データ受信を検出すると、当該受信データを受信用メモリに入力する(S201)。   FIG. 14 is a flowchart showing a reception processing procedure of the reception-side transmission apparatus 3b. The receiving side transmission device 3b determines whether or not data is received from any of the transmission paths 10a and 10b of the network 11 (S200). When data reception is detected, the received data is input to the reception memory ( S201).

次に、受信側の制御コントローラ2bの制御周期を検出したか否かを判定し(S202)、受信側の制御コントローラ2bの制御周期を検出すると、それまでに受信用メモリに入力した最新の受信データを制御コントローラ2bへ出力する(S203)。   Next, it is determined whether or not the control cycle of the receiving-side controller 2b has been detected (S202). When the control cycle of the receiving-side control controller 2b is detected, the latest reception that has been input to the receiving memory up to that point is detected. Data is output to the controller 2b (S203).

このように、図12に示す制御システムでは、送信側制御装置1aの伝送装置3aでは、ネットワーク11の全ての伝送路10a、10bに対してデータを送信し、受信側制御装置1bの伝送装置3bでは、いずれかの伝送路10a、10bからデータを受信するようにしている。   In this way, in the control system shown in FIG. 12, the transmission device 3a of the transmission side control device 1a transmits data to all the transmission paths 10a and 10b of the network 11, and the transmission device 3b of the reception side control device 1b. In this case, data is received from any one of the transmission paths 10a and 10b.

図15は、一つの伝送路を有するネットワークに2台の制御装置を接続した制御システムの構成図である。制御装置1a、1bは、それぞれ制御コントローラ2a、2bおよび伝送装置3a、3bで構成されており、各伝送装置3a、3bは、一つの伝送路10で構成されたネットワーク11で接続されている。このような制御システムで、制御装置1aから制御装置1bへデータを伝送する場合について説明する。   FIG. 15 is a configuration diagram of a control system in which two control devices are connected to a network having one transmission path. The control devices 1a and 1b are respectively configured by control controllers 2a and 2b and transmission devices 3a and 3b. Each transmission device 3a and 3b is connected by a network 11 configured by a single transmission path 10. A case where data is transmitted from the control device 1a to the control device 1b in such a control system will be described.

送信側制御装置1aの制御コントローラ2aは制御演算処理により最新プロセスデータを作成している。送信側制御装置1aの伝送装置3aは、制御コントローラ2aの制御演算処理により作成された最新プロセスデータを伝送周期毎に受け取り、伝送路10で構成されたネットワーク11へ送信する。   The control controller 2a of the transmission side control device 1a creates the latest process data by the control calculation process. The transmission device 3a of the transmission-side control device 1a receives the latest process data created by the control arithmetic processing of the control controller 2a for each transmission cycle, and transmits it to the network 11 configured by the transmission path 10.

受信側制御装置1bの伝送装置3bでは、ネットワーク11を構成する伝送路10からデータを受信し、受信したデータを制御コントローラ2bに入力する。このようにして、制御装置1a、1b間のデータ伝送を実施している。   In the transmission device 3b of the reception-side control device 1b, data is received from the transmission path 10 constituting the network 11, and the received data is input to the control controller 2b. In this way, data transmission is performed between the control devices 1a and 1b.

図16は、送信側伝送装置3aの送信処理手順を示すフローチャートである。送信側伝送装置3aでは、データ伝送周期を監視しており(S100)、データの伝送周期を検出すると、制御コントローラ2aから最新のプロセスデータを送信データとして送信用メモリに入力する(S101)。次に、送信用サイクリックカウンタのカウント値をインクリメントして(S102)、送信データに付加した後(S103)、伝送路10に対しデータ送信を実行する(S110)。   FIG. 16 is a flowchart showing a transmission processing procedure of the transmission apparatus 3a on the transmission side. The transmission-side transmission device 3a monitors the data transmission cycle (S100). When the data transmission cycle is detected, the latest process data is input from the controller 2a as transmission data to the transmission memory (S101). Next, the count value of the transmission cyclic counter is incremented (S102), added to the transmission data (S103), and then data transmission is executed to the transmission line 10 (S110).

図17は、受信側伝送装置3bの受信処理手順を示すフローチャートである。受信側伝送装置3bでは、ネットワーク11の伝送路10からデータ受信があるか否かを判定し(S200)、データ受信を検出すると、受信データに付加されたサイクリックカウンタのカウント値を取り出し(S201)、前回受信カウンタのカウント値と比較する(S202)。   FIG. 17 is a flowchart showing the reception processing procedure of the reception-side transmission apparatus 3b. The receiving side transmission device 3b determines whether or not there is data reception from the transmission line 10 of the network 11 (S200). When data reception is detected, the count value of the cyclic counter added to the received data is extracted (S201). ), And compared with the count value of the previous reception counter (S202).

そして、受信データ内のサイクリックカウンタのカウント値の方が大きい場合は、受信データを受信用メモリに入力すると共に(S203)、この時の受信データ内のサイクリックカウンタのカウント値を、次回の比較用に前回受信カウンタに保存する(S204)。   If the count value of the cyclic counter in the received data is larger, the received data is input to the reception memory (S203), and the count value of the cyclic counter in the received data at this time is set to the next time. It is stored in the previous reception counter for comparison (S204).

一方、ステップS202の判定で、受信データのサイクリックカウンタのカウント値が前回受信カウンタのカウント値と同じか又は小さい場合は、受信データの入力は行わずステップS203およびステップS204の処理をパスする。つまり、受信データは破棄される。   On the other hand, if the count value of the cyclic counter of the received data is equal to or smaller than the count value of the previous reception counter in the determination of step S202, the process of steps S203 and S204 is passed without inputting the received data. That is, the received data is discarded.

その後、制御コントローラ2bとの制御周期を検出したか否かを判定し(S210)、制御周期を検出した場合は、受信用メモリに入力してある最新の受信データを制御コントローラ2bに出力する(S211)。   Thereafter, it is determined whether or not a control cycle with the controller 2b has been detected (S210). If the control cycle has been detected, the latest received data input to the reception memory is output to the controller 2b ( S211).

このように、図15に示す制御システムでは、送信側制御装置1aの伝送装置3aでは、送信データにサイクリックカウント値を付加して送信し、受信側制御装置1bでは、伝送路10にから受信した受信データのカウント値を判定して最新のプロセスデータを受信するようにしている。   As described above, in the control system shown in FIG. 15, the transmission device 3a of the transmission side control device 1a transmits the transmission data with the cyclic count value added thereto, and the reception side control device 1b receives the signal from the transmission line 10. The latest process data is received by determining the count value of the received data.

図18は、一つの伝送路を有するネットワークに3台の制御装置を接続した制御システムの構成図である。制御装置1a、1b、1cは、それぞれ制御コントローラ2a、2b、2cおよび伝送装置3a、3b、3cで構成されており、各伝送装置3a、3b、3cは、一つの伝送路10で構成されたネットワーク11で接続されている。このような制御システムで、制御装置1a、1bから制御装置1cへデータを伝送する場合について説明する。   FIG. 18 is a configuration diagram of a control system in which three control devices are connected to a network having one transmission path. The control devices 1a, 1b, and 1c are configured by control controllers 2a, 2b, and 2c and transmission devices 3a, 3b, and 3c, respectively, and each transmission device 3a, 3b, and 3c is configured by one transmission line 10. The network 11 is connected. A case where data is transmitted from the control devices 1a and 1b to the control device 1c in such a control system will be described.

送信側制御装置1a、1bの制御コントローラ2a、2bは制御演算処理により最新プロセスデータを作成している。送信側制御装置1a、1bの伝送装置3a、3bは、制御コントローラ2a、2bの制御演算処理により作成された最新プロセスデータを伝送周期毎に受け取り、伝送路10で構成されたネットワーク11へ送信する。   The control controllers 2a and 2b of the transmission side control devices 1a and 1b create the latest process data by the control calculation process. The transmission devices 3a and 3b of the transmission side control devices 1a and 1b receive the latest process data created by the control arithmetic processing of the control controllers 2a and 2b for each transmission cycle, and transmit them to the network 11 configured by the transmission path 10. .

受信側制御装置1cの伝送装置3cでは、ネットワーク11を構成する伝送路10からデータを受信し、受信したデータを制御コントローラ2cに入力する。このようにして、制御装置1a、1bと制御装置1cと間のデータ伝送を実施している。   In the transmission device 3c of the reception-side control device 1c, data is received from the transmission path 10 constituting the network 11, and the received data is input to the control controller 2c. In this way, data transmission is performed between the control devices 1a and 1b and the control device 1c.

図19は、送信側伝送装置3aの送信処理手順を示すフローチャートである。送信側伝送装置3aでは、データ伝送周期を監視しており(S100)、データの伝送周期を検出すると、制御コントローラ2aから最新のプロセスデータを送信データとして送信用メモリに入力する(S101)。そして、伝送路10に対しデータ送信を実行する(S110)。   FIG. 19 is a flowchart showing a transmission processing procedure of the transmission apparatus 3a on the transmission side. The transmission-side transmission device 3a monitors the data transmission cycle (S100). When the data transmission cycle is detected, the latest process data is input from the controller 2a as transmission data to the transmission memory (S101). And data transmission is performed with respect to the transmission line 10 (S110).

図20は、受信側伝送装置3bの受信処理手順を示すフローチャートである。受信側伝送装置3bでは、ネットワーク11の伝送路10からデータ受信があるか否かを判定し(S200)、データ受信を検出すると、当該受信データを受信用メモリに入力する(S201)。   FIG. 20 is a flowchart illustrating a reception processing procedure of the reception-side transmission apparatus 3b. The receiving side transmission device 3b determines whether or not there is data reception from the transmission line 10 of the network 11 (S200). When data reception is detected, the reception data is input to the reception memory (S201).

次に、受信側の制御コントローラ2bの制御周期を検出したか否かを判定し(S202)、受信側の制御コントローラ2bの制御周期を検出すると、それまでに受信用メモリに入力した最新の受信データを制御コントローラ2bへ出力する(S203)。   Next, it is determined whether or not the control cycle of the receiving-side controller 2b has been detected (S202). When the control cycle of the receiving-side control controller 2b is detected, the latest reception that has been input to the receiving memory up to that point is detected. Data is output to the controller 2b (S203).

このように、図18に示す制御システムでは、送信側制御装置1a、1bの伝送装置3a、3bでは、ネットワーク11の伝送路10に対してデータを送信し、受信側制御装置1cの伝送装置3cでは、伝送路10からデータを受信するようにしている。これにより、制御装置1a、1bで作られた最新のプロセスデータが制御装置1cへデータ伝送される。   As described above, in the control system shown in FIG. 18, the transmission devices 3a and 3b of the transmission side control devices 1a and 1b transmit data to the transmission line 10 of the network 11, and the transmission device 3c of the reception side control device 1c. Then, data is received from the transmission line 10. As a result, the latest process data created by the control devices 1a and 1b is transmitted to the control device 1c.

図21は、一つの伝送路を有するネットワークに構成要素が二重化された2台の制御装置を接続した制御システムの構成図である。制御装置1a、1bは、構成要素がそれぞれ二重化されており、制御装置1aは制御コントローラ21a、21bおよび伝送装置31a、31bで構成されており、制御装置1bは制御コントローラ22a、22bおよび伝送装置32a、32bで構成されている。伝送装置31a、31bおよび伝送装置32a、32bは、一つの伝送路10で構成されたネットワーク11で接続され、二重化された制御装置1a、1bにおいては、主系である制御コントローラ21a、22aによりプラントが制御されている。このような制御システムでの二重化運転状態で、制御装置1aから制御装置1bへデータを伝送する場合について説明する。   FIG. 21 is a configuration diagram of a control system in which two control devices whose components are duplicated are connected to a network having one transmission path. The control devices 1a and 1b are duplicated, and the control device 1a includes control controllers 21a and 21b and transmission devices 31a and 31b. The control device 1b includes the control controllers 22a and 22b and the transmission device 32a. , 32b. The transmission devices 31a and 31b and the transmission devices 32a and 32b are connected by a network 11 constituted by a single transmission line 10, and in the redundant control devices 1a and 1b, the plant is controlled by the control controllers 21a and 22a which are main systems. Is controlled. A case where data is transmitted from the control device 1a to the control device 1b in the duplex operation state in such a control system will be described.

構成要素が冗長化(二重化)された送信側制御装置1aの制御コントローラ21a、21bは、制御演算処理により最新プロセスデータを作成している。送信側制御装置1aの伝送装置31a、31bは、制御コントローラ21a、21bの制御演算処理により作成された最新プロセスデータを伝送周期毎に受け取り、伝送路10で構成されたネットワーク11へ送信する。   The control controllers 21a and 21b of the transmission-side control device 1a with the redundant (duplicated) components create the latest process data through the control calculation process. The transmission devices 31a and 31b of the transmission-side control device 1a receive the latest process data created by the control arithmetic processing of the control controllers 21a and 21b for each transmission period, and transmit the latest process data to the network 11 configured by the transmission path 10.

受信側制御装置1bの伝送装置32a、32bでは、ネットワーク11を構成する伝送路10からデータを受信し、受信したデータを制御コントローラ22a、22bに入力する。このようにして、制御装置1a、1b間のデータ伝送を実施している。   The transmission devices 32a and 32b of the reception-side control device 1b receive data from the transmission path 10 that configures the network 11, and input the received data to the control controllers 22a and 22b. In this way, data transmission is performed between the control devices 1a and 1b.

図22は、送信側伝送装置31a、31bの送信処理手順を示すフローチャートである。送信側伝送装置31a、31bでは、データ伝送周期を監視しており(S100)、データの伝送周期を検出すると、制御コントローラ21a、21bから最新のプロセスデータを送信データとして送信用メモリに入力する(S101)。さらに、制御コントローラ21a、21bの冗長化運転状態(主系/従系)を入力し(S102)、送信データにその冗長化運転状態(主系/従系)を付加する(S103)。つまり、主系である制御コントローラ21aで作成された送信データには冗長化運転状態として主系が付加され、従系である制御コントローラ21bで作成された送信データには冗長化運転状態として従系が付加される。そして、伝送路10に対しデータ送信を実行する(S110)。   FIG. 22 is a flowchart showing a transmission processing procedure of the transmission apparatuses 31a and 31b. The transmission-side transmission devices 31a and 31b monitor the data transmission cycle (S100). When the data transmission cycle is detected, the latest process data is input as transmission data from the control controllers 21a and 21b to the transmission memory ( S101). Further, the redundant operation state (main system / secondary system) of the controller 21a, 21b is input (S102), and the redundant operation state (main system / secondary system) is added to the transmission data (S103). That is, the master data is added as a redundant operation state to the transmission data created by the control controller 21a which is the master system, and the slave data is set as the redundancy operation state to the transmission data created by the control controller 21b which is the slave system. Is added. And data transmission is performed with respect to the transmission line 10 (S110).

図23は、受信側伝送装置32a、32bの受信処理手順を示すフローチャートである。受信側伝送装置32a、32bでは、ネットワーク11の伝送路10からデータ受信があるか否かを判定し(S200)、データ受信を検出すると、当該受信データに付加された送信側制御コントローラ21a、21bの冗長化運転状態を取り出す(S201)。   FIG. 23 is a flowchart showing a reception processing procedure of the reception-side transmission apparatuses 32a and 32b. The receiving side transmission devices 32a and 32b determine whether or not there is data reception from the transmission path 10 of the network 11 (S200), and when data reception is detected, the transmission side control controllers 21a and 21b added to the received data. The redundant operation state is taken out (S201).

次に、受信データ内の冗長化運転状態が主系であるか否かを判定し(S202)、冗長化運転状態が主系である場合は当該受信データを受信用メモリに入力し(S203)、冗長化運転状態が従系である場合は当該受信データの入力はしない。その後、制御コントローラ22a、22bの制御周期を判定し(S210)、制御周期となったときは、それまでに受信用メモリに入力した最新の受信データを制御コントローラ22a、22bへ出力する(S211)。   Next, it is determined whether or not the redundant operation state in the received data is the main system (S202). If the redundant operation state is the main system, the received data is input to the reception memory (S203). When the redundant operation state is a secondary system, the received data is not input. Thereafter, the control cycle of the controller 22a, 22b is determined (S210). When the control cycle is reached, the latest received data input to the reception memory is output to the controller 22a, 22b (S211). .

このように、図21に示す制御システムでは、送信側制御装置1aの伝送装置31a、31bでは、ネットワーク11の伝送路10に対してデータを送信し、受信側制御装置1bの伝送装置32a、32bでは、自己が主系である場合に伝送路10からデータを受信するようにしている。これにより、制御装置1aで作られた最新のプロセスデータが制御装置1bへデータ伝送される。   Thus, in the control system shown in FIG. 21, the transmission devices 31a and 31b of the transmission-side control device 1a transmit data to the transmission path 10 of the network 11, and the transmission devices 32a and 32b of the reception-side control device 1b. In this case, data is received from the transmission line 10 when it is the main system. As a result, the latest process data created by the control device 1a is transmitted to the control device 1b.

図24は、一つの伝送路で構成された階層のネットワークに非同期の二重化の制御装置を含む複数台の制御装置および監視表示装置を接続した制御システムの構成図である。非同期の二重化の制御装置1a、1bは、それぞれ制御コントローラ2a、2bおよび伝送装置3a、3bで構成されており、各伝送装置3a、3bは、一つの伝送路10で構成されたネットワーク11で接続されている。また、制御装置1cは制御コントローラ2cおよび伝送装置3c、3dで構成されており、伝送装置3cは、伝送路10で構成されたネットワーク11に接続されており、伝送装置3dは伝送路15で構成されたネットワーク16に接続されている。さらに監視表示装置18は伝送路15で構成されたネットワーク16に接続されている。このような制御システムで、制御装置1a、1bから制御装置1cおよび監視表示装置18へデータを伝送する場合について説明する。   FIG. 24 is a configuration diagram of a control system in which a plurality of control devices including an asynchronous duplication control device and a monitor display device are connected to a hierarchical network constituted by one transmission path. Asynchronous duplex control devices 1a and 1b are respectively composed of control controllers 2a and 2b and transmission devices 3a and 3b. Each transmission device 3a and 3b is connected by a network 11 composed of one transmission line 10. Has been. Further, the control device 1c is configured by a control controller 2c and transmission devices 3c and 3d. The transmission device 3c is connected to a network 11 configured by a transmission path 10, and the transmission device 3d is configured by a transmission path 15. Connected to the connected network 16. Furthermore, the monitor display device 18 is connected to a network 16 constituted by a transmission path 15. A case where data is transmitted from the control devices 1a and 1b to the control device 1c and the monitoring display device 18 in such a control system will be described.

送信側制御装置1a、1bの制御コントローラ2a、2bは制御演算処理により最新プロセスデータを作成している。送信側制御装置1a、1bの伝送装置3a、3bは、制御コントローラ2a、2bの制御演算処理により作成された最新プロセスデータを伝送周期毎に受け取り、伝送路10で構成されたネットワーク11へ送信する。   The control controllers 2a and 2b of the transmission side control devices 1a and 1b create the latest process data by the control calculation process. The transmission devices 3a and 3b of the transmission side control devices 1a and 1b receive the latest process data created by the control arithmetic processing of the control controllers 2a and 2b for each transmission cycle, and transmit them to the network 11 configured by the transmission path 10. .

ここで、制御装置1a、1bは、非同期の二重化の制御装置であり、同じ制御演算処理を実施しているため、伝送装置3a、3bから伝送路10で構成されたネットワーク11に送信するデータは同じデータであり、主系/従系の区別はない。   Here, since the control devices 1a and 1b are asynchronous duplex control devices and perform the same control calculation processing, the data to be transmitted from the transmission devices 3a and 3b to the network 11 configured by the transmission path 10 is The same data, there is no distinction between main / subordinate.

受信側制御装置1cの伝送装置3cでは、ネットワーク11を構成する伝送路10からデータを受信し、受信したデータを制御コントローラ2cに入力する。このようにして、制御装置1a、1bと制御装置1cと間のデータ伝送を実施している。   In the transmission device 3c of the reception-side control device 1c, data is received from the transmission path 10 constituting the network 11, and the received data is input to the control controller 2c. In this way, data transmission is performed between the control devices 1a and 1b and the control device 1c.

一方、制御装置1cの伝送装置3dは、伝送装置3cがネットワーク11の伝送装置3a、3bから受信した非同期の二重化の1系/2系の両系のデータを制御コントローラ2cから伝送周期毎に受け取り、伝送路15で構成されたネットワーク16へ送信する。監視表示装置18はネットワーク16を構成する伝送路15から非同期の二重化の1系/2系の両系のデータを受信し、自己の監視表示装置18でデータを切り替えて表示している。   On the other hand, the transmission device 3d of the control device 1c receives from the control controller 2c the data of both systems of the asynchronous duplex 1 system / 2 system received by the transmission device 3c from the transmission devices 3a, 3b of the network 11 for each transmission period. Then, the data is transmitted to the network 16 constituted by the transmission path 15. The monitor / display device 18 receives the data of both asynchronous and redundant 1-system / 2-system from the transmission line 15 constituting the network 16 and switches and displays the data on its own monitor / display device 18.

このように、図24に示す制御システムでは、非同期の送信側制御装置1a、1bの伝送装置3a、3bでは、ネットワーク11の伝送路10に対してデータを送信し、受信側制御装置1cの伝送装置3cでは、伝送路10からデータを受信する。そして、伝送装置3dからネットワーク16の伝送路15にデータを送信し、監視表示装置18にデータを送信するようにしている。これにより、制御装置1a、1bで作られた最新のプロセスデータが制御装置1cおよび監視表示装置18へデータ伝送される。   In this way, in the control system shown in FIG. 24, the transmission devices 3a and 3b of the asynchronous transmission side control devices 1a and 1b transmit data to the transmission line 10 of the network 11, and the transmission of the reception side control device 1c. The device 3c receives data from the transmission line 10. Then, data is transmitted from the transmission device 3d to the transmission path 15 of the network 16, and the data is transmitted to the monitoring display device 18. As a result, the latest process data created by the control devices 1 a and 1 b is transmitted to the control device 1 c and the monitoring display device 18.

図25は、二重化(冗長化)された伝送路を有するネットワークに複数の二重化(冗長化された)された制御装置を接続した制御システムの構成図である。冗長化された制御装置1a、1bは制御コントローラ2a、2bおよび伝送装置3a、3bで構成されており、各伝送装置3a、3bは、冗長化された伝送路10a、10bのネットワーク11に接続されている。また、冗長化された制御装置1c、1dは制御コントローラ2c、2dおよび伝送装置3c、3dで構成されており、各伝送装置3c、3dは、冗長化された伝送路10a、10bのネットワーク11に接続されている。なお、冗長化された制御装置1a、1bにおいては、冗長化(二重化)運転状態が主系である制御装置1aの制御コントローラ2aによりプラントが制御されている。このような制御システムでの冗長化運転状態で、制御装置1a、1bから制御装置1c、1dへデータを伝送する場合について説明する。   FIG. 25 is a configuration diagram of a control system in which a plurality of redundant (redundant) control devices are connected to a network having a redundant (redundant) transmission path. Redundant control devices 1a and 1b are composed of control controllers 2a and 2b and transmission devices 3a and 3b. Each transmission device 3a and 3b is connected to a network 11 of redundant transmission lines 10a and 10b. ing. The redundant control devices 1c and 1d are composed of control controllers 2c and 2d and transmission devices 3c and 3d. Each transmission device 3c and 3d is connected to the network 11 of the redundant transmission lines 10a and 10b. It is connected. In the redundant control devices 1a and 1b, the plant is controlled by the control controller 2a of the control device 1a in which the redundant (redundant) operation state is the main system. A case where data is transmitted from the control devices 1a and 1b to the control devices 1c and 1d in the redundant operation state in such a control system will be described.

図25において、冗長化された送信側制御装置1a、1bの伝送装置3a、3bは、冗長化された制御コントローラ2a、2bの制御演算処理により作成された最新プロセスデータを伝送周期毎に受け取り、伝送路10a、10bで構成されたネットワーク11へ送信する。また、冗長化された受信側制御装置1c、1dの伝送装置3c、3dは、ネットワーク11を構成する伝送路10a、10bから受信したデータを入力し、冗長化された制御コントローラ2c、2dに出力することにより、制御装置1a、1bと制御装置1c、1dとの間のデータ伝送を実施している。   In FIG. 25, the transmission devices 3a and 3b of the redundant transmission side control devices 1a and 1b receive the latest process data created by the control arithmetic processing of the redundant control controllers 2a and 2b for each transmission cycle. It transmits to the network 11 comprised by the transmission lines 10a and 10b. Further, the transmission devices 3c and 3d of the redundant receiving side control devices 1c and 1d input data received from the transmission lines 10a and 10b constituting the network 11, and output them to the redundant control controllers 2c and 2d. Thus, data transmission is performed between the control devices 1a and 1b and the control devices 1c and 1d.

図26は、図25における受信側制御装置1c、1dの詳細ブロック構成図である。冗長化された主系である受信側制御装置1cの受信側主系伝送装置3cは、共有メモリ4cを介して主系制御コントローラ2cの演算用入力メモリ6cにデータを出力する。主系制御コントローラ2cでは演算用入力メモリ6cのデータにより、制御演算処理26を実施し、その結果を演算結果メモリ7cに出力する。   FIG. 26 is a detailed block diagram of the receiving side control devices 1c and 1d in FIG. The receiving main transmission device 3c of the receiving control device 1c, which is a redundant main system, outputs data to the arithmetic input memory 6c of the main controller 2c via the shared memory 4c. The main system controller 2c executes the control calculation process 26 based on the data in the calculation input memory 6c, and outputs the result to the calculation result memory 7c.

同様に、冗長化された従系である受信側制御装置1dの従系伝送装置3dは、共有メモリ4dを介して、待機系制御コントローラ2dの演算用入力メモリ6dにデータ出力する。受信側制御コントローラ2dは演算用入力メモリ6dのデータにより、制御演算処理26を実施し、結果を演算結果メモリ7dに出力する。   Similarly, the slave transmission device 3d of the reception-side control device 1d, which is a redundant slave device, outputs data to the arithmetic input memory 6d of the standby controller 2d via the shared memory 4d. The reception-side controller 2d performs a control calculation process 26 based on the data in the calculation input memory 6d, and outputs the result to the calculation result memory 7d.

主系制御コントローラ2cの演算用入力メモリ6cの内容は、従系制御コントローラ2dの演算用入力メモリ6dにトラッキング処理27によりトラッキングされる。このため、常に主系制御コントローラ2cと従系制御コントローラ2dとのメモリ内容は一致している。   The contents of the calculation input memory 6c of the master controller 2c are tracked by the tracking process 27 in the calculation input memory 6d of the slave controller 2d. For this reason, the memory contents of the master controller 2c and the slave controller 2d always match.

このように、図25に示す制御システムでは、送信側制御装置1a、1bの伝送装置3a、3bでは、ネットワーク11の伝送路10a、10bに対してデータを送信し、受信側制御装置1c、1dの伝送装置3c、3dでは、それぞれ伝送路10a、10bからデータを受信するようにしている。そして、トラッキング処理27により、主系制御コントローラ2cと従系制御コントローラ2dとのメモリ内容を一致させるようにしている。   As described above, in the control system shown in FIG. 25, the transmission devices 3a and 3b of the transmission side control devices 1a and 1b transmit data to the transmission paths 10a and 10b of the network 11, and receive side control devices 1c and 1d. The transmission devices 3c and 3d receive data from the transmission lines 10a and 10b, respectively. Then, by the tracking process 27, the memory contents of the master controller 2c and the slave controller 2d are matched.

しかしながら、このような制御システムでのデータ伝送方法では、以下に記す課題があった。図12に示す制御システムでのデータ伝送方法では、図13に示すように、送信側伝送装置3aがネットワーク11の伝送路10a、10bの双方に対してデータ送信を実施しているので、送信側伝送装置3aおよび受信側伝送装置3bの双方の処理負荷が増大する。すなわち、冗長化された複数の伝送路10a、10bに対してデータ送信を実施しているので、冗長化された伝送路10の数が多くなればなるほど、送信側伝送装置3aおよび受信側伝送装置3bの双方の処理負荷が増大し処理渋滞が発生してしまう。なお、この処理渋滞は、ネットワーク11へのデータ送信周期を大きい時間とすることにより回避可能であるが、そうすると、プロセス制御のネットワーク11全体の応答性が低下してしまうという問題が発生する。   However, the data transmission method in such a control system has the following problems. In the data transmission method in the control system shown in FIG. 12, as shown in FIG. 13, since the transmission apparatus 3 a performs data transmission to both the transmission paths 10 a and 10 b of the network 11, The processing load on both the transmission device 3a and the reception-side transmission device 3b increases. That is, since data transmission is performed with respect to a plurality of redundant transmission paths 10a and 10b, the transmission side transmission apparatus 3a and the reception side transmission apparatus increase as the number of redundant transmission paths 10 increases. Both processing loads of 3b increase and processing congestion occurs. This processing congestion can be avoided by setting the data transmission cycle to the network 11 to a long time, but this causes a problem that the responsiveness of the entire process control network 11 is lowered.

図15に示す制御システムでのデータ伝送方法では、図17に示すように、受信側伝送装置3bの受信処理において、受信データのサイクリックカウンタのカウント値が前回受信カウンタのカウント値より大きい場合のみ「更新されたデータ」としてデータ入力を実施しているので、サイクリクカウンタが一巡して前回受信カウンタのカウント値より常に小さくなってしまった時点で、以後の制御装置間データ伝送が停止してしまうという問題がある。   In the data transmission method in the control system shown in FIG. 15, as shown in FIG. 17, only when the count value of the cyclic counter of received data is larger than the count value of the previous reception counter in the reception process of the receiving side transmission apparatus 3b. Since the data is input as “updated data”, the data transmission between the control devices is stopped when the cycle counter is always smaller than the count value of the previous reception counter. There is a problem of end.

図18に示す制御システムでのデータ伝送方法では、複数台の送信側伝送装置1a、1bのうち、1台以上の伝送装置3a、3bが異常動作となり、連続したデータ送信処理を実施する状態に陥った場合には、受信側伝送装置3cが当該異常受信データの処理で渋滞を起こしてしまう。すなわち、渋滞が発生すると、正常に送信している送信側伝送装置3a、3bからの伝送データが受信側伝送装置3cで受信できない状態に陥ってしまう。これにより、繰り返し演算を行っている送信側制御コントローラ3a、3bの最新の送信データを受信できない状態に陥ってしまうという問題がある。   In the data transmission method in the control system shown in FIG. 18, one or more transmission devices 3a and 3b out of the plurality of transmission devices 1a and 1b are in an abnormal operation, and are in a state where continuous data transmission processing is performed. If it falls, the reception-side transmission device 3c causes a traffic jam in the processing of the abnormal reception data. That is, when a traffic jam occurs, the transmission data from the transmitting transmission devices 3a and 3b that are normally transmitted cannot be received by the receiving transmission device 3c. As a result, there is a problem that the latest transmission data of the transmission-side control controllers 3a and 3b performing the repetitive calculation cannot be received.

図21に示す制御システムでのデータ伝送方法では、送信側制御装置1aの冗長化された伝送装置31a、31bの全てから、伝送路10に対するプロセスデータの送信が行われるので、ネットワーク11上のトラフィックが多く、ネットワーク11に接続される制御装置1の台数が増えれば増えるほど、データ伝送の衝突による再送が発生する。これにより、制御装置1a、1b間のデータ伝送の応答性が低下するという問題がある。   In the data transmission method in the control system shown in FIG. 21, process data is transmitted to the transmission line 10 from all the redundant transmission devices 31a and 31b of the transmission side control device 1a. As the number of control devices 1 connected to the network 11 increases, retransmission due to a data transmission collision occurs. Thereby, there exists a problem that the responsiveness of the data transmission between control apparatus 1a, 1b falls.

図24に示す制御システムは、非同期二重化の制御装置1a、1bはインターロック用信号の誤動作や誤不動作防止を目的とした構成であるが、ネットワーク16では監視表示用の信号が多数有り、監視表示装置18側で非同期二重化の1系/2系両系から受信した内容の同じ2つのデータを切り替えて表示しているので、ネットワーク11、16の伝送量が増大し、ネットワーク11、16の性能が低下してしまうという問題がある。   In the control system shown in FIG. 24, the asynchronous duplex control devices 1a and 1b are configured to prevent malfunction and malfunction of the interlock signal, but the network 16 has a large number of monitoring display signals. Since the two data having the same contents received from both the asynchronous duplex 1-system and 2-system are switched and displayed on the display device 18 side, the transmission amount of the networks 11 and 16 increases, and the performance of the networks 11 and 16 increases. There is a problem that will decrease.

図25に示す制御システムでのデータ伝送方法は、図26に示すように、主系制御コントローラ2cの演算用入力メモリ6cを従系制御コントローラ2dの演算用入力メモリ6dにトラッキング処理27することにより、主系制御コントローラ2cと従系制御コントローラ2dとの内部メモリを一致させているが、例えば、図27に示すように、送信側伝送装置3a、3bの伝送路と受信側の従系伝送装置3dの伝送路とが伝送路故障状態にある場合に、主系/従系の切り替えが発生した場合には、演算結果メモリの内容が突変するという問題があった。   As shown in FIG. 26, the data transmission method in the control system shown in FIG. 25 is performed by tracking the calculation input memory 6c of the master controller 2c to the calculation input memory 6d of the slave controller 2d. The internal memories of the master controller 2c and the slave controller 2d are made to coincide with each other. For example, as shown in FIG. 27, the transmission paths of the transmission devices 3a and 3b and the slave transmission device on the reception side When the 3d transmission line is in a transmission line failure state, when switching between the main system and the slave system occurs, there is a problem that the contents of the calculation result memory change suddenly.

本発明の目的は、プロセスを制御する制御装置をネットワークを介して接続した制御システムでの制御装置間でのデータの送受信を適正に行うことができるデータ伝送方法を提供することである。   An object of the present invention is to provide a data transmission method capable of appropriately transmitting and receiving data between control devices in a control system in which control devices that control processes are connected via a network.

請求項1の発明に係るデータ伝送方法は、制御コントローラと伝送装置で構成された制御装置から一つの伝送路で構成されたネットワークを介して他の制御装置にデータを送信するデータ送信方法において、受信側制御装置は、前記ネットワークより所定の時間内に一定数以上の受信データを集中受信した場合には、前記ネットワークからのデータ受信を禁止し、一定時間経過後にデータ受信禁止を解除することを特徴とする。   The data transmission method according to the invention of claim 1 is a data transmission method for transmitting data from a control device constituted by a control controller and a transmission device to another control device via a network constituted by one transmission path. The reception-side control device prohibits data reception from the network when a predetermined number or more of received data is centrally received within a predetermined time from the network, and cancels the data reception prohibition after a predetermined time has elapsed. Features.

請求項1の発明に係るデータ伝送方法においては、受信側制御装置の伝送装置は、予め決められた時間以内に、予め決められた数以上のデータを集中受信した場合には、一定時間ネットワークからのデータ受信を禁止する。これにより、当該異常データを廃棄し、伝送装置内でのデータ受信処理で渋滞を起こすことはなくなる。また、正常にデータ送信しているデータからのデータも受信することが可能になる。   In the data transmission method according to the first aspect of the present invention, when the transmission device of the reception side control device centrally receives a predetermined number or more of data within a predetermined time, the transmission device from the network for a certain period of time. Data reception is prohibited. As a result, the abnormal data is discarded, and no congestion occurs in the data reception process in the transmission apparatus. It is also possible to receive data from data that is normally transmitted.

請求項2の発明に係るデータ伝送方法は、複数の制御コントローラと複数の伝送装置で構成された冗長化された制御装置から一つの伝送路で構成されたネットワークを介して他の冗長化された制御装置にデータを伝送するデータ伝送方法において、冗長化された送信側制御装置は、自己の冗長化運転状態が主系の場合にはその冗長化運転状態および送信データを送信し、自己の冗長化運転状態が従系の場合にはその冗長化運転状態のみを送信することを特徴とする。   According to the second aspect of the present invention, there is provided a data transmission method in which a redundant control device constituted by a plurality of control controllers and a plurality of transmission devices is made redundant through a network constituted by one transmission line. In the data transmission method for transmitting data to the control device, the redundant transmission side control device transmits the redundant operation state and transmission data when the redundant operation state of the self is the main system, When the activated operation state is a subordinate system, only the redundant operation state is transmitted.

請求項2の発明に係るデータ伝送方法においては、冗長化された制御装置の運転状態が主系の場合には、冗長化運転状態およびデータを送信し、制御装置の運転状態が従系の場合には、冗長化運転状態のみを送信する。これにより、受信側制御装置の伝送装置においては、冗長化された全ての送信側制御装置の伝送装値の動作状態監視が可能であると共に、ネットワーク上のトラフィックを減らすことができる。従って、同一ネットワークに接続可能な冗長化された制御装置の台数を多くすることが可能になる。   In the data transmission method according to the invention of claim 2, when the operation state of the redundant control device is the main system, the redundant operation state and data are transmitted, and the operation state of the control device is the sub system Only the redundant operation state is transmitted. Thereby, in the transmission device of the receiving side control device, it is possible to monitor the operation state of the transmission device values of all redundant transmission side control devices and to reduce the traffic on the network. Therefore, the number of redundant control devices that can be connected to the same network can be increased.

請求項3の発明に係るデータ伝送方法は、制御コントローラと伝送装置で構成された2台の制御装置で二重化された非同期の各々の制御装置から一つの伝送路で構成されたネットワークを介して他の制御装置にデータを伝送するデータ伝送方法において、受信側制御装置は、非同期二重化の送信側制御装置における1系/2系の故障状態および1系/2系の手動選択信号状態に基づいて、1系/2系のうち正常な系からの受信データを入力することを特徴とする。   According to a third aspect of the present invention, there is provided a data transmission method in which two asynchronous control devices, each of which is composed of a control controller and a transmission device, are duplicated via a network composed of one transmission line. In the data transmission method for transmitting data to the control device, the reception-side control device is based on the 1st / 2nd system failure state and the 1st / 2nd system manual selection signal state in the asynchronous duplex transmission side control device, Received data from a normal system of the 1 system / 2 system is input.

請求項3の発明に係るデータ伝送方法においては、受信側制御装置は、非同期二重化の送信側制御装置の1系/2系の両系から受信した内容の同じデータを、送信側制御装置の故障状態および1系/2系手動選択信号状態により正常なデータを入力するように切り替える。これにより、内容の同じデータを1つに絞り込むことができ、ネットワーク上の伝送量を低減し、ネットワークの性能低下を防ぐことが可能となる。   In the data transmission method according to the third aspect of the present invention, the receiving side control device uses the same data received from both the 1st system and the 2nd system of the asynchronous duplexing transmitting side control device as a failure of the transmitting side control device. Depending on the status and the 1/2 manual selection signal status, switching is performed so that normal data is input. As a result, the data having the same content can be narrowed down to one, the transmission amount on the network can be reduced, and the network performance deterioration can be prevented.

請求項4の発明に係るデータ伝送方法は、制御コントローラと伝送装置で構成された2台の制御装置で二重化された各々の制御装置から多重化された伝送路で構成されたネットワークを介して他の冗長化された制御装置にデータを伝送するデータ伝送方法において、冗長化された受信側制御装置は、送信側制御装置からのデータを自己の伝送装置の共有メモリに入力し、共有メモリの内容を自己の制御コントローラの受信バッファに一旦記憶し、自己の伝送装置と送信側伝送装置との間の伝送路が正常状態であるか否かを監視し、正常状態である場合にのみ前記受信バッファから前記制御コントローラの演算用入力メモリに前記送信側伝送装置から受信したデータを転送すると共に、自己が主系制御装置である場合には従系制御装置の演算入力用メモリにトラッキング処理を行うことを特徴とする。   According to a fourth aspect of the present invention, there is provided a data transmission method through a network constituted by transmission lines multiplexed from respective control devices duplicated by two control devices constituted by a control controller and a transmission device. In the data transmission method for transmitting data to the redundant control device, the redundant reception side control device inputs the data from the transmission side control device to the shared memory of its own transmission device, and the contents of the shared memory Is temporarily stored in the reception buffer of its own controller, and it is monitored whether or not the transmission path between its own transmission apparatus and the transmission apparatus on the transmission side is in a normal state. The data received from the transmission device on the transmission side is transferred to the calculation input memory of the control controller from the control controller. Characterized in that the use memory perform the tracking process.

請求項4の発明に係るデータ伝送方法においては、自己の伝送装置と送信側制御装置の伝送装置との間の伝送路の伝送故障状態を監視し、正常と判定した場合にのみ受信バッファの内容を制御コントローラの演算用入力メモリに転送する。これにより、受信側制御装置の従系伝送装置と送信側制御装置の伝送装置との間が伝送路故障状態にある場合に、受信側制御装置の主系/従系切り替えが発生した場合においても、演算結果メモリの内容が突変することがなく、現状維持の制御を継続することが可能となる。   In the data transmission method according to the invention of claim 4, the contents of the reception buffer are monitored only when the transmission failure state of the transmission line between the own transmission device and the transmission device of the transmission side control device is monitored and determined to be normal. Is transferred to the calculation input memory of the control controller. As a result, even when the master / slave switching of the receiving-side control device occurs when there is a transmission path failure between the slave transmission device of the receiving-side control device and the transmission device of the sending-side control device. As a result, the contents of the calculation result memory do not change suddenly, and the control for maintaining the current state can be continued.

以上説明したように、本発明によれば、プロセスを制御する制御装置をネットワークを介して接続した制御システムでの制御装置間でのデータの送受信を適正に行うことができる。   As described above, according to the present invention, it is possible to appropriately transmit and receive data between control devices in a control system in which control devices that control processes are connected via a network.

請求項1の発明によれば、ネットワーク上に異常な伝送装置が存在して大量にデータを送信してきた場合でも、伝送装置内でのデータ受信処理で渋滞を起こすことはなく、また、正常にデータ送信しているデータからのデータも受信することが可能になる。   According to the first aspect of the present invention, even when an abnormal transmission apparatus exists on the network and a large amount of data is transmitted, no congestion occurs in the data reception process in the transmission apparatus, and Data from the data being transmitted can also be received.

請求項2の発明によれば、受信側伝送装置における冗長化された全ての送信側伝送装値の動作状態監視が従来同様可能であると共に、ネットワーク上のトラフィックを減らすことができるので、同一ネットワークに接続可能な冗長化された制御装置の台数を大きくすることが可能になる。   According to the second aspect of the present invention, since it is possible to monitor the operation state of all of the redundant transmission side transmission values in the reception side transmission apparatus as in the prior art and to reduce traffic on the network, It is possible to increase the number of redundant control devices that can be connected to the.

請求項3の発明によれば、非同期二重化の送信側制御装置1系/2系両系から受信した内容の同じ2つのデータを、送信側制御装置の故障状態および1系/2系手動選択信号状態により切り替え、内容の同じ2つのデータを1つに絞り込むことにより、ネットワーク上の伝送量を低減し、ネットワークの性能低下を防ぐことが可能となる。   According to the invention of claim 3, two data having the same contents received from both systems of the transmission side control device 1 / system 2 of the asynchronous duplex are used as the failure state of the transmission side control device and the system 1/2 system manual selection signal. By switching according to the state and narrowing down two pieces of data with the same content to one, it is possible to reduce the amount of transmission on the network and prevent a decrease in network performance.

請求項4の発明によれば、受信側従系伝送装置と送信側伝送装置間とが伝送路の故障状態にある場合に、受信側制御装置の主系/従系の切り替えが発生した場合においても、演算結果メモリの内容が突変することがなく、現状維持の制御を継続することが可能となる。   According to the fourth aspect of the present invention, when switching between the master / slave system of the reception-side control device occurs when the reception-side slave transmission device and the transmission-side transmission device are in a transmission path failure state. However, the contents of the calculation result memory do not change suddenly, and the control for maintaining the current state can be continued.

以下、本発明の実施の形態を説明する。図1は本発明の第1の実施の形態に係るデータ伝送方法の送信処理手順を示すフローチャートである。この第1の実施の形態は、図12に示した制御システムにおいて制御装置1aから制御装置1bへデータを伝送する場合の送信処理手順を示したものであり、伝送周期毎に行うデータ送信を冗長化された伝送路に対して順次切り替えて行うようにしたものである。   Embodiments of the present invention will be described below. FIG. 1 is a flowchart showing a transmission processing procedure of the data transmission method according to the first embodiment of the present invention. This first embodiment shows a transmission processing procedure when data is transmitted from the control device 1a to the control device 1b in the control system shown in FIG. 12, and redundant data transmission is performed for each transmission cycle. This is performed by sequentially switching the converted transmission paths.

図1において、送信側伝送装置3aでは、データ伝送周期を監視しており(S100)、データの伝送周期を検出すると、制御コントローラ2aから最新のプロセスデータを送信データとして送信用メモリに入力する(S101)。   In FIG. 1, the transmission device 3a monitors the data transmission cycle (S100), and when the data transmission cycle is detected, the latest process data is input from the controller 2a as transmission data to the transmission memory (see FIG. 1). S101).

次に、送信伝送路選択カウンタのカウント値をインクリメントし(S102)、インクリメント後の送信伝送路選択カウンタのカウント値を冗長化伝送路数で割った余りを求め、余り番目の伝送路に対してデータ送信を実施する情報を設定する(S103)。そして、ステップS103で決められた伝送路に対し、ステップS101で入力した送信データを送信する(S105)。   Next, the count value of the transmission transmission path selection counter is incremented (S102), the remainder obtained by dividing the incremented transmission transmission path selection counter value by the number of redundant transmission paths is obtained, and the remainder transmission path is determined. Information for performing data transmission is set (S103). Then, the transmission data input in step S101 is transmitted to the transmission path determined in step S103 (S105).

例えば、冗長化された伝送路が二重系の場合には、伝送路選択カウンタのカウント値を2で除算してその余りを求める。この場合、余りは0または1となる。そして、余りが0の場合には0番目の伝送路である伝送路10aに、余り1である場合には1番目の伝送路である伝送路10bに送信データを出力する。   For example, when the redundant transmission path is a duplex system, the remainder is obtained by dividing the count value of the transmission path selection counter by 2. In this case, the remainder is 0 or 1. When the remainder is 0, the transmission data is output to the transmission line 10a, which is the 0th transmission line, and when the remainder is 1, the transmission data is output to the transmission line 10b, which is the first transmission line.

以後、伝送周期毎にステップS100〜ステップS105の処理を繰り返し実行する。これにより、伝送周期毎に行うデータ送信は、冗長化された各々の伝送路に対して順次切り替えて送信することが可能となる。   Thereafter, the processing from step S100 to step S105 is repeatedly executed for each transmission cycle. As a result, data transmission performed for each transmission cycle can be sequentially switched and transmitted to each redundant transmission path.

一方、受信側伝送装置3bにおけるデータ受信処理は、従来と同様に、図14に記された受信処理を実行するものであり、ネットワーク11からデータを受信する度に当該送信データを入力し、制御周期毎に制御コントローラ2bに出力する。これにより、制御装置1aから制御装置1bへのデータ伝送が実施される。   On the other hand, the data reception process in the receiving side transmission apparatus 3b is to execute the reception process shown in FIG. 14 as in the prior art. Whenever data is received from the network 11, the transmission data is input and controlled. It outputs to the controller 2b for every period. Thereby, the data transmission from the control apparatus 1a to the control apparatus 1b is implemented.

第1の実施の形態によれば、伝送周期毎に冗長化された伝送路のうち、送信する伝送路を切り替えてデータ伝送を行うので、伝送装置内における送信処理/受信処理とも最小限の処理時間で処理することが可能となる。   According to the first embodiment, data transmission is performed by switching the transmission path to be transmitted among the redundant transmission paths for each transmission cycle, so that the minimum amount of transmission processing / reception processing in the transmission apparatus is performed. It becomes possible to process in time.

従って、冗長化された伝送路を無駄なく使用しながら、単位時間あたりに多くのプロセスデータを伝送することが可能となる。また、冗長化された伝送路の1つの伝送路に着眼すると、単位時間あたりに当該伝送路を使用して伝送されるデータ量が減少するので、伝送路上のトラフィック(伝送量)の軽減も可能となる。   Therefore, it is possible to transmit a large amount of process data per unit time while using the redundant transmission path without waste. In addition, when focusing on one of the redundant transmission paths, the amount of data transmitted using the transmission path per unit time decreases, so the traffic (transmission volume) on the transmission path can be reduced. It becomes.

次に、本発明の第2の実施の形態を説明する。図2は本発明の第2の実施の形態に係るデータ伝送方法の送信処理手順を示すフローチャートである。この第2の実施の形態は、図12に示した制御システムにおいて制御装置1aから制御装置1bへデータを伝送する場合の送信処理手順を示したものであり、図1に示した第1の実施の形態に対し、ステップS104を追加して、冗長化された伝送路の故障を判定し故障を検出したときは正常な伝送路にデータを送信するようにしたものである。   Next, a second embodiment of the present invention will be described. FIG. 2 is a flowchart showing a transmission processing procedure of the data transmission method according to the second embodiment of the present invention. This second embodiment shows a transmission processing procedure in the case where data is transmitted from the control device 1a to the control device 1b in the control system shown in FIG. 12, and the first embodiment shown in FIG. In step S104, a failure of the redundant transmission line is determined, and when a failure is detected, data is transmitted to a normal transmission line.

図2において、送信側伝送装置3aでは、データ伝送周期を監視しており(S100)、データの伝送周期を検出すると、制御コントローラ2aから最新のプロセスデータを送信データとして送信用メモリに入力する(S101)。   In FIG. 2, the transmission device 3a monitors the data transmission cycle (S100), and when the data transmission cycle is detected, the latest process data is input from the controller 2a as transmission data to the transmission memory (see FIG. 2). S101).

次に、送信伝送路選択カウンタのカウント値をインクリメントし(S102)、インクリメント後の送信伝送路選択カウンタのカウント値を冗長化伝送路数で割った余りを求め、余り番目の伝送路に対してデータ送信を実施する情報を設定する(S103)。   Next, the count value of the transmission transmission path selection counter is incremented (S102), the remainder obtained by dividing the incremented transmission transmission path selection counter value by the number of redundant transmission paths is obtained, and the remainder transmission path is determined. Information for performing data transmission is set (S103).

そして、ステップS103で決められた伝送路が正常であるか否かを判断し(S104)、伝送路が正常で無い場合は、ステップS102に戻り、伝送路が正常である場合は、ステップS103で決められた伝送路に対し、ステップS101で入力した送信データを送信する(S105)。   Then, it is determined whether or not the transmission path determined in step S103 is normal (S104). If the transmission path is not normal, the process returns to step S102. If the transmission path is normal, the process returns to step S103. The transmission data input in step S101 is transmitted to the determined transmission path (S105).

以後、伝送周期毎にステップS100〜ステップS105の処理を繰り返し実行する。これにより、伝送周期毎に行うデータ送信を冗長化された伝送路のうち健全な伝送路のみに対して順次切り替えて実行できる。   Thereafter, the processing from step S100 to step S105 is repeatedly executed for each transmission cycle. Thereby, the data transmission performed for every transmission cycle can be performed by sequentially switching only the healthy transmission paths among the redundant transmission paths.

第2の実施の形態によれば、冗長化された何れかの伝送路に異常があった場合には、正常な伝送路のみを使用してデータ送信するので、システム全体の制御性や応答性の低下を抑えることが可能となる。   According to the second embodiment, when there is an abnormality in any of the redundant transmission paths, data is transmitted using only the normal transmission path, so that the controllability and responsiveness of the entire system are achieved. Can be suppressed.

次に、本発明の第3の実施の形態を説明する。図3は本発明の第3の実施の形態に係るデータ伝送方法の受信処理手順を示すフローチャートである。この第3の実施の形態は、図15に示した制御システムにおいて制御装置1aから制御装置1bへデータを伝送する場合の受信処理手順を示したものであり、送信側伝送装置のデータ送信処理において付加するサイクリックカウンタが一巡した後のデータも正常に受信できるようにしたものである。   Next, a third embodiment of the present invention will be described. FIG. 3 is a flowchart showing a reception processing procedure of the data transmission method according to the third embodiment of the present invention. This third embodiment shows a reception processing procedure when data is transmitted from the control device 1a to the control device 1b in the control system shown in FIG. 15, and in the data transmission processing of the transmission device on the transmission side. The data after the cyclic counter to be added has completed one round can be normally received.

送信側伝送装置3aでの送信処理は、図16に示した従来の送信処理と同じである。すなわち、図16に示すように、伝送周期を検出すると(S100)、制御コントローラ2aから最新のプロセスデータを送信データとして送信用メモリに入力し(S101)、送信用サイクリックカウンタをインクリメントして(S102)、送信データに付加した後(S103)、伝送路10に対しデータ送信を実行する(S110)。   The transmission process in the transmission apparatus 3a is the same as the conventional transmission process shown in FIG. That is, as shown in FIG. 16, when the transmission cycle is detected (S100), the latest process data is input from the controller 2a as transmission data to the transmission memory (S101), and the transmission cyclic counter is incremented ( After adding to the transmission data (S102), data transmission is executed to the transmission line 10 (S110).

ここで、送信用サイクリックカウンタは、インクリメント処理にて更新されるので、一巡した場合には自動的に初期値(=0)となった後に、続いて1、2、3、…と更新されていく。以後、伝送周期毎にステップS100〜ステップS110の処理を繰り返し実行することにより、伝送周期毎にデータ送信を行う。   Here, since the transmission cyclic counter is updated by the increment process, it automatically updates to 1, 2, 3,... After the initial value (= 0) automatically after one round. To go. Thereafter, data transmission is performed for each transmission cycle by repeatedly executing the processing from step S100 to step S110 for each transmission cycle.

サイクリックカウンタが一巡した場合、送信側伝送装置はサイクリックカウンタの初期値(=0)を送信し、その後に、サイクリックカウンタの初期値(=0)における送信データを送信する。   When the cyclic counter makes a round, the transmission apparatus on the transmission side transmits the initial value (= 0) of the cyclic counter, and then transmits the transmission data at the initial value (= 0) of the cyclic counter.

一方、受信側伝送装置3bでの受信処理は、図3に示す受信処理手順が実行される。図3において、受信側伝送装置3bでは、データ受信を監視しており(S200)、伝送路10からのデータの受信を検出すると、受信データに付加されたサイクリックカウンタの値を取り出し(S201)、サイクリックカウンタの値が初期値(=0)か否かをチェックする(S202)。   On the other hand, the reception process in the reception side transmission apparatus 3b is performed according to the reception process procedure shown in FIG. In FIG. 3, the receiving side transmission apparatus 3b monitors data reception (S200), and when receiving data from the transmission line 10 is detected, the value of the cyclic counter added to the received data is extracted (S201). Then, it is checked whether or not the value of the cyclic counter is the initial value (= 0) (S202).

受信データ内のサイクリックカウンタの値が初期値(=0)以外の場合は、前回受信カウンタの前回受信カウント値との比較を行い(S203)、受信データ内のサイクリックカウンタの値の方が大きい場合(更新された新しいデータである場合)には、受信したデータを受信用メモリに入力する(S204)。そして、このときの受信データ内のサイクリックカウンタの値を前回受信カウンタに保存し(S205)、次回の比較用の前回受信カウント値とする。   If the value of the cyclic counter in the reception data is other than the initial value (= 0), the previous reception counter value of the previous reception counter is compared (S203), and the value of the cyclic counter in the reception data is greater. If it is larger (in the case of updated new data), the received data is input to the reception memory (S204). Then, the value of the cyclic counter in the reception data at this time is stored in the previous reception counter (S205), and used as the previous reception count value for the next comparison.

一方、ステップS202の処理において、受信データ内のサイクリックカウンタの値が初期値(=0)である場合は、ステップS205の処理に移る。すなわち、送信側のサイクリックカウンタが一巡したものと判断し、次回の受信データを入力可能とするために、比較用の前回受信カウンタに受信したサイクリックカウント値(=0)を保存する(S205)。   On the other hand, if the value of the cyclic counter in the received data is the initial value (= 0) in the process of step S202, the process proceeds to step S205. That is, it is determined that the cyclic counter on the transmission side has completed a cycle, and the received cyclic count value (= 0) is stored in the previous reception counter for comparison so that the next reception data can be input (S205). ).

また、ステップS203の処理において、受信データのサイクリックカウンタの値が前回受信カウンタのカウント値と同じか、または小さい場合は、受信データの入力は行わず(受信データは破棄される)、次のステップS210の処理に移る。   In the process of step S203, if the value of the cyclic counter of the received data is the same as or smaller than the count value of the previous reception counter, the received data is not input (the received data is discarded), and the next The process proceeds to step S210.

ステップS210の処理では、制御コントローラとの制御周期を検出したか否かをチェックし(S210)、制御周期を検出した場合は、受信用メモリに入力してある最新の受信データを制御コントローラ2bに出力する(S210)。   In the process of step S210, it is checked whether or not a control cycle with the control controller has been detected (S210). If the control cycle is detected, the latest received data input to the reception memory is sent to the control controller 2b. Output (S210).

以上の説明では、ステップS202の処理において、受信データのサイクリックカウンタの値が初期値(=0)か否かのチェックで初期値(=0)を検出した場合には、受信データ内のサイクリックカウンタの値を次回の比較用の前回受信カウント値として前回受信カウンタに保存するようにしているが、受信したデータを受信用メモリに入力する処理(S204)へ移行させる手順としても良い。   In the above description, when the initial value (= 0) is detected by checking whether the value of the cyclic counter of the received data is the initial value (= 0) in the process of step S202, the cycle in the received data is detected. Although the value of the click counter is stored in the previous reception counter as the previous reception count value for the next comparison, the procedure may be shifted to the process of inputting the received data to the reception memory (S204).

第3の実施の形態によれば、送信側伝送装置でのデータ送信処理において付加するサイクリックカウンタが一巡した場合、サイクリックカウンタの値が初期値(=0)の送信データを送信し、受信側伝送装置のデータ受信処理においては、サイクリックカウンタの初期値(=0)の受信データを受信した際には、受信側伝送装置の前回受信カウンタを初期化(=0)するので、サイクリックカウンタが一巡した後に伝送されて来る受信データも正常に受信することが可能となる。   According to the third embodiment, when the cyclic counter added in the data transmission process in the transmission apparatus on the transmission side makes a round, the transmission data whose cyclic counter value is the initial value (= 0) is transmitted and received. In the data reception process of the side transmission apparatus, when the reception data of the initial value (= 0) of the cyclic counter is received, the previous reception counter of the reception side transmission apparatus is initialized (= 0). It is possible to normally receive the received data transmitted after the counter makes a round.

次に、本発明の第4の実施の形態を説明する。図4は本発明の第4の実施の形態に係るデータ伝送方法の送信処理手順を示すフローチャートである。この第4の実施の形態は、図15に示した制御システムにおいて制御装置1aから制御装置1bへデータを伝送する場合の送信処理手順を示したものであり、送信側伝送装置3aの送信処理において付加するサイクリックカウンタの値が一巡した場合、サイクリックカウンタの初期値(=0)の送信データを複数回送信するようにしたものである。   Next, a fourth embodiment of the present invention will be described. FIG. 4 is a flowchart showing a transmission processing procedure of the data transmission method according to the fourth embodiment of the present invention. The fourth embodiment shows a transmission processing procedure when data is transmitted from the control device 1a to the control device 1b in the control system shown in FIG. 15, and in the transmission processing of the transmission device 3a. When the value of the cyclic counter to be added is completed, transmission data of the initial value (= 0) of the cyclic counter is transmitted a plurality of times.

すなわち、受信側伝送装置3bが図3に示した受信処理手順で動作する場合に、送信側伝送装置が送信したサイクリックカウンタの初期値(=0)のデータが、何等かの伝送異常により受信伝送装置側で受信できなかった場合には、受信側伝送装置3bでは前回受信カウンタのカウント値を初期値にすることができず、それ以後の制御装置間でのデータ伝送が停止してしまうケースに対応するものである。   That is, when the receiving side transmission apparatus 3b operates according to the reception processing procedure shown in FIG. 3, the data of the initial value (= 0) of the cyclic counter transmitted by the transmitting side transmission apparatus is received due to some transmission abnormality. When the transmission apparatus cannot receive the data, the reception-side transmission apparatus 3b cannot set the count value of the previous reception counter to the initial value, and the data transmission between the control apparatuses thereafter stops. It corresponds to.

図4において、送信側伝送装置3aでは、データ伝送周期を監視しており(S100)、データの伝送周期を検出すると、制御コントローラ2aから最新のプロセスデータを送信データとして送信用メモリに入力する(S101)。そして、送信伝送路選択カウンタのカウント値をインクリメントし(S102)、送信データに付加する(S103)。   In FIG. 4, the transmission apparatus 3a monitors the data transmission cycle (S100), and when the data transmission cycle is detected, the latest process data is input from the controller 2a as transmission data to the transmission memory (see FIG. 4). S101). Then, the count value of the transmission transmission path selection counter is incremented (S102) and added to the transmission data (S103).

次に、送信用サイクリックカウンタの値が初期値(=0)か否かをチェックし(S105)、初期値(=0)以外の場合は、伝送路10に対しデータ送信を実行する(S110)。一方、送信用サイクリックカウンタの値が初期値(=0)であった場合は、伝送路10に対し、複数回のデータ送信を実行する(S111〜S113)、例えば5回連続してデータ送信を実行する。以後、伝送周期毎にステップS100〜ステップS113の処理を繰り返し実行することにより、伝送周期毎にデータ送信を行う。   Next, it is checked whether or not the value of the cyclic counter for transmission is an initial value (= 0) (S105). If the value is other than the initial value (= 0), data transmission is executed to the transmission line 10 (S110). ). On the other hand, if the value of the cyclic counter for transmission is the initial value (= 0), data transmission is performed a plurality of times on the transmission line 10 (S111 to S113). For example, data transmission is performed five times continuously. Execute. Thereafter, data transmission is performed for each transmission cycle by repeatedly executing the processing of steps S100 to S113 for each transmission cycle.

一方、受信側伝送装置3bにおけるデータ受信処理は、第3の実施の形態と同様に、図3に記された処理を実施するものであり、ネットワーク11からデータを受信する度に当該データを入力し、制御周期毎に制御コントローラ2bに出力する。   On the other hand, the data reception process in the receiving side transmission apparatus 3b is the same as the third embodiment, and the process described in FIG. 3 is performed, and the data is input every time data is received from the network 11. And it outputs to the control controller 2b for every control period.

第4の実施の形態によれば、送信側伝送装置の送信処理において付加するサイクリックカウンタが一巡した場合に、サイクリックカウンタの初期値(=0)の送信データを複数回送信するので、伝送路10上で一過性の伝送エラーが発生した場合でも、受信側伝送装置3bでは前回受信カウンタのカウント値を初期値にすることができ、その後に伝送されてくるサイクリックカウンタの一巡後のデータも正常に受信することが可能となる。   According to the fourth embodiment, when the cyclic counter added in the transmission process of the transmission apparatus on the transmission side makes a round, the transmission data of the initial value (= 0) of the cyclic counter is transmitted a plurality of times. Even if a transient transmission error occurs on the path 10, the receiving side transmission apparatus 3b can set the count value of the previous reception counter to the initial value, and the cyclic counter that is transmitted after that has completed one round. Data can be received normally.

次に、本発明の第5の実施の形態を説明する。図5は本発明の第5の実施の形態に係るデータ伝送方法の受信処理手順を示すフローチャートである。この第5の実施の形態は、図15に示した制御システムにおいて制御装置1aから制御装置1bへデータを伝送する場合の受信処理手順を示したものであり、予め決められたしきい値以下のサイクリックカウンタの値を受信した場合には、サイクリックカウンタは一巡したと判断し、そのサイクリックカウンタの値を受信側伝送装置3bの前回受信カウンタに設定するようにしたものである。   Next, a fifth embodiment of the present invention will be described. FIG. 5 is a flowchart showing a reception processing procedure of the data transmission method according to the fifth embodiment of the present invention. The fifth embodiment shows a reception processing procedure when data is transmitted from the control device 1a to the control device 1b in the control system shown in FIG. 15, and is equal to or less than a predetermined threshold value. When the value of the cyclic counter is received, it is determined that the cyclic counter has made a round, and the value of the cyclic counter is set in the previous reception counter of the receiving side transmission apparatus 3b.

図5において、受信側伝送装置3bでは、データ受信を監視しており(S200)、伝送路10からのデータの受信を検出すると、受信データに付加されたサイクリックカウンタの値を取り出し(S201)、サイクリックカウンタの値が初期値(=0)か否かをチェックする(S202)。   In FIG. 5, the receiving side transmission apparatus 3b monitors data reception (S200), and when the reception of data from the transmission line 10 is detected, the value of the cyclic counter added to the received data is extracted (S201). Then, it is checked whether or not the value of the cyclic counter is the initial value (= 0) (S202).

受信データ内のサイクリックカウンタの値が初期値(=0)以外の場合は、前回受信カウンタの前回受信カウント値との比較を行い(S203)、受信データ内のサイクリックカウンタの値の方が大きい場合(更新された新しいデータである場合)には、受信したデータを受信用メモリに入力する(S204)。そして、このときの受信データ内のサイクリックカウンタの値を前回受信カウンタに保存し(S205)、次回の比較用の前回受信カウント値とする。   If the value of the cyclic counter in the reception data is other than the initial value (= 0), the previous reception counter value of the previous reception counter is compared (S203), and the value of the cyclic counter in the reception data is greater. If it is larger (in the case of updated new data), the received data is input to the reception memory (S204). Then, the value of the cyclic counter in the reception data at this time is stored in the previous reception counter (S205), and used as the previous reception count value for the next comparison.

ここで、ステップS203の処理において、受信データのサイクリックカウンタの値が前回受信カウンタのカウント値と同じか、または小さい場合は、さらに、受信データのサイクリックカウンタの値が予め定められたしきい値以下かをチェックする(S207)。サイクリックカウンタの値がしきい値以下の場合は送信側伝送装置のサイクリックカウンタが一巡したものと判断し、受信データを受信用メモリに入力する(S204)。しきい値より大きかった場合は、受信データの入力は行わず(受信データは破棄される)、次のステップS210の処理に移る。   Here, in the process of step S203, if the value of the cyclic counter of the reception data is the same as or smaller than the count value of the previous reception counter, the value of the cyclic counter of the reception data is further determined in advance. It is checked whether it is less than the value (S207). If the value of the cyclic counter is less than or equal to the threshold value, it is determined that the cyclic counter of the transmitting side transmission device has made a round, and the received data is input to the reception memory (S204). If it is larger than the threshold value, the received data is not input (the received data is discarded), and the process proceeds to the next step S210.

一方、ステップS202の処理において、受信データ内のサイクリックカウンタの値が初期値(=0)である場合は、ステップS205の処理に移る。すなわち、送信側のサイクリックカウンタが一巡したものと判断し、次回の受信データを入力可能とするために、比較用の前回受信カウンタに受信したサイクリックカウント値(=0)を保存する(S205)。   On the other hand, if the value of the cyclic counter in the received data is the initial value (= 0) in the process of step S202, the process proceeds to step S205. That is, it is determined that the cyclic counter on the transmission side has completed a cycle, and the received cyclic count value (= 0) is stored in the previous reception counter for comparison so that the next reception data can be input (S205). ).

ステップS210の処理では、制御コントローラとの制御周期を検出したか否かをチェックし(S210)、制御周期を検出した場合は、受信用メモリに入力してある最新の受信データを制御コントローラ2bに出力する(S210)。   In the process of step S210, it is checked whether or not a control cycle with the control controller has been detected (S210). If the control cycle is detected, the latest received data input to the reception memory is sent to the control controller 2b. Output (S210).

以上の説明では、ステップS202の処理において、受信データのサイクリックカウンタの値が初期値(=0)か否かのチェックで初期値(=0)を検出した場合には、受信データ内のサイクリックカウンタの値を次回の比較用の前回受信カウント値として前回受信カウンタに保存するようにしているが、受信したデータを受信用メモリに入力する処理(S204)へ移行させる手順としても良い。   In the above description, when the initial value (= 0) is detected by checking whether the value of the cyclic counter of the received data is the initial value (= 0) in the process of step S202, the cycle in the received data is detected. Although the value of the click counter is stored in the previous reception counter as the previous reception count value for the next comparison, the procedure may be shifted to the process of inputting the received data to the reception memory (S204).

第5の実施の形態によれば、サイクリックカウンタの一巡後に、そのカウント値として予め定められたしきい値以下のデータを受信した場合、当該受信データを入力することにより、サイクリックカウンタの一巡後のデータも正常に受信することが可能となる。また、サイクリックカウンタの一巡の際に、伝送装置の処理負荷およびネットワーク上のトラフィック増加を招くことがなく、一過性の伝送異常が連続して発生した場合でも、支障なく制御装置間データ伝送が実施可能となる。   According to the fifth embodiment, when data equal to or less than a predetermined threshold is received as the count value after one cycle of the cyclic counter, the cyclic data is cycled by inputting the received data. Later data can be received normally. In addition, there is no hindrance to the processing load on the transmission device and the increase in traffic on the network during one cycle of the cyclic counter. Can be implemented.

次に、本発明の第6の実施の形態を説明する。図6は本発明の第6の実施の形態に係るデータ伝送方法の受信処理手順を示すフローチャートである。この第6の実施の形態は、図18に示した制御システムにおいて制御装置1a、1bから制御装置1cへデータを伝送する場合の受信処理手順を示したものであり、受信側伝送装置3cは、ネットワークより所定の時間内に一定数以上の受信データを集中受信した場合には、ネットワークからのデータ受信を禁止し、一定時間経過後にデータ受信禁止を解除するようにしたものである。なお、送信側伝送装置3a、3bにおけるデータ送信処理手順は図19に示す従来の処理手順と同様である。   Next, a sixth embodiment of the present invention will be described. FIG. 6 is a flowchart showing a reception processing procedure of the data transmission method according to the sixth embodiment of the present invention. The sixth embodiment shows a reception processing procedure when data is transmitted from the control devices 1a and 1b to the control device 1c in the control system shown in FIG. When a predetermined number or more of received data is centrally received within a predetermined time from the network, data reception from the network is prohibited and the data reception prohibition is canceled after a lapse of a certain time. The data transmission processing procedure in the transmitting side transmission apparatuses 3a and 3b is the same as the conventional processing procedure shown in FIG.

図6において、受信側伝送装置3bでは、データ受信を監視しており(S200)、伝送路10からのデータの受信を検出すると、当該受信データを受信用メモリに入力し(S201)、ネットワーク11からのデータ受信回数カウンタをインクリメントする(S202)。   In FIG. 6, the receiving side transmission apparatus 3b monitors data reception (S200). When reception of data from the transmission path 10 is detected, the received data is input to the reception memory (S201), and the network 11 The data reception counter from is incremented (S202).

次に、制御コントローラ2cとの制御周期を検出したか否かをチェックし(S210)、制御周期を検出した場合は、それまでに受信用メモリに入力した最新の受信データを制御コントローラ2cへ出力し(S211)、データ受信回数カウンタを0クリアする(S212)。   Next, it is checked whether or not a control cycle with the controller 2c has been detected (S210). If a control cycle has been detected, the latest received data that has been input to the reception memory is output to the controller 2c. Then, the data reception counter is cleared to 0 (S212).

一方、ステップS210での制御周期検出のチェックにて制御周期を検出しなかった場合は、本来有り得るはずの無い大量のデータを受信したか否かを確認するため、前回制御周期の検出以降にデータ受信した回数が一定数以上であるか否かをチェックし(S220)、一定数以上の受信を検出した場合はネットワーク11からのデータ受信を禁止した後(S221)、データ受信禁止とした時点の時刻情報を保存する(S222)。   On the other hand, if the control cycle is not detected in the control cycle detection check in step S210, data is detected after the detection of the previous control cycle in order to check whether or not a large amount of data that should not have been received is received. It is checked whether or not the number of times of reception is equal to or greater than a certain number (S220). If reception of a certain number or more is detected, data reception from the network 11 is prohibited (S221), and data reception is prohibited. The time information is saved (S222).

次に、現在ネットワーク11からのデータ受信禁止状態か否かのチェックを行い(S225)、禁止状態の場合はさらに受信禁止状態にしてから一定時間経過したか否かをチェックする(S226)。この結果が一定時間経過済みであった場合、ネットワーク11からのデータ受信を許可状態にする(S227)。これにより、再びネットワーク11からのデータ受信が可能となり、それ以降に伝送される最新の伝送データの受信が可能となる。以上の処理終了後に、再び伝送路10からのデータ受信ありのチェック処理S200に戻り、以後、前記処理を繰り返し行う。   Next, it is checked whether or not data reception from the network 11 is currently prohibited (S225). If it is prohibited, it is further checked whether or not a certain time has passed since the reception was prohibited (S226). If this result indicates that a certain time has elapsed, data reception from the network 11 is permitted (S227). As a result, data can be received from the network 11 again, and the latest transmission data transmitted thereafter can be received. After the above process is completed, the process returns to the check process S200 with data reception from the transmission line 10 again, and thereafter the process is repeated.

第6の実施の形態によれば、予め決められた時間以内に、予め決められた数以上のデータを集中受信した場合、一定時間ネットワークからのデータ受信を禁止するので、ネットワーク11上に異常な伝送装置が存在して大量にデータを送信してきた場合でも、当該異常データを廃棄できる。従って、伝送装置内でのデータ受信処理で渋滞を起こすことはなくなり、正常にデータ送信しているデータからのデータは受信できる。   According to the sixth embodiment, if data of a predetermined number or more is received in a concentrated manner within a predetermined time, data reception from the network is prohibited for a certain period of time. Even when a transmission device exists and transmits a large amount of data, the abnormal data can be discarded. Therefore, no congestion occurs in the data reception process in the transmission apparatus, and data from data that is normally transmitted can be received.

次に、本発明の第7の実施の形態を説明する。図7は本発明の第7の実施の形態に係るデータ伝送方法の受信処理手順を示すフローチャートである。この第7の実施の形態は、図21に示した制御システムにおいて冗長化された制御装置1aから冗長化された制御装置1bへデータを伝送する場合の送信処理手順を示したものであり、冗長化された送信側制御装置1aは、自己の冗長化運転状態が主系の場合にはその冗長化運転状態および送信データを送信し、自己の冗長化運転状態が従系の場合にはその冗長化運転状態のみを送信するようにしたものである。   Next, a seventh embodiment of the present invention will be described. FIG. 7 is a flowchart showing a reception processing procedure of the data transmission method according to the seventh embodiment of the present invention. This seventh embodiment shows a transmission processing procedure when data is transmitted from the redundant control device 1a to the redundant control device 1b in the control system shown in FIG. When the self-redundant operation state is the primary system, the transmission-side control device 1a transmits the redundant operation state and transmission data, and when the self-redundant operation state is the slave system, Only the operation state is transmitted.

図7において、送信側伝送装置31a、32bでは、データ伝送周期を監視しており(S100)、データの伝送周期を検出すると、まず制御コントローラの冗長化運転状態(主系/従系)を入力する(S101)。   In FIG. 7, the transmission devices 31a and 32b monitor the data transmission cycle (S100). When the data transmission cycle is detected, first, the redundant operation state (primary / subordinate) of the controller is input. (S101).

次に、この冗長化運転状態をチェックし(S102)、主系なら制御コントローラ2aから最新のプロセスデータを送信データとして送信用メモリに入力し(S102)、送信データに冗長化運転状態を付加する(S104)。反対に、制御コントローラ2aの運転状態が従系ならば、送信データを冗長化運転状態=従系のみとする(S105)。その後、ステップS104またはステップS105の処理で作成された送信データを伝送路10に対し送信する(S110)。以後、伝送周期毎にステップS100〜ステップS110の処理を繰り返し実行することにより、伝送周期毎にデータ送信を行う。   Next, this redundant operation state is checked (S102). If it is the main system, the latest process data is input as transmission data from the controller 2a to the transmission memory (S102), and the redundant operation state is added to the transmission data. (S104). On the other hand, if the operation state of the controller 2a is the slave system, the transmission data is set to the redundant operation state = slave system only (S105). Thereafter, the transmission data created in the process of step S104 or step S105 is transmitted to the transmission line 10 (S110). Thereafter, data transmission is performed for each transmission cycle by repeatedly executing the processing from step S100 to step S110 for each transmission cycle.

なお、受信側伝送装置32a、32bの受信処理は、図23に示した従来のものと同様である。受信側伝送装置32a、32bは、送信側伝送装置31a、32bのうち主系側伝送装置から送信されてきたプロセスデータを入力して制御コントローラ22a、22bに渡すと共に、従系側伝送装置から送信されてくる送信データ(冗長化運転状態情報)の受信状態を監視することで、従系側制御装置が正常動作を継続しているかの判断が可能である。   The reception processing of the receiving side transmission devices 32a and 32b is the same as the conventional one shown in FIG. The reception-side transmission devices 32a and 32b receive the process data transmitted from the main-side transmission device among the transmission-side transmission devices 31a and 32b, pass it to the control controllers 22a and 22b, and transmit the process data from the slave-side transmission device. By monitoring the reception state of the transmitted data (redundant operation state information), it is possible to determine whether the slave control device continues normal operation.

第7の実施の形態よれば、冗長化された制御装置内の伝送装置からの送信データを、冗長化された制御装置の冗長化運転状態が主系の場合には冗長化運転状態とプロセスデータとし、冗長化運転状態が従系の場合には冗長化運転状態のみとするので、受信側伝送装置における冗長化された全ての送信側伝送装値の動作状態の監視が従来と同様に可能であると共に、ネットワーク11上のトラフィックを減らすことができる。このため、同一ネットワーク11に接続可能な冗長化された制御装置の台数を多くすることが可能になる。   According to the seventh embodiment, the transmission data from the transmission device in the redundant control device is used as the redundant operation state and process data when the redundant operation state of the redundant control device is the main system. When the redundant operation state is a slave system, only the redundant operation state is set, so that it is possible to monitor the operation state of all redundant transmission side transmission device values in the reception side transmission device as in the conventional case. In addition, the traffic on the network 11 can be reduced. For this reason, it is possible to increase the number of redundant control devices that can be connected to the same network 11.

以上の説明では、二重化された伝送路を有するネットワークに2台の制御装置を接続した制御システムの場合(第1の実施の形態、第2の実施の形態)、一つの伝送路を有するネットワークに2台の制御装置を接続した制御システムの場合(第3の実施の形態、第4の実施の形態、第5の実施の形態)、一つの伝送路を有するネットワークに3台の制御装置を接続した制御システムの場合(第6の実施の形態)、一つの伝送路を有するネットワークに構成要素が二重化された2台の制御装置を接続した制御システムの場合(第7の実施の形態)について、それぞれデータ伝送方法について説明したが、各々の制御システムに対し第1の実施の形態乃至第7の実施の形態におけるデータ伝送方法を適用できる。   In the above description, in the case of a control system in which two control devices are connected to a network having a duplex transmission path (first embodiment, second embodiment), a network having one transmission path is used. In the case of a control system in which two control devices are connected (third embodiment, fourth embodiment, and fifth embodiment), three control devices are connected to a network having one transmission line. In the case of the control system (sixth embodiment), in the case of a control system in which two control devices whose components are duplicated are connected to a network having one transmission path (seventh embodiment), Although the respective data transmission methods have been described, the data transmission methods in the first to seventh embodiments can be applied to each control system.

この場合、制御装置が冗長化されていない場合の伝送装置の送信処理においては、送信データに冗長化運転状態=主系の情報を付加して送信することになる。これにより、冗長化された制御装置と冗長化されない制御装置とを混在してネットワーク11に接続可能となると共に、冗長化されたもしくは冗長化されない伝送路上のトラフィックを最小限に抑制できる。さらに、ネットワーク11に接続されるこれら制御装置の台数を多くすることが可能となる。   In this case, in the transmission process of the transmission apparatus when the control apparatus is not made redundant, the redundant operation state = main system information is added to the transmission data for transmission. As a result, a redundant control device and a non-redundant control device can be mixed and connected to the network 11, and traffic on a redundant or non-redundant transmission path can be minimized. Furthermore, the number of these control devices connected to the network 11 can be increased.

また、データ伝送に使用されるサイクリックカウンタの一巡時にネットワーク11上のトラフィックを増やすことなく、その後の制御装置間データ伝送も正常実施する事が可能となると共に、ネットワーク上に連続でデータ送信する異常装置が存在した場合でも、正常装置間の伝送が可能となる。   Further, it is possible to perform normal data transmission between the control devices without increasing traffic on the network 11 during one cycle of the cyclic counter used for data transmission, and continuously transmit data on the network. Even when an abnormal device exists, transmission between normal devices becomes possible.

次に、本発明の第8の実施の形態を説明する。図8は本発明の第8の実施の形態に係るデータ伝送方法における受信側制御装置1cの処理内容を示すブロック図である。この第8の実施の形態は、図24に示した制御システムにおいて、二重化された非同期の各々の制御装置1a、1bから一つの伝送路10で構成されたネットワーク11を介して他の制御装置1cにデータを伝送するデータ伝送方法における受信側制御装置1cの処理内容を示したものであり、受信側制御装置1cは、非同期二重化の送信側制御装置1a、1bにおける1系/2系の故障状態および1系/2系の手動選択信号状態に基づいて、1系/2系のうち正常な系からの受信データを入力するようにしたものである。   Next, an eighth embodiment of the present invention will be described. FIG. 8 is a block diagram showing the processing contents of the receiving side control device 1c in the data transmission method according to the eighth embodiment of the present invention. In the eighth embodiment, in the control system shown in FIG. 24, each of the duplicated asynchronous control devices 1a, 1b is connected to another control device 1c via the network 11 constituted by one transmission line 10. The processing contents of the receiving side control device 1c in the data transmission method for transmitting data are shown, and the receiving side control device 1c is in the failure state of the 1 system / 2 system in the asynchronous duplex transmission side control devices 1a, 1b. In addition, based on the manual selection signal state of the 1 system / 2 system, the reception data from the normal system of the 1 system / 2 system is input.

図8において、受信側伝送装置3cは伝送路10で構成されたネットワーク11から非同期二重化の送信側伝送装置3a、3bから内容の同じ2つのデータを受信し、受信側制御コントローラ2cに出力し、データはそれぞれ受信バッファ12A、12Bに格納される。   In FIG. 8, the receiving side transmission device 3c receives two data having the same contents from the asynchronous duplex transmitting side transmission devices 3a and 3b from the network 11 constituted by the transmission path 10, and outputs the data to the receiving side controller 2c. The data is stored in the reception buffers 12A and 12B, respectively.

受信側制御コントローラ2cには、条件判定処理手段23、データ切替処理手段24、出力クリア処理手段25が設けられており、条件判定処理手段23で送信側制御装置3a、3bの故障状態および1系/2系の手動選択信号状態を監視し、その結果で条件1および条件2を作成する。データ切替処理手段24では条件1に基づき、受信バッファ12A、12Bのどちらか正常な方を選択し出力する。さらに出力クリア処理手段25では条件2に基づき、送信側制御装置1a、1bの1系/2系の両系が異常であることを判断しデータをクリアする。   The reception side controller 2c is provided with a condition determination processing unit 23, a data switching processing unit 24, and an output clear processing unit 25. In the condition determination processing unit 23, the failure state and 1 system of the transmission side control devices 3a and 3b are detected. / 2 system manual selection signal state is monitored, and condition 1 and condition 2 are created based on the result. Based on condition 1, the data switching processing means 24 selects and outputs the normal one of the reception buffers 12A and 12B. Further, the output clear processing means 25 determines that both 1-system / 2-system of the transmission side control devices 1a, 1b are abnormal based on the condition 2, and clears the data.

図9は条件判定処理手段23の条件判定ロジックの回路図である。いま、送信側制御装置1bが主系として選択されているとする。この場合、制御装置1bの手動選択信号がアンド回路13Aおよびオア回路14に入力されている。   FIG. 9 is a circuit diagram of the condition determination logic of the condition determination processing means 23. Now, it is assumed that the transmission side control device 1b is selected as the main system. In this case, the manual selection signal of the control device 1b is input to the AND circuit 13A and the OR circuit 14.

また、アンド回路13Aには送信側伝送装置3bの故障信号が入力されるようになっており、オア回路14には送信側伝送装置3aの故障信号が入力されるようになっている。さらに、アンド回路13Bには、送信側伝送装置3aの故障信号および送信側伝送装置3bの故障信号はアンド回路13Aに入力されるようになっている。送信側伝送装置3a、3bの双方が故障である場合にはアンド回路13Bにより条件2が成立することになる。   Further, the failure signal of the transmission side transmission device 3b is inputted to the AND circuit 13A, and the failure signal of the transmission side transmission device 3a is inputted to the OR circuit 14. Further, the AND circuit 13B is configured such that the failure signal of the transmission side transmission device 3a and the failure signal of the transmission side transmission device 3b are input to the AND circuit 13A. When both of the transmitting side transmission devices 3a and 3b are faulty, the condition 2 is satisfied by the AND circuit 13B.

いま、送信側伝送装置3a、3bの双方が正常である場合には、アンド回路13Bの出力は「0」であるので条件2は成立しない。また、アンド回路13Aの出力も「0」となり、ノット回路17Aの出力が「1」となる。一方、オア回路14Aの出力は「1」であるので、アンド回路13Cの出力は「1」となり、条件1として手動選択信号で選択された送信側制御装置1bの受信バッファ12Bが選択される。   Now, when both of the transmission apparatuses 3a and 3b are normal, the output of the AND circuit 13B is “0”, so the condition 2 is not satisfied. The output of the AND circuit 13A is also “0”, and the output of the knot circuit 17A is “1”. On the other hand, since the output of the OR circuit 14A is “1”, the output of the AND circuit 13C is “1”, and the reception buffer 12B of the transmission side control device 1b selected by the manual selection signal as the condition 1 is selected.

この状態で、送信側伝送装置3bが故障したとすると、アンド回路13Bの出力は「0」であるので、条件2は成立しない。アンド回路13Aの出力は「1」となり、ノット回路17Aの出力は「0」となる。一方、オア回路14の出力は「1」であるので、アンド回路13Cの出力「0」となる。従って、ノット回路17Bの出力が「1」となり、送信側制御装置1aの受信バッファ12Aが選択される。つまり、手動選択信号で送信側制御装置1bが選択されている状態で送信側伝送装置3bが故障した場合には、条件1として送信側制御装置1aの受信バッファ12Aが選択される。   In this state, if the transmitting side transmission device 3b fails, the output of the AND circuit 13B is “0”, so the condition 2 is not satisfied. The output of the AND circuit 13A is “1”, and the output of the knot circuit 17A is “0”. On the other hand, since the output of the OR circuit 14 is “1”, the output is “0” of the AND circuit 13C. Accordingly, the output of the knot circuit 17B becomes “1”, and the reception buffer 12A of the transmission side control device 1a is selected. That is, when the transmission side transmission device 3b fails while the transmission side control device 1b is selected by the manual selection signal, the reception buffer 12A of the transmission side control device 1a is selected as the condition 1.

一方、手動選択信号で送信側制御装置1bが選択されている状態で送信側伝送装置3aが故障した場合には、条件1として送信側制御装置1bの受信バッファ12Bがそのまま選択される。そして、送信側伝送装置3a、3bの双方が故障である場合にはアンド回路13Bにより条件2が成立することになる。   On the other hand, when the transmission side transmission device 3a fails while the transmission side control device 1b is selected by the manual selection signal, the reception buffer 12B of the transmission side control device 1b is selected as it is as the condition 1. When both of the transmitting side transmission apparatuses 3a and 3b are faulty, the condition 2 is established by the AND circuit 13B.

データ切替手段24では、条件1に基づいて故障でない方の受信バッファ12をを選択し、出力クリア処理手段25に出力する。出力クリア処理手段25は、条件2が成立したときは出力データをクリアする。   The data switching unit 24 selects the reception buffer 12 that is not faulty based on the condition 1 and outputs it to the output clear processing unit 25. The output clear processing means 25 clears the output data when the condition 2 is satisfied.

第8の実施の形態によれば、受信側制御装置において、非同期二重化の送信側制御装置の1系/2系の両系から受信した内容の同じ2つのデータを、送信側制御装置の故障状態および1系/2系の手動選択信号状態により切り替えるので、内容の同じ2つのデータを1つに絞り込むことができる。また、ネットワーク11上の伝送量を低減し、ネットワークの性能低下を防ぐことが可能となる。   According to the eighth embodiment, in the receiving side control device, the two data having the same contents received from both the first and second systems of the asynchronous duplexing sending side control device are stored in the failure state of the transmitting side control device. Since the switching is performed according to the manual selection signal state of the 1 system / 2 system, two data having the same contents can be narrowed down to one. In addition, it is possible to reduce the transmission amount on the network 11 and prevent the performance of the network from being lowered.

次に、本発明の第9の実施の形態を説明する。図10は本発明の第9の実施の形態に係るデータ伝送方法における受信側制御装置1c、1dの処理内容を示すブロック図である。この第9の実施の形態は、図25に示した制御システムにおいて、冗長化された制御装置1a、1bから冗長化された制御装置1c、1dへデータを伝送するデータ伝送方法における受信側制御装置1c、1dの処理内容を示したものである。   Next, a ninth embodiment of the present invention will be described. FIG. 10 is a block diagram showing the processing contents of the receiving side control devices 1c and 1d in the data transmission method according to the ninth embodiment of the present invention. The ninth embodiment is a control apparatus on the receiving side in a data transmission method for transmitting data from redundant control apparatuses 1a and 1b to redundant control apparatuses 1c and 1d in the control system shown in FIG. The processing contents 1c and 1d are shown.

すなわち、冗長化された受信側制御装置1c、1dは、送信側制御装置1a、1bからのデータを自己の伝送装置の共有メモリ4c、4dに入力し、共有メモリ4c、4dの内容を自己の制御コントローラ2c、2dの受信バッファ5c、5dに一旦記憶し、自己の伝送装置と送信側伝送装置3a、3bとの間の伝送路が正常状態であるか否かを監視し、正常状態である場合にのみ受信バッファ5c、5dから制御コントローラ2c、2dの演算用入力メモリ7c、7dに送信側伝送装置3a、3bから受信したデータを転送すると共に、自己が主系制御装置である場合には従系制御装置の演算入力用メモリにトラッキング処理を行うようにしたものである。   That is, the redundant reception side control devices 1c and 1d input the data from the transmission side control devices 1a and 1b to the shared memories 4c and 4d of their own transmission devices, and the contents of the shared memories 4c and 4d are transferred to their own. The data is temporarily stored in the reception buffers 5c and 5d of the control controllers 2c and 2d, and it is monitored whether or not the transmission path between the own transmission apparatus and the transmission apparatus 3a and 3b is in a normal state. Only when the data received from the transmitting side transmission devices 3a and 3b is transferred from the reception buffers 5c and 5d to the calculation input memories 7c and 7d of the control controllers 2c and 2d, The tracking processing is performed on the arithmetic input memory of the slave control device.

図10において、冗長化された受信側主系伝送装置3cは、共有メモリ4cを介して受信側主系制御コントローラ2cにデータを出力する。受信側主系制御コントローラ2cには受信バッファ5cが設けられており、受信側主系伝送装置3cの共有メモリ4cの内容を一旦受信バッファ5cに保存する。   In FIG. 10, the redundant reception-side main transmission device 3c outputs data to the reception-side main controller 2c via the shared memory 4c. The reception side main controller 2c is provided with a reception buffer 5c, and the contents of the shared memory 4c of the reception side main transmission device 3c are temporarily stored in the reception buffer 5c.

さらに、受信側主系制御コントローラ2cにはバッファ転送判定処理手段20が設けられており、自己の伝送装置3cと送信側伝送装置3a、3bとの間の伝送路の故障状態を監視し、正常であると判断した場合に、受信バッファ5cの内容を演算用入力メモリ6cに転送する。そして、自己が主系制御装置である場合には従系制御装置の演算入力用メモリにトラッキング処理27を行う。   Further, the reception-side main controller 2c is provided with a buffer transfer determination processing means 20, which monitors the failure state of the transmission path between the own transmission device 3c and the transmission-side transmission devices 3a and 3b, and is normal. If it is determined that, the contents of the reception buffer 5c are transferred to the calculation input memory 6c. When the self controller is the master controller, the tracking process 27 is performed on the arithmetic input memory of the slave controller.

冗長化された受信側従系伝送装置3dについても同様に、共有メモリ4dを介して受信側従系制御コントローラ2dにデータを出力する。受信側従系制御コントローラ2dには受信バッファ5dが設けられており、受信側従系伝送装置3dの共有メモリ4dの内容を一旦受信バッファ5dに保存する。   Similarly, the redundant reception side slave transmission device 3d outputs data to the reception side slave control controller 2d via the shared memory 4d. The reception side secondary controller 2d is provided with a reception buffer 5d, and the contents of the shared memory 4d of the reception side secondary transmission device 3d are temporarily stored in the reception buffer 5d.

さらに受信側従系制御コントローラ2dにはバッファ転送判定処理手段20が設けられており、自己の伝送装置3dと送信側伝送装置3a、3bとの間の伝送路の故障状態を監視し、正常であると判断した場合に、受信バッファ5dの内容を演算用入力メモリ6dに転送する。   Further, the reception side slave controller 2d is provided with a buffer transfer determination processing means 20, which monitors the failure state of the transmission path between its own transmission device 3d and the transmission side transmission devices 3a and 3b. If it is determined that there is, the contents of the reception buffer 5d are transferred to the calculation input memory 6d.

図11はバッファ転送判定処理手段20の演算処理内容を示すフローチャートである。受信側制御コントローラ2c、2dは受信側伝送装置3c、3dからのデータを一旦受信バッファに格納し(S100)、送信側伝送装置にて付加されたサイクリックカウンタを参照する(S101)。   FIG. 11 is a flowchart showing the calculation processing contents of the buffer transfer determination processing means 20. The receiving side control controllers 2c and 2d temporarily store the data from the receiving side transmission devices 3c and 3d in the receiving buffer (S100), and refer to the cyclic counter added by the transmitting side transmission device (S101).

次に、同一送信側伝送装置3a、3bから前回データ受信した時のサイクリックカウンタの値と今回データ受信した時のサイクリックカウンタの値とを比較し(S102)、前回よりも今回の方が大きい場合に受信バッファ5c、5dに格納されたデータを演算用入力メモリ7c、7dに転送する(S103)。一方、そうでない場合は受信バッファ5c、5dに格納されたデータの転送処理を行わない(S104)。次に、今回受信したサイクリックカウンタの値を前回受信時サイクリックカウンタ保存エリアに格納する(S105)。   Next, the value of the cyclic counter when the previous data is received from the same transmission apparatus 3a, 3b is compared with the value of the cyclic counter when the current data is received (S102). If larger, the data stored in the reception buffers 5c and 5d are transferred to the calculation input memories 7c and 7d (S103). On the other hand, if not, transfer processing of the data stored in the reception buffers 5c and 5d is not performed (S104). Next, the value of the cyclic counter received this time is stored in the previous reception cyclic counter storage area (S105).

自己の伝送装置3c、3dと送信側伝送装置3a、3bとの間に、例えば、図27に示した伝送路故障が発生している場合、受信側主系伝送装置3cの共有メモリ4cは送信側伝送装置から最新のプロセスデータを受信しているが、受信側従系伝送装置3dの共有メモリ4dは故障が発生しているため、故障前のプロセスデータの状態を保持している。   For example, when the transmission line failure shown in FIG. 27 occurs between the own transmission apparatuses 3c and 3d and the transmission-side transmission apparatuses 3a and 3b, the shared memory 4c of the reception-side main transmission apparatus 3c transmits Although the latest process data is received from the side transmission apparatus, the shared memory 4d of the reception side secondary transmission apparatus 3d has a failure, and therefore holds the state of the process data before the failure.

この状態で冗長化されている受信側制御装置1c、1dの主系/従系の切替えが発生した場合、系切替え前は送信側伝送装置3a、3bからの最新のプロセスデータが演算用入力メモリ6cに書き込まれ、そのデータで制御演算処理26が行われ結果が出力されていたが、系の切替え後は古いプロセスデータが旧待機系伝送装置3dの共有メモリ4dから旧待機系制御コントローラ2dの演算用入力メモリ6dに入力され、系の切替え前に旧常用系からトラッキング処理27により入力された最新のプロセスデータを古いプロセスデータに書き換えてしまう。このため、制御演算処理26の結果が突変してしまうことがある。   In this state, when the redundant control of the receiving side control devices 1c and 1d occurs, the latest process data from the transmitting side transmission devices 3a and 3b is stored in the arithmetic input memory before the system switching. 6c, and the control calculation processing 26 is performed with the data and the result is output. However, after the system is switched, the old process data is transferred from the shared memory 4d of the old standby transmission device 3d to the old standby control controller 2d The latest process data input to the arithmetic input memory 6d and input from the old regular system by the tracking process 27 before switching the system is rewritten to old process data. For this reason, the result of the control calculation process 26 may change suddenly.

しかし、伝送装置3dの共有メモリ4dから制御装置2dの演算用入力メモリ6dとの間に受信バッファ5dを設け、さらにバッファ転送判定処理手段20を設けているので、送信側常用系伝送装置3aとの伝送状態が異常であることを判断できる。従って、受信バッファ5dの内容を演算用入力メモリ6dに転送することはせず、演算用入力メモリ6dの内容は旧待機状態の時に旧常用系からトラッキングされた状態を維持するので、出力の突変を防ぐことが可能となる。   However, since the reception buffer 5d is provided between the shared memory 4d of the transmission device 3d and the calculation input memory 6d of the control device 2d, and the buffer transfer determination processing means 20 is provided, the transmission-side regular transmission device 3a It is possible to determine that the transmission state of is abnormal. Accordingly, the contents of the reception buffer 5d are not transferred to the calculation input memory 6d, and the contents of the calculation input memory 6d are kept tracked from the old regular system when in the old standby state. It is possible to prevent changes.

第9の実施の形態によれば、受信側伝送装置の共有メモリと演算用入力メモリとの間に、受信バッファとバッファ転送判定処理手段とを設け、バッファ転送判定処理手段で自己の伝送装置と送信側伝送装置との間の伝送故障状態を監視し、正常と判定した場合にのみ受信バッファの内容を制御コントローラの演算用入力メモリに転送するので、受信側従系伝送装置と送信側伝送装置との間が伝送路故障状態にある場合に、受信側制御装置の主系/従系の切り替えが発生した場合においても、演算結果メモリの内容が突変することがなく、現状維持の制御を継続することが可能となる。   According to the ninth embodiment, the reception buffer and the buffer transfer determination processing means are provided between the shared memory and the calculation input memory of the reception-side transmission apparatus, and the buffer transfer determination processing means uses the own transmission apparatus and The transmission failure state between the transmission side transmission device is monitored, and the content of the reception buffer is transferred to the operation input memory of the controller only when it is determined to be normal, so that the reception side secondary transmission device and the transmission side transmission device Even if there is a transmission line fault condition between and the main controller / subordinate system of the receiving side control device, the contents of the calculation result memory will not change suddenly, and the control for maintaining the current state can be performed. It is possible to continue.

本発明の第1の実施の形態に係るデータ伝送方法の送信処理手順を示すフローチャート。The flowchart which shows the transmission processing procedure of the data transmission method which concerns on the 1st Embodiment of this invention. 本発明の第2の実施の形態に係るデータ伝送方法の送信処理手順を示すフローチャート。The flowchart which shows the transmission processing procedure of the data transmission method which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施の形態に係るデータ伝送方法の受信処理手順を示すフローチャート。The flowchart which shows the reception processing procedure of the data transmission method which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施の形態に係るデータ伝送方法の送信処理手順を示すフローチャート。The flowchart which shows the transmission processing procedure of the data transmission method which concerns on the 4th Embodiment of this invention. 本発明の第5の実施の形態に係るデータ伝送方法の受信処理手順を示すフローチャート。The flowchart which shows the reception processing procedure of the data transmission method which concerns on the 5th Embodiment of this invention. 本発明の第6の実施の形態に係るデータ伝送方法の受信処理手順を示すフローチャート。The flowchart which shows the reception processing procedure of the data transmission method which concerns on the 6th Embodiment of this invention. 本発明の第7の実施の形態に係るデータ伝送方法の受信処理手順を示すフローチャート。The flowchart which shows the reception processing procedure of the data transmission method which concerns on the 7th Embodiment of this invention. 本発明の第8の実施の形態に係るデータ伝送方法における受信側制御装置の処理内容を示すブロック図。The block diagram which shows the processing content of the receiving side control apparatus in the data transmission method which concerns on the 8th Embodiment of this invention. 本発明の第8実施の形態における条件判定処理手段の条件判定ロジックの回路図。The circuit diagram of the condition determination logic of the condition determination process means in 8th Embodiment of this invention. 本発明の第9の実施の形態に係るデータ伝送方法における受信側制御装置の処理内容を示すブロック図。The block diagram which shows the processing content of the receiving side control apparatus in the data transmission method which concerns on the 9th Embodiment of this invention. 本発明の第10実施の形態を示す制御装置の受信処理を示すフローチャートである。It is a flowchart which shows the reception process of the control apparatus which shows 10th Embodiment of this invention. 従来の制御システム(その1)の構成図であり、二重化された伝送路を有するネットワークに2台の制御装置を接続した従来の制御システムの構成図。It is a block diagram of the conventional control system (the 1), and is a block diagram of the conventional control system which connected two control apparatuses to the network which has a duplexed transmission line. 図12に示した従来の伝送装置の送信処理手順を示すフローチャート。The flowchart which shows the transmission processing procedure of the conventional transmission apparatus shown in FIG. 図12に示した従来の伝送装置の受信処理手順を示すフローチャート。13 is a flowchart showing a reception processing procedure of the conventional transmission apparatus shown in FIG. 従来の制御システム(その2)の構成図であり、一つの伝送路を有するネットワークに2台の制御装置を接続した従来の制御システムの構成図。It is a block diagram of the conventional control system (the 2), and is a block diagram of the conventional control system which connected two control apparatuses to the network which has one transmission line. 図15に示した従来の伝送装置の送信処理手順を示すフローチャート。The flowchart which shows the transmission processing procedure of the conventional transmission apparatus shown in FIG. 図15に示した従来の伝送装置の受信処理手順を示すフローチャート。The flowchart which shows the reception processing procedure of the conventional transmission apparatus shown in FIG. 従来の制御システム(その3)の構成図であり、一つの伝送路を有するネットワークに3台の制御装置を接続した従来の制御システムの構成図。It is a block diagram of the conventional control system (the 3), and is a block diagram of the conventional control system which connected three control apparatuses to the network which has one transmission line. 図18に示した従来の伝送装置の送信処理手順を示すフローチャート。19 is a flowchart showing a transmission processing procedure of the conventional transmission apparatus shown in FIG. 図18に示した従来の伝送装置の受信処理手順を示すフローチャート。19 is a flowchart showing a reception processing procedure of the conventional transmission apparatus shown in FIG. 従来の制御システム(その4)の構成図であり、一つの伝送路を有するネットワークに構成要素が二重化された2台の制御装置を接続した従来の制御システムの構成図。It is a block diagram of the conventional control system (the 4), and is a block diagram of the conventional control system which connected the two control apparatuses by which the component was duplicated to the network which has one transmission line. 図21に示した従来の伝送装置の送信処理手順を示すフローチャート。The flowchart which shows the transmission processing procedure of the conventional transmission apparatus shown in FIG. 図21に示した従来の伝送装置の受信処理手順を示すフローチャート。The flowchart which shows the reception processing procedure of the conventional transmission apparatus shown in FIG. 従来の制御システム(その5)の構成図であり、一つの伝送路で構成された階層のネットワークに非同期の二重化の制御装置を含む複数台の制御装置および監視表示装置を接続した制御システムの構成図。FIG. 7 is a configuration diagram of a conventional control system (No. 5), and is a configuration of a control system in which a plurality of control devices including an asynchronous duplex control device and a monitor display device are connected to a hierarchical network constituted by one transmission line. Figure. 従来の制御システム(その6)の構成図であり、二重化(冗長化)された伝送路を有するネットワークに複数の二重化(冗長化された)された制御装置を接続した制御システムの構成図。It is a block diagram of the conventional control system (the 6), and is a block diagram of a control system in which a plurality of redundant (redundant) control devices are connected to a network having a redundant (redundant) transmission path. 図25に示した従来の制御制御システムにおける受信側制御装置の構成図。The block diagram of the receiving side control apparatus in the conventional control control system shown in FIG. 図25に示した従来の制御システムに故障が発生した場合の説明図。FIG. 26 is an explanatory diagram when a failure occurs in the conventional control system shown in FIG. 25.

符号の説明Explanation of symbols

1…制御装置、2…制御コントローラ、3…伝送装置、4…共有メモリ、5…受信バッファ、6…演算用入力メモリ、7…演算結果メモリ、10…伝送路、11…ネットワーク、12…受信バッファ、13…アンド回路、14…オア回路、15…伝送路、16…ネットワーク、17…ノット回路、20…バッファ転送判定処理手段、21、22…制御コントローラ、23…条件判定処理手段、24…データ切替処理手段、25…出力クリア処理手段、26…制御演算処理、27…トラッキング処理 DESCRIPTION OF SYMBOLS 1 ... Control apparatus, 2 ... Control controller, 3 ... Transmission apparatus, 4 ... Shared memory, 5 ... Reception buffer, 6 ... Calculation input memory, 7 ... Calculation result memory, 10 ... Transmission path, 11 ... Network, 12 ... Reception Buffer, 13 ... AND circuit, 14 ... OR circuit, 15 ... Transmission path, 16 ... Network, 17 ... Knot circuit, 20 ... Buffer transfer judgment processing means, 21, 22 ... Control controller, 23 ... Condition judgment processing means, 24 ... Data switching processing means, 25 ... output clear processing means, 26 ... control calculation processing, 27 ... tracking processing

Claims (4)

制御コントローラと伝送装置で構成された制御装置から一つの伝送路で構成されたネットワークを介して他の制御装置にデータを送信するデータ送信方法において、受信側制御装置は、前記ネットワークより所定の時間内に一定数以上の受信データを集中受信した場合には、前記ネットワークからのデータ受信を禁止し、一定時間経過後にデータ受信禁止を解除することを特徴とするデータ伝送方法。   In a data transmission method for transmitting data from a control device constituted by a control controller and a transmission device to another control device via a network constituted by one transmission path, the reception-side control device transmits a predetermined time from the network. A data transmission method characterized by prohibiting data reception from the network when a predetermined number or more of received data is centrally received, and canceling the data reception prohibition after a predetermined time has elapsed. 複数の制御コントローラと複数の伝送装置で構成された冗長化された制御装置から一つの伝送路で構成されたネットワークを介して他の冗長化された制御装置にデータを伝送するデータ伝送方法において、冗長化された送信側制御装置は、自己の冗長化運転状態が主系の場合にはその冗長化運転状態および送信データを送信し、自己の冗長化運転状態が従系の場合にはその冗長化運転状態のみを送信することを特徴とするデータ伝送方法。   In a data transmission method for transmitting data from a redundant control device configured by a plurality of control controllers and a plurality of transmission devices to another redundant control device via a network configured by one transmission path, The redundant transmission side control device transmits the redundant operation state and transmission data when its own redundant operation state is the primary system, and the redundant control state when its own redundant operation state is the secondary system. A data transmission method characterized by transmitting only the operation state. 制御コントローラと伝送装置で構成された2台の制御装置で二重化された非同期の各々の制御装置から一つの伝送路で構成されたネットワークを介して他の制御装置にデータを伝送するデータ伝送方法において、受信側制御装置は、非同期二重化の送信側制御装置における1系/2系の故障状態および1系/2系の手動選択信号状態に基づいて、1系/2系のうち正常な系からの受信データを入力することを特徴とするデータ伝送方法。   In a data transmission method for transmitting data from each asynchronous control device duplexed by two control devices composed of a control controller and a transmission device to another control device via a network composed of one transmission path The receiving-side control device determines whether the 1-system / 2-system from the normal system based on the 1-system / 2-system failure state and the 1-system / 2-system manual selection signal state in the asynchronous-duplex transmission-side control apparatus. A data transmission method comprising inputting received data. 制御コントローラと伝送装置で構成された2台の制御装置で二重化された各々の制御装置から多重化された伝送路で構成されたネットワークを介して他の冗長化された制御装置にデータを伝送するデータ伝送方法において、冗長化された受信側制御装置は、送信側制御装置からのデータを自己の伝送装置の共有メモリに入力し、共有メモリの内容を自己の制御コントローラの受信バッファに一旦記憶し、自己の伝送装置と送信側伝送装置との間の伝送路が正常状態であるか否かを監視し、正常状態である場合にのみ前記受信バッファから前記制御コントローラの演算用入力メモリに前記送信側伝送装置から受信したデータを転送すると共に、自己が主系制御装置である場合には従系制御装置の演算入力用メモリにトラッキング処理を行うことを特徴とするデータ伝送方法。   Data is transmitted from each control device duplexed by two control devices constituted by a control controller and a transmission device to another redundant control device via a network constituted by multiplexed transmission lines. In the data transmission method, the redundant reception side control device inputs the data from the transmission side control device to the shared memory of its own transmission device, and temporarily stores the contents of the shared memory in the reception buffer of its own control controller. Monitoring whether the transmission path between its own transmission apparatus and the transmission apparatus on the transmission side is in a normal state, and only when the transmission path is in a normal state, the transmission from the reception buffer to the calculation input memory of the controller The data received from the side transmission device is transferred, and if it is the master control device, the tracking processing is performed on the arithmetic input memory of the slave control device. Data transmission method according to claim.
JP2006321157A 2006-11-29 2006-11-29 Data transmission method Pending JP2007124680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006321157A JP2007124680A (en) 2006-11-29 2006-11-29 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006321157A JP2007124680A (en) 2006-11-29 2006-11-29 Data transmission method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002185651A Division JP3904987B2 (en) 2002-06-26 2002-06-26 Data transmission method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009096914A Division JP2009159636A (en) 2009-04-13 2009-04-13 Data transmission method

Publications (1)

Publication Number Publication Date
JP2007124680A true JP2007124680A (en) 2007-05-17

Family

ID=38147923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006321157A Pending JP2007124680A (en) 2006-11-29 2006-11-29 Data transmission method

Country Status (1)

Country Link
JP (1) JP2007124680A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010200091A (en) * 2009-02-26 2010-09-09 Mitsubishi Electric Corp Communication system and communication method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09326824A (en) * 1996-06-04 1997-12-16 Nec Corp Packet reception system
JPH11120104A (en) * 1997-10-17 1999-04-30 Nec Corp Method and system for reducing load in case of network abnormality
JPH11308677A (en) * 1998-04-24 1999-11-05 Matsushita Electric Works Ltd Remote monitor control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09326824A (en) * 1996-06-04 1997-12-16 Nec Corp Packet reception system
JPH11120104A (en) * 1997-10-17 1999-04-30 Nec Corp Method and system for reducing load in case of network abnormality
JPH11308677A (en) * 1998-04-24 1999-11-05 Matsushita Electric Works Ltd Remote monitor control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010200091A (en) * 2009-02-26 2010-09-09 Mitsubishi Electric Corp Communication system and communication method

Similar Documents

Publication Publication Date Title
JP4776374B2 (en) Redundant supervisory control system and redundant switching method for the same system
CN107229221A (en) Fault-tolerant mode and handoff protocol for multiple hot and cold standby redundancies
JP6600518B2 (en) Bus system
JP6121067B2 (en) Bus participant apparatus and method of operation of bus participant apparatus
US9625894B2 (en) Multi-channel control switchover logic
JP2012195653A (en) Connection abnormality detection method, network system, and master unit
CN102882704B (en) Link protection method in the soft reboot escalation process of a kind of ISSU and equipment
JP2009159636A (en) Data transmission method
JP2001306350A (en) Field equipment control system and computer readable storage medium
CN107229534A (en) Mix dual duplexed failure mode of operation and the general introduction to any number of failure
JP2534430B2 (en) Methods for achieving match of computer system output with fault tolerance
US20090290485A1 (en) Distributed communication system and corresponding communication method
CN103678031A (en) Double 2-vote-2 redundant system and method
JP3904987B2 (en) Data transmission method
JP2007124680A (en) Data transmission method
US20170351233A1 (en) Multi-channel control switchover logic
CN111083198B (en) Communication link switching method, master domain server, slave domain server and system
CN105573869A (en) I2C bus based fault tolerant control method for system controller
JP4462418B2 (en) Layer 2 switch switching circuit, base station apparatus, and layer 2 switch switching method
JP2007143236A (en) Power supply
CN109491236B (en) Method for operating a high-availability automation system
CN113973025A (en) CAN bus-based satellite-borne computer communication reliability and fault tolerance design method
CN109154928A (en) The multiplex networks of the loss of controlled state frame
US20170155546A1 (en) Duplex control device and duplex system
JP2023161769A (en) Switching method for duplex communication interface module

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090210

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090413

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20090413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091208

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20091210

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100208

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100601