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

JP7779211B2 - Control system, control device and communication method - Google Patents

Control system, control device and communication method

Info

Publication number
JP7779211B2
JP7779211B2 JP2022113438A JP2022113438A JP7779211B2 JP 7779211 B2 JP7779211 B2 JP 7779211B2 JP 2022113438 A JP2022113438 A JP 2022113438A JP 2022113438 A JP2022113438 A JP 2022113438A JP 7779211 B2 JP7779211 B2 JP 7779211B2
Authority
JP
Japan
Prior art keywords
control device
data
additional information
unit
relay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2022113438A
Other languages
Japanese (ja)
Other versions
JP2024011462A (en
Inventor
貴雅 植田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP2022113438A priority Critical patent/JP7779211B2/en
Priority to PCT/JP2023/008845 priority patent/WO2024014048A1/en
Publication of JP2024011462A publication Critical patent/JP2024011462A/en
Application granted granted Critical
Publication of JP7779211B2 publication Critical patent/JP7779211B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Programmable Controllers (AREA)

Description

本発明は、制御システム、制御装置および通信方法に関する。 The present invention relates to a control system, a control device, and a communication method.

近年の情報通信技術の飛躍的な発展に伴って、産業用装置においてもより多くのデータを処理する必要性が高まっている。より具体的には、IoT(Internet of Things)やIndustry 4.0などに代表される、通信技術を用いた技術革新が進みつつある。これによって、システム内でやり取りされるデータは増大傾向にある。 With the rapid development of information and communications technology in recent years, there is a growing need for industrial equipment to process larger amounts of data. More specifically, technological innovations using communications technology, such as IoT (Internet of Things) and Industry 4.0, are progressing. As a result, the amount of data exchanged within systems is on the rise.

このようなデータ処理量の増大に対する解決手段の一つとして、国際公開第2013/137023号(特許文献1)は、複数の通信ラインを含む構成において、装置間のデータ更新をより適切に行うことができる構成を開示する。 As one solution to this increasing data processing volume, International Publication No. 2013/137023 (Patent Document 1) discloses a configuration that allows for more appropriate data updates between devices in a configuration including multiple communication lines.

複数のネットワークを用いて複数のコントローラを接続してネットワーク分散制御システムを構成する場合には、ネットワーク間のデータ転送を担当するゲートウェイである中継ユニットが用いられる。このようなゲートウェイを介して制御装置間のデータ交換を実現する。 When multiple controllers are connected using multiple networks to form a network distributed control system, a relay unit is used as a gateway responsible for transferring data between networks. Data exchange between control devices is achieved via such a gateway.

国際公開第2013/137023号International Publication No. 2013/137023

ある制御装置で他の制御装置から受信したデータを用いた処理を実行する場合や、ある制御装置から他の制御装置へデータを送信する処理を実行する場合においては、対象のデータが適切に転送されたことを確認することが好ましい。本発明は、転送されるデータを用いた処理をより確実に実行できる仕組みを提供する。 When a control device executes processing using data received from another control device, or when a control device executes processing that transmits data to another control device, it is preferable to confirm that the target data has been transferred properly. The present invention provides a mechanism that enables processing using transferred data to be executed more reliably.

本発明の一例に従う制御システムは、第1制御装置および第2制御装置と、第1伝送路を介して第1制御装置と接続されるとともに、第2伝送路を介して第1制御装置と接続された中継装置とを含む。中継装置は、第1制御装置から送信されたデータを第2制御装置へ転送する処理と、第2制御装置から送信されたデータを第1制御装置へ転送する処理とを実行可能に構成されている。第1制御装置は、第2制御装置へ送信するデータ、および、第2制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第1付加情報を生成する処理を実行可能に構成されている。第2制御装置は、第1制御装置へ送信するデータ、および、第1制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第2付加情報を生成する処理を実行可能に構成されている。 A control system according to one example of the present invention includes a first control device, a second control device, and a relay device connected to the first control device via a first transmission path and connected to the first control device via a second transmission path. The relay device is configured to be able to execute a process of transferring data transmitted from the first control device to the second control device and a process of transferring data transmitted from the second control device to the first control device. The first control device is configured to be able to execute a process of generating first additional information indicating the validity of at least one of the data transfers, data transmitted to the second control device and data received from the second control device. The second control device is configured to be able to execute a process of generating second additional information indicating the validity of at least one of the data transfers, data transmitted to the first control device and data received from the first control device.

この構成によれば、第1制御装置および第2制御装置の各々は、データ転送に係る正当性を示す付加情報を生成するので、第1制御装置および第2制御装置の各々において、転送されるデータを用いた処理をより確実に実行できる仕組みを提供する。例えば、転送されるデータの正当性が確認できない場合には、当該データを用いた処理を実行しない(スキップする)ようなプログラムを容易に記述できる。 With this configuration, the first control device and the second control device each generate additional information indicating the legitimacy of the data transfer, providing a mechanism that allows each of the first control device and the second control device to more reliably execute processing using the transferred data. For example, if the legitimacy of the transferred data cannot be confirmed, it is easy to write a program that does not execute (skips) processing using that data.

第1制御装置で実行される第1ユーザプログラムから第1付加情報を利用可能であってもよい。第2制御装置で実行される第2ユーザプログラムから第2付加情報を利用可能であってもよい。この構成によれば、データの正当性を確認した上で、制御演算を実現するためのユーザプログラムを実行できる。 The first additional information may be available from a first user program executed by a first control device. The second additional information may be available from a second user program executed by a second control device. With this configuration, the validity of the data can be confirmed before the user program for implementing the control calculation can be executed.

第1ユーザプログラムにおいて予め定められた変数を指定することで、第1付加情報を利用可能であってもよい。第2ユーザプログラムにおいて予め定められた変数を指定することで、第2付加情報を利用可能であってもよい。この構成によれば、ユーザプログラムにおいて、変数を指定することで、データの正当性を確認する処理を実現できる。 The first additional information may be made available by specifying a predetermined variable in the first user program. The second additional information may be made available by specifying a predetermined variable in the second user program. With this configuration, the process of verifying the validity of data can be realized by specifying a variable in the user program.

第1制御装置は、第1伝送路を介してデータを送受信する処理に異常を検出すると、中継装置に異常検出を通知するようにしてもよい。この構成によれば、第1制御装置が検出した異常を中継装置を介して他の装置へ通知できる。 When the first control device detects an abnormality in the process of sending and receiving data via the first transmission path, it may notify the relay device of the detected abnormality. With this configuration, the first control device can notify other devices of the detected abnormality via the relay device.

第2制御装置は、第2伝送路を介してデータを送受信する処理に異常を検出すると、中継装置に異常検出を通知するようにしてもよい。この構成によれば、第2制御装置が検出した異常を中継装置を介して他の装置へ通知できる。 If the second control device detects an abnormality in the process of sending and receiving data via the second transmission path, it may notify the relay device of the detected abnormality. With this configuration, the second control device can notify other devices of the detected abnormality via the relay device.

中継装置は、第1伝送路を介してデータを送受信する処理に異常を検出すると、第2制御装置に異常検出を通知し、第2伝送路を介してデータを送受信する処理に異常を検出すると、第1制御装置に異常検出を通知するようにしてもよい。この構成によれば、一方の伝送路に関して中継装置が検出した異常を他方の伝送路に接続された制御装置へ通知できる。 If the relay device detects an abnormality in the process of sending and receiving data via the first transmission path, it may notify the second control device of the abnormality detection, and if it detects an abnormality in the process of sending and receiving data via the second transmission path, it may notify the first control device of the abnormality detection. With this configuration, an abnormality detected by the relay device regarding one transmission path can be notified to the control device connected to the other transmission path.

中継装置は、第1制御装置から異常検出の通知を受信すると、当該通知を第2制御装置へ転送し、第2制御装置から異常検出の通知を受信すると、当該通知を第1制御装置へ転送するようにしてもよい。この構成によれば、中継装置が一方の伝送路に接続された制御装置が検出した異常を他方の伝送路に接続された制御装置へ通知できる。 When the relay device receives a notification of abnormality detection from the first control device, it may forward the notification to the second control device, and when it receives a notification of abnormality detection from the second control device, it may forward the notification to the first control device. With this configuration, the relay device can notify the control device connected to one transmission path of an abnormality detected by the control device connected to the other transmission path.

第1制御装置は、他の装置から異常検出の通知を受信すると、第1付加情報を正当ではない状態を示す値に更新するようにしてもよい。この構成によれば、自装置が検出した異常だけではなく、他の装置から受信した異常検知の通知を第1付加情報に反映できる。 When the first control device receives a notification of abnormality detection from another device, it may update the first additional information to a value indicating an invalid state. With this configuration, not only the abnormality detected by the first control device itself but also the abnormality detection notification received from another device can be reflected in the first additional information.

第2制御装置は、他の装置から異常検出の通知を受信すると、第2付加情報を正当ではない状態を示す値に更新するようにしてもよい。この構成によれば、自装置が検出した異常だけではなく、他の装置から受信した異常検知の通知を第2付加情報に反映できる。 When the second control device receives a notification of abnormality detection from another device, it may update the second additional information to a value indicating an invalid state. With this configuration, not only the abnormality detected by the second control device itself but also the abnormality detection notification received from another device can be reflected in the second additional information.

本発明の別の一例に従えば、中継装置を介して他の制御装置と接続された制御装置が提供される。中継装置は、制御装置から送信されたデータを他の制御装置へ転送する処理と、他の制御装置から送信されたデータを制御装置へ転送する処理とを実行可能に構成されている。制御装置は、他の制御装置へ送信するデータ、および、他の制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す付加情報を生成する処理を実行可能に構成されている。 According to another example of the present invention, a control device is provided that is connected to another control device via a relay device. The relay device is configured to be able to execute a process of transferring data transmitted from the control device to the other control device and a process of transferring data transmitted from the other control device to the control device. The control device is configured to be able to execute a process of generating additional information indicating the validity of the data transfer for at least one of the data to be transmitted to the other control device and the data received from the other control device.

本発明のさらに別の一例に従えば、第1制御装置および第2制御装置と、第1伝送路を介して第1制御装置と接続されるとともに、第2伝送路を介して第1制御装置と接続された中継装置とを備えた制御システムにおける通信方法が提供される。通信方法は、中継装置が第1制御装置から送信されたデータを第2制御装置へ転送するステップと、中継装置が第2制御装置から送信されたデータを第1制御装置へ転送するステップと、第1制御装置が、第2制御装置へ送信するデータ、および、第2制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第1付加情報を生成するステップと、第2制御装置が、第1制御装置へ送信するデータ、および、第1制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第2付加情報を生成するステップとを含む。 According to yet another example of the present invention, there is provided a communication method for a control system including a first control device, a second control device, and a relay device connected to the first control device via a first transmission path and connected to the first control device via a second transmission path. The communication method includes the steps of: the relay device forwarding data transmitted from the first control device to the second control device; the relay device forwarding data transmitted from the second control device to the first control device; the first control device generating first additional information indicating the validity of the data transfer of at least one of the data to be transmitted to the second control device and the data received from the second control device; and the second control device generating second additional information indicating the validity of the data transfer of at least one of the data to be transmitted to the first control device and the data received from the first control device.

本発明によれば、データ転送に係る正当性を確認および監視できるので、制御装置は、転送されるデータを用いた処理をより確実に実行できる。 This invention allows the validity of data transfer to be confirmed and monitored, allowing the control device to more reliably execute processing using the transferred data.

本実施の形態に従う制御システムの全体構成例を示す模式図である。1 is a schematic diagram showing an example of the overall configuration of a control system according to the present embodiment; 本実施の形態に従う第1装置の第1演算ユニットのハードウェア構成例を示すブロック図である。FIG. 2 is a block diagram showing an example of a hardware configuration of a first arithmetic unit of a first device according to the present embodiment. 本実施の形態に従う第2装置の第2演算ユニットのハードウェア構成例を示すブロック図である。FIG. 10 is a block diagram showing an example of a hardware configuration of a second arithmetic unit of a second device according to the present embodiment. 本実施の形態に従う第2装置の中継ユニットのハードウェア構成例を示すブロック図である。FIG. 10 is a block diagram showing an example of a hardware configuration of a relay unit of a second device according to the present embodiment. 本実施の形態に従う制御システムにおけるデータ転送の概要を示す模式図である。FIG. 2 is a schematic diagram showing an overview of data transfer in the control system according to the present embodiment. 本実施の形態に従う制御システムにおける正当性を示す付加情報を提供するための処理例を示す図である。FIG. 10 is a diagram showing an example of a process for providing additional information indicating validity in the control system according to the present embodiment. 本実施の形態に従う制御システムにおける正当性を示す付加情報を提供するための別の処理例を示す図である。FIG. 10 is a diagram showing another example of processing for providing additional information indicating validity in the control system according to the present embodiment. 本実施の形態に従う制御システムにおける正当性を示す付加情報を提供するためのさらに別の処理例を示す図である。FIG. 10 is a diagram showing yet another example of processing for providing additional information indicating validity in the control system according to the present embodiment. 本実施の形態に従う制御システムにおける正当性を示す付加情報を提供するためのさらに別の処理例を示す図である。FIG. 10 is a diagram showing yet another example of processing for providing additional information indicating validity in the control system according to the present embodiment. 本実施の形態に従う第1演算ユニットによる正当性を示す付加情報を提供するための処理手順例を示すフローチャートである。10 is a flowchart illustrating an example of a processing procedure for providing additional information indicating validity by the first arithmetic unit according to the present embodiment. 本実施の形態に従う第2演算ユニットによる正当性を示す付加情報を提供するための処理手順例を示すフローチャートである。10 is a flowchart illustrating an example of a processing procedure for providing additional information indicating validity by the second arithmetic unit according to the present embodiment. 本実施の形態に従う中継ユニットによる正当性を示す付加情報を提供するための処理手順例を示すフローチャートである。10 is a flowchart illustrating an example of a processing procedure for providing additional information indicating validity by the relay unit according to the present embodiment. 本実施の形態に従う制御システムにおける正当性を示す付加情報を利用する場合の処理例を示す模式図である。FIG. 10 is a schematic diagram showing an example of processing when additional information indicating validity is used in the control system according to the present embodiment.

本発明の実施の形態について、図面を参照しながら詳細に説明する。なお、図中の同一または相当部分については、同一符号を付してその説明は繰り返さない。 Embodiments of the present invention will be described in detail with reference to the drawings. Note that identical or equivalent parts in the drawings will be designated by the same reference numerals and their description will not be repeated.

<A.全体構成例>
次に、本実施の形態に従う制御システム1の全体構成例について説明する。
<A. Overall configuration example>
Next, an example of the overall configuration of control system 1 according to the present embodiment will be described.

図1は、本実施の形態に従う制御システム1の全体構成例を示す模式図である。図1を参照して、制御システム1は、第1装置10と、1または複数の第2装置20とを含む。第1装置および第2装置は、PLC(プログラマブルロジックコントローラ)などの一種のコンピュータであってもよい。 Figure 1 is a schematic diagram showing an example of the overall configuration of a control system 1 according to this embodiment. Referring to Figure 1, the control system 1 includes a first device 10 and one or more second devices 20. The first device and the second device may be a type of computer, such as a PLC (programmable logic controller).

第1装置10と、1または複数の第2装置20とは、フィールドネットワーク4を介して接続されている。フィールドネットワーク4は、サイクリック通信およびメッセージ通信をサポートしている。フィールドネットワーク4としては、例えば、EtherCAT(登録商標)、EtherNet/IP(登録商標)、PROFINET(登録商標)、PROFIBUS(登録商標)、DeviceNet(登録商標)、FL-net、CompoNet(登録商標)などを用いてもよい。 The first device 10 and one or more second devices 20 are connected via a field network 4. The field network 4 supports cyclic communication and message communication. The field network 4 may be, for example, EtherCAT (registered trademark), EtherNet/IP (registered trademark), PROFINET (registered trademark), PROFIBUS (registered trademark), DeviceNet (registered trademark), FL-net, CompoNet (registered trademark), or the like.

第1装置10は、制御演算を実行する第1演算ユニット100(第1制御装置の一例)を含む。第1演算ユニット100は、フィールドネットワーク4によるデータ通信が可能になっている。第1装置10は、電源ユニット、I/Oユニット、特殊ユニットなどをさらに有してもよい。 The first device 10 includes a first calculation unit 100 (an example of a first control device) that performs control calculations. The first calculation unit 100 is capable of data communication via the field network 4. The first device 10 may further include a power supply unit, an I/O unit, a special unit, etc.

第2装置20は、制御演算を実行する第2演算ユニット200(第2制御装置の一例)と、フィールドネットワーク4に接続するためのインターフェイスを有する中継ユニット250(中継装置の一例)とを含む。第2装置20は、電源ユニット、I/Oユニット、特殊ユニットなどをさらに有してもよい。 The second device 20 includes a second calculation unit 200 (an example of a second control device) that executes control calculations, and a relay unit 250 (an example of a relay device) that has an interface for connecting to the field network 4. The second device 20 may further include a power supply unit, an I/O unit, a special unit, etc.

第2演算ユニット200と中継ユニット250とは、内部バス6(図3および図4参照)を介して接続されている。なお、第2装置20がI/Oユニットおよび/または特殊ユニットを含む場合には、当該ユニットも内部バス6を介して接続される。 The second calculation unit 200 and the relay unit 250 are connected via an internal bus 6 (see Figures 3 and 4). If the second device 20 includes an I/O unit and/or a special unit, these units are also connected via the internal bus 6.

中継ユニット250は、第1演算ユニット100と第2演算ユニット200との間で互いにデータを転送するためのゲートウェイである。より具体的には、中継ユニット250は、第1演算ユニット100から送信されるデータを第2演算ユニット200が参照できるように転送するとともに、第2演算ユニット200が出力するデータを第1演算ユニット100が参照できるように転送する。 The relay unit 250 is a gateway for transferring data between the first calculation unit 100 and the second calculation unit 200. More specifically, the relay unit 250 transfers data sent from the first calculation unit 100 so that the second calculation unit 200 can refer to it, and also transfers data output by the second calculation unit 200 so that the first calculation unit 100 can refer to it.

制御システム1は、第1装置10および/または第2装置20で実行されるプログラムや設定などを作成および変更するためのサポート装置300を含んでいてもよい。サポート装置300は、第2装置20の第2演算ユニット200に接続されてもよいし、第1装置10の第1演算ユニット100に接続されてもよい。 The control system 1 may include a support device 300 for creating and changing programs, settings, etc. executed by the first device 10 and/or the second device 20. The support device 300 may be connected to the second computing unit 200 of the second device 20, or to the first computing unit 100 of the first device 10.

<B.ハードウェア構成例>
次に、本実施の形態に従う制御システム1の主要な装置のハードウェア構成例について説明する。
<B. Hardware Configuration Example>
Next, an example of the hardware configuration of main devices in the control system 1 according to the present embodiment will be described.

(b1:第1演算ユニット100)
図2は、本実施の形態に従う第1装置10の第1演算ユニット100のハードウェア構成例を示すブロック図である。図2を参照して、第1演算ユニット100は、CPU(Central Processing Unit)やMPU(Micro-Processing Unit)などのプロセッサ102と、チップセット104と、メモリ106と、ストレージ108と、上位ネットワークインターフェイス110と、USB(Universal Serial Bus)インターフェイス112と、メモリカードインターフェイス114と、フィールドネットワークインターフェイス120とを含む。
(b1: first arithmetic unit 100)
2 is a block diagram showing an example of a hardware configuration of first arithmetic unit 100 of first apparatus 10 according to the present embodiment. Referring to Fig. 2, first arithmetic unit 100 includes a processor 102 such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit), a chipset 104, a memory 106, a storage 108, a host network interface 110, a USB (Universal Serial Bus) interface 112, a memory card interface 114, and a field network interface 120.

プロセッサ102は、ストレージ108に格納された各種プログラムを読み出して、メモリ106に展開して実行することで、第1演算ユニット100で必要な処理を実現する。チップセット104は、プロセッサ102と各コンポーネントとの間のデータ通信などを制御する。 The processor 102 reads various programs stored in the storage 108, expands them into the memory 106, and executes them to perform the necessary processing in the first computing unit 100. The chipset 104 controls data communication between the processor 102 and each component.

ストレージ108には、典型的には、システムプログラム131と、制御演算に必要なコンピュータ読み取り可能なコードを含むユーザプログラム132とが格納される。 Storage 108 typically stores a system program 131 and a user program 132 containing computer-readable code required for control calculations.

ストレージ108に格納されたプログラムが実行されることで、コンピュータである第1演算ユニット100に本明細書に記載された処理を実行させるとともに、コンピュータである第1演算ユニット100において本明細書に記載された機能構成を実現させる。 Execution of the program stored in storage 108 causes the first computing unit 100, which is a computer, to execute the processing described in this specification and realizes the functional configuration described in this specification in the first computing unit 100, which is a computer.

上位ネットワークインターフェイス110は、上位ネットワークを介した他の装置との間のデータ通信を制御する。USBインターフェイス112は、USB接続を介してサポート装置との間のデータ通信を制御する。 The upper network interface 110 controls data communication with other devices via an upper network. The USB interface 112 controls data communication with a support device via a USB connection.

メモリカードインターフェイス114は、メモリカード116を着脱可能に構成されており、メモリカード116に対してデータを書き込み、メモリカード116から各種データ(ユーザプログラムやトレースデータなど)を読み出すことが可能になっている。 The memory card interface 114 is configured to allow a memory card 116 to be attached and detached, and is capable of writing data to the memory card 116 and reading various data (user programs, trace data, etc.) from the memory card 116.

フィールドネットワークインターフェイス120は、フィールドネットワーク4を介した第2装置20との間のデータ通信を制御する。 The field network interface 120 controls data communication with the second device 20 via the field network 4.

(b2:第2演算ユニット200)
図3は、本実施の形態に従う第2装置20の第2演算ユニット200のハードウェア構成例を示すブロック図である。図3を参照して、第2演算ユニット200は、CPUやMPUなどのプロセッサ202と、チップセット204と、メモリ206と、ストレージ208と、上位ネットワークインターフェイス210と、USBインターフェイス212と、メモリカードインターフェイス214と、内部バスインターフェイス220とを含む。
(b2: second arithmetic unit 200)
3 is a block diagram showing an example of a hardware configuration of second arithmetic unit 200 of second device 20 according to the present embodiment. Referring to Fig. 3, second arithmetic unit 200 includes a processor 202 such as a CPU or an MPU, a chipset 204, a memory 206, a storage 208, a host network interface 210, a USB interface 212, a memory card interface 214, and an internal bus interface 220.

プロセッサ202は、ストレージ208に格納された各種プログラムを読み出して、メモリ206に展開して実行することで、第2演算ユニット200で必要な処理を実現する。チップセット204は、プロセッサ202と各コンポーネントとの間のデータ通信などを制御する。 The processor 202 reads various programs stored in the storage 208, expands them into the memory 206, and executes them to perform the necessary processing in the second computing unit 200. The chipset 204 controls data communication between the processor 202 and each component.

ストレージ208には、典型的には、システムプログラム231と、制御演算に必要なコンピュータ読み取り可能なコードを含むユーザプログラム232とが格納される。 Storage 208 typically stores a system program 231 and a user program 232 containing computer-readable code required for control calculations.

ストレージ208に格納されたプログラムが実行されることで、コンピュータである第2演算ユニット200に本明細書に記載された処理を実行させるとともに、コンピュータである第2演算ユニット200において本明細書に記載された機能構成を実現させる。 Execution of the program stored in storage 208 causes the second calculation unit 200, which is a computer, to execute the processing described in this specification and realizes the functional configuration described in this specification in the second calculation unit 200, which is a computer.

上位ネットワークインターフェイス210は、上位ネットワークを介した他の装置との間のデータ通信を制御する。USBインターフェイス212は、USB接続を介してサポート装置との間のデータ通信を制御する。 The upper network interface 210 controls data communication with other devices via an upper network. The USB interface 212 controls data communication with a support device via a USB connection.

メモリカードインターフェイス214は、メモリカード216を着脱可能に構成されており、メモリカード216に対してデータを書き込み、メモリカード216から各種データ(ユーザプログラムやトレースデータなど)を読み出すことが可能になっている。 The memory card interface 214 is configured to allow a memory card 216 to be attached and detached, and is capable of writing data to the memory card 216 and reading various data (user programs, trace data, etc.) from the memory card 216.

内部バスインターフェイス220は、内部バス6を介した1または複数のユニット(中継ユニット250を含む)との間のデータ通信を制御する。 The internal bus interface 220 controls data communication with one or more units (including the relay unit 250) via the internal bus 6.

内部バス6は、フィールドネットワーク4と同様に、サイクリック通信およびメッセージ通信をサポートしている。内部バス6としては、メーカ専用の通信方式を採用してもよいし、例えば、EtherCAT(登録商標)、EtherNet/IP(登録商標)、PROFINET(登録商標)、PROFIBUS(登録商標)、DeviceNet(登録商標)、FL-net、CompoNet(登録商標)などを用いてもよい。 The internal bus 6, like the field network 4, supports cyclic communication and message communication. The internal bus 6 may use a communication method proprietary to the manufacturer, or may use a standard such as EtherCAT (registered trademark), EtherNet/IP (registered trademark), PROFINET (registered trademark), PROFIBUS (registered trademark), DeviceNet (registered trademark), FL-net, or CompoNet (registered trademark).

(b3:中継ユニット250)
図4は、本実施の形態に従う第2装置20の中継ユニット250のハードウェア構成例を示すブロック図である。図4を参照して、中継ユニット250は、処理回路260と、フィールドネットワークインターフェイス270と、内部バスインターフェイス280とを含む。
(b3: relay unit 250)
4 is a block diagram showing an example of a hardware configuration of relay unit 250 of second device 20 according to the present embodiment. Referring to FIG. 4, relay unit 250 includes a processing circuit 260, a field network interface 270, and an internal bus interface 280.

処理回路260は、後述するような中継ユニット250の処理および機能を実現する。より具体的には、処理回路260は、プロセッサ262と、メモリ264と、ストレージ266とを含む。プロセッサ262は、ストレージ266に格納されたシステムプログラム(ファームウェア)を読み出して、メモリ264に展開して実行することで、中継ユニット250で必要な処理を実現する。 The processing circuitry 260 implements the processing and functions of the relay unit 250, as described below. More specifically, the processing circuitry 260 includes a processor 262, memory 264, and storage 266. The processor 262 reads out the system program (firmware) stored in the storage 266, expands it into the memory 264, and executes it, thereby implementing the processing required by the relay unit 250.

フィールドネットワークインターフェイス270は、フィールドネットワーク4を介した第1演算ユニット100との間のデータ通信を制御する。 The field network interface 270 controls data communication with the first computing unit 100 via the field network 4.

内部バスインターフェイス280は、内部バス6を介した1または複数のユニット(第2演算ユニット200を含む)との間のデータ通信を制御する。 The internal bus interface 280 controls data communication with one or more units (including the second calculation unit 200) via the internal bus 6.

(b4:その他の構成)
図2~図4には、プロセッサがプログラムを実行することで必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードウェア回路(例えば、ASIC(Application Specific Integrated Circuit)またはFPGA(Field-Programmable Gate Array)など)を用いて実装してもよい。
(b4: Other configurations)
2 to 4 show configuration examples in which the necessary functions are provided by the processor executing a program, but some or all of these provided functions may be implemented using dedicated hardware circuits (e.g., an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array)).

本明細書において、「プロセッサ」は、ストアードプログラム方式で処理を実行する狭義のプロセッサに限られず、ASICやFPGAなどのハードワイヤード回路を含み得る。そのため、「プロセッサ」との用語は、コンピュータ読み取り可能なコードおよび/またはハードワイヤード回路によって予め処理が定義されている、処理回路(processing circuitry)と読み替えることもできる。 In this specification, the term "processor" is not limited to a processor in the narrow sense that executes processing using a stored program, but may also include hardwired circuits such as ASICs and FPGAs. Therefore, the term "processor" can also be interpreted as processing circuitry whose processing is predefined by computer-readable code and/or hardwired circuits.

演算ユニットの主要部は、汎用的なアーキテクチャに従うハードウェア(例えば、汎用パソコンをベースとした産業用パソコン)を用いて実現してもよい。この場合には、仮想化技術を用いて、用途の異なる複数のOS(Operating System)を並列的に実行させるとともに、各OS上で必要なアプリケーションを実行させるようにしてもよい。 The main part of the computing unit may be implemented using hardware that follows a general-purpose architecture (for example, an industrial PC based on a general-purpose PC). In this case, virtualization technology may be used to run multiple operating systems (OS) for different purposes in parallel, and the necessary applications may be run on each OS.

(b5:サポート装置300)
本実施の形態に従うサポート装置300は、一例として、汎用的なアーキテクチャに従う汎用コンピュータなどで構成される。汎用コンピュータのハードウェア構成例は公知であるので、詳細な説明は行わない。
(b5: support device 300)
The support device 300 according to the present embodiment is configured, for example, by a general-purpose computer that conforms to a general-purpose architecture. Since examples of the hardware configuration of a general-purpose computer are well known, detailed description thereof will not be given.

<C.データ転送>
次に、本実施の形態に従う制御システム1のデータ転送に係る処理について説明する。
C. Data Transfer
Next, a process relating to data transfer in control system 1 according to the present embodiment will be described.

図5は、本実施の形態に従う制御システム1におけるデータ転送の概要を示す模式図である。図5には、第1演算ユニット100と第2演算ユニット200との間のデータの送信例を示す。 Figure 5 is a schematic diagram showing an overview of data transfer in the control system 1 according to this embodiment. Figure 5 shows an example of data transmission between the first calculation unit 100 and the second calculation unit 200.

図5を参照して、第1演算ユニット100と第2演算ユニット200との間には、ゲートウェイとして、中継ユニット250が配置されている。中継ユニット250は、第1伝送路の一例であるフィールドネットワーク4を介して第1演算ユニット100と接続されるとともに、第2伝送路の一例である内部バス6を介して第2演算ユニット200と接続されている。 Referring to FIG. 5, a relay unit 250 is disposed as a gateway between the first calculation unit 100 and the second calculation unit 200. The relay unit 250 is connected to the first calculation unit 100 via a field network 4, which is an example of a first transmission path, and is connected to the second calculation unit 200 via an internal bus 6, which is an example of a second transmission path.

第1演算ユニット100の出力データが中継ユニット250を介して第2演算ユニット200へ送信される場合と、第2演算ユニット200の出力データが中継ユニット250を介して第1演算ユニット100へ送信される場合とが想定される。 It is assumed that the output data of the first calculation unit 100 is transmitted to the second calculation unit 200 via the relay unit 250, and that the output data of the second calculation unit 200 is transmitted to the first calculation unit 100 via the relay unit 250.

第1演算ユニット100から送信されたデータ(出力データ)は、中継ユニット250へ送信される。中継ユニット250は、第1演算ユニット100の出力データとして受信したデータを、第2演算ユニット200の入力データとして、第2演算ユニット200へ送信する。 Data (output data) sent from the first arithmetic unit 100 is sent to the relay unit 250. The relay unit 250 transmits the data received as output data from the first arithmetic unit 100 to the second arithmetic unit 200 as input data for the second arithmetic unit 200.

一方、第2演算ユニット200から送信されたデータ(出力データ)は、中継ユニット250へ送信される。中継ユニット250は、第2演算ユニット200の出力データとして受信したデータを、第1演算ユニット100の入力データとして、第1演算ユニット100へ送信する。 On the other hand, the data (output data) sent from the second arithmetic unit 200 is sent to the relay unit 250. The relay unit 250 transmits the data received as output data from the second arithmetic unit 200 to the first arithmetic unit 100 as input data for the first arithmetic unit 100.

このように、中継ユニット250は、第1演算ユニット100と第2演算ユニット200との間でデータを転送する。すなわち、中継ユニット250は、第1演算ユニット100から送信されたデータを第2演算ユニット200へ転送する処理と、第2演算ユニット200から送信されたデータを第1演算ユニット100へ転送する処理とを実行する。 In this way, the relay unit 250 transfers data between the first calculation unit 100 and the second calculation unit 200. That is, the relay unit 250 performs the process of transferring data transmitted from the first calculation unit 100 to the second calculation unit 200, and the process of transferring data transmitted from the second calculation unit 200 to the first calculation unit 100.

本実施の形態に従う制御システム1は、データ転送に係る正当性を確認および監視できる仕組みを有している。本明細書において、「データ転送に係る正当性」は、対象のデータが適切に転送されたこと、および/または、送受信する予定のデータが適切に転送され得る状態であることを示す情報を意味する。 The control system 1 according to this embodiment has a mechanism for confirming and monitoring the legitimacy of data transfer. In this specification, "legality of data transfer" refers to information indicating that the target data has been transferred appropriately and/or that the data to be sent or received is in a state where it can be transferred appropriately.

より具体的には、第1演算ユニット100は、第2演算ユニット200へ送信するデータ、および、第2演算ユニット200から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す付加情報を生成する処理を実行する。これによって、第1演算ユニット100で実行されるユーザプログラム132から、第1演算ユニット100から第2演算ユニット200へ送信する出力データの正当性を示す付加情報、および、第1演算ユニット100が第2演算ユニット200から受信する入力データの正当性を示す付加情報を利用できる。 More specifically, the first computing unit 100 executes a process to generate additional information indicating the validity of at least one of the data transfers: data to be sent to the second computing unit 200 and data received from the second computing unit 200. This allows the user program 132 executed by the first computing unit 100 to use additional information indicating the validity of the output data sent from the first computing unit 100 to the second computing unit 200, and additional information indicating the validity of the input data received by the first computing unit 100 from the second computing unit 200.

同様に、第2演算ユニット200は、第1演算ユニット100へ送信するデータ、および、第1演算ユニット100から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す付加情報を生成する処理を実行する。これによって、第2演算ユニット200で実行されるユーザプログラム232から、第2演算ユニット200から第1演算ユニット100へ送信する出力データの正当性を示す付加情報、および、第2演算ユニット200が第1演算ユニット100から受信する入力データの正当性を示す付加情報を利用できる。 Similarly, the second arithmetic unit 200 executes a process to generate additional information indicating the validity of at least one of the data transfers: data to be sent to the first arithmetic unit 100 and data received from the first arithmetic unit 100. This allows the user program 232 executed by the second arithmetic unit 200 to use additional information indicating the validity of the output data sent from the second arithmetic unit 200 to the first arithmetic unit 100, and additional information indicating the validity of the input data received by the second arithmetic unit 200 from the first arithmetic unit 100.

本明細書において、「データ転送に係る正当性を示す付加情報」は、例えば、対象のデータが適切に転送されたか否か(および/または、送受信する予定のデータが適切に転送され得る状態であるか否か)に応じて、値を異ならせる情報であってもよい。転送経路において何らかの異常が発生すると、正当性を示す付加情報は、対応するデータが正当ではない状態を示す値に設定される。なお、以下では、「正当性を示す付加情報」を単に「付加情報」と略称することもある。 In this specification, "additional information indicating the legitimacy of data transfer" may be information whose value varies depending on whether the target data was transferred appropriately (and/or whether the data to be sent or received is in a state where it can be transferred appropriately). If an abnormality occurs in the transfer path, the additional information indicating legitimacy is set to a value indicating that the corresponding data is invalid. Note that, hereinafter, "additional information indicating legitimacy" may be abbreviated to simply "additional information."

付加情報は、例えば、第1演算ユニット100および第2演算ユニット200の各々が管理するデバイス変数やシステム変数に割り付けられてもよい。すなわち、対象のデバイス変数やシステム変数が示す値に基づいて、対応するデータが正当であるか否かを監視できるようにしてもよい。なお、デバイス変数やシステム変数は、データオブジェクトのメンバ変数であってもよい。 The additional information may be assigned, for example, to device variables or system variables managed by each of the first computing unit 100 and the second computing unit 200. In other words, it may be possible to monitor whether the corresponding data is valid based on the value indicated by the target device variable or system variable. Note that the device variable or system variable may be a member variable of a data object.

<D.正当性を示す付加情報の提供>
次に、第1演算ユニット100および第2演算ユニット200において、正当性を示す付加情報を提供するための処理について説明する。以下、正当性を示す付加情報を提供するための処理例について説明する。
<D. Providing additional justification>
Next, a description will be given of a process for providing additional information indicating validity in the first arithmetic unit 100 and the second arithmetic unit 200. An example of a process for providing additional information indicating validity will be described below.

以下の説明においては、正当性を示す付加情報として、第1演算ユニット100が管理する入力データ用付加情報401および出力データ用付加情報402と、第2演算ユニット200が管理する入力データ用付加情報411および出力データ用付加情報412とを例示する。なお、入力データ用付加情報401と出力データ用付加情報402とを区別することなく、共通の付加情報としてもよい。同様に、入力データ用付加情報411と出力データ用付加情報412とを区別することなく、共通の付加情報としてもよい。 In the following explanation, additional information indicating validity will be exemplified by additional information for input data 401 and additional information for output data 402 managed by the first processing unit 100, and additional information for input data 411 and additional information for output data 412 managed by the second processing unit 200. Note that additional information for input data 401 and additional information for output data 402 may be treated as common additional information without being distinguished. Similarly, additional information for input data 411 and additional information for output data 412 may be treated as common additional information without being distinguished.

図6は、本実施の形態に従う制御システム1における正当性を示す付加情報を提供するための処理例を示す図である。図6には、第2演算ユニット200が内部バス6を介してデータを送受信する処理に何らかの異常を検出した場合の処理例を示す。例えば、第2演算ユニット200の内部バスインターフェイス220(図3)によるデータの送受信に何らかの異常が発生した場合が挙げられる。 Figure 6 shows an example of processing for providing additional information indicating validity in the control system 1 according to this embodiment. Figure 6 shows an example of processing when the second arithmetic unit 200 detects some kind of abnormality in the processing of sending and receiving data via the internal bus 6. For example, this may be the case when some kind of abnormality occurs in the sending and receiving of data by the internal bus interface 220 (Figure 3) of the second arithmetic unit 200.

図6を参照して、まず、第2演算ユニット200が内部バス6を介してデータを送受信する処理に何らかの異常を検出する((1)異常検出)。すると、第2演算ユニット200は、入力データ用付加情報411および出力データ用付加情報412をそれぞれ正当ではない状態を示す値に更新する((2),(3)更新)。 Referring to FIG. 6, first, the second arithmetic unit 200 detects some kind of abnormality in the process of sending and receiving data via the internal bus 6 ((1) Abnormality Detection). Then, the second arithmetic unit 200 updates the input data additional information 411 and the output data additional information 412 to values indicating an invalid state ((2) and (3) Update).

この場合において、中継ユニット250は、第2演算ユニット200からの異常検出の通知を受信すると、または、自ユニット単体で内部バス6を介してデータを送受信する処理に何らかの異常を検出すると((4)異常検出)、第1演算ユニット100に異常検出を通知する((5)通知)。 In this case, when the relay unit 250 receives notification of an abnormality detection from the second calculation unit 200, or when it detects an abnormality in the process of sending and receiving data via the internal bus 6 by itself ((4) Abnormality Detection), it notifies the first calculation unit 100 of the abnormality detection ((5) Notification).

第1演算ユニット100は、中継ユニット250からの異常検出の通知を受信すると、入力データ用付加情報401および出力データ用付加情報402をそれぞれ正当ではない状態を示す値に更新する((6),(7)更新)。 When the first calculation unit 100 receives notification of abnormality detection from the relay unit 250, it updates the input data additional information 401 and the output data additional information 402 to values indicating an invalid state (updates (6) and (7)).

以上のように、第2演算ユニット200が内部バス6を介してデータを送受信する処理に何らかの異常を検出すると、第1演算ユニット100と第2演算ユニット200との間のデータ送受信ができないと判断されるので、正当ではない状態を示すように、付加情報が更新される。 As described above, if the second arithmetic unit 200 detects any abnormality in the process of sending and receiving data via the internal bus 6, it is determined that data cannot be sent and received between the first arithmetic unit 100 and the second arithmetic unit 200, and the additional information is updated to indicate an invalid state.

図7は、本実施の形態に従う制御システム1における正当性を示す付加情報を提供するための別の処理例を示す図である。図7には、中継ユニット250が内部バス6を介してデータを送受信する処理に何らかの異常を検出した場合の処理例を示す。例えば、中継ユニット250の内部バスインターフェイス280(図4)によるデータの送受信に何らかの異常が発生した場合が挙げられる。 Figure 7 shows another example of processing for providing additional information indicating validity in the control system 1 according to this embodiment. Figure 7 shows an example of processing when the relay unit 250 detects some kind of abnormality in the processing of sending and receiving data via the internal bus 6. For example, this may be the case when some kind of abnormality occurs in the sending and receiving of data by the internal bus interface 280 (Figure 4) of the relay unit 250.

図7を参照して、まず、中継ユニット250は、内部バス6を介してデータを送受信する処理に何らかの異常を検出する((1)異常検出)。 Referring to Figure 7, first, the relay unit 250 detects some kind of abnormality in the process of sending and receiving data via the internal bus 6 ((1) Abnormality detection).

すると、中継ユニット250は、第2演算ユニット200に異常検出を通知する((2)通知)。第2演算ユニット200は、中継ユニット250からの異常検出の通知を受信すると、入力データ用付加情報411および出力データ用付加情報412をそれぞれ正当ではない状態を示す値に更新する((3),(4)更新)。 The relay unit 250 then notifies the second calculation unit 200 of the abnormality detection ((2) Notification). Upon receiving the abnormality detection notification from the relay unit 250, the second calculation unit 200 updates the input data additional information 411 and the output data additional information 412 to values indicating an invalid state ((3) Update, (4) Update).

また、中継ユニット250は、第1演算ユニット100に異常検出を通知する((5)通知)。第1演算ユニット100は、中継ユニット250からの異常検出の通知を受信すると、入力データ用付加情報411および出力データ用付加情報412をそれぞれ正当ではない状態を示す値に更新する((6),(7)更新)。 The relay unit 250 also notifies the first calculation unit 100 of the abnormality detection ((5) Notification). Upon receiving the abnormality detection notification from the relay unit 250, the first calculation unit 100 updates the input data additional information 411 and the output data additional information 412 to values indicating an invalid state ((6) Update, (7) Update).

以上のように、中継ユニット250が内部バス6を介してデータを送受信する処理に何らかの異常を検出すると、第1演算ユニット100と第2演算ユニット200との間のデータ送受信ができないと判断されるので、正当ではない状態を示すように、付加情報が更新される。 As described above, if the relay unit 250 detects any abnormality in the process of sending and receiving data via the internal bus 6, it determines that data cannot be sent and received between the first calculation unit 100 and the second calculation unit 200, and updates the additional information to indicate an invalid state.

図8は、本実施の形態に従う制御システム1における正当性を示す付加情報を提供するためのさらに別の処理例を示す図である。図8には、中継ユニット250がフィールドネットワーク4を介してデータを送受信する処理に何らかの異常を検出した場合の処理例を示す。例えば、中継ユニット250のフィールドネットワークインターフェイス270(図4)によるデータの送受信に何らかの異常が発生した場合が挙げられる。 Figure 8 shows yet another example of processing for providing additional information indicating validity in the control system 1 according to this embodiment. Figure 8 shows an example of processing when the relay unit 250 detects some kind of abnormality in the processing of sending and receiving data via the field network 4. For example, this may be the case when some kind of abnormality occurs in the sending and receiving of data by the field network interface 270 (Figure 4) of the relay unit 250.

図8を参照して、まず、中継ユニット250は、フィールドネットワーク4を介してデータを送受信する処理に何らかの異常を検出する((1)異常検出)。 Referring to Figure 8, first, the relay unit 250 detects some kind of abnormality in the process of sending and receiving data via the field network 4 ((1) Abnormality detection).

すると、中継ユニット250は、第1演算ユニット100に異常検出を通知する((2)通知)。第1演算ユニット100は、中継ユニット250からの異常検出の通知を受信すると、入力データ用付加情報401および出力データ用付加情報402をそれぞれ正当ではない状態を示す値に更新する((3),(4)更新)。 The relay unit 250 then notifies the first calculation unit 100 of the abnormality detection ((2) Notification). Upon receiving the abnormality detection notification from the relay unit 250, the first calculation unit 100 updates the input data additional information 401 and the output data additional information 402 to values indicating an invalid state ((3) Update, (4) Update).

また、中継ユニット250は、第2演算ユニット200に異常検出を通知する((5)通知)。第1演算ユニット100は、中継ユニット250からの異常検出の通知を受信すると、入力データ用付加情報411および出力データ用付加情報412をそれぞれ正当ではない状態を示す値に更新する((6),(7)更新)。 The relay unit 250 also notifies the second calculation unit 200 of the abnormality detection ((5) Notification). Upon receiving the abnormality detection notification from the relay unit 250, the first calculation unit 100 updates the input data additional information 411 and the output data additional information 412 to values indicating an invalid state ((6) Update, (7) Update).

以上のように、中継ユニット250がフィールドネットワーク4を介してデータを送受信する処理に何らかの異常を検出すると、第1演算ユニット100と第2演算ユニット200との間のデータ送受信ができないと判断されるので、正当ではない状態を示すように、付加情報が更新される。 As described above, if the relay unit 250 detects any abnormality in the process of sending and receiving data via the field network 4, it determines that data cannot be sent and received between the first calculation unit 100 and the second calculation unit 200, and updates the additional information to indicate an invalid state.

図9は、本実施の形態に従う制御システム1における正当性を示す付加情報を提供するためのさらに別の処理例を示す図である。図9には、第1演算ユニット100がフィールドネットワーク4を介してデータを送受信する処理に何らかの異常を検出した場合の処理例を示す。例えば、第1演算ユニット100のフィールドネットワークインターフェイス120(図2)によるデータの送受信に何らかの異常が発生した場合が挙げられる。 Figure 9 shows yet another example of processing for providing additional information indicating validity in the control system 1 according to this embodiment. Figure 9 shows an example of processing when the first computing unit 100 detects some kind of abnormality in the processing of sending and receiving data via the field network 4. For example, this may be the case when some kind of abnormality occurs in the sending and receiving of data by the field network interface 120 (Figure 2) of the first computing unit 100.

図9を参照して、まず、第1演算ユニット100がフィールドネットワーク4を介してデータを送受信する処理に何らかの異常を検出する((1)異常検出)。すると、第1演算ユニット100は、入力データ用付加情報401および出力データ用付加情報402をそれぞれ正当ではない状態を示す値に更新する((2),(3)更新)。 Referring to FIG. 9 , first, the first calculation unit 100 detects some kind of abnormality in the process of sending and receiving data via the field network 4 ((1) Abnormality Detection). Then, the first calculation unit 100 updates the input data additional information 401 and the output data additional information 402 to values indicating an invalid state ((2) and (3) Update).

また、第1演算ユニット100は、中継ユニット250に異常検出を通知する((4)通知)。さらに、中継ユニット250は、第2演算ユニット200に異常検出を通知する((5)通知)。 The first calculation unit 100 also notifies the relay unit 250 of the abnormality detection ((4) Notification). The relay unit 250 then notifies the second calculation unit 200 of the abnormality detection ((5) Notification).

第2演算ユニット200は、中継ユニット250からの異常検出の通知を受信すると、入力データ用付加情報411および出力データ用付加情報412をそれぞれ正当ではない状態を示す値に更新する((6),(7)更新)。 When the second calculation unit 200 receives notification of abnormality detection from the relay unit 250, it updates the input data additional information 411 and the output data additional information 412 to values indicating an invalid state (updates (6) and (7)).

以上のように、第1演算ユニット100がフィールドネットワーク4を介してデータを送受信する処理に何らかの異常を検出すると、第1演算ユニット100と第2演算ユニット200との間のデータ送受信ができないと判断されるので、正当ではない状態を示すように、付加情報が更新される。 As described above, if the first calculation unit 100 detects any abnormality in the process of sending and receiving data via the field network 4, it is determined that data cannot be sent and received between the first calculation unit 100 and the second calculation unit 200, and the additional information is updated to indicate an invalid state.

なお、第1演算ユニット100、第2演算ユニット200および中継ユニット250の一部または全部は、検出した異常の内容や種類を示す情報を任意の方法で記録するようにしてもよい。この場合には、サポート装置300などを介して、格納された情報が読み出されてもよい。 In addition, some or all of the first calculation unit 100, second calculation unit 200, and relay unit 250 may record information indicating the content and type of detected abnormality using any method. In this case, the stored information may be read out via the support device 300, etc.

<E.処理手順例>
次に、正当性を示す付加情報を提供するための処理手順例について説明する。
<E. Example of processing procedure>
Next, an example of a processing procedure for providing additional information indicating validity will be described.

図10は、本実施の形態に従う第1演算ユニット100による正当性を示す付加情報を提供するための処理手順例を示すフローチャートである。図10に示す各ステップは、第1演算ユニット100のプロセッサ102がシステムプログラム131を実行することで実現されてもよい。 Figure 10 is a flowchart showing an example of a processing procedure for providing additional information indicating validity by the first computing unit 100 according to this embodiment. Each step shown in Figure 10 may be realized by the processor 102 of the first computing unit 100 executing the system program 131.

図10を参照して、第1演算ユニット100は、フィールドネットワーク4を介してデータを送受信する処理に何らかの異常が発生したか否かを判断する(ステップS100)。 Referring to FIG. 10, the first calculation unit 100 determines whether any abnormality has occurred in the process of sending and receiving data via the field network 4 (step S100).

フィールドネットワーク4を介してデータを送受信する処理に何らかの異常が発生していれば(ステップS100においてYES)、第1演算ユニット100は、中継ユニット250に異常検出を通知する(ステップS102)。続いて、第1演算ユニット100は、入力データ用付加情報401および出力データ用付加情報402をそれぞれ正当ではない状態を示す値に更新する(ステップS104)。そして、ステップS100以下の処理が繰り返される。 If an abnormality has occurred in the process of sending and receiving data via the field network 4 (YES in step S100), the first calculation unit 100 notifies the relay unit 250 of the abnormality detection (step S102). Next, the first calculation unit 100 updates the input data additional information 401 and the output data additional information 402 to values indicating an invalid state (step S104). Then, the processing from step S100 onwards is repeated.

このように、第1演算ユニット100は、フィールドネットワーク4を介してデータを送受信する処理に異常を検出すると、中継ユニット250に異常検出を通知する。 In this way, when the first calculation unit 100 detects an abnormality in the process of sending and receiving data via the field network 4, it notifies the relay unit 250 of the abnormality detection.

一方、フィールドネットワーク4を介してデータを送受信する処理に何らの異常も発生していなければ(ステップS100においてNO)、第1演算ユニット100は、中継ユニット250から異常検出の通知を受信したか否かを判断する(ステップS106)。中継ユニット250から異常検出の通知を受信していなければ(ステップS106においてNO)、ステップS100以下の処理が繰り返される。 On the other hand, if no abnormality has occurred in the process of sending and receiving data via the field network 4 (NO in step S100), the first calculation unit 100 determines whether or not it has received a notification of abnormality detection from the relay unit 250 (step S106). If it has not received a notification of abnormality detection from the relay unit 250 (NO in step S106), the process from step S100 onwards is repeated.

中継ユニット250から異常検出の通知を受信していれば(ステップS106においてYES)、ステップS104以下の処理が実行される。すなわち、第1演算ユニット100は、他の装置から異常検出の通知を受信すると、入力データ用付加情報401および出力データ用付加情報402をそれぞれ正当ではない状態を示す値に更新する。 If a notification of abnormality detection has been received from the relay unit 250 (YES in step S106), the processing from step S104 onwards is executed. That is, when the first calculation unit 100 receives a notification of abnormality detection from another device, it updates the input data additional information 401 and the output data additional information 402 to values indicating an invalid state.

なお、検出された異常が復帰した場合、および/または、中継ユニット250から異常復帰の通知を受信すると、入力データ用付加情報401および出力データ用付加情報402をそれぞれ正当である値を示すように更新してもよい。 In addition, when the detected abnormality is resolved and/or when a notification of recovery from the abnormality is received from the relay unit 250, the additional information for input data 401 and the additional information for output data 402 may be updated to indicate valid values.

図11は、本実施の形態に従う第2演算ユニット200による正当性を示す付加情報を提供するための処理手順例を示すフローチャートである。図11に示す各ステップは、第2演算ユニット200のプロセッサ202がシステムプログラム231を実行することで実現されてもよい。 Figure 11 is a flowchart showing an example of a processing procedure for providing additional information indicating validity by the second computing unit 200 according to this embodiment. Each step shown in Figure 11 may be realized by the processor 202 of the second computing unit 200 executing the system program 231.

図11を参照して、第2演算ユニット200は、内部バス6を介してデータを送受信する処理に何らかの異常が発生したか否かを判断する(ステップS200)。 Referring to FIG. 11, the second calculation unit 200 determines whether any abnormality has occurred in the process of sending and receiving data via the internal bus 6 (step S200).

内部バス6を介してデータを送受信する処理に何らかの異常が発生していれば(ステップS200においてYES)、第2演算ユニット200は、中継ユニット250に異常検出を通知する(ステップS202)。続いて、第2演算ユニット200は、入力データ用付加情報411および出力データ用付加情報412をそれぞれ正当ではない状態を示す値に更新する(ステップS204)。そして、ステップS200以下の処理が繰り返される。 If an abnormality has occurred in the process of sending and receiving data via the internal bus 6 (YES in step S200), the second calculation unit 200 notifies the relay unit 250 of the abnormality detection (step S202). Next, the second calculation unit 200 updates the input data additional information 411 and the output data additional information 412 to values indicating an invalid state (step S204). Then, the processing from step S200 onwards is repeated.

このように、第2演算ユニット200は、内部バス6を介してデータを送受信する処理に異常を検出すると、中継ユニット250に異常検出を通知する。 In this way, when the second calculation unit 200 detects an abnormality in the process of sending and receiving data via the internal bus 6, it notifies the relay unit 250 of the abnormality detection.

一方、内部バス6を介してデータを送受信する処理に何らの異常も発生していなければ(ステップS200においてNO)、第2演算ユニット200は、中継ユニット250から異常検出の通知を受信したか否かを判断する(ステップS206)。中継ユニット250から異常検出の通知を受信していなければ(ステップS206においてNO)、ステップS200以下の処理が繰り返される。 On the other hand, if no abnormality has occurred in the process of sending and receiving data via the internal bus 6 (NO in step S200), the second calculation unit 200 determines whether or not it has received notification of abnormality detection from the relay unit 250 (step S206). If it has not received notification of abnormality detection from the relay unit 250 (NO in step S206), the process from step S200 onwards is repeated.

中継ユニット250から異常検出の通知を受信していれば(ステップS206においてYES)、ステップS204以下の処理が実行される。すなわち、第2演算ユニット200は、他の装置から異常検出の通知を受信すると、入力データ用付加情報411および出力データ用付加情報412をそれぞれ正当ではない状態を示す値に更新する。 If a notification of abnormality detection has been received from the relay unit 250 (YES in step S206), the processing from step S204 onwards is executed. That is, when the second calculation unit 200 receives a notification of abnormality detection from another device, it updates the input data additional information 411 and the output data additional information 412 to values indicating an invalid state.

なお、検出された異常が復帰した場合、および/または、中継ユニット250から異常復帰の通知を受信すると、入力データ用付加情報411および出力データ用付加情報412をそれぞれ正当である値を示すように更新してもよい。 In addition, when the detected abnormality is resolved and/or when a notification of recovery from the abnormality is received from the relay unit 250, the additional information for input data 411 and the additional information for output data 412 may be updated to indicate valid values.

図12は、本実施の形態に従う中継ユニット250による正当性を示す付加情報を提供するための処理手順例を示すフローチャートである。図12に示す各ステップは、中継ユニット250のプロセッサ262がシステムプログラムを実行することで実現されてもよい。 FIG. 12 is a flowchart showing an example of a processing procedure for providing additional information indicating legitimacy by the relay unit 250 according to this embodiment. Each step shown in FIG. 12 may be realized by the processor 262 of the relay unit 250 executing a system program.

図12を参照して、中継ユニット250は、フィールドネットワーク4を介してデータを送受信する処理に何らかの異常が発生したか否かを判断する(ステップS300)。 Referring to FIG. 12, the relay unit 250 determines whether any abnormality has occurred in the process of sending and receiving data via the field network 4 (step S300).

フィールドネットワーク4を介してデータを送受信する処理に何らかの異常が発生していれば(ステップS300においてYES)、中継ユニット250は、第1演算ユニット100に異常検出を通知する(ステップS302)とともに、第2演算ユニット200に異常検出を通知する(ステップS304)。 If an abnormality has occurred in the process of sending and receiving data via the field network 4 (YES in step S300), the relay unit 250 notifies the first calculation unit 100 of the abnormality detection (step S302) and also notifies the second calculation unit 200 of the abnormality detection (step S304).

このように、中継ユニット250は、フィールドネットワーク4を介してデータを送受信する処理に異常を検出すると、第2演算ユニット200に異常検出を通知する。 In this way, when the relay unit 250 detects an abnormality in the process of sending and receiving data via the field network 4, it notifies the second calculation unit 200 of the abnormality detection.

フィールドネットワーク4を介してデータを送受信する処理に何らかの異常が発生していなければ(ステップS300においてNO)、ステップS302およびS304の処理はスキップされる。 If no abnormality has occurred in the process of sending and receiving data via field network 4 (NO in step S300), steps S302 and S304 are skipped.

続いて、中継ユニット250は、内部バス6を介してデータを送受信する処理に何らかの異常が発生したか否かを判断する(ステップS306)。 Next, the relay unit 250 determines whether any abnormality has occurred in the process of sending and receiving data via the internal bus 6 (step S306).

内部バス6を介してデータを送受信する処理に何らかの異常が発生していれば(ステップS306においてYES)、中継ユニット250は、第1演算ユニット100に異常検出を通知する(ステップS308)とともに、第2演算ユニット200に異常検出を通知する(ステップS310)。 If an abnormality has occurred in the process of sending and receiving data via the internal bus 6 (YES in step S306), the relay unit 250 notifies the first calculation unit 100 of the abnormality detection (step S308) and also notifies the second calculation unit 200 of the abnormality detection (step S310).

このように、中継ユニット250は、内部バス6を介してデータを送受信する処理に異常を検出すると、第1演算ユニット100に異常検出を通知する。 In this way, when the relay unit 250 detects an abnormality in the process of sending and receiving data via the internal bus 6, it notifies the first calculation unit 100 of the abnormality detection.

内部バス6を介してデータを送受信する処理に何らかの異常が発生していなければ(ステップS306においてNO)、ステップS308およびS310の処理はスキップされる。 If no abnormality has occurred in the process of sending and receiving data via the internal bus 6 (NO in step S306), steps S308 and S310 are skipped.

続いて、中継ユニット250は、第1演算ユニット100から異常検出の通知を受信したか否かを判断する(ステップS312)。第1演算ユニット100から異常検出の通知を受信していれば(ステップS312においてYES)、中継ユニット250は、第2演算ユニット200に異常検出を通知する(ステップS314)。 Next, the relay unit 250 determines whether or not it has received a notification of abnormality detection from the first calculation unit 100 (step S312). If it has received a notification of abnormality detection from the first calculation unit 100 (YES in step S312), the relay unit 250 notifies the second calculation unit 200 of the abnormality detection (step S314).

このように、中継ユニット250は、第1演算ユニット100から異常検出の通知を受信すると、当該通知を第2演算ユニット200へ転送する。 In this way, when the relay unit 250 receives a notification of abnormality detection from the first calculation unit 100, it forwards the notification to the second calculation unit 200.

第1演算ユニット100から異常検出の通知を受信していなければ(ステップS312においてNO)、ステップS314の処理はスキップされる。 If no notification of abnormality detection has been received from the first calculation unit 100 (NO in step S312), processing in step S314 is skipped.

続いて、中継ユニット250は、第2演算ユニット200から異常検出の通知を受信したか否かを判断する(ステップS316)。第2演算ユニット200から異常検出の通知を受信していれば(ステップS316においてYES)、中継ユニット250は、第1演算ユニット100に異常検出を通知する(ステップS318)。 The relay unit 250 then determines whether or not it has received a notification of abnormality detection from the second calculation unit 200 (step S316). If it has received a notification of abnormality detection from the second calculation unit 200 (YES in step S316), the relay unit 250 notifies the first calculation unit 100 of the abnormality detection (step S318).

このように、中継ユニット250は、第2演算ユニット200から異常検出の通知を受信すると、当該通知を第1演算ユニット100へ転送する。 In this way, when the relay unit 250 receives a notification of abnormality detection from the second calculation unit 200, it forwards the notification to the first calculation unit 100.

第2演算ユニット200から異常検出の通知を受信していなければ(ステップS316においてNO)、ステップS318の処理はスキップされる。 If no notification of abnormality detection has been received from the second calculation unit 200 (NO in step S316), the processing of step S318 is skipped.

そして、ステップS300以下の処理が繰り返される。
なお、第1演算ユニット100および/または第2演算ユニット200から異常復帰の通知を受信すると、中継ユニット250は、異常復帰の通知を第2演算ユニット200および/または第1演算ユニット100に転送するようにしてもよい。
Then, the processes from step S300 onwards are repeated.
In addition, when receiving a notification of recovery from an abnormality from the first arithmetic unit 100 and/or the second arithmetic unit 200, the relay unit 250 may be configured to transfer the notification of recovery from an abnormality to the second arithmetic unit 200 and/or the first arithmetic unit 100.

<F.正当性を示す付加情報の利用>
次に、第1演算ユニット100で実行されるユーザプログラム132、ならびに、第2演算ユニット200で実行されるユーザプログラム232が正当性を示す付加情報を利用する場合の処理例について説明する。
F. Use of Additional Information to Show Legitimacy
Next, a processing example will be described in which the user program 132 executed by the first arithmetic unit 100 and the user program 232 executed by the second arithmetic unit 200 use additional information indicating the validity.

図13は、本実施の形態に従う制御システム1における正当性を示す付加情報を利用する場合の処理例を示す模式図である。 Figure 13 is a schematic diagram showing an example of processing when using additional information indicating validity in the control system 1 according to this embodiment.

図13を参照して、第1演算ユニット100および第2演算ユニット200において、例えば、入力データおよび出力データはそれぞれデータオブジェクトとして参照可能になっていてもよい。入力データについてのデータオブジェクト430は、1または複数の入力データ432と、対応する入力データ用付加情報401(または、入力データ用付加情報411)とを含む。同様に、出力データについてのデータオブジェクト440は、1または複数の出力データ442と、対応する出力データ用付加情報402(または、出力データ用付加情報412)とを含む。 With reference to FIG. 13 , in the first calculation unit 100 and the second calculation unit 200, for example, the input data and output data may each be referenced as a data object. A data object 430 for input data includes one or more pieces of input data 432 and corresponding additional information for input data 401 (or additional information for input data 411). Similarly, a data object 440 for output data includes one or more pieces of output data 442 and corresponding additional information for output data 402 (or additional information for output data 412).

ユーザプログラム132,232においては、これらのデータオブジェクト430,440に含まれるメンバデータ(変数)を適宜指定することができる。 In user programs 132 and 232, member data (variables) contained in these data objects 430 and 440 can be specified as appropriate.

付加情報を示す変数(あるいは、変数名)は、ユーザが任意に定義できるようにしてもよいし、システムとして予め定義されていてもよい。ユーザが任意に定義する方法としては、例えば、1または複数の変数が付加情報用に予め用意されており、ユーザが各変数に対して任意の付加情報を割り当てる(マッピングする)ようにしてもよい。ユーザの操作によって、各変数がいずれの付加情報を示すのかが決定される。このとき、付加情報用に用意された変数の変数名は、付加情報用であることを示すプリフィックスまたはサフィックスを含んでいてもよい。あるいは、任意の付加情報に対して任意の変数名を割り当てることができるようにしてもよい。 The variables (or variable names) indicating additional information may be defined arbitrarily by the user, or may be predefined by the system. For example, one or more variables may be prepared in advance for additional information, and the user may assign (map) additional information of their choice to each variable. The user's operation determines which additional information each variable indicates. In this case, the variable names of variables prepared for additional information may include a prefix or suffix indicating that they are for additional information. Alternatively, any variable name may be assigned to any additional information.

一方、システムとして予め定義する場合には、利用できる付加情報毎にシステム変数をそれぞれ割り当てておいてもよい。この場合においても、付加情報毎に割り当てられた変数の変数名は、付加情報用であることを示すプリフィックスまたはサフィックスを含んでいてもよい。 On the other hand, if the additional information is defined in advance as a system, a system variable may be assigned to each available piece of additional information. Even in this case, the variable name assigned to each piece of additional information may include a prefix or suffix indicating that it is for additional information.

このように、第1演算ユニット100で実行されるユーザプログラム132において、予め定められた付加情報を示す変数を指定することで、入力データ用付加情報401および/または出力データ用付加情報402を利用できる。同様に、第2演算ユニット200で実行されるユーザプログラム232において予め定められた付加情報を示す変数を指定することで、入力データ用付加情報411および/または出力データ用付加情報412を利用できる。 In this way, by specifying a variable indicating predetermined additional information in the user program 132 executed by the first calculation unit 100, it is possible to use the input data additional information 401 and/or the output data additional information 402. Similarly, by specifying a variable indicating predetermined additional information in the user program 232 executed by the second calculation unit 200, it is possible to use the input data additional information 411 and/or the output data additional information 412.

このようなデータオブジェクト430,440を実装することで、ユーザプログラムの作成を簡素化できる。 Implementing such data objects 430 and 440 simplifies the creation of user programs.

<G.変形例>
上述の説明においては、主として、第1演算ユニット100および第2演算ユニット200が付加情報を管理する構成例について説明したが、第1演算ユニット100および第2演算ユニット200に加えて、中継ユニット250も付加情報を管理することができる。中継ユニット250が管理する付加情報は、第1演算ユニット100および/または第2演算ユニット200が管理する付加情報と実質的に同期させることができる。
G. Modifications
In the above explanation, a configuration example in which the first arithmetic unit 100 and the second arithmetic unit 200 manage additional information has been mainly explained, but the relay unit 250 can also manage additional information in addition to the first arithmetic unit 100 and the second arithmetic unit 200. The additional information managed by the relay unit 250 can be substantially synchronized with the additional information managed by the first arithmetic unit 100 and/or the second arithmetic unit 200.

さらに、第1演算ユニット100および第2演算ユニット200が付加情報の実体を管理するのではなく、中継ユニット250が管理するようにしてもよい。この場合には、第1演算ユニット100および/または第2演算ユニット200で実行されるユーザプログラムから付加情報が要求されると、中継ユニット250が要求された付加情報を第1演算ユニット100および/または第2演算ユニット200へ提供するようにしてもよい。 Furthermore, rather than the first arithmetic unit 100 and the second arithmetic unit 200 managing the substance of the additional information, the relay unit 250 may manage it. In this case, when additional information is requested by a user program executed by the first arithmetic unit 100 and/or the second arithmetic unit 200, the relay unit 250 may provide the requested additional information to the first arithmetic unit 100 and/or the second arithmetic unit 200.

また、サポート装置300を中継ユニット250に接続して、中継ユニット250が管理する付加情報をモニタできるようにしてもよい。 The support device 300 may also be connected to the relay unit 250 so that additional information managed by the relay unit 250 can be monitored.

このように、第1演算ユニット100および第2演算ユニット200だけが付加情報を管理するのではなく、中継ユニット250も付加情報を管理するようにしてもよい。 In this way, instead of only the first calculation unit 100 and the second calculation unit 200 managing the additional information, the relay unit 250 may also manage the additional information.

<H.付記>
上述したような本実施の形態は、以下のような技術思想を含む。
<H. Notes>
The present embodiment as described above includes the following technical idea.

[構成1]
制御システム(1)であって、
第1制御装置(100)および第2制御装置(200)と、
第1伝送路(4)を介して前記第1制御装置と接続されるとともに、第2伝送路(6)を介して前記第1制御装置と接続された中継装置(250)とを備え、
前記中継装置は、前記第1制御装置から送信されたデータを前記第2制御装置へ転送する処理と、前記第2制御装置から送信されたデータを前記第1制御装置へ転送する処理とを実行可能に構成されており、
前記第1制御装置は、前記第2制御装置へ送信するデータ、および、前記第2制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第1付加情報(401,402)を生成する処理を実行可能に構成されており、
前記第2制御装置は、前記第1制御装置へ送信するデータ、および、前記第1制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第2付加情報(411,412)を生成する処理を実行可能に構成されている、制御システム。
[Configuration 1]
A control system (1), comprising:
A first control device (100) and a second control device (200),
a relay device (250) connected to the first control device via a first transmission path (4) and connected to the first control device via a second transmission path (6);
the relay device is configured to be able to execute a process of transferring data transmitted from the first control device to the second control device and a process of transferring data transmitted from the second control device to the first control device,
the first control device is configured to be able to execute a process of generating first additional information (401, 402) indicating validity of data transfer of at least one of data to be transmitted to the second control device and data to be received from the second control device;
A control system, wherein the second control device is configured to be able to execute a process of generating second additional information (411, 412) indicating the legitimacy of data transfer of at least one of the data to be sent to the first control device and the data received from the first control device.

[構成2]
前記第1制御装置で実行される第1ユーザプログラム(132)から前記第1付加情報を利用可能であり、
前記第2制御装置で実行される第2ユーザプログラム(232)から前記第2付加情報を利用可能である、構成1に記載の制御システム。
[Configuration 2]
The first additional information is available from a first user program (132) executed on the first control device,
2. The control system of claim 1, wherein the second additional information is available to a second user program (232) running on the second controller.

[構成3]
前記第1ユーザプログラムにおいて予め定められた変数を指定することで、前記第1付加情報を利用可能であり、
前記第2ユーザプログラムにおいて予め定められた変数を指定することで、前記第2付加情報を利用可能である、構成2に記載の制御システム。
[Configuration 3]
the first additional information is available by specifying a predetermined variable in the first user program;
3. The control system according to claim 2, wherein the second additional information is available by specifying a predetermined variable in the second user program.

[構成4]
前記第1制御装置は、前記第1伝送路を介してデータを送受信する処理に異常を検出すると、前記中継装置に異常検出を通知する(S100,S102)、構成1~3のいずれか1項に記載の制御システム。
[Configuration 4]
The control system according to any one of configurations 1 to 3, wherein when the first control device detects an abnormality in the process of transmitting and receiving data via the first transmission path, the first control device notifies the relay device of the abnormality detection (S100, S102).

[構成5]
前記第2制御装置は、前記第2伝送路を介してデータを送受信する処理に異常を検出すると、前記中継装置に異常検出を通知する(S200,S202)、構成1~4のいずれか1項に記載の制御システム。
[Configuration 5]
The control system according to any one of configurations 1 to 4, wherein when the second control device detects an abnormality in the process of transmitting and receiving data via the second transmission path, the second control device notifies the relay device of the abnormality detection (S200, S202).

[構成6]
前記中継装置は、
前記第1伝送路を介してデータを送受信する処理に異常を検出すると、前記第2制御装置に異常検出を通知し(S300,S304)、
前記第2伝送路を介してデータを送受信する処理に異常を検出すると、前記第1制御装置に異常検出を通知する(S306,S308)、構成1~5のいずれか1項に記載の制御システム。
[Configuration 6]
The relay device
When an abnormality is detected in the process of transmitting and receiving data via the first transmission path, the second control device is notified of the abnormality detection (S300, S304);
The control system according to any one of configurations 1 to 5, wherein when an abnormality is detected in the process of transmitting and receiving data via the second transmission path, the first control device is notified of the abnormality detection (S306, S308).

[構成7]
前記中継装置は、
前記第1制御装置から異常検出の通知を受信すると、当該通知を前記第2制御装置へ転送し(S312,S314)、
前記第2制御装置から異常検出の通知を受信すると、当該通知を前記第1制御装置へ転送する(S316,S318)、構成1~6のいずれか1項に記載の制御システム。
[Configuration 7]
The relay device
When receiving a notification of abnormality detection from the first control device, the notification is transferred to the second control device (S312, S314).
The control system according to any one of configurations 1 to 6, wherein, when a notification of abnormality detection is received from the second control device, the notification is transferred to the first control device (S316, S318).

[構成8]
前記第1制御装置は、他の装置から異常検出の通知を受信すると、前記第1付加情報を正当ではない状態を示す値に更新する(S104)、構成1~7のいずれか1項に記載の制御システム。
[Configuration 8]
A control system described in any one of configurations 1 to 7, wherein when the first control device receives a notification of abnormality detection from another device, it updates the first additional information to a value indicating an invalid state (S104).

[構成9]
前記第2制御装置は、他の装置から異常検出の通知を受信すると、前記第2付加情報を正当ではない状態を示す値に更新する(S204)、構成1~8のいずれか1項に記載の制御システム。
[Configuration 9]
A control system described in any one of configurations 1 to 8, wherein when the second control device receives a notification of abnormality detection from another device, it updates the second additional information to a value indicating an invalid state (S204).

[構成10]
中継装置(250)を介して他の制御装置(200;100)と接続された制御装置(100;200)であって、
前記中継装置は、前記制御装置から送信されたデータを前記他の制御装置へ転送する処理と、前記他の制御装置から送信されたデータを前記制御装置へ転送する処理とを実行可能に構成されており、
前記制御装置は、前記他の制御装置へ送信するデータ、および、前記他の制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す付加情報(401,402;411,412)を生成する処理を実行可能に構成されている、制御装置。
[Configuration 10]
A control device (100; 200) connected to another control device (200; 100) via a relay device (250),
the relay device is configured to be able to execute a process of transferring data transmitted from the control device to the other control device and a process of transferring data transmitted from the other control device to the control device,
The control device is configured to be able to execute a process of generating additional information (401, 402; 411, 412) indicating the legitimacy of data transfer for at least one of data to be sent to the other control device and data received from the other control device.

[構成11]
第1制御装置(100)および第2制御装置(200)と、第1伝送路(4)を介して前記第1制御装置と接続されるとともに、第2伝送路(6)を介して前記第1制御装置と接続された中継装置(250)とを備えた制御システム(1)における通信方法であって、
前記中継装置が前記第1制御装置から送信されたデータを前記第2制御装置へ転送するステップと、
前記中継装置が前記第2制御装置から送信されたデータを前記第1制御装置へ転送するステップと、
前記第1制御装置が、前記第2制御装置へ送信するデータ、および、前記第2制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第1付加情報(401,402)を生成するステップ(S104)と、
前記第2制御装置が、前記第1制御装置へ送信するデータ、および、前記第1制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第2付加情報(411,412)を生成するステップ(S204)とを備える、通信方法。
[Configuration 11]
A communication method in a control system (1) including a first control device (100), a second control device (200), and a relay device (250) connected to the first control device via a first transmission path (4) and connected to the first control device via a second transmission path (6),
a step of the relay device transferring the data transmitted from the first control device to the second control device;
a step of the relay device transferring the data transmitted from the second control device to the first control device;
a step (S104) in which the first control device generates first additional information (401, 402) indicating validity of data transfer of at least one of data to be transmitted to the second control device and data to be received from the second control device;
A communication method comprising a step (S204) in which the second control device generates second additional information (411, 412) indicating the legitimacy of data transfer of at least one of the data to be sent to the first control device and the data received from the first control device.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed herein should be considered in all respects to be illustrative and not restrictive. The scope of the present invention is indicated by the claims, not the above description, and is intended to include all modifications that are equivalent in meaning to and within the scope of the claims.

1 制御システム、4 フィールドネットワーク、6 内部バス、10 第1装置、20 第2装置、100 第1演算ユニット、102,202,262 プロセッサ、104,204 チップセット、106,206,264 メモリ、108,208,266 ストレージ、110,210 上位ネットワークインターフェイス、112,212 インターフェイス、114,214 メモリカードインターフェイス、116,216 メモリカード、120,270 フィールドネットワークインターフェイス、131,231 システムプログラム、132,232 ユーザプログラム、200 第2演算ユニット、220,280 内部バスインターフェイス、250 中継ユニット、260 処理回路、300 サポート装置、401,411 入力データ用付加情報、402,412 出力データ用付加情報、430,440 データオブジェクト、432 入力データ、442 出力データ。 1 Control system, 4 Field network, 6 Internal bus, 10 First device, 20 Second device, 100 First arithmetic unit, 102, 202, 262 Processor, 104, 204 Chip set, 106, 206, 264 Memory, 108, 208, 266 Storage, 110, 210 Upper network interface, 112, 212 Interface, 114, 214 Memory card interface, 116, 216 Memory card, 120, 270 Field network interface, 131, 231 System program, 132, 232 User program, 200 Second arithmetic unit, 220, 280 Internal bus interface, 250 Relay unit, 260 Processing circuit, 300 Support device, 401, 411 Additional information for input data, 402, 412 Additional information for output data, 430, 440 Data object, 432 Input data, 442 output data.

Claims (11)

制御システムであって、
第1制御装置および第2制御装置と、
第1伝送路を介して前記第1制御装置と接続されるとともに、第2伝送路を介して前記第1制御装置と接続された中継装置とを備え、
前記中継装置は、前記第1制御装置から送信されたデータを前記第2制御装置へ転送する処理と、前記第2制御装置から送信されたデータを前記第1制御装置へ転送する処理とを実行可能に構成されており、
前記第1制御装置は、前記第2制御装置へ送信するデータ、および、前記第2制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第1付加情報を生成する処理を実行可能に構成されており、
前記第2制御装置は、前記第1制御装置へ送信するデータ、および、前記第1制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第2付加情報を生成する処理を実行可能に構成されている、制御システム。
1. A control system comprising:
a first control device and a second control device;
a relay device connected to the first control device via a first transmission line and connected to the first control device via a second transmission line;
the relay device is configured to be able to execute a process of transferring data transmitted from the first control device to the second control device and a process of transferring data transmitted from the second control device to the first control device,
the first control device is configured to be able to execute a process of generating first additional information indicating validity of data transfer of at least one of data to be transmitted to the second control device and data received from the second control device;
A control system in which the second control device is configured to execute a process of generating second additional information indicating the legitimacy of data transfer of at least one of data to be sent to the first control device and data received from the first control device.
前記第1制御装置で実行される第1ユーザプログラムから前記第1付加情報を利用可能であり、
前記第2制御装置で実行される第2ユーザプログラムから前記第2付加情報を利用可能である、請求項1に記載の制御システム。
the first additional information is available from a first user program executed by the first control device;
The control system of claim 1 , wherein the second additional information is available from a second user program executed on the second control device.
前記第1ユーザプログラムにおいて予め定められた変数を指定することで、前記第1付加情報を利用可能であり、
前記第2ユーザプログラムにおいて予め定められた変数を指定することで、前記第2付加情報を利用可能である、請求項2に記載の制御システム。
the first additional information is available by specifying a predetermined variable in the first user program;
The control system according to claim 2 , wherein the second additional information is available by specifying a predetermined variable in the second user program.
前記第1制御装置は、前記第1伝送路を介してデータを送受信する処理に異常を検出すると、前記中継装置に異常検出を通知する、請求項1~3のいずれか1項に記載の制御システム。 The control system described in any one of claims 1 to 3, wherein the first control device notifies the relay device of the abnormality detection when it detects an abnormality in the process of sending and receiving data via the first transmission path. 前記第2制御装置は、前記第2伝送路を介してデータを送受信する処理に異常を検出すると、前記中継装置に異常検出を通知する、請求項1~3のいずれか1項に記載の制御システム。 The control system described in any one of claims 1 to 3, wherein the second control device notifies the relay device of the abnormality detection when it detects an abnormality in the process of sending and receiving data via the second transmission path. 前記中継装置は、
前記第1伝送路を介してデータを送受信する処理に異常を検出すると、前記第2制御装置に異常検出を通知し、
前記第2伝送路を介してデータを送受信する処理に異常を検出すると、前記第1制御装置に異常検出を通知する、請求項1~3のいずれか1項に記載の制御システム。
The relay device
When an abnormality is detected in the process of transmitting and receiving data via the first transmission path, the second control device is notified of the abnormality detection;
4. The control system according to claim 1, wherein when an abnormality is detected in the process of transmitting and receiving data via the second transmission path, the control system notifies the first control device of the abnormality detection.
前記中継装置は、
前記第1制御装置から異常検出の通知を受信すると、当該通知を前記第2制御装置へ転送し、
前記第2制御装置から異常検出の通知を受信すると、当該通知を前記第1制御装置へ転送する、請求項1~3のいずれか1項に記載の制御システム。
The relay device
When receiving a notification of abnormality detection from the first control device, the notification is transferred to the second control device;
4. The control system according to claim 1, wherein, when a notification of abnormality detection is received from the second control device, the notification is transferred to the first control device.
前記第1制御装置は、他の装置から異常検出の通知を受信すると、前記第1付加情報を正当ではない状態を示す値に更新する、請求項1~3のいずれか1項に記載の制御システム。 The control system described in any one of claims 1 to 3, wherein the first control device updates the first additional information to a value indicating an invalid state when it receives a notification of abnormality detection from another device. 前記第2制御装置は、他の装置から異常検出の通知を受信すると、前記第2付加情報を正当ではない状態を示す値に更新する、請求項1~3のいずれか1項に記載の制御システム。 The control system described in any one of claims 1 to 3, wherein the second control device updates the second additional information to a value indicating an invalid state when it receives a notification of abnormality detection from another device. 中継装置を介して他の制御装置と接続された制御装置であって、
前記中継装置は、前記制御装置から送信されたデータを前記他の制御装置へ転送する処理と、前記他の制御装置から送信されたデータを前記制御装置へ転送する処理とを実行可能に構成されており、
前記制御装置は、前記他の制御装置へ送信するデータ、および、前記他の制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す付加情報を生成する処理を実行可能に構成されている、制御装置。
A control device connected to another control device via a relay device,
the relay device is configured to be able to execute a process of transferring data transmitted from the control device to the other control device and a process of transferring data transmitted from the other control device to the control device,
The control device is configured to be able to execute a process of generating additional information indicating the legitimacy of data transfer for at least one of the data to be sent to the other control device and the data received from the other control device.
第1制御装置および第2制御装置と、第1伝送路を介して前記第1制御装置と接続されるとともに、第2伝送路を介して前記第1制御装置と接続された中継装置とを備えた制御システムにおける通信方法であって、
前記中継装置が前記第1制御装置から送信されたデータを前記第2制御装置へ転送するステップと、
前記中継装置が前記第2制御装置から送信されたデータを前記第1制御装置へ転送するステップと、
前記第1制御装置が、前記第2制御装置へ送信するデータ、および、前記第2制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第1付加情報を生成するステップと、
前記第2制御装置が、前記第1制御装置へ送信するデータ、および、前記第1制御装置から受信するデータのうち少なくとも一方のデータ転送に係る正当性を示す第2付加情報を生成するステップとを備える、通信方法。
A communication method in a control system including a first control device, a second control device, and a relay device connected to the first control device via a first transmission path and connected to the first control device via a second transmission path,
a step of the relay device transferring the data transmitted from the first control device to the second control device;
a step of the relay device transferring the data transmitted from the second control device to the first control device;
generating first additional information indicating validity of data transfer of at least one of data to be transmitted to the second control device and data to be received from the second control device by the first control device;
A communication method comprising a step in which the second control device generates second additional information indicating the legitimacy of data transfer of at least one of the data to be sent to the first control device and the data received from the first control device.
JP2022113438A 2022-07-14 2022-07-14 Control system, control device and communication method Active JP7779211B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022113438A JP7779211B2 (en) 2022-07-14 2022-07-14 Control system, control device and communication method
PCT/JP2023/008845 WO2024014048A1 (en) 2022-07-14 2023-03-08 Control system, control device, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022113438A JP7779211B2 (en) 2022-07-14 2022-07-14 Control system, control device and communication method

Publications (2)

Publication Number Publication Date
JP2024011462A JP2024011462A (en) 2024-01-25
JP7779211B2 true JP7779211B2 (en) 2025-12-03

Family

ID=89536423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022113438A Active JP7779211B2 (en) 2022-07-14 2022-07-14 Control system, control device and communication method

Country Status (2)

Country Link
JP (1) JP7779211B2 (en)
WO (1) WO2024014048A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222649A (en) 2005-02-09 2006-08-24 Fujitsu Ten Ltd Gateway device with network monitoring function
WO2018154884A1 (en) 2017-02-22 2018-08-30 オムロン株式会社 Control system, control device, and control program
JP2019179361A (en) 2018-03-30 2019-10-17 オムロン株式会社 Safety control system and safety control unit

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3602293B2 (en) * 1997-04-22 2004-12-15 株式会社ソニー・コンピュータエンタテインメント Data transfer method and device
JP7327029B2 (en) * 2019-09-19 2023-08-16 京セラドキュメントソリューションズ株式会社 Image forming apparatus, data communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222649A (en) 2005-02-09 2006-08-24 Fujitsu Ten Ltd Gateway device with network monitoring function
WO2018154884A1 (en) 2017-02-22 2018-08-30 オムロン株式会社 Control system, control device, and control program
JP2019179361A (en) 2018-03-30 2019-10-17 オムロン株式会社 Safety control system and safety control unit

Also Published As

Publication number Publication date
WO2024014048A1 (en) 2024-01-18
JP2024011462A (en) 2024-01-25

Similar Documents

Publication Publication Date Title
JP6870568B2 (en) Communication system, control device, setting device, setting method and program
CN108156016B (en) Communication system, communication device, and communication method
US10365624B2 (en) Slave device, method for controlling slave device, and non-transitory computer-readable recording medium
US11165745B2 (en) Control system, controller, and control method
WO2019082627A1 (en) Control device, control method for control device, information processing program, and recording medium
JP2019179361A (en) Safety control system and safety control unit
US20150148918A1 (en) Optimized communications with hart instruments
CN112241280B (en) Firmware updates for modular node components
CN105745584A (en) Automation system
JP7779211B2 (en) Control system, control device and communication method
CN107562021B (en) System and method for provisioning or configuring devices operating in an industrial automation environment
CN106407139A (en) Method and Peripheral Module for Transmitting Highway Addressable Remote Transducer (HART) Variables and CPU Unit for Reading the HART Variables
KR101869233B1 (en) Operating method of process management system for distributed programmable logic controllers adopting internet-of-things configuration
CN112350983B (en) Protocol converter, data transmission method, storage medium, and data transmission system
JP7568003B2 (en) Information processing device and data transfer method
CN111868638B (en) Safety control system and control method of safety control system
JP7107262B2 (en) Control system and controller
JP7010257B2 (en) Control system and control unit
US20230336429A1 (en) Communication system, control method, control apparatus and program
CN114924688A (en) Staging of configuration data
US20250245180A1 (en) System and method for restoring or transferring operational parameters to a component of a modular automation device
JP7070479B2 (en) Control system and control unit
JP6409520B2 (en) Control system and relay device
CN119278611A (en) Control system, relay device and communication method
WO2024014047A1 (en) Control system, control device, and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250512

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20251021

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20251103

R150 Certificate of patent or registration of utility model

Ref document number: 7779211

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150