JP2018010575A - Field apparatus, field system, general-purpose module and parameter management method - Google Patents

Field apparatus, field system, general-purpose module and parameter management method Download PDF

Info

Publication number
JP2018010575A
JP2018010575A JP2016140437A JP2016140437A JP2018010575A JP 2018010575 A JP2018010575 A JP 2018010575A JP 2016140437 A JP2016140437 A JP 2016140437A JP 2016140437 A JP2016140437 A JP 2016140437A JP 2018010575 A JP2018010575 A JP 2018010575A
Authority
JP
Japan
Prior art keywords
unit
storage area
basic information
identification information
parameter
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.)
Granted
Application number
JP2016140437A
Other languages
Japanese (ja)
Other versions
JP6723516B2 (en
Inventor
落合 覚
Satoru Ochiai
覚 落合
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 JP2016140437A priority Critical patent/JP6723516B2/en
Publication of JP2018010575A publication Critical patent/JP2018010575A/en
Application granted granted Critical
Publication of JP6723516B2 publication Critical patent/JP6723516B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce complexity of parameter management on a general-purpose unit side in a field apparatus in which a dedicated unit and a general-purpose unit are combined.SOLUTION: There is provided a field apparatus in which a dedicated unit 120 and a general-purpose unit 110 are combined. The dedicated unit 120 comprises a storage area 122 for storing parameter basic information for defining a parameter used in the general-purpose unit 110 and identification information on the parameter basic information. The general-purpose unit 110 comprises: a first storage area 114 for storing identification information; a second storage area 114 for storing parameter basic information; and a control unit for acquiring identification information from the dedicated unit and, when the acquired identification information is different from identification information stored in the first storage area 114, acquiring parameter basic information from the dedicated unit to store the parameter basic information in the second storage area 114 and store the acquired identification information in the first storage area 114.SELECTED DRAWING: Figure 2

Description

本発明は、フィールド機器に関し、特に、専用ユニットと汎用ユニットとを組み合わせたフィールド機器における汎用ユニット側のパラメータ管理に関する。   The present invention relates to a field device, and more particularly to parameter management on a general-purpose unit side in a field device in which a dedicated unit and a general-purpose unit are combined.

プラントや工場等で用いられる分散制御システムにおいて、フィールド機器は、それぞれが制御機能を有し、フィールドバス等によって相互に通信し監視を行なう。このようなフィールド機器では、例えば、センサ処理のような専用処理に特化したCPUと、通信処理や表示処理のような汎用処理に特化したCPUとを組み合わせて構成する場合が多い。   In distributed control systems used in plants, factories, etc., field devices each have a control function, and communicate with each other and monitor via a field bus or the like. Such field devices are often configured by combining, for example, a CPU specialized for dedicated processing such as sensor processing and a CPU specialized for general-purpose processing such as communication processing and display processing.

例えば、通信CPUとセンサCPUとを組み合わせた場合、通信CPUを含む通信部とセンサCPUを含むセンサ部とでフィールド機器を構成する。   For example, when a communication CPU and a sensor CPU are combined, a field device is configured by a communication unit including the communication CPU and a sensor unit including the sensor CPU.

この場合、通信部は、通信処理の制御を行なう通信CPUと、プログラムを格納するROMと、変数やデータを保持するRAMと、データ等を不揮発的に保持するEEPROM等の書き換え可能な不揮発性メモリと、採用する通信方式に対応した通信モジュールとで構成することができる。   In this case, the communication unit includes a communication CPU that controls communication processing, a ROM that stores programs, a RAM that holds variables and data, and a rewritable nonvolatile memory such as an EEPROM that holds data and the like in a nonvolatile manner. And a communication module corresponding to the employed communication method.

また、センサ部は、センサ処理を制御するセンサCPUと、プログラムを格納するROMと、変数やデータを保持するRAMと、データ等を不揮発的に保持するEEPROM等の書き換え可能な不揮発性メモリと、測定値等を表示するLCD等の表示部と、操作を受け付ける入力部と、通信部とセンサ部の各機能部に電力を供給する電源部と、測定を実行するセンサ測定モジュールで構成することができる。   The sensor unit includes a sensor CPU that controls sensor processing, a ROM that stores programs, a RAM that holds variables and data, a rewritable nonvolatile memory such as an EEPROM that holds data and the like in a nonvolatile manner, It may be composed of a display unit such as an LCD for displaying measurement values, an input unit for receiving operations, a power supply unit for supplying power to each functional unit of the communication unit and the sensor unit, and a sensor measurement module for performing measurement. it can.

通信部とセンサ部とのデータ送受信のため、通信CPUとセンサCPUとはUART等の汎用シリアル通信で結線する。なお、表示部、入力部、電源部は、通信部に設ける場合もある。   In order to transmit and receive data between the communication unit and the sensor unit, the communication CPU and the sensor CPU are connected by general-purpose serial communication such as UART. Note that the display unit, the input unit, and the power supply unit may be provided in the communication unit.

センサ部のセンサCPUは、センサ測定モジュールが外部から取得した信号を測定値に変換するための演算を行なう。演算結果は、表示部に表示したり、シリアル通信により通信部に転送する。また、一部のデータや異常状態が発生したときに記録するログ情報、入力部等を介した設定情報は不揮発メモリに保持する。   The sensor CPU of the sensor unit performs an operation for converting a signal acquired from the outside by the sensor measurement module into a measurement value. The calculation result is displayed on the display unit or transferred to the communication unit by serial communication. Also, some data and log information recorded when an abnormal state occurs, setting information via the input unit, etc. are held in the nonvolatile memory.

通信部は、通信プロトコルに対応した各種制御を行ない、ホストシステムとの初期化処理や、リクエストに対する応答、センサ部から取得した測定値の定期的な送信、発生したアラーム情報の送信等を行なう。   The communication unit performs various controls corresponding to the communication protocol, and performs initialization processing with the host system, response to requests, periodic transmission of measured values acquired from the sensor unit, transmission of generated alarm information, and the like.

一般に、フィールドバスでは、機能ブロックという機能的モデルが用いられている。機能ブロックは、アナログ入力(AI)、アナログ出力(AO)、PID制御(PID)といった分散制御システムで使用される機能を一般化した概念である。計測と制御アプリケーションは、必要な機能ブロックを結合することにより構築することができる。   In general, a functional model called a functional block is used in the fieldbus. The function block is a generalized concept of functions used in a distributed control system such as analog input (AI), analog output (AO), and PID control (PID). Measurement and control applications can be built by combining the necessary functional blocks.

機能ブロックでは、多数のパラメータが定義されており、機能ブロックの動作は、パラメータの値に依存する。機能ブロックは、仕様化された標準ブロックの他、標準ブロックに必要なパラメータや演算機能を追加した機能ブロック、ベンダーが独自に設計した機能ブロック等が用いられている。   A large number of parameters are defined in the function block, and the operation of the function block depends on the value of the parameter. In addition to the standardized block, the functional block includes a functional block to which parameters and arithmetic functions necessary for the standard block are added, a functional block designed uniquely by the vendor, and the like.

機能ブロックごとのパラメータの定義情報(「パラメータ基礎情報」と称する)は、プログラムに組み込まれており、ファームウェアとしてROMや不揮発性メモリに格納している。   Parameter definition information for each functional block (referred to as “parameter basic information”) is incorporated in a program and stored as firmware in a ROM or nonvolatile memory.

パラメータ基礎情報で、必要なパラメータを適宜定義することができるため、同じ機能ブロックであっても、バージョンが異なると、追加修正等により機能ブロック内で定義されているパラメータの内容が異なる場合がある。   Since necessary parameters can be defined as appropriate in the parameter basic information, even if the function block is the same, if the version is different, the contents of the parameters defined in the function block may be different due to additional modifications, etc. .

特願2014−167705号公報Japanese Patent Application No. 2014-167705

汎用的な処理を行なう通信部は、異なるセンサ部に対応できるように構成することが好ましい。例えば、通信部を、差圧伝送器用のセンサ部と温度伝送器用のセンサ部との両方に対応させることにより、通信部の汎用性を高めることができる。   The communication unit that performs general-purpose processing is preferably configured to be compatible with different sensor units. For example, the versatility of the communication unit can be enhanced by making the communication unit correspond to both the sensor unit for the differential pressure transmitter and the sensor unit for the temperature transmitter.

しかしながら、組み合わせるセンサ部が異なると、必要な演算処理や単位等が異なるため、通信部で定義すべきパラメータも異なることになる。   However, if the sensor units to be combined are different, necessary arithmetic processing, units, and the like are different, so parameters to be defined in the communication unit are also different.

このため、通信部のファームウェアでは、プログラム内に複数種のパラメータ基礎情報を用意しておき、どの種類のセンサ部と組み合わせられているかを識別して、対応するパラメータ基礎情報で起動するようにしている。すなわち、通信部では、組み合わせられるセンサ部に対応したパラメータ基礎情報をすべて含んだファームウェアを格納している。   For this reason, the firmware of the communication unit prepares multiple types of parameter basic information in the program, identifies which type of sensor unit is combined, and starts up with the corresponding parameter basic information. Yes. That is, the communication unit stores firmware including all parameter basic information corresponding to the sensor units to be combined.

このため、例えば、通信部のファームウェアの一部を修正してパラメータ基礎情報を変更した場合であっても、プログラムの修正となるため、対応するすべてのセンサ部との結合試験が必要となる。また、センサ部のファームウェアを更新してパラメータ基礎情報を変更する場合には、通信部のファームウェアも更新しなければならない。さらには、通信部のファームウェアを新たなセンサ部と組み合わせられるように更新した場合、他のセンサ部との組み合わせにおいては、意味のない更新となってしまう、といった問題点がある。   For this reason, for example, even when a part of the firmware of the communication unit is modified to change the parameter basic information, the program is modified, so that a coupling test with all corresponding sensor units is required. Further, when the parameter basic information is changed by updating the firmware of the sensor unit, the firmware of the communication unit must also be updated. Furthermore, when the firmware of the communication unit is updated so that it can be combined with a new sensor unit, there is a problem that it becomes a meaningless update in combination with another sensor unit.

これらの問題点は、通信部とセンサ部のみならず、表示部や入力部のような汎用的な機能ユニットと、空電変換器やバルブポジショナ等の専用的な機能ユニットとを組み合わせる場合にも生じ得る。   These problems occur not only when combining general-purpose functional units such as display units and input units with dedicated functional units such as static converters and valve positioners, as well as communication units and sensor units. Can occur.

そこで、本発明は、専用ユニットと汎用ユニットとを組み合わせるフィールド機器において、汎用ユニット側のパラメータ管理の煩雑性を軽減することを目的とする。   Accordingly, an object of the present invention is to reduce the complexity of parameter management on the general-purpose unit side in a field device that combines a dedicated unit and a general-purpose unit.

上記課題を解決するため、本発明の第1の態様であるフィールド機器は、専用ユニットと汎用ユニットとを組み合わせたフィールド機器であって、前記専用ユニットは、前記汎用ユニットで使用するパラメータを定義するパラメータ基礎情報と、前記パラメータ基礎情報の識別情報とを格納した記憶領域を備え、前記汎用ユニットは、前記識別情報を格納する第1記憶領域と、前記パラメータ基礎情報を格納する第2記憶領域と、前記専用ユニットから前記識別情報を取得し、前記第1記憶領域に格納されている識別情報と異なる場合に、前記専用ユニットから前記パラメータ基礎情報を取得して前記第2記憶領域に格納するとともに、取得した前記識別情報を前記第1記憶領域に格納する制御部とを備えることを特徴とする。
ここで、前記汎用ユニットは、前記パラメータ基礎情報を、前記制御部が実行するプログラムとは独立して前記第2記憶領域に格納することができる。
また、前記汎用ユニットの制御部は、取得した前記識別情報が、前記第1記憶領域に格納されている識別情報と同じ場合には、前記パラメータ基礎情報を前記専用ユニットから取得しないことが望ましい。
上記課題を解決するため、本発明の第2の態様であるフィールドシステムは、前記汎用ユニットが通信ユニットである上述のフィールド機器と、前記フィールド機器と通信を行なうホストシステムとを備えたフィールドシステムであって、前記ホストシステムが、前記通信ユニットに格納されている前記パラメータ基礎情報を変更可能であることを特徴とする。
上記課題を解決するため、本発明の第3の態様である汎用ユニットは、パラメータを定義するパラメータ基礎情報と、前記パラメータ基礎情報の識別情報とを格納した記憶領域を備えた専用ユニットと組み合わされてフィールド機器として機能する汎用ユニットであって、前記識別情報を格納する第1記憶領域と、前記パラメータ基礎情報を格納する第2記憶領域と、前記専用ユニットから前記識別情報を取得し、前記第1記憶領域に格納されている識別情報と異なる場合に、前記専用ユニットから前記パラメータ基礎情報を取得して前記第2記憶領域に格納するとともに、取得した前記識別情報を前記第1記憶領域に格納する制御部とを備えることを特徴とする。
上記課題を解決するため、本発明の第4の態様であるパラメータ管理方法は、パラメータを定義するパラメータ基礎情報と、前記パラメータ基礎情報の識別情報とを格納した記憶領域を備えた専用ユニットと組み合わされてフィールド機器として機能する汎用ユニットにおけるパラメータ管理方法であって、前記識別情報を格納する第1記憶領域と、前記パラメータ基礎情報を格納する第2記憶領域とを確保しておき、前記専用ユニットから前記識別情報を取得し、前記第1記憶領域に格納されている識別情報と異なる場合に、前記専用ユニットから前記パラメータ基礎情報を取得して前記第2記憶領域に格納するとともに、取得した前記識別情報を前記第1記憶領域に格納することを特徴とする。
In order to solve the above-described problem, the field device according to the first aspect of the present invention is a field device in which a dedicated unit and a general-purpose unit are combined, and the dedicated unit defines parameters used in the general-purpose unit. A storage area storing parameter basic information and identification information of the parameter basic information; and the general-purpose unit includes: a first storage area for storing the identification information; a second storage area for storing the parameter basic information; When the identification information is acquired from the dedicated unit and different from the identification information stored in the first storage area, the parameter basic information is acquired from the dedicated unit and stored in the second storage area. And a control unit that stores the acquired identification information in the first storage area.
Here, the general-purpose unit can store the parameter basic information in the second storage area independently of a program executed by the control unit.
In addition, it is preferable that the control unit of the general-purpose unit does not acquire the parameter basic information from the dedicated unit when the acquired identification information is the same as the identification information stored in the first storage area.
In order to solve the above problems, a field system according to a second aspect of the present invention is a field system including the above-described field device in which the general-purpose unit is a communication unit, and a host system that communicates with the field device. The host system can change the parameter basic information stored in the communication unit.
In order to solve the above-mentioned problem, the general-purpose unit according to the third aspect of the present invention is combined with a dedicated unit having a storage area storing parameter basic information defining parameters and identification information of the parameter basic information. A general-purpose unit functioning as a field device, the first storage area storing the identification information, the second storage area storing the parameter basic information, the identification information from the dedicated unit, When the identification information is different from the identification information stored in one storage area, the parameter basic information is acquired from the dedicated unit and stored in the second storage area, and the acquired identification information is stored in the first storage area. And a control unit.
In order to solve the above problem, a parameter management method according to a fourth aspect of the present invention is combined with a dedicated unit having a storage area storing parameter basic information defining parameters and identification information of the parameter basic information. The parameter management method in the general-purpose unit that functions as a field device, wherein a first storage area for storing the identification information and a second storage area for storing the parameter basic information are secured, and the dedicated unit When the identification information is acquired from, and is different from the identification information stored in the first storage area, the parameter basic information is acquired from the dedicated unit and stored in the second storage area, and the acquired The identification information is stored in the first storage area.

本発明によれば、専用ユニットと汎用ユニットとを組み合わせるフィールド機器において、汎用ユニット側のパラメータ管理の煩雑性を軽減することができる。   According to the present invention, it is possible to reduce the complexity of parameter management on the general-purpose unit side in a field device that combines a dedicated unit and a general-purpose unit.

本実施形態に係るフィールド機器の構成を示すブロック図である。It is a block diagram which shows the structure of the field apparatus which concerns on this embodiment. 稼働時における通信部とセンサ部の記憶領域を模式的に示す図である。It is a figure which shows typically the memory area of the communication part and sensor part at the time of operation. 機器識別情報を説明する図である。It is a figure explaining apparatus identification information. 通信部用パラメータ基礎情報のフォーマットを説明する図である。It is a figure explaining the format of the parameter basic information for communication parts. 通信部用パラメータ基礎情報の具体例を説明する図である。It is a figure explaining the specific example of the parameter basic information for communication parts. 通信部の起動時の動作について説明するフロー図である。It is a flowchart explaining the operation | movement at the time of starting of a communication part. 稼働時における通信部とセンサ部の記憶領域の別例を模式的に示す図である。It is a figure which shows typically another example of the memory area of the communication part at the time of operation | movement, and a sensor part.

本発明の実施の形態について図面を参照して説明する。図1は、本実施形態に係るフィールド機器10の構成を示すブロック図である。本図に示すようにフィールド機器10は、汎用的なユニットである通信部110と専用的なユニットであるセンサ部120とが組み合わされて構成されている。   Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a field device 10 according to the present embodiment. As shown in the figure, the field device 10 is configured by combining a communication unit 110 that is a general-purpose unit and a sensor unit 120 that is a dedicated unit.

通信部110は、通信処理の制御を行なう通信CPU111と、プログラムを格納するROM112と、変数やデータを保持するRAM113と、データ等を不揮発的に保持する書き換え可能な不揮発性メモリであるEEPROM114と、採用する通信方式に対応した通信モジュール115とを備えている。   The communication unit 110 includes a communication CPU 111 that controls communication processing, a ROM 112 that stores programs, a RAM 113 that holds variables and data, an EEPROM 114 that is a rewritable nonvolatile memory that holds data and the like in a nonvolatile manner, And a communication module 115 corresponding to the employed communication method.

センサ部120は、センサ処理を制御するセンサCPU121と、プログラムを格納するROM122と、変数やデータを保持するRAM123と、データ等を不揮発的に保持する書き換え可能な不揮発性メモリであるEEPROM124と、測定値等を表示するLCD等の表示部125と、操作を受け付ける入力部126と、通信部とセンサ部の各機能部に電力を供給する電源部127と、機種に応じた測定を実行するセンサ測定モジュール128を備えている。   The sensor unit 120 includes a sensor CPU 121 that controls sensor processing, a ROM 122 that stores programs, a RAM 123 that stores variables and data, an EEPROM 124 that is a rewritable nonvolatile memory that stores data and the like, and a measurement Display unit 125 such as an LCD for displaying values, etc., input unit 126 for accepting operations, power supply unit 127 for supplying power to each functional unit of the communication unit and the sensor unit, and sensor measurement for performing measurement according to the model A module 128 is provided.

通信部110とセンサ部120とのデータ送受信のため、通信CPU111とセンサCPU121とはUART等の汎用シリアル通信で結線する。なお、表示部125、入力部126、電源部127は、通信部110に設けてもよい。   For data transmission / reception between the communication unit 110 and the sensor unit 120, the communication CPU 111 and the sensor CPU 121 are connected by general-purpose serial communication such as UART. Note that the display unit 125, the input unit 126, and the power supply unit 127 may be provided in the communication unit 110.

通信部110は、フィールドバス等を介してホストシステム200と接続しており、相互の通信が可能となっている。これにより、ホストシステム200から、フィールド機器10に対して諸設定を行なうことができる。   The communication unit 110 is connected to the host system 200 via a field bus or the like, and can communicate with each other. Thereby, various settings can be made for the field device 10 from the host system 200.

また、センサ部120が測定したデータをホストシステム200が取得することができる。測定データは、パラメータ値として格納されているため、ホストシステム200は、パラメータのリクエストをフィールド機器10に送信する。通信部110がこのリクエストを受信すると、通信CPU111がリクエストのエラーチェックを行ない、適切であれば、センサCPU121にデータのリクエストを送信する。このリクエストに対してセンサCPU121が対応するデータを返答すると、通信CPU111は、受信したデータをホストシステム200に返答するためのフレーム生成を行ない、ホストシステム200に送信する。   Further, the host system 200 can acquire data measured by the sensor unit 120. Since the measurement data is stored as a parameter value, the host system 200 transmits a parameter request to the field device 10. When the communication unit 110 receives this request, the communication CPU 111 performs an error check on the request and, if appropriate, transmits a data request to the sensor CPU 121. When the sensor CPU 121 returns data corresponding to this request, the communication CPU 111 generates a frame for returning the received data to the host system 200 and transmits the frame to the host system 200.

図2は、稼働時における通信部110とセンサ部120の記憶領域を模式的に示す図である。本図に示すように、センサ部120のROM122には、通信部用パラメータ基礎情報を格納する領域とプログラム領域とが形成されており、プログラム領域には機器識別情報が格納されている。また、センサ部120のEEPROM124には、パラメータの静的データ領域が形成されている。   FIG. 2 is a diagram schematically illustrating storage areas of the communication unit 110 and the sensor unit 120 during operation. As shown in the figure, the ROM 122 of the sensor unit 120 includes an area for storing communication unit parameter basic information and a program area, and device identification information is stored in the program area. In addition, a static data area for parameters is formed in the EEPROM 124 of the sensor unit 120.

このように、本実施形態では、センサ部120がROM122に通信部用パラメータ基礎情報を格納している。また、格納している通信部用パラメータ基礎情報に関する機器識別情報もROM122に格納している。ここで、機器識別情報は図3に示すように、機器情報と通信部用パラメータ基礎情報バージョンとを示す情報である。   Thus, in this embodiment, the sensor unit 120 stores the communication unit parameter basic information in the ROM 122. In addition, the device identification information related to the communication unit parameter basic information stored in the ROM 122 is also stored. Here, as shown in FIG. 3, the device identification information is information indicating device information and communication unit parameter basic information version.

機器情報は、センサ部120の種別を示す情報であり、通信部用パラメータ基礎情報バージョンは、格納している通信部用パラメータ基礎情報のバージョンを示す情報である。このため、機器識別情報は、通信部用パラメータ基礎情報の識別情報として用いることができる。   The device information is information indicating the type of the sensor unit 120, and the communication unit parameter basic information version is information indicating the version of the stored communication unit parameter basic information. Therefore, the device identification information can be used as identification information for the communication unit parameter basic information.

また、通信部用パラメータ基礎情報は、例えば、図4に示すようなフォーマットで記録されている。本図の例では、ヘッダ部分に機能ブロックの数と、それぞれの機能ブロックの種別を記載し、本体部分に、ブロックごとのパラメータ定義を順番に記載している。パラメータ定義は、例えば、アドレス、パラメータ名称、データ型(データ数)、単位、属性(Read/Write/Hidden/ServiceRead/ServiceWrite)、保存領域、後処理の有無等とすることができる。通信部用パラメータ基礎情報は、パラメータの定義情報であり、パラメータの値そのものを定めるものではない。   The communication unit parameter basic information is recorded in a format as shown in FIG. 4, for example. In the example of this figure, the number of functional blocks and the type of each functional block are described in the header part, and the parameter definition for each block is described in order in the main body part. The parameter definition can be, for example, an address, parameter name, data type (number of data), unit, attribute (Read / Write / Hidden / ServiceRead / ServiceWrite), storage area, presence / absence of post-processing, and the like. The communication parameter basic information is parameter definition information and does not define the parameter value itself.

図5は、通信部用パラメータ基礎情報の具体例を示している。本図の例では、AI、DI、PID、Specialの4つの機能ブロックを有しており、それぞれの機能ブロックについて複数個のパラメータが定義されている。   FIG. 5 shows a specific example of communication unit parameter basic information. In the example of this figure, it has four functional blocks of AI, DI, PID, and Special, and a plurality of parameters are defined for each functional block.

図2の説明に戻って、通信部110のROM112にはプログラム領域が形成されている。RAM113には、パラメータ基礎情報格納領域と変数領域とが形成されている。また、EEPROM114には、センサ部120から取得した通信部用パラメータ基礎情報を格納する領域と、静的データ領域とが形成されている。静的データ領域には、「保有している機器識別情報」が格納されている。   Returning to the description of FIG. 2, a program area is formed in the ROM 112 of the communication unit 110. In the RAM 113, a parameter basic information storage area and a variable area are formed. The EEPROM 114 is formed with an area for storing the communication unit parameter basic information acquired from the sensor unit 120 and a static data area. The “static device identification information” is stored in the static data area.

すなわち、本実施形態では、通信部110は、EEPROM114に、通信部用パラメータ基礎情報を格納する領域をあらかじめ確保しておき、組み合わされたセンサ部120から通信部用パラメータ基礎情報を取得して、EEPROM114に格納するようにしている。併せて、格納した通信部用パラメータ基礎情報に関する情報を、「保有している機器識別情報」としてEEPROM114に格納する。   That is, in the present embodiment, the communication unit 110 secures an area for storing the communication unit parameter basic information in the EEPROM 114 in advance, acquires the communication unit parameter basic information from the combined sensor unit 120, The data is stored in the EEPROM 114. At the same time, the stored information related to the communication unit parameter basic information is stored in the EEPROM 114 as “owned device identification information”.

従来の通信部では、組み合わせられるセンサ部に対応したパラメータ基礎情報をすべて含んだファームウェアを他のプログラムと一体化してROMとEEPROMに格納していたが、本実施形態では、通信部用パラメータ基礎情報をプログラムから独立させている。通信部110は、初期状態では、通信部用パラメータ基礎情報は格納しておらず、組み合わされたセンサ部120から必要に応じて通信部用パラメータ基礎情報を取得し、書き換え可能な不揮発性のメモリであるEEPORM114のあらかじめ確保していた領域に格納する。   In the conventional communication unit, firmware including all parameter basic information corresponding to the sensor unit to be combined is integrated with other programs and stored in the ROM and the EEPROM. However, in this embodiment, the parameter basic information for the communication unit is used. Is independent from the program. In the initial state, the communication unit 110 does not store the communication unit parameter basic information, acquires the communication unit parameter basic information from the combined sensor unit 120 as necessary, and is a rewritable nonvolatile memory. Is stored in a previously secured area of the EEPROM 114.

そして、稼働時にはEEPEOM114に格納されている通信部用パラメータ基礎情報をRAM113に転送して、通信CPU111が参照できるようにする。   In operation, the communication unit parameter basic information stored in the EEEPOM 114 is transferred to the RAM 113 so that the communication CPU 111 can refer to it.

通信部用パラメータ基礎情報は、通信部110が保有している機器識別情報と組み合わされたセンサ部120の機器識別情報とが一致しない場合に、組み合わされたセンサ部120から取得すればよい。   The communication unit parameter basic information may be acquired from the combined sensor unit 120 when the device identification information of the sensor unit 120 combined with the device identification information held by the communication unit 110 does not match.

通信部用パラメータ基礎情報をプログラムから独立させ、センサ部120から取得してEEPROM114に格納するようにしたことにより、通信部用パラメータを修正した場合であっても、修正後の通信部用パラメータ基礎情報はセンサ部120に格納すればよいため、対応するすべてのセンサ部との結合試験を行なう必要がなくなる。   The communication unit parameter basic information is made independent of the program, acquired from the sensor unit 120 and stored in the EEPROM 114, so that even if the communication unit parameter is corrected, the corrected communication unit parameter basics Since information only needs to be stored in the sensor unit 120, it is not necessary to perform a coupling test with all corresponding sensor units.

また、センサ部120のファーム部を更新した場合であっても、そのセンサ部120に格納した通信部用パラメータ基礎情報を更新すればよいため、通信部110のファームウェア更新は不要となる。さらに、新たな組み合わせに対応させる場合に、通信部110のファームウェアを新たなセンサ部120と組み合わせられるように更新する必要もなくなる。このため、通信部110側のパラメータ管理の煩雑性を軽減することができる。   Further, even when the firmware unit of the sensor unit 120 is updated, the communication unit parameter basic information stored in the sensor unit 120 only needs to be updated, and thus the firmware of the communication unit 110 need not be updated. Further, when the new combination is supported, it is not necessary to update the firmware of the communication unit 110 so that it can be combined with the new sensor unit 120. For this reason, the complexity of parameter management on the communication unit 110 side can be reduced.

次に、通信部110の起動時の動作について図6のフロー図を参照して説明する。この動作は、主として通信CPU111の制御により行なわれる。   Next, an operation when the communication unit 110 is activated will be described with reference to a flowchart of FIG. This operation is mainly performed under the control of the communication CPU 111.

組み合わされたセンサ部120の電源部127から電源を供給され、通信部110が起動すると、センサ部120に対して機器識別情報を要求する(S101)。センサ部120は、この要求に対して、ROM122のプログラム領域に格納している機器識別情報を通信部110に送信する。   When power is supplied from the power supply unit 127 of the combined sensor unit 120 and the communication unit 110 is activated, the sensor unit 120 is requested for device identification information (S101). In response to this request, the sensor unit 120 transmits the device identification information stored in the program area of the ROM 122 to the communication unit 110.

通信部110は、センサ部120から機器識別情報を受信すると(S102)、EEPROM114に記録されている「保有している機器識別情報」と一致するかどうかを判定する(S103)。ここで、一致とは、機器識別情報に含まれる機器情報、通信部用パラメータ基礎情報バージョンの両方が同一である場合を意味する。初期状態では、「保有している機器識別情報」は存在しないため、不一致となる。   When receiving the device identification information from the sensor unit 120 (S102), the communication unit 110 determines whether or not the device identification information matches the “held device identification information” recorded in the EEPROM 114 (S103). Here, the term “match” means that both the device information included in the device identification information and the communication unit parameter basic information version are the same. In the initial state, since there is no “owned device identification information”, there is a mismatch.

判定結果が不一致である場合(S103:No)には、センサ部120に通信部用パラメータ基礎情報を要求する(S104)。センサ部120は、この要求に対して、ROM122に格納している通信部用パラメータ基礎情報を通信部110に送信する。   If the determination results are inconsistent (S103: No), the communication unit parameter basic information is requested to the sensor unit 120 (S104). In response to this request, the sensor unit 120 transmits the communication unit parameter basic information stored in the ROM 122 to the communication unit 110.

通信部110は、通信部用パラメータ基礎情報を受信すると(S105)、受信した情報をEEPROM114に格納する(S106)。具体的には、処理(S105)で受信した通信部用パラメータ基礎情報をセンサ部からの通信部用パラメータ基礎情報として格納し、処理(S102)で受信した機器識別情報を「保有している機器識別情報」として格納する。過去の情報が格納されている場合には上書きを行なう。ただし、履歴情報を記録したり、異なる機器識別情報に対応した複数セットの通信部用パラメータ基礎情報を格納してもよい。   Upon receiving the communication unit parameter basic information (S105), the communication unit 110 stores the received information in the EEPROM 114 (S106). Specifically, the communication unit parameter basic information received in the process (S105) is stored as communication unit parameter basic information from the sensor unit, and the device identification information received in the process (S102) is “owned device”. Stored as “identification information”. If past information is stored, it is overwritten. However, history information may be recorded, or a plurality of sets of communication unit parameter basic information corresponding to different device identification information may be stored.

そして、EEPROM114に格納した通信部用パラメータ基礎情報をRAM113に転送して(S107)、通常の稼働を開始する。なお、複数セットの通信部用パラメータ基礎情報を格納している場合には、センサ部120に対応した通信部用パラメータ基礎情報をRAM113に転送する。   Then, the communication unit parameter basic information stored in the EEPROM 114 is transferred to the RAM 113 (S107), and normal operation is started. If a plurality of sets of communication unit parameter basic information are stored, the communication unit parameter basic information corresponding to the sensor unit 120 is transferred to the RAM 113.

一方、判定結果が一致である場合(S103:Yes)は、パラメータ基礎情報を更新する必要がないため、EEPROM114に格納されている通信部用パラメータ基礎情報をRAM113に転送して(S107)、通常の稼働を開始する。このため、速やかな稼働開始が可能である。   On the other hand, if the determination result is the same (S103: Yes), the parameter basic information does not need to be updated, so the communication unit parameter basic information stored in the EEPROM 114 is transferred to the RAM 113 (S107). Start operation. For this reason, a quick start of operation is possible.

上述した本実施形態では、通信部110は、通信部用パラメータ基礎情報をプログラムの一部としてではなく、プログラムから独立させてEEPROM114に格納するようにしている。このため、ホストシステム200から、通信部用パラメータ基礎情報の一部を変更するという運用が可能となる。   In the above-described embodiment, the communication unit 110 stores the communication unit parameter basic information in the EEPROM 114 independently of the program, not as a part of the program. For this reason, the host system 200 can be operated to change a part of the communication unit parameter basic information.

一般に、ホストシステム200は、所定の専用プロトコルにより通信CPU111と通信を行ない、フィールド機器10がどのような通信部用パラメータ基礎情報を格納しているかを把握することができる。このため、必要に応じて、例えば、特定のパラメータの属性を非表示に変更したり、パラメータの名称を変更したりすることができるようになる。   In general, the host system 200 communicates with the communication CPU 111 using a predetermined dedicated protocol, and can grasp what communication unit parameter basic information is stored in the field device 10. For this reason, for example, the attribute of a specific parameter can be changed to non-display or the name of the parameter can be changed as necessary.

ところで、通信部用パラメータ基礎情報で定義されるパラメータは、センサ部120の種類に依存しない通信固有の通信パラメータと、センサ部120の動作を調整するセンサパラメータに区分することができる。   By the way, the parameters defined in the communication unit parameter basic information can be classified into communication parameters that are not dependent on the type of the sensor unit 120 and sensor parameters that adjust the operation of the sensor unit 120.

通信固有の通信パラメータは、修正を考慮してセンサ部120で管理する必要がなく、通信部110で管理することが可能である。通信パラメータは、一般的に規格に対応して定義されて実装されているため、機器独自のパラメータが存在することはなく、規格自体が更新しない限り変更する必要がないからである。   Communication parameters unique to communication do not need to be managed by the sensor unit 120 in consideration of correction, and can be managed by the communication unit 110. This is because the communication parameters are generally defined and implemented in accordance with the standard, so that there is no device-specific parameter and it is not necessary to change unless the standard itself is updated.

このため、パラメータ基礎情報をセンサパラメータ基礎情報と通信パラメータ基礎情報とに分割し、図7に示すように、通信パラメータ基礎情報は、あらかじめ通信部110のEEPROM114に格納しておき、センサパラメータ基礎情報のみを必要に応じてセンサ部120から取得するようにしてもよい。   Therefore, the parameter basic information is divided into sensor parameter basic information and communication parameter basic information. As shown in FIG. 7, the communication parameter basic information is stored in advance in the EEPROM 114 of the communication unit 110, and the sensor parameter basic information is stored. May be acquired from the sensor unit 120 as necessary.

この場合、パラメータ基礎情報の開発や管理は、センサパラメータ基礎情報のみを行なえばよいため、工数や管理コストを削減することが可能となる。なお、通信部110は、フィールド機器10の起動時には、センサパラメータ基礎情報の取得の要否を判定し、稼働時には、両方のパラメータ基礎情報ともRAM113に転送する。また、いずれのパラメータ基礎情報もホストシステム200から変更することができる。   In this case, since the development and management of the parameter basic information need only be performed on the sensor parameter basic information, it is possible to reduce man-hours and management costs. The communication unit 110 determines whether sensor parameter basic information needs to be acquired when the field device 10 is activated, and transfers both parameter basic information to the RAM 113 during operation. Any parameter basic information can be changed from the host system 200.

10…フィールド機器、110…通信部、111…通信CPU、112…ROM、113…RAM、114EEPROM、115…通信モジュール、120…センサ部、121…センサCPU、122…ROM、123…RAM、124…EEPROM、125…表示部、126…入力部、127…電源部、128…センサ測定モジュール DESCRIPTION OF SYMBOLS 10 ... Field apparatus, 110 ... Communication part, 111 ... Communication CPU, 112 ... ROM, 113 ... RAM, 114EEPROM, 115 ... Communication module, 120 ... Sensor part, 121 ... Sensor CPU, 122 ... ROM, 123 ... RAM, 124 ... EEPROM, 125 ... display unit, 126 ... input unit, 127 ... power supply unit, 128 ... sensor measurement module

Claims (6)

専用ユニットと汎用ユニットとを組み合わせたフィールド機器であって、
前記専用ユニットは、
前記汎用ユニットで使用するパラメータを定義するパラメータ基礎情報と、前記パラメータ基礎情報の識別情報とを格納した記憶領域を備え、
前記汎用ユニットは、
前記識別情報を格納する第1記憶領域と、
前記パラメータ基礎情報を格納する第2記憶領域と、
前記専用ユニットから前記識別情報を取得し、前記第1記憶領域に格納されている識別情報と異なる場合に、前記専用ユニットから前記パラメータ基礎情報を取得して前記第2記憶領域に格納するとともに、取得した前記識別情報を前記第1記憶領域に格納する制御部とを備える
ことを特徴とするフィールド機器。
A field device that combines a dedicated unit and a general-purpose unit.
The dedicated unit is
Parameter basic information that defines parameters used in the general-purpose unit, and a storage area that stores identification information of the parameter basic information,
The general-purpose unit is
A first storage area for storing the identification information;
A second storage area for storing the parameter basic information;
When the identification information is acquired from the dedicated unit and different from the identification information stored in the first storage area, the parameter basic information is acquired from the dedicated unit and stored in the second storage area. And a control unit that stores the acquired identification information in the first storage area.
前記汎用ユニットは、
前記パラメータ基礎情報を、前記制御部が実行するプログラムとは独立して前記第2記憶領域に格納することを特徴とする請求項1に記載のフィールド機器。
The general-purpose unit is
The field device according to claim 1, wherein the parameter basic information is stored in the second storage area independently of a program executed by the control unit.
前記汎用ユニットの制御部は、
取得した前記識別情報が、前記第1記憶領域に格納されている識別情報と同じ場合には、前記パラメータ基礎情報を前記専用ユニットから取得しないことを特徴とする請求項1または2に記載のフィールド機器。
The control unit of the general-purpose unit is
The field according to claim 1 or 2, wherein the parameter basic information is not acquired from the dedicated unit when the acquired identification information is the same as the identification information stored in the first storage area. machine.
前記汎用ユニットが通信ユニットである請求項2に記載のフィールド機器と、前記フィールド機器と通信を行なうホストシステムとを備えたフィールドシステムであって、
前記ホストシステムが、前記通信ユニットに格納されている前記パラメータ基礎情報を変更可能であることを特徴とするフィールドシステム。
The field system according to claim 2, wherein the general-purpose unit is a communication unit, and a host system that communicates with the field device,
The field system characterized in that the host system can change the parameter basic information stored in the communication unit.
パラメータを定義するパラメータ基礎情報と、前記パラメータ基礎情報の識別情報とを格納した記憶領域を備えた専用ユニットと組み合わされてフィールド機器として機能する汎用ユニットであって、
前記識別情報を格納する第1記憶領域と、
前記パラメータ基礎情報を格納する第2記憶領域と、
前記専用ユニットから前記識別情報を取得し、前記第1記憶領域に格納されている識別情報と異なる場合に、前記専用ユニットから前記パラメータ基礎情報を取得して前記第2記憶領域に格納するとともに、取得した前記識別情報を前記第1記憶領域に格納する制御部とを備える
ことを特徴とする汎用ユニット。
A general-purpose unit that functions as a field device in combination with a dedicated unit having a storage area that stores parameter basic information that defines parameters and identification information of the parameter basic information,
A first storage area for storing the identification information;
A second storage area for storing the parameter basic information;
When the identification information is acquired from the dedicated unit and different from the identification information stored in the first storage area, the parameter basic information is acquired from the dedicated unit and stored in the second storage area. A general-purpose unit comprising: a control unit that stores the acquired identification information in the first storage area.
パラメータを定義するパラメータ基礎情報と、前記パラメータ基礎情報の識別情報とを格納した記憶領域を備えた専用ユニットと組み合わされてフィールド機器として機能する汎用ユニットにおけるパラメータ管理方法であって、
前記識別情報を格納する第1記憶領域と、前記パラメータ基礎情報を格納する第2記憶領域とを確保しておき、
前記専用ユニットから前記識別情報を取得し、前記第1記憶領域に格納されている識別情報と異なる場合に、前記専用ユニットから前記パラメータ基礎情報を取得して前記第2記憶領域に格納するとともに、取得した前記識別情報を前記第1記憶領域に格納することを特徴とするパラメータ管理方法。
A parameter management method in a general-purpose unit that functions as a field device in combination with a dedicated unit having a storage area that stores parameter basic information that defines parameters and identification information of the parameter basic information,
A first storage area for storing the identification information and a second storage area for storing the parameter basic information;
When the identification information is acquired from the dedicated unit and different from the identification information stored in the first storage area, the parameter basic information is acquired from the dedicated unit and stored in the second storage area. A parameter management method, wherein the acquired identification information is stored in the first storage area.
JP2016140437A 2016-07-15 2016-07-15 Field device, field system, general-purpose module, and parameter management method Active JP6723516B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016140437A JP6723516B2 (en) 2016-07-15 2016-07-15 Field device, field system, general-purpose module, and parameter management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016140437A JP6723516B2 (en) 2016-07-15 2016-07-15 Field device, field system, general-purpose module, and parameter management method

Publications (2)

Publication Number Publication Date
JP2018010575A true JP2018010575A (en) 2018-01-18
JP6723516B2 JP6723516B2 (en) 2020-07-15

Family

ID=60995659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016140437A Active JP6723516B2 (en) 2016-07-15 2016-07-15 Field device, field system, general-purpose module, and parameter management method

Country Status (1)

Country Link
JP (1) JP6723516B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003069584A (en) * 2001-08-28 2003-03-07 Yokogawa Electric Corp Communication method of field bus device and field bus device using it
JP2009205243A (en) * 2008-02-26 2009-09-10 Yokogawa Electric Corp Field equipment management device, field equipment management system, field equipment management method, computer program, and recording medium
JP2010113700A (en) * 2008-10-07 2010-05-20 Yokogawa Electric Corp Field device
JP2014096099A (en) * 2012-11-12 2014-05-22 Azbil Corp Device management apparatus and device management method
JP2014119906A (en) * 2012-12-14 2014-06-30 Omron Corp Communication unit, communication system, control method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003069584A (en) * 2001-08-28 2003-03-07 Yokogawa Electric Corp Communication method of field bus device and field bus device using it
JP2009205243A (en) * 2008-02-26 2009-09-10 Yokogawa Electric Corp Field equipment management device, field equipment management system, field equipment management method, computer program, and recording medium
JP2010113700A (en) * 2008-10-07 2010-05-20 Yokogawa Electric Corp Field device
JP2014096099A (en) * 2012-11-12 2014-05-22 Azbil Corp Device management apparatus and device management method
JP2014119906A (en) * 2012-12-14 2014-06-30 Omron Corp Communication unit, communication system, control method, and program

Also Published As

Publication number Publication date
JP6723516B2 (en) 2020-07-15

Similar Documents

Publication Publication Date Title
US7275236B1 (en) Method for programming a multiple device control system using object sharing
US7117040B2 (en) Tool attachable to controller
US9398097B2 (en) Method for servicing a field device
US20150331400A1 (en) System and Method for use in Automation Technology
US20150106826A1 (en) Apparatus for servicing at least one field device of automation technology
US20120235479A1 (en) Method for setting parameters of a field device electrical current supply module
US9081380B2 (en) Apparatus for determining and/or monitoring a chemical or physical process variable in automation technology
JP5024624B2 (en) Field device management apparatus, field device management system, field device management method, computer program, recording medium
US9141331B2 (en) Method and device configuration system for remote operation of a field device
EP1916579B1 (en) Process control system for generating function blocks
US11165745B2 (en) Control system, controller, and control method
WO2016157477A1 (en) Management system
RU2743521C2 (en) Systems and methods for initializing configuration of devices operating in industrial automation environments
US20200252236A1 (en) Data structure for the transfer of data from a fieldbus network into a cloud
JP2020147250A (en) Electronic control device
JP2011186607A (en) Field device, setting method for the same, field device management method and program
JP6723516B2 (en) Field device, field system, general-purpose module, and parameter management method
JP2017104937A (en) Robot control device having communication function with programmable logic controller and communication system
JP2011158928A (en) Field apparatus
JP7027947B2 (en) I / O management device
JP6529680B1 (en) Data management system, data management method and data management program
EP3770703A1 (en) Method for configuring an industrial automation component, industrial automation component, computer program and computer-readable medium
JP6002021B2 (en) Slave device
CN104813615A (en) Method for operating a field device capable of a field bus protocol
JP2023006416A (en) Program update module and program update method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200312

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200525

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200607

R150 Certificate of patent or registration of utility model

Ref document number: 6723516

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150