[go: up one dir, main page]

JP2010086206A - Setting device and field network system - Google Patents

Setting device and field network system Download PDF

Info

Publication number
JP2010086206A
JP2010086206A JP2008253416A JP2008253416A JP2010086206A JP 2010086206 A JP2010086206 A JP 2010086206A JP 2008253416 A JP2008253416 A JP 2008253416A JP 2008253416 A JP2008253416 A JP 2008253416A JP 2010086206 A JP2010086206 A JP 2010086206A
Authority
JP
Japan
Prior art keywords
data
firmware update
update data
field
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008253416A
Other languages
Japanese (ja)
Inventor
Tetsuya Kitano
哲也 北野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2008253416A priority Critical patent/JP2010086206A/en
Publication of JP2010086206A publication Critical patent/JP2010086206A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

【課題】ファームウエア更新データのダウンロードを効率的に行い、且つ、データの引き継ぎの信頼性を向上させる技術を提供すること。
【解決手段】ファームウエア更新データ7を送信するデバイス1及び当該デバイス1から送信されたファームウエアデータ7を受信するフィールドデバイス2と通信接続されるテンポラリデバイス5において、フィールドデバイスか2ら受信した不揮発保存データに対してファームウエア更新データ7に対応させる設定を行い、当該設定の行われた不揮発保存データをデバイス1によるファームウエア更新データ7の送信と並行してフィールドデバイス2へ送信するCPU11を備える。
【選択図】図1
A technology for efficiently downloading firmware update data and improving the reliability of data transfer is provided.
In a temporary device connected in communication with a device that transmits firmware update data and a field device that receives firmware data transmitted from the device, the nonvolatile data received from the field device is received. The CPU 11 is configured to set the stored data to correspond to the firmware update data 7 and transmit the nonvolatile storage data for which the setting has been performed to the field device 2 in parallel with the transmission of the firmware update data 7 by the device 1. .
[Selection] Figure 1

Description

本発明は、設定装置及びフィールドネットワークシステムに関する。   The present invention relates to a setting device and a field network system.

近年、流量計や温度計などのセンサ、アクチュエータ、コントローラを含むフィールドデバイスをネットワークで接続したフィールドネットワークシステムが実施されている。   In recent years, field network systems in which field devices including sensors, actuators, and controllers such as flow meters and thermometers are connected via a network have been implemented.

図6を参照して、フィールドネットワークシステム100の構成の一例について説明する。フィールドネットワークシステム100は、デバイス101と、フィールドデバイス102〜104と、を備えて構成される。   An example of the configuration of the field network system 100 will be described with reference to FIG. The field network system 100 includes a device 101 and field devices 102 to 104.

デバイス101は、コンフィグレーション機能を持ったボード等からなる電子デバイスである。フィールドデバイス102〜104は、流量計や温度計などのセンサ等からなるフィールドデバイスである。デバイス101及びフィールドデバイス102〜104は、FOUNDATION fieldbusH1(登録商標)の通信対象デバイスであり、FOUNDATION fieldbus H1(以下、H1)の通信用のH1バス104Aを介して情報の通信を行う。   The device 101 is an electronic device composed of a board or the like having a configuration function. The field devices 102 to 104 are field devices including sensors such as a flow meter and a thermometer. The device 101 and the field devices 102 to 104 are communication target devices of the FOUNDATION fieldbus H1 (registered trademark), and perform information communication via the H1 bus 104A for communication of the FOUNDATION fieldbus H1 (hereinafter referred to as H1).

次に、フィールドネットワークシステム100において、フィールドデバイス102内のファームウエア(ソフトウエア)の更新を行う動作について説明する。   Next, an operation of updating firmware (software) in the field device 102 in the field network system 100 will be described.

予め、フィールドデバイス102は、不揮発保存データ(フィールドデバイスを識別するタグ情報等)をファームウエア更新データ105に対応させる設定を行う不揮発保存データ引き継ぎアルゴリズム106を有しているものとする。また、予め、デバイス1によりファームウエア更新データ105が不揮発保存データ引き継ぎアルゴリズム106に対応する形で作成されているものとする。   It is assumed that the field device 102 has a nonvolatile storage data takeover algorithm 106 for setting the nonvolatile storage data (tag information for identifying the field device or the like) to correspond to the firmware update data 105 in advance. In addition, it is assumed that the firmware update data 105 is previously created by the device 1 in a form corresponding to the nonvolatile storage data takeover algorithm 106.

先ず、フィールドデバイス102によりファームウエア更新データ105がデバイス101からダウンロードされる。具体的には、図7に示す構造を有するファームウエア更新データ105がダウンロードされる。図7に示すように、ファームウエア更新データ105は、フィールドバス通信や制御アプリケーションを実行するためのデータで構成されるアプリケーション実行データと、不揮発保存データ引き継ぎアルゴリズムと、を有する。   First, the firmware update data 105 is downloaded from the device 101 by the field device 102. Specifically, firmware update data 105 having the structure shown in FIG. 7 is downloaded. As shown in FIG. 7, the firmware update data 105 includes application execution data composed of data for executing fieldbus communication and control applications, and a nonvolatile storage data takeover algorithm.

そして、フィールドデバイス102により、不揮発性保存データ引き継ぎアルゴリズム106を用いて不揮発保存データの引き継ぎ処理(不揮発保存データをファームウエア更新データ105に対応させる設定を行う処理)が行われる。そして、フィールドデバイス102が再起動される。これにより、ファームウエアの更新が完了される。   Then, the non-volatile storage data takeover algorithm 106 is used by the field device 102 to perform non-volatile storage data takeover processing (processing for setting the non-volatile storage data to correspond to the firmware update data 105). Then, the field device 102 is restarted. Thereby, the update of the firmware is completed.

また、例えば、電源をOFFにしなくとも、プログラムの暴走なくプログラムの配置変更を可能とする技術も知られている(例えば、特許文献1参照)。
特開2005−182106号公報
In addition, for example, a technique is known that enables program layout to be changed without runaway of the program without turning off the power (see, for example, Patent Document 1).
JP-A-2005-182106

しかしながら、上記のフィールドネットワークシステム100において、ファームウエア更新データ105が新しいデータとなり、不揮発保存データがファームウエア更新データ105に対応しなくなった場合(例えば、不揮発保存データのデータ形式やデータの格納場所が新しいファームウエア更新データ105が想定するデータ形式やデータの格納場所に対応しなくなった場合)、不揮発保存データの引き継ぎは正常に行うことができない。例えば、不揮発保存データがフィールドデバイスを識別するための情報(タグ情報)である場合、不揮発保存データがファームウエア更新データ105に対応しない状態でフィールドデバイス102の引き継ぎ処理を行うと、タグ情報は初期値(ファームウエア更新データ内のROM値(固定値))となってしまう。そうすると、フィールドデバイスが再起動されても、フィールドデバイスは、意図した動作(ファームウエア更新データに基づく動作)を行うことができない可能性がある。   However, in the field network system 100 described above, when the firmware update data 105 becomes new data and the nonvolatile storage data no longer corresponds to the firmware update data 105 (for example, the data format of the nonvolatile storage data and the storage location of the data are If the new firmware update data 105 no longer corresponds to the assumed data format or data storage location), the non-volatile storage data cannot be transferred normally. For example, when the nonvolatile storage data is information (tag information) for identifying a field device, the tag information is initialized when the takeover processing of the field device 102 is performed in a state where the nonvolatile storage data does not correspond to the firmware update data 105. Value (ROM value (fixed value) in firmware update data). Then, even if the field device is restarted, the field device may not be able to perform the intended operation (operation based on firmware update data).

この場合、不揮発保存データを新しいファームウエア更新データ105に対応させる設定を行うアルゴリズム(図6に示す新しい不揮発保存データ引き継ぎアルゴリズム107)をダウンロードすることにより、不揮発保存データの引き継ぎ処理を行う方法がある。しかし、この場合、フィールドデバイス102は、不揮発保存データ引き継ぎアルゴリズム106を、一旦、新しい不揮発保存データ引き継ぎアルゴリズム107に更新しなければならない。このため、例えば、新しい不揮発保存データ引き継ぎアルゴリズム107を含んだファームウエア更新データ105(このとき、アプリケーション実行データは更新前のデータ)をダウンロードし、その後、更新された新しいアプリケーション実行データ及び新しい不揮発保存データ引き継ぎアルゴリズム107を含むファームウエア更新データ105をダウンロードする必要がある。すなわち、ファームウエア更新データ105を2回ダウンロードする作業が必要となる。この場合、フィールドデバイスが複数個となると、フィールドデバイスの台数×2のダウンロードが必要となり、効率的でなかった。   In this case, there is a method for performing takeover processing of non-volatile storage data by downloading an algorithm (a new non-volatile storage data takeover algorithm 107 shown in FIG. 6) for setting the non-volatile storage data to correspond to the new firmware update data 105. . However, in this case, the field device 102 has to update the nonvolatile storage data transfer algorithm 106 to a new nonvolatile storage data transfer algorithm 107 once. For this reason, for example, the firmware update data 105 including the new nonvolatile storage data takeover algorithm 107 (at this time, the application execution data is the data before the update) is downloaded, and then the updated new application execution data and the new nonvolatile storage are downloaded. It is necessary to download the firmware update data 105 including the data transfer algorithm 107. That is, it is necessary to download the firmware update data 105 twice. In this case, when there are a plurality of field devices, it is necessary to download the number of field devices × 2 and it is not efficient.

また、新しいファームウエア更新データ(新しいアプリケーション実行データ及び新しい不揮発保存データ引き継ぎアルゴリズムを含んだデータ)を1回でダウンロードし、フィールドデバイスの再起動後に引き継ぎ処理を行う方法もある。しかし、フィールドデバイスが再起動後に引き継ぎ処理を行うと、引き継ぎ処理が成功したかどうかを確認することができない。このため、不揮発保存データの引き継ぎの信頼性に欠けるという問題があった。   There is also a method in which new firmware update data (new application execution data and data including a new nonvolatile storage data takeover algorithm) is downloaded at a time, and takeover processing is performed after the field device is restarted. However, if the field device performs the takeover process after restarting, it cannot be confirmed whether the takeover process is successful. For this reason, there has been a problem that the reliability of taking over the nonvolatile storage data is lacking.

本発明の課題は、ファームウエア更新データのダウンロードを効率的に行い、且つ、データの引き継ぎの信頼性を向上させる技術を提供することである。   An object of the present invention is to provide a technique for efficiently downloading firmware update data and improving the reliability of data transfer.

上記課題を解決するために、請求項1に記載の発明の設定装置は、
ファームウエア更新データを送信する送信装置及び当該送信装置から送信されたファームウエア更新データを受信するフィールドデバイスと通信接続される設定装置において、
前記フィールドデバイスから受信した所定のデータに対して前記ファームウエア更新データに対応させる設定を行い、当該設定の行われた所定のデータを前記送信装置による前記ファームウエア更新データの送信と並行して前記フィールドデバイスへ送信する制御部を備えることを特徴とする。
In order to solve the above-described problem, the setting device according to the first aspect of the present invention provides:
In a transmission device that transmits firmware update data and a setting device that is communicatively connected to a field device that receives firmware update data transmitted from the transmission device.
The predetermined data received from the field device is set to correspond to the firmware update data, and the predetermined data for which the setting has been performed is performed in parallel with the transmission of the firmware update data by the transmission device. A control unit for transmitting to the field device is provided.

請求項2に記載の発明は、請求項1に記載の設定装置において、
前記送信装置及び前記フィールドデバイスと通信を行う通信部を備え、
前記所定のデータは、
前記ファームウエア更新データに対応させる必要のあるデータであり、
前記制御部は、
前記送信装置による前記ファームウエア更新データの送信を前記通信部を介して検知した後、前記所定のデータを前記通信部を介して前記フィールドデバイスから受信し、前記所定のデータに対して前記ファームウエア更新データに対応させる設定を行うアルゴリズムデータを用いて、当該受信した所定のデータに対して前記ファームウエア更新データに対応させる設定を行い、当該設定の行われた所定のデータを前記送信装置による前記ファームウエア更新データの送信と並行して前記通信部を介して前記フィールドデバイスへ送信することを特徴とする。
The invention according to claim 2 is the setting device according to claim 1,
A communication unit that communicates with the transmission device and the field device;
The predetermined data is:
It is data that needs to correspond to the firmware update data,
The controller is
After detecting transmission of the firmware update data by the transmission device via the communication unit, the predetermined data is received from the field device via the communication unit, and the firmware is received with respect to the predetermined data. Using algorithm data for setting corresponding to update data, setting corresponding to the firmware update data for the received predetermined data, and setting the predetermined data for which the setting has been performed by the transmitting device In parallel with the transmission of the firmware update data, the firmware update data is transmitted to the field device via the communication unit.

請求項3に記載の発明のフィールドネットワークシステムは、
請求項1又は2に記載の設定装置と、
前記送信装置と、
前記フィールドデバイスと、を備え、
前記送信装置は、
前記設定装置及び前記フィールドデバイスと通信を行う送信装置側通信部と、
前記送信装置通信部を介して前記ファームウエア更新データを送信する送信装置側制御部と、を備え、
前記フィールドデバイスは、
前記設定装置及び前記送信装置と通信を行うフィールドデバイス側通信部と、
前記フィールドデバイス側通信部を介して前記ファームウエア更新データ及び前記ファームウエア更新データに対応させる設定の行われた所定のデータを受信するフィールドデバイス側制御部と、
を備えることを特徴とする。
The field network system of the invention described in claim 3 is:
A setting device according to claim 1 or 2,
The transmitting device;
The field device,
The transmitter is
A transmitter side communication unit for communicating with the setting device and the field device;
A transmission device side control unit that transmits the firmware update data via the transmission device communication unit,
The field device is
A field device side communication unit that communicates with the setting device and the transmission device;
A field device-side control unit that receives the firmware update data and the predetermined data set to correspond to the firmware update data via the field device-side communication unit;
It is characterized by providing.

請求項1〜3に記載の発明によれば、ファームウエア更新データに対応させる設定の行われた所定のデータを更新用ファームウエアの送信と並行して第2のデバイスに送信する。このため、ファームウエア更新データのダウンロードを効率的に行うことができ、且つ、データ(所定のデータ)の引き継ぎの信頼性を向上させることができる。   According to the first to third aspects of the invention, the predetermined data set to correspond to the firmware update data is transmitted to the second device in parallel with the transmission of the update firmware. For this reason, firmware update data can be downloaded efficiently, and the takeover reliability of data (predetermined data) can be improved.

以下、添付図面を参照して本発明に係る実施の形態を詳細に説明する。ただし、発明の範囲は、図示例に限定されない。   Embodiments according to the present invention will be described below in detail with reference to the accompanying drawings. However, the scope of the invention is not limited to the illustrated examples.

図1〜図4を参照して本発明に係る実施の形態を説明する。本実施の形態のフィールドネットワークシステム10は、送信装置としてのデバイス1と、フィールドデバイス2〜4と、設定装置としてのテンポラリデバイス5と、を備えて構成される。デバイス1、フィールドデバイス2〜4及びテンポラリデバイス5は、H1の通信対象デバイスであり、H1通信用のH1バス6を介して情報の通信を行う。また、デバイス1、フィールドデバイス2〜4は、図5に示すフィールドデバイス102〜104と同様の構成であり、異なる部分を主として説明する。   Embodiments according to the present invention will be described with reference to FIGS. A field network system 10 according to the present embodiment includes a device 1 as a transmission device, field devices 2 to 4, and a temporary device 5 as a setting device. The device 1, the field devices 2 to 4, and the temporary device 5 are H1 communication target devices, and perform information communication via the H1 bus 6 for H1 communication. The device 1 and the field devices 2 to 4 have the same configuration as the field devices 102 to 104 shown in FIG.

デバイス1は、コンフィグレーション機能を持ったボード等からなる電子デバイスである。デバイス1は、H1バス6を介して、ファームウエア更新データ7をフィールドデバイス2〜4に送信する。本実施の形態では、フィールドデバイス2がファームウエア更新データ7を受信するものとして説明する。   The device 1 is an electronic device composed of a board having a configuration function. The device 1 transmits firmware update data 7 to the field devices 2 to 4 via the H1 bus 6. In the present embodiment, the field device 2 will be described as receiving firmware update data 7.

テンポラリデバイス5は、不揮発保存データの引き継ぎ処理を行う機能を持ったボード等からなる電子デバイスである。図2を参照して、テンポラリデバイス5の内部構成を説明する。図2に示すように、テンポラリデバイス5は、制御部としてのCPU(Central Processing Unit)11と、RAM12と、記憶部13と、通信部14と、を備えて構成される。   The temporary device 5 is an electronic device composed of a board or the like having a function of performing takeover processing of nonvolatile storage data. The internal configuration of the temporary device 5 will be described with reference to FIG. As illustrated in FIG. 2, the temporary device 5 includes a CPU (Central Processing Unit) 11 as a control unit, a RAM 12, a storage unit 13, and a communication unit 14.

CPU11は、テンポラリデバイス5の各部を中央制御する。CPU11は、記憶部13に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM12に展開し、RAM12に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 11 centrally controls each part of the temporary device 5. The CPU 11 develops a program designated from the system program and various application programs stored in the storage unit 13 in the RAM 12, and executes various processes in cooperation with the program expanded in the RAM 12.

CPU11は、後述するテンポラリデバイスプログラムとの協働により、ファームウエア更新データの送信を通信部14を介して検知し、所定のデータとしての不揮発保存データに対して不揮発保存データ引き継ぎアルゴリズムを用いて引き継ぎ処理を行い、引き継ぎ処理された不揮発保存データをフィールドデバイスにファームウエア更新データと並列してフィールドデバイスへ送信する。
不揮発保存データ引き継ぎアルゴリズムは、不揮発保存データをファームウエア更新データに対応させる設定(例えば、不揮発保存データのデータ形式やデータの格納領域を、ファームウエア更新データが想定するデータの形式や、データの格納領域に対応させる設定)を行うアルゴリズムデータである。
不揮発保存データは、ファームウエア更新データに対応させる必要のあるデータ(更新ファームウエアデータが更新されても更新前と同じ状態で引き継がれる必要のあるデータ)である。例えば、不揮発性の保存領域に保存されたデータやフィールドデバイス固有の設定データ(フィールドデバイスのタグ情報やセンサの設定値等)が不揮発保存データに該当する。
引き継ぎ処理は、不揮発保存データをファームウエア更新データに対応させる設定を行う処理である。
The CPU 11 detects the transmission of firmware update data through the communication unit 14 in cooperation with a temporary device program to be described later, and takes over the nonvolatile storage data as predetermined data using the nonvolatile storage data takeover algorithm. Processing is performed, and the takeover-processed nonvolatile storage data is transmitted to the field device in parallel with the firmware update data.
The nonvolatile storage data takeover algorithm is a setting that associates nonvolatile storage data with firmware update data (for example, the data format of the nonvolatile storage data and the storage area of the data, the data format assumed by the firmware update data, and the data storage Algorithm data to be set).
The nonvolatile storage data is data that needs to be associated with the firmware update data (data that needs to be inherited in the same state as before the update even if the update firmware data is updated). For example, data stored in a nonvolatile storage area and field device-specific setting data (field device tag information, sensor setting values, etc.) correspond to the nonvolatile storage data.
The takeover process is a process for setting the nonvolatile storage data to correspond to the firmware update data.

RAM12は、揮発性のメモリであり、実行される各種プログラムやこれら各種プログラムに係るデータ等を一時的に記憶するワークエリアを形成する。   The RAM 12 is a volatile memory, and forms a work area for temporarily storing various programs to be executed and data related to these various programs.

記憶部13は、フラッシュメモリやROM(Read Only Memory)等により構成され、各種プログラム及び各種データを記憶する。記憶部13は、テンポラリデバイスプログラムや不揮発保存データをファームウエア更新データに対応させる設定を行う不揮発保存データ引き継ぎアルゴリズムを記憶する。   The storage unit 13 includes a flash memory, a ROM (Read Only Memory), and the like, and stores various programs and various data. The storage unit 13 stores a non-volatile storage data takeover algorithm for setting the temporary device program and the non-volatile storage data to correspond to the firmware update data.

通信部14は、デバイス1及びフィールドデバイス2〜4と情報を送受信する。   The communication unit 14 transmits / receives information to / from the device 1 and the field devices 2 to 4.

次に、図3(A)を参照して、デバイス1の内部構成を説明する。デバイス1は、送信装置側制御部としてのCPU21と、送信装置側通信部としての通信部22と、を備えて構成される。   Next, the internal configuration of the device 1 will be described with reference to FIG. The device 1 includes a CPU 21 as a transmission device side control unit and a communication unit 22 as a transmission device side communication unit.

CPU21は、通信部22を介してファームウエア更新データを送信する。通信部22は、テンポラリデバイス5及びフィールドデバイス2〜4と情報を送受信する。   The CPU 21 transmits firmware update data via the communication unit 22. The communication unit 22 transmits / receives information to / from the temporary device 5 and the field devices 2 to 4.

次に、図3(B)を参照して、フィールドデバイスの内部構成を説明する。フィールドデバイス2〜4は同様の構成である。以下、フィールドデバイス2を代表して説明する。
フィールドデバイス2は、フィールドデバイス側制御部としてのCPU31と、フィールドデバイス側通信部としての通信部32と、を備えて構成される。
Next, the internal configuration of the field device will be described with reference to FIG. The field devices 2 to 4 have the same configuration. Hereinafter, the field device 2 will be described as a representative.
The field device 2 includes a CPU 31 as a field device side control unit and a communication unit 32 as a field device side communication unit.

CPU31は、通信部32を介してファームウエア更新データ及び引き継ぎ処理された不揮発保存データを受信する。通信部32は、デバイス1及びテンポラリデバイス5と情報を送受信する。   The CPU 31 receives the firmware update data and the non-volatile storage data subjected to the takeover process via the communication unit 32. The communication unit 32 transmits / receives information to / from the device 1 and the temporary device 5.

次に、図4(A)を参照して、ファームウエア更新データ7について説明する。図4(A)に示すように、ファームウエア更新データ7は、アプリケーション実行データと、アドレス情報と、識別情報と、を有する。
アドレス情報は、ファームウエア更新データ7が送信されるフィールドデバイスのアドレスを示す情報である。識別情報は、引き継ぎ処理の際に用いられる不揮発保存データ引き継ぎアルゴリズムを識別するための情報(ファームウエアのバージョン情報)である。
Next, the firmware update data 7 will be described with reference to FIG. As shown in FIG. 4A, the firmware update data 7 includes application execution data, address information, and identification information.
The address information is information indicating the address of the field device to which the firmware update data 7 is transmitted. The identification information is information (firmware version information) for identifying the nonvolatile storage data takeover algorithm used in the takeover process.

次に、図4(B)を参照して、記憶部13に記憶される不揮発保存データ引き継ぎアルゴリズムについて説明する。図4(B)に示すように、記憶部13には、複数の不揮発保存データ引き継ぎアルゴリズムが記憶される。各不揮発保存データ引き継ぎアルゴリズムは、識別情報(ファームウエアのバージョン情報)と対応付けて記憶されている。   Next, with reference to FIG. 4B, a non-volatile stored data takeover algorithm stored in the storage unit 13 will be described. As shown in FIG. 4B, the storage unit 13 stores a plurality of nonvolatile storage data takeover algorithms. Each nonvolatile storage data takeover algorithm is stored in association with identification information (firmware version information).

次に、記憶部13に記憶される不揮発保存データ引き継ぎアルゴリズムの変更等を行う場合について説明する。例えば、変更したい所望の不揮発保存データ引き継ぎアルゴリズムを外部機器(図示省略)が有していたとする。この場合、通信部14を介して外部機器から所望の不揮発保存データ引き継ぎアルゴリズムが受信され、当該受信された不揮発保存データ引き継ぎアルゴリズムが記憶部13に記憶される。
また、例えば、不揮発保存データ引き継ぎアルゴリズムが記憶されているメモリデバイス(フラッシュメモリ等のデバイス)の差し替えがユーザにより行われることにより、不揮発保存データ引継ぎアルゴリズムの変更等を行うこととしてもよい。
Next, a case where the nonvolatile storage data takeover algorithm stored in the storage unit 13 is changed will be described. For example, it is assumed that an external device (not shown) has a desired nonvolatile storage data takeover algorithm to be changed. In this case, a desired nonvolatile storage data takeover algorithm is received from the external device via the communication unit 14, and the received nonvolatile storage data takeover algorithm is stored in the storage unit 13.
Further, for example, the nonvolatile storage data takeover algorithm may be changed by replacing a memory device (a device such as a flash memory) storing the nonvolatile storage data takeover algorithm by the user.

次に、図5を参照して、テンポラリデバイス5で実行されるテンポラリデバイス処理について説明する。テンポラリデバイス処理は、不揮発保存データ引き継ぎアルゴリズムを用いて不揮発保存データの引き継ぎ処理を行い、引き継ぎ処理された不揮発保存データをフィールドデバイス2にファームウエア更新データと並列して送信する処理である。   Next, with reference to FIG. 5, a temporary device process executed by the temporary device 5 will be described. The temporary device processing is processing for performing non-volatile storage data transfer processing using a non-volatile storage data transfer algorithm and transmitting the non-volatile storage data subjected to the transfer processing to the field device 2 in parallel with the firmware update data.

予め、記憶部13には、複数の不揮発保存データ引き継ぎアルゴリズムが記憶されているものとする。   It is assumed that a plurality of nonvolatile storage data takeover algorithms are stored in the storage unit 13 in advance.

例えば、テンポラリデバイス5において、デバイス1からフィールドデバイス2に対してファームウエア更新データ7が送信されていることを通信部14を介して自動的に検知したことをトリガとして、記憶部13から読み出されて適宜RAM12に展開されたテンポラリデバイスプログラムと、CPU11との協働によりテンポラリデバイス処理が実行される。   For example, in the temporary device 5, reading from the storage unit 13 is triggered by automatically detecting that the firmware update data 7 is being transmitted from the device 1 to the field device 2 via the communication unit 14. Then, the temporary device process is executed in cooperation with the CPU 11 and the temporary device program appropriately loaded in the RAM 12.

先ず、通信部14を介してファームウエア更新データ7に含まれるフィールドデバイス2のアドレス情報が取得される(ステップS11)。そして、通信部14を介してファームウエア更新データに含まれる識別情報が取得される(ステップS12)。   First, the address information of the field device 2 included in the firmware update data 7 is acquired via the communication unit 14 (step S11). And the identification information contained in firmware update data is acquired via the communication part 14 (step S12).

ステップS12の実行後、取得された識別情報に基づいて、不揮発保存データ引き継ぎアルゴリズムの選択が行われる(ステップS13)。具体的には、識別情報(ファームウエアバージョン情報)と一致するファームウエアバージョン情報に対応付けられた1つの不揮発保存データ引継ぎアルゴリズムが記憶部13の中から選択される。   After execution of step S12, a nonvolatile storage data takeover algorithm is selected based on the acquired identification information (step S13). Specifically, one non-volatile stored data takeover algorithm associated with the firmware version information that matches the identification information (firmware version information) is selected from the storage unit 13.

ステップS13の実行後、選択された不揮発保存データ引き継ぎアルゴリズムにより引き継ぎ処理が実行される(ステップS14)。具体的には、不揮発保存データがフィールドデバイス2から読み出され(通信部14を介して不揮発保存データが受信され)、当該読み出された不揮発保存データに対して、不揮発保存データ引き継ぎアルゴリズムを用いてファームウエア更新データに対応させる引き継ぎ処理が実行される。   After execution of step S13, the takeover process is executed by the selected nonvolatile storage data takeover algorithm (step S14). Specifically, nonvolatile storage data is read from the field device 2 (nonvolatile storage data is received via the communication unit 14), and a nonvolatile storage data takeover algorithm is used for the read nonvolatile storage data. Then, takeover processing corresponding to the firmware update data is executed.

ステップS14の実行後、引き継ぎ処理された不揮発保存データがフィールドデバイス2宛にファームウエア更新データと並列して通信部14を介して送信される(ステップS15)。ステップS15の実行後、テンポラリデバイス処理は終了される。   After execution of step S14, the non-volatile storage data subjected to the handover process is transmitted to the field device 2 in parallel with the firmware update data via the communication unit 14 (step S15). After execution of step S15, the temporary device process is terminated.

以上、本実施の形態によれば、引継ぎ処理の行われた不揮発保存データをファームウエア更新データの送信と並行してフィールドデバイス2に送信する。このため、フィールドデバイス2は、ファームウエア更新データを1回だけダウンロードすればよいので、ファームウエア更新データのダウンロードを効率的に行うことができる。また、ファームウエア更新データの送信と並行して、引き継ぎ処理された不揮発保存データをフィールドデバイス2に送信するので、フィールドデバイス2は、引き継ぎ処理された不揮発保存データをファームウエア更新データとともに取得することができる。このため、フィールドデバイス2は、再起動の前に不揮発保存データに対して引き継ぎ処理を行うことができるので、不揮発保存データの引き継ぎの信頼性を向上させることができる。   As described above, according to the present embodiment, the nonvolatile storage data subjected to the takeover process is transmitted to the field device 2 in parallel with the transmission of the firmware update data. For this reason, the field device 2 needs to download the firmware update data only once, so that the firmware update data can be efficiently downloaded. Further, in parallel with the transmission of the firmware update data, the non-volatile data that has been handed over is transmitted to the field device 2, so that the field device 2 acquires the non-volatile data that has been handed over along with the firmware update data. Can do. For this reason, since the field device 2 can perform the takeover process for the nonvolatile storage data before the restart, the reliability of the takeover of the nonvolatile storage data can be improved.

また、テンポラリデバイス5が不揮発保存データ引き継ぎアルゴリズムを用いて引き継ぎ処理を行うので、フィールドデバイス2は、不揮発保存データ引き継ぎアルゴリズムを用いて引き継ぎ処理を行う必要がない。   Further, since the temporary device 5 performs the takeover process using the nonvolatile storage data takeover algorithm, the field device 2 does not need to perform the takeover process using the nonvolatile storage data takeover algorithm.

また、ファームウエア更新データの送信と並列して引き継ぎ設定の行われた不揮発保存データをフィールドデバイス2に送信するので、フィールドデバイス2は、時間を要することなくダウンロードを行うことができる。   In addition, since the nonvolatile storage data in which the takeover setting is performed is transmitted to the field device 2 in parallel with the transmission of the firmware update data, the field device 2 can perform the download without taking time.

また、テンポラリデバイス5は、H1仕様で規定されているテンポラリデバイス用のアドレス(一時的にバスの状況を確認するためのアドレス)を使用することにより、既存のH1バス設定(予め設定されているH1バス)に影響を与えることなくH1バスへ通信接続することができる。   In addition, the temporary device 5 uses an address for a temporary device (address for temporarily confirming the bus status) defined in the H1 specification, so that an existing H1 bus setting (preliminarily set) is used. The communication connection can be made to the H1 bus without affecting the H1 bus.

また、デバイス1には、特別なアプリケーションをインストールする必要がない。   Further, it is not necessary to install a special application in the device 1.

また、例えば、通信部14を介して不揮発保存データ引き継ぎアルゴリズムを外部装置から取得する場合、H1の規則に沿って通信を行う必要がないので、不揮発保存データ引き継ぎアルゴリズムを変更する場合に時間を要しない。   Further, for example, when the nonvolatile storage data takeover algorithm is acquired from the external device via the communication unit 14, it is not necessary to perform communication according to the rules of H1, so it takes time to change the nonvolatile storage data takeover algorithm. do not do.

なお、上記実施の形態における記述は、本発明に係るフィールドネットワークシステムの一例であり、これに限定されるものではない。   The description in the above embodiment is an example of the field network system according to the present invention, and the present invention is not limited to this.

例えば、上記実施の形態では、テンポラリデバイス処理において、デバイス1からフィールドデバイス2に対してファームウエア更新データ7が送信されていることを通信部14を介して自動的に検知したことをトリガとしたが、これに限定されるものではない。例えば、テンポラリデバイス5が、デバイス1からファームウエア更新データ7をフィールドデバイス2へ送信する旨の通知を通信部14を介して受信し、当該受信によりファームウエア更新データ7の送信を検知したことをトリガとしてもよい。 For example, in the above-described embodiment, the temporary device process is triggered by automatically detecting that the firmware update data 7 is transmitted from the device 1 to the field device 2 via the communication unit 14. However, the present invention is not limited to this. For example, the temporary device 5 receives a notification that the firmware update data 7 is to be transmitted from the device 1 to the field device 2 via the communication unit 14, and detects that the transmission of the firmware update data 7 is detected by the reception. It may be a trigger.

また、テンポラリデバイス処理のステップS12において、ファームウエア更新データ7に含まれる識別情報を取得することとしたが、これに限定されるものではない。例えば、フィールドデバイス2が識別情報を有しており、テンポラリデバイス5は、フィールドデバイス2から識別情報を取得することとしてもよい。この場合、テンポラリデバイス5はファームウエア更新データ7に含まれるアドレス情報に基づいて、フィールドデバイス2を特定し、当該特定したフィールドデバイス2から識別情報を取得する。   In step S12 of the temporary device process, the identification information included in the firmware update data 7 is acquired. However, the present invention is not limited to this. For example, the field device 2 may have identification information, and the temporary device 5 may acquire the identification information from the field device 2. In this case, the temporary device 5 identifies the field device 2 based on the address information included in the firmware update data 7 and acquires identification information from the identified field device 2.

また、テンポラリデバイス5は1つの不揮発保存データ引継ぎアルゴリズムを用いて引き継ぎ処理を行うことしたが、これに限定されるものではない。例えば、テンポラリデバイス5において、不揮発保存データ引き継ぎアルゴリズムを複数個並列動作させることとしてもよい。これにより、同型又は異型のフィールドデバイスにおいて、同時に更新ファームウエアデータを更新することができる。例えば、フィールドデバイス2〜4が温度伝送デバイス(同型のフィールドデバイス)の場合であっても、フィールドデバイス2が温度伝送デバイス、フィールドデバイス3、4が圧力伝送デバイス(異型のフィールドデバイス)の場合であっても、同時に更新ファームウエアデータを更新することができる。このため、フィールドデバイスの数が多くなるほど、ファームウエア更新データの送信と、引き継ぎ処理された不揮発保存データの送信との並行動作による時間削減を実現することができる。   Further, although the temporary device 5 performs the handover process using one nonvolatile storage data handover algorithm, the present invention is not limited to this. For example, in the temporary device 5, a plurality of nonvolatile storage data takeover algorithms may be operated in parallel. Thereby, the update firmware data can be simultaneously updated in the same type or different type field device. For example, even if the field devices 2 to 4 are temperature transmission devices (same type field devices), the field device 2 is a temperature transmission device, and the field devices 3 and 4 are pressure transmission devices (atypical field devices). Even if there is, update firmware data can be updated at the same time. For this reason, as the number of field devices increases, it is possible to realize time reduction by parallel operation of transmission of firmware update data and transmission of takeover-processed nonvolatile storage data.

また、H1仕様では、1つのローカルエリアネットワークリンク内にテンポラリデバイス5用のアドレスが4個用意されている。このため、テンポラリデバイス5が4台設置可能である。この場合、4台のテンポラリデバイス5を使用して更新ファームウエアデータの更新を行うことにより、テンポラリデバイス5の内部処理の実行効率およびフィールドネットワークシステム10の使用効率を向上させることができる。   In the H1 specification, four addresses for the temporary device 5 are prepared in one local area network link. For this reason, four temporary devices 5 can be installed. In this case, by using the four temporary devices 5 to update the update firmware data, it is possible to improve the execution efficiency of the internal processing of the temporary device 5 and the usage efficiency of the field network system 10.

また、デバイス1又はテンポラリデバイス5は、PC(Personal Computer)等の端末装置としてもよい。 The device 1 or the temporary device 5 may be a terminal device such as a PC (Personal Computer).

その他、本実施の形態における、フィールドネットワークシステム1の細部構造及び詳細動作に関しても、本発明の趣旨を逸脱しない範囲で適宜変更可能である。   In addition, the detailed structure and detailed operation of the field network system 1 in the present embodiment can be changed as appropriate without departing from the spirit of the present invention.

本発明に係る実施の形態のフィールドネットワークシステムの構成を示す図である。It is a figure which shows the structure of the field network system of embodiment which concerns on this invention. テンポラリデバイスの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a temporary device. (A)は、デバイスの内部構成を示すブロック図である。(B)は、フィールドデバイスの内部構成を示すブロック図である。(A) is a block diagram showing an internal configuration of a device. (B) is a block diagram showing an internal configuration of the field device. (A)は、ファームウエア更新データを説明する図である。(B)は、記憶部に記憶される不揮発保存データ引き継ぎアルゴリズムを説明する図である。(A) is a figure explaining firmware update data. (B) is a figure explaining the non-volatile preservation data takeover algorithm memorize | stored in a memory | storage part. テンポラリデバイス処理を示すフローチャートである。It is a flowchart which shows a temporary device process. 従来のフィールドネットワークシステムを示す図である。It is a figure which shows the conventional field network system. ファームウエア更新データを示す図である。It is a figure which shows firmware update data.

符号の説明Explanation of symbols

1 デバイス
2〜4 フィールドデバイス
5 テンポラリデバイス
7 ファームウエア更新データ
10 フィールドネットワークシステム
11 CPU
12 RAM
13 記憶部
14 通信部
1 Device 2 to 4 Field device 5 Temporary device 7 Firmware update data 10 Field network system 11 CPU
12 RAM
13 storage unit 14 communication unit

Claims (3)

ファームウエア更新データを送信する送信装置及び当該送信装置から送信されたファームウエア更新データを受信するフィールドデバイスと通信接続される設定装置において、
前記フィールドデバイスから受信した所定のデータに対して前記ファームウエア更新データに対応させる設定を行い、当該設定の行われた所定のデータを前記送信装置による前記ファームウエア更新データの送信と並行して前記フィールドデバイスへ送信する制御部を備えることを特徴とする設定装置。
In a transmission device that transmits firmware update data and a setting device that is communicatively connected to a field device that receives firmware update data transmitted from the transmission device.
The predetermined data received from the field device is set to correspond to the firmware update data, and the predetermined data for which the setting has been performed is performed in parallel with the transmission of the firmware update data by the transmission device. A setting device comprising a control unit that transmits to a field device.
前記送信装置及び前記フィールドデバイスと通信を行う通信部を備え、
前記所定のデータは、
前記ファームウエア更新データに対応させる必要のあるデータであり、
前記制御部は、
前記送信装置による前記ファームウエア更新データの送信を前記通信部を介して検知した後、前記所定のデータを前記通信部を介して前記フィールドデバイスから受信し、前記所定のデータに対して前記ファームウエア更新データに対応させる設定を行うアルゴリズムデータを用いて、当該受信した所定のデータに対して前記ファームウエア更新データに対応させる設定を行い、当該設定の行われた所定のデータを前記送信装置による前記ファームウエア更新データの送信と並行して前記通信部を介して前記フィールドデバイスへ送信することを特徴とする請求項1に記載の設定装置。
A communication unit that communicates with the transmission device and the field device;
The predetermined data is:
It is data that needs to correspond to the firmware update data,
The controller is
After detecting transmission of the firmware update data by the transmission device via the communication unit, the predetermined data is received from the field device via the communication unit, and the firmware is received with respect to the predetermined data. Using algorithm data for setting corresponding to update data, setting corresponding to the firmware update data for the received predetermined data, and setting the predetermined data for which the setting has been performed by the transmitting device The setting apparatus according to claim 1, wherein the setting device transmits the firmware update data to the field device via the communication unit in parallel with the transmission of the firmware update data.
請求項1又は2に記載の設定装置と、
前記送信装置と、
前記フィールドデバイスと、を備え、
前記送信装置は、
前記設定装置及び前記フィールドデバイスと通信を行う送信装置側通信部と、
前記送信装置通信部を介して前記ファームウエア更新データを送信する送信装置側制御部と、を備え、
前記フィールドデバイスは、
前記設定装置及び前記送信装置と通信を行うフィールドデバイス側通信部と、
前記フィールドデバイス側通信部を介して前記ファームウエア更新データ及び前記ファームウエア更新データに対応させる設定の行われた所定のデータを受信するフィールドデバイス側制御部と、
を備えることを特徴とするフィールドネットワークシステム。
A setting device according to claim 1 or 2,
The transmitting device;
The field device,
The transmitter is
A transmitter side communication unit for communicating with the setting device and the field device;
A transmission device side control unit that transmits the firmware update data via the transmission device communication unit,
The field device is
A field device side communication unit that communicates with the setting device and the transmission device;
A field device-side control unit that receives the firmware update data and the predetermined data set to correspond to the firmware update data via the field device-side communication unit;
A field network system comprising:
JP2008253416A 2008-09-30 2008-09-30 Setting device and field network system Pending JP2010086206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008253416A JP2010086206A (en) 2008-09-30 2008-09-30 Setting device and field network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008253416A JP2010086206A (en) 2008-09-30 2008-09-30 Setting device and field network system

Publications (1)

Publication Number Publication Date
JP2010086206A true JP2010086206A (en) 2010-04-15

Family

ID=42250119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008253416A Pending JP2010086206A (en) 2008-09-30 2008-09-30 Setting device and field network system

Country Status (1)

Country Link
JP (1) JP2010086206A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012015346A (en) * 2010-07-01 2012-01-19 Toyo Ink Sc Holdings Co Ltd Resin composition for solar cell sealing material
KR20230085381A (en) * 2021-12-07 2023-06-14 주식회사 퀀텀솔루션 Sensing optimization system and method of IoT devices using artificial intelligence technology
EP4571438A1 (en) * 2023-11-07 2025-06-18 Yokogawa Electric Corporation Field device and diagnostic method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012015346A (en) * 2010-07-01 2012-01-19 Toyo Ink Sc Holdings Co Ltd Resin composition for solar cell sealing material
KR20230085381A (en) * 2021-12-07 2023-06-14 주식회사 퀀텀솔루션 Sensing optimization system and method of IoT devices using artificial intelligence technology
KR102658008B1 (en) 2021-12-07 2024-04-17 주식회사 퀀텀솔루션 Sensing optimization system and method of IoT devices using artificial intelligence technology
EP4571438A1 (en) * 2023-11-07 2025-06-18 Yokogawa Electric Corporation Field device and diagnostic method

Similar Documents

Publication Publication Date Title
JP6390644B2 (en) Program update system, program update method, and computer program
US9021462B2 (en) Systems and methods for provisioning equipment
JP4888718B2 (en) Distributed control system
CN106250192B (en) Software upgrading method and system of upper computer
EP2456257A1 (en) Method and system for upgrading wireless data card
JP7103303B2 (en) Devices, communication modules, application modules and methods
CN101687447A (en) Universal tyre pressure monitoring sensor
KR20110076432A (en) Multi-program update system and method using CAN communication
WO2018105609A1 (en) Program update system, distribution device, and program update method
US20090019435A1 (en) System and method for over the air programming
JP4945788B2 (en) Communication adapter
CN112771497A (en) Method and device for upgrading equipment and storage medium
CN115250285A (en) Update control system, update control method, non-transitory storage medium, vehicle-mounted control device
JP2010086206A (en) Setting device and field network system
CN101807149B (en) Safely recoverable firmware update method and its embedded electronic device
EP2398190B1 (en) Field communication system
WO2018164037A1 (en) Relay apparatus, server, method for setting relay apparatus, and recording medium
CN112241280B (en) Firmware updates for modular node components
CN109992289A (en) sensor firmware upgrading method, device and equipment
CN112470117B (en) Equipment control method, control device and control system
CN110908733A (en) Working mode determination method and device, control method and device
KR101900729B1 (en) Method for running PLC operating system
KR101386464B1 (en) Application program download apparatus and method for touch panel in mobile terminal
US9733979B2 (en) Communication device
CN111580472B (en) Control device, storage medium, and wireless communication apparatus