JP5649004B2 - Set value management apparatus, set value management method and program - Google Patents

Set value management apparatus, set value management method and program Download PDF

Info

Publication number
JP5649004B2
JP5649004B2 JP2011133573A JP2011133573A JP5649004B2 JP 5649004 B2 JP5649004 B2 JP 5649004B2 JP 2011133573 A JP2011133573 A JP 2011133573A JP 2011133573 A JP2011133573 A JP 2011133573A JP 5649004 B2 JP5649004 B2 JP 5649004B2
Authority
JP
Japan
Prior art keywords
value
setting value
logic
existing
processing logic
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.)
Active
Application number
JP2011133573A
Other languages
Japanese (ja)
Other versions
JP2013003795A (en
Inventor
俊智 渡邉
俊智 渡邉
啓一郎 八木
啓一郎 八木
小田木 隆一
隆一 小田木
芳征 田中
芳征 田中
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2011133573A priority Critical patent/JP5649004B2/en
Publication of JP2013003795A publication Critical patent/JP2013003795A/en
Application granted granted Critical
Publication of JP5649004B2 publication Critical patent/JP5649004B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Description

本発明は、設定値管理装置、設定値管理方法及びプログラムに関する。例えば、プラント等の設備で用いられる処理ロジックを置き換え、この処理ロジックで用いられる設定値を管理する際に有用な技術に関する。   The present invention relates to a setting value management apparatus, a setting value management method, and a program. For example, the present invention relates to a technique useful in replacing processing logic used in equipment such as a plant and managing setting values used in the processing logic.

従来、圧延プラント、発電プラント等の各種プラントでは、デジタルデータを入出力するデジタル制御装置(コンピュータ)によって動作が制御されることが一般的であった。デジタル制御装置が実行するプログラムは、処理ロジックが記載されたロジック図に基づいてプログラム作成装置が作成していた。   Conventionally, in various plants such as a rolling plant and a power plant, the operation is generally controlled by a digital control device (computer) that inputs and outputs digital data. The program executed by the digital control device is created by the program creation device based on a logic diagram in which processing logic is described.

プログラム作成装置がロジック図からプログラムを作成する際には、ロジック図をモジュール分割した形で入力し、コンパイラでロジック図を解析して中間ソースプログラムを作成する。その後、中間ソースプログラムをリンカで解析した後、デジタル制御装置にローディングされることにより、デジタル制御装置がプログラムを実行することが可能となる。また、プログラムはロジック図の形式で監視画面に表示され、デジタル制御装置の動作の監視に利用されている。   When the program creation device creates a program from a logic diagram, the logic diagram is input in a module-divided form, and the compiler analyzes the logic diagram to create an intermediate source program. Thereafter, the intermediate source program is analyzed by the linker and then loaded into the digital control device, so that the digital control device can execute the program. The program is displayed on the monitoring screen in the form of a logic diagram, and is used for monitoring the operation of the digital control device.

ここで、プラントでは、例えば、ボイラーやタービン等の設備で用いられる蒸気の温度を熱電対等のセンサで計測し、このセンサが出力する測定値を工学値変換して求めた工学値により設備の稼働状況を把握している。以下の説明では、所定の測定範囲内で測定される工学値を所定の範囲に均等に割り振ることを「正規化」と呼ぶ。例えば、工学値が0℃〜300℃の間で推移する場合に、正規化された設定値は0%〜100%の間で推移する。このように、工学値の下限値を0%とし、上限値を100%とするように百分率で求まる正規化された設定値を用いた処理ロジックにより設備の制御が行われる。   Here, in the plant, for example, the temperature of steam used in equipment such as boilers and turbines is measured with a sensor such as a thermocouple, and the operation value of the equipment is calculated based on the engineering value obtained by converting the measured value output by this sensor into the engineering value I know the situation. In the following description, assigning engineering values measured within a predetermined measurement range equally to the predetermined range is referred to as “normalization”. For example, when the engineering value changes between 0 ° C. and 300 ° C., the normalized set value changes between 0% and 100%. In this way, the facility is controlled by the processing logic using the normalized set value obtained as a percentage so that the lower limit value of the engineering value is 0% and the upper limit value is 100%.

近年は、情報処理の技術が発展したことに伴い、ネットワークで接続される多数のデジタル制御装置が自律して設備の動作を制御すると共に、デジタル制御装置同士がリアルタイムで正規化された設定値を取得することが可能な分散制御システムが構築されている。上述したように、分散制御システムでは、各設備が自律して動作を制御するため、設備毎にメンテナンス等を行うことが可能である。   In recent years, along with the development of information processing technology, a large number of digital control devices connected via a network autonomously control the operation of facilities, and the digital control devices have set values that are normalized in real time. A distributed control system that can be acquired has been constructed. As described above, in the distributed control system, since each facility autonomously controls the operation, maintenance or the like can be performed for each facility.

ここで、分散制御システムで用いられる処理ロジックを、新たに別の処理ロジックに置き換えて分散制御システムを更新する運用が行われる場合がある。この更新に際して、置き換え対象となる新たな処理ロジックについては、既設の処理ロジックが制御する動作をそのまま引き継ぐことにより、置き換え前後で同じ動作をすることが求められる。つまり、既設の処理ロジックが演算する工学値と、新たな処理ロジックが演算する工学値は同じであることが必要である。同様に正規化された設定値についても、既設の処理ロジックと新たな処理ロジックがそれぞれ演算する値が同じでなければならない。   Here, there is a case where the processing logic used in the distributed control system is newly replaced with another processing logic to update the distributed control system. At the time of this update, the new processing logic to be replaced is required to perform the same operation before and after replacement by taking over the operation controlled by the existing processing logic as it is. That is, the engineering value calculated by the existing processing logic needs to be the same as the engineering value calculated by the new processing logic. Similarly, with respect to the normalized set value, the values calculated by the existing processing logic and the new processing logic must be the same.

処理ロジックを置き換える際には、以下の手順で作業が行われる。始めに、作業者が既設の処理ロジックから予め正規化するための設定値を取得する。次に、作業者が設定値を目視確認しながら、新たな処理ロジックで用いられる設定値を手作業により計算する。そして、新たな処理ロジックに設定値を手作業で反映する。このような作業を経て処理ロジックの置き換えが完了していた。ここで目視確認には、処理ロジックの構成や計算した設定値等が記載されるロジック図が用いられていた。   When replacing the processing logic, the following procedure is used. First, the operator acquires a setting value for normalization from the existing processing logic. Next, the operator manually calculates the setting value used in the new processing logic while visually confirming the setting value. Then, the set value is manually reflected in the new processing logic. After such work, the replacement of processing logic has been completed. Here, for visual confirmation, a logic diagram in which a configuration of processing logic, a calculated set value, and the like are described is used.

特許文献1には、処理ロジックを用いたプロセス制御を実行中に、プラントの運転制約条件データを設定変更とし、これにより制御特性を調整可能とする技術が開示されている。   Japanese Patent Application Laid-Open No. H10-228688 discloses a technique that enables operation control condition data of a plant to be changed during execution of process control using processing logic, thereby adjusting control characteristics.

特開平11−265201号公報Japanese Patent Laid-Open No. 11-265201

ところで、処理ロジックに入出力する設定値の数は多く、置き換え前後の処理ロジックから同じ出力結果を得るためには、出力結果の不整合が生じないように設定値を計算し、管理しなければならない。しかし、従来は処理ロジックの置き換えに際して作業者が人手により設定値を計算しており、作業量の多さから、作業者に大きな負担がかかっていた。また、設定値の計算間違いや誤記載等により、置き換えた処理ロジックを用いて行う制御時の品質が不安定となるため、このようなヒューマンエラーをなくす必要があった。   By the way, there are a large number of setting values that are input to and output from the processing logic. To obtain the same output results from the processing logic before and after replacement, the setting values must be calculated and managed so that inconsistencies in the output results do not occur. Don't be. However, conventionally, when the processing logic is replaced, the operator manually calculates the set value, and a large burden is imposed on the operator due to the large amount of work. In addition, since the quality at the time of control performed using the replaced processing logic becomes unstable due to a calculation error or erroneous description of the set value, it is necessary to eliminate such a human error.

本発明はこのような状況に鑑みて成されたものであり、更新前後の設定値を管理するものである。   The present invention has been made in view of such a situation, and manages setting values before and after updating.

本発明は、既設の第1の処理ロジックが表される第1のロジック図から生成され、第1の処理ロジックの処理順が示されるソースファイルより、第1の処理ロジックで用いられる第1の設定値を抽出して、第1の設定値を管理する設定値管理表に抽出した第1の設定値を書き込む。
そして、設定値管理表から読み出した第1の設定値を、第1の処理ロジックから置き換えられる第2の処理ロジックが用いる第2の設定値に変換して、第2の設定値を設定値管理表に書き込むものである。
In the present invention, the first processing logic is generated from the first logic diagram representing the first processing logic and the first processing logic is used in the first processing logic from the source file indicating the processing order of the first processing logic. The setting value is extracted, and the extracted first setting value is written in the setting value management table for managing the first setting value.
Then, the first setting value read from the setting value management table is converted into the second setting value used by the second processing logic replaced from the first processing logic, and the second setting value is set as the setting value management. Write to the table.

本発明によれば、第1のロジック図に基づいて第1及び第2の設定値が書き込まれる設定値管理表の作成が自動的に行われる。このため、処理ロジックの置き換え前後で第1及び第2の設定値の不整合が生じないロジック図を作成することができるため、作業者が設定値の確認に要する負担を低減できる。   According to the present invention, the setting value management table in which the first and second setting values are written is automatically generated based on the first logic diagram. This makes it possible to create a logic diagram that does not cause a mismatch between the first and second setting values before and after the replacement of the processing logic, thereby reducing the burden on the operator for checking the setting values.

本発明の一実施の形態における既設ロジックの設定値と更新後ロジックの設定値の対応関係を管理する設定値変換管理ツールの内部構成例を示すブロック図である。It is a block diagram which shows the internal structural example of the setting value conversion management tool which manages the correspondence of the setting value of the existing logic and the setting value of the logic after an update in one embodiment of this invention. 本発明の一実施の形態における既設ロジック図の記載例を示す説明図である。It is explanatory drawing which shows the example of a description of the existing logic diagram in one embodiment of this invention. 本発明の一実施の形態における既設ロジックと更新後ロジックにおけるマクロの機能例を示す説明図である。It is explanatory drawing which shows the function example of the macro in the existing logic and updated logic in one embodiment of this invention. 本発明の一実施の形態における既設ソースファイルの記載例を示す説明図である。It is explanatory drawing which shows the example of a description of the existing source file in one embodiment of this invention. 本発明の一実施の形態における既設ソースファイルの設定値を、設定値管理表に書き込む機能の例を示す説明図である。It is explanatory drawing which shows the example of the function which writes in the setting value management table the setting value of the existing source file in one embodiment of this invention. 本発明の一実施の形態における更新後ロジック図の記載例を示す説明図である。It is explanatory drawing which shows the example of a description of the after-update logic diagram in one embodiment of this invention. 本発明の一実施の形態における設定値管理表の詳細なデータの例を示す説明図である。It is explanatory drawing which shows the example of the detailed data of the setting value management table in one embodiment of this invention. 本発明の一実施の形態における照合結果リストの記載例を示す説明図である。It is explanatory drawing which shows the example of description of the collation result list | wrist in one embodiment of this invention.

以下、本発明の一実施の形態(以下、「本例」という。)について、添付図面を参照して説明する。本実施の形態では、プラント等の動作を制御するデジタル制御装置で用いられる処理ロジックの一部を置き換える際に、この処理ロジックで用いられる各種の設定値を管理して、置き換えられた処理ロジックに設定値を反映する設定値管理装置20に適用した例について説明する。なお、本例の設定値管理装置20は、プログラムを実行することにより、内部ブロックが連携して行う設定値管理方法を実現するものである。以下の説明では、既設の第1の処理ロジックを「既設ロジック」と呼び、既設ロジックを置き換えて更新した第2の処理ロジックを「更新後ロジック」と呼ぶ。   Hereinafter, an embodiment of the present invention (hereinafter referred to as “this example”) will be described with reference to the accompanying drawings. In this embodiment, when replacing a part of processing logic used in a digital control device that controls the operation of a plant or the like, various setting values used in this processing logic are managed, and the replaced processing logic is used. An example applied to the setting value management apparatus 20 that reflects the setting value will be described. Note that the setting value management apparatus 20 of the present example implements a setting value management method performed by the internal blocks in cooperation by executing a program. In the following description, the existing first processing logic is called “existing logic”, and the second processing logic updated by replacing the existing logic is called “updated logic”.

図1は、既設ロジックの設定値と更新後ロジックの設定値の対応関係を管理する設定値管理装置20の内部構成例を示す。
設定値管理装置20は、既設ロジック及び更新後ロジックで用いられる設定値(工学値及び正規化値)を管理する設定値管理ツール21を備える。既設ロジック及び更新後ロジックでは、必要とされる工学値が正規化された設定値を入出力のパラメータとして処理に用いている。また、設定値管理装置20は、既設ロジック図D1から既設ソースファイルD2を生成するソースファイル生成部1を備えており、この既設ソースファイルD2が設定値管理ツール21に入力される。
FIG. 1 shows an internal configuration example of a set value management apparatus 20 that manages the correspondence between the set values of existing logic and the set values of updated logic.
The set value management apparatus 20 includes a set value management tool 21 that manages set values (engineering values and normalized values) used in existing logic and updated logic. In the existing logic and the updated logic, a set value in which a required engineering value is normalized is used for processing as an input / output parameter. The setting value management apparatus 20 includes a source file generation unit 1 that generates an existing source file D2 from the existing logic diagram D1, and the existing source file D2 is input to the setting value management tool 21.

設定値管理ツール21は、既設ロジックが表される既設ロジック図D1(第1のロジック図)と、既設ロジックの処理順が示される既設ソースファイルD2(ソースファイル)を用いて、既設ロジックから更新後ロジックへの設定値の変換を管理する。また、設定値管理ツール21は、後述する正規化更新後ロジック図D3(第2のロジック図)、工学値化更新後ロジック図D4(第3のロジック図)を用いて、作業者の手動入力22で作成された更新後ロジックと、設定値管理ツール21が自動で作成した更新後ロジックの照合結果を表す照合結果リストD5を紙媒体等に印刷したり、不図示の表示装置の画面に表示したりする。これらのロジック図等の詳細な内容は後述する。   The set value management tool 21 is updated from the existing logic using the existing logic diagram D1 (first logic diagram) representing the existing logic and the existing source file D2 (source file) indicating the processing order of the existing logic. Manages conversion of set values to post-logic. Further, the set value management tool 21 is manually input by an operator using a logic diagram D3 (second logic diagram) after normalization update and a logic diagram D4 after engineering value update (third logic diagram), which will be described later. 22 is printed on a paper medium or the like, or displayed on the screen of a display device (not shown). To do. Detailed contents of these logic diagrams and the like will be described later.

また、設定値管理ツール21は、既設ソースファイルD2より既設ロジックで第1の設定値として用いられる既設正規化設定値(第1の正規化値)を抽出する既設ロジック設定値抽出部2と、既設ソースファイルD3の既設ロジックを更新後ロジックに変換して正規化更新後ロジック図D3を生成するコンバート部4と、既設ロジックの既設正規化設定値(第1の設定値)を既設工学値化設定値(第1の工学値)に変換する正規化工学値変換部7と、既設ロジックの既設工学値化設定値を更新後ロジックで用いられる更新後最終設定値(第2の工学値)に変換する既設更新後設定値変換部9を備える。正規化工学値変換部7と既設更新後設定値変換部9は、設定値管理表15から読み出した既設正規化設定値を、既設ロジックから置き換えられる更新後ロジックが用いる更新後最終設定値に変換して、更新後最終設定値を設定値管理表15に書き込む設定値変換部として用いられる。   Further, the setting value management tool 21 extracts an existing logic setting value extraction unit 2 that extracts an existing normalization setting value (first normalization value) used as the first setting value in the existing logic from the existing source file D2. Converting the existing logic of the existing source file D3 to the updated logic to generate the normalized and updated logic diagram D3, and converting the existing normalization setting value (first setting value) of the existing logic to the existing engineering value The normalized engineering value conversion unit 7 for converting the setting value (first engineering value) and the existing engineering value setting value of the existing logic into the updated final setting value (second engineering value) used in the updated logic An existing post-update setting value conversion unit 9 for conversion is provided. The normalization engineering value conversion unit 7 and the existing post-update setting value conversion unit 9 convert the existing normalization setting value read from the setting value management table 15 into an updated final setting value used by the post-update logic replaced from the existing logic. Then, it is used as a set value conversion unit for writing the updated final set value in the set value management table 15.

また、設定値管理ツール21は、コンバート部4によって生成された正規化更新後ロジック図D3に対し、更新後ロジックで用いられる更新後最終設定値(第2の工学値)を反映して、工学値化更新後ロジック図D4を生成する反映部11と、工学値化更新後ロジック図D4から更新後ロジックの第2の工学値をロジック図現在値として抽出する工学値抽出部として用いられる更新後ロジック現在値抽出部12と、更新後最終設定値とロジック図現在値を照合して照合結果を照合結果リストD5に出力する照合部14を備える。   Further, the set value management tool 21 reflects the final updated set value (second engineering value) used in the post-update logic on the normalized post-update logic diagram D3 generated by the conversion unit 4 to perform engineering. The update unit 11 that generates the logic diagram D4 after the value update, and the engine value extraction unit that extracts the second engineering value of the updated logic from the logic diagram D4 after the engineering value update as the logic diagram current value A logic current value extraction unit 12 and a collation unit 14 that collates the updated final set value with the logic diagram current value and outputs a collation result to the collation result list D5.

以下に、各部の動作例を説明する。
既設ロジック図D1は、既存のプラント等で用いられる処理ロジックを記載した図面であり、既設ソースファイルD2は、処理ロジックを処理順で列挙した図面である。既設ロジック図D1には、複数の処理を自動的に行うマクロの情報(以下、「マクロ情報」と略記する。)が、処理ロジックの一例として記載され、プラントの運用時には、この既設ロジック図D1に記載された制御論理に基づいて、プラントの運転状態やプロセス量が制御される。
Hereinafter, an operation example of each unit will be described.
The existing logic diagram D1 is a diagram that describes the processing logic used in an existing plant or the like, and the existing source file D2 is a diagram that lists the processing logic in the order of processing. In the existing logic diagram D1, information on a macro for automatically performing a plurality of processes (hereinafter abbreviated as “macro information”) is described as an example of processing logic, and this existing logic diagram D1 is used during operation of the plant. The operation state of the plant and the process amount are controlled based on the control logic described in (1).

マクロ情報には、例えば、マクロ名やマクロに入出力するパラメータの入出力アドレス等があり、複数のマクロを組み合わせることによって、プラントで行われる各種の処理を表現している。なお、不図示のサーバ等に既設ロジック図D1が存在しない場合、または既設ロジックの仕様が不明である既設ロジック図D1に基づいて既設ロジックを求める際には、作業者が行う手動入力22の入力操作により既設ソースファイルD2を生成する。   The macro information includes, for example, a macro name and an input / output address of a parameter input / output to / from the macro, and various processes performed in the plant are expressed by combining a plurality of macros. When the existing logic diagram D1 does not exist in a server (not shown) or when the existing logic is obtained based on the existing logic diagram D1 in which the specification of the existing logic is unknown, the manual input 22 performed by the operator is input. The existing source file D2 is generated by the operation.

既設ロジック設定値抽出部2は、既設ソースファイルD2から既設ロジックで用いられる既設正規化設定値(第1の設定値)を抽出する既設ロジック設定値抽出機能を有する。このため、既設ロジック設定値抽出部2は、ソースファイル生成部1より入力する既設ソースファイルD2より、既設ロジックで用いられる既設正規化設定値を抽出して、既設正規化設定値を管理する設定値管理表15の既設正規化設定値フィールド6に既設正規化設定値を書き込む。併せて、既設ロジック設定値抽出部2は、既設ソースファイルD2から抽出したマクロの既設演算マクロ情報が、既設ロジックに関する情報として既設演算マクロ情報フィールド3に書き込む。   The existing logic setting value extraction unit 2 has an existing logic setting value extraction function for extracting an existing normalization setting value (first setting value) used in the existing logic from the existing source file D2. For this reason, the existing logic setting value extraction unit 2 extracts the existing normalization setting values used in the existing logic from the existing source file D2 input from the source file generation unit 1, and manages the existing normalization setting values. The existing normalization setting value is written in the existing normalization setting value field 6 of the value management table 15. At the same time, the existing logic setting value extraction unit 2 writes the existing calculation macro information of the macro extracted from the existing source file D2 in the existing calculation macro information field 3 as information related to the existing logic.

コンバート部4は、既設ソースファイルD2から抽出した既設正規化設定値(第1の正規化値)を、正規化更新後ロジック図D3によって用いられる正規化された設定値(第2の正規化値)に変換するコンバート機能を有する。ここで、コンバート部4は、既設ソースファイルD2に表される既設ロジックで用いられる設定値が、正規化された既設正規化設定値である場合に、既設正規化設定値を更新後ロジックで用いられる第2の正規化値に変換する。そして、コンバート部4は、第2の正規化値を更新後ロジックに反映した正規化更新後ロジック図D3を生成すると共に、既設演算マクロ情報及び更新後演算マクロ情報並びに既設正規化設定値を設定値管理表15の更新後演算マクロ情報フィールド5に書き込む。   The converting unit 4 converts the existing normalization setting value (first normalization value) extracted from the existing source file D2 into a normalized setting value (second normalization value) used by the post-normalization logic diagram D3. A conversion function for converting to). Here, when the setting value used in the existing logic represented in the existing source file D2 is a normalized existing normalization setting value, the conversion unit 4 uses the existing normalization setting value in the updated logic. Is converted into a second normalized value. Then, the converting unit 4 generates a normalized and updated logic diagram D3 in which the second normalized value is reflected in the updated logic, and sets the existing calculation macro information, the updated calculation macro information, and the existing normalization setting value. Write to the updated calculation macro information field 5 of the value management table 15.

ここで、コンバート部4のコンバート機能を用いない場合、既設ロジック設定値抽出部2は、設定値管理表15に設けられる既設演算マクロ情報フィールド3と既設正規化設定値フィールド6を自動生成する。そして、既設演算マクロ情報フィールド3と既設正規化設定値フィールド6に書き込まれる情報は、既設ソースファイルD2から既設ロジック設定値抽出部2を通して自動的に抽出される。このとき、既設ロジック設定値抽出部2は、コンバート部4のコンバート機能を用いない場合に、既設ソースファイルD2より抽出した既設ロジックに含まれるマクロのマクロ情報を設定値管理表15の既設演算マクロ情報フィールド3に書き込み、既設正規化設定値を既設正規化設定値フィールド6に書き込む。   Here, when the conversion function of the conversion unit 4 is not used, the existing logic setting value extraction unit 2 automatically generates the existing calculation macro information field 3 and the existing normalization setting value field 6 provided in the setting value management table 15. The information written in the existing calculation macro information field 3 and the existing normalization setting value field 6 is automatically extracted from the existing source file D2 through the existing logic setting value extraction unit 2. At this time, when the conversion function of the conversion unit 4 is not used, the existing logic setting value extraction unit 2 uses the existing calculation macro in the setting value management table 15 as the macro information of the macro included in the existing logic extracted from the existing source file D2. Write to the information field 3 and write the existing normalization setting value to the existing normalization setting value field 6.

また、既設ロジック図D1に未知のフォーマットが使われており、既設ロジック設定値抽出部2が自動的に設定値を抽出することが困難である場合が想定される。この場合には、作業者が既設ソースファイルD2を目視で読み取り、作業者が行う手動入力22によって更新後演算マクロ情報が、更新後ロジックに関する情報として設定値管理表15の更新後演算マクロ情報フィールド5に書き込まれる。   Further, an unknown format is used in the existing logic diagram D1, and it is assumed that it is difficult for the existing logic set value extraction unit 2 to automatically extract the set value. In this case, the operator reads the existing source file D2 visually, and the updated calculation macro information is obtained by manual input 22 performed by the worker, and the updated calculation macro information field of the setting value management table 15 as information about the updated logic. 5 is written.

一方、コンバート部4のコンバート機能を用いる場合、コンバート部4は、設定値管理表15に設けられる既設演算マクロ情報フィールド3と更新後演算マクロ情報フィールド5と既設正規化設定値フィールド6を自動生成する。このとき、コンバート部4は、既設演算マクロ情報フィールド3に既設演算マクロ情報として、既設ロジックに含まれるマクロのマクロ情報を書き込み、更新後演算マクロ情報フィールド5に更新後演算マクロ情報として更新後ロジックに含まれるマクロのマクロ情報を書き込む。また、コンバート部4は、既設正規化設定値フィールド6に既設正規化設定値として既設ロジックに含まれるマクロで用いられる正規化された設定値(第1の正規化値)を書き込む。   On the other hand, when the conversion function of the conversion unit 4 is used, the conversion unit 4 automatically generates the existing calculation macro information field 3, the post-update calculation macro information field 5, and the existing normalization setting value field 6 provided in the setting value management table 15. To do. At this time, the conversion unit 4 writes the macro information of the macro included in the existing logic as the existing calculation macro information in the existing calculation macro information field 3, and the post-update logic as the post-update calculation macro information in the post-update calculation macro information field 5 Write the macro information of the macro contained in. Further, the conversion unit 4 writes the normalized setting value (first normalization value) used in the macro included in the existing logic as the existing normalization setting value field 6.

そして、正規化工学値変換部7は、設定値管理表15の既設正規化設定値フィールド6から読み出した既設正規化設定値を工学値に変換した既設工学値化設定値(第1の工学値)を設定値管理表15の既設工学値化設定値フィールド8に書き込む。   Then, the normalized engineering value conversion unit 7 converts the existing normalized setting value read from the existing normalized setting value field 6 of the setting value management table 15 into an engineering value (first engineering value). ) Is written into the existing engineering value set value field 8 of the set value management table 15.

次に、設定値管理表15に設けられる更新後最終設定値フィールド10には、既設演算マクロ情報フィールド3、更新後演算マクロ情報フィールド5及び既設工学値化設定値フィールド8から読み出された設定値を変換した工学値として、既設更新後設定値変換部9を通して更新後ロジックで用いられる更新後最終設定値(第2の工学値)が自動入力される。このとき、既設更新後設定値変換部9は、設定値管理表15から読み出した既設演算マクロ情報及び更新後演算マクロ情報並びに既設工学値化設定値に基づいて、既設工学値化設定値を更新後ロジックで用いられる更新後最終設定値(第2の工学値)に変換して、更新後最終設定値を設定値管理表15の更新後最終設定値フィールド10に書き込む。   Next, in the updated final set value field 10 provided in the set value management table 15, the settings read from the existing calculation macro information field 3, the post-update calculation macro information field 5 and the existing engineering value setting value field 8 are read. As an engineering value obtained by converting the value, an updated final setting value (second engineering value) used in the updated logic is automatically input through the existing updated setting value conversion unit 9. At this time, the existing updated set value conversion unit 9 updates the existing engineering value setting value based on the existing calculation macro information and the updated calculation macro information read from the setting value management table 15 and the existing engineering value setting value. The updated final set value (second engineering value) used in the post-logic is converted, and the updated final set value is written in the post-update final set value field 10 of the set value management table 15.

反映部11は、正規化更新後ロジック図D3に表される更新後ロジックに、設定値管理表15の更新後最終設定値フィールド10から読み出した更新後最終設定値(第2の工学値)を反映して、工学値化更新後ロジック図D4を生成する。このとき、反映部11は、コンバート部4によって生成された正規化更新後ロジック図D3に表され、更新後ロジックで用いられる正規化された第2の正規化値を、設定値管理表15から読み出した更新後最終設定値(第2の工学値)で反映した工学値化更新後ロジック図Dを生成する。ただし、正規化更新後ロジック図D3が存在しない場合には、工学値化更新後ロジック図D4は手動入力22で入力される。   The reflecting unit 11 adds the updated final setting value (second engineering value) read from the updated final setting value field 10 of the setting value management table 15 to the updated logic represented in the normalized post-update logic diagram D3. Reflecting this, a logic diagram D4 after engineering value update is generated. At this time, the reflection unit 11 represents the normalized second normalization value used in the post-update logic diagram D3 generated by the conversion unit 4 from the set value management table 15. An engineering value-updated logic diagram D reflected by the read updated final set value (second engineering value) is generated. However, when the logic diagram D3 after normalization update does not exist, the logic diagram D4 after engineering value update is input by the manual input 22.

更新後ロジック現在値抽出部12は、反映部11によって生成され、又はコンバート部4を用いない場合に手動入力22によって生成された工学値化更新後ロジック図D4より抽出したロジック図現在値(第2の工学値)を現在値として設定値管理表15のロジック図現在値フィールド13に書き込む工学値抽出部として用いられる。   The updated logic current value extraction unit 12 is generated by the reflection unit 11 or when the conversion unit 4 is not used, the logic diagram current value (first value) extracted from the engineering value updated logic diagram D4 generated by the manual input 22. 2) is used as an engineering value extraction unit for writing the current value in the logic diagram current value field 13 of the set value management table 15.

照合部14は、更新後ロジック現在値抽出部12が抽出したロジック図現在値(第2の工学値)、及び既設更新後設定値変換部9によって変換され、更新後最終設定値フィールド10から読み出した更新後最終設定値(第2の工学値)を照合し、照合結果として照合結果リストD5を出力する。これにより、ユーザは手動入力22により作成した工学値化更新後ロジック図D4が自動的に生成された更新後ロジックで用いられる設定値と等しいか否かを見分けることができる。   The collation unit 14 is converted by the logic diagram current value (second engineering value) extracted by the updated logic current value extraction unit 12 and the existing updated setting value conversion unit 9 and read from the updated final setting value field 10. The updated final set value (second engineering value) is collated, and a collation result list D5 is output as a collation result. As a result, the user can discriminate whether or not the engineering value-updated logic diagram D4 created by the manual input 22 is equal to the set value used in the automatically-updated logic.

図2は、既設ロジック図D1の記載例を示す。
既設ロジック図D1には、既設ロジック及び既設ロジックに入出力するパラメータが記載されている。本例では、石灰石スラリ槽における上澄み水の流量を設定するために用いられる処理ロジックが各ブロック内の番号で示されるマクロの処理順と共に記載される。なお、上述した既設ロジックの一例として「既設マクロ」を定め、上述した更新後ロジックの一例として「更新後マクロ」定めている。
FIG. 2 shows a description example of the existing logic diagram D1.
The existing logic diagram D1 describes the existing logic and parameters to be input to and output from the existing logic. In this example, the processing logic used to set the flow rate of the supernatant water in the limestone slurry tank is described along with the macro processing order indicated by the numbers in each block. Note that “existing macro” is defined as an example of the existing logic described above, and “updated macro” is defined as an example of the updated logic described above.

本例では、図中に示される複数のマクロのうち、マクロ23に注目して、設定値等を説明する。マクロ23は、マクロ名が「AW」として表され、複数の入力値に基づいて所定の値を出力する機能を有する。図中に示したように、マクロ23には、ゲインG1〜G3にそれぞれ1.0,1.0,0が設定され、バイアスBに0が設定され、上限値HLに100が設定され、下限値LLに0が設定される。マクロ24は、複数のマクロの集合体である「大マクロ」であり、図5を参照して後述する。   In this example, the setting value and the like will be described by paying attention to the macro 23 among a plurality of macros shown in the drawing. The macro 23 has a function of outputting a predetermined value based on a plurality of input values, the macro name being represented as “AW”. As shown in the figure, in the macro 23, 1.0, 1.0, 0 are set for the gains G1 to G3, 0 is set for the bias B, 100 is set for the upper limit value HL, and the lower limit is set. The value LL is set to 0. The macro 24 is a “large macro” that is an aggregate of a plurality of macros, and will be described later with reference to FIG.

図3は、既設ロジックと更新後ロジックにおけるマクロの機能例を示す。本例では、マクロ23をマクロ25(後述する図参照)で置き換えた例を説明する。図3Aは、既設ロジックにおけるマクロAW(以下、「既設AW」)の機能例を示し、図3Bは、更新後ロジックにおけるマクロAW(以下、「更新後AW」)の機能例を示し、図3Cは、更新後ロジックにおけるマクロLIM(以下、「更新後LIM」)の機能例を示す。
なお、更新後ロジックにおけるマクロ25(後述する図参照)は、既設AWの機能を分割した更新後AWと更新後LIMによって、既設AWと等価な処理を行う。以下の説明で、HLは出力値Yの第1の閾値を表し、LLは出力値Yの第2の閾値を表す。そして、第1及び第2の閾値は、LL≦HLの関係を満たす。
FIG. 3 shows an example of macro functions in the existing logic and the updated logic. In this example, an example in which the macro 23 is replaced with a macro 25 (see FIG. 6 described later) will be described. 3A shows a function example of a macro AW (hereinafter “existing AW”) in the existing logic, and FIG. 3B shows a function example of the macro AW (hereinafter “updated AW”) in the updated logic. Indicates a function example of a macro LIM (hereinafter, “updated LIM”) in the updated logic.
The macro 25 (see FIG. 6 to be described later) in the post-update logic performs a process equivalent to the existing AW by using the post-update AW and the post-update LIM obtained by dividing the function of the existing AW. In the following description, HL represents the first threshold value of the output value Y, and LL represents the second threshold value of the output value Y. The first and second thresholds satisfy the relationship LL ≦ HL.

図3Aに示すように、既設ロジックにおけるマクロ23は、ゲインやバイアス付き加算器を有しており、3つの入力値X1〜X3が入力すると出力値Yを出力する。マクロ23は、既設AWが含まれる行に示した数式により、ゲインG1〜G3とバイアスBを定めており、出力値Yが求まる。この出力値Yは、LL≦Y≦HLの範囲内に収まるように値が制限される。   As shown in FIG. 3A, the macro 23 in the existing logic has an adder with gain and bias, and outputs an output value Y when three input values X1 to X3 are inputted. The macro 23 determines the gains G1 to G3 and the bias B by the mathematical formula shown in the line including the existing AW, and the output value Y is obtained. The output value Y is limited so that it falls within the range of LL ≦ Y ≦ HL.

図3Bに示すように、更新後ロジックにおけるマクロ25に含まれる更新後AWは、3つの入力値X1〜X3が入力すると出力値Yを出力する。マクロ25は、更新後AWが含まれる行に示した数式により、ゲインG1〜G3とバイアスBを定めており、出力値Yが求まる。この更新後AWが出力する出力値Yは値が制限されていない。   As shown in FIG. 3B, the updated AW included in the macro 25 in the updated logic outputs an output value Y when three input values X1 to X3 are input. The macro 25 determines the gains G1 to G3 and the bias B by the mathematical formula shown in the row including the updated AW, and the output value Y is obtained. The output value Y output from the updated AW is not limited.

図3Cに示すように、更新後ロジックにおけるマクロ25に含まれる更新後LIMは、入力値Xが入力すると出力値Yを出力する。この更新後LIMが出力する出力値Yは以下の3条件に示すように入力値Xに対して値が制限される。
(1)X>HLである場合、Y=HLとする。
(2)LL≦X≦HLである場合、Y=Xとする。
(3)X<LLである場合、Y=LLとする。
As shown in FIG. 3C, the updated LIM included in the macro 25 in the updated logic outputs the output value Y when the input value X is input. The output value Y output by the LIM after this update is limited with respect to the input value X as shown in the following three conditions.
(1) If X> HL, Y = HL.
(2) When LL ≦ X ≦ HL, Y = X.
(3) When X <LL, Y = LL.

図4は、既設ソースファイルD2の記載例を示す。
既設ソースファイルD2は、設定値管理装置20が管理する。単数又は複数の既設ソースファイルD2は、一時フォルダに配置されたコントローラ名フォルダにディレクトリ形式で格納される。既設ソースファイルD2には、マクロ名とマクロの入出力アドレス等のマクロ情報がマクロの処理手順と共に記載される。
FIG. 4 shows a description example of the existing source file D2.
The existing source file D2 is managed by the setting value management device 20. One or a plurality of existing source files D2 are stored in a directory format in the controller name folder arranged in the temporary folder. In the existing source file D2, macro information such as a macro name and a macro input / output address is described together with a macro processing procedure.

ここで、既設ソースファイルD2の先頭の1行目にはファイルのヘッダ情報が記載され、更新後におけるマクロのシート番号等が記載される。2行目には、マクロの統合又は分割時に値が設定される。そして、3行目以降には、図2に示すマクロの演算順を示すマクロ番号に合わせて、マクロ情報が記載される。   Here, the header information of the file is described in the first line at the top of the existing source file D2, and the updated macro sheet number and the like are described. In the second line, a value is set at the time of macro integration or division. In the third and subsequent lines, macro information is described in accordance with the macro numbers indicating the macro operation order shown in FIG.

図5は、既設ソースファイルD2に記載されているマクロの設定値を、設定値管理表15に書き込む機能の例を示す。
この書き込みは、既設ロジック設定値抽出部2が有する既設ロジック設定値抽出機能、又はコンバート部4が有するコンバート機能を用いて行われる。本例では、既設マクロにおける記号と同一の記号が、既設演算マクロ情報フィールド3と更新後演算マクロ情報フィールド5のマクロ内に存在する例を示す。
FIG. 5 shows an example of a function for writing the macro setting values described in the existing source file D2 into the setting value management table 15.
This writing is performed using an existing logic setting value extraction function of the existing logic setting value extraction unit 2 or a conversion function of the conversion unit 4. This example shows an example in which the same symbol as that in the existing macro exists in the macros of the existing calculation macro information field 3 and the updated calculation macro information field 5.

既設ソースファイルD2には、既設のマクロ名を格納する既設マクロ名フィールドと、マクロで用いられる設定値の上限値又は下限値等を格納する記号フィールドと、設定値を格納する設定値フィールドを含む。既設ソースファイルD2の既設マクロ名フィールドには、図2のマクロ24を表す“DG2”というマクロの名称が書き込まれる。また、記号フィールドには、最上段のレコードから順に、“T”,“HH”,“LL”,“HH”,“LL”という記号が書き込まれる。ここで、“T”は、変化する設定値の刻み幅の最小値を表す。記号フィールドに書き込まれた記号に対応する設定値(第1の正規化値)は、既設正規化設定値フィールド6の設定値フィールドに書き込まれる。   The existing source file D2 includes an existing macro name field for storing an existing macro name, a symbol field for storing an upper limit value or a lower limit value of a setting value used in the macro, and a setting value field for storing a setting value. . In the existing macro name field of the existing source file D2, the name of the macro “DG2” representing the macro 24 in FIG. 2 is written. In the symbol field, symbols “T”, “HH”, “LL”, “HH”, and “LL” are written in order from the top record. Here, “T” represents the minimum value of the step size of the changing set value. The setting value (first normalization value) corresponding to the symbol written in the symbol field is written in the setting value field of the existing normalization setting value field 6.

図1に示す既設演算マクロ情報フィールド3は、既設マクロ名フィールドと記号フィールドを含み、既設正規化設定値フィールド6は、設定値フィールドを含む。既設ソースファイルD2が既設ロジック設定値抽出部2又はコンバート部4を経ると、設定値フィールドにおける設定値(第1の正規化値)が並べ替えられる。本例では、予め並び順が決められている記号“HH”,“HH”,“LL”,“T”,“LL”に合わせて並び順が変えられた設定値(第1の正規化値)が、既設正規化設定値フィールド6に書き込まれる。   The existing calculation macro information field 3 shown in FIG. 1 includes an existing macro name field and a symbol field, and the existing normalization setting value field 6 includes a setting value field. When the existing source file D2 passes through the existing logic setting value extraction unit 2 or the conversion unit 4, the setting values (first normalized values) in the setting value field are rearranged. In this example, a set value (first normalization value) in which the arrangement order is changed in accordance with symbols “HH”, “HH”, “LL”, “T”, “LL” whose arrangement order is determined in advance. ) Is written in the existing normalization setting value field 6.

具体的には、設定値管理表15内の順番(行順)を優先して、既設演算マクロ情報フィールド3に設定値格納する。例えば、既設マクロ101の設定値107〜111から抽出した設定値を、既設正規化設定値フィールド6の設定値118〜122へ格納する場合を検討する。このとき、既設ロジック設定値抽出部2又はコンバート部4を通して、既設マクロ101の記号102〜106と既設マクロ112の記号113〜117で一致する記号を見つけた後、記号に合わせて設定値を格納する。例えば、既設マクロ101の記号102(“T”)と既設マクロ112の記号116(“T”)が一致するため、既設マクロ101の設定値107(“1.0000”)は既設マクロ112の設定値121(“1.0000”)へ格納される。   Specifically, the setting value is stored in the existing calculation macro information field 3 with priority given to the order (row order) in the setting value management table 15. For example, consider a case where the setting values extracted from the setting values 107 to 111 of the existing macro 101 are stored in the setting values 118 to 122 of the existing normalization setting value field 6. At this time, after matching symbols 102 to 106 of the existing macro 101 and symbols 113 to 117 of the existing macro 112 are found through the existing logic set value extraction unit 2 or the conversion unit 4, the set values are stored according to the symbols. To do. For example, since the symbol 102 (“T”) of the existing macro 101 matches the symbol 116 (“T”) of the existing macro 112, the setting value 107 (“1.0000”) of the existing macro 101 is the setting of the existing macro 112. It is stored in the value 121 (“1.000”).

また、既設マクロ101の記号103(“HH”)と記号105(“HH”)のように同一記号である場合、既設ソースファイルD2における順番(行順)を優先して、設定値管理表15の既設演算マクロ情報フィールド3に設定値を格納する。このため、既設マクロ101の記号103(“HH”)の設定値108(“100.0000”)は、既設マクロ112の記号113(“HH”)の設定値118(“100.0000”)へ格納される。一方、既設マクロ101の記号105(“HH”)の設定値110(“50.0000”)は、既設マクロ112の記号114(“HH”)の設定値119(“50.0000”)へ格納される。   Further, when the same symbol is used, such as the symbol 103 (“HH”) and the symbol 105 (“HH”) of the existing macro 101, the setting value management table 15 is given priority in the order (line order) in the existing source file D2. The setting value is stored in the existing calculation macro information field 3. Therefore, the setting value 108 (“100.0000”) of the symbol 103 (“HH”) of the existing macro 101 is changed to the setting value 118 (“100.0000”) of the symbol 113 (“HH”) of the existing macro 112. Stored. On the other hand, the setting value 110 (“50.0000”) of the symbol 105 (“HH”) of the existing macro 101 is stored in the setting value 119 (“50.0000”) of the symbol 114 (“HH”) of the existing macro 112. Is done.

図6は、工学値化更新後ロジック図D4の記載例を示す。
マクロ25に示すように、更新後マクロにおいては、図2に示したマクロ23に含まれるマクロAWが、マクロAW及びマクロLIMに分割される。ここでは、各パラメータも分割されて、マクロAW及びマクロLIMに振分けられていることが示される。図中に示したように、マクロ25の更新後AWには、ゲインG1〜G3にそれぞれ1.0,1.0,0.0が設定され、バイアスBに0.0[t/h(トン/時間)]が設定され、更新後LIMには、上限値HLに60.0[t/h]が設定され、下限値LLに0.0[t/h]が設定される。このように更新後AW、更新後LIMには、工学値に変換された設定値がマクロ25に反映される。
FIG. 6 shows a description example of the logic diagram D4 after engineering value update.
As shown in the macro 25, in the updated macro, the macro AW included in the macro 23 shown in FIG. 2 is divided into a macro AW and a macro LIM. Here, it is shown that each parameter is also divided and distributed to the macro AW and the macro LIM. As shown in the figure, in the updated AW of the macro 25, the gains G1 to G3 are set to 1.0, 1.0 and 0.0, respectively, and the bias B is set to 0.0 [t / h (tons). / Time)], 60.0 [t / h] is set to the upper limit value HL, and 0.0 [t / h] is set to the lower limit value LL in the updated LIM. Thus, the setting value converted into the engineering value is reflected in the macro 25 in the updated AW and the updated LIM.

図7は、設定値管理表15の詳細なデータの例を示す。
設定値管理表15は、設定値管理装置20が実行する表計算ソフトウェアを利用して、既設マクロの種類毎に予め作成した雛型シートに基づいて作成される。この表計算ソフトウェアでは、1ファイルに複数のシートを持つことができ、1つのシートが1種類の既設マクロと、これに対応する更新後マクロのマクロ情報を管理する。
FIG. 7 shows an example of detailed data of the set value management table 15.
The set value management table 15 is created based on a template sheet created in advance for each type of existing macro, using spreadsheet software executed by the set value management apparatus 20. In this spreadsheet software, one file can have a plurality of sheets, and one sheet manages one type of existing macro and macro information of an updated macro corresponding to this.

設定値管理ツール21は、図7に示すシート内の各フィールドに必要とされるパラメータを自動的に正規化値又は工学値に変換し、計算するための計算式としてシート内に設定されている。ここで既設マクロと更新後マクロで必要なパラメータの数が異なる場合には、設定値管理表15に任意の値を入力可能な空きセルを設定する。空きセルには、セルに入力される値としてゼロを表示しておく。ただし、データ自体が無いかを識別する為に、データが入力されていない空きセルにハイフン“−”を表示してもよい。   The set value management tool 21 is set in the sheet as a calculation formula for automatically converting a parameter required for each field in the sheet shown in FIG. 7 into a normalized value or an engineering value. . Here, when the number of necessary parameters differs between the existing macro and the updated macro, an empty cell in which an arbitrary value can be input is set in the set value management table 15. In the empty cell, zero is displayed as the value input to the cell. However, a hyphen “-” may be displayed in an empty cell in which no data is input in order to identify whether there is no data itself.

更新後マクロで用いられる複数のマクロを組み合わせた大マクロを生成する場合、マクロを一意に認識するために振られる更新後マクロを表すマクロの認識ナンバーには、大マクロの認識ナンバーを設定する。ここで、大マクロ属性における”大マクロ名”に割り当てたマクロ名を設定する。   When a large macro is generated by combining a plurality of macros used in the updated macro, the large macro recognition number is set as the macro recognition number representing the updated macro assigned to uniquely recognize the macro. Here, the macro name assigned to the “large macro name” in the large macro attribute is set.

なお、複数行で構成されるセルは、複数のセルを結合して1つのセルにするセル結合状態で作成されている。このようにセルを作成したのは、1つのマクロに割り当てられる行数を、「NO.」欄の占める行数で自動的に判断する必要があるからである。また、セル結合状態では、先頭行のセルに値が格納される為、セルから値を読み出したり、セルに値を書き込んだりする処理が容易である。また、小数点以下の桁数については、セルの表示形式が優先されるため、雛形シートに各セルの属性(表示形式)が正確に定義されていることが求められる。   Note that a cell composed of a plurality of rows is created in a cell combination state in which a plurality of cells are combined into one cell. The reason for creating a cell in this way is that it is necessary to automatically determine the number of rows allocated to one macro based on the number of rows occupied by the “NO.” Column. In the cell combination state, since the value is stored in the cell in the first row, it is easy to read the value from the cell or write the value to the cell. For the number of digits after the decimal point, since the cell display format has priority, it is required that the attribute (display format) of each cell is accurately defined in the template sheet.

設定値管理表15には、図1で上述したように複数種類の列がさらに細分化されて表される。ここで、雛形シートには既設ロジックと更新後ロジックのマクロ名が設定される。そして、既設ロジック設定値抽出部2は、既設ソースファイルD2から抽出した設定値を既設演算マクロ情報フィールド3におけるループシート番号フィールドと、ブロック番号フィールドに書き込む。   In the setting value management table 15, a plurality of types of columns are further subdivided as described above with reference to FIG. Here, the macro names of the existing logic and the updated logic are set in the template sheet. Then, the existing logic setting value extraction unit 2 writes the setting values extracted from the existing source file D2 in the loop sheet number field and the block number field in the existing calculation macro information field 3.

また、コンバート機能を用いる場合にコンバート部4は、更新後演算マクロ情報フィールド5のロジックシート番号フィールドと認識番号フィールドに更新後のマクロ情報を自動的に書き込む。ただし、コンバート機能を用いない場合には、作業者がマクロ情報を手動で入力する。また、既設工学値化設定値フィールド8と更新後最終設定値フィールド10には、それぞれ正規化工学値変換部7と既設更新後設定値変換部9を用いて自動入力される。そして、ロジック図現在値フィールド13には、工学値化更新後ロジック図D4から抽出された現在値が入力される。   When the conversion function is used, the conversion unit 4 automatically writes the updated macro information in the logic sheet number field and the recognition number field of the updated calculation macro information field 5. However, when the conversion function is not used, the operator manually inputs macro information. Further, the existing engineering value set value field 8 and the updated final set value field 10 are automatically input using the normalized engineering value conversion unit 7 and the existing updated set value conversion unit 9, respectively. In the logic diagram current value field 13, the current value extracted from the engineering value updated logic diagram D4 is input.

図8は、照合結果リストD5の記載例を示す。
照合結果リストD5には、更新後最終設定値フィールド10及びロジック図現在値フィールド13から読み出されたそれぞれのマクロ毎に相違点が、設定値管理表15に記載されたレコード順に記載される。そして、相違点が存在した場合には、何カ所の相違点が存在したかが記載され、全て一致した場合には、相違点がなかったことが記載される。
FIG. 8 shows a description example of the matching result list D5.
In the collation result list D5, differences for each macro read from the updated final set value field 10 and the logic diagram current value field 13 are described in the order of records described in the set value management table 15. When there is a difference, it is described how many different points exist, and when all the points match, it is described that there is no difference.

以上説明した本実施の形態に係る設定値管理装置によれば、既設の処理ロジックが記載される既設ロジック図D1から生成された既設ソースファイルD2より抽出した設定値を設定値管理表15に書き込む。そして、設定値管理表15上で設定値変換を行った後、置き換えた処理ロジックに合わせて設定値を変換し、この変換した設定値を設定値管理表15が自動的に管理する。このため、設定値管理表15から正規化更新後ロジック図D3や工学値化更新後ロジック図D4を自動的に生成することができる。このように、設定値管理表15の作成からメンテナンスに至るまでの作業は自動的に行われるため、既設ロジックから更新後ロジックに処理ロジックを置き換える際に、設定値の確認に要する時間を低減すると共に、処理ロジックを置き換えた後に生成したロジック図の品質の向上を支援することができる。   According to the setting value management apparatus according to the present embodiment described above, the setting value extracted from the existing source file D2 generated from the existing logic diagram D1 in which the existing processing logic is described is written in the setting value management table 15. . Then, after the set value conversion is performed on the set value management table 15, the set value is converted in accordance with the replaced processing logic, and the set value management table 15 automatically manages the converted set value. Therefore, the normalized and updated logic diagram D3 and the engineering value and updated logic diagram D4 can be automatically generated from the set value management table 15. As described above, since the work from the creation of the set value management table 15 to the maintenance is automatically performed, the time required for checking the set values is reduced when the processing logic is replaced from the existing logic to the updated logic. At the same time, it is possible to support the improvement of the quality of the logic diagram generated after the processing logic is replaced.

また、既設の処理ロジックにおいて正規化された設定値を工学値変換することで工学値を設定値管理表15に書込んだ後、この工学値を読み出して置き換える処理ロジックで用いられる設定値に変換して、この設定値を設定値管理表15に書き込む。このため、作業者は一目で置き換え前後における処理ロジックで用いられる設定値を確認し、適正な設定値であるかどうかを判断することができる。   Further, the engineering value is written in the setting value management table 15 by converting the setting value normalized in the existing processing logic into the engineering value, and then converted into the setting value used in the processing logic for reading and replacing the engineering value. Then, this set value is written in the set value management table 15. For this reason, the operator can check the setting values used in the processing logic before and after replacement at a glance and determine whether or not the setting values are appropriate.

また、コンバート部4は、既設ソースファイルD2に表される処理ロジックを変換して正規化更新後ロジック図D3を生成する。そして、反映部11は、正規化更新後ロジック図D3から読み出した工学値を、更新後最終設定値フィールド10から読み出した設定値に反映した工学値化更新後ロジック図D4を生成する。このため、従来から存在するコンバート部4を用いて生成したロジック図を工学値が反映されたロジック図を容易に生成することができる。   Further, the conversion unit 4 converts the processing logic represented in the existing source file D2 to generate a normalized and updated logic diagram D3. Then, the reflecting unit 11 generates the engineering value updated logic diagram D4 in which the engineering value read from the normalized updated logic diagram D3 is reflected in the setting value read from the updated final setting value field 10. For this reason, it is possible to easily generate a logic diagram in which an engineering value is reflected on a logic diagram generated using the conventional conversion unit 4.

また、作業者の手動入力22により既設ロジック図D1から工学値を更新した工学値化更新後ロジック図D4を作成する場合がある。この場合には、自動的に設定値管理表15に反映された設定値に対して、工学値化更新後ロジック図D4から抽出した現在値を照合することにより、工学値化更新後ロジック図D4に誤って設定された設定値に誤りがないかどうかを把握することができる。また、設定値管理表15内の更新後最終設定値フィールド10に書き込まれた更新後最終設定値と、ロジック図現在値フィールド13に書き込まれたロジック図現在値が一致しているか照合する照合部14により、照合された結果が照合結果リストD5として自動生成される。このため、手動入力22によって作成された工学値化更新後ロジック図D4に記載された設定値の良否を適切に判断することができる。   Further, there is a case where an engineering value-updated logic diagram D4 is created by updating the engineering value from the existing logic diagram D1 by the manual input 22 of the operator. In this case, the engineering value updated logic diagram D4 is automatically checked by collating the current value extracted from the engineering value updated logic diagram D4 against the setting value reflected in the setting value management table 15. It is possible to ascertain whether or not there is an error in the setting value set in error. Also, a collation unit that collates whether the updated final setting value written in the updated final setting value field 10 in the setting value management table 15 matches the logic diagram current value written in the logic diagram current value field 13. 14, the collated result is automatically generated as a collation result list D5. For this reason, the quality of the set value described in the logic value D4 after engineering value update created by the manual input 22 can be appropriately determined.

なお、上述した一実施の形態に係る設定値管理装置20は、発電所等のプラント以外にも送変電所、鉄道システム、スマートグリッドを用いた社会インフラ等に適用してもよい。この場合であっても既設の処理ロジックを別の処理ロジックに置き換える作業を正確に行うことができる。   Note that the set value management device 20 according to the above-described embodiment may be applied to a social infrastructure using a transmission / substation, a railway system, a smart grid, and the like in addition to a plant such as a power plant. Even in this case, it is possible to accurately replace the existing processing logic with another processing logic.

また、上述した実施の形態例における一連の処理は、ハードウェアにより実行することができるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが専用のハードウェアに組み込まれているコンピュータ、または、各種の機能を実行するためのプログラムをインストールしたコンピュータにより、実行可能である。例えば汎用のパーソナルコンピュータ等に所望のソフトウェアを構成するプログラムをインストールして実行させればよい。   The series of processes in the above-described embodiment can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, it can be executed by a computer in which a program constituting the software is incorporated in dedicated hardware or a computer in which programs for executing various functions are installed. is there. For example, a program constituting desired software may be installed and executed on a general-purpose personal computer or the like.

また、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給してもよい。また、そのシステムあるいは装置のコンピュータ(またはCPU等の制御装置)が記録媒体に格納されたプログラムコードを読み出し実行することによっても、機能が実現されることは言うまでもない。   Further, a recording medium on which a program code of software that realizes the functions of the above-described embodiments may be supplied to the system or apparatus. It goes without saying that the function is also realized by a computer (or a control device such as a CPU) of the system or apparatus reading and executing the program code stored in the recording medium.

この場合のプログラムコードを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a recording medium for supplying the program code in this case, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, etc. are used. Can do.

また、コンピュータが読み出したプログラムコードを実行することにより、上述した実施の形態の機能が実現される。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS等が実際の処理の一部又は全部を行う。その処理によって上述した実施の形態の機能が実現される場合も含まれる。   Further, the functions of the above-described embodiment are realized by executing the program code read by the computer. In addition, an OS or the like running on the computer performs part or all of the actual processing based on the instruction of the program code. The case where the functions of the above-described embodiment are realized by the processing is also included.

また、本発明は上述した実施の形態に限られるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限りその他種々の応用例、変形例を取り得ることは勿論である。   Further, the present invention is not limited to the above-described embodiments, and it is needless to say that other various application examples and modifications can be taken without departing from the gist of the present invention described in the claims.

1…ソースファイル生成部、2…既設ロジック設定値抽出部、3…既設演算マクロ情報フィールド、4…コンバート部、5…更新後演算マクロ情報フィールド、6…既設正規化設定値フィールド、7…正規化工学値変換部、8…既設工学値化設定値フィールド、9…既設更新後設定値変換部、10…更新後最終設定値フィールド、11…反映部、12…更新後ロジック現在値抽出部、13…ロジック図現在値フィールド、14…照合部、15…設定値管理表、20…設定値管理装置、21…設定値管理ツール、22…手動入力、D1…既設ロジック図、D2…既設ソースファイル、D3…正規化更新後ロジック図、D4…工学値化更新後ロジック図、D5…照合結果リスト
DESCRIPTION OF SYMBOLS 1 ... Source file generation part, 2 ... Existing logic setting value extraction part, 3 ... Existing calculation macro information field, 4 ... Conversion part, 5 ... Update calculation macro information field, 6 ... Existing normalization setting value field, 7 ... Regular Chemical engineering value conversion unit, 8 ... Existing engineering value conversion setting value field, 9 ... Existing setting value conversion unit after update, 10 ... Final setting value field after update, 11 ... Reflection unit, 12 ... Logic current value extraction unit after update, DESCRIPTION OF SYMBOLS 13 ... Logic diagram present value field, 14 ... Collation part, 15 ... Setting value management table, 20 ... Setting value management apparatus, 21 ... Setting value management tool, 22 ... Manual input, D1 ... Existing logic diagram, D2 ... Existing source file , D3 ... Logic diagram after normalization update, D4 ... Logic diagram after engineering value update, D5 ... Verification result list

Claims (8)

既設の第1の処理ロジックが表される第1のロジック図から生成され、前記第1の処理ロジックの処理順が示されるソースファイルより、前記第1の処理ロジックで用いられる第1の設定値を抽出して、前記第1の設定値を管理する設定値管理表に抽出した前記第1の設定値を書き込む抽出部と、
前記設定値管理表から読み出した前記第1の設定値を、前記第1の処理ロジックから置き換えられる第2の処理ロジックが用いる第2の設定値に変換して、前記第2の設定値を前記設定値管理表に書き込む設定値変換部と、を備える
設定値管理装置。
The first set value used in the first processing logic from the source file generated from the first logic diagram representing the existing first processing logic and indicating the processing order of the first processing logic And an extraction unit for writing the first setting value extracted in the setting value management table for managing the first setting value;
The first setting value read from the setting value management table is converted into a second setting value used by a second processing logic that is replaced from the first processing logic, and the second setting value is converted into the second setting value. A setting value management device comprising: a setting value conversion unit that writes to the setting value management table.
さらに、前記ソースファイルに表される前記第1の処理ロジックで用いられる前記第1の設定値が、所定の測定範囲内で測定される工学値を前記所定の範囲に均等に割り振られる正規化された第1の正規化値である場合に、前記第1の正規化値を前記第2の処理ロジックで用いられる第2の正規化値に変換し、前記第2の正規化値を前記第2の処理ロジックに反映した第2のロジック図を生成すると共に、前記第1及び第2の処理ロジックに関する情報並びに前記第1の正規化値を前記設定値管理表に書き込むコンバート部を備える
請求項1記載の設定値管理装置。
Further, the first set value used in the first processing logic represented in the source file is normalized such that engineering values measured within a predetermined measurement range are evenly allocated to the predetermined range. The first normalized value is converted into a second normalized value used in the second processing logic, and the second normalized value is converted into the second normalized value. A conversion unit is provided that generates a second logic diagram reflected in the processing logic and writes information related to the first and second processing logic and the first normalized value to the setting value management table. The set value management device described.
前記設定値変換部は、
前記設定値管理表から読み出した前記第1の正規化値を工学値に変換した第1の工学値を前記設定値管理表に書き込む正規化工学値変換部と、
前記設定値管理表から読み出した前記第1及び第2の処理ロジックに関する情報並びに前記第1の工学値に基づいて、前記第1の工学値を前記第2の処理ロジックで用いられる第2の工学値に変換して、前記第2の工学値を前記設定値管理表に書き込む更新後設定値変換部を備える
請求項2記載の設定値管理装置。
The set value conversion unit
A normalized engineering value conversion unit that writes a first engineering value obtained by converting the first normalized value read from the setting value management table into an engineering value into the setting value management table;
Based on the information on the first and second processing logics read from the set value management table and the first engineering value, the second engineering logic uses the first engineering value in the second processing logic. The set value management apparatus according to claim 2, further comprising an updated set value conversion unit that converts the value into a value and writes the second engineering value to the set value management table.
さらに、前記コンバート部によって生成された前記第2のロジック図に表される第2の処理ロジックに、前記設定値管理表から読み出した前記第2の工学値を反映した第3のロジック図を生成する反映部を備える
請求項3記載の設定値管理装置。
Further, a third logic diagram reflecting the second engineering value read from the setting value management table is generated in the second processing logic represented by the second logic diagram generated by the conversion unit. The set value management apparatus according to claim 3, further comprising:
さらに、前記反映部によって生成され、又は前記コンバート部を用いない場合に手動入力によって生成された前記第3のロジック図より抽出した前記第2の工学値を前記設定値管理表に書き込む工学値抽出部と、
前記工学値抽出部が抽出した前記第2の工学値、及び更新後設定値変換部によって変換された前記第2の工学値を照合し、照合結果を出力する照合部を備え、
前記抽出部は、前記コンバート部を用いない場合に、前記ソースファイルより抽出した前記第1の処理ロジックに関する情報及び前記第1の正規化値を前記設定値管理表に書き込み、手動入力によって前記第2の処理ロジックに関する情報が前記設定値管理表に書き込まれる
請求項4記載の設定値管理装置。
Further, engineering value extraction is performed by writing the second engineering value extracted from the third logic diagram generated by the reflection unit or generated by manual input when the conversion unit is not used in the set value management table. And
The second engineering value extracted by the engineering value extraction unit and the second engineering value converted by the updated set value conversion unit are collated, and a matching unit that outputs a matching result is provided.
When the conversion unit is not used, the extraction unit writes the information about the first processing logic extracted from the source file and the first normalized value in the setting value management table, and manually inputs the first processing value. The setting value management apparatus according to claim 4, wherein information relating to the processing logic of 2 is written in the setting value management table.
さらに、前記第1のロジック図から前記ソースファイルを生成し、前記ソースファイルを前記抽出部に供給するソースファイル生成部を備える
請求項5記載の設定値管理装置。
The setting value management apparatus according to claim 5, further comprising a source file generation unit that generates the source file from the first logic diagram and supplies the source file to the extraction unit.
既設の第1の処理ロジックが表される第1のロジック図から生成され、前記第1の処理ロジックの処理順が示されるソースファイルより、前記第1の処理ロジックで用いられる第1の設定値を抽出して、前記第1の設定値を管理する設定値管理表に抽出した前記第1の設定値を書き込むステップと、
前記設定値管理表から読み出した前記第1の設定値を、前記第1の処理ロジックから置き換えられる第2の処理ロジックが用いる第2の設定値に変換して、前記第2の設定値を前記設定値管理表に書き込むステップと、を含む
設定値管理方法。
The first set value used in the first processing logic from the source file generated from the first logic diagram representing the existing first processing logic and indicating the processing order of the first processing logic And writing the extracted first setting value in the setting value management table for managing the first setting value;
The first setting value read from the setting value management table is converted into a second setting value used by a second processing logic that is replaced from the first processing logic, and the second setting value is converted into the second setting value. A setting value management method comprising: writing to the setting value management table.
既設の第1の処理ロジックが表される第1のロジック図から生成され、前記第1の処理ロジックの処理順が示されるソースファイルより、前記第1の処理ロジックで用いられる第1の設定値を抽出して、前記第1の設定値を管理する設定値管理表に抽出した前記第1の設定値を書き込む手順、
前記設定値管理表から読み出した前記第1の設定値を、前記第1の処理ロジックから置き換えられる第2の処理ロジックが用いる第2の設定値に変換して、前記第2の設定値を前記設定値管理表に書き込む手順、を
コンピュータに実行させるプログラム。
The first set value used in the first processing logic from the source file generated from the first logic diagram representing the existing first processing logic and indicating the processing order of the first processing logic And writing the extracted first setting value to the setting value management table for managing the first setting value;
The first setting value read from the setting value management table is converted into a second setting value used by a second processing logic that is replaced from the first processing logic, and the second setting value is converted into the second setting value. A program that causes a computer to execute the procedure of writing to the setting value management table.
JP2011133573A 2011-06-15 2011-06-15 Set value management apparatus, set value management method and program Active JP5649004B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011133573A JP5649004B2 (en) 2011-06-15 2011-06-15 Set value management apparatus, set value management method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011133573A JP5649004B2 (en) 2011-06-15 2011-06-15 Set value management apparatus, set value management method and program

Publications (2)

Publication Number Publication Date
JP2013003795A JP2013003795A (en) 2013-01-07
JP5649004B2 true JP5649004B2 (en) 2015-01-07

Family

ID=47672306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011133573A Active JP5649004B2 (en) 2011-06-15 2011-06-15 Set value management apparatus, set value management method and program

Country Status (1)

Country Link
JP (1) JP5649004B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023089722A1 (en) * 2021-11-18 2023-05-25 三菱電機株式会社 Control logic creation assistance device and control logic creation assistance method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01154204A (en) * 1987-12-11 1989-06-16 Hitachi Ltd Plant monitor method
US5243538B1 (en) * 1989-08-09 1995-11-07 Hitachi Ltd Comparison and verification system for logic circuits and method thereof
JPH1097552A (en) * 1996-09-19 1998-04-14 Toshiba Corp Card data conversion device
JP2001092504A (en) * 1999-09-20 2001-04-06 Mitsubishi Heavy Ind Ltd Control logic data generation device and control logic verification device
JP2002108652A (en) * 2000-09-29 2002-04-12 Denso Corp Detector of program correlation
JP2003058207A (en) * 2001-08-20 2003-02-28 Ebara Corp Sharing and managing system for data for dcs, control method therefor and data conversion method among various kinds of data for plant control using dcs
JP4032874B2 (en) * 2002-08-22 2008-01-16 株式会社日立製作所 Program controller for plant controller
JP2010092173A (en) * 2008-10-06 2010-04-22 Toshiba Mitsubishi-Electric Industrial System Corp Process diagnostic method and system thereof
JP2009009611A (en) * 2008-10-07 2009-01-15 Toshiba Corp Control program generator
JP4831375B2 (en) * 2009-06-26 2011-12-07 日本電気株式会社 Verification device, verification method, and program

Also Published As

Publication number Publication date
JP2013003795A (en) 2013-01-07

Similar Documents

Publication Publication Date Title
JP6540787B1 (en) Device, method, and program
US9152415B2 (en) Abstracting benefit rules from computer code
CN108073145B (en) Operation support device and recording medium
EP3692421B1 (en) Apparatus, method and program for dynamic model generation
CN113407723A (en) Multi-source heterogeneous power load data fusion method, device, equipment and storage medium
JP5649004B2 (en) Set value management apparatus, set value management method and program
JP6583402B2 (en) Apparatus, simulation system, method, and program
JP2016009344A (en) Test case generation program, test case generation method, and test case generation device
CN105408827A (en) Programmable controller system, programmable controller, program display device, and program display method
US11467560B2 (en) Engineering support system and engineering support method
US10890902B2 (en) Power plant analysis device, power plant analysis method, and program
CN103034917A (en) Device and method for designing material tracking system
JP6310865B2 (en) Source code evaluation system and method
JP6612800B2 (en) Design support system and design support method
CN116166629A (en) File format conversion method, device, equipment and readable storage medium
JP4683284B2 (en) PLANT PLANNING SYSTEM AND PLANNING METHOD
US20090327967A1 (en) Engineering tool
CN103177064A (en) Method for admitting appointed content of electronic document automatically
JP6133763B2 (en) Production information management device, production information management method and program
RU2715524C1 (en) Method for automated generation of electronic information model of power plant and device for its implementation
US20180189365A1 (en) Combining manual and automated test results in an industrial facility
US20220326674A1 (en) Arithmetic operation device, plant, arithmetic operation method and program
JP2009266141A (en) Data processor and data processing method
JP4634958B2 (en) Plant data processing apparatus and computer program for its realization
JP7159019B2 (en) DATA GENERATION DEVICE, DATA GENERATION METHOD, DATA GENERATION PROGRAM, AND RECORDING MEDIUM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130711

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140326

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140415

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140610

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: 20141014

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141104

R150 Certificate of patent or registration of utility model

Ref document number: 5649004

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150