JP2024011461A - Control system, control device, and communication method - Google Patents
Control system, control device, and communication method Download PDFInfo
- Publication number
- JP2024011461A JP2024011461A JP2022113437A JP2022113437A JP2024011461A JP 2024011461 A JP2024011461 A JP 2024011461A JP 2022113437 A JP2022113437 A JP 2022113437A JP 2022113437 A JP2022113437 A JP 2022113437A JP 2024011461 A JP2024011461 A JP 2024011461A
- Authority
- JP
- Japan
- Prior art keywords
- data
- setting
- indicated
- match
- network
- 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
Links
- 238000004891 communication Methods 0.000 title claims description 43
- 238000000034 method Methods 0.000 title claims description 41
- 238000012546 transfer Methods 0.000 claims abstract description 59
- 230000004044 response Effects 0.000 claims description 4
- 230000007246 mechanism Effects 0.000 abstract description 6
- 238000013461 design Methods 0.000 abstract description 5
- 238000011161 development Methods 0.000 abstract description 5
- 230000005540 biological transmission Effects 0.000 description 55
- 238000012545 processing Methods 0.000 description 42
- 238000010586 diagram Methods 0.000 description 24
- 230000008569 process Effects 0.000 description 17
- 125000004122 cyclic group Chemical group 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000013479 data entry Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
Abstract
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 communication technology in recent years, there is an increasing need for industrial equipment to process more data. More specifically, technological innovation using communication technology, typified by IoT (Internet of Things) and Industry 4.0, is progressing. As a result, the amount of data exchanged within the system is increasing.
このようなデータ処理量の増大に対する解決手段の一つとして、国際公開第2013/137023号(特許文献1)は、複数の通信ラインを含む構成において、装置間のデータ更新をより適切に行うことができる構成を開示する。 As one solution to this increase in the amount of data processing, International Publication No. 2013/137023 (Patent Document 1) proposes a method for more appropriately updating data between devices in a configuration including multiple communication lines. Discloses a configuration that allows this.
複数のネットワークを用いて複数のコントローラを接続してネットワーク分散制御システムを構成する場合には、ネットワーク間のデータ転送を担当するゲートウェイである中継ユニットが用いられる。このようなゲートウェイを介して制御装置間のデータ交換を実現する。 When a network distributed control system is configured by connecting a plurality of controllers using a plurality of networks, a relay unit that is a gateway in charge of data transfer between networks is used. Data exchange between control devices is realized through such a gateway.
ネットワーク分散制御システムを設計および開発するにあたって、ある制御装置の設計変更などの影響が他の制御装置へ及ばないようにしたいというニーズがある。本発明は、複数の制御装置がネットワーク接続された制御システムにおいて、設計および開発の制限を緩和する仕組みを提供する。 When designing and developing a network distributed control system, there is a need to prevent changes in the design of one control device from affecting other control devices. The present invention provides a mechanism for easing restrictions on design and development in a control system in which a plurality of control devices are network-connected.
本発明の一例に従えば、ネットワークを介して接続された第1制御装置および第2制御装置を備える制御システムが提供される。制御システムは、第2制御装置は、制御演算を実行する演算ユニットと、ネットワークに接続するためのインターフェイスを有する中継ユニットとを含む。中継ユニットは、交換設定に従って、演算ユニットが管理するデータのネットワークを介した送信、および、ネットワークを介して受信したデータによる演算ユニットが管理するデータの更新、を含むデータ交換を実行するように構成されている。交換設定は、演算ユニットが管理するデータのうち送信対象のデータを示す第1の設定と、ネットワークを介して送信するデータを示す第2の設定と、演算ユニットが管理するデータのうち更新対象となるデータを示す第3の設定と、ネットワークを介して受信するデータを示す第4の設定とを含む。中継ユニットは、第1の設定が示すデータと第2の設定が示すデータとの間でデータサイズが一致するか否か、および、第3の設定が示すデータと第4の設定が示すデータとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断し、予め定められた第1の状態において、第1の設定が示すデータと第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、第3の設定が示すデータと第4の設定が示すデータとの間でデータサイズが一致しない場合であっても、交換設定に従うデータ交換を実行する。 According to an example of the present invention, a control system is provided that includes a first control device and a second control device connected via a network. In the control system, the second control device includes a calculation unit that performs control calculations and a relay unit that has an interface for connecting to a network. The relay unit is configured to perform data exchange, including transmitting data managed by the computing unit over the network and updating data managed by the computing unit with data received over the network, according to the exchange settings. has been done. The exchange settings include a first setting that indicates data to be sent among data managed by the processing unit, a second setting indicating data to be sent via the network, and a second setting indicating data to be updated among data managed by the processing unit. and a fourth setting that indicates data received via the network. The relay unit determines whether the data sizes of the data indicated by the first setting and the data indicated by the second setting match, and the data indicated by the third setting and the data indicated by the fourth setting. In a predetermined first state, the data size between the data indicated by the first setting and the data indicated by the second setting is determined. Even if the sizes do not match and/or even if the data sizes do not match between the data indicated by the third setting and the data indicated by the fourth setting, data exchange according to the exchange setting is executed.
この構成によれば、第1制御装置および第1制御装置で実行されるプログラムなどの設計および開発を行っている過程であって、第1制御装置が送受信するデータの構成が不確定であるような場合、および/または、第2制御装置および第2制御装置で実行されるプログラムなどの設計および開発を行っている過程であって、演算ユニットが送受信するデータの構成が不確定であるような場合において、データの構成が変更されたことで、制御システム全体が動作しなくなるといった現象を回避できる。これによって、第1制御装置および第2制御装置に対する設計および開発をそれぞれ独立して行うことができる。 According to this configuration, during the process of designing and developing the first control device and the programs to be executed by the first control device, the structure of data transmitted and received by the first control device is uncertain. and/or in the process of designing and developing the second control device and the program to be executed by the second control device, and the structure of the data sent and received by the processing unit is uncertain. In some cases, it is possible to avoid a phenomenon in which the entire control system stops operating due to a change in the data configuration. Thereby, the design and development of the first control device and the second control device can be performed independently.
中継ユニットは、第1の状態においては、第1の設定が示すデータおよび第3の設定が示すデータの周期的な更新、ならびに、第2の設定が示すデータおよび第4の設定が示すデータの周期的な更新を繰返し実行するようにしてもよい。この構成によれば、交換設定が完全に一致していなくても、第1制御装置と第2制御装置との間のデータ交換、および、第2制御装置の内部におけるデータ交換は継続されるので、第1制御装置および第2制御装置のいずれか一方の変更などが他方に影響を与えるような事態を回避できる。 In the first state, the relay unit periodically updates the data indicated by the first setting and the data indicated by the third setting, and updates the data indicated by the second setting and the data indicated by the fourth setting. Periodic updates may be performed repeatedly. According to this configuration, data exchange between the first control device and the second control device and data exchange within the second control device can be continued even if the exchange settings do not completely match. , it is possible to avoid a situation where a change in either one of the first control device and the second control device affects the other.
中継ユニットは、交換設定が存在しなくても、第1制御装置とのデータ更新および演算ユニットとのデータ更新を継続するようにしてもよい。この構成によれば、交換設定に依存することなく、第1制御装置と中継ユニットとの間のデータ更新、および、演算ユニットと中継ユニットとの間のデータ更新を継続できる。 The relay unit may continue updating data with the first control device and updating data with the arithmetic unit even if there is no exchange setting. According to this configuration, data updates between the first control device and the relay unit and data updates between the arithmetic unit and the relay unit can be continued without depending on the exchange settings.
制御システムは、第1の設定が示すデータと第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、第3の設定が示すデータと第4の設定が示すデータとの間でデータサイズが一致しない場合に、警告を報知する報知部をさらに含んでいてもよい。この構成によれば、ユーザは、データサイズが一致していないことを確実に認識できる。 If the data sizes do not match between the data indicated by the first setting and the data indicated by the second setting, and/or the data indicated by the third setting and the data indicated by the fourth setting It may further include a notification unit that provides a warning when the data sizes do not match. According to this configuration, the user can reliably recognize that the data sizes do not match.
中継ユニットは、第1の設定が示すデータと第2の設定が示すデータとのうち一致しているデータ、および、第3の設定が示すデータと第4の設定が示すデータとのうち一致しているデータ、についてデータ交換を実行するようにしてもよい。この構成によれば、データサイズが完全には一致しない場合であっても、可能な範囲でデータ交換を行うことができる。 The relay unit determines whether the data indicated by the first setting and the data indicated by the second setting match, and the data indicated by the third setting and the data indicated by the fourth setting match. The data exchange may be performed for the data that is currently being used. According to this configuration, even if the data sizes do not completely match, data can be exchanged to the extent possible.
中継ユニットは、予め定められたデータサイズのデータがデータ交換されるように、交換設定に基づいてダミーデータを生成するようにしてもよい。この構成によれば、データ交換の対象として、予め定められたデータサイズに固定できるので、データ交換に係る処理を簡素化および高速化できる。 The relay unit may generate dummy data based on exchange settings so that data of a predetermined data size is exchanged. According to this configuration, the data size to be exchanged can be fixed to a predetermined size, so that processing related to data exchange can be simplified and speeded up.
制御システムは、ユーザ操作に応じて、交換設定を作成するためのユーザインターフェイスを提供するようにしてもよい。この構成によれば、この構成によれば、ユーザは、ユーザインターフェイスを介して、交換設定を容易に作成できる。 The control system may provide a user interface for creating exchange settings in response to user operations. According to this configuration, the user can easily create exchange settings via the user interface.
中継ユニットは、第1の状態とは異なる第2の状態において、第1の設定が示すデータと第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、第3の設定が示すデータと第4の設定が示すデータとの間でデータサイズが一致しない場合には、交換設定に従うデータ交換を停止または無効化するようにしてもよい。この構成によれば、第1制御装置が送受信するデータの構成が確定している場合、および/または、演算ユニットが送受信するデータの構成が確定している場合において、厳密なデータ交換を実現できる。 In a second state different from the first state, if the data size does not match between the data indicated by the first setting and the data indicated by the second setting, and/or the relay unit If the data size does not match between the data indicated by the setting and the data indicated by the fourth setting, data exchange according to the exchange setting may be stopped or invalidated. According to this configuration, exact data exchange can be achieved when the configuration of data transmitted and received by the first control device is determined and/or when the configuration of data transmitted and received by the arithmetic unit is determined. .
ユーザによって設定されるモードに応じて、第1の状態および第2の状態が決定されてもよい。この構成によれば、状況に応じて、第1の状態および第2の状態を適宜変更できる。 The first state and the second state may be determined depending on the mode set by the user. According to this configuration, the first state and the second state can be changed as appropriate depending on the situation.
本発明の別の一例に従えば、ネットワークを介して他の制御装置と接続された制御装置が提供される。制御装置は、制御演算を実行する演算ユニットと、ネットワークに接続するためのインターフェイスを有する中継ユニットとを含む。中継ユニットは、交換設定に従って、演算ユニットが管理するデータのネットワークを介した送信、および、ネットワークを介して受信したデータによる演算ユニットが管理するデータの更新、を含むデータ交換を実行するように構成されている。交換設定は、演算ユニットが管理するデータのうち送信対象のデータを示す第1の設定と、ネットワークを介して送信するデータを示す第2の設定と、演算ユニットが管理するデータのうち更新対象となるデータを示す第3の設定と、ネットワークを介して受信するデータを示す第4の設定とを含む。中継ユニットは、第1の設定が示すデータと第2の設定が示すデータとの間でデータサイズが一致するか否か、および、第3の設定が示すデータと第4の設定が示すデータとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断し、予め定められた第1の状態において、第1の設定が示すデータと第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、第3の設定が示すデータと第4の設定が示すデータとの間でデータサイズが一致しない場合であっても、交換設定に従うデータ交換を実行する。 According to another example of the present invention, a control device is provided that is connected to other control devices via a network. The control device includes a calculation unit that performs control calculations and a relay unit that has an interface for connecting to a network. The relay unit is configured to perform data exchange, including transmitting data managed by the computing unit over the network and updating data managed by the computing unit with data received over the network, according to the exchange settings. has been done. The exchange settings include a first setting that indicates data to be sent among data managed by the processing unit, a second setting indicating data to be sent via the network, and a second setting indicating data to be updated among data managed by the processing unit. and a fourth setting that indicates data received via the network. The relay unit determines whether the data sizes of the data indicated by the first setting and the data indicated by the second setting match, and the data indicated by the third setting and the data indicated by the fourth setting. In a predetermined first state, the data size between the data indicated by the first setting and the data indicated by the second setting is determined. Even if the sizes do not match and/or even if the data sizes do not match between the data indicated by the third setting and the data indicated by the fourth setting, data exchange according to the exchange setting is executed.
本発明のさらに別の一例に従えば、ネットワークを介して接続された第1制御装置および第2制御装置を備える制御システムにおける通信方法が提供される。第2制御装置は、制御演算を実行する演算ユニットと、ネットワークに接続するためのインターフェイスを有する中継ユニットとを含む。通信方法は、中継ユニットが、交換設定に従って、演算ユニットが管理するデータのネットワークを介した送信、および、ネットワークを介して受信したデータによる演算ユニットが管理するデータの更新、を含むデータ交換を実行するステップを含む。交換設定は、演算ユニットが管理するデータのうち送信対象のデータを示す第1の設定と、ネットワークを介して送信するデータを示す第2の設定と、演算ユニットが管理するデータのうち更新対象となるデータを示す第3の設定と、ネットワークを介して受信するデータを示す第4の設定とを含む。通信方法は、第1の設定が示すデータと第2の設定が示すデータとの間でデータサイズが一致するか否か、および、第3の設定が示すデータと第4の設定が示すデータとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断するステップと、予め定められた第1の状態において、第1の設定が示すデータと第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、第3の設定が示すデータと第4の設定が示すデータとの間でデータサイズが一致しない場合であっても、中継ユニットが、交換設定に従うデータ交換を実行するステップとを含む。 According to yet another example of the present invention, a communication method in a control system including a first control device and a second control device connected via a network is provided. The second control device includes a calculation unit that performs control calculations and a relay unit that has an interface for connecting to a network. The communication method is such that the relay unit executes data exchange, including sending data managed by the computing unit via the network and updating data managed by the computing unit with data received via the network, according to the exchange settings. including steps to The exchange settings include a first setting that indicates data to be sent among data managed by the processing unit, a second setting indicating data to be sent via the network, and a second setting indicating data to be updated among data managed by the processing unit. and a fourth setting that indicates data received via the network. The communication method depends on whether or not the data sizes match between the data indicated by the first setting and the data indicated by the second setting, and whether the data indicated by the third setting and the data indicated by the fourth setting match. a step of determining at least one of whether the data sizes match between the two; and determining whether the data sizes match between the data indicated by the first setting and the data indicated by the second setting in a predetermined first state. Even if the data sizes do not match, and/or the data sizes do not match between the data indicated by the third setting and the data indicated by the fourth setting, the relay unit transfers the data according to the exchange setting. and performing the exchange.
本発明によれば、複数の制御装置がネットワーク接続された制御システムにおいて、設計および開発の制限を緩和する仕組みを提供できる。 According to the present invention, it is possible to provide a mechanism for easing restrictions on design and development in a control system in which a plurality of control devices are network-connected.
本発明の実施の形態について、図面を参照しながら詳細に説明する。なお、図中の同一または相当部分については、同一符号を付してその説明は繰り返さない。 Embodiments of the present invention will be described in detail with reference to the drawings. Note that the same or corresponding parts in the figures are designated by the same reference numerals, and the description thereof will not be repeated.
<A.適用例>
まず、本発明が適用される場面の一例について説明する。
<A. Application example>
First, an example of a scene to which the present invention is applied will be described.
図1は、本実施の形態に従う制御システム1の適用例を示す模式図である。図1を参照して、制御システム1は、ネットワーク(図2のフィールドネットワーク4など参照)を介して接続された主制御装置10(第1制御装置)および1または複数の副制御装置20(第2制御装置)を含む。
FIG. 1 is a schematic diagram showing an application example of a
本明細書において、「主制御装置」および「副制御装置」との用語は、説明の便宜上の区別であり、実質的に同一のハードウェア構成であってもよいし、実質的に同一の機能構成であってもよい。主制御装置および副制御装置は、PLC(プログラマブルロジックコントローラ)などの一種のコンピュータであってもよい。 In this specification, the terms "main controller" and "sub controller" are used for convenience of explanation, and they may have substantially the same hardware configuration or have substantially the same functions. It may be a configuration. The main control device and the sub-control device may be a type of computer such as a PLC (programmable logic controller).
副制御装置20は、制御演算を実行する演算ユニット200と、ネットワークに接続するためのインターフェイス(図5のフィールドネットワークインターフェイス270など)を有する中継ユニット250とを含む。
The
中継ユニット250は、副制御装置20(演算ユニット200)と主制御装置10との間で互いにデータを転送するためのゲートウェイである。より具体的には、交換設定268に従って、演算ユニット200が管理するプロセスデータ70のネットワークを介した送信、および、ネットワークを介して受信したデータによる演算ユニット200が管理するプロセスデータの更新、を含むデータ転送を実行する。
中継ユニット250は、ネットワークを介してデータ交換される送信データ50および受信データ60を保持するとともに、演算ユニット200との間でデータ交換される入力データ90および出力データ80を保持する。
本明細書においては、データ転送の対象として設定されるデータを「エントリ」と称す。「エントリ」は、送信データ50、受信データ60、出力データ80、および、入力データ90に含まれるべき各データを特定するための情報を含む。
In this specification, data set as a data transfer target is referred to as an "entry." “Entry” includes information for specifying each data to be included in
交換設定268は、図1に示す各データのエントリの設定を含む。より具体的には、交換設定268は、演算ユニット200が管理するプロセスデータ70のうち送信対象のデータ(出力データ80)を示す第1の設定(出力データ80に含まれるエントリ)と、ネットワークを介して送信するデータ(送信データ50)を示す第2の設定(送信データ50に含まれるエントリ)と、演算ユニット200が管理するプロセスデータ70のうち更新対象となるデータ(入力データ90)を示す第3の設定(入力データ90に含まれるエントリ)と、ネットワークを介して受信するデータ(受信データ60)を示す第4の設定(受信データ60に含まれるエントリ)とを含む。
The
データ転送は、主制御装置10と中継ユニット250との間のデータ更新42(送信データ50の送信および受信データ60の更新)と、演算ユニット200と中継ユニット250との間のデータ更新44(出力データ80の更新および入力データ90の送信)と、中継ユニット250におけるデータ交換46(送信データ50を出力データ80で更新、および、入力データ90を受信データ60で更新)とを含む。
Data transfer includes data update 42 (transmission of
中継ユニット250は、出力データ80に含まれるエントリ(第1の設定が示すデータ)と送信データ50に含まれるエントリ(第2の設定が示すデータ)との間でデータサイズが一致するか否か、および、入力データ90に含まれるエントリ(第3の設定が示すデータ)と受信データ60に含まれるエントリ(第4の設定が示すデータ)との間でデータサイズが一致するか否か、のうち少なくとも一方を判断する。
The
図1に示すように、出力データ80に含まれるエントリ(第1の設定が示すデータ)と送信データ50に含まれるエントリ(第2の設定が示すデータ)との間でデータサイズが一致しない場合、および/または、入力データ90に含まれるエントリ(第3の設定が示すデータ)と受信データ60に含まれるエントリ(第4の設定が示すデータ)との間でデータサイズが一致しない場合であっても、交換設定268に従うデータ転送を実行する。
As shown in FIG. 1, when the data size does not match between the entry included in the output data 80 (data indicated by the first setting) and the entry included in the transmission data 50 (data indicated by the second setting) , and/or the data sizes do not match between the entry included in the input data 90 (data indicated by the third setting) and the entry included in the received data 60 (data indicated by the fourth setting). data transfer according to
データ転送は、主制御装置10と中継ユニット250との間のデータ更新42、および、演算ユニット200と中継ユニット250との間のデータ更新44を含む。中継ユニット250におけるデータ交換46については、データ交換が可能な範囲で実行される。
Data transfer includes
なお、予め定められた第1の状態においては、データサイズが一致しなくても、データ転送を実行するようにしてもよく、別の第2の状態においては、データサイズが一致しなければ、データ転送を停止または無効化するようにしてもよい。すなわち、データサイズが一致しない場合に、データ転送を停止または無効化するか否かを、モードなどに応じて異ならせてもよい。 Note that in a predetermined first state, data transfer may be executed even if the data sizes do not match, and in another second state, if the data sizes do not match, Data transfer may be stopped or disabled. That is, whether or not to stop or invalidate data transfer when the data sizes do not match may be changed depending on the mode or the like.
<B.全体構成例>
次に、本実施の形態に従う制御システム1の全体構成例について説明する。
<B. Overall configuration example>
Next, an example of the overall configuration of the
図2は、本実施の形態に従う制御システム1の全体構成例を示す模式図である。図2を参照して、本実施の形態に従う制御システム1は、主制御装置10と、1または複数の副制御装置20とを含む。
FIG. 2 is a schematic diagram showing an example of the overall configuration of the
主制御装置10と、1または複数の副制御装置20とは、フィールドネットワーク4を介して接続されている。フィールドネットワーク4は、サイクリック通信およびメッセージ通信をサポートしている。フィールドネットワーク4としては、例えば、EtherCAT(登録商標)、EtherNet/IP(登録商標)、PROFINET(登録商標)、PROFIBUS(登録商標)、DeviceNet(登録商標)、FL-net、CompoNet(登録商標)などを用いてもよい。
The
主制御装置10は、制御演算を実行する演算ユニット100を含む。演算ユニット100は、フィールドネットワーク4によるデータ通信が可能になっている。主制御装置10は、電源ユニット、I/Oユニット、特殊ユニットなどをさらに有してもよい。
副制御装置20は、制御演算を実行する演算ユニット200と、フィールドネットワーク4に接続するためのインターフェイスを有する中継ユニット250とを含む。副制御装置20は、電源ユニット、I/Oユニット、特殊ユニットなどをさらに有してもよい。
The
演算ユニット200と中継ユニット250とは、内部バス6(図4および図5参照)を介して接続されている。なお、副制御装置20がI/Oユニットおよび/または特殊ユニットを含む場合には、当該ユニットも内部バス6を介して接続される。
中継ユニット250は、主制御装置10から送信されるデータを演算ユニット200が参照できるように転送するとともに、演算ユニット200が出力するデータを主制御装置10が参照できるように転送する。
The
制御システム1は、主制御装置10および/または副制御装置20で実行されるプログラムや設定などを作成および変更するためのサポート装置300を含んでいてもよい。サポート装置300は、副制御装置20の演算ユニット200に接続されてもよいし、主制御装置10の演算ユニット100に接続されてもよい。
The
<C.ハードウェア構成例>
次に、本実施の形態に従う制御システム1の主要な装置のハードウェア構成例について説明する。
<C. Hardware configuration example>
Next, an example of the hardware configuration of the main devices of the
(c1:演算ユニット100)
図3は、本実施の形態に従う主制御装置10の演算ユニット100のハードウェア構成例を示すブロック図である。図3を参照して、演算ユニット100は、CPU(Central Processing Unit)やMPU(Micro-Processing Unit)などのプロセッサ102と、チップセット104と、メモリ106と、ストレージ108と、上位ネットワークインターフェイス110と、USB(Universal Serial Bus)インターフェイス112と、メモリカードインターフェイス114と、フィールドネットワークインターフェイス120とを含む。
(c1: calculation unit 100)
FIG. 3 is a block diagram showing an example of the hardware configuration of the
プロセッサ102は、ストレージ108に格納された各種プログラムを読み出して、メモリ106に展開して実行することで、演算ユニット100で必要な処理を実現する。チップセット104は、プロセッサ102と各コンポーネントとの間のデータ通信などを制御する。
The
ストレージ108には、典型的には、システムプログラム131と、制御演算に必要なコンピュータ読み取り可能なコードを含むユーザプログラム132とが格納される。
ストレージ108に格納されたプログラムが実行されることで、コンピュータである演算ユニット100に本明細書に記載された処理を実行させるとともに、コンピュータである演算ユニット100において本明細書に記載された機能構成を実現させる。
By executing the program stored in the
上位ネットワークインターフェイス110は、上位ネットワークを介した他の装置との間のデータ通信を制御する。USBインターフェイス112は、USB接続を介してサポート装置との間のデータ通信を制御する。
The
メモリカードインターフェイス114は、メモリカード116を着脱可能に構成されており、メモリカード116に対してデータを書き込み、メモリカード116から各種データ(ユーザプログラムやトレースデータなど)を読み出すことが可能になっている。
The
フィールドネットワークインターフェイス120は、フィールドネットワーク4を介した副制御装置20との間のデータ通信を制御する。
(c2:演算ユニット200)
図4は、本実施の形態に従う副制御装置20の演算ユニット200のハードウェア構成例を示すブロック図である。図4を参照して、演算ユニット200は、CPUやMPUなどのプロセッサ202と、チップセット204と、メモリ206と、ストレージ208と、上位ネットワークインターフェイス210と、USBインターフェイス212と、メモリカードインターフェイス214と、内部バスインターフェイス220とを含む。
(c2: calculation unit 200)
FIG. 4 is a block diagram showing an example of the hardware configuration of the
プロセッサ202は、ストレージ208に格納された各種プログラムを読み出して、メモリ206に展開して実行することで、演算ユニット200で必要な処理を実現する。チップセット204は、プロセッサ202と各コンポーネントとの間のデータ通信などを制御する。
The
ストレージ208には、典型的には、システムプログラム231と、制御演算に必要なコンピュータ読み取り可能なコードを含むユーザプログラム232とが格納される。
ストレージ208に格納されたプログラムが実行されることで、コンピュータである演算ユニット200に本明細書に記載された処理を実行させるとともに、コンピュータである演算ユニット200において本明細書に記載された機能構成を実現させる。
By executing the program stored in the
上位ネットワークインターフェイス210は、上位ネットワークを介した他の装置との間のデータ通信を制御する。USBインターフェイス212は、USB接続を介してサポート装置との間のデータ通信を制御する。
The
メモリカードインターフェイス214は、メモリカード216を着脱可能に構成されており、メモリカード216に対してデータを書き込み、メモリカード216から各種データ(ユーザプログラムやトレースデータなど)を読み出すことが可能になっている。
The
内部バスインターフェイス220は、内部バス6を介した1または複数のユニット(中継ユニット250を含む)との間のデータ通信を制御する。
内部バス6は、フィールドネットワーク4と同様に、サイクリック通信およびメッセージ通信をサポートしている。内部バス6としては、メーカ専用の通信方式を採用してもよいし、例えば、EtherCAT(登録商標)、EtherNet/IP(登録商標)、PROFINET(登録商標)、PROFIBUS(登録商標)、DeviceNet(登録商標)、FL-net、CompoNet(登録商標)などを用いてもよい。
(c3:中継ユニット250)
図5は、本実施の形態に従う副制御装置20の中継ユニット250のハードウェア構成例を示すブロック図である。図5を参照して、中継ユニット250は、処理回路260と、フィールドネットワークインターフェイス270と、内部バスインターフェイス280とを含む。
(c3: relay unit 250)
FIG. 5 is a block diagram showing an example of the hardware configuration of
処理回路260は、後述するような中継ユニット250の処理および機能を実現する。より具体的には、処理回路260は、プロセッサ262と、メモリ264と、ストレージ266とを含む。プロセッサ262は、ストレージ266に格納されたシステムプログラム(ファームウェア)を読み出して、メモリ264に展開して実行することで、中継ユニット250で必要な処理を実現する。ストレージ266には、システムプログラムに加えて、データ転送を実現するための交換設定268が格納されている。
The
フィールドネットワークインターフェイス270は、フィールドネットワーク4を介した主制御装置10との間のデータ通信を制御する。
内部バスインターフェイス280は、内部バス6を介した1または複数のユニット(演算ユニット200を含む)との間のデータ通信を制御する。
(c4:その他の構成)
図3~図5には、プロセッサがプログラムを実行することで必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードウェア回路(例えば、ASIC(Application Specific Integrated Circuit)またはFPGA(Field-Programmable Gate Array)など)を用いて実装してもよい。
(c4: Other configurations)
FIGS. 3 to 5 show configuration examples in which necessary functions are provided by a processor executing a program, but some or all of these provided functions can be implemented using dedicated hardware circuits (e.g. , ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), etc.).
本明細書において、「プロセッサ」は、ストアードプログラム方式で処理を実行する狭義のプロセッサに限られず、ASICやFPGAなどのハードワイヤード回路を含み得る。そのため、「プロセッサ」との用語は、コンピュータ読み取り可能なコードおよび/またはハードワイヤード回路によって予め処理が定義されている、処理回路(processing circuitry)と読み替えることもできる。 In this specification, a "processor" is not limited to a processor in a narrow sense that executes processing using a stored program method, but may include hard-wired circuits such as ASIC and FPGA. Therefore, the term "processor" can also be read as processing circuitry whose processing is predefined by computer readable code and/or hardwired circuitry.
演算ユニットの主要部は、汎用的なアーキテクチャに従うハードウェア(例えば、汎用パソコンをベースとした産業用パソコン)を用いて実現してもよい。この場合には、仮想化技術を用いて、用途の異なる複数のOS(Operating System)を並列的に実行させるとともに、各OS上で必要なアプリケーションを実行させるようにしてもよい。 The main part of the arithmetic unit may be realized using hardware that follows a general-purpose architecture (for example, an industrial personal computer based on a general-purpose personal computer). In this case, virtualization technology may be used to run multiple OSs (Operating Systems) for different purposes in parallel, and to run necessary applications on each OS.
(c5:サポート装置300)
本実施の形態に従うサポート装置300は、一例として、汎用的なアーキテクチャに従う汎用コンピュータなどで構成される。汎用コンピュータのハードウェア構成例は公知であるので、詳細な説明は行わない。
(c5: Support device 300)
The
<D.データ転送>
次に、本実施の形態に従う制御システム1のデータ転送に係る処理について説明する。
<D. Data transfer>
Next, processing related to data transfer of the
フィールドネットワーク4としてEtherCATが採用される場合には、フィールドネットワーク4におけるフレーム30の送信タイミングなどを管理する通信マスタ(以下、「マスタ」と略称する。)と、通信マスタによる管理に従う1または複数の通信スレーブ(以下、「スレーブ」と略称する。)とが存在する。図2に示す構成例においては、例えば、主制御装置10がマスタとなり、中継ユニット250がスレーブとなる。
When EtherCAT is adopted as the
各デバイスは、隣接するデバイスからフレーム30を受信すると、フレーム30に含まれているデータを読み出すとともに、自デバイスが保持しているデータをフレーム30に書き込む(フレーム30の対応する領域のデータを更新する)。
When each device receives the
図6は、本実施の形態に従う制御システム1のフィールドネットワーク4をサイクリック伝送されるフレーム30のデータ構造の一例を示す。フレーム30は、予め定められた送信周期(例えば、1msec~数100msec)毎に、フィールドネットワーク4に接続されたすべてのデバイス(主制御装置10および中継ユニット250を含む)を巡回する。
FIG. 6 shows an example of the data structure of a
図6に示すように、フレーム30は、デバイス毎に送信データを格納する領域が設定されている。一例として、フレーム30は、マスタからの送信データを格納する領域3Mと、スレーブ1~Nからの送信データをそれぞれ格納する領域31~3Nとを含む。
As shown in FIG. 6, the
例えば、中継ユニット250がスレーブ1に相当する場合には、中継ユニット250は、フレーム30を受信すると、受信したフレーム30の領域31に自ユニットが保持しているデータ(送信データ50)を書き込むとともに、フレーム30の領域3M,32~3Nに格納されているデータ(受信データ60)を読み出す。
For example, when the
演算ユニット200は、中継ユニット250を介してデータを送受信する。すなわち、演算ユニット200は、中継ユニット250を介して、フィールドネットワーク4に接続された主制御装置10および他の副制御装置20とデータを交換する。
図7は、本実施の形態に従う制御システム1の副制御装置20によるデータ転送を説明するための図である。図7を参照して、副制御装置20の演算ユニット200は、プロセスデータ70を保持している。
FIG. 7 is a diagram for explaining data transfer by the
プロセスデータ70は、入力データ72と、出力データ74と、システムデータ76とを含む。入力データ72は、例えば、各種センサで計測あるいは検出された信号を含む。出力データ74は、入力データ72などに基づく制御演算40の結果を含む。システムデータ76は、システム管理82による管理情報を含む。管理情報は、副制御装置20の運転状態やエラー発生などを示す。
入力データ72、出力データ74およびシステムデータ76のうち、指定されたデータが送信データ50としてコピーされる。また、受信データ60は、基本的には、入力データ72としてコピーされる。副制御装置20においては、交換設定268に従って、プロセスデータ70と、送信データ50および受信データ60との間でデータ交換が行われる。
Among input data 72,
送信データ50および受信データ60は、フィールドネットワーク4のサイクリック通信の送信周期毎に更新されることになる。プロセスデータ70と送信データ50および受信データ60との間のデータ交換は、内部バス6の送信周期毎に行われる。
The
このように、中継ユニット250は、交換設定268に従って、演算ユニット200が管理するプロセスデータ70のフィールドネットワーク4を介した送信、および、フィールドネットワーク4を介して受信した受信データ60による演算ユニット200が管理するプロセスデータ70の更新、を含むデータ転送を実行するように構成されている。
In this way, the
<E.中継ユニット>
次に、本実施の形態に従う制御システム1の中継ユニット250によるデータ転送について説明する。
<E. Relay unit>
Next, data transfer by
上述したように、副制御装置20の演算ユニット200は、中継ユニット250を介して、フィールドネットワーク4に接続された主制御装置10および他の副制御装置20とデータを交換する。このようなデータ交換を実現するために、中継ユニット250は、フィールドネットワーク4を介して送受信されるデータを保持する記憶領域と、内部バス6を介して送受信されるデータを保持する記憶領域とを有している。
As described above, the
図8は、本実施の形態に従う制御システム1の中継ユニット250によるデータ転送を説明するための図である。図8を参照して、中継ユニット250は、フィールドネットワーク4を介してデータ交換される送信データ50および受信データ60を保持するとともに、演算ユニット200との間でデータ交換される入力データ90および出力データ80を保持する。
FIG. 8 is a diagram for explaining data transfer by
上述の交換設定268は、演算ユニット200が管理するプロセスデータ70のうち送信対象のデータ(出力データ80)を示す第1の設定(出力データ80に含まれるエントリ)と、ネットワークを介して送信するデータ(送信データ50)を示す第2の設定(送信データ50に含まれるエントリ)と、演算ユニット200が管理するプロセスデータ70のうち更新対象となるデータ(入力データ90)を示す第3の設定(入力データ90に含まれるエントリ)と、ネットワークを介して受信するデータ(受信データ60)を示す第4の設定(受信データ60に含まれるエントリ)とを含む。
The
通常、演算ユニット200からの出力データ80に含まれるデータのデータサイズは、主制御装置10および他の副制御装置20に送信される送信データ50に含まれるデータのデータサイズと一致する。同様に、主制御装置10および他の副制御装置20からの受信データ60に含まれるデータのデータサイズは、演算ユニット200に送信される入力データ90に含まれるデータのデータサイズと一致する。
Usually, the data size of the data included in the
そのため、中継ユニット250(または、演算ユニット200)は、交換設定268に設定されたエントリに基づいて、出力データ80と送信データ50との間で設定されたデータサイズが一致しない、および/または、入力データ90と受信データ60との間で設定されたデータサイズが一致しない場合には、データ転送を停止または無効化するようにしてもよい。
Therefore, the relay unit 250 (or the arithmetic unit 200) determines that the data sizes set between the
すなわち、中継ユニット250(または、演算ユニット200)は、出力データ80に含まれるエントリと送信データ50に含まれるエントリとの間でデータサイズが一致するか否か、および、入力データ90に含まれるエントリと受信データ60に含まれるエントリとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断する。そして、出力データ80に含まれるエントリと送信データ50に含まれるエントリとの間でデータサイズが一致しない場合、および/または、入力データ90に含まれるエントリと受信データ60に含まれるエントリとの間でデータサイズが一致しない場合には、交換設定268に従うデータ転送が停止または無効化される。
That is, the relay unit 250 (or the arithmetic unit 200) determines whether or not the data sizes of the entries included in the
しかしながら、制御システム1の全体または一部を設計および開発している段階においては、主制御装置10および1または複数の副制御装置20が送受信するデータはしばしば変更され得る。そのため、出力データ80と送信データ50との間で設定されたデータサイズが一致しない、および/または、入力データ90と受信データ60との間で設定されたデータサイズが一致しないといった事態もしばしば生じ得る。その結果、制御システム1におけるデータ転送が停止または無効化され得る。
However, during the stage of designing and developing all or part of the
そこで、本実施の形態に従う制御システム1においては、出力データ80に含まれるエントリと送信データ50に含まれるエントリとの間でデータサイズが一致しない場合、および/または、入力データ90に含まれるエントリと受信データ60に含まれるエントリとの間でデータサイズが一致しない場合であっても、交換設定268に従うデータ転送を実行することが可能になっている。
Therefore, in the
すなわち、出力データ80と送信データ50との間で設定されたデータサイズが一致しない、および/または、入力データ90と受信データ60との間で設定されたデータサイズが一致しない場合であっても、中継ユニット250でのデータ転送を実行することも可能である。
That is, even if the data sizes set between the
図9は、本実施の形態に従う制御システム1の中継ユニット250において設定されたデータサイズが一致しない例を示す図である。図9を参照して、出力データ80は2つのエントリのみを含むのに対して、送信データ50は4つのエントリを含む。また、受信データ60は4つのエントリを含むのに対して、入力データ90は2つのエントリのみを含む。
FIG. 9 is a diagram showing an example in which data sizes set in
図9に示す例においては、出力データ80と送信データ50との間で設定されたデータサイズは一致しない。同様に、入力データ90と受信データ60との間で設定されたデータサイズは一致しない。このような場合であっても、中継ユニット250でのデータ転送が実行されてもよい。
In the example shown in FIG. 9, the data sizes set between
このようなデータ転送を実現するために、例えば、中継ユニット250が保持する送信データ50および受信データ60を予め定められたデータサイズに設定してもよい。データサイズを固定する方法として、エントリが明示的に設定されていなくても、固定のデータサイズが維持されるように、ダミーデータのエントリが自動的に設定されるようにしてもよい。あるいは、エントリが存在しない領域には、何らかのデータをパディングすることで、エントリが変動しても、データサイズを一定に維持できるようにしてもよい。
In order to realize such data transfer, for example, the
図10は、本実施の形態に従う制御システム1の中継ユニット250において設定されたデータサイズが一致しない場合の処理例を示す図である。
FIG. 10 is a diagram illustrating an example of processing when the data sizes set in
図10を参照して、図9に示すようなデータサイズが一致しない場合において、中継ユニット250は、ダミーデータを追加することで、形式的にデータサイズを一致させる。図10に示す例では、出力データ80には、送信データ50の2つのエントリに対応するダミーデータが追加されている。また、入力データ90には、受信データ60の2つのエントリに対応するダミーデータが追加されている。
Referring to FIG. 10, when the data sizes do not match as shown in FIG. 9,
このように、中継ユニット250は、予め定められたデータサイズのデータがデータ転送されるように、交換設定268に基づいてダミーデータを生成するようにしてもよい。すなわち、中継ユニット250は、交換設定268が示すエントリのデータサイズと予め定められたデータサイズとの差分に相当するダミーデータを生成するようにしてもよい。
In this way, the
また、出力データ80と送信データ50との間で一致したエントリ、および/または、入力データ90と受信データ60との間で一致したエントリについては、データ転送が実行されてもよい。
Furthermore, data transfer may be performed for entries that match between the
図9および図10に示す例においては、出力データ80と送信データ50との間では2つのエントリが一致しており、これらの2つのエントリに対応するデータについては、データ転送が行われてもよい。また、入力データ90と受信データ60との間では2つのエントリが一致しており、これらの2つのエントリに対応するデータについては、データ転送が行われてもよい。
In the examples shown in FIGS. 9 and 10, two entries match between the
このように、出力データ80と送信データ50との間で一致しているエントリの範囲、および/または、入力データ90と受信データ60との間で一致しているエントリの範囲において、データ転送が実行されてもよい。すなわち、中継ユニット250は、出力データ80に含まれるエントリ(第1の設定が示すデータ)と送信データ50に含まれるエントリ(第2の設定が示すデータ)とのうち一致しているデータ、および、入力データ90に含まれるエントリ(第3の設定が示すデータ)と受信データ60に含まれるエントリ(第4の設定が示すデータ)とのうち一致しているデータ、についてデータ転送を実行する。
In this way, data transfer is performed within the range of entries that match between the
なお、エントリが一致しているか否かは、各エントリに設定されているデータのデータ数およびデータ型に基づいて判断されてもよいし、各エントリに設定されているデータのデータ長さに基づいて判断されてもよい。 Note that whether or not the entries match may be determined based on the number and data type of the data set in each entry, or based on the data length of the data set in each entry. It may be determined that
図11は、本実施の形態に従う制御システム1の中継ユニット250における処理例を説明するための図である。図11には、出力データ80と送信データ50との間で一致しているエントリは存在せず、かつ、入力データ90と受信データ60との間で一致しているエントリは存在しない例を示す。
FIG. 11 is a diagram for explaining an example of processing in
図11に示すような交換設定268においては、データ交換46は実質的に実行されない。但し、フィールドネットワーク4を介した主制御装置10と中継ユニット250との間のデータ更新42、および、内部バス6を介した演算ユニット200と中継ユニット250との間のデータ更新44は、周期的に実行される。
In
このように、中継ユニット250は、出力データ80に含まれるエントリ(第1の設定が示すデータ)および入力データ90に含まれるエントリ(第3の設定が示すデータ)の周期的な更新、ならびに、送信データ50に含まれるエントリ(第2の設定が示すデータ)および受信データ60に含まれるエントリ(第4の設定が示すデータ)の周期的な更新を繰返し実行する。
In this way, the
また、出力データ80と送信データ50との間で設定されたデータサイズが一致しない、および/または、入力データ90と受信データ60との間で設定されたデータサイズが一致しない場合の挙動を任意に設定できるようにしてもよい。例えば、データサイズが一致しない場合に、(1)ユーザに対して警告を報知した上で中継ユニット250でのデータ転送を実行する、(2)何らかの警告も報知せず中継ユニット250でのデータ転送を実行する、(3)中継ユニット250でのデータ転送を停止または無効化する、といった複数のモードをユーザが任意に選択できるようにしてもよい。
In addition, the behavior when the data size set between the
すなわち、予め定められた特定の状態において、(1)または(2)が選択されてもよく、当該特定の状態とは別の状態において、(3)が選択されてもよい。 That is, (1) or (2) may be selected in a predetermined specific state, and (3) may be selected in a state other than the specific state.
(1)または(2)が選択された場合には、主制御装置10と中継ユニット250との間のデータ更新、ならびに、演算ユニット200と中継ユニット250との間のデータ更新については、交換設定268の設定内容に依存せずに実行されてもよい。さらに、報知する警報の種類あるいは重要度を異ならせたモードを追加してもよい。
When (1) or (2) is selected, exchange settings are required for data updates between
(3)が選択された場合には、主制御装置10と中継ユニット250との間のデータ更新、演算ユニット200と中継ユニット250との間のデータ更新、ならびに、中継ユニット250におけるデータ交換のいずれもが停止または無効化されてもよい。
If (3) is selected, any of the data update between the
このように、ユーザによって設定されるモードに応じて、(1)~(3)の各々を実行するための状態を選択するようにしてもよい。ユーザが設定を行う方法として、中継ユニット250または演算ユニット200に設けられたスイッチを用いてもよいし、ユーザがサポート装置300を操作することで内部のモード設定を変更するようにしてもよい。
In this way, the state for executing each of (1) to (3) may be selected depending on the mode set by the user. As a method for the user to make settings, a switch provided in the
また、(1)における警告の報知の方法として、中継ユニット250または演算ユニット200に設けられた表示デバイス(例えば、LED)を点滅または点灯する方法を採用してもよい。あるいは、警告の報知の方法として、中継ユニット250または演算ユニット200に設けられた音声デバイス(例えば、スピーカ)から警告を示す音または音声を出力する方法を採用してもよい。あるいは、演算ユニット200のシステムデータに、警告の有無を示すフラグなどを用意しておき、ユーザがサポート装置300を操作することで、警告の発生を認識できるようにしてもよい。
Further, as a method for notifying the warning in (1), a method of blinking or lighting a display device (for example, an LED) provided in the
このように、制御システム1は、出力データ80に含まれるエントリと送信データ50に含まれるエントリとの間でデータサイズが一致しない場合、および/または、入力データ90に含まれるエントリと受信データ60に含まれるエントリとの間でデータサイズが一致しない場合に、警告を報知する報知部を含んでいてもよい。
In this way, when the data sizes do not match between an entry included in the
図12は、本実施の形態に従う制御システムにおいてデータ更新が停止している場合の動作例を説明するための図である。図12には、演算ユニット200と中継ユニット250との間のデータ更新44(出力データ80の更新および入力データ90の送信)が何らかの理由で停止している状態を示す。
FIG. 12 is a diagram for explaining an example of the operation when data updating is stopped in the control system according to the present embodiment. FIG. 12 shows a state in which data updating 44 (updating of
停止の理由としては、例えば、(1)いずれかのユニットに何らかの故障が生じた場合、(2)いずれかのユニットの設定に何らかの誤りがある(何らの設定もなされていない場合も含み得る)、(3)いずれかのユニットが関与する通信に何らかの異常が発生している(自ユニットが通信異常の原因になっている場合もあるし、他のユニットが通信異常の原因になっている場合もある)などが挙げられる。 Reasons for stopping include, for example, (1) some kind of failure has occurred in any of the units; (2) there is some kind of error in the settings of any of the units (this may also include cases where no settings have been made). , (3) Some kind of abnormality has occurred in the communication involving one of the units (the own unit may be the cause of the communication error, or another unit may be the cause of the communication error) ), etc.
このような状態であっても、主制御装置10と中継ユニット250との間のデータ更新42(送信データ50の送信および受信データ60の更新)は継続する。すなわち、主制御装置10と中継ユニット250との間のデータ更新42、および、演算ユニット200と中継ユニット250との間のデータ更新44の互いに独立して実行されるので、一方が何らかの理由で停止したとしても、他方に影響を与えることはない。
Even in such a state, data updating 42 (transmission of
なお、図12には、演算ユニット200と中継ユニット250との間のデータ更新44が停止している状態を示すが、主制御装置10と中継ユニット250との間のデータ更新42が停止している状態であっても同様である。
Note that although FIG. 12 shows a state where the
さらに、主制御装置10において、演算ユニット200と中継ユニット250との間のデータ更新44が停止している状態を知ることができる仕組み、および/または、演算ユニット200において、主制御装置10と中継ユニット250との間のデータ更新42が停止している状態を知ることができる仕組みを用意してもよい。
Furthermore, in the
例えば、図12に示す状態において、主制御装置10と中継ユニット250との間のデータ更新42は継続されて、主制御装置10は、演算ユニット200と中継ユニット250との間のデータ更新44が停止していることを直接的に知ることができない。そこで、中継ユニット250は、演算ユニット200と中継ユニット250との間のデータ更新44が停止していることを含めた通信の正当性に関する情報を主制御装置10に送信するようにしてもよい。
For example, in the state shown in FIG. 12, the
主制御装置10は、中継ユニット250からの情報に基づいて、中継ユニット250から演算ユニット200までのデータ通信に生じている異常を知ることができる。例えば、正当性に関する情報を任意の変数に割り当てることで、主制御装置10において実行されるユーザプログラム132から当該変数を参照可能にしてもよい。
Based on the information from the
同様に、主制御装置10と中継ユニット250との間のデータ更新42が停止している状態において、中継ユニット250は、主制御装置10と中継ユニット250との間のデータ更新42が停止していることを含めた通信の正当性に関する情報を演算ユニット200に送信するようにしてもよい。
Similarly, in a state where the
このように、主制御装置10および/または演算ユニット200において、直接的に接続されていないネットワークの状態を知ることができるような仕組みを採用することで、通信の正当性を監視しながら、主制御装置10および/または演算ユニット200において通信処理を実行できる。
In this way, by adopting a mechanism that allows the
<F.処理手順例>
次に、本実施の形態に従う制御システム1における中継ユニット250の処理手順例について説明する。
<F. Processing procedure example>
Next, an example of a processing procedure of
図13は、本実施の形態に従う中継ユニット250のサイクリック通信によるI/Oデータ送信の処理手順例を示すフローチャートである。図13に示す各ステップは、中継ユニット250のプロセッサ262がシステムプログラムを実行することで実現されてもよい。
FIG. 13 is a flowchart illustrating an example of a processing procedure for transmitting I/O data through cyclic communication by
図13を参照して、中継ユニット250は、交換設定268を読み込む条件が成立したか否かを判断する(ステップS100)。交換設定268を読み込む条件は、例えば、中継ユニット250の電源投入直後、中継ユニット250のリセット直後、新たな交換設定268がサポート装置300から転送された直後などを含む。
Referring to FIG. 13,
交換設定268を読み込む条件が成立していれば(ステップS100においてYES)、中継ユニット250は、交換設定268を読み込んで、出力データ80および入力データ90のエントリの割り当て、ならびに、送信データ50および受信データ60のエントリの割り当てを取得し(ステップS102)、出力データ80と送信データ50との間で設定されたデータサイズが一致するか否か、および、入力データ90と受信データ60との間で設定されたデータサイズが一致するか否かを判断する(ステップS104)。
If the conditions for reading
出力データ80と送信データ50との間で設定されたデータサイズが一致しない、および/または、入力データ90と受信データ60との間で設定されたデータサイズが一致しない場合(ステップS104においてNO)、中継ユニット250は、現在設定されているモードを取得し(ステップS106)、設定されているモードに応じて、データサイズの不一致がデータ転送の実行条件であるか否かを判断する(ステップS108)。
If the data sizes set between the
データサイズの不一致がデータ転送の実行条件であれば(ステップS108においてYES)、中継ユニット250は、データ転送を停止する(ステップS110)。そして、処理は終了する。
If the data size mismatch is a data transfer execution condition (YES in step S108),
データサイズの不一致がデータ転送の実行条件でなければ(ステップS108においてNO)、中継ユニット250は、設定されているモードに応じた態様で、データサイズの不一致を示す警告を報知する(ステップS112)。また、中継ユニット250は、出力データ80と送信データ50との間で一致しているエントリ、および、入力データ90と受信データ60との間で一致しているエントリに基づいて、データ転送の対象データを決定する(ステップS114)。そして、ステップS100以下の処理が繰り返される。
If the data size mismatch is not a data transfer execution condition (NO in step S108), the
出力データ80と送信データ50との間で設定されたデータサイズが一致し、かつ、入力データ90と受信データ60との間で設定されたデータサイズが一致する場合(ステップS104においてYES)、中継ユニット250は、交換設定268に基づいて、データ転送の対象データを決定する(ステップS116)。そして、ステップS100以下の処理が繰り返される。
If the data sizes set between the
交換設定268を読み込む条件が成立していなければ(ステップS100においてNO)、中継ユニット250は、送信データ50および受信データ60を更新する(ステップS118)とともに、出力データ80および入力データ90を更新する(ステップS120)。すなわち、中継ユニット250は、交換設定268の設定内容にかかわらず、フィールドネットワーク4を介した主制御装置10と中継ユニット250との間の送信データ50および受信データ60のデータ更新、および、内部バス6を介した演算ユニット200と中継ユニット250との間の出力データ80および入力データ90のデータ更新、をそれぞれ周期的に実行する。
If the conditions for reading
そして、中継ユニット250は、データ転送の対象データについて、出力データ80と送信データ50との間、および、受信データ60と入力データ90との間でデータ転送を行う(ステップS122)。なお、データ転送の対象データがない場合も存在する。この場合には、実質的にデータ交換は行われない。そして、ステップS100以下の処理が繰り返される。
Then, the
なお、図13には、中継ユニット250が交換設定268の設定内容を評価する処理例を示すが、演算ユニット200が交換設定268の設定内容を評価するようにしてもよい。この場合には、図13に示す処理手順は、演算ユニット200および中継ユニット250が連携して実行されることになる。さらに、図13に示す処理手順の少なくとも一部をサポート装置300が実行するようにしてもよい。
Although FIG. 13 shows a processing example in which the
なお、交換設定268が存在しない場合、および/または、交換設定268の設定内容が実質的に何もない場合においては、仮に、中継ユニット250が交換設定268を読み込んでも、何らの設定もなされない。このような場合であっても、中継ユニット250におけるデータ交換46(送信データ50を出力データ80で更新、および、入力データ90を受信データ60で更新)が実行されないだけであり、主制御装置10と中継ユニット250との間のデータ更新42(送信データ50の送信および受信データ60の更新)、および、演算ユニット200と中継ユニット250との間のデータ更新44(出力データ80の更新および入力データ90の送信)は、予め定められた設定に従って実行されてもよい。
Note that if the exchange setting 268 does not exist and/or if there is virtually no setting content in the exchange setting 268, no settings will be made even if the
このように、中継ユニット250は、交換設定268が存在しなくても、主制御装置10とのデータ更新および演算ユニット200とのデータ更新を継続するようにしてもよい。
In this way, the
<G.ユーザインターフェイス>
次に、本実施の形態に従う制御システム1における中継ユニット250の交換設定268を作成するためのユーザインターフェイス例について説明する。
<G. User interface>
Next, an example of a user interface for creating
図14は、本実施の形態に従う制御システム1における中継ユニット250の交換設定268を作成するためのユーザインターフェイス例を示す模式図である。例えば、サポート装置300が図14に示すユーザインターフェイスを提供する。
FIG. 14 is a schematic diagram showing an example of a user interface for creating
図14を参照して、設定画面350は、演算ユニット200から主制御装置10へ転送するデータの設定項目群352と、主制御装置10から演算ユニット200へ転送するデータの設定項目群354とを含む。設定項目群352,354の各々は、データ構造およびデータ種類の別に複数種類の設定を含む。設定画面350は、データ転送の対象となるデータ候補群356を含む。
Referring to FIG. 14, a
ユーザは、設定項目群352,354のうち対象の項目を選択した上で、データ候補群356から転送対象のデータを選択する。追加ボタン358が押下されることで、選択中のデータが転送対象として追加され、削除ボタン360が押下されることで、選択中のデータが転送対象から削除される。
The user selects the target item from the setting
ユーザが設定画面350を操作して作成した交換設定268は、中継ユニット250に格納されるとともに、主制御装置10および演算ユニット200にも対応する設定が格納される。
The
図14に示すユーザインターフェイス例に限られず、任意のインターフェイスが提供されてもよいし、ユーザインターフェイスを用意せずに、任意の方法で交換設定268を作成できるようにしてもよい。
The user interface is not limited to the example shown in FIG. 14, and any interface may be provided, or the
また、フィールドネットワーク4のフレーム30に含まれるデータのエントリの設定については、別の設定画面が提供される。
Further, a separate setting screen is provided for setting entries of data included in the
さらに、ユーザインターフェイスは、サポート装置300が提供するのではなく、演算ユニット200または中継ユニット250が直接的に提供するようにしてもよい。この場合には、例えば、演算ユニット200または中継ユニット250にウェブサーバ機能を組み込んでもよい。
Furthermore, the user interface may not be provided by the
このように、制御システム1は、ユーザ操作に応じて、交換設定268を作成するためのユーザインターフェイスを提供するようにしてもよい。
In this manner,
<H.付記>
上述したような本実施の形態は、以下のような技術思想を含む。
<H. Additional notes>
This embodiment as described above includes the following technical idea.
[構成1]
ネットワーク(4)を介して接続された第1制御装置(10)および第2制御装置(20)を備える制御システム(1)であって、
前記第2制御装置は、制御演算を実行する演算ユニット(200)と、前記ネットワークに接続するためのインターフェイス(270)を有する中継ユニット(250)とを備え、
前記中継ユニットは、交換設定(268)に従って、前記演算ユニットが管理するデータ(70)の前記ネットワークを介した送信、および、前記ネットワークを介して受信したデータによる前記演算ユニットが管理するデータの更新、を含むデータ転送を実行するように構成されており、
前記交換設定は、前記演算ユニットが管理するデータのうち送信対象のデータ(80)を示す第1の設定と、前記ネットワークを介して送信するデータ(50)を示す第2の設定と、前記演算ユニットが管理するデータのうち更新対象となるデータ(90)を示す第3の設定と、前記ネットワークを介して受信するデータ(60)を示す第4の設定とを含み、
前記中継ユニットは、
前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致するか否か、および、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断し、
予め定められた第1の状態において、前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致しない場合であっても、前記交換設定に従うデータ転送を実行する、制御システム。
[Configuration 1]
A control system (1) comprising a first control device (10) and a second control device (20) connected via a network (4),
The second control device includes a calculation unit (200) that performs control calculations, and a relay unit (250) having an interface (270) for connecting to the network,
The relay unit transmits data (70) managed by the computing unit via the network and updates the data managed by the computing unit with data received via the network, according to exchange settings (268). is configured to perform data transfers including,
The exchange settings include a first setting indicating data to be transmitted (80) among data managed by the calculation unit, a second setting indicating data (50) to be transmitted via the network, and a second setting indicating the data (50) to be transmitted via the network. including a third setting indicating data (90) to be updated among data managed by the unit, and a fourth setting indicating data (60) received via the network,
The relay unit is
Whether or not the data sizes of the data indicated by the first setting and the data indicated by the second setting match, and the data indicated by the third setting and the data indicated by the fourth setting. determine at least one of whether the data sizes match between the
In a predetermined first state, if the data size does not match between the data indicated by the first setting and the data indicated by the second setting, and/or the data indicated by the third setting and data indicated by the fourth setting, the control system executes data transfer according to the exchange setting even if data sizes do not match.
[構成2]
前記中継ユニットは、前記第1の状態においては、前記第1の設定が示すデータおよび前記第3の設定が示すデータの周期的な更新、ならびに、前記第2の設定が示すデータおよび前記第4の設定が示すデータの周期的な更新を繰返し実行する、構成1に記載の制御システム。
[Configuration 2]
In the first state, the relay unit periodically updates the data indicated by the first setting and the data indicated by the third setting, and periodically updates the data indicated by the second setting and the data indicated by the fourth setting. The control system according to
[構成3]
前記中継ユニットは、前記交換設定が存在しなくても、前記第1制御装置とのデータ更新および前記演算ユニットとのデータ更新を継続する、構成2に記載の制御システム。
[Configuration 3]
The control system according to configuration 2, wherein the relay unit continues updating data with the first control device and updating data with the arithmetic unit even if the exchange setting does not exist.
[構成4]
前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致しない場合に、警告を報知する報知部をさらに備える、構成1~3のいずれか1項に記載の制御システム。
[Configuration 4]
If the data sizes do not match between the data indicated by the first setting and the data indicated by the second setting, and/or the data indicated by the third setting and the data indicated by the fourth setting. 4. The control system according to any one of
[構成5]
前記中継ユニットは、前記第1の設定が示すデータと前記第2の設定が示すデータとのうち一致しているデータ、および、前記第3の設定が示すデータと前記第4の設定が示すデータとのうち一致しているデータ、についてデータ転送を実行する、構成1~4のいずれか1項に記載の制御システム。
[Configuration 5]
The relay unit may match the data indicated by the first setting and the data indicated by the second setting, and the data indicated by the third setting and the data indicated by the fourth setting. The control system according to any one of
[構成6]
前記中継ユニットは、予め定められたデータサイズのデータがデータ転送されるように、前記交換設定に基づいてダミーデータを生成する、構成1~5のいずれか1項に記載の制御システム。
[Configuration 6]
6. The control system according to any one of
[構成7]
前記制御システムは、ユーザ操作に応じて、前記交換設定を作成するためのユーザインターフェイス(350)を提供する、構成1~6のいずれか1項に記載の制御システム。
[Configuration 7]
The control system according to any one of
[構成8]
前記中継ユニットは、
前記第1の状態とは異なる第2の状態において、前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致しない場合には、前記交換設定に従うデータ転送を停止または無効化する、構成1~7のいずれか1項に記載の制御システム。
[Configuration 8]
The relay unit is
In a second state different from the first state, if the data size does not match between the data indicated by the first setting and the data indicated by the second setting, and/or According to any one of
[構成9]
ユーザによって設定されるモードに応じて、前記第1の状態および前記第2の状態が決定される、構成8に記載の制御システム。
[Configuration 9]
9. The control system according to configuration 8, wherein the first state and the second state are determined depending on a mode set by a user.
[構成10]
ネットワーク(4)を介して他の制御装置(10)と接続された制御装置(20)であって、
制御演算を実行する演算ユニット(200)と、
前記ネットワーク(4)に接続するためのインターフェイス(270)を有する中継ユニット(250)とを備え、
前記中継ユニットは、交換設定(268)に従って、前記演算ユニットが管理するデータ(70)の前記ネットワークを介した送信、および、前記ネットワークを介して受信したデータによる前記演算ユニットが管理するデータの更新、を含むデータ転送を実行するように構成されており、
前記交換設定は、前記演算ユニットが管理するデータのうち送信対象のデータ(80)を示す第1の設定と、前記ネットワークを介して送信するデータ(50)を示す第2の設定と、前記演算ユニットが管理するデータ(90)のうち更新対象となるデータを示す第3の設定と、前記ネットワークを介して受信するデータ(60)を示す第4の設定とを含み、
前記中継ユニットは、
前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致するか否か、および、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断し、
予め定められた第1の状態において、前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致しない場合であっても、前記交換設定に従うデータ転送を実行する、制御装置。
[Configuration 10]
A control device (20) connected to another control device (10) via a network (4),
a calculation unit (200) that performs control calculation;
a relay unit (250) having an interface (270) for connecting to the network (4),
The relay unit transmits data (70) managed by the computing unit via the network and updates the data managed by the computing unit with data received via the network, according to exchange settings (268). is configured to perform data transfers including,
The exchange settings include a first setting indicating data to be transmitted (80) among data managed by the calculation unit, a second setting indicating data (50) to be transmitted via the network, and a second setting indicating the data (50) to be transmitted via the network. including a third setting indicating data to be updated among data (90) managed by the unit, and a fourth setting indicating data (60) received via the network,
The relay unit is
Whether or not the data sizes of the data indicated by the first setting and the data indicated by the second setting match, and the data indicated by the third setting and the data indicated by the fourth setting. determine at least one of whether the data sizes match between the
In a predetermined first state, if the data size does not match between the data indicated by the first setting and the data indicated by the second setting, and/or the data indicated by the third setting and data indicated by the fourth setting, the control device executes data transfer according to the exchange setting even if data sizes do not match.
[構成11]
ネットワーク(4)を介して接続された第1制御装置(10)および第2制御装置(20)を備える制御システム(1)における通信方法であって、前記第2制御装置は、制御演算を実行する演算ユニットと、前記ネットワークに接続するためのインターフェイスを有する中継ユニットとを備え、前記通信方法は、
前記中継ユニットが、交換設定(268)に従って、前記演算ユニットが管理するデータ(70)の前記ネットワークを介した送信、および、前記ネットワークを介して受信したデータによる前記演算ユニットが管理するデータの更新、を含むデータ転送を実行するステップを備え、前記交換設定は、前記演算ユニットが管理するデータのうち送信対象のデータ(80)を示す第1の設定と、前記ネットワークを介して送信するデータ(50)を示す第2の設定と、前記演算ユニットが管理するデータのうち更新対象となるデータ(90)を示す第3の設定と、前記ネットワークを介して受信するデータ(60)を示す第4の設定とを含み、
前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致するか否か、および、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断するステップ(S104)と、
予め定められた第1の状態において、前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致しない場合であっても、前記中継ユニットが、前記交換設定に従うデータ転送を実行するステップ(S118~S122)とを備える、通信方法。
[Configuration 11]
A communication method in a control system (1) comprising a first control device (10) and a second control device (20) connected via a network (4), wherein the second control device executes a control calculation. and a relay unit having an interface for connecting to the network, the communication method comprising:
The relay unit transmits data (70) managed by the computing unit via the network and updates the data managed by the computing unit with data received via the network, according to exchange settings (268). , the exchange settings include a first setting indicating data (80) to be transmitted among data managed by the arithmetic unit, and data (80) to be transmitted via the network. 50), a third setting indicating data (90) to be updated among data managed by the arithmetic unit, and a fourth setting indicating data (60) to be received via the network. including the settings of
Whether or not the data sizes of the data indicated by the first setting and the data indicated by the second setting match, and the data indicated by the third setting and the data indicated by the fourth setting. a step of determining at least one of whether or not the data sizes match between the two (S104);
In a predetermined first state, if the data size does not match between the data indicated by the first setting and the data indicated by the second setting, and/or the data indicated by the third setting and the step (S118 to S122) in which the relay unit executes data transfer according to the exchange setting even if the data size does not match between the data indicated by the exchange setting and the data indicated by the fourth setting. .
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed this time should be considered to be illustrative in all respects and not restrictive. The scope of the present invention is indicated by the claims rather than the above description, and it is intended that all changes within the meaning and range equivalent to the claims are included.
1 制御システム、3M,31,32~3N 領域、4 フィールドネットワーク、6 内部バス、10 主制御装置、20 副制御装置、30 フレーム、40 制御演算、50 送信データ、60 受信データ、70 プロセスデータ、72,90 入力データ、74,80 出力データ、76 システムデータ、82 システム管理、100,200 演算ユニット、102,202,262 プロセッサ、104,204 チップセット、106,206,264 メモリ、108,208,266 ストレージ、110,210 上位ネットワークインターフェイス、112,212 USBインターフェイス、114,214 メモリカードインターフェイス、116,216 メモリカード、120,270 フィールドネットワークインターフェイス、131,231 システムプログラム、132,232 ユーザプログラム、220,280 内部バスインターフェイス、250 中継ユニット、260 処理回路、268 交換設定、300 サポート装置、350 設定画面、352,354 設定項目群、356 データ候補群、358 追加ボタン、360 削除ボタン。 1 Control system, 3M, 31, 32 to 3N area, 4 Field network, 6 Internal bus, 10 Main controller, 20 Sub controller, 30 Frame, 40 Control calculation, 50 Transmission data, 60 Reception data, 70 Process data, 72,90 input data, 74,80 output data, 76 system data, 82 system management, 100,200 arithmetic unit, 102,202,262 processor, 104,204 chipset, 106,206,264 memory, 108,208, 266 storage, 110,210 upper network interface, 112,212 USB interface, 114,214 memory card interface, 116,216 memory card, 120,270 field network interface, 131,231 system program, 132,232 user program, 220, 280 internal bus interface, 250 relay unit, 260 processing circuit, 268 exchange setting, 300 support device, 350 setting screen, 352, 354 setting item group, 356 data candidate group, 358 add button, 360 delete button.
Claims (11)
前記第2制御装置は、制御演算を実行する演算ユニットと、前記ネットワークに接続するためのインターフェイスを有する中継ユニットとを備え、
前記中継ユニットは、交換設定に従って、前記演算ユニットが管理するデータの前記ネットワークを介した送信、および、前記ネットワークを介して受信したデータによる前記演算ユニットが管理するデータの更新、を含むデータ転送を実行するように構成されており、
前記交換設定は、前記演算ユニットが管理するデータのうち送信対象のデータを示す第1の設定と、前記ネットワークを介して送信するデータを示す第2の設定と、前記演算ユニットが管理するデータのうち更新対象となるデータを示す第3の設定と、前記ネットワークを介して受信するデータを示す第4の設定とを含み、
前記中継ユニットは、
前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致するか否か、および、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断し、
予め定められた第1の状態において、前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致しない場合であっても、前記交換設定に従うデータ転送を実行する、制御システム。 A control system comprising a first control device and a second control device connected via a network,
The second control device includes a calculation unit that performs control calculations and a relay unit that has an interface for connecting to the network,
The relay unit performs data transfer, including transmitting data managed by the computing unit via the network and updating data managed by the computing unit with data received via the network, according to exchange settings. is configured to run
The exchange settings include a first setting indicating data to be transmitted among the data managed by the computing unit, a second setting indicating data to be transmitted via the network, and a second setting indicating data to be transmitted among the data managed by the computing unit. including a third setting indicating data to be updated and a fourth setting indicating data received via the network,
The relay unit is
Whether or not the data sizes of the data indicated by the first setting and the data indicated by the second setting match, and the data indicated by the third setting and the data indicated by the fourth setting. determine at least one of whether the data sizes match or not,
In a predetermined first state, if the data size does not match between the data indicated by the first setting and the data indicated by the second setting, and/or the data indicated by the third setting and data indicated by the fourth setting, the control system executes data transfer according to the exchange setting even if data sizes do not match.
前記第1の状態とは異なる第2の状態において、前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致しない場合には、前記交換設定に従うデータ転送を停止または無効化する、請求項1~4のいずれか1項に記載の制御システム。 The relay unit is
In a second state different from the first state, if the data size does not match between the data indicated by the first setting and the data indicated by the second setting, and/or According to any one of claims 1 to 4, when data sizes do not match between the data indicated by the setting and the data indicated by the fourth setting, data transfer according to the exchange setting is stopped or invalidated. Control system as described.
制御演算を実行する演算ユニットと、
前記ネットワークに接続するためのインターフェイスを有する中継ユニットとを備え、
前記中継ユニットは、交換設定に従って、前記演算ユニットが管理するデータの前記ネットワークを介した送信、および、前記ネットワークを介して受信したデータによる前記演算ユニットが管理するデータの更新、を含むデータ転送を実行するように構成されており、
前記交換設定は、前記演算ユニットが管理するデータのうち送信対象のデータを示す第1の設定と、前記ネットワークを介して送信するデータを示す第2の設定と、前記演算ユニットが管理するデータのうち更新対象となるデータを示す第3の設定と、前記ネットワークを介して受信するデータを示す第4の設定とを含み、
前記中継ユニットは、
前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致するか否か、および、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断し、
予め定められた第1の状態において、前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致しない場合であっても、前記交換設定に従うデータ転送を実行する、制御装置。 A control device connected to other control devices via a network,
a calculation unit that performs control calculations;
and a relay unit having an interface for connecting to the network,
The relay unit performs data transfer, including transmitting data managed by the computing unit via the network and updating data managed by the computing unit with data received via the network, according to exchange settings. is configured to run
The exchange settings include a first setting indicating data to be transmitted among the data managed by the computing unit, a second setting indicating data to be transmitted via the network, and a second setting indicating data to be transmitted among the data managed by the computing unit. including a third setting indicating data to be updated and a fourth setting indicating data received via the network,
The relay unit is
Whether or not the data sizes of the data indicated by the first setting and the data indicated by the second setting match, and the data indicated by the third setting and the data indicated by the fourth setting. determine at least one of whether the data sizes match between the
In a predetermined first state, if the data size does not match between the data indicated by the first setting and the data indicated by the second setting, and/or the data indicated by the third setting and data indicated by the fourth setting, the control device executes data transfer according to the exchange setting even if data sizes do not match.
前記中継ユニットが、交換設定に従って、前記演算ユニットが管理するデータの前記ネットワークを介した送信、および、前記ネットワークを介して受信したデータによる前記演算ユニットが管理するデータの更新、を含むデータ転送を実行するステップを備え、前記交換設定は、前記演算ユニットが管理するデータのうち送信対象のデータを示す第1の設定と、前記ネットワークを介して送信するデータを示す第2の設定と、前記演算ユニットが管理するデータのうち更新対象となるデータを示す第3の設定と、前記ネットワークを介して受信するデータを示す第4の設定とを含み、
前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致するか否か、および、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致するか否か、のうち少なくとも一方を判断するステップと、
予め定められた第1の状態において、前記第1の設定が示すデータと前記第2の設定が示すデータとの間でデータサイズが一致しない場合、および/または、前記第3の設定が示すデータと前記第4の設定が示すデータとの間でデータサイズが一致しない場合であっても、前記中継ユニットが、前記交換設定に従うデータ転送を実行するステップとを備える、通信方法。 A communication method in a control system including a first control device and a second control device connected via a network, wherein the second control device includes an arithmetic unit that executes control calculations and a control unit for connecting to the network. and a relay unit having an interface, the communication method comprising:
The relay unit performs data transfer, including transmitting data managed by the computing unit via the network and updating data managed by the computing unit with data received via the network, according to exchange settings. The exchange settings include a first setting indicating data to be transmitted among data managed by the arithmetic unit, a second setting indicating data to be transmitted via the network, and a second setting indicating the data to be transmitted via the network; including a third setting indicating data to be updated among data managed by the unit, and a fourth setting indicating data received via the network,
Whether or not the data sizes of the data indicated by the first setting and the data indicated by the second setting match, and the data indicated by the third setting and the data indicated by the fourth setting. a step of determining at least one of whether the data sizes match between the two;
In a predetermined first state, if the data size does not match between the data indicated by the first setting and the data indicated by the second setting, and/or the data indicated by the third setting and the step of causing the relay unit to perform data transfer according to the exchange setting even if data sizes do not match between the data indicated by the exchange setting and the data indicated by the fourth setting.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022113437A JP2024011461A (en) | 2022-07-14 | 2022-07-14 | Control system, control device, and communication method |
PCT/JP2023/008837 WO2024014047A1 (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 |
---|---|---|---|
JP2022113437A JP2024011461A (en) | 2022-07-14 | 2022-07-14 | Control system, control device, and communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2024011461A true JP2024011461A (en) | 2024-01-25 |
Family
ID=89536421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022113437A Pending JP2024011461A (en) | 2022-07-14 | 2022-07-14 | Control system, control device, and communication method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2024011461A (en) |
WO (1) | WO2024014047A1 (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6933183B2 (en) * | 2018-03-30 | 2021-09-08 | オムロン株式会社 | Safety control system and safety control unit |
-
2022
- 2022-07-14 JP JP2022113437A patent/JP2024011461A/en active Pending
-
2023
- 2023-03-08 WO PCT/JP2023/008837 patent/WO2024014047A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
WO2024014047A1 (en) | 2024-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3073381B1 (en) | Virtual intelligent platform management interface (ipmi) satellite controller and method | |
US8978025B2 (en) | Server and method for updating firmware of server | |
CN110324399B (en) | Bringing cluster awareness into a facility management portal | |
CN107608710A (en) | Software project structure task collocation method and device based on Jenkins instruments | |
JP2012174081A (en) | Information processing system | |
CN114296405B (en) | Achieving server-less functionality using container orchestration systems and operating technology devices | |
WO2017032112A1 (en) | Method for communicating with board having no central processing unit and communication device | |
CN109839890B (en) | Control device, control method, and computer-readable storage medium | |
CN114531373A (en) | Node state detection method, node state detection device, equipment and medium | |
WO2024014047A1 (en) | Control system, control device, and communication method | |
JP6357879B2 (en) | System and fault handling method | |
WO2020235174A1 (en) | Transfer device, information processing device, and data transfer method | |
JP5276625B2 (en) | Update API detection system, update API detection device, update API detection method, and update API detection program | |
WO2023248548A1 (en) | Control system, relay device, and communication method | |
TW201826138A (en) | Cloud service hosting system and methods for handling abnormal states of cloud services | |
WO2024014048A1 (en) | Control system, control device, and communication method | |
JP6973063B2 (en) | Image processing system and information processing equipment | |
JP2021043725A (en) | Calculation system, calculation method, and program | |
WO2023248547A1 (en) | Control system, relay device, and communication method | |
JP6394620B2 (en) | Server management system, server, server management method, and service processor | |
CN110221869B (en) | Method and device for configuring data center operating environment | |
WO2023248551A1 (en) | Control system, relay device, and communication method | |
JP5672225B2 (en) | HARDWARE MANAGEMENT DEVICE, INFORMATION PROCESSING DEVICE, HARDWARE MANAGEMENT METHOD, AND COMPUTER PROGRAM | |
JP2015114991A (en) | Data processor, data processor monitoring method and data processing system | |
JP6915583B2 (en) | Safety control system and control method in safety control system |