JP2014174616A - Fa system and control device - Google Patents
Fa system and control device Download PDFInfo
- Publication number
- JP2014174616A JP2014174616A JP2013044353A JP2013044353A JP2014174616A JP 2014174616 A JP2014174616 A JP 2014174616A JP 2013044353 A JP2013044353 A JP 2013044353A JP 2013044353 A JP2013044353 A JP 2013044353A JP 2014174616 A JP2014174616 A JP 2014174616A
- Authority
- JP
- Japan
- Prior art keywords
- parameter setting
- control device
- parameter
- combination
- information
- 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
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
本発明は、ネットワークで接続された制御装置間でデータ通信を行うFAシステムおよび制御装置に関する。 The present invention relates to an FA system and a control device that perform data communication between control devices connected via a network.
制御装置間をネットワークで接続するFA(Factory Automation)システムは、センサ機器内などに使用される制御ユニットのパラメータ設定の設定項目が多く複雑である。そのため、制御装置の故障や交換に備えて、ユーザが簡単にパラメータ設定を書き換えることが望まれている。このようなパラメータ設定の書き換え方法として、例えば、現在稼動中のパラメータ設定のバックアップ、システム復元の際のパラメータ設定のリストアが行われる。 An FA (Factory Automation) system for connecting control devices via a network has many setting items for parameter setting of control units used in sensor devices and the like. Therefore, it is desired that the user can easily rewrite the parameter setting in preparation for failure or replacement of the control device. As such a parameter setting rewriting method, for example, the parameter setting currently being operated is backed up and the parameter setting is restored when the system is restored.
パラメータ設定のバックアップやリストアを行う際には、パラメータ設定値ごとに対応するパラメータ設定項目の情報が必要となり、伝送フレームのデータサイズが大きくなる。そのため、CC−Linkなどの大量のデータ通信に向かないネットワークでは、制御データの送受信の開始の遅延や、通信の遅延によるタイムアウトなどが発生する恐れがある。 When backing up or restoring parameter settings, information on parameter setting items corresponding to each parameter setting value is required, and the data size of the transmission frame increases. Therefore, in a network that is not suitable for a large amount of data communication such as CC-Link, there is a possibility that a delay in starting transmission / reception of control data, a timeout due to a communication delay, or the like may occur.
そこで、伝送フレームに、パラメータ設定項目の組合せを示す組合せ識別情報と、各パラメータ設定値とを格納する方法が考えられる。この方法では、パラメータ設定項目が多数ある場合であっても、これらの組合せを示す情報を伝送フレーム内に格納しておけばよいので、データ通信量を削減することができる(特許文献1〜3)。
Therefore, a method for storing combination identification information indicating a combination of parameter setting items and each parameter setting value in a transmission frame is conceivable. In this method, even if there are a large number of parameter setting items, it is only necessary to store information indicating these combinations in the transmission frame, so that the amount of data communication can be reduced (
しかしながら、上記従来の技術では、パラメータ設定項目分のデータ通信量しか削減できない。このため、最大でも2分の1程度のデータ通信量しか削減できず、十分な削減とはいえなかった。 However, the above conventional technique can reduce only the data communication amount for the parameter setting items. For this reason, only a half of the data communication amount can be reduced at the maximum, which is not a sufficient reduction.
また、データ送受信を行う全ての機器が、組合せ識別情報に対応するパラメータ設定項目の一覧情報をデータテーブルとして保持しておく必要がある。このため、各機器における記憶領域の圧迫に繋がるという問題があった。 In addition, all devices that perform data transmission and reception need to hold parameter setting item list information corresponding to the combination identification information as a data table. For this reason, there has been a problem that the storage area of each device is compressed.
本発明は、上記に鑑みてなされたものであって、パラメータ設定のバックアップやリストアを行う際のデータ通信量を削減しつつデータ記憶量の増大を抑制したFAシステムおよび制御装置を得ることを目的とする。 The present invention has been made in view of the above, and it is an object of the present invention to obtain an FA system and a control device that suppress an increase in the amount of data storage while reducing the amount of data communication when performing backup and restoration of parameter settings. And
上述した課題を解決し、目的を達成するために、本発明は、第1の制御対象機械を制御する第1の制御装置と、第2の制御対象機械を制御するとともに、ネットワークを介して前記第1の制御装置にパラメータ設定のバックアップ要求およびリストア要求を行う第2の制御装置と、を備え、前記第1の制御装置は、パラメータ設定項目の組合せと、前記パラメータ設定項目毎のパラメータ設定値と、前記組合せの種類を識別する組合せ識別情報と、が対応付けされた組合せ情報を記憶しておく第1の記憶部と、前記パラメータ設定項目または前記パラメータ設定値を変更した場合に、前記組合せ情報の中で変更後のパラメータ設定との差分が最も小さい組合せ情報を抽出するとともに、抽出した組合せ情報内のパラメータ設定と前記変更後のパラメータ設定との間の差分を算出し、算出した差分と当該差分に対応する組合せ識別情報と、をパラメータ差分情報として生成する算出部と、前記パラメータ差分情報を記憶しておく第2の記憶部と、前記第2の制御装置から前記バックアップ要求があった場合に、前記パラメータ差分情報を前記第2の制御装置に送信する第1の通信部と、を有し、前記第2の制御装置は、前記第1の制御装置のパラメータ設定をバックアップする際には前記第1の制御装置から前記パラメータ差分情報を受信し、前記第1の制御装置にパラメータ設定をリストアする際には前記パラメータ差分情報を前記第1の制御装置に送信する第2の通信部と、前記第1の制御装置から受信したパラメータ差分情報を記憶しておく第3の記憶部と、を有していることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention controls a first control device that controls a first controlled object machine, a second controlled object machine, and the network via a network. A second control device that makes a parameter setting backup request and a restore request to the first control device, wherein the first control device includes a combination of parameter setting items and a parameter setting value for each parameter setting item. A first storage unit that stores combination information associated with the combination identification information for identifying the type of the combination, and the combination when the parameter setting item or the parameter setting value is changed. The combination information with the smallest difference from the changed parameter setting in the information is extracted, and the parameter setting in the extracted combination information and the changed A calculation unit that calculates a difference between the parameter setting, generates the calculated difference and combination identification information corresponding to the difference as parameter difference information, and a second storage unit that stores the parameter difference information And a first communication unit that transmits the parameter difference information to the second control device when the backup request is received from the second control device, and the second control device includes: When the parameter setting of the first control device is backed up, the parameter difference information is received from the first control device, and when the parameter setting is restored to the first control device, the parameter difference information is received. A second communication unit that transmits the information to the first control device, and a third storage unit that stores the parameter difference information received from the first control device. And features.
本発明によれば、パラメータ設定のバックアップやリストアを行う際のデータ通信量を削減しつつデータ記憶量の増大を抑制することが可能になるという効果を奏する。 According to the present invention, it is possible to suppress an increase in the amount of data stored while reducing the amount of data communication when performing backup and restoration of parameter settings.
以下に、本発明の実施の形態に係るFAシステムおよび制御装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, an FA system and a control device according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態
図1は、実施の形態に係るFAシステムの構成を示す図である。FA(Factory Automation)システム1は、制御装置間をネットワーク101で接続したシステムであり、制御装置間でデータ通信が行われる。FAシステム1における制御装置は、PLC(Programmable Logic Controller)20と、PLC30と、制御機器40とである。このように、FAシステム1は、PLC20,30と、制御機器40と、ネットワーク101とを備えている。FAシステム1では、PLC30および制御機器40が第1の制御装置として動作し、PLC20が第2の制御装置として動作する。
Embodiment FIG. 1 is a diagram illustrating a configuration of an FA system according to an embodiment. The FA (Factory Automation)
PLC20は、エンジニアリングツール10に接続されている。PLC20は、エンジニアリングツール10からの指示により、PLC30または制御機器40にデータの送受信要求(バックアップ要求、リストア要求)を発行する。PLC20は、パラメータ設定のバックアップを行う場合に、PLC30や制御機器40にバックアップ要求を行う。また、PLC20は、パラメータ設定のリストアを行う場合に、PLC30や制御機器40にリストア要求を行う。換言すると、PLC20は、バックアップ要求やリストア要求の要求元であり、PLC30や制御機器40は、バックアップ要求やリストア要求の相手先である。
The
制御機器40は、通信ユニット41と制御ユニット42とを有している。通信ユニット41および制御ユニット42は、ネットワーク101を介してPLC20,30と通信を行う。制御ユニット42は、センサ機器などの制御を行う。
The
FAシステム1では、例えば制御装置毎に局番が与えられており、この局番を用いてネットワーク101を介したデータ通信が行われる。図1に示すFAシステム1では、PLC20が局番1であり、PLC30が局番2であり、制御機器40が局番3である場合を示している。
In the
PLC20は、PLC30および制御機器40で用いられるパラメータ設定のバックアップ、システム復元の際のパラメータ設定のリストアなどを行う。パラメータ設定は、例えばFAシステム1のセンサ機能などに用いられる。
The
PLC30および制御機器40は、設定中のパラメータを用いて、種々の機器(センサ機器など)を制御する。PLC30および制御機器40は、PLC20からバックアップ要求があった場合に、PLC20にバックアップ応答を送る。本実施の形態のバックアップ応答は、予め設定しておいたパラメータ設定と、実際に用いているパラメータ設定との差分である。PLC30および制御機器40には、予めパラメータ設定項目の組合せに関する情報(以下、組合せ情報100という)を記憶させておく。組合せ情報100は、複数種類のパラメータ設定項目と、各パラメータ設定項目に対応するパラメータ設定値と、パラメータ設定項目およびパラメータ設定値の組合せを識別する組合せ識別情報と、を含んで構成されている。PLC30および制御機器40は、複数種類の組合せ情報100を記憶しておく。換言すると、PLC30および制御機器40は、パラメータ設定項目の組合せと、パラメータ設定項目毎のパラメータ設定値と、これらの組合せの種類(項目および値の組合わせ方)を識別する組合せ識別情報と、が対応付けされた組合せ情報100を記憶しておく。
The
PLC30および制御機器40は、組合せ情報100の中から、実際に用いているパラメータ設定に最も近いパラメータ設定を抽出する。PLC30および制御機器40は、組合せ情報100内のパラメータ設定項目およびパラメータ設定値の組合せ(後述する組合せテーブル61〜63)の中から、実際に用いているパラメータ設定に最も近いものを抽出する。
The
さらに、PLC30および制御機器40は、抽出した組合せ情報100内のパラメータ設定項目およびパラメータ設定値と、実際に用いているパラメータ設定項目およびパラメータ設定値とを比較し、両者の差分と組合せ識別情報とを対応付けした情報(以下、パラメータ差分情報という)をバックアップ応答としてPLC20に送る。これにより、パラメータ設定値自体の情報量を削減できるようになる。
Furthermore, the
また、PLC30および制御機器40は、PLC20からリストア要求があった場合に、リストア要求に応じたパラメータ設定を行う。本実施の形態のリストア要求内の情報は、バックアップ応答と同様の情報である。したがって、PLC30および制御機器40は、リストア要求内から、パラメータ差分情報を抽出する。そして、PLC30および制御機器40は、組合せ識別情報に基づいて組合せ情報100を抽出し、組合せ情報100内のパラメータ設定項目およびパラメータ設定値と、リストア要求内のパラメータ差分情報と、に基づいて、リストア要求に対応するパラメータ設定を行う。
In addition, when there is a restore request from the
図2−1は、パラメータ設定のバックアップ処理を説明するための図である。パラメータ設定のバックアップ処理が行われる際には、稼働中の制御装置(ここではPLC30および制御機器40)からパラメータ設定値の差分など(パラメータ差分情報)がPLC20に送られる。そして、PLC20がパラメータ差分情報を記憶しておくことによって、パラメータ設定のバックアップが行われることとなる。
FIG. 2A is a diagram for explaining a parameter setting backup process. When the parameter setting backup process is performed, a difference in parameter setting values (parameter difference information) is sent to the
図2−2は、パラメータ設定のリストア処理を説明するための図である。FAシステム1を復元する際などに、パラメータ設定のリストア処理が行われる。例えば、制御機器40が故障した場合には、新たな制御機器50が制御機器40の代わりにネットワーク101に接続される。このような場合には、新たな制御機器50に、制御機器40と同様のパラメータ設定を行う必要がある。本実施の形態では、PLC20でバックアップしておいたパラメータ差分情報を制御機器50に送ることにより、パラメータ設定のリストア処理が行われる。
FIG. 2B is a diagram for explaining the parameter setting restoration process. When the
図3は、PLCおよび制御機器の内部構成を示す図である。PLC20は、記憶部103aおよび通信部103dを有している。また、PLC30は、記憶部104aと、記憶部104bと、演算部104cと、通信部104dと、を有している。
FIG. 3 is a diagram illustrating an internal configuration of the PLC and the control device. The
また、制御機器40の通信ユニット41は、記憶部106aと、記憶部106bと、演算部106cと、通信部106dと、を有している。また、制御機器40の制御ユニット42は、記憶部107aと、記憶部107bと、演算部107cと、通信部107dと、を有している。
The
記憶部(第1の記憶部)104a,106a,107aは、予め組合せ情報100を記憶しておくメモリなどである。組合せ情報100は、パラメータ設定項目の組合せと、パラメータ設定値の組合せとを対応付けした組合せテーブルと、この組合せテーブルを識別する組合せ識別情報とを対応付けした情報である。このように、本実施の形態では、バックアップ要求やリストア要求の相手先であるPLC30および制御機器40が組合せ情報100を記憶しておく。記憶部(第2の記憶部)104b,106b,107bは、パラメータ差分情報(差異情報)を記憶しておくメモリなどである。
The storage units (first storage units) 104a, 106a, and 107a are memories that store the
演算部(算出部)104c,106c,107cは、現在自らに設定されているパラメータ設定(パラメータ設定項目およびパラメータ設定値)と、組合せ情報100と、に基づいて、パラメータ差分情報を算出する。演算部104c,106c,107cは、それぞれ自らが実際に用いているパラメータ設定に変更があった際に、パラメータ差分情報を算出して記憶部104b,106b,107bに記憶させる。
The calculation units (calculation units) 104 c, 106 c, and 107 c calculate parameter difference information based on the parameter settings (parameter setting items and parameter setting values) currently set for itself and the
通信部103d,104d,106d,107dは、それぞれ、他の制御装置とデータ通信を行う。通信部(第2の通信部)103dは、通信部(第1の通信部)104d,106d,107dにバックアップ要求、リストア要求(バックアップデータとしてのパラメータ差分情報)を送信する。通信部104d,106d,107dは、バックアップ応答として通信部103dにパラメータ差分情報を送信する。
The
PLC30および制御機器40のパラメータ設定は、組合せ情報100内のパラメータ設定の組合せのうちの、何れかに設定されている。そして、ユーザ操作などによって個別にパラメータ設定が変更されると、PLC30および制御機器40は、一旦現在のパラメータ設定を一時記憶領域(図示せず)に退避させる。この後、PLC30および制御機器40は、組合せ情報100内のパラメータ設定の組合せのうち、退避させたパラメータ設定と最も差異の小さいパラメータ設定の組合せを選択して自らのパラメータ設定とする。そして、PLC30および制御機器40は、自らのパラメータ設定と、退避させたパラメータ設定とを比較し、差異があるパラメータ設定項目およびパラメータ設定値を抽出する。換言すると、PLC30および制御機器40は、パラメータ設定の差分を抽出する。PLC30および制御機器40は、抽出した差分と組合せ識別情報とを対応付けしたパラメータ差分情報を生成し、記憶部104b,106b,107bに記憶させる。さらに、PLC30および制御機器40は、退避させておいた現在のパラメータ設定を、実際のパラメータ設定に戻す。
The parameter settings of the
また、演算部104c,106c,107cは、リストア要求があった場合には、組合せ情報100と、リストア要求内のパラメータ差分情報と、組合せ識別情報と、に基づいて、パラメータ設定を行う。
In addition, when there is a restore request, the
PLC20の記憶部(第3の記憶部)103aは、PLC30または制御機器40から受信するパラメータ差分情報(バックアップデータ)を記憶するメモリなどである。なお、バックアップ要求やリストア要求の要求元であるPLC20は、組合せ情報100自体を記憶する必要はない。また、PLC20は、相手先(PLC30または制御機器40)から送られてくる応答データを解析する必要はなく、バックアップデータであるパラメータ差分情報をそのままのフォーマットで保持し、リストア時に相手先に送信する。
The storage unit (third storage unit) 103 a of the
従来、PLC20がネットワーク101経由でPLC30または制御機器40のパラメータ設定を書き換えるためには、書き換えるパラメータ設定値ごとに、書き込み先の制御装置のメモリアドレスを指定して情報を送信する必要があった。そのため、従来の方法では、パラメータ設定の書き換え要求元と相手先とが共に同様のパラメータ設定テーブルを保持する必要があった。
Conventionally, in order for the
本実施の形態では、相手先(PLC30または制御機器40)が、要求元(PLC20)の指定するパラメータの組合せ項目に従って、自らのパラメータ設定を書き換えるので、要求元がパラメータ設定テーブルを保持する必要がなく、記憶領域を削減することができる。
In the present embodiment, since the other party (
なお、図3では図示省略したが、PLC20は、第1の制御対象機械(図示せず)を制御する第1の制御部を有し,PLC30は、第2の制御対象機械(図示せず)を制御する第2の制御部を有している。また、制御ユニット42は、第3の制御対象機械(図示せず)を制御する第3の制御部を有している。
Although not shown in FIG. 3, the
図4は、組合せ情報の構成例を示す図である。組合せ情報100は、パラメータ設定項目とパラメータ設定値とが対応付けされた組合せテーブル61〜63を有している。組合せテーブル61〜63には、例えば「閾値」、「入光量」、「タイマ設定」などのパラメータ設定項目と、各パラメータ設定項目に対応するパラメータ設定値とが、設定されている。
FIG. 4 is a diagram illustrating a configuration example of the combination information. The
そして、組合せテーブル61〜63毎に、これらに設定されているパラメータ設定項目およびパラメータ設定値の組合せ(パラメータの組合せ項目)を識別する組合せ識別情報(A〜C)が対応付けされている。 Each of the combination tables 61 to 63 is associated with combination identification information (A to C) for identifying a parameter setting item and a combination of parameter setting values (parameter combination items) set therein.
ここでは、パラメータ設定内容が「工場出荷設定」であるパラメータの組合せ項目が合せ識別情報「A」である場合を示している。また、パラメータ設定内容が「推奨設定1」であるパラメータの組合せ項目が合せ識別情報「B」であり、パラメータ設定内容が「推奨設定2」であるパラメータの組合せ項目が組合せ識別情報「C」である場合を示している。そして、組合せ識別情報「A」と、組合せテーブル61とが対応付けされている。また、組合せ識別情報「B」と、組合せテーブル62とが対応付けされ、組合せ識別情報「C」と、組合せテーブル63とが対応付けされている。 Here, a case is shown in which a parameter combination item whose parameter setting content is “factory shipment setting” is matching identification information “A”. The parameter combination item with the parameter setting content “recommended setting 1” is the combination identification information “B”, and the parameter combination item with the parameter setting content “recommended setting 2” is the combination identification information “C”. It shows a case. The combination identification information “A” and the combination table 61 are associated with each other. Further, the combination identification information “B” and the combination table 62 are associated with each other, and the combination identification information “C” and the combination table 63 are associated with each other.
つぎに、演算部104c,106c,107cによるパラメータ差分情報の算出処理について説明する。図5は、パラメータ差分情報の算出処理を説明するための図である。なお、パラメータ差分情報の算出処理は、演算部104c,106c,107cの何れでも同様であるので、ここでは演算部104cによるパラメータ差分情報の算出処理について説明する。
Next, calculation processing of parameter difference information by the
演算部104cは、組合せ情報100の中から、実際に用いているパラメータ設定に最も近いパラメータ設定を抽出する。具体的には、演算部104cは、組合せ情報100内の組合せテーブル61〜63の中から、実際に用いているパラメータ設定に最も近い組合せテーブルを抽出する。ここでは、組合せテーブル61が抽出された場合について説明する。
The calculation unit 104c extracts the parameter setting closest to the actually used parameter setting from the
演算部104cは、組合せテーブル61内のパラメータ設定項目およびパラメータ設定値と、実際に用いているパラメータ設定項目およびパラメータ設定値と、を比較して両者の差分を抽出する。例えば、組合せテーブル61において閾値に「10」が設定されており、実際に用いている閾値に「12」が設定されている場合、演算部104cは、閾値の差分「2」を抽出する。なお、組合せテーブル61において閾値が設定されていない場合、演算部104cは、実際に用いている閾値の「12」をそのまま閾値の差分として抽出する。図5に示すように、パラメータ差分情報は、組合せ識別情報「A」と、パラメータ設定の差分とを有している。 The computing unit 104c compares the parameter setting item and parameter setting value in the combination table 61 with the parameter setting item and parameter setting value actually used, and extracts the difference between them. For example, when “10” is set as the threshold value in the combination table 61 and “12” is set as the actually used threshold value, the calculation unit 104c extracts the difference “2” between the threshold values. When the threshold value is not set in the combination table 61, the calculation unit 104c extracts the actually used threshold value “12” as it is as a threshold value difference. As illustrated in FIG. 5, the parameter difference information includes combination identification information “A” and a parameter setting difference.
つぎに、バックアップ処理およびリストア処理の処理手順について説明する。図6は、バックアップ処理およびリストア処理の処理手順を示すフローチャートである。図6では、PLC20と、PLC30または制御機器40と、の間のデータ送受信の流れを示している。なお、PLC30および制御機器40は、同様の動作を行うので、ここでは制御機器40の制御ユニット42の動作について説明する。また、図7は、PLCと制御機器との間で送受信されるデータの内容を示す図である。
Next, processing procedures for backup processing and restoration processing will be described. FIG. 6 is a flowchart showing a processing procedure of backup processing and restore processing. FIG. 6 shows a flow of data transmission / reception between the
(1)パラメータ設定のバックアップを行う場合には、PLC20が、制御ユニット42にバックアップ要求を送る。バックアップ要求には、バックアップを要求する要求コマンドが含まれている。本実施の形態のバックアップ要求には、バックアップを要求する対象の局番とユニットIDとを含めておく。PLC20は、例えば、制御機器40の局番と制御ユニット42のユニットIDとを設定して、バックアップ要求をネットワーク101に送る。これにより、バックアップ要求が制御ユニット42に送られる。
(1) When performing parameter setting backup, the
制御ユニット42の演算部107cは、自らのパラメータ設定との差異が最も小さな組合せテーブルと、この組合せテーブルの組合せ識別情報と、を組合せ情報100内から抽出する。そして、演算部107cは、自らのパラメータ設定と、抽出した組合せテーブルと、を比較することによって、両者の差分を抽出する(A)。なお、制御ユニット42による差分の抽出(パラメータ差分情報の生成)は、バックアップ要求を受けた時点でおこなってもよいし、ユーザ操作などによってパラメータ設定を変更した時点で行ってもよい。
The
(2)制御ユニット42の演算部107cは、抽出した差分および組合せ識別情報を対応付けしてパラメータ差分情報を生成し、記憶部106bに記憶させる。また、制御ユニット42は、パラメータ差分情報をバックアップ応答としてPLC20に送る。バックアップ応答には、バックアップの応答コマンド、機器照合用データ、組合せ識別情報、差異があるパラメータ設定項目、差異があるパラメータ設定値が含まれている。ここでの、組合せ識別情報、差異があるパラメータ設定項目、および差異があるパラメータ設定値が、パラメータ差分情報に対応している。
(2) The
ここで、バックアップ応答に用いる伝送フレームの構成について説明する。図8は、バックアップ応答に用いる伝送フレームの一例を示す図である。バック応答には、ヘッダ部、応答コマンド、宛先局番、送信元局番、送信元ユニットID、データサイズ、組合せ識別情報、差異があるパラメータ設定項目、および差異があるパラメータ設定値が含まれている。 Here, the configuration of the transmission frame used for the backup response will be described. FIG. 8 is a diagram illustrating an example of a transmission frame used for a backup response. The back response includes a header part, a response command, a destination station number, a transmission source station number, a transmission source unit ID, a data size, combination identification information, a parameter setting item having a difference, and a parameter setting value having a difference.
宛先局番は、バックアップ応答(伝送フレーム)の宛先(局番)である。送信元局番は、バックアップ応答を送信する機器(ここでは制御機器40)の局番であり、送信元ユニットIDは、バックアップ応答を送信するユニット(ここでは制御ユニット42)のIDである。PLC20は、パラメータ差分情報を記憶部103aに記憶させておく。
The destination station number is the destination (station number) of the backup response (transmission frame). The transmission source station number is the station number of the device (here, the control device 40) that transmits the backup response, and the transmission source unit ID is the ID of the unit (here, the control unit 42) that transmits the backup response. The
このように、本実施の形態では、ネットワーク101上の機器を一意に表す局番と、機器内のユニットを一意に表すためのIDと、の2つの識別情報を伝送フレームに付加して送受信する。
As described above, in this embodiment, two pieces of identification information, that is, a station number that uniquely represents a device on the
(3)パラメータ設定のリストアを行う場合には、PLC20が、リストア相手先の機器に誤りがないことを照合する。このため、PLC20は、制御ユニット42に機器照合要求を送る。機器照合要求は、リストア対象の機器として適切であるか否かを判断するための照合要求である。機器照合要求には、機器照合を要求する要求コマンド、機器照合用データが含まれている。制御ユニット42の演算部107cは、照合用データに基づいて、PLC20が送ってこようとしているパラメータ設定を自らに適用可能か否かを照合する(B)。機器照合用データには、メーカ一意となるメーカコード、メーカ内の製品で一意となる形名コード、機器のバージョンを示す機器バージョンなどが含まれている。
(3) When restoring parameter settings, the
(4)制御ユニット42は、照合結果を機器照合応答としてPLC20に送る。機器照合応答には、機器照合の応答コマンド、照合結果が含まれている。PLC20は、照合結果がNG(不適合)であれば、リストア処理を中断する。一方、PLC20は、照合結果がOK(適合)であればリストア処理を続行する(C)。
(4) The
(5)照合結果がOKの場合、PLC20は、リストア要求を制御ユニット42に送る。リストア要求には、リストアを要求する要求コマンド、設定中のパラメータに対応する組合せ識別情報、差異があるパラメータ設定項目および差異があるパラメータ設定値が含まれている。
(5) If the collation result is OK, the
制御ユニット42の演算部107cは、リストア要求内の組合せ識別情報に対応する組合せテーブルを組合せ情報100内から抽出する。さらに、演算部107cは、抽出した組合せ情報100と、リストア要求内に含まれているパラメータ設定の差分と、に基づいて、パラメータ設定を行う。例えば、組合せ情報100内において入光量に「20」が設定されており、パラメータ差分情報内において入光量に「18」が設定されている場合、演算部107cは、パラメータ設定を行う入光量として「20」と「18」の差分である「2」を設定する。このように、演算部107cは、抽出した組合せ情報100とパラメータ差分情報とに基づいて、パラメータ設定項目およびパラメータ設定値を書き換える。
The
(6)制御ユニット42は、リストア要求に基づいてパラメータ設定を書き換えた後、PLC20にリストア応答を送る。リストア応答には、リストアに対する応答コマンドが含まれている。
(6) The
なお、図1に示した構成は一例であり、ネットワーク101には、何れの機器(制御装置)を接続してもよい。また、図3に示した構成は一例であり、組合せ情報100を記憶しておく機器の目的に応じて、構成を任意に変更してもよい。
Note that the configuration shown in FIG. 1 is an example, and any device (control device) may be connected to the
このように、実施の形態によれば、予め保持しておいた組合せ情報100(パラメータ設定の組合せ)をもとに、変更があったパラメータ設定の差分を求めている。これにより、バックアップデータおよびリストアデータのデータ量を削減できるので、制御装置間のデータ通信量を削減することができる。 As described above, according to the embodiment, the difference in the parameter setting that has been changed is obtained based on the combination information 100 (the combination of the parameter settings) that is held in advance. As a result, the amount of backup data and restore data can be reduced, so that the amount of data communication between control devices can be reduced.
また、制御装置がパラメータ設定の組合せを示す組み合わせ識別情報を送受信するので、データ通信量を削減することが可能になる。また、パラメータ設定の要求元であるPLC20は、組合せ情報100を保持しなくてよいのでデータ記憶領域が少なくて済む。
In addition, since the control device transmits and receives combination identification information indicating a combination of parameter settings, the amount of data communication can be reduced. Further, the
また、ユニットIDを用いることによって、制御機器40内の複数ユニットの何れかを一意に特定してデータを送受信できるので、ネットワーク101上で認識されないユニットへのパラメータ設定を、ネットワーク101経由で変更することができる。
In addition, by using the unit ID, data can be transmitted and received by uniquely specifying any of the plurality of units in the
以上のように、本発明に係るFAシステムおよび制御装置は、ネットワークで接続された制御装置間のデータ通信に適している。 As described above, the FA system and the control device according to the present invention are suitable for data communication between control devices connected via a network.
1 FAシステム、20,30 PLC、40,50 制御機器、41 通信ユニット、42 制御ユニット、61〜63 組合せテーブル、100 組合せ情報、103a,104a,106a,107a,104b,106b,107b 記憶部、104c,106c,107c 演算部、103d,104d,106d,107d 通信部。 1 FA system, 20, 30 PLC, 40, 50 control device, 41 communication unit, 42 control unit, 61-63 combination table, 100 combination information, 103a, 104a, 106a, 107a, 104b, 106b, 107b storage unit, 104c , 106c, 107c arithmetic unit, 103d, 104d, 106d, 107d communication unit.
Claims (6)
第2の制御対象機械を制御するとともに、ネットワークを介して前記第1の制御装置にパラメータ設定のバックアップ要求およびリストア要求を行う第2の制御装置と、
を備え、
前記第1の制御装置は、
パラメータ設定項目の組合せと、前記パラメータ設定項目毎のパラメータ設定値と、前記パラメータ設定項目および前記パラメータ設定値の組合せを識別する組合せ識別情報と、が対応付けされた組合せ情報を記憶しておく第1の記憶部と、
前記パラメータ設定項目または前記パラメータ設定値を変更した場合に、前記組合せ情報の中で変更後のパラメータ設定との差分が最も小さい組合せ情報を抽出するとともに、抽出した組合せ情報内のパラメータ設定と前記変更後のパラメータ設定との間の差分を算出し、算出した差分と当該差分に対応する組合せ識別情報と、をパラメータ差分情報として生成する算出部と、
前記パラメータ差分情報を記憶しておく第2の記憶部と、
前記第2の制御装置から前記バックアップ要求があった場合に、前記パラメータ差分情報を前記第2の制御装置に送信する第1の通信部と、
を有し、
前記第2の制御装置は、
前記第1の制御装置のパラメータ設定をバックアップする際には前記第1の制御装置から前記パラメータ差分情報を受信し、前記第1の制御装置にパラメータ設定をリストアする際には前記パラメータ差分情報を前記第1の制御装置に送信する第2の通信部と、
前記第1の制御装置から受信したパラメータ差分情報を記憶しておく第3の記憶部と、
を有していることを特徴とするFAシステム。 A first control device for controlling a first machine to be controlled;
A second control device that controls the second machine to be controlled and makes a backup request and a restore request for parameter setting to the first control device via the network;
With
The first control device includes:
A combination information in which a combination of parameter setting items, a parameter setting value for each parameter setting item, and combination identification information for identifying the combination of the parameter setting item and the parameter setting value is associated is stored. 1 storage unit;
When the parameter setting item or the parameter setting value is changed, the combination information having the smallest difference from the changed parameter setting is extracted from the combination information, and the parameter setting and the change in the extracted combination information are extracted. A calculation unit that calculates a difference between subsequent parameter settings, and generates the calculated difference and combination identification information corresponding to the difference as parameter difference information;
A second storage unit for storing the parameter difference information;
A first communication unit that transmits the parameter difference information to the second control device when the backup request is received from the second control device;
Have
The second control device includes:
When backing up the parameter settings of the first control device, the parameter difference information is received from the first control device, and when restoring parameter settings to the first control device, the parameter difference information is received. A second communication unit for transmitting to the first control device;
A third storage unit for storing parameter difference information received from the first control device;
FA system characterized by having.
前記第2の制御装置は、前記各ユニットに割り当てられたユニットIDを用いて前記各ユニットとの間のデータ通信を行うことを特徴とする請求項1に記載のFAシステム。 The first control device includes a plurality of units,
The FA system according to claim 1, wherein the second control device performs data communication with each unit using a unit ID assigned to each unit.
パラメータ設定項目の組合せと、前記パラメータ設定項目毎のパラメータ設定値と、前記パラメータ設定項目および前記パラメータ設定値の組合せを識別する組合せ識別情報と、が対応付けされた組合せ情報を記憶しておく第1の記憶部と、
前記パラメータ設定項目または前記パラメータ設定値を変更した場合に、前記組合せ情報の中で変更後のパラメータ設定との差分が最も小さい組合せ情報を抽出するとともに、抽出した組合せ情報内のパラメータ設定と前記変更後のパラメータ設定との間の差分を算出し、算出した差分と当該差分に対応する組合せ識別情報と、をパラメータ差分情報として生成する算出部と、
前記パラメータ差分情報を記憶しておく第2の記憶部と、
前記他の制御装置から前記バックアップ要求があった場合に、前記パラメータ差分情報を前記他の制御装置に送信する通信部と、
を有することを特徴とする制御装置。 In the control device that controls the machine to be controlled and performs a backup request and restore request for parameter setting from another control device via the network,
A combination information in which a combination of parameter setting items, a parameter setting value for each parameter setting item, and combination identification information for identifying the combination of the parameter setting item and the parameter setting value is associated is stored. 1 storage unit;
When the parameter setting item or the parameter setting value is changed, the combination information having the smallest difference from the changed parameter setting is extracted from the combination information, and the parameter setting and the change in the extracted combination information are extracted. A calculation unit that calculates a difference between subsequent parameter settings, and generates the calculated difference and combination identification information corresponding to the difference as parameter difference information;
A second storage unit for storing the parameter difference information;
A communication unit that transmits the parameter difference information to the other control device when the backup request is received from the other control device;
A control device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013044353A JP2014174616A (en) | 2013-03-06 | 2013-03-06 | Fa system and control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013044353A JP2014174616A (en) | 2013-03-06 | 2013-03-06 | Fa system and control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014174616A true JP2014174616A (en) | 2014-09-22 |
Family
ID=51695814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013044353A Pending JP2014174616A (en) | 2013-03-06 | 2013-03-06 | Fa system and control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014174616A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016147392A1 (en) * | 2015-03-19 | 2016-09-22 | 三菱電機株式会社 | Control system, programmable controller, and engineering tool |
JP2017102648A (en) * | 2015-12-01 | 2017-06-08 | 株式会社安川電機 | Industrial instrument system, industrial instrument, terminal device, server, and industrial instrument parameter edition method |
JP2017162413A (en) * | 2016-03-11 | 2017-09-14 | オムロン株式会社 | Slave device, slave device control method, information processing program, and recording medium |
EP3220225A1 (en) | 2016-03-14 | 2017-09-20 | Omron Corporation | Relay device, control method of relay device, control program and recording medium |
JP2017167595A (en) * | 2016-03-14 | 2017-09-21 | オムロン株式会社 | Relay device, relay device control method, control program, and recording medium |
EP3236325A1 (en) | 2016-04-19 | 2017-10-25 | Omron Corporation | Control apparatus, relay apparatus, control method for control apparatus, control method for relay apparatus, control program and storage medium |
JP2018077911A (en) * | 2018-02-02 | 2018-05-17 | 三菱電機株式会社 | Control system, method, and program |
CN110658779A (en) * | 2019-10-09 | 2020-01-07 | 翼石电子股份有限公司 | PLC data storage method and device |
JP6628934B1 (en) * | 2018-03-30 | 2020-01-15 | 三菱電機株式会社 | Sensor management device, sensor management method, and program |
JP2020057209A (en) * | 2018-10-02 | 2020-04-09 | オムロン株式会社 | Control system, support device, and program |
WO2022030402A1 (en) * | 2020-08-06 | 2022-02-10 | オムロン株式会社 | Control device and program |
-
2013
- 2013-03-06 JP JP2013044353A patent/JP2014174616A/en active Pending
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6099841B2 (en) * | 2015-03-19 | 2017-03-22 | 三菱電機株式会社 | Control system, programmable controller and engineering tool |
JPWO2016147392A1 (en) * | 2015-03-19 | 2017-04-27 | 三菱電機株式会社 | Control system, programmable controller and engineering tool |
WO2016147392A1 (en) * | 2015-03-19 | 2016-09-22 | 三菱電機株式会社 | Control system, programmable controller, and engineering tool |
JP2017102648A (en) * | 2015-12-01 | 2017-06-08 | 株式会社安川電機 | Industrial instrument system, industrial instrument, terminal device, server, and industrial instrument parameter edition method |
US10222765B2 (en) | 2015-12-01 | 2019-03-05 | Kabushiki Kaisha Yaskawa Denki | Industrial machine system, industrial machine, terminal device, server and parameter editing method of industrial machine |
CN107924171A (en) * | 2016-03-11 | 2018-04-17 | 欧姆龙株式会社 | From device, the control method from device, message handling program and recording medium |
JP2017162413A (en) * | 2016-03-11 | 2017-09-14 | オムロン株式会社 | Slave device, slave device control method, information processing program, and recording medium |
CN107924171B (en) * | 2016-03-11 | 2020-05-19 | 欧姆龙株式会社 | Slave device, control method for slave device, and recording medium |
US10365624B2 (en) | 2016-03-11 | 2019-07-30 | Omron Corporation | Slave device, method for controlling slave device, and non-transitory computer-readable recording medium |
WO2017158954A1 (en) | 2016-03-14 | 2017-09-21 | オムロン株式会社 | Relay device, control method for relay device, control program, and recording medium |
JP2017167595A (en) * | 2016-03-14 | 2017-09-21 | オムロン株式会社 | Relay device, relay device control method, control program, and recording medium |
CN107924168B (en) * | 2016-03-14 | 2021-08-03 | 欧姆龙株式会社 | Transfer device, control method of transfer device, and readable recording medium |
CN107924168A (en) * | 2016-03-14 | 2018-04-17 | 欧姆龙株式会社 | Transferring device, the control method of transferring device, control program and record media |
US11067969B2 (en) | 2016-03-14 | 2021-07-20 | Omron Corporation | Relay device for relaying data between devices, control method therefor, and non-transitory computer-readable recording medium therefor |
EP3220225A1 (en) | 2016-03-14 | 2017-09-20 | Omron Corporation | Relay device, control method of relay device, control program and recording medium |
US10740255B2 (en) | 2016-04-19 | 2020-08-11 | Omron Corporation | Control apparatus, relay apparatus, control method for control apparatus, control method for relay apparatus, control program and storage medium |
CN107305369A (en) * | 2016-04-19 | 2017-10-31 | 欧姆龙株式会社 | Control device, relay, its control method, control program and recording medium |
EP3236325A1 (en) | 2016-04-19 | 2017-10-25 | Omron Corporation | Control apparatus, relay apparatus, control method for control apparatus, control method for relay apparatus, control program and storage medium |
CN107305369B (en) * | 2016-04-19 | 2019-10-01 | 欧姆龙株式会社 | Control device, relay, its control method and recording medium |
JP2018077911A (en) * | 2018-02-02 | 2018-05-17 | 三菱電機株式会社 | Control system, method, and program |
JP6628934B1 (en) * | 2018-03-30 | 2020-01-15 | 三菱電機株式会社 | Sensor management device, sensor management method, and program |
JP2020057209A (en) * | 2018-10-02 | 2020-04-09 | オムロン株式会社 | Control system, support device, and program |
CN112639635A (en) * | 2018-10-02 | 2021-04-09 | 欧姆龙株式会社 | Control system, support device, and program |
WO2020071373A1 (en) * | 2018-10-02 | 2020-04-09 | オムロン株式会社 | Control system, support device, and program |
EP3862825A4 (en) * | 2018-10-02 | 2022-07-06 | Omron Corporation | Control system, support device, and program |
JP7172397B2 (en) | 2018-10-02 | 2022-11-16 | オムロン株式会社 | Control systems, support equipment and programs |
CN110658779A (en) * | 2019-10-09 | 2020-01-07 | 翼石电子股份有限公司 | PLC data storage method and device |
WO2022030402A1 (en) * | 2020-08-06 | 2022-02-10 | オムロン株式会社 | Control device and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2014174616A (en) | Fa system and control device | |
US20160091889A1 (en) | Numerical control system | |
JP2015204615A (en) | Method and system for interacting between equipment and moving device | |
US20170013064A1 (en) | Automated opc connectivity | |
WO2018179125A1 (en) | Network configuration information generation method and communication device | |
US20170212483A1 (en) | Numerical control system using data analyzed by machining simulation in actual machining | |
US20200004229A1 (en) | Management device, relay device, field wireless system, setting method, and recording medium | |
JP5421894B2 (en) | Duplex process control apparatus and control data matching method | |
US20180225077A1 (en) | Programmable display, information processing apparatus, recording medium, and screen display system | |
JP5921781B2 (en) | Programmable controller and control method of programmable controller | |
US9122271B2 (en) | Method for collision-free transfer of a plant from an substantially off mode to an operating mode | |
US10310467B2 (en) | Cloud-based control platform with connectivity to remote embedded devices in distributed control system | |
KR102347621B1 (en) | Redundant heating, ventilation, and air conditioning control systems | |
US20230305931A1 (en) | Control device and non-transitory machine readable storage medium | |
KR102449717B1 (en) | Process control method that can change process line and smart process system | |
JP6396084B2 (en) | Engineering apparatus, engineering system, and download processing method | |
JPWO2013161085A1 (en) | Machine control system, motion controller and connected equipment | |
JP6907929B2 (en) | Data equivalence method, programmable controller and duplex system | |
JP2019197449A (en) | Apparatus management system and tag name verification method | |
US11726766B2 (en) | Method and apparatus for maintaining software of a control unit for an industrial control system | |
KR20170051408A (en) | Methods and systems for facilitating communication in a work tools network environmen | |
JP5400691B2 (en) | Programmable display monitoring operation method, monitoring operation program, and programmable display | |
JP6354535B2 (en) | Redundant control system and control device thereof | |
TW201617750A (en) | Programmable logic controller | |
KR102350208B1 (en) | Redundant heating, ventilation, and air conditioning control systems |