JP2012160068A - Engineering device - Google Patents

Engineering device Download PDF

Info

Publication number
JP2012160068A
JP2012160068A JP2011019858A JP2011019858A JP2012160068A JP 2012160068 A JP2012160068 A JP 2012160068A JP 2011019858 A JP2011019858 A JP 2011019858A JP 2011019858 A JP2011019858 A JP 2011019858A JP 2012160068 A JP2012160068 A JP 2012160068A
Authority
JP
Japan
Prior art keywords
file
information
area
data
integration
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
JP2011019858A
Other languages
Japanese (ja)
Inventor
Hidenori Kawashima
英法 河島
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP2011019858A priority Critical patent/JP2012160068A/en
Publication of JP2012160068A publication Critical patent/JP2012160068A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten correction time in the case that unexpected data abnormality occurs in a download file.SOLUTION: An engineering device includes: file upload means 11 for uploading an operation file; upload file holding means 12 for holding the uploaded operation file; normal file holding means 13 for holding a normal operation file composed of the same configuration as the operation file of the upload file holding means 12; area specifying means 14 for receiving the input of file information indicating the operation file of an integration object in the normal file holding means 13 and area information indicating an area to read data from the operation file; and file integration means 15 for reading the data pertinent to the area information of the operation file pertinent to the file information from the normal file holding means 13, reading the data not pertinent to the area information of the operation file pertinent to the file information from the upload file holding means 12, and executing file integration.

Description

この発明は、制御機器を動作させる動作ファイルを作成するエンジニアリング装置に関するものである。   The present invention relates to an engineering device that creates an operation file for operating a control device.

建物内の複数のフィールド制御機器の監視・制御を行う監視システムとして、BACnet(Building Automation and Control networking protocol)などのオープンネットワークを用いて、空調設備、照明設備、電気設備や防災設備などの異なるメーカのシステムを接続し、監視・制御を行うマルチベンダー対応システムが普及している。   As a monitoring system that monitors and controls multiple field control devices in a building, different manufacturers such as air conditioning equipment, lighting equipment, electrical equipment, disaster prevention equipment, etc. using an open network such as BACnet (Building Automation and Control networking protocol) Multi-vendor compatible systems that connect these systems and perform monitoring and control have become widespread.

このBACnetに対応した監視システムを構築する際には、エンジニアリング装置は、BACnetの規格に合わせて、監視装置で管理を行うデバイス情報、管理ポイント情報やオブジェクト情報などの管理情報を記録したJOBファイルを作成している。また、エンジニアリング装置は、作成したJOBファイルに基づいて、監視装置で管理を行う上位コントローラを動作させるための動作ファイル(ダウンロードファイル)を作成し、対応する上位コントローラにダウンロードしている。   When constructing a monitoring system corresponding to this BACnet, the engineering apparatus creates a JOB file that records management information such as device information, management point information, and object information managed by the monitoring apparatus in accordance with the BACnet standard. Creating. Further, the engineering device creates an operation file (download file) for operating the host controller managed by the monitoring device based on the created JOB file, and downloads it to the corresponding host controller.

一方、上位コントローラでは、トラブル解析の効率を上げるため、エンジニアリング装置で作成したダウンロードファイルに問題がないかを起動時にチェックする機能が搭載されるようになってきた。その結果、ダウンロードファイルのデータに異常があり、整合性が取れていないと判断した場合には、(1)上位コントローラが正常にオンラインに移行しない、(2)オンラインに移行してもエラーが発生し、正常に動作しない、また、最悪の場合、(3)リスタートを繰り返すという現場トラブルが発生するようになってしまった。   On the other hand, in order to increase the efficiency of trouble analysis, the host controller has been equipped with a function of checking at startup whether there is a problem with the download file created by the engineering device. As a result, if it is determined that there is an error in the data of the download file and consistency is not achieved, (1) the host controller does not shift online normally, (2) an error occurs even if it shifts online. However, it does not operate normally, and in the worst case, (3) the on-site trouble of repeated restarts has occurred.

そこで、上記(1)〜(3)のような問題を解決するため、エンジニアリング装置(エンジニアリングツール)では、ファイル作成・整合性チェック機能をサポートしている。これにより、想定内のデータ異常については整合性をとるようにファイルを修正することで、上記(1)〜(3)のような問題を回避することができる。
しかしながら、何らかの理由(上位コントローラと監視装置とのデータ送受信など)によって、ダウンロードファイルが、エンジニアリング装置のファイル作成・整合性チェック機能の想定を超えたデータ異常状態となってしまうことがある。この場合、ユーザがダウンロードファイルのデータ異常状態を回避することはできない。さらに、状況によっては、エンジニアリング装置の仕様範囲を越えたファイル修正を必要とされることもある。
このようなデータ異常が発生した場合には、エンジニアが膨大なファイルの中から異常なデータを検出し、手動で変更して対応している。
Therefore, in order to solve the problems (1) to (3), the engineering device (engineering tool) supports the file creation / consistency check function. As a result, it is possible to avoid the problems (1) to (3) described above by correcting the file so as to maintain consistency with respect to the expected data abnormality.
However, for some reason (data transmission / reception between the host controller and the monitoring device, etc.), the download file may be in a data abnormal state exceeding the assumption of the file creation / consistency check function of the engineering device. In this case, the user cannot avoid the abnormal data state of the download file. Furthermore, depending on the situation, it may be necessary to modify the file beyond the specification range of the engineering device.
When such a data abnormality occurs, an engineer detects abnormal data from an enormous file and manually changes it.

それに対して、所定の定数値と実行値とが一致するか否かを検出する差異検出機構が設けられたプログラムメンテナンス装置がある(例えば特許文献1参照)。このプログラムメンテナンス装置では、差異検出機構により定数値と実行値とが不一致であると判断された場合には、定数値書換え機構により定数値を実行値に書換え、修正を行うように構成されている。   On the other hand, there is a program maintenance device provided with a difference detection mechanism for detecting whether or not a predetermined constant value matches an execution value (see, for example, Patent Document 1). This program maintenance device is configured to rewrite and modify a constant value to an execution value by a constant value rewriting mechanism when the difference detection mechanism determines that the constant value and the execution value do not match. .

特開平8−328842号公報JP-A-8-328842

従来の監視システムでは、エンジニアリング装置のファイル作成・整合性チェック機能の想定を超えたダウンロードファイルのデータ異常が生じた場合には、エンジニアリング装置でファイル修正を行うことはできない。そのため、エンジニアが手動で修正作業を行っており、ダウンロードファイルの修正に時間を要するという課題があった。   In the conventional monitoring system, when a download file data abnormality that exceeds the assumption of the file creation / consistency check function of the engineering device occurs, the engineering device cannot correct the file. For this reason, the engineer manually performs correction work, and there is a problem that it takes time to correct the download file.

また、特許文献1に開示される方法では、定数値が正しいことが前提とされているが、監視システムに適応する場合は、比較対象となる正確なマスターファイルを常に保持しておく必要がある。しかしながら、監視システムでは管理対象の追加や変更など、不定期でデータ変更が行われ、変更後のファイルセーブはエンジニアが手動で対応している。そのため、マスターファイルが常に正確であるとは言い切れず、特許文献1に開示される方法を監視システムに適用することは難しいという課題があった。   Further, in the method disclosed in Patent Document 1, it is assumed that the constant value is correct. However, when applying to a monitoring system, it is necessary to always hold an accurate master file to be compared. . However, in the monitoring system, data is changed irregularly, such as addition or change of management targets, and the file save after the change is handled manually by the engineer. Therefore, it cannot be said that the master file is always accurate, and there is a problem that it is difficult to apply the method disclosed in Patent Document 1 to a monitoring system.

この発明は、上記のような課題を解決するためになされたもので、ダウンロードファイルに、エンジニアリング装置のファイル作成・整合性チェック機能の想定を超えたデータ異常が生じた場合に、データ異常の修正時間の短縮化を図ることができるエンジニアリング装置を提供することを目的としている。   The present invention has been made to solve the above-described problems. When a data abnormality that exceeds the assumption of the file creation and consistency check function of the engineering device occurs in the download file, the data abnormality is corrected. An object of the present invention is to provide an engineering device capable of reducing time.

この発明に係るエンジニアリング装置は、制御機器から動作ファイルをアップロードさせるファイルアップロード手段と、ファイルアップロード手段によりアップロードされた動作ファイルを保持するアップロードファイル保持手段と、アップロードファイル保持手段に保持されている動作ファイルと同一の構成からなる正常な動作ファイルを保持する正常ファイル保持手段と、正常ファイル保持手段に保持されている統合対象の動作ファイルを示すファイル情報と、当該統合対象の動作ファイルからデータを読み出す領域を示す領域情報との入力を受け付ける領域指定手段と、正常ファイル保持手段から、領域指定手段により受け付けられたファイル情報に該当する動作ファイルの領域情報に該当するデータを読み出し、アップロードファイル保持手段から、当該ファイル情報に該当する動作ファイルの当該領域情報に該当しないデータを読み出して、ファイル統合を行うファイル統合手段とを備えたものである。   The engineering apparatus according to the present invention includes a file upload unit for uploading an operation file from a control device, an upload file holding unit for holding an operation file uploaded by the file upload unit, and an operation file held in the upload file holding unit A normal file holding means for holding a normal operation file having the same configuration as the above, file information indicating the operation file to be integrated held in the normal file holding means, and an area for reading data from the operation file to be integrated From the area designating unit that accepts the input of the area information indicating the file information received from the normal file holding unit, the data corresponding to the area information of the action file corresponding to the file information accepted by the area designating unit is read, and the upload file Le holding means reads data that does not correspond to the region information of the operation file corresponding to the file information is obtained by a file integration means for performing file integration.

この発明によれば、上記のように構成したので、ダウンロードファイルに、エンジニアリング装置のファイル作成・整合性チェック機能の想定を超えたデータ異常が生じた場合に、データ異常の修正時間の短縮化を図ることができる。   According to this invention, since it is configured as described above, when a data abnormality exceeding the assumption of the file creation / consistency check function of the engineering device occurs in the download file, the correction time of the data abnormality is shortened. Can be planned.

この発明の実施の形態1に係る監視システムの構成を示す図である。It is a figure which shows the structure of the monitoring system which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係るエンジニアリング装置のファイル統合機能に関する構成を示す図である。It is a figure which shows the structure regarding the file integration function of the engineering apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1における動作ファイルの統合を説明するイメージ図である。It is an image figure explaining the integration of the operation file in Embodiment 1 of this invention. この発明の実施の形態1に係るエンジニアリング装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the engineering apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1におけるファイル統合を説明する図である。It is a figure explaining the file integration in Embodiment 1 of this invention. この発明の実施の形態2に係るエンジニアリング装置のファイル統合機能に関する構成を示す図である。It is a figure which shows the structure regarding the file integration function of the engineering apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係るエンジニアリング装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the engineering apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態2におけるファイル書換を説明する図である。It is a figure explaining the file rewriting in Embodiment 2 of this invention.

以下、この発明の実施の形態について図面を参照しながら詳細に説明する。
実施の形態1.
図1はこの発明の実施の形態1に係る監視システムの構成を示す図であり、通信ネットワークとしてBACnetを用いた場合を示している。
監視システムは、図1に示すように、エンジニアリング装置1、監視装置2、表示装置3、複数の上位コントローラ4および複数の下位コントローラ5などから構成されている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Embodiment 1 FIG.
1 is a diagram showing a configuration of a monitoring system according to Embodiment 1 of the present invention, and shows a case where a BACnet is used as a communication network.
As shown in FIG. 1, the monitoring system includes an engineering device 1, a monitoring device 2, a display device 3, a plurality of upper controllers 4, a plurality of lower controllers 5, and the like.

エンジニアリング装置1は、BACnetに対応した監視システムを構築するものである。このエンジニアリング装置1は、システムを構築する際に、BACnetの規格に合わせて、監視装置2で監視・制御を行う上位コントローラ4、下位コントローラ5および不図示のフィールド制御装置の構成情報や、I/O情報などの管理情報を記録したJOBファイルを作成する。また、エンジニアリング装置1は、作成したJOBファイルに基づいて、各上位コントローラ4を動作させるための動作ファイル(ダウンロードファイル)を生成して、対応する上位コントローラ4にダウンロードする。   The engineering device 1 constructs a monitoring system corresponding to BACnet. When constructing a system, the engineering device 1 is configured to conform to the BACnet standard, and the configuration information of the upper controller 4 and the lower controller 5 that are monitored and controlled by the monitoring device 2 and the field control device (not shown) A JOB file in which management information such as O information is recorded is created. Further, the engineering device 1 generates an operation file (download file) for operating each upper controller 4 based on the created JOB file, and downloads it to the corresponding upper controller 4.

また、システム稼動後の仕様変更・機能追加などにより、上位コントローラ3が保持するダウンロードファイルに対して追加・変更・削除などの修正を行う場合には、エンジニアリング装置1は、各上位コントローラ4に保持されているダウンロードファイルをアップロードさせて、このダウンロードファイルをマスタデータとして修正を行う。
さらに、エンジニアリング装置1は、何らかの理由によって、ダウンロードファイルに想定外のデータ異常が生じた場合に、このダウンロードファイルを、同一構成の正常な動作ファイルと統合(マージ)させることによって、ダウンロードファイルを正常状態に戻す。このエンジニアリング装置1のファイル統合機能に関する構成については後述する。
In addition, when the download file held by the host controller 3 is modified such as addition / change / deletion due to specification change / function addition after system operation, the engineering device 1 is stored in each host controller 4 The downloaded download file is uploaded, and this download file is corrected as master data.
Furthermore, when an unexpected data abnormality occurs in the download file for some reason, the engineering device 1 integrates (merges) the download file with a normal operation file having the same configuration, thereby normalizing the download file. Return to the state. The configuration related to the file integration function of the engineering device 1 will be described later.

監視装置2は、BACnetを介して接続される複数の上位コントローラ4を監視・制御するものである。この監視装置2による監視・制御情報は表示装置3に表示される。
上位コントローラ4は、監視装置2による制御に従い、下位ネットワークを介して接続される複数の下位コントローラ5を監視・制御するものである。この上位コントローラ4は、エンジニアリング装置1からのダウンロードファイルに基づいて動作する。
下位コントローラ5は、上位コントローラ4による制御に従い、下位ネットワークを介して接続される複数の不図示のフィールド制御装置を制御するものである。
The monitoring device 2 monitors and controls a plurality of host controllers 4 connected via the BACnet. The monitoring / control information by the monitoring device 2 is displayed on the display device 3.
The host controller 4 monitors and controls a plurality of lower controllers 5 connected via the lower network according to the control by the monitoring device 2. The host controller 4 operates based on a download file from the engineering device 1.
The lower controller 5 controls a plurality of field control devices (not shown) connected via the lower network according to the control by the upper controller 4.

次に、エンジニアリング装置1のファイル統合機能に関する構成について説明する。図2はこの発明の実施の形態1に係るエンジニアリング装置1のファイル統合機能に関する構成を示す図である。
エンジニアリング装置1は、図2に示すように、ファイルアップロード手段11、アップロードファイル保持手段12、正常ファイル保持手段13、領域指定手段14、ファイル統合手段15およびファイルダウンロード手段16から構成されている。
Next, a configuration related to the file integration function of the engineering apparatus 1 will be described. FIG. 2 is a diagram showing a configuration relating to the file integration function of the engineering apparatus 1 according to the first embodiment of the present invention.
As shown in FIG. 2, the engineering apparatus 1 includes a file upload unit 11, an upload file holding unit 12, a normal file holding unit 13, a region specifying unit 14, a file integration unit 15, and a file download unit 16.

ファイルアップロード手段11は、上位コントローラ4からダウンロードファイルをアップロードさせるものである。
アップロードファイル保持手段12は、ファイルアップロード手段11によりアップロードされたダウンロードファイルを保持するものである。
The file upload unit 11 uploads a download file from the host controller 4.
The upload file holding unit 12 holds the download file uploaded by the file upload unit 11.

正常ファイル保持手段13は、アップロードファイル保持手段13に保持されているダウンロードファイルと同一の構成からなる正常な動作ファイル(正常ファイル)を保持するものである。なお、正常ファイルとしては、エンジニアリング装置1で新規作成した動作ファイル、過去に上位コントローラ4からアップロードした正常な動作ファイルや、過去にファイル統合手段15によりファイル統合された動作ファイルなどを用いる。   The normal file holding unit 13 holds a normal operation file (normal file) having the same configuration as the download file held in the upload file holding unit 13. As the normal file, an operation file newly created by the engineering apparatus 1, a normal operation file uploaded from the host controller 4 in the past, an operation file previously integrated by the file integration means 15 or the like is used.

領域指定手段14は、ファイル統合手段15からの要求に応じて、正常ファイル保持手段13に保持されている統合対象の動作ファイルを示すファイル情報と、この統合対象の動作ファイルからデータを読み出す領域を示す領域情報との入力をユーザから受け付けるものである。ここで、ユーザは、ファイル情報として、統合対象の動作ファイルを示すファイルNoを入力する。また、領域情報として、一連のデータ(名称や単位など)の領域を示すレコードNoを入力する。さらに、領域情報として、各レコード内での個々のデータの領域を示すフィールドNoを入力するようにしてもよい。   In response to a request from the file integration unit 15, the area designating unit 14 includes file information indicating the operation file to be integrated held in the normal file holding unit 13 and an area for reading data from the operation file to be integrated. The input with the area information to be shown is received from the user. Here, the user inputs a file number indicating an operation file to be integrated as file information. Further, a record number indicating a region of a series of data (name, unit, etc.) is input as region information. Further, as the area information, a field number indicating an area of individual data in each record may be input.

ファイル統合手段15は、領域指定手段14により受け付けられたファイル情報および領域情報に基づいて、アップロードファイル保持手段12に保持されている想定外のデータ異常を有するダウンロードファイル(異常ファイル)と正常ファイル保持手段13に保持されている正常ファイルとのファイル統合を行い、異常ファイルを正常状態に戻すものである。ここで、ファイル統合手段15は、ファイル情報に該当する正常ファイルから領域情報に該当するデータを読み出すとともに、ファイル情報に該当する異常ファイルから領域情報に該当しないデータを読み出して、読み出した両データを統合する。
ファイルダウンロード手段16は、ファイル統合手段15によりファイル統合が行われた動作ファイルを対応する上位コントローラ4にダウンロードするものである。
Based on the file information and the region information received by the region specifying unit 14, the file integration unit 15 retains a download file (abnormal file) having an unexpected data abnormality held in the upload file holding unit 12 and a normal file. The file is integrated with the normal file held in the means 13, and the abnormal file is returned to the normal state. Here, the file integration unit 15 reads data corresponding to the region information from the normal file corresponding to the file information, reads data not corresponding to the region information from the abnormal file corresponding to the file information, and reads both the read data. Integrate.
The file download unit 16 downloads the operation file that has been subjected to file integration by the file integration unit 15 to the corresponding host controller 4.

ここで、ダウンロードファイルの想定外のデータ異常とは、エンジニアリング装置1が期待している動作をしないということを意味する。例えばIEIEJ−G−0006:2006規格のBACnetにおいて、Alarm Valueの初期値は1に設定される必要があるが、何らかの理由によって、0に設定されてしまった場合には、上位コントローラ4が正常に動作しなくなってしまう。しかしながら、このAlarm Valueは修正対象外のフィールドであるため、初期値を1から0に修正することはできない。   Here, the unexpected data abnormality of the download file means that the operation expected by the engineering apparatus 1 is not performed. For example, in the BIENet of the IEIEJ-G-0006: 2006 standard, the initial value of Alarm Value needs to be set to 1, but if it is set to 0 for some reason, the host controller 4 is operating normally. It will not work. However, since this Alarm Value is a field that is not subject to correction, the initial value cannot be corrected from 1 to 0.

そこで、図3に示すように、想定外のデータ異常を有するダウンロードファイルに対して、同一の構成からなる正常な動作ファイルを利用して、フィールド単位、レコード単位、ファイル単位で統合を行う。例えば、アップロードしたダウンロードファイル(Alarm Valueが異常状態)をベースとして、新規作成した正常な動作ファイルのAlarm Valueをフィールド単位で統合する。これにより、異常なデータを正常なデータにすることができ、全ファイルを正常なダウンロードファイルとすることが可能となる。
以下では、上記のようにダウンロードファイルに想定外のデータ異常が生じた場合でのエンジニアリング装置1の動作について説明する。
図4はこの発明の実施の形態1に係るエンジニアリング装置1の動作を示すフローチャートであり、図5はファイル統合を説明する図である。
Therefore, as shown in FIG. 3, a normal operation file having the same configuration is used for a download file having an unexpected data abnormality, and integration is performed in field units, record units, and file units. For example, based on the uploaded download file (Alarm Value is in an abnormal state), the newly created Alarm Value of a normal operation file is integrated on a field basis. Thereby, abnormal data can be converted into normal data, and all files can be converted into normal download files.
Hereinafter, the operation of the engineering apparatus 1 when an unexpected data abnormality occurs in the download file as described above will be described.
FIG. 4 is a flowchart showing the operation of the engineering apparatus 1 according to Embodiment 1 of the present invention, and FIG. 5 is a diagram for explaining file integration.

エンジニアリング装置1の動作では、図4に示すように、まず、ファイルアップロード手段11は、上位コントローラ4からダウンロードファイルをアップロードさせる(ステップST41)。このファイルアップロード手段11によりアップロードされたダウンロードファイルはアップロードファイル保持手段12に保持される。
なお、正常ファイル保持手段13には、アップロードファイル保持手段12に保持されているダウンロードファイルと同一の構成からなる正常な動作ファイルが保持されている。
In the operation of the engineering device 1, as shown in FIG. 4, first, the file upload unit 11 uploads a download file from the host controller 4 (step ST41). The download file uploaded by the file upload unit 11 is held in the upload file holding unit 12.
Note that the normal file holding unit 13 holds a normal operation file having the same configuration as the download file held in the upload file holding unit 12.

次いで、領域指定手段14は、正常ファイル保持手段13に保持されている統合対象の動作ファイルを示すファイル情報と、この統合対象の動作ファイルからデータを読み出す領域を示す領域情報との入力をユーザから受け付ける(ステップST42)。   Next, the area designating unit 14 inputs from the user the file information indicating the operation file to be integrated held in the normal file holding unit 13 and the area information indicating the area for reading data from the operation file to be integrated. Accept (step ST42).

次いで、ファイル統合手段15は、領域指定手段14により受け付けられたファイル情報および領域情報に基づいて、アップロードファイル保持手段12に保持されている異常ファイルと正常ファイル保持手段13に保持されている正常ファイルとのファイル統合を行う(ステップST43)。すなわち、図5に示すように、ファイル統合手段15は、ファイル情報に該当する正常ファイルから領域情報に該当するデータ(下線部)を読み出すとともに、ファイル情報に該当する異常ファイルから領域情報に該当しないデータ(下線部)を読み出して、読み出した両データを統合する。
なお、図5に示す異常ファイルでは、下線が引かれていない領域(1レコード(行)目の2,4フィールド(列)目、3レコード目の3フィールド目、5レコード目の4,5フィールド目、6レコード目の1,5フィールド目)のデータが異常状態であることを示している。
Next, based on the file information and the area information received by the area specifying unit 14, the file integration unit 15 stores the abnormal file held in the upload file holding unit 12 and the normal file held in the normal file holding unit 13. Are integrated (step ST43). That is, as shown in FIG. 5, the file integration unit 15 reads out data (underlined portion) corresponding to the region information from the normal file corresponding to the file information and does not correspond to the region information from the abnormal file corresponding to the file information. Data (underlined part) is read out, and both the read out data are integrated.
In the abnormal file shown in FIG. 5, the underlined area (the second field, fourth field (column) of the first record (row), the third field of the third record, the fourth field, fifth field of the fifth record) The first and fifth fields of the sixth record) indicate that the data is in an abnormal state.

次いで、ファイルダウンロード手段16は、ファイル統合手段15によりファイル統合が行われた動作ファイル(統合ファイル)を対応する上位コントローラ4にダウンロードする(ステップST44)。   Next, the file download unit 16 downloads the operation file (integrated file) subjected to file integration by the file integration unit 15 to the corresponding host controller 4 (step ST44).

以上のように、この実施の形態1によれば、ダウンロードファイルに想定外のデータ異常が生じた場合に、エンジニアリング装置1の仕様範囲を越えたファイル統合機能をサポートするエディタを用いて、このダウンロードファイルと、同一構成の正常な動作ファイルとのファイル統合を行うように構成したので、ダウンロードファイルを早期に正常状態に戻すことができ、現場で速やかにトラブル回避を行うことができ、エンジ効率の向上を図ることができる。   As described above, according to the first embodiment, when an unexpected data abnormality occurs in a download file, this download is performed using an editor that supports a file integration function that exceeds the specification range of the engineering device 1. Since the file is integrated with the normal operation file of the same configuration, the download file can be returned to the normal state at an early stage, trouble can be quickly avoided on site, and engine efficiency can be improved. Improvements can be made.

実施の形態2.
図6はこの発明の実施の形態2に係るエンジニアリング装置1のファイル統合機能に関する構成を示す図である。
図6に示す実施の形態2に係るエンジニアリング装置1は、図2に示す実施の形態1に係るエンジニアリング装置1に、エラー情報入力手段17、統合履歴記憶手段18、エラー情報検出手段19、エラー情報判断手段20およびファイル書換手段21を追加したものである。その他の構成は同様であり、同一の符号を付してその説明を省略する。
Embodiment 2. FIG.
FIG. 6 is a diagram showing a configuration related to the file integration function of the engineering apparatus 1 according to Embodiment 2 of the present invention.
The engineering apparatus 1 according to the second embodiment shown in FIG. 6 is different from the engineering apparatus 1 according to the first embodiment shown in FIG. 2 in the error information input means 17, the integrated history storage means 18, the error information detection means 19, and the error information. The determination means 20 and the file rewriting means 21 are added. Other configurations are the same, and the same reference numerals are given and description thereof is omitted.

エラー情報入力手段17は、ファイル統合手段15によりファイル統合を行った場合に、このファイル統合の起因となったエラー情報の入力をユーザから受け付けるものである。
統合履歴記憶手段18は、ファイル統合手段15によりファイル統合を行った場合に、このファイル統合に関する統合履歴情報を記憶するものである。統合履歴情報には、領域指定手段14により受け付けられたファイル情報および領域情報と、ファイル情報に該当する正常ファイルから読み出した領域情報に該当するデータと、エラー情報入力手段17により受け付けられたエラー情報とが対応付けてられている。
The error information input means 17 receives, from the user, input of error information that causes the file integration when the file integration means 15 performs file integration.
The integration history storage unit 18 stores integration history information related to file integration when file integration is performed by the file integration unit 15. The integrated history information includes the file information and area information received by the area specifying unit 14, data corresponding to the area information read from the normal file corresponding to the file information, and error information received by the error information input unit 17. Are associated with each other.

エラー情報検出手段19は、上位コントローラ4から、アップロードファイル保持手段12に保持されているダウンロードファイルのエラー情報を検出するものである。
エラー情報判断手段20は、エラー情報検出手段19によりエラー情報が検出された場合に、統合履歴記憶手段18にこのエラー情報が記憶されているかを判断するものである。ここで、エラー情報判断手段20は、検出されたエラー情報が統合履歴記憶手段18に記憶されていないと判断した場合には、その旨を表示手段(不図示)に表示してユーザに通知し、実施の形態1に示すファイル統合の実施を促す。一方、エラー情報判断手段20は、検出されたエラー情報が統合履歴記憶手段18に記憶されていると判断した場合には、ファイル書換手段21にその旨を通知し、ファイル書換の実施を促す。
The error information detection unit 19 detects error information of the download file held in the upload file holding unit 12 from the host controller 4.
The error information determination unit 20 determines whether the error information is stored in the integrated history storage unit 18 when the error information is detected by the error information detection unit 19. Here, when the error information determination unit 20 determines that the detected error information is not stored in the integrated history storage unit 18, the error information determination unit 20 displays the fact on a display unit (not shown) and notifies the user. The implementation of file integration shown in the first embodiment is urged. On the other hand, when the error information determination unit 20 determines that the detected error information is stored in the integrated history storage unit 18, the error information determination unit 20 notifies the file rewriting unit 21 to that effect and prompts the file rewriting.

ファイル書換手段21は、エラー情報判断手段20により、検出されたエラー情報が統合履歴記憶手段18に記憶されていると判断された場合に、アップロードファイル保持手段12に保持されている異常ファイルのファイル書換を行うものである。ここで、ファイル書換手段21は、統合履歴記憶手段18から、検出されたエラー情報に対応付けられたファイル情報、領域情報およびデータを読み出す。そして、ファイル情報に該当する異常ファイルの領域情報に該当するデータを、読み出したデータに書換える。   The file rewriting unit 21 determines whether the error information determination unit 20 determines that the detected error information is stored in the integrated history storage unit 18. Rewriting is performed. Here, the file rewriting means 21 reads the file information, area information and data associated with the detected error information from the integrated history storage means 18. Then, the data corresponding to the area information of the abnormal file corresponding to the file information is rewritten to the read data.

次に、上記のように構成されたエンジニアリング装置1において、ダウンロードファイルに想定外のデータ異常が生じた場合での動作について説明する。
図7はこの発明の実施の形態2に係るエンジニアリング装置1の動作を示すフローチャートであり、図8はファイル書換を説明する図である。なお、統合履歴記憶手段18は、図8に示すような、ファイル情報(ファイルNo)と、領域情報(レコードNoおよびフィールドNo)と、ファイル情報に該当する正常ファイルの領域情報に該当するデータ(統合値)と、エラー情報とを対応付けた統合履歴情報を記憶している。
Next, in the engineering device 1 configured as described above, an operation when an unexpected data abnormality occurs in the download file will be described.
FIG. 7 is a flowchart showing the operation of the engineering apparatus 1 according to Embodiment 2 of the present invention, and FIG. 8 is a diagram for explaining file rewriting. Note that the integrated history storage means 18 has file information (file No.), area information (record No. and field No.), and data corresponding to area information of normal files corresponding to file information (as shown in FIG. 8). Integrated history information in which the integrated value) and the error information are associated with each other.

エンジニアリング装置1の動作では、図7に示すように、まず、ファイルアップロード手段11は、上位コントローラ4からダウンロードファイルをアップロードさせる(ステップST71)。このファイルアップロード手段11によりアップロードされたダウンロードファイルはアップロードファイル保持手段12に保持される。   In the operation of the engineering device 1, as shown in FIG. 7, first, the file upload unit 11 uploads a download file from the host controller 4 (step ST71). The download file uploaded by the file upload unit 11 is held in the upload file holding unit 12.

次いで、エラー情報検出手段19は、上位コントローラ4から、アップロードファイル保持手段12に保持されているダウンロードファイルのエラー情報を検出する(ステップST72)。
次いで、エラー情報判断手段20は、エラー情報検出手段19により検出されたエラー情報が、統合履歴記憶手段18に記憶されているかを判断する(ステップST73)。
Next, the error information detection means 19 detects error information of the download file held in the upload file holding means 12 from the host controller 4 (step ST72).
Next, the error information determination unit 20 determines whether the error information detected by the error information detection unit 19 is stored in the integrated history storage unit 18 (step ST73).

このステップST73において、エラー情報判断手段20は、検出されたエラー情報が統合履歴記憶手段18に記憶されていないと判断した場合には、実施の形態1に示すファイル統合を実施する(ステップST74)。   In step ST73, when the error information determination unit 20 determines that the detected error information is not stored in the integration history storage unit 18, the error information determination unit 20 performs file integration shown in the first embodiment (step ST74). .

一方、ステップST73において、エラー情報判断手段20が、検出されたエラー情報が統合履歴記憶手段18に記憶されていると判断した場合には、ファイル書換手段21は、アップロードファイル保持手段12に保持されている異常ファイルのファイル書換を行う(ステップST75)。すなわち、図8に示すように、ファイル書換手段21は、統合履歴記憶手段18から、検出されたエラー情報に対応付けられたファイル情報、領域情報およびデータを読み出す。そして、ファイル情報に該当する異常ファイルの領域情報に該当するデータ(下線部)を、読み出したデータ(統合値)に書換える。
なお、図8に示す異常ファイルでは、1レコード目の2,4フィールド目のデータがエラー1による異常状態であり、3レコード目の3フィールド目のデータがエラー2による異常状態であり、6レコード目の5フィールド目のデータがエラー3による異常状態であることを示している。
On the other hand, in step ST73, when the error information determination unit 20 determines that the detected error information is stored in the integrated history storage unit 18, the file rewriting unit 21 is stored in the upload file storage unit 12. The abnormal file is rewritten (step ST75). That is, as shown in FIG. 8, the file rewriting unit 21 reads file information, area information, and data associated with the detected error information from the integrated history storage unit 18. Then, the data (underlined portion) corresponding to the area information of the abnormal file corresponding to the file information is rewritten to the read data (integrated value).
In the abnormal file shown in FIG. 8, the data in the second and fourth fields of the first record are in an abnormal state due to error 1, the data in the third field of the third record is in an abnormal state due to error 2, and 6 records The data in the fifth field of the eye indicates an abnormal state due to error 3.

次いで、ファイルダウンロード手段16は、ファイル書換手段21によりファイル書換が行われた動作ファイル(書換ファイル)またはファイル統合手段15によりファイル統合が行われた動作ファイル(統合ファイル)を対応する上位コントローラ4にダウンロードする(ステップST76)。   Next, the file download unit 16 sends the operation file (rewritten file) rewritten by the file rewriting unit 21 or the operation file (integrated file) subjected to file integration by the file integration unit 15 to the corresponding host controller 4. Download (step ST76).

以上のように、この実施の形態2によれば、ダウンロードファイルのエラー情報が検出された場合に、統合履歴情報に同一のエラー情報が存在する場合には、対応付けられたデータを用いてファイル書換を行うように構成したので、実施の形態1と比較して、ダウンロードファイルをさらに早期・容易に正常状態に戻すことができる。   As described above, according to the second embodiment, when the error information of the download file is detected, if the same error information exists in the integrated history information, the file is associated with the associated data. Since the rewriting is performed, the download file can be returned to the normal state earlier and more easily than in the first embodiment.

なお、実施の形態1,2では、ダウンロードファイルに想定外のデータ異常が発生した場合を対象として説明を行ったが、想定内のデータ異常が発生した場合についても同様に適用可能である。なお、想定内のデータ異常を対象とした場合には、異常状態のデータやエラー情報を自動的に検出することができるため、システムの自動化を図ることが可能である。   In the first and second embodiments, the case where an unexpected data abnormality has occurred in the download file has been described. However, the present invention can be similarly applied to a case where an unexpected data abnormality has occurred. In addition, when the expected data abnormality is targeted, abnormal state data and error information can be automatically detected, so that the system can be automated.

また、実施の形態1では、ファイル統合手段15が統合した動作ファイル(統合ファイル)をファイルダウンロード手段16から対応する上位コントローラ4にダウンロードするようにしたが、別途、統合ファイル保持手段を設け、ファイル統合手段15が統合した動作ファイルを統合ファイル保持手段で保持し、統合ファイル保持手段で保持している動作ファイルをファイルダウンロード手段16からダウンロードするようにしてもよい。
また、BACnetなどのオープンネットワークを用いた場合について示したが、これに限るものではなく、その他の独自のネットワークを用いた場合についても同様に適用可能である。
また、本願発明はその発明の範囲内において、各実施の形態の自由な組み合わせ、あるいは各実施の形態の任意の構成要素の変形、もしくは各実施の形態において任意の構成要素の省略が可能である。
In the first embodiment, the operation file (integrated file) integrated by the file integration unit 15 is downloaded from the file download unit 16 to the corresponding higher-level controller 4. The operation file integrated by the integration unit 15 may be held by the integrated file holding unit, and the operation file held by the integrated file holding unit may be downloaded from the file download unit 16.
Moreover, although the case where an open network such as BACnet is used has been described, the present invention is not limited to this, and the present invention can be similarly applied to cases where other original networks are used.
Further, within the scope of the present invention, the invention of the present application can be freely combined with each embodiment, modified with any component in each embodiment, or omitted with any component in each embodiment. .

1 エンジニアリング装置
2 監視装置
3 表示装置
4 上位コントローラ
5 下位コントローラ
11 ファイルアップロード手段
12 アップロードファイル保持手段
13 正常ファイル保持手段
14 領域指定手段
15 ファイル統合手段
16 ファイルダウンロード手段
17 エラー情報入力手段
18 統合履歴記憶手段
19 エラー情報検出手段
20 エラー情報判断手段
21 ファイル書換手段
DESCRIPTION OF SYMBOLS 1 Engineering apparatus 2 Monitoring apparatus 3 Display apparatus 4 Upper controller 5 Lower controller 11 File upload means 12 Upload file holding means 13 Normal file holding means 14 Area designation means 15 File integration means 16 File download means 17 Error information input means 18 Integration history storage Means 19 Error information detecting means 20 Error information judging means 21 File rewriting means

Claims (5)

制御機器を動作させる動作ファイルを作成して、当該制御機器にダウンロードするエンジニアリング装置において、
前記制御機器から動作ファイルをアップロードさせるファイルアップロード手段と、
前記ファイルアップロード手段によりアップロードされた動作ファイルを保持するアップロードファイル保持手段と、
前記アップロードファイル保持手段に保持されている動作ファイルと同一の構成からなる正常な動作ファイルを保持する正常ファイル保持手段と、
前記正常ファイル保持手段に保持されている統合対象の動作ファイルを示すファイル情報と、当該統合対象の動作ファイルからデータを読み出す領域を示す領域情報との入力を受け付ける領域指定手段と、
前記正常ファイル保持手段から、前記領域指定手段により受け付けられたファイル情報に該当する動作ファイルの領域情報に該当するデータを読み出し、前記アップロードファイル保持手段から、当該ファイル情報に該当する動作ファイルの当該領域情報に該当しないデータを読み出して、ファイル統合を行うファイル統合手段と
を備えたエンジニアリング装置。
In an engineering device that creates an operation file to operate a control device and downloads it to the control device,
File upload means for uploading an operation file from the control device;
Upload file holding means for holding the operation file uploaded by the file upload means;
A normal file holding means for holding a normal operation file having the same configuration as the operation file held in the upload file holding means;
Area specifying means for receiving input of file information indicating the operation file to be integrated held in the normal file holding means and area information indicating an area for reading data from the operation file to be integrated;
Data corresponding to the area information of the action file corresponding to the file information accepted by the area specifying means is read from the normal file holding means, and the area of the action file corresponding to the file information is read from the upload file holding means. An engineering device comprising file integration means for reading out data not corresponding to information and performing file integration.
前記領域情報は、一連のデータの領域を示す情報である
ことを特徴とする請求項1記載のエンジニアリング装置。
The engineering apparatus according to claim 1, wherein the area information is information indicating an area of a series of data.
前記領域情報は、個々のデータの領域を示す情報である
ことを特徴とする請求項1記載のエンジニアリング装置。
2. The engineering apparatus according to claim 1, wherein the area information is information indicating an area of each data.
前記ファイル統合手段によりファイル統合が行われた場合に、当該ファイル統合の起因となったエラー情報の入力を受け付けるエラー情報入力手段と、
前記ファイル統合手段によりファイル統合が行われた場合に、前記領域指定手段により受け付けられたファイル情報および領域情報と、前記正常ファイル保持手段から読み出した、当該ファイル情報に該当する動作ファイルの当該領域情報に該当するデータと、前記エラー情報入力手段により受け付けられたエラー情報とを対応付けて記憶する統合履歴記憶手段とをさらに備えた
ことを特徴とする請求項1から請求項3のうちいずれか1項記載のエンジニアリング装置。
When file integration is performed by the file integration unit, error information input unit that receives input of error information that caused the file integration;
When file integration is performed by the file integration means, the file information and area information received by the area specifying means, and the area information of the operation file corresponding to the file information read from the normal file holding means 4. An integrated history storage means for storing data corresponding to the above and the error information received by the error information input means in association with each other, further comprising: Engineering equipment described in the section.
前記アップロードファイル保持手段に保持されている動作ファイルのエラー情報を検出するエラー情報検出手段と、
前記エラー情報検出手段によりエラー情報が検出された場合に、前記統合履歴記憶手段に当該エラー情報が記憶されているかを判断するエラー情報判断手段と、
前記エラー情報判断手段により当該エラー情報が前記統合履歴記憶手段に記憶されていると判断された場合に、前記統合履歴記憶手段から当該エラー情報に対応付けられたファイル情報、領域情報およびデータを読み出し、前記アップロードファイル保持手段に保持されている、当該ファイル情報に該当する動作ファイルの当該領域情報に該当するデータを、読み出したデータに書き換えるファイル書換手段とをさらに備えた
ことを特徴とする請求項4記載のエンジニアリング装置。
Error information detection means for detecting error information of the operation file held in the upload file holding means;
An error information determination unit for determining whether the error information is stored in the integrated history storage unit when error information is detected by the error information detection unit;
When the error information determination unit determines that the error information is stored in the integrated history storage unit, the file information, area information, and data associated with the error information are read from the integrated history storage unit The file rewriting means further comprises a file rewriting means for rewriting the data corresponding to the area information of the operation file corresponding to the file information held in the upload file holding means to the read data. 4. The engineering device according to 4.
JP2011019858A 2011-02-01 2011-02-01 Engineering device Pending JP2012160068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011019858A JP2012160068A (en) 2011-02-01 2011-02-01 Engineering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011019858A JP2012160068A (en) 2011-02-01 2011-02-01 Engineering device

Publications (1)

Publication Number Publication Date
JP2012160068A true JP2012160068A (en) 2012-08-23

Family

ID=46840537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011019858A Pending JP2012160068A (en) 2011-02-01 2011-02-01 Engineering device

Country Status (1)

Country Link
JP (1) JP2012160068A (en)

Similar Documents

Publication Publication Date Title
US7818465B2 (en) I/O module expansion unit and distributed automation system
US7752025B2 (en) Parameter identification for field devices used in automation technology
WO2015136959A1 (en) Control system, method, program and information processing device
CN108009081B (en) Engineering design tool cooperation device and engineering design tool cooperation method
US11625018B2 (en) Method and system for configuring virtual controllers in a building management system
EP3712867B1 (en) Fire control panel configuration
US11720074B2 (en) Method and system for managing virtual controllers in a building management system
US11782410B2 (en) Building management system with control logic distributed between a virtual controller and a smart edge controller
US10545747B2 (en) Application module deployment
JP2020506311A (en) Smart driver
CN108353086B (en) Deployment assurance checks for monitoring industrial control systems
CN107408184B (en) Patch monitoring and analysis
JP6124612B2 (en) Engineering apparatus and engineering method
US20150268654A1 (en) Generation and publication of shared tagsets
JP2006318102A (en) Field equipment management device and field equipment management method
JP2009295090A (en) Start file creating device, controller, connection test system for monitoring system, and connection test method of monitoring system
JP2012160068A (en) Engineering device
WO2021059504A1 (en) Apparatus management device and software generation method
JP5660915B2 (en) Engineering equipment
JP5300686B2 (en) Engineering work apparatus and method
JP2019197449A (en) Apparatus management system and tag name verification method
JP5048460B2 (en) Trend monitoring system, trend monitoring apparatus, and trend monitoring method
JP6821559B2 (en) Field equipment with self-healing function
CN112540591B (en) Method and interface for automatic loop checking of industrial process control and automation systems
US11726766B2 (en) Method and apparatus for maintaining software of a control unit for an industrial control system