[go: up one dir, main page]

JP2000047860A - Program design equipment - Google Patents

Program design equipment

Info

Publication number
JP2000047860A
JP2000047860A JP11129155A JP12915599A JP2000047860A JP 2000047860 A JP2000047860 A JP 2000047860A JP 11129155 A JP11129155 A JP 11129155A JP 12915599 A JP12915599 A JP 12915599A JP 2000047860 A JP2000047860 A JP 2000047860A
Authority
JP
Japan
Prior art keywords
program
plant
screen
design
instruction
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
JP11129155A
Other languages
Japanese (ja)
Inventor
Tetsuo Yamazaki
哲男 山崎
Yuji Takahashi
裕司 高橋
Hiroo Kikuchihara
博夫 菊地原
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP11129155A priority Critical patent/JP2000047860A/en
Publication of JP2000047860A publication Critical patent/JP2000047860A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)
  • Programmable Controllers (AREA)
  • Stored Programmes (AREA)

Abstract

(57)【要約】 【課題】 プラント制御用コントローラのプログラム設
計において、設計者は頭の中または紙上で制御対象のプ
ラントの状況を把握して設計作業を進行する必要があ
り、プラント規模の拡大に伴い、設計ミスが増大すると
いう課題があった。 【解決手段】 プラント制御用コントローラの制御プロ
グラム設計装置において、プラントを構成する機器等に
対する操作を可能にしてその状態出力を表示可能とする
プラント構成図画面11と、機器および命令モデルデー
タベース15と、その時点のプラントの状態と機器等に
対する操作情報とからモデルデータベース情報に基づい
てプラントの新たな状態を演算し表示させるシミュレー
ションエンジン13とを備える。
(57) [Summary] [PROBLEMS] To design a program for a controller for a plant control, it is necessary for a designer to grasp the status of the plant to be controlled in his / her head or on paper and to proceed with the design work. Accordingly, there is a problem that design errors increase. SOLUTION: In a control program design device of a plant control controller, a plant configuration diagram screen 11 for enabling operation of devices constituting a plant and displaying a status output thereof, a device and instruction model database 15, The simulation engine 13 calculates and displays a new state of the plant based on the model database information based on the state of the plant at that time and the operation information on the devices and the like.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、プラント等を制
御するコントローラのプログラム設計を行なうためのプ
ログラム設計装置に係り、特に設計者のプログラム設計
作業を支援するとともに設計結果からプログラムを自動
作成するプログラム設計装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program designing apparatus for designing a program for a controller for controlling a plant or the like, and more particularly to a program for assisting a designer in designing a program and automatically creating a program from a design result. Related to design equipment.

【0002】[0002]

【従来の技術】プラント等を制御するコントローラは、
これを作動させるために制御用プログラムを必要とす
る。従来、設計者は、制御対象の動作、その制御条件お
よび各動作のタイミングなど種々のプログラム設計対象
事項全体を把握した後に、手作業でプログラムを設計す
る作業を実施するのが通例であった。この際、ある動作
と次の動作との間の関連を図式表現して、これを基にコ
ントローラの処理内容を直接記述する言語(例えば、ラ
ダー、テキスト型言語等)を用いてプログラムを作成し
ていた。
2. Description of the Related Art A controller for controlling a plant or the like includes:
A control program is required to operate this. Heretofore, it has been customary for a designer to manually design a program after grasping various program design items such as the operation of a control target, its control conditions, and the timing of each operation. At this time, the relation between a certain operation and the next operation is represented graphically, and based on this, a program is created using a language (for example, ladder, text type language, etc.) that directly describes the processing contents of the controller. I was

【0003】上記のようなプログラムの作成を支援して
その自動化を図るプログラム自動作成装置としては、例
えば特開昭63−106004号公報に記載の「プログ
ラマブルコントローラのプログラム自動作成装置」が挙
げられる。このプログラム自動作成装置においては、入
力された運転仕様記述事項を解析して制御対象の動作
部、制御条件および動作命令を識別する処理等を行い、
識別結果から特定される処理の流れを既存のプログラム
言語に自動的に変換する。
[0003] As an automatic program creating apparatus for assisting the creation of the above-mentioned programs to achieve the automation, there is, for example, an "automatic program creating apparatus for a programmable controller" described in JP-A-63-106004. In this automatic program creation device, the operation specifications to be controlled are analyzed by analyzing the input operation specification description items, and a process for identifying a control target operation unit, a control condition and an operation command is performed.
The processing flow specified from the identification result is automatically converted into an existing programming language.

【0004】[0004]

【発明が解決しようとする課題】従来のプログラム自動
作成装置は以上のように構成されているので、設計者が
設計作業を完了させて作成した運転仕様が入力として与
えられるものであって、プログラム設計過程における設
計者の創造的な思考作業を支援するものではなかった。
したがって、依然として、設計者がコントローラ制御用
プログラムを設計する作業自体は手作業のまま残されて
いた。設計者は頭の中、又は、紙上で制御対象のプラン
トの状況をシミュレートし、機器の操作とそれにより生
じる事象を逐次的に把握してプログラム設計を進行する
必要があった。それゆえ、上述のプログラム設計手法を
採用する限りは、制御対象のプラント規模の拡大化およ
び制御処理の複雑化に伴って、設計者の頭脳で記憶、整
理等すべき情報量が膨大になり、設計作業の効率の低
下、困難さの増大、ひいては設計ミスに伴う製品品質の
低下を招くという課題があった。
Since the conventional automatic program creating apparatus is configured as described above, the operating specification created by the designer after completing the design work is given as an input. It did not support the designer's creative thinking during the design process.
Therefore, the work of designing the controller control program itself by the designer has been left as a manual work. The designer had to simulate the situation of the plant to be controlled in his head or on paper, and proceed with the program design by sequentially grasping the operation of the equipment and the events caused thereby. Therefore, as long as the above-mentioned program design method is adopted, the amount of information to be stored and organized by the brain of the designer becomes enormous with the expansion of the plant to be controlled and the complexity of the control processing, There has been a problem that the efficiency of the design work is reduced, the difficulty is increased, and the product quality is reduced due to a design error.

【0005】また、設計結果をプログラム自動作成装置
へ入力できる運転仕様記述に変換する作業も、設計結果
をプログラム言語へ変換する作業に準じて、手作業とし
て実施されており、ソフトウエア開発効率が悪いという
課題があった。
[0005] In addition, the operation of converting the design result into an operation specification description that can be input to the automatic program creation device is performed manually in accordance with the operation of converting the design result into a program language. There was a problem that was bad.

【0006】この発明は上記のような課題を解決するた
めになされたもので、プラント等を制御するコントロー
ラのプログラム設計過程における設計者の思考作業を支
援するプログラム設計装置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a program designing apparatus for supporting a designer's thinking work in a program designing process of a controller for controlling a plant or the like. .

【0007】また、この発明は、プラント等を制御する
コントローラのプログラムについての設計結果をプログ
ラム言語に自動的に変換して、プログラム開発効率を向
上させるプログラム設計装置を得ることを目的とする。
Another object of the present invention is to provide a program design apparatus which automatically converts a design result of a program of a controller for controlling a plant or the like into a program language to improve program development efficiency.

【0008】[0008]

【課題を解決するための手段】この発明に係るプログラ
ム設計装置は、設計対象のプラントを構成する機器に対
する操作およびプラント制御に関連する命令に対する操
作を画面上で実施可能とするとともに、これら操作に対
応する機器および命令の状態出力を表示可能とするプラ
ント構成図画面と、プラントを構成する機器および該プ
ラント制御に関連する命令の仕様を記述した機器および
命令モデルデータベースと、その時点のプラントの状態
と機器または命令に対する操作情報とから、前記機器お
よび命令モデルデータベースの情報に基づいてプラント
の新たな状態を演算して、機器および命令の状態出力を
更新して、前記プラント構成図画面上に新たなプラント
状態を表示させるシミュレーション手段と、前記プラン
ト構成図画面、前記機器および命令モデルデータベー
ス、および前記シミュレーション手段を連携させる制御
を行なう設計装置制御部とを備えるようにしたものであ
る。
SUMMARY OF THE INVENTION A program design apparatus according to the present invention enables operations on equipment constituting a plant to be designed and operations on commands related to plant control to be performed on a screen. A plant configuration diagram screen capable of displaying the status output of corresponding devices and instructions, a device and an instruction model database describing the specifications of the devices constituting the plant and the instructions related to the plant control, and the state of the plant at that time And the operation information for the equipment or the command, calculate a new state of the plant based on the information of the equipment and the instruction model database, update the state output of the equipment and the instruction, and newly display on the plant configuration diagram screen. Simulation means for displaying a simple plant state, the plant configuration diagram screen, Equipment and instruction model database, and is obtained by so and a design device controller that performs control to link the simulation means.

【0009】この発明に係るプログラム設計装置は、プ
ラント構成図画面がプラントを構成する機器を表現する
機器アイコンと、プラント制御に関連する命令を表現す
る命令アイコンとを備え、前記機器アイコンおよび前記
命令アイコンが機器または命令に対する動作を指示する
ための操作端子と、機器または命令に対する状態出力を
表示し、かつ確認を指示するための表示端子とを備える
ようにしたものである。
[0009] A program design apparatus according to the present invention comprises a device icon on a plant configuration diagram screen representing a device constituting a plant, and a command icon representing a command related to plant control. The icon has an operation terminal for instructing an operation for a device or an instruction, and a display terminal for displaying a status output for the device or the instruction and instructing a confirmation.

【0010】この発明に係るプログラム設計装置は、プ
ラント構成図画面上で実施された設計操作に対応するプ
ラント制御のための処理手順が図式的に表示されるシー
ケンスプログラム画面を備えるようにしたものである。
[0010] A program design apparatus according to the present invention is provided with a sequence program screen on which a processing procedure for plant control corresponding to a design operation performed on a plant configuration diagram screen is schematically displayed. is there.

【0011】この発明に係るプログラム設計装置は、シ
ーケンスプログラム画面上に作成された図式的な処理手
順から、コントローラで実行可能な形式の制御プログラ
ムへ変換するプログラム自動作成手段を備えるようにし
たものである。
[0011] A program designing apparatus according to the present invention is provided with automatic program creating means for converting a schematic processing procedure created on a sequence program screen into a control program executable in a controller. is there.

【0012】この発明に係るプログラム設計装置は、機
器アイコンまたは命令アイコンに付随する操作端子に対
して設計者が指示入力を実施することがシーケンスプロ
グラム画面上でステップとして表現され、機器アイコン
または命令アイコンに付随する表示端子に対して設計者
が指示入力を実施することがシーケンスプログラム画面
上でトランジションとして表現されるようにしたもので
ある。
[0012] In the program design apparatus according to the present invention, execution of instruction input by a designer to an operation terminal associated with a device icon or a command icon is expressed as a step on a sequence program screen. In this case, the instruction input by the designer to the display terminal associated with is displayed as a transition on the sequence program screen.

【0013】この発明に係るプログラム設計装置は、シ
ミュレーション手段が機器および命令モデルデータベー
スに基づいて、シーケンスプログラム画面に表示された
プラント制御のための処理手順を、プラント構成図画面
上またはシーケンスプログラム画面上でシミュレーショ
ン実行する手段を備えるようにしたものである。
[0013] In the program design apparatus according to the present invention, the simulation means executes the processing procedure for plant control displayed on the sequence program screen on the plant configuration screen or the sequence program screen based on the equipment and the instruction model database. Means for executing a simulation.

【0014】この発明に係るプログラム設計装置は、プ
ログラム中の条件部を設定するために、プラント構成図
画面内の表示端子に対して指示入力を実施することで得
られた条件的記述をリストアップするとともに、これら
の条件的記述間の論理的演算を定義するトランジション
条件定義画面を備えるようにしたものである。
The program design apparatus according to the present invention lists a conditional description obtained by inputting an instruction to a display terminal in a plant configuration screen to set a conditional part in the program. In addition, a transition condition definition screen for defining a logical operation between these conditional descriptions is provided.

【0015】この発明に係るプログラム設計装置は、条
件分岐、並列分岐等のプログラム構造の使用が必要とな
った場合に、設計者がプログラムの制御構造を指定する
手段を備えるようにしたものである。
The program designing apparatus according to the present invention is provided with means for designating a program control structure by a designer when the use of a program structure such as a conditional branch or a parallel branch is required. .

【0016】この発明に係るプログラム設計装置は、プ
ラント構成図画面上で機器アイコンまたは命令アイコン
を操作しても、制御プログラムが作成されるのを防止し
て、プラントの状態を強制的に変更する手段を備えるよ
うにしたものである。
The program designing apparatus according to the present invention prevents a control program from being created even when a device icon or a command icon is operated on a plant configuration diagram screen, and forcibly changes the state of the plant. Means.

【0017】この発明に係るプログラム設計装置は、実
際のプラントとプログラム設計装置とを接続して、作成
された制御プログラムに基づいて動作する実際のプラン
トの実働データがプラント構成図画面上に表示され、コ
ントローラで実行中の制御プログラムの進行状況がシー
ケンスプログラム画面上に表示されるようにしたもので
ある。
The program designing apparatus according to the present invention connects an actual plant and the program designing apparatus, and displays actual data of the actual plant operating based on the created control program on a plant configuration diagram screen. The progress of the control program being executed by the controller is displayed on the sequence program screen.

【0018】[0018]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1によるプ
ログラム設計装置の構成を示す概略図である。図1にお
いて、1はプログラム設計装置、11は制御対象のプラ
ントの機器およびセンサ等を配置してプラントの構造を
特定するプラント構成図画面、12はプラントを対象と
したプログラムの制御の流れを図式的に表現するシーケ
ンスプログラム画面、13はプラント構成図画面11上
での設計者の操作要求に基づいてプラントの次状態を演
算する等の機能を有するシミュレーションエンジン(シ
ミュレーション手段)、14はプログラム設計装置1内
の各構成要素の制御等を行なう設計装置制御部、15は
シミュレーションエンジン13で次状態を演算する際な
どに演算の基礎となる機器および命令に関する仕様情報
等が格納された機器および命令モデルデータベース、1
6はシーケンス設計における基本的な手続的処理を選択
可能に表記するシーケンス用設計制御画面、17はプロ
グラム設計において条件部の定義を行なうためのトラン
ジション条件定義画面、18は命令の機能をカスタマイ
ズするためのパラメータセットの設定および表示を行な
うためのタグパラメータ設定/表示画面、19はプラン
ト構成図画面11上に配置できるデバイスが選択可能に
表記されたデバイス選択画面、20はプラント構成図画
面11上に配置されたデバイスの仕様を定義するための
デバイススペック定義画面、21はプラント構成図画面
11上に構成されたプラントの構造を階層的に表現する
ためのプラント階層表示画面である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a schematic diagram showing a configuration of a program design device according to Embodiment 1 of the present invention. In FIG. 1, 1 is a program design apparatus, 11 is a plant configuration diagram screen for arranging equipment and sensors of a plant to be controlled and specifying the structure of the plant, and 12 is a schematic diagram showing a control flow of a program for the plant. A simulation program (simulation means) having a function of calculating the next state of the plant based on an operation request of a designer on the plant configuration diagram screen 11; and 14, a program design device. 1 is a design device control unit for controlling each component in the device 1. Reference numeral 15 denotes a device and an instruction model in which specification information and the like on a device and an instruction as a basis of the operation when the next state is calculated by the simulation engine 13 are stored. Database, 1
6 is a sequence design control screen for selectively displaying basic procedural processing in sequence design, 17 is a transition condition definition screen for defining a condition part in program design, and 18 is for customizing the function of an instruction. A tag parameter setting / display screen for setting and displaying a parameter set of the device, 19 is a device selection screen on which devices that can be arranged on the plant configuration screen 11 are selectable, and 20 is a plant configuration screen 11 A device specification definition screen 21 for defining the specification of the placed device is a plant hierarchy display screen 21 for hierarchically expressing the structure of the plant configured on the plant configuration diagram screen 11.

【0019】図2はこの発明の実施の形態1によるプロ
グラム設計装置を使用してプラントの計装制御設計を実
施する際の設計手順を示す図である。図3から図11
は、この発明の実施の形態1によるプログラム設計装置
を使用して、MN混合反応器システムの計装制御設計を
実施する際の各設計過程におけるプラント構成図画面1
1等の表示画面の表示内容を示す図である。なお、表示
事項は多数あるために、ここではその説明は行なわず、
動作の説明において適宜表示事項の内容について説明す
る。
FIG. 2 is a diagram showing a design procedure when implementing instrumentation control design of a plant using the program design apparatus according to the first embodiment of the present invention. 3 to 11
Is a plant configuration diagram screen 1 in each design process when implementing the instrumentation control design of the MN mixed reactor system using the program design apparatus according to the first embodiment of the present invention.
It is a figure which shows the display content of a 1st etc. display screen. Since there are many items to be displayed, they will not be described here.
In the description of the operation, the contents of the display items will be described as appropriate.

【0020】図12はプラント構成図画面11上に配置
された端子に対する指示入力からシーケンスプログラム
内のプログラム構成要素への変換規則を示す図である。
図13はシーケンス設計において、設計者がプログラム
構造が分岐を有するように制御する際の処理の流れを示
すフローチャートである。図14は機器および命令モデ
ルデータベースに記載された内容の一部を示す図であ
る。図において、AGおよびTICに付随する記載事項
はともに命令に関するモデル情報を示している。図15
はシーケンス設計における基本的な手続的処理を選択可
能に表記するシーケンス用設計制御画面16を示す図で
ある。
FIG. 12 is a diagram showing a conversion rule from an instruction input to a terminal arranged on the plant configuration diagram screen 11 to a program component in a sequence program.
FIG. 13 is a flowchart showing the flow of processing when the designer controls the program structure to have a branch in the sequence design. FIG. 14 is a diagram showing a part of the contents described in the device and instruction model database. In the figure, the description items accompanying the AG and the TIC both indicate model information related to the instruction. FIG.
FIG. 7 is a diagram showing a sequence design control screen 16 in which basic procedural processing in sequence design is displayed in a selectable manner.

【0021】次に動作について説明する。最初に、図2
を参照し、この発明の実施の形態1によるプログラム設
計装置を使用してプラントの計装制御設計を実施する際
の全体的な設計手順について説明する。まず、制御対象
プラントを構成する設備群を配置した機器構成図画面を
作成する(ステップST1)。次に、計装制御を実現す
るための機器であるセンサ、アクチュエータ等の配置お
よび仕様設定等の計装設計を実施する(ステップST
2)。次に、計装制御のフィードバックループ設計を実
施する(ステップST3)。ここで、フィードバックル
ープ設計とは、フィードバック制御を実施するための各
種調節計の配置およびその仕様設定等を行なうことをい
う。最後に、計装制御のシーケンス設計を実施する(ス
テップST4)。シーケンス設計とは、機器および命令
に対する動作指示および状態確認等の順序制御を実施す
るものである。以下では、計装制御設計を構成する各設
計手順に沿って、この発明の実施の形態1によるプログ
ラム設計装置を使用した設計作業について説明する。
Next, the operation will be described. First, FIG.
The overall design procedure when implementing the instrumentation control design of a plant using the program design apparatus according to the first embodiment of the present invention will be described with reference to FIG. First, an equipment configuration diagram screen on which equipment groups constituting a plant to be controlled are arranged is created (step ST1). Next, an instrumentation design such as arrangement of sensors and actuators, which are devices for realizing instrumentation control, and setting of specifications is performed (step ST).
2). Next, a feedback loop design for instrumentation control is performed (step ST3). Here, the feedback loop design means arranging various controllers for performing feedback control and setting specifications thereof. Finally, a sequence design for instrumentation control is performed (step ST4). The sequence design is to execute sequence control such as operation instruction for equipment and instructions and state confirmation. Hereinafter, a design operation using the program design apparatus according to the first embodiment of the present invention will be described along each design procedure constituting the instrumentation control design.

【0022】ここで、計装制御設計における各設計作業
を説明するために具体的な例題を設定して、例題に示さ
れた条件に適合する計装制御を実現するプラントを設計
するための設計手順を順次説明していく。例題の具体的
な仕様は、次のように定められる。「まず、2つの反応
物質MとNとをMN混合反応器に供給する。次に、MN
混合反応器内の内容物を加熱し、攪拌して、温度を下げ
た後に製品として混合反応器から取り出す。なお、加熱
工程においては、原料の反応を促進させるために混合反
応器に蒸気を流通させて加熱する。そして、設定時間だ
け攪拌した後には、混合反応器の温度を設定温度まで下
げる。また、混合反応器の温度は、蒸気流量調節計とカ
スケード接続された温度調節計で制御される。」
Here, a specific example is set to explain each design work in the instrumentation control design, and a design for designing a plant that implements the instrumentation control that meets the conditions shown in the example. The procedure will be described sequentially. The specific specifications of the example are defined as follows. "First, the two reactants M and N are supplied to the MN mixing reactor.
The contents in the mixing reactor are heated, stirred, and taken out of the mixing reactor as a product after the temperature is lowered. In the heating step, the mixture is heated by flowing steam through the mixing reactor to promote the reaction of the raw materials. Then, after stirring for a set time, the temperature of the mixing reactor is lowered to the set temperature. The temperature of the mixing reactor is controlled by a temperature controller cascaded with the steam flow controller. "

【0023】まず、MN混合反応器システムのプラント
機器構成図画面作成について説明する。図3に示される
ように、プラント構成図画面11において、設備する機
器を適切に配置する。具体的には、MN混合反応器3
0、MN混合反応器30内の回転翼を回転させるための
モータ31、原料Mタンク32、原料Nタンク33、原
料Mを原料Mタンク32からMN混合反応器30に送る
パイプ34、原料Nを原料Nタンク33からMN混合反
応器30に送るパイプ35、MN混合反応器30へ蒸気
を送るパイプ36およびMN混合反応器30から製品を
送り出すパイプ37がプラントを構成する設備機器群と
して配置される。さらに、例題の計装制御を実現するた
めのサブシステムとして、仕込みシステム38、熱処理
システム39および抜き出しシステム40が定義されて
いる。
First, the creation of a plant equipment configuration diagram screen of the MN mixed reactor system will be described. As shown in FIG. 3, on the plant configuration diagram screen 11, the equipment to be installed is appropriately arranged. Specifically, the MN mixing reactor 3
0, a motor 31 for rotating the impeller in the MN mixing reactor 30, a raw material M tank 32, a raw material N tank 33, a pipe 34 for feeding the raw material M from the raw material M tank 32 to the MN mixing reactor 30, and a raw material N A pipe 35 for sending the raw material N tank 33 to the MN mixing reactor 30, a pipe 36 for sending steam to the MN mixing reactor 30, and a pipe 37 for sending out the product from the MN mixing reactor 30 are arranged as a group of equipment constituting the plant. . Further, a charging system 38, a heat treatment system 39, and an extraction system 40 are defined as subsystems for implementing the example instrumentation control.

【0024】次に、MN混合反応器システムの計装制御
機器構成の設計を行って機器の概略的な仕様を決定す
る。図4は、プラント構成図画面11、デバイス選択画
面19、デバイススペック定義画面20、プラント階層
表示画面21から構成されている。デバイス選択画面1
9でValve(弁)のシンボル41を選択して熱処理
システム39の蒸気パイプ36上に配置する。前記の操
作によって、配置されたValve42が蒸気パイプ3
6上に表示されるとともに、プラント階層表示画面21
の熱処理システム中にValve(符号43)の文字が
表示される。さらに、当該Valveの概略仕様をスペ
ック定義ウィンドウ20によって設定する。前記の設定
によってプラント階層表示画面21の熱処理システム中
にSpec_sheetが当該Valveに付属するも
のとして表示される。以上の手順を繰り返して、MN混
合反応器システムの計装制御機器構成と機器仕様を完成
させる。
Next, the instrumentation and control equipment configuration of the MN mixed reactor system is designed to determine the general specifications of the equipment. FIG. 4 includes a plant configuration diagram screen 11, a device selection screen 19, a device specification definition screen 20, and a plant hierarchy display screen 21. Device selection screen 1
At 9, the Valve symbol 41 is selected and placed on the steam pipe 36 of the heat treatment system 39. By the above-described operation, the arranged Valve 42 becomes the steam pipe 3
6 and the plant hierarchy display screen 21
Is displayed in the heat treatment system of No. 43. Further, the general specification of the Valve is set by the specification definition window 20. By the above setting, Spec_sheet is displayed in the heat treatment system on the plant hierarchy display screen 21 as being attached to the Valve. The above procedure is repeated to complete the instrumentation control device configuration and device specifications of the MN mixed reactor system.

【0025】次に、フィードバックループの設計を行な
う。図5は、プラント構成図画面11、タグパラメータ
設定/表示画面18、プラント階層表示画面21から構
成されている。プラント構成図画面11上にフィードバ
ック制御用の命令を配置し、これら命令間のデータ送受
信の設定およびパラメータ設定を行なうことによりフィ
ードバックループの設計を行なう。このように機器に対
する命令自体をプラント構成図画面11上に配置して操
作対象とすることで、フィードバックループ設計とそれ
に続くシーケンス設計とを一体化することが可能とな
る。
Next, a feedback loop is designed. FIG. 5 includes a plant configuration diagram screen 11, a tag parameter setting / display screen 18, and a plant hierarchy display screen 21. Instructions for feedback control are arranged on the plant configuration diagram screen 11, and data transmission / reception between these instructions and parameters are set to design a feedback loop. In this way, by arranging the instruction for the device itself on the plant configuration diagram screen 11 and making it an operation target, it is possible to integrate the feedback loop design and the subsequent sequence design.

【0026】プラント構成図画面11上に命令(アイコ
ン)を配置する方法には2通りあり、その第1の方法で
は、プラント階層表示画面21において各機器に関連す
る命令がそれぞれリストアップされ、これらの命令群か
ら必要な命令が選択されてプラント構成図画面11上に
配置される。第2の方法では、予め命令をプログラム設
計装置1に登録しておき、該登録された命令のリスト
(図5では図示省略)を表示し、これらの命令群から必
要な命令が選択される。この実施の形態では、前者の方
法が採用されている。
There are two methods for arranging instructions (icons) on the plant configuration diagram screen 11. In the first method, instructions related to each device are listed on the plant hierarchy display screen 21. The required command is selected from the command group and is arranged on the plant configuration diagram screen 11. In the second method, instructions are registered in the program design apparatus 1 in advance, a list of the registered instructions (not shown in FIG. 5) is displayed, and necessary instructions are selected from these instruction groups. In this embodiment, the former method is adopted.

【0027】この実施の形態では、プラント階層表示画
面21上の熱処理システム内の温度センサTTに所属す
る命令TICを選択し、符号45で示されるようにプラ
ント構成図画面11上にTICを配置して、配置済みの
機器あるいは命令との接続を行なう。その後、命令TI
Cに対するタグパラメータをタグパラメータ設定/表示
装置18によって設定する。ここで、タグパラメータと
は、命令の機能をカスタマイズするためのパラメータセ
ットであり、例えば、PID制御におけるゲイン、時定
数、フィルタの係数等として与えられるパラメータの集
合として設定される。そして、以上の手順を繰り返すこ
とで、MN混合反応器システムのフィードバックループ
設計を完成させる。
In this embodiment, an instruction TIC belonging to the temperature sensor TT in the heat treatment system on the plant hierarchy display screen 21 is selected, and the TIC is arranged on the plant configuration diagram screen 11 as indicated by reference numeral 45. To connect to the already placed devices or instructions. Then, the instruction TI
The tag parameter for C is set by the tag parameter setting / display device 18. Here, the tag parameter is a parameter set for customizing the function of the command, and is set, for example, as a set of parameters given as a gain, a time constant, a filter coefficient, and the like in PID control. Then, the above procedure is repeated to complete the feedback loop design of the MN mixed reactor system.

【0028】次に、シーケンス設計を実施する。機器あ
るいは命令をプラント構成図画面11上で操作し、仮想
的にプラントの運転操作を行なうことで、シーケンス設
計を実行していく。前記のプラント構成図画面11上に
は、運転操作に対応して機器あるいは命令に設定されて
いる動作モデルに基づき実施されるシミュレーションの
結果が表示される。
Next, a sequence design is performed. By operating devices or commands on the plant configuration diagram screen 11 and virtually operating the plant, sequence design is executed. On the plant configuration diagram screen 11, a result of a simulation performed based on an operation model set in a device or an instruction corresponding to the operation is displayed.

【0029】図6から図8には、シーケンス設計作業が
段階別に表示されている。すなわち、これらの図では、
プラント構成図画面11および該画面で定義されている
プラントを制御するプログラムの処理の流れを図式的に
示すシーケンスプログラム画面12の表示の一例が段階
的に示されている。また、これらの図において、シーケ
ンス設計で使用するトランジション条件定義画面17、
タグパラメータ設定/表示画面18の表示の一例も必要
に応じて示す。
FIGS. 6 to 8 show the sequence design work for each stage. That is, in these figures,
An example of display of a plant configuration diagram screen 11 and a display of a sequence program screen 12 schematically showing a processing flow of a program for controlling a plant defined on the screen are shown in stages. In these figures, a transition condition definition screen 17 used in sequence design,
An example of the display of the tag parameter setting / display screen 18 is also shown as needed.

【0030】シーケンスプログラム画面12は、ステッ
プを示す太線の矩形およびトランジションを示す細線の
矩形およびそれらを結ぶアークおよび分岐および合流で
構成される。この実施の形態中の分岐および合流は、条
件分岐とそれに対応する合流のみが示されているが、他
に並列分岐とそれに対応する合流が一般に使用される。
並列分岐とは、分岐により生じた2つの処理の流れが並
列に実行される点で条件分岐と相違する。
The sequence program screen 12 is composed of a bold-line rectangle indicating a step, a thin-line rectangle indicating a transition, and arcs, branches and junctions connecting the rectangles. In this embodiment, only the conditional branch and the corresponding merge are shown in the branch and the merge, but the parallel branch and the corresponding merge are generally used.
A parallel branch differs from a conditional branch in that two processing flows generated by the branch are executed in parallel.

【0031】実施の形態の表現形式はSFC(Sequ
ential FunctionChart)の一般的
な表現形式とは一部異なるが、基本的な意味合いは同じ
である。すなわち、ステップは処理を、トランジション
は条件を表し、アークのつながりに沿って処理を進めて
いく。SFCのステップとトランジションには、それぞ
れ処理の記述と条件の記述が付随する。これらの記述の
文法はC言語に合わせてある。
The representation format of the embodiment is SFC (Sequ
Although it is partially different from the general expression form of the “entral FunctionChart”, the basic meaning is the same. That is, steps represent processing, transitions represent conditions, and the processing proceeds along the connection of arcs. A description of a process and a description of a condition are attached to each of the steps and transitions of the SFC. The grammar of these descriptions is adapted to the C language.

【0032】プラント構成図画面11上に配置されてい
る機器を表現するアイコン(以後、機器アイコンと称
す)および命令を表現するアイコン(以後、命令アイコ
ンと称す)は、プラントを構成する機器および命令をプ
ログラム設計装置1上で操作するために、操作端子およ
び/または表示端子を有するものとしてモデル化されて
いる。ただし、この実施の形態を説明するための図にお
いては、図面が煩雑になるのを避けるために、説明にお
いて参照しない際は前記の端子を図示していない場合が
ある。
An icon (hereinafter, referred to as a device icon) and a command (hereinafter, referred to as a command icon) representing a device and a command (hereinafter referred to as a command icon) arranged on the plant configuration diagram screen 11 are composed of a device and a command constituting the plant. Is modeled as having an operation terminal and / or a display terminal in order to operate on the program design apparatus 1. However, in the drawings for describing this embodiment, in order to avoid complicating the drawings, the above terminals may not be shown in some cases when not referred to in the description.

【0033】図6においては、Valve42、モータ
31といったアクチュエータ群、FT(流量センサ)5
1、TT(温度センサ)52、LT(レベルセンサ)5
3といったセンサ群、TIC(温度調節計)45、FI
C(流量調節計)54といった制御演算機能群、Tim
er_xxx(タイマ_xxx)55、Timer_y
yy(タイマ_yyy)56といったシーケンス進行を
補助する機器群が機器アイコンおよび命令アイコンとし
て配置されている。機器アイコンおよび命令アイコンの
他に、操作端子および表示端子を持たない、原料Mタン
ク32、原料Nタンク33、MN混合反応器30といっ
た設備群も配置してプラントの構成の理解を容易にする
ことを図っている。なお、機器アイコンおよび命令アイ
コンとしては、図6では使用してはいないが、ボタン
群、表示器群等も用意されている。
In FIG. 6, an actuator group such as Valve 42 and motor 31 and FT (flow rate sensor) 5
1, TT (temperature sensor) 52, LT (level sensor) 5
3, TIC (temperature controller) 45, FI
Control calculation function group such as C (flow controller) 54, Tim
er_xxx (timer_xxx) 55, Timer_y
A device group such as yy (timer_yyy) 56 that assists the sequence progress is arranged as a device icon and a command icon. In addition to the equipment icon and the instruction icon, a facility group having no operation terminal and display terminal, such as a raw material M tank 32, a raw material N tank 33, and a MN mixing reactor 30, is also arranged to facilitate understanding of the plant configuration. Is being planned. Although not used in FIG. 6 as the device icon and the instruction icon, a button group, a display group, and the like are also provided.

【0034】この実施の形態では、4端子構成の場合に
は、機器アイコンおよび命令アイコンの上側に操作端子
を配し、下側に表示端子を配したアイコンのデザインを
採用するとともに、2端子構成の場合には、機器アイコ
ンおよび命令アイコンの左側に操作端子を配し、右側に
表示端子を配したアイコンのデザインを採用する。機器
アイコンおよび命令アイコンの操作端子は機器および命
令が実施可能な動作に対応している。設計者が例えばマ
ウスでクリックすること等によりプラント構成図画面1
1上で操作端子に対して指示入力を実施することで、設
計者が機器および命令について当該操作端子に定義され
ている特定の動作を実施する指令をシミュレーションし
たことになる。図6のTIC45として表記されている
命令アイコンでは、該命令アイコンの左側に配置されて
いる「set」という表記が付された丸印が操作端子で
ある。
In this embodiment, in the case of a four-terminal configuration, an icon design in which an operation terminal is disposed above the device icon and the instruction icon and a display terminal is disposed below the icon is adopted, and a two-terminal configuration is adopted. In the case of, an operation terminal is arranged on the left side of the device icon and the instruction icon, and an icon design in which a display terminal is arranged on the right side is adopted. The operation terminals of the device icon and the instruction icon correspond to operations that can execute the device and the instruction. The plant configuration diagram screen 1 is displayed when the designer clicks with a mouse, for example.
By executing the instruction input to the operation terminal on 1, the designer has simulated the instruction to execute the specific operation defined for the operation terminal with respect to the device and the instruction. In the command icon described as the TIC 45 in FIG. 6, a circle marked with "set" disposed on the left side of the command icon is an operation terminal.

【0035】機器アイコンおよび命令アイコンの表示端
子は機器および命令の状態を示す出力(以下、状態出力
という)に対応しており、設計者がプラント構成図画面
11上で該表示端子に対して指示入力を実施すること
で、設計者が機器および命令の特定の状態出力を観測ま
たは確認したことになる。この表示端子の形態には2通
りあって、以下に説明する。第1の形態の例としては、
図6に示されるTIC45の命令アイコンの右側に配置
され「表示」という表記が付された四角が挙げられる。
この場合、「表示」と付された四角に対する指示入力が
実施されると、図7に示されるタグパラメータ設定/表
示装置18が表示されて、該ウィンドウ内において状態
出力がリストアップされる。そして、この状態出力のリ
ストに対して指示入力を実施することは、指示したリス
ト項目の状態を確認したことを意味する。第2の形態の
例としては、図6に示されるAG57で示される命令ア
イコンの下側に配置され「running」および「s
topped」という表記が付された2つの四角が挙げ
られる。この場合、「running」が白四角で「s
topped」が黒四角であり、AG57が「runn
ing」の状態ではなくて「stopped」の状態に
あることを示している。該表示端子に対して指示入力を
実施することは、それぞれ「running状態でない
こと」、「stopped状態であること」を確認した
ことを意味する。ここで、AGとは、モータの特定のハ
ードウエア構造に依存することなく、モータの動作およ
び動作により生じた状態を標準化するための命令アイコ
ンとして与えられているものである。例えば、モータに
対するデバイスドライバ等に相当するものと考えること
もできる。
The display terminals of the equipment icon and the instruction icon correspond to an output indicating the state of the equipment and the instruction (hereinafter, referred to as a state output), and the designer instructs the display terminal on the plant configuration diagram screen 11. By performing the input, the designer has observed or confirmed a particular status output of the device and the instruction. There are two types of display terminals, which will be described below. As an example of the first mode,
A square arranged on the right side of the command icon of the TIC 45 shown in FIG.
In this case, when an instruction is input to the square labeled “display”, the tag parameter setting / display device 18 shown in FIG. 7 is displayed, and the status output is listed in the window. Executing the instruction input to the status output list means that the status of the specified list item has been confirmed. As an example of the second mode, “running” and “s” are arranged below the instruction icon indicated by AG57 shown in FIG.
two squares with the notation “topped”. In this case, "running" is a white square and "s
“topped” is a black square, and AG57 is “runn”.
This is not the state of “ing” but the state of “stopped”. Executing the instruction input to the display terminal means that it has been confirmed that “it is not in the running state” and “it is in the stopped state”, respectively. Here, AG is given as an instruction icon for standardizing the operation of the motor and the state caused by the operation without depending on the specific hardware structure of the motor. For example, it can be considered to correspond to a device driver or the like for a motor.

【0036】シーケンス設計に関して、まず、この発明
の実施の形態によるプログラム設計装置1を用いてプラ
ントの単純なシーケンシャル動作を設計する場合を説明
する。図15に示すシーケンス用設計制御画面16で
「設計の開始」を指示すると、図6の「start」ス
テップST11が設計装置制御部14によって作成さ
れ、シーケンスプログラム画面12上に表示される。
Regarding sequence design, first, a case of designing a simple sequential operation of a plant using the program design apparatus 1 according to the embodiment of the present invention will be described. When “design start” is instructed on the sequence design control screen 16 shown in FIG. 15, a “start” step ST11 in FIG. 6 is created by the design device control unit 14 and displayed on the sequence program screen 12.

【0037】通常のシーケンス設計では、プラント構成
図画面11上で、機器アイコンあるいは命令アイコンの
表示端子に対して指示入力を実施して状態出力を観測す
る。そして、観測結果に対する判断に基づいて所望の機
器アイコンあるいは命令アイコンの操作端子に対して指
示入力を実施することで所望の機器あるいは命令に対し
て実施される動作を指令する。以上の手順を繰り返すこ
とによって、プラントの制御プログラムの設計が遂行さ
れ、設計結果から自動的にプログラムが作成される。
In a normal sequence design, an instruction is input to a display terminal of a device icon or a command icon on the plant configuration diagram screen 11, and a state output is observed. Then, based on the judgment on the observation result, an instruction is input to the operation terminal of the desired device icon or command icon, thereby instructing the operation to be performed for the desired device or command. By repeating the above procedure, a control program for the plant is designed, and the program is automatically created from the design results.

【0038】具体的には、MN混合反応器システムに対
する制御を実施するうえで、開始後に、「2つの反応物
質MとNとを供給する前に、予め設定した温度(xx1
とする)までMN混合反応器を予熱する」とする。その
ためには、「TICに対するタグパラメータにおける1
つのパラメータである設定値SVを予め設定した温度
(xx1)に設定する」操作を実施する必要がある。図
6のプラント構成図画面11上で、TIC45のset
操作端子に対する指示入力を実施するとタグパラメータ
設定/表示画面18が表示される。タグパラメータにお
けるSV項目に対して値「xx1」を入力することで、
「SV値をxx1に設定する」動作が実施される。上記
のような操作情報は、プラント構成図画面11から設計
装置制御部14へ入力される。設計装置制御部14は該
情報から図6のシーケンスプログラム画面12上に「s
et(TIC.SV:=xx1)」と記述されるステッ
プST13を作成して、直前のトランジションST12
とステップST13とをアークで接続する。なお、トラ
ンジションST12に記載されている条件記述「1」
は、常に条件が成立していることを意味する。SFCの
シンタックスルールでは、ステップとトランジションと
を交互に設定することとなっているので、このような
「1」記述のトランジションが作成されることになる。
Specifically, in order to control the MN mixed reactor system, after the start, "before supplying the two reactants M and N, a preset temperature (xx1
) Until the MN mixing reactor is preheated. " To do so, "1 in the tag parameter for the TIC
It is necessary to perform an operation of “setting a set value SV, which is one of the two parameters, to a preset temperature (xx1)”. On the plant configuration diagram screen 11 of FIG.
When an instruction is input to the operation terminal, a tag parameter setting / display screen 18 is displayed. By inputting the value “xx1” for the SV item in the tag parameter,
The operation of “setting the SV value to xx1” is performed. The operation information as described above is input to the design device control unit 14 from the plant configuration diagram screen 11. The design apparatus control unit 14 displays “s” on the sequence program screen 12 in FIG.
et (TIC.SV:=xx1) "is created, and the immediately preceding transition ST12 is performed.
And step ST13 are connected by an arc. Note that the condition description "1" described in the transition ST12
Means that the condition is always satisfied. In the syntax rules of the SFC, steps and transitions are set alternately, so that such a transition described in “1” is created.

【0039】図12に示されるように、操作端子に対す
る指示入力はシーケンスプログラムのステップに変換さ
れる。同時に、この操作情報はプラント構成図画面11
からシミュレーションエンジン13へ入力される。シミ
ュレーションエンジン13はこの操作情報およびプラン
トのその時点の状態から、図14に一例を示す機器およ
び命令についての仕様をリストアップして構成される機
器および命令モデルデータベース15の情報に基づいて
プラントの新たな状態を演算するとともに新たな情報を
プラント構成図画面11へ出力して、プラント構成図画
面11上の機器アイコンおよび命令アイコンの状態を更
新させる。既に述べたように、表示端子の形態として2
通りあるので、それに対応して機器アイコンおよび命令
アイコンの更新された状態の見え方も異なる。第1の例
として挙げられる図6に示されるTIC45の命令アイ
コンにおいては、この命令アイコンの右側に配置され
「表示」という表記が付された四角が表示端子である。
この場合、「表示」が付された四角に対して指示入力を
実施すると、図7のタグパラメータ設定/表示画面18
が表示され、更新された状態出力がリストアップされ
る。この表示から、プロセス値であるPV項目が値「x
x1」になっていることが分かる。この場合のTIC4
5に対して設定されている命令モデル情報は「プロセス
値であるPV値は設定値であるSV値に等しくなる」と
いうものである。第2の例として挙げられる図6に示さ
れるAG57の命令アイコンにおいては、命令アイコン
の下側部分に配置された「running」および「s
topped」という表記が付された四角が表示端子で
ある。この場合、更新された状態出力に応じて、表示端
子の四角の白黒が決定される。すなわち、AG57が
「stopped」の状態から「running」の状
態へ変化すれば、「running」表示端子は黒四角
に、「stopped」表示端子は白四角に変化する。
As shown in FIG. 12, an instruction input to the operation terminal is converted into a sequence program step. At the same time, this operation information is displayed on the plant configuration diagram screen 11.
Is input to the simulation engine 13. Based on the operation information and the current state of the plant, the simulation engine 13 creates a new plant based on the information of the equipment and instruction model database 15 which lists the specifications of the equipment and instructions shown in FIG. And outputs new information to the plant configuration diagram screen 11 to update the status of the device icons and instruction icons on the plant configuration diagram screen 11. As already described, the form of the display terminal is 2
Since there are different ways, the appearance of the updated state of the device icon and the instruction icon is different correspondingly. In the command icon of the TIC 45 shown in FIG. 6 as a first example, a square that is arranged on the right side of the command icon and is labeled “display” is a display terminal.
In this case, when an instruction is input to the square with “display”, the tag parameter setting / display screen 18 shown in FIG.
Is displayed and the updated status output is listed. From this display, the PV item which is the process value is changed to the value “x”.
x1 ”. TIC4 in this case
The instruction model information set for No. 5 is that "the PV value as the process value is equal to the SV value as the set value." In the instruction icon of AG57 shown in FIG. 6 as a second example, “running” and “s” arranged below the instruction icon are shown.
The square with the notation “topped” is the display terminal. In this case, the monochrome of the display terminal is determined according to the updated status output. That is, when the AG 57 changes from the “stopped” state to the “running” state, the “running” display terminal changes to a black square, and the “stopped” display terminal changes to a white square.

【0040】図12に示されるように、表示端子に対す
る指示入力はシーケンスプログラムのトランジションに
変換される。図7のプラント構成図画面11上におい
て、TIC45に属する表示端子を操作してタグパラメ
ータ設定/表示装置18を表示させる。このタグパラメ
ータ設定/表示装置18のPV項目に対する値は「xx
1」となっている。そして、このPV項目を選択するこ
とで、「PV値がxx1(予め設定された値)である」
ことが確認(観測)される。このような確認情報は、プ
ラント構成図画面11から設計装置制御部14へ入力さ
れ、これに伴いトランジション条件定義画面17上に式
「TIC.PV=xx1」が表示される。トランジショ
ン条件定義画面17上では、同様の操作によってトラン
ジション条件定義画面17に表示される1つまたは複数
の式を論理演算記号等を用いて編集してトランジション
の条件的記述を作成する。設計装置制御部14は、この
条件記述から図7に示される「TIC.PV=xx1」
として与えられるトランジションST14を作成して、
直前のステップST13とトランジションST14とを
アークで接続し、シーケンスプログラム画面12上に表
示する。
As shown in FIG. 12, an instruction input to the display terminal is converted into a sequence program transition. On the plant configuration diagram screen 11 in FIG. 7, the display terminal belonging to the TIC 45 is operated to display the tag parameter setting / display device 18. The value for the PV item of the tag parameter setting / display device 18 is “xx
1 ". Then, by selecting this PV item, “the PV value is xx1 (preset value)”.
Is confirmed (observed). Such confirmation information is input to the design device control unit 14 from the plant configuration diagram screen 11, and the expression “TIC.PV = xx1” is displayed on the transition condition definition screen 17. On the transition condition definition screen 17, one or more expressions displayed on the transition condition definition screen 17 are edited by using a logical operation symbol or the like by a similar operation to create a conditional description of the transition. From the condition description, the design device control unit 14 determines “TIC.PV = xx1” shown in FIG.
Create a transition ST14 given as
The immediately preceding step ST13 and the transition ST14 are connected by an arc and displayed on the sequence program screen 12.

【0041】図8には、プログラム設計装置1によって
生成されたシーケンスプログラム画面12を示す。表示
端子の形態として既に説明したように2通りあるので、
前記のトランジションの作成プロセスと相違する点につ
いて以下に説明する。図12に示されるように、表示端
子に対する指示入力の実施はシーケンスプログラムにお
けるトランジションに変換される。図8のプラント構成
図画面11上において、Timer_xxx55に付さ
れた「time_up」表示端子を操作することで、
「Timer_xxxがtime_up状態である」こ
とが確認される。この確認情報はプラント構成図画面1
1から設計装置制御部14へ入力され、図8では図示し
ないトランジション条件定義画面17上に式「Time
r_xxx.Time_up」が表示される。そして、
トランジション条件定義画面17上では、同様の操作に
よってトランジション条件定義画面17に表示される1
つまたは複数の式を論理演算記号等を用いて編集してト
ランジションの条件的記述を作成する。設計装置制御部
14は、この条件的記述から図8に示される「Time
r_xxx.Time_up」として与えられるトラン
ジションST16を作成し、直前のステップST15と
トランジションST16とをアークで接続し、シーケン
スプログラム画面12上に表示する。
FIG. 8 shows a sequence program screen 12 generated by the program designing apparatus 1. As described above, there are two types of display terminals,
Differences from the above transition creation process will be described below. As shown in FIG. 12, execution of an instruction input to the display terminal is converted into a transition in a sequence program. By operating the “time_up” display terminal attached to Timer_xxx55 on the plant configuration diagram screen 11 in FIG.
It is confirmed that “Timer_xxx is in the time_up state”. This confirmation information is the plant configuration diagram screen 1
1 is input to the design device control unit 14, and the expression “Time” is displayed on a transition condition definition screen 17 not shown in FIG.
r_xxx. "Time_up" is displayed. And
On the transition condition definition screen 17, the same operation is performed to display the transition condition definition screen 17.
One or more expressions are edited using logical operation symbols or the like to create a conditional description of the transition. From the conditional description, the design device control unit 14 determines “Time
r_xxx. A transition ST16 given as "Time_up" is created, the immediately preceding step ST15 and the transition ST16 are connected by an arc, and displayed on the sequence program screen 12.

【0042】次に、シーケンス処理における分岐につい
て説明する。処理の分岐は、プラント構成図画面11上
での機器あるいは命令に対する指示入力とは別に、シー
ケンス用設計制御画面16上でプログラムの分岐構造を
作成するための分岐の開始、分岐の再開、分岐の終了等
に対する選択操作により実現される。また、コントロー
ラの運転手順が分岐している部分に対するシーケンス設
計作業の作業手順が図13に示されている。
Next, the branch in the sequence processing will be described. The branch of the process is, apart from the instruction input for the device or the instruction on the plant configuration diagram screen 11, the start of the branch for creating the branch structure of the program on the sequence design control screen 16, the restart of the branch, the branch of the branch. This is realized by a selection operation for termination or the like. FIG. 13 shows an operation procedure of a sequence design operation for a portion where the operation procedure of the controller branches.

【0043】まず、図15に示すシーケンス用設計制御
画面16で「分岐の開始」を選択すると、図9に示され
るようにシーケンスプログラム画面12上に条件分岐シ
ンボル60が追加表示される。この際、設計装置制御部
14は、分岐の再開に備えて分岐開始時点のプラントの
状態を記憶する。
First, when "start of branch" is selected on the sequence design control screen 16 shown in FIG. 15, a conditional branch symbol 60 is additionally displayed on the sequence program screen 12 as shown in FIG. At this time, the design device control unit 14 stores the state of the plant at the time of starting the branch in preparation for the restart of the branch.

【0044】条件分岐シンボル60が表示されれば、分
岐条件毎に一連の運転操作の設計を実施する。図9のプ
ラント構成図画面11上でTIC45の「表示」と表記
された表示端子に対する指示入力を実施し、図9には図
示されないタグパラメータ設定/表示画面18を開いて
プロセス値PVを確認する。この確認情報は、プラント
構成図画面11から設計装置制御部14へ入力される。
設計装置制御部14は確認した命令の状態を、図9には
図示されないトランジション条件定義画面17に取込
み、トランジション条件定義画面17上に「TIC.P
V=xxx」のように表示する。そして、この表示をト
ランジション条件定義画面17上で適宜編集してトラン
ジション条件「TIC.PV>xxx」を作成する。こ
のように、トランジション条件が決定されると、設計装
置制御部14は「TIC.PV>xxx」と記述される
トランジションST20を作成し、条件分岐シンボル6
0とトランジションST20とをアークで接続し、シー
ケンスプログラム画面12上に表示する。
When the conditional branch symbol 60 is displayed, a series of design operations is performed for each branch condition. An instruction is input to a display terminal of the TIC 45 labeled "display" on the plant configuration diagram screen 11 in FIG. 9, and a tag parameter setting / display screen 18 not shown in FIG. 9 is opened to check the process value PV. . This confirmation information is input to the design device control unit 14 from the plant configuration diagram screen 11.
The design device control unit 14 takes in the state of the confirmed instruction into a transition condition definition screen 17 (not shown in FIG. 9), and displays “TIC.P” on the transition condition definition screen 17.
V = xxx ". Then, the display is appropriately edited on the transition condition definition screen 17 to create the transition condition “TIC.PV> xxx”. In this way, when the transition condition is determined, the design device control unit 14 creates a transition ST20 described as “TIC.PV> xxx” and sets the condition branch symbol 6
0 and the transition ST20 are connected by an arc, and displayed on the sequence program screen 12.

【0045】次に、MN混合反応器システムの制御とし
て、「TIC.PV>xxxであること」を確認した
ら、「流量調節計FICのモードをマニュアルにする」
操作を行なう。プラント構成図画面11上で、FIC5
4のset操作端子に対して指示入力を実施し、図9に
は図示されないタグパラメータ設定/表示装置18を表
示してMODE項目を値「MAN」に設定する操作を行
なう。この操作情報はプラント構成図画面11から設計
装置制御部14へ入力される。設計装置制御部14は
「set(FIC.MODE:=MAN)」として記述
されるステップST21を作成し、直前のトランジショ
ンST20とステップST21とをアークで接続し、シ
ーケンスプログラム画面12上に表示する。これと同時
に、上記操作情報はプラント構成図画面11からシミュ
レーションエンジン13へも入力される。シミュレーシ
ョンエンジン13は操作情報およびプラントのその時点
の状態から図14に示される機器あるいは命令モデルデ
ータベース15の情報に基づいてプラントの新たな状態
を演算し、プラント構成図画面11へ出力してプラント
構成図画面11上の機器アイコンまたは命令アイコンの
状態を更新させる。
Next, as a control of the MN mixed reactor system, after confirming that “TIC.PV> xxx”, “manually set the mode of the flow controller FIC”
Perform the operation. On the plant configuration diagram screen 11, FIC5
An instruction is input to the set operation terminal of No. 4 and the tag parameter setting / display device 18 not shown in FIG. 9 is displayed to perform an operation of setting the MODE item to the value “MAN”. This operation information is input to the design device control unit 14 from the plant configuration diagram screen 11. The design device control unit 14 creates a step ST21 described as “set (FIC. MODE: = MAN)”, connects the immediately preceding transition ST20 and the step ST21 with an arc, and displays it on the sequence program screen 12. At the same time, the operation information is also input to the simulation engine 13 from the plant configuration screen 11. The simulation engine 13 calculates a new state of the plant from the operation information and the current state of the plant based on the information of the equipment or the instruction model database 15 shown in FIG. The state of the device icon or the instruction icon on the diagram screen 11 is updated.

【0046】一方の分岐条件に対する一連の制御処理の
設計が完了した後、図15に示すシーケンス用設計制御
画面16上で「分岐の再開」を指示すると、シーケンス
プログラム画面12上には条件分岐合流シンボル61が
追加表示され、プラント構成図画面11は分岐開始時点
に記憶しておいたプラント状態に復帰させられる。
After design of a series of control processes for one branch condition is completed, when “restart branch” is instructed on the sequence design control screen 16 shown in FIG. The symbol 61 is additionally displayed, and the plant configuration diagram screen 11 is returned to the plant state stored at the time of starting the branch.

【0047】次に、他方の分岐条件の場合の一連の制御
処理の設計を実施する。プラント構成図画面11上で、
TIC45の「表示」と表記された表示端子に対する指
示入力を実施し、図9には図示されないタグパラメータ
設定/表示画面18を開いてプロセス値PVを確認す
る。この確認情報は、プラント構成図画面11から設計
装置制御部14へ入力される。設計装置制御部14は確
認した命令の状態を、図9には図示されないトランジシ
ョン条件定義画面17に取込み、トランジション条件定
義画面17上に「TIC.PV=xxx」のように表示
する。そして、この表示をトランジション条件定義画面
17上で適宜編集してトランジション条件「xxx>=
TIC.PV>yyy」を作成する。このように、トラ
ンジション条件が決定されると、設計装置制御部14は
「xxx>=TIC.PV>yyy」と記述されるトラ
ンジションST22を作成し、条件分岐シンボル60と
トランジションST22とをアークで接続し、シーケン
スプログラム画面12上に表示する。
Next, a series of control processes for the other branch condition are designed. On the plant configuration diagram screen 11,
An instruction is input to a display terminal of the TIC 45 labeled “display”, and a tag parameter setting / display screen 18 not shown in FIG. 9 is opened to check the process value PV. This confirmation information is input to the design device control unit 14 from the plant configuration diagram screen 11. The design apparatus control unit 14 takes in the state of the confirmed instruction into a transition condition definition screen 17 not shown in FIG. 9 and displays the state on the transition condition definition screen 17 as “TIC.PV = xxx”. Then, this display is appropriately edited on the transition condition definition screen 17, and the transition condition “xxx> =
TIC. PV> yyy "is created. As described above, when the transition condition is determined, the design device control unit 14 creates a transition ST22 described as “xxx> = TIC.PV> yyy”, and connects the conditional branch symbol 60 and the transition ST22 by an arc. Then, it is displayed on the sequence program screen 12.

【0048】他方の分岐条件の場合の一連の制御操作の
設計が完了した後、図15に示すシーケンス用設計制御
画面16で「分岐の完了」を選択する。以上がコントロ
ーラの運転手順が分岐している場合の設計作業である。
After the design of a series of control operations for the other branch condition is completed, "complete branch" is selected on the sequence design control screen 16 shown in FIG. The above is the design work when the operation procedure of the controller is branched.

【0049】プログラムの分岐構造を生成するための上
記の3つの操作は一例であり、別の操作でも分岐構造を
生成することは可能である。ただし、「プラント構成図
画面上でのプラント機器あるいは命令に対する指示入
力」では分岐構造を生成することはできないので、上記
以外の何らかの操作方法を確立する必要がある。
The above three operations for generating a branch structure of a program are merely examples, and it is possible to generate a branch structure by another operation. However, since a branch structure cannot be generated by “input of instructions for plant equipment or instructions on the plant configuration diagram screen”, it is necessary to establish some operation method other than the above.

【0050】前記のプログラムの分岐構造を作成する例
では、複数の分岐の初期状態が同じであったが、多くの
場合、複数の分岐の初期状態は異なり、初期状態が異な
ることに基づいて分岐が設定されるのが通例である。こ
のような例に関しては、実施の形態2において後述され
る。したがって、シーケンス設計を行なう上で、分岐の
再開を実施する際に、機器または命令に対する指示入力
によりプログラムが生成されないようにして、プラント
の状態を変更する手段が必要となる。この実施の形態で
は、図15に示すシーケンス用設計制御画面16で「プ
ラント状態の変更の開始」を選択し、機器アイコンまた
は命令アイコンの表示端子の状態を変更した後に、シー
ケンス用設計制御画面16で「プラント状態の変更の完
了」を選択する。上記の機器アイコンまたは命令アイコ
ンの表示端子の状態を変更する操作としては、例えば図
9に示されるプラント構成図画面11上で、AG57の
start操作端子に対して指示入力を実施し、AG5
7を「running」という状態に変更する操作等が
挙げられる。
In the above-described example of creating a branch structure of a program, the initial states of a plurality of branches are the same. However, in many cases, the initial states of a plurality of branches are different, and branching is performed based on the fact that the initial states are different. Is usually set. Such an example will be described later in a second embodiment. Therefore, in performing the sequence design, when the branch is restarted, a means for changing the state of the plant is required so that a program is not generated by an instruction input to a device or an instruction. In this embodiment, after selecting "start of plant state change" on the sequence design control screen 16 shown in FIG. 15 and changing the state of the display terminal of the equipment icon or the instruction icon, the sequence design control screen 16 Use to select "Complete change of plant status". As an operation for changing the state of the display terminal of the device icon or the instruction icon, for example, an instruction is input to the start operation terminal of the AG 57 on the plant configuration diagram screen 11 shown in FIG.
7 is changed to a state of “running”.

【0051】条件分岐の場合は前述のようであるが、並
列分岐の場合も基本的には同様にシーケンス設計がなさ
れる。前述したように記述した並列分岐の場合には処理
内容が並列に実行される点と、SFCの文法が条件分岐
と並列分岐とで異なる点が相違する。
Although the case of the conditional branch is as described above, the sequence design is basically performed similarly in the case of the parallel branch. In the case of the parallel branch described as described above, the difference is that the processing contents are executed in parallel, and that the SFC grammar differs between the conditional branch and the parallel branch.

【0052】SFCのトランジションにおいては、機器
あるいは命令についての複数の状態出力を確認してリス
トアップするとともに、これら複数の状態出力間で論理
演算を定義することで条件部を構築することも可能であ
る。なお、このような条件部の設定に関しては、実施の
形態2において詳述する。
In the SFC transition, a plurality of status outputs for a device or an instruction can be confirmed and listed, and a condition part can be constructed by defining a logical operation between the plurality of status outputs. is there. The setting of such a condition section will be described in detail in the second embodiment.

【0053】アラーム処理への対応は図10に示すよう
に、例えば、TIC45に対してタグパラメータ設定/
表示画面18によりALM項目にアラーム処理ルーチン
名「zzz」を登録し、すでに説明したシーケンス設計
と同様の手順によってアラーム処理ルーチン「zzz」
のプログラムを設計することにより実現される。
As shown in FIG. 10, the response to the alarm processing is performed, for example, by setting the tag parameter setting /
The alarm processing routine name "zzz" is registered in the ALM item on the display screen 18, and the alarm processing routine "zzz" is executed in the same procedure as the sequence design described above.
This is realized by designing a program.

【0054】異常処理への対応も前記のアラーム処理へ
の対応と同様に行なう。ただし、前記のALM項目に異
常処理ルーチン名を登録するのではなく、まず、図10
に示されるように異常処理シーケンスのプログラムを設
計しておく。さらに、正常シーケンスのプログラムにお
いて異常な状態を検出するプログラム部分から異常処理
シーケンスをコールする等の呼出し手段を採用すること
で実現される。
The processing for the abnormal processing is performed in the same manner as the processing for the alarm processing. However, instead of registering the abnormality processing routine name in the ALM item, first, FIG.
The program of the abnormal processing sequence is designed as shown in FIG. Further, the present invention is realized by employing calling means such as calling an abnormal processing sequence from a program part for detecting an abnormal state in a program of a normal sequence.

【0055】この発明の実施の形態におけるプログラム
設計装置のプラント構成図画面11では、機器または命
令の操作端子、表示端子の他にも指示計器形式の表示手
段を有している。この指示計器形式表示手段を用いて、
プログラムにより制御されるプラント動作をシミュレー
トした結果として与えられるプラント機器または命令に
関するデータを設計者に表示する。また、プラント構成
図画面11およびシーケンスプログラム画面12は、生
成されたプログラムに基づいてコントローラにより制御
される実際のプラントの実働データ並びにコントローラ
で実行中のプログラム状況を表示することもできる。
The plant configuration diagram screen 11 of the program design apparatus according to the embodiment of the present invention has display means in the form of an indicating instrument in addition to operation terminals and display terminals for devices or instructions. Using this indicating instrument type display means,
Data about plant equipment or instructions given as a result of simulating plant operation controlled by a program is displayed to a designer. Further, the plant configuration diagram screen 11 and the sequence program screen 12 can also display actual operation data of the actual plant controlled by the controller based on the generated program and the status of the program being executed by the controller.

【0056】このように、プログラム設計者がプラント
構成図画面11にアクセスして対象プラントを操作すれ
ば、プラント機器または命令についての仕様を記述した
機器および命令モデルデータベース15に基づいてシミ
ュレーションエンジン13によるプラント状態変化のシ
ミュレーションが実行され、その結果がプラント構成図
画面11上に表示される。そして、これと同時に、この
操作に対応した処理手順が生成され、当該処理手順がシ
ーケンスプログラム画面12上で図式的に表示される。
そして、シーケンス設計が完了すると、設計結果からコ
ントローラに対して実行形式のプログラムが自動生成さ
れる。従って、プログラム設計者は、プラント構成図画
面11上で上記の操作をシミュレートすることにより、
希望するプラント動作を確認しつつ操作に対応する制御
プログラムを作成することが可能となる。
As described above, when the program designer accesses the plant configuration diagram screen 11 and operates the target plant, the simulation engine 13 uses the instruction model database 15 based on the equipment describing the specifications of the plant equipment or the instruction and the instruction model database 15. The simulation of the plant state change is executed, and the result is displayed on the plant configuration diagram screen 11. At the same time, a processing procedure corresponding to this operation is generated, and the processing procedure is graphically displayed on the sequence program screen 12.
When the sequence design is completed, an executable program is automatically generated for the controller from the design result. Therefore, the program designer simulates the above operation on the plant configuration screen 11 to
A control program corresponding to the operation can be created while confirming a desired plant operation.

【0057】なお、上記の発明の実施の形態についての
説明においては、図2に示した全体的な設計手順はシー
ケンス設計の位置付けを説明するために示した一例であ
り、別の設計手順による実施態様においても上記のシー
ケンス設計についての実施の形態は同様に適用できる。
In the above description of the embodiment of the present invention, the overall design procedure shown in FIG. 2 is an example for explaining the position of the sequence design, and is implemented by another design procedure. In the aspect, the embodiment of the above-described sequence design can be similarly applied.

【0058】また、プログラムはSFCとして生成され
るとしたが、生成されるプログラムの表現形式は本質的
にSFCに限定されるものではない。SFC表現形式か
ら構造化されたテキスト形式、インストラクションリス
ト、ラダー図、機能ブロック図他各種の表現形式への等
価な変換が可能である。
Although the program is generated as SFC, the expression format of the generated program is not essentially limited to SFC. Equivalent conversion from the SFC expression format to a structured text format, instruction list, ladder diagram, functional block diagram, and other various expression formats is possible.

【0059】さらに、動作モデルも状態遷移図で表され
得る有限状態機械モデルによる表現に限定されるもので
はなく、機器または命令に対する指示入力と状態出力と
の関係を表現可能な形式ならばいずれでも適用可能であ
る。また、機器および命令モデル情報を参照して、プラ
ントにおける機器または命令間の関係と、機器または命
令に実施され得る動作とに基づいて、シーケンス進行中
にトランジション条件を自動生成する規則を設計装置制
御部14に備えさせることで、上記の発明の実施の形態
では表示端子の指示入力から生成していたトランジショ
ン条件を前記規則を用いて自動生成することが可能であ
る。
Further, the operation model is not limited to the finite state machine model that can be represented by a state transition diagram, but may be any form capable of expressing the relationship between an instruction input to a device or an instruction and a state output. Applicable. Also, referring to the equipment and instruction model information, based on the relation between the equipment or the instruction in the plant and the operation that can be performed on the equipment or the instruction, the design apparatus controls the rule for automatically generating the transition condition during the progress of the sequence. With the provision of the unit 14, it is possible to automatically generate the transition condition generated from the instruction input of the display terminal in the embodiment of the present invention using the rule.

【0060】最後に、この発明の実施の形態はコントロ
ーラ制御用の計装制御プログラムを設計する場合につい
て説明したが、設計対象オブジェクトが表示された画面
上で当該設計対象オブジェクトを操作することで、プロ
グラムが生成されるようなプログラム設計に関連する広
範囲な用途に適用可能である。
Finally, the embodiment of the present invention has been described with respect to the case where an instrumentation control program for controller control is designed. However, by operating the design object on the screen on which the design object is displayed, It is applicable to a wide range of applications related to program design such that a program is generated.

【0061】以上のように、この実施の形態1によれ
ば、プラントを構成する機器および機器に関連する命令
を配置して、機器および命令に対する操作の実施および
状態出力の表示を可能とするプラント構成図画面11
と、機器および命令の仕様を記述した機器および命令モ
デルデータベース15と、新たなプラント状態を演算し
てプラント構成図画面11上に新たなプラント状態を表
示させるシミュレーションエンジン13と、これらの制
御を行なう設計装置制御部14とを備えるように構成し
たので、プログラム設計者はプラント構造、プラント機
能等の全体的な設計事項を予め把握していなくても、所
望のプラント動作を実施する対象となる機器または命
令、並びに対象機器または命令に対して行なう操作をプ
ラント構成図画面11から簡単に見出せて、プラント構
成図画面11上でプラントの全体を観察しながら機器ま
たは命令の操作とそれにより生じる事象を逐次的に把握
してプログラム設計を行ない得るので、プログラム設計
過程における設計者の思考作業の多くの部分が機械的に
代行されるから、設計者の思考作業が強力に支援される
という効果を奏する。
As described above, according to the first embodiment, the equipment which configures the plant and the instruction related to the equipment are arranged, and the operation of the equipment and the instruction can be performed and the status output can be displayed. Configuration diagram screen 11
And an equipment and instruction model database 15 describing specifications of equipment and instructions, a simulation engine 13 for calculating a new plant state and displaying the new plant state on a plant configuration diagram screen 11, and controls these. Since it is configured to include the design device control unit 14, even if the program designer does not know in advance the overall design items such as the plant structure and the plant functions, the target device for performing the desired plant operation is not required. Alternatively, the operator can easily find the command and the operation to be performed on the target device or the command from the plant diagram screen 11 and observe the operation of the device or the command and the event caused thereby while observing the entire plant on the plant diagram screen 11. It is possible to perform program design by grasping sequentially, so designers in the program design process Since many parts of the thinking work is mechanically behalf, an effect that thinking work of the designer is strong support.

【0062】また、プラントを構成する機器だけでなく
機器に関連する命令も操作対象としたので、機器に関連
する命令と機器自体との関係の設定等を行なうフィード
バックループ設計とこれに続くシーケンス設計とを一体
化することが可能となる。
Since not only the equipment constituting the plant but also the instructions related to the equipment are operated, the feedback loop design for setting the relation between the equipment-related instructions and the equipment itself and the subsequent sequence design Can be integrated.

【0063】さらに、プラント構成図画面11上には、
機器アイコンおよび命令アイコンが設けられ、機器アイ
コンおよび命令アイコンが操作端子および表示端子を備
えるように構成したので、機器および命令をアイコン構
成としたことで、プラント構成図画面11上でプラント
構造が簡明に表示されてプラントに対する理解が容易に
なるとともに、操作端子および表示端子を設けること
で、動作または確認等の指示を簡略に実施できるという
効果を奏する。
Further, on the plant configuration diagram screen 11,
Since the equipment icon and the instruction icon are provided and the equipment icon and the instruction icon are provided with the operation terminal and the display terminal, the equipment and the instruction are configured as icons, so that the plant structure is simplified on the plant configuration diagram screen 11. And the operation terminal and the display terminal are provided, so that instructions such as operation or confirmation can be easily performed.

【0064】さらに、プラント構成図画面11上で実施
された設計操作に対応するプラント制御のための処理手
順が図式的に表示されるシーケンスプログラム画面12
を備えるように構成したので、プラント構成図画面11
上で実施したプログラム設計の結果をシーケンスプログ
ラム画面12上で逐一確認しながら設計作業を実施する
ことができるから、設計ミスが防止されるという効果を
奏する。
Further, a sequence program screen 12 on which a processing procedure for plant control corresponding to the design operation performed on the plant configuration diagram screen 11 is schematically displayed.
The plant configuration diagram screen 11
Since the design work can be performed while confirming the result of the program design performed above on the sequence program screen 12 one by one, there is an effect that a design error is prevented.

【0065】さらに、シーケンスプログラム画面12上
に作成された図式的な処理手順から、コントローラで実
行可能な形式の制御プログラムを自動作成するプログラ
ム自動作成手段を備えるように構成したので、プログラ
ムまたはプログラムと等価な運転仕様記述を手作業で入
力等する必要がなく、プログラム開発効率を向上させる
ことができるという効果を奏する。
Further, since the system is provided with automatic program creation means for automatically creating a control program in a format executable by the controller from the schematic processing procedure created on the sequence program screen 12, the program or the program There is no need to manually input an equivalent operation specification description, and the effect of improving program development efficiency can be achieved.

【0066】さらに、操作端子に対する指示入力がシー
ケンスプログラム画面12上でステップとして表現さ
れ、表示端子に対する指示入力がシーケンスプログラム
画面12上でトランジションとして表現されるように構
成したので、指示入力からプログラムへの変換ルールが
画一化されていることで、設計者の判断が容易となり設
計ミスが防止されるという効果を奏する。
Further, since the instruction input to the operation terminal is expressed as a step on the sequence program screen 12 and the instruction input to the display terminal is expressed as a transition on the sequence program screen 12, the instruction input to the program is performed. The conversion rules are standardized, which makes it easy for the designer to make a decision and prevents design errors.

【0067】さらに、シミュレーションエンジン13が
機器および命令モデルデータベース15に基づいて、作
成された制御プログラムの入力を受けてプラント構成図
画面11上およびシーケンスプログラム画面12上で逐
次的にまたはランダムにプラントの動作および状態に対
するシミュレーションを実施できるようにしたので、作
成された制御プログラムによるプラントの運転がプラン
ト構成図画面11上でシミュレートされるから、プログ
ラムの有効性を容易に確認できるとともに、シミュレー
ション結果とシーケンスプログラム画面12とを相互参
照することでプログラム内のバグを容易に発見できると
いう効果を奏する。
Further, the simulation engine 13 receives the input of the created control program based on the equipment and instruction model database 15 and sequentially or randomly displays the plant on the plant configuration diagram screen 11 and the sequence program screen 12. Since the simulation for the operation and the state can be performed, the operation of the plant by the created control program is simulated on the plant diagram screen 11, so that the validity of the program can be easily confirmed, and the simulation results and By cross-referencing the sequence program screen 12, a bug in the program can be easily found.

【0068】さらに、条件分岐、並列分岐等の使用に際
してプログラム構造の変更が必要になった場合に、設計
者がプログラムの制御構造を指定する手段を備えるよう
に構成したので、逐次的処理だけではなく、条件分岐等
の種々のプログラム構造を採用することができるから、
プログラム設計における柔軟性を高められるという効果
を奏する。
Furthermore, when the program structure needs to be changed when using conditional branching, parallel branching, etc., the designer is provided with means for designating the control structure of the program. Since various program structures such as conditional branching can be adopted,
This has the effect of increasing flexibility in program design.

【0069】さらに、プラント構成図画面11上で機器
アイコンまたは命令アイコンを操作しても、制御プログ
ラムが作成されるのを防止して、プラントの状態を強制
的に変更する手段を備えるように構成したので、条件分
岐等のプログラム構造を採用する際においても、プログ
ラム設計自体に影響が及ばないようにすることができる
ので、プログラム設計の信頼性を高めることができると
いう効果を奏する。
Further, even if an equipment icon or a command icon is operated on the plant configuration diagram screen 11, a control program is prevented from being created, and a means for forcibly changing the state of the plant is provided. Therefore, even when a program structure such as a conditional branch is adopted, it is possible to prevent the program design itself from being affected, thereby providing an effect of improving the reliability of the program design.

【0070】作成された制御プログラムに基づいて動作
する実際のプラントの実働データがプラント構成図画面
11上に表示され、コントローラで実行中の制御プログ
ラムの進行状況がシーケンスプログラム画面12上に表
示されるように構成したので、プラントの実働状況を的
確に把握できるとともに、プラントの動作に不具合があ
ればそれに対応するプログラム箇所を容易に発見するこ
とができるので、設計ミスを容易に修正できるという効
果を奏する。
The actual data of the actual plant operating based on the created control program is displayed on the plant configuration diagram screen 11, and the progress of the control program being executed by the controller is displayed on the sequence program screen 12. With this configuration, the actual operation status of the plant can be accurately grasped, and if there is a problem in the operation of the plant, the program location corresponding to the problem can be easily found, so that the design error can be easily corrected. Play.

【0071】実施の形態2.この発明の実施の形態2の
説明においては、「シーケンス制御工学(電気学会、1
988)」のpp.127−133の例題を参考にして
説明する。この実施の形態においてもプログラム設計装
置の構成を示す概略図として図1を採用する。発明の実
施の形態1では主に命令アイコンを操作することによる
シーケンス設計について説明したが、この発明の実施の
形態2では主に機器アイコンを操作することによるシー
ケンス設計について説明する。なお、シーケンス設計よ
り上位の設計に関しては同様の手順が取られるので、こ
こではその説明を省略する。また、図面における大きさ
についての表記上の問題から、この実施の形態では、プ
ラント構成図画面とシーケンスプログラム画面とが別個
に表示されるが、発明の実施の形態1と同様に通常は同
じディスプレイ上に表示され得るものであることに留意
されたい。
Embodiment 2 In the description of the second embodiment of the present invention, “sequence control engineering (IEEJ,
988) ". This will be described with reference to the example of 127-133. Also in this embodiment, FIG. 1 is employed as a schematic diagram showing the configuration of the program design device. In the first embodiment of the present invention, a sequence design mainly by operating a command icon has been described. In a second embodiment of the present invention, a sequence design mainly by operating a device icon will be described. Note that the same procedure is performed for a higher-level design than the sequence design, and a description thereof will be omitted here. Also, in this embodiment, the plant configuration diagram screen and the sequence program screen are separately displayed due to the problem of notation about the size in the drawings. However, as in the first embodiment of the present invention, usually the same display is used. Note that it can be displayed above.

【0072】図16から図24は、この発明の実施の形
態2によるプログラム設計装置を使用して、制御対象プ
ラントのシーケンス設計を実施する際の各設計過程にお
けるプラント構成図画面における表示内容を示す図であ
る。図25から図36は、この発明の実施の形態2によ
るプログラム設計装置によるシーケンス設計を実施した
際の各設計過程に対応するプログラム処理を図式的に表
現したシーケンスプログラム画面における表示内容を示
す図である。
FIGS. 16 to 24 show display contents on a plant configuration diagram screen in each design process when a sequence design of a plant to be controlled is performed using the program design apparatus according to the second embodiment of the present invention. FIG. FIGS. 25 to 36 are diagrams showing display contents on a sequence program screen schematically representing program processing corresponding to each design process when a sequence design is performed by the program design device according to the second embodiment of the present invention. is there.

【0073】また、実施の形態1では、C言語等を用い
てステップおよびトランジション内における記述をなし
ていたが、この実施の形態2では、発明の理解を容易と
するために仕様記述を通常の言語表現によるものとし
た。また、実施の形態1と同様に、シーケンスプログラ
ム画面12は、ステップを示す太線の矩形およびトラン
ジションを示す細線の矩形およびそれらを結ぶアークお
よび分岐および合流で構成されている。
In the first embodiment, descriptions in steps and transitions are made using C language or the like. However, in the second embodiment, in order to facilitate understanding of the invention, a specification description is written in a usual manner. Linguistic expressions were used. Further, similarly to the first embodiment, the sequence program screen 12 is configured by a bold-line rectangle indicating a step, a thin-line rectangle indicating a transition, and arcs, branches, and junctions connecting the rectangles.

【0074】図16から図24においては、プラントを
構成する種々の機器がプラント構成図画面11上に配置
されて、シミュレーションを実施するためのプラントの
モデルが構築される。この実施の形態においては、機器
アイコンはプラントを構成する機器を設計装置上で操作
するための操作端子および/または当該機器の状態出力
を表示するための表示端子を備えるものとしてモデル化
されている。
In FIGS. 16 to 24, various devices constituting the plant are arranged on the plant configuration diagram screen 11, and a plant model for performing the simulation is constructed. In this embodiment, the equipment icon is modeled as having an operation terminal for operating the equipment constituting the plant on the design device and / or a display terminal for displaying the status output of the equipment. .

【0075】機器アイコンとして表現されるものとして
は、例えば図16において、サイロバルブ(A)70、
サイロバルブ(B)71、ホッパバルブ(A)72、ホ
ッパバルブ(B)73、ミキサモータ(M)74、ミキ
サバルブ(C)75、ミキサバルブ(D)76、コンベ
アモータ(MC)77、コンベアモータ(MD)78と
いったアクチュエータ群、スタート押しボタン80、サ
イロ選択スイッチ81といったボタン群、コンベアC運
転ランプ90、コンベアD運転ランプ91といった表示
器群、重量計(A)100、重量計(B)101といっ
たセンサ群、混合タイマ110、コンベアC始動タイマ
111、コンベアD始動タイマ112、ミキサC排出タ
イマ113、ミキサD排出タイマ114といったシーケ
ンス進行を補助する機器群が配置されている。さらに、
この実施の形態では、機器アイコンの他にサイロ(A)
120、サイロ(B)121、ホッパ(A)122、ホ
ッパ(B)123、ミキサ124、コンベア(C)12
5、コンベア(D)126、サイロ(C)127、サイ
ロ(D)128といった設備群も配置されている。
For example, as shown in FIG. 16, the silo valve (A) 70,
Silo valve (B) 71, hopper valve (A) 72, hopper valve (B) 73, mixer motor (M) 74, mixer valve (C) 75, mixer valve (D) 76, conveyor motor (MC) 77, conveyor motor (MD) 78 Actuator group, button group such as start push button 80, silo selection switch 81, display group such as conveyor C operation lamp 90, conveyor D operation lamp 91, sensor group such as weigh scale (A) 100, weigh scale (B) 101, A device group for assisting the sequence progress such as a mixing timer 110, a conveyor C start timer 111, a conveyor D start timer 112, a mixer C discharge timer 113, and a mixer D discharge timer 114 is arranged. further,
In this embodiment, in addition to the device icon, a silo (A)
120, silo (B) 121, hopper (A) 122, hopper (B) 123, mixer 124, conveyor (C) 12
5, equipment groups such as a conveyor (D) 126, a silo (C) 127, and a silo (D) 128 are also arranged.

【0076】この発明の実施の形態では、機器アイコン
の左側部分に操作端子を、機器アイコンの右側部分に表
示端子を配したアイコンのデザインとしている。機器ア
イコンの操作端子は機器が実現可能な動作に対応し、設
計者がプラント構成図画面11上で当該操作端子に対し
て指示入力することで、設計者が機器に対して当該操作
端子に定義されている特定の動作を実施する指令をシミ
ュレートしたことになる。例えば、サイロバルブ(A)
70の機器アイコンでは、該機器アイコンの左側部分に
配置された「開指令」および「閉指令」という表記が付
された四角が操作端子である。
In the embodiment of the present invention, an operation terminal is provided on the left side of the device icon, and a display terminal is provided on the right side of the device icon. The operation terminal of the device icon corresponds to the operation that can be realized by the device, and the designer defines the operation terminal for the device by inputting an instruction to the operation terminal on the plant configuration screen 11. Command to perform the specific operation being performed. For example, silo valve (A)
In the device icons 70, squares marked with “open command” and “close command” arranged on the left side of the device icon are operation terminals.

【0077】また、機器アイコンに付属する表示端子は
機器の状態を示す出力(以下、状態出力という)に対応
しており、設計者がプラント構成図画面11上で当該表
示端子に対して指示入力することで、設計者が機器の特
定の状態出力を観測または確認したことになる。例え
ば、サイロバルブ(A)70の機器アイコンでは、該機
器アイコンの右側部分に配置された「開」および「閉」
という表記が付された丸印が表示端子である。
The display terminal attached to the device icon corresponds to an output indicating the status of the device (hereinafter referred to as status output), and the designer inputs an instruction to the display terminal on the plant configuration diagram screen 11. By doing so, the designer has observed or confirmed the specific state output of the device. For example, in the device icon of the silo valve (A) 70, “open” and “closed” arranged on the right side of the device icon
The circles with the notation are display terminals.

【0078】まず、本設計装置でプラントの単純なシー
ケンシャル動作を設計する場合を説明する。図15に示
す設計制御画面16で「設計の開始」を指示すると、図
26の「Start」ステップST30が設計装置制御
部14により作成されて、シーケンスプログラム画面1
2上に表示される。その後は、プラント構成図画面11
上で、機器アイコンの表示端子に対して指示入力を実施
して状態出力を観測する。そして、観測結果についての
判断に基づいて、所望の機器アイコンの操作端子に対し
て指示入力を実施することにより、該所望の機器に対し
て動作を指令する。以上の手順を繰り返すことで、プラ
ントの制御プログラムを設計することが可能となり、設
計結果からプログラムが自動作成される。
First, a case where a simple sequential operation of a plant is designed by the present design apparatus will be described. When "design start" is instructed on the design control screen 16 shown in FIG. 15, a "Start" step ST30 in FIG. 26 is created by the design device control unit 14, and the sequence program screen 1
2 is displayed above. After that, the plant configuration diagram screen 11
Above, input an instruction to the display terminal of the device icon and observe the status output. Then, based on the determination on the observation result, an instruction is input to the operation terminal of the desired device icon to instruct the desired device to operate. By repeating the above procedure, a control program for the plant can be designed, and the program is automatically created from the design results.

【0079】具体的には、図16がプラントの初期状態
を表すプラント構成図画面11である。機器アイコンの
表示端子の黒丸が初期状態の各機器の状態出力を示して
いる。例えば、サイロバルブ(A)70は「閉」状態で
ある。そして、プラント構成図画面11上のスタート押
しボタン80の「ON」表示端子に対して指示入力を実
施して、「スタート押しボタンがONである」ことを確
認する。この確認情報はプラント構成図画面11から設
計装置制御部14へ入力される。設計装置制御部14は
この確認情報を基にして、図27に示される「スタート
押しボタン:ONである」トランジションST31を作
成し、ステップST30とトランジションST31とを
アークで接続する。そして、この処理結果に基づき、図
27に示される記載内容がシーケンスプログラム画面1
2上に表示される。
Specifically, FIG. 16 shows a plant configuration diagram screen 11 showing an initial state of the plant. The black circles on the display terminals of the device icons indicate the status output of each device in the initial state. For example, the silo valve (A) 70 is in a “closed” state. Then, an instruction is input to the “ON” display terminal of the start push button 80 on the plant configuration diagram screen 11 to confirm that “the start push button is ON”. This confirmation information is input from the plant configuration diagram screen 11 to the design device control unit 14. Based on the confirmation information, the design device control unit 14 creates a “start push button: ON” transition ST31 shown in FIG. 27, and connects the step ST30 and the transition ST31 with an arc. Based on the processing result, the description content shown in FIG.
2 is displayed above.

【0080】この発明の実施の形態1と同様に、図12
に示されるように、表示端子に対して指示入力を実施し
て観測ないし確認する操作はシーケンス設計におけるト
ランジションに変換される。プラントの制御として「ス
タート押しボタンがONである」ことを確認した後に、
「サイロバルブ(A)70を開く」操作を行なう。プラ
ント構成図画面11上のサイロバルブ(A)70の「開
指令」操作端子に対して指示入力を行ない、「サイロバ
ルブ(A)70を開く」操作を行なう。この操作情報
は、プラント構成図画面11から設計装置制御部14へ
入力される。これにより、図28に示されるように、設
計装置制御部14はこの操作情報から「サイロバルブ
A:開指令」と記述されるステップST32を作成し、
直前のトランジションST31とステップST32とを
アークで接続する。この処理結果に基づき、図28に示
される記載内容がシーケンスプログラム画面12上に表
示される。
As in the first embodiment of the present invention, FIG.
As shown in (2), an operation of executing an instruction input to the display terminal and observing or confirming it is converted into a transition in the sequence design. After confirming that the start push button is ON as plant control,
"Open the silo valve (A) 70" is performed. An instruction is input to an “open command” operation terminal of the silo valve (A) 70 on the plant configuration diagram screen 11 to perform an “open silo valve (A) 70” operation. This operation information is input to the design device control unit 14 from the plant configuration diagram screen 11. As a result, as shown in FIG. 28, the design device control unit 14 creates a step ST32 described as “silo valve A: open command” from this operation information,
The immediately preceding transition ST31 and step ST32 are connected by an arc. Based on this processing result, the description content shown in FIG. 28 is displayed on the sequence program screen 12.

【0081】また、実施の形態1と同様に、図12に示
すように、操作端子に対する指示入力はシーケンスプロ
グラムのステップに変換される。同時に、この操作情報
はプラント構成図画面11からシミュレーションエンジ
ン13へも入力される。シミュレーションエンジン13
は該情報およびプラントのその時点の状態から、図37
に示す機器の仕様をリストアップした機器および命令モ
デル情報15の情報に基づいてプラントの新たな状態を
計算し、プラント構成図画面11へ出力してプラント構
成図画面11上の機器アイコンの状態を更新させる。す
なわち、サイロバルブ(A)70の「開指令」操作およ
びサイロバルブ(A)70のその時点の「閉」という状
態から、サイロバルブ(A)70に対する図37に示さ
れる機器モデルに基づいてサイロバルブ(A)70を
「開」という状態に更新する。それに伴って、プラント
構成図画面11は図18に示されるようにサイロバルブ
(A)70の「閉」表示端子の表示を黒丸から白丸に変
更し、「開」表示端子の表示を白丸から黒丸に変更す
る。
Further, as in the first embodiment, as shown in FIG. 12, an instruction input to the operation terminal is converted into a sequence program step. At the same time, this operation information is also input from the plant configuration diagram screen 11 to the simulation engine 13. Simulation engine 13
From the information and the current state of the plant,
The new state of the plant is calculated based on the information of the equipment and the instruction model information 15 which list the specifications of the equipment shown in (1) and output to the plant configuration diagram screen 11 to display the status of the device icon on the plant configuration diagram screen 11. Let me update. That is, from the “open command” operation of the silo valve (A) 70 and the “closed” state of the silo valve (A) 70 at that time, the silo valve (A) 70 is silo based on the device model shown in FIG. The valve (A) 70 is updated to the state of “open”. Accordingly, the plant configuration diagram screen 11 changes the display of the “closed” display terminal of the silo valve (A) 70 from a black circle to a white circle and changes the display of the “open” display terminal from a white circle to a black circle as shown in FIG. Change to

【0082】制御操作が分岐している場合のように、プ
ログラムの制御構造の指定をともなう設計作業は、実施
の形態1と同様に図13に示される処理手順に従って実
施される。分岐する前のプラント構成図画面11は図1
9に示され、これに対応するシーケンスプログラム画面
12は図29に示される。図15に示されるシーケンス
用設計制御画面16で「分岐の開始」を指示すると、シ
ーケンスプログラム画面12には条件分岐シンボル20
0が追加されて、シーケンスプログラム画面12は図3
0に示されるものとなる。この際、設計装置制御部14
は、分岐開始時点のプラントの状態を記憶しておく。分
岐条件毎に一連の制御操作の設計を実施する。図19に
示されるプラント構成図画面11上で、サイロ選択スイ
ッチ81の「選択C」表示端子に対して指示入力を実施
して、「サイロ選択スイッチが選択Cである」ことを確
認する。この確認情報は、プラント構成図画面11から
設計装置制御部14へ入力される。設計装置制御部14
はこの確認情報から図31に示される「サイロ選択スイ
ッチ:選択Cである」と記述されたトランジションST
40を作成し、条件分岐シンボル200とトランジショ
ンST40とをアークで接続する。そして、この処理結
果に基づき、シーケンスプログラム画面12上に図31
の記載内容が表示される。
As in the case where the control operation is branched, the design work involving the designation of the control structure of the program is performed in accordance with the processing procedure shown in FIG. The plant configuration diagram screen 11 before branching is shown in FIG.
9 and the corresponding sequence program screen 12 is shown in FIG. When "start of branch" is instructed on the sequence design control screen 16 shown in FIG.
0 is added, and the sequence program screen 12 is displayed as shown in FIG.
0. At this time, the design device control unit 14
Stores the state of the plant at the start of the branch. A series of control operations are designed for each branch condition. An instruction is input to the “selection C” display terminal of the silo selection switch 81 on the plant configuration diagram screen 11 shown in FIG. 19 to confirm that “the silo selection switch is selection C”. This confirmation information is input to the design device control unit 14 from the plant configuration diagram screen 11. Design device control unit 14
From the confirmation information, a transition ST described as “silo selection switch: selection C” shown in FIG.
40, and connects the conditional branch symbol 200 and the transition ST40 with an arc. Then, based on the processing result, the sequence program screen 12 shown in FIG.
Is displayed.

【0083】プラントの制御として「サイロ選択スイッ
チが選択Cである」ことを確認した場合には、「コンベ
アモータ(MC)77を運転する」操作および「コンベ
アC運転ランプ90を点灯する」操作および「コンベア
C始動タイマ111をスタートする」操作を実施するも
のとする。図19に示されるプラント構成図画面11上
で、コンベアモータ(MC)77の「運転指令」操作端
子に対して指示入力を実施して「コンベアモータMCを
運転する」操作を行い、続けてコンベアC運転ランプ9
0の「点灯指令」操作端子に対して指示入力を実施して
「コンベアC運転ランプを点灯する」操作を行い、さら
に続けてコンベアC始動タイマ111の「スタート指
令」操作端子に対して指示入力を実施して「コンベアC
始動タイマをスタートする」操作を行えば、プラント構
成図画面11は図20に示されるように変更される。こ
の操作情報は、プラント構成図画面11から設計装置制
御部14へ入力される。設計装置制御部14は、この操
作情報を基にして図32に示される「コンベアモータM
C:運転指令、コンベアC運転ランプ:点灯指令、コン
ベアC始動タイマ:スタート指令」と記述されたステッ
プST41を作成し、直前のトランジションST40と
ステップST41とをアークで接続する。該処理結果に
基づき、シーケンスプログラム画面12上に図32の記
載内容が表示される。
If the control of the plant confirms that “the silo selection switch is the selection C”, the operation of “operating the conveyor motor (MC) 77” and the operation of “turning on the conveyor C operation lamp 90” are performed. An operation of “starting the conveyor C start timer 111” is performed. On the plant configuration diagram screen 11 shown in FIG. 19, an instruction is input to the "operation command" operation terminal of the conveyor motor (MC) 77, and "operation of the conveyor motor MC" is performed. C operation lamp 9
An instruction is input to the "lighting command" operation terminal of "0", an operation of "lighting up the conveyor C operation lamp" is performed, and further, an instruction is input to the "start command" operation terminal of the conveyor C start timer 111. "Conveyor C
If the "start start timer" operation is performed, the plant configuration diagram screen 11 is changed as shown in FIG. This operation information is input to the design device control unit 14 from the plant configuration diagram screen 11. Based on the operation information, the design device control unit 14 determines “Conveyor motor M” shown in FIG.
C: Operation command, Conveyor C operation lamp: Lighting command, Conveyor C start timer: Start command "are created, and the immediately preceding transition ST40 and step ST41 are connected by an arc. Based on the processing result, the description content of FIG. 32 is displayed on the sequence program screen 12.

【0084】同時に、上記操作情報は、プラント構成図
画面11からシミュレーションエンジン13へも入力さ
れる。シミュレーションエンジン13はこの操作情報お
よびプラントのその時点の状態から、図37に示される
機器および命令モデルデータベース15の情報に基づい
てプラントの新たな状態を演算し、プラント構成図画面
11へ出力してプラント構成図画面11上の機器アイコ
ンの状態を更新させ、その結果プラント構成図画面11
は図21に示すものとなる。
At the same time, the operation information is also input from the plant configuration diagram screen 11 to the simulation engine 13. The simulation engine 13 calculates a new state of the plant from the operation information and the current state of the plant based on the information of the equipment and the instruction model database 15 shown in FIG. 37, and outputs it to the plant configuration diagram screen 11. The state of the device icon on the plant configuration screen 11 is updated, and as a result, the plant configuration screen 11
Is as shown in FIG.

【0085】一方の分岐条件が成立する場合に対して実
施される一連の制御操作の設計が完了した状態では、プ
ラント構成図画面11は図22に示されるようになり、
シーケンスプログラム画面12は図33に示されるよう
になる。そして、図15に示されるシーケンス用設計制
御画面16で「分岐の再開」を選択すると、図34に示
されるように、シーケンスプログラム画面12には条件
分岐合流シンボル201が追加され、プラント構成図画
面11は分岐開始時点に保存しておいた図19に示され
るようなプラント状態に復帰させられる。
In a state where the design of a series of control operations to be performed when one of the branch conditions is satisfied is completed, the plant configuration diagram screen 11 becomes as shown in FIG.
The sequence program screen 12 is as shown in FIG. When "Resume Branch" is selected on the sequence design control screen 16 shown in FIG. 15, a conditional branch merge symbol 201 is added to the sequence program screen 12 as shown in FIG. Numeral 11 is returned to the plant state as shown in FIG.

【0086】次に、他方の分岐条件が成立する場合のプ
ログラムの設計を実施する。この際に、分岐開始時点で
のプラントの状態は分岐毎に異なるので、プラントの状
態を、前記「一方の分岐条件」が成立する場合の分岐開
始時の状態から、前記「他方の分岐条件」が成立する場
合の分岐開始時の状態に変更する必要がある。この変更
は、プログラムの生成手続きとは別の手続きで強制的に
実施される。このために、一旦プログラム生成手続きを
中断し、強制的な変更のための操作を行なった後、通常
のプログラム生成手続きを再開し、前記「他方の分岐条
件」が成立する場合のプログラム設計を実施する。この
強制的な状態変更操作は、図15に示すシーケンス用設
計制御画面16で「プラント状態の変更の開始」を選択
した後に、機器アイコンの表示端子の状態を変更し、そ
して変更終了後にシーケンス用設計制御画面16で「プ
ラント状態の変更の完了」を選択することで実施され
る。上記の「機器アイコンの表示端子の状態を変更」す
る操作は、すなわち、図19に示されるプラント構成図
画面11上で、サイロ選択スイッチ81の「選択指令
D」操作端子に対する指示入力を実施して、サイロ選択
スイッチ81の状態を図23に示されるように「選択
D」という状態に変更することである。このようにし
て、分岐の場合のプログラムの制御構造の設定が行なわ
れる。
Next, a program is designed when the other branch condition is satisfied. At this time, the state of the plant at the start of branching differs for each branch, so the state of the plant is changed from the state at the start of branching when the “one branching condition” is satisfied, to the “other branching condition”. Needs to be changed to the state at the start of branching when the condition is satisfied. This change is enforced in a procedure different from the program generation procedure. For this purpose, the program generation procedure is temporarily interrupted, an operation for forcible change is performed, and then the normal program generation procedure is restarted, and the program design is performed when the “other branch condition” is satisfied. I do. This forcible state change operation is performed by changing the state of the display terminal of the device icon after selecting “start change of plant state” on the sequence design control screen 16 shown in FIG. This is performed by selecting “completion of change of plant state” on the design control screen 16. The above-described operation of “changing the state of the display terminal of the device icon” is performed by inputting an instruction to the “selection command D” operation terminal of the silo selection switch 81 on the plant configuration diagram screen 11 shown in FIG. Then, the state of the silo selection switch 81 is changed to the state of "selection D" as shown in FIG. In this way, the control structure of the program in the case of a branch is set.

【0087】次に、図23に示されるように、プラント
構成図画面11上で、サイロ選択スイッチ81の「選択
D」表示端子に対する指示入力を実施して、「サイロ選
択スイッチが選択Dである」ことを確認する。この確認
情報はプラント構成図画面11から設計装置制御部14
へ入力される。設計装置制御部14は、この確認情報か
ら図35に示される「サイロ選択スイッチ:選択Dであ
る」と記述されるトランジションST42を作成し、条
件分岐シンボル200とトランジションST42とをア
ークで接続する。そして、この処理結果に基づき、シー
ケンスプログラム画面12上に図35の記載内容が表示
される。
Next, as shown in FIG. 23, an instruction is input to the “selection D” display terminal of the silo selection switch 81 on the plant configuration diagram screen 11 and “the silo selection switch is selection D”. Make sure that. This confirmation information is transmitted from the plant configuration diagram screen 11 to the design device control unit 14.
Is input to The design device control unit 14 creates a transition ST42 described as “silo selection switch: selection D” shown in FIG. 35 from this confirmation information, and connects the conditional branch symbol 200 and the transition ST42 with an arc. 35 is displayed on the sequence program screen 12 based on the processing result.

【0088】他方の分岐条件が成立する場合に対して実
施される一連の制御操作の設計が完了した状態では、プ
ラント構成図画面11は図24に示されるようになり、
シーケンスプログラム画面12は図36に示されるよう
になる。そして、図15に示されるシーケンス用設計制
御画面16で「分岐の完了」を選択する。以上が制御操
作が分岐している場合に対する設計作業である。最後
に、図15に示されるシーケンス用設計制御画面16で
「設計の完了」を選択すると、図25の「End」ステ
ップST50が設計装置制御部14によって作成され、
シーケンスプログラム画面12上に表示される。
When the design of a series of control operations to be performed when the other branch condition is satisfied has been completed, the plant configuration diagram screen 11 becomes as shown in FIG.
The sequence program screen 12 is as shown in FIG. Then, "complete branch" is selected on the sequence design control screen 16 shown in FIG. The above is the design work for the case where the control operation is branched. Finally, when “design complete” is selected on the sequence design control screen 16 shown in FIG. 15, an “End” step ST50 in FIG. 25 is created by the design device control unit 14,
It is displayed on the sequence program screen 12.

【0089】条件分岐の場合は前述のようであるが、並
列分岐の場合も基本的には同じである。相違は記述した
内容が並列分岐の場合には並列に実行されることと、S
FCの文法が条件分岐と並列分岐の場合に異なるという
ことである。
Although the case of the conditional branch is as described above, the case of the parallel branch is basically the same. The difference is that if the described contents are parallel branches, they are executed in parallel,
That is, the grammar of FC is different between the conditional branch and the parallel branch.

【0090】SFCのトランジションにおいては、機器
あるいは命令についての複数の状態出力を確認してリス
トアップするとともに、これら複数の状態出力間で論理
演算を定義することで条件部を構築することも可能であ
る。この発明の実施の形態によるプログラム設計装置に
おいては、機器あるいは命令アイコンの表示端子に対し
て指示入力を実施することによって機器あるいは命令の
状態出力を確認すると、図38に示されるように機器あ
るいは命令の表示端子に表記された事項がトランジショ
ン条件定義画面17上にリストアップされる。そして、
これらリストアップされた複数の状態出力間の演算を、
このトランジション条件定義画面17上でテキストによ
る演算式の形式で定義する。テキストによる演算式の形
式は一例であって、ラダー、ファンクションブロック、
論理回路等での表現も可能である。インターロック条件
もシーケンス進行の条件であるので、本明細書ではトラ
ンジション条件に含まれるものとする。
In the SFC transition, a plurality of status outputs for a device or an instruction can be confirmed and listed, and a condition part can be constructed by defining a logical operation between the plurality of status outputs. is there. In the program design device according to the embodiment of the present invention, when the status output of the device or the command is confirmed by executing the instruction input to the display terminal of the device or the command icon, as shown in FIG. Are listed on the transition condition definition screen 17. And
The operation between these listed status outputs is
The transition condition definition screen 17 is defined in the form of a text-based arithmetic expression. The format of the arithmetic expression in text is an example, and ladders, function blocks,
Expression in a logic circuit or the like is also possible. Since the interlock condition is also a condition for the progress of the sequence, it is assumed in this specification that the interlock condition is included in the transition condition.

【0091】以上のように、この発明の実施の形態2に
よれば、実施の形態1と同様の効果が得られるのに加え
て、プログラム中の条件部を設定するために、プラント
構成図画面11内の表示端子に対して指示入力を実施す
ることで得られた条件的記述をリストアップするととも
に、これらの条件的記述間の論理的演算を定義するトラ
ンジション条件定義画面17を備えるように構成したの
で、表示端子に対して指示入力を実施するのみでは得ら
れない論理積、論理和等を用いた複合的な条件設定を行
なうことができるので、プログラム設計における柔軟性
を高められるという効果を奏する。
As described above, according to the second embodiment of the present invention, the same effects as those of the first embodiment can be obtained. A list of conditional descriptions obtained by inputting instructions to the display terminals in the display terminal 11 and a transition condition definition screen 17 for defining a logical operation between these conditional descriptions are provided. As a result, it is possible to set complex conditions using logical products, logical sums, and the like, which cannot be obtained by merely inputting instructions to the display terminals, thereby increasing the flexibility in program design. Play.

【0092】[0092]

【発明の効果】以上のように、この発明によれば、機器
に対する操作および命令に対する操作を画面上で実施可
能とするとともに、機器および命令の状態出力を表示可
能とするプラント構成図画面と、機器および命令の仕様
を記述した機器および命令モデルデータベースと、プラ
ント状態および操作情報から、機器および命令モデルデ
ータベースの情報に基づいて、新たなプラント状態を演
算して、プラント構成図画面上に新たなプラント状態を
表示させるシミュレーション手段と、前記プラント構成
図画面、前記機器および命令モデルデータベース、およ
び前記シミュレーション手段を連携させる制御を行なう
設計装置制御部とを備えるように構成したので、プログ
ラム設計者はプラント構造、プラント機能等の全体的な
設計事項を予め把握していなくても、所望のプラント動
作を実施する対象となる機器または命令、並びに対象機
器または命令に対して行なう操作をプラント構成図画面
から簡単に見出せて、プラント構成図画面上でプラント
の全体を観察しながら機器または命令の操作とそれによ
り生じる事象を逐次的に把握してプログラム設計を行な
い得るので、プログラム設計過程における設計者の思考
作業の多くの部分が機械的に代行されるから、設計者の
思考作業が強力に支援されるという効果を奏する。ま
た、プラントを構成する機器だけでなく機器に関連する
命令も操作対象としたので、機器に関連する命令と機器
自体との関係の設定等を行なうフィードバックループ設
計とこれに続くシーケンス設計とを一体化することが可
能となる。
As described above, according to the present invention, a plant configuration diagram screen that enables operations on equipment and operations on commands to be performed on the screen, and also displays status outputs of the equipment and commands, From the equipment and instruction model database that describes the equipment and instruction specifications, and the plant state and operation information, a new plant state is calculated based on the information of the equipment and instruction model database, and a new plant state is displayed on the plant configuration diagram screen. Since the system is configured to include a simulation unit for displaying a plant state, and a plant configuration diagram screen, the device and instruction model database, and a design device control unit for performing control for coordinating the simulation unit, the program designer Understand the overall design items such as the structure and plant functions in advance. Even if you do not, you can easily find the target equipment or instruction to perform the desired plant operation and the operation to be performed on the target equipment or instruction from the plant configuration screen, and display the entire plant on the plant configuration screen. While observing the operation of the device or instruction and observing the events caused by it, the program design can be performed sequentially, so that much of the designer's thinking work in the program design process is mechanically substituted. This has the effect of strongly supporting the designer's thinking work. In addition, since not only the equipment that composes the plant but also the instructions related to the equipment were operated, the feedback loop design that sets the relationship between the equipment-related instructions and the equipment itself and the subsequent sequence design were integrated. Can be realized.

【0093】この発明によれば、プラント構成図画面に
は、機器アイコンおよび命令アイコンが設けられ、機器
アイコンおよび命令アイコンが操作端子および表示端子
を備えるように構成したので、機器および命令をアイコ
ン構成としたことで、プラント構成図画面上でプラント
構造が簡明に表示されてプラントに対する理解が容易に
なるとともに、操作端子および表示端子を設けること
で、動作または確認等の指示を簡略に実施できるという
効果を奏する。
According to the present invention, the equipment icon and the instruction icon are provided on the plant configuration diagram screen, and the equipment icon and the instruction icon are provided with the operation terminal and the display terminal. By doing so, the plant structure is clearly displayed on the plant configuration diagram screen, making it easy to understand the plant, and by providing operation terminals and display terminals, it is possible to easily execute instructions such as operation or confirmation. It works.

【0094】この発明によれば、プラント構成図画面上
で実施された設計操作に対応するプラント制御のための
処理手順が図式的に表示されるシーケンスプログラム画
面を備えるように構成したので、プラント構成図画面上
で実施したプログラム設計の結果をシーケンスプログラ
ム画面上で逐一確認しながら設計作業を実施することが
できるから、設計ミスが防止されるという効果を奏す
る。
According to the present invention, the processing procedure for plant control corresponding to the design operation performed on the plant configuration diagram screen is provided with a sequence program screen that is schematically displayed. Since the design work can be performed while confirming the result of the program design performed on the diagram screen one by one on the sequence program screen, there is an effect that a design error is prevented.

【0095】この発明によれば、シーケンスプログラム
画面上に作成された図式的な処理手順から、コントロー
ラで実行可能な形式の制御プログラムへ変換するプログ
ラム自動作成手段を備えるように構成したので、プログ
ラムまたはプログラムと等価な運転仕様記述を手作業で
入力等する必要がなく、プログラム開発効率を向上させ
ることができるという効果を奏する。
According to the present invention, there is provided an automatic program creating means for converting a schematic processing procedure created on a sequence program screen into a control program in a format executable by a controller. There is no need to manually input an operation specification description equivalent to a program, and the program development efficiency can be improved.

【0096】この発明によれば、操作端子に対する指示
入力がシーケンスプログラム画面上でステップとして表
現され、表示端子に対する指示入力がシーケンスプログ
ラム画面上でトランジションとして表現されるように構
成したので、指示入力からプログラムへの変換ルールが
画一化されていることで、設計者の判断が容易となり設
計ミスが防止されるという効果を奏する。
According to the present invention, the instruction input to the operation terminal is represented as a step on the sequence program screen, and the instruction input to the display terminal is represented as a transition on the sequence program screen. Since the conversion rules for the program are standardized, it is possible to facilitate the designer's judgment and prevent a design error.

【0097】この発明によれば、シミュレーション手段
が機器および命令モデルデータベースに基づいて、シー
ケンスプログラム画面に表示されたプラント制御のため
の処理手順を、プラント構成図画面上またはシーケンス
プログラム画面上でシミュレーション実行する手段を備
えるように構成したので、作成された制御プログラムに
よるプラントの運転がプラント構成図画面上でシミュレ
ートされるので、プログラムの有効性を容易に確認でき
るとともに、シミュレーション結果とシーケンスプログ
ラム画面とを相互参照することでプログラム内のバグを
容易に発見できるという効果を奏する。
According to the present invention, the simulation means executes the simulation procedure for the plant control displayed on the sequence program screen on the plant configuration diagram screen or the sequence program screen based on the equipment and the instruction model database. Since the operation of the plant by the created control program is simulated on the plant configuration screen, the validity of the program can be easily confirmed, and the simulation result and the sequence program screen are displayed. Has the effect that a bug in the program can be easily found by cross-referencing.

【0098】この発明によれば、プログラム中の条件部
を設定するために、プラント構成図画面内の表示端子に
対して指示入力を実施することで得られた条件的記述を
リストアップするとともに、これらの条件的記述間の論
理的演算を定義するトランジション条件定義画面を備え
るように構成したので、表示端子に対して指示入力を実
施するのみでは得られない論理積、論理和等を用いた複
合的な条件設定を行なうことができるから、プログラム
設計における柔軟性を高められるという効果を奏する。
According to the present invention, in order to set a condition part in a program, a conditional description obtained by inputting an instruction to a display terminal in a plant configuration screen is listed, and Since it is configured to have a transition condition definition screen that defines the logical operation between these conditional descriptions, it is possible to obtain a complex using logical product, logical sum, etc. that cannot be obtained only by inputting an instruction to the display terminal. Therefore, it is possible to increase the flexibility in program design.

【0099】この発明によれば、条件分岐、並列分岐等
のプログラム構造の使用が必要となった場合に、設計者
がプログラムの制御構造を指定する手段を備えるように
構成したので、逐次的処理だけではなく、条件分岐等の
種々のプログラム構造を採用することができるから、プ
ログラム設計における柔軟性を高められるという効果を
奏する。
According to the present invention, when it is necessary to use a program structure such as a conditional branch or a parallel branch, the designer is provided with means for designating the control structure of the program. Not only that, various program structures such as conditional branching can be adopted, so that there is an effect that flexibility in program design can be enhanced.

【0100】この発明によれば、プラント構成図画面上
で機器アイコンまたは命令アイコンを操作しても、制御
プログラムが作成されるのを防止して、プラントの状態
を強制的に変更する手段を備えるように構成したので、
条件分岐等のプログラム構造を採用する際においても、
プログラム設計自体に影響が及ばないようにすることが
できるので、プログラム設計の信頼性を高めることがで
きるという効果を奏する。
According to the present invention, there is provided a means for preventing a control program from being created even when operating an equipment icon or a command icon on the plant configuration diagram screen, and forcibly changing the state of the plant. Because it was configured as
When adopting a program structure such as a conditional branch,
Since the program design itself can be prevented from being affected, there is an effect that the reliability of the program design can be improved.

【0101】この発明によれば、作成された制御プログ
ラムに基づいて動作する実際のプラントの実働データが
プラント構成図画面上に表示され、コントローラで実行
中の制御プログラムの進行状況がシーケンスプログラム
画面上に表示されるように構成したので、プラントの実
働状況を的確に把握できるとともに、プラントの動作に
不具合があればそれに対応するプログラム箇所を容易に
発見することができるので、設計ミスを容易に修正でき
るという効果を奏する。
According to the present invention, the actual operation data of the actual plant operating based on the created control program is displayed on the plant configuration screen, and the progress of the control program being executed by the controller is displayed on the sequence program screen. , So that the actual operation status of the plant can be accurately grasped, and if there is a problem in the operation of the plant, the corresponding program location can be easily found, so that design errors can be easily corrected. It has the effect of being able to do it.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1および実施の形態2
によるプログラム設計装置の構成を示す概略図である。
FIG. 1 is a view illustrating a first embodiment and a second embodiment of the present invention;
1 is a schematic diagram showing a configuration of a program design device according to the present invention.

【図2】 この発明の実施の形態1によるプログラム設
計装置を使用してプラントの計装制御設計を実施する手
順を示す図である。
FIG. 2 is a diagram showing a procedure for implementing instrumentation control design of a plant using the program design apparatus according to the first embodiment of the present invention.

【図3】 この発明の実施の形態1によるプログラム設
計装置を使用して計装制御設計を実施する過程における
プラント構成図画面等を表示する図である。
FIG. 3 is a diagram showing a plant configuration diagram screen and the like in a process of performing instrumentation control design using the program design device according to the first embodiment of the present invention.

【図4】 この発明の実施の形態1によるプログラム設
計装置を使用して計装制御設計を実施する過程における
プラント構成図画面等を表示する図である。
FIG. 4 is a diagram showing a plant configuration diagram screen and the like in a process of performing instrumentation control design using the program design device according to the first embodiment of the present invention.

【図5】 この発明の実施の形態1によるプログラム設
計装置を使用して計装制御設計を実施する過程における
プラント構成図画面等を表示する図である。
FIG. 5 is a diagram showing a plant configuration diagram screen and the like in a process of performing instrumentation control design using the program design device according to the first embodiment of the present invention.

【図6】 この発明の実施の形態1によるプログラム設
計装置を使用して計装制御設計を実施する過程における
プラント構成図画面等を表示する図である。
FIG. 6 is a view showing a plant configuration diagram screen and the like in a process of performing instrumentation control design using the program design device according to the first embodiment of the present invention.

【図7】 この発明の実施の形態1によるプログラム設
計装置を使用して計装制御設計を実施する過程における
プラント構成図画面等を表示する図である。
FIG. 7 is a view showing a plant configuration diagram screen and the like in a process of performing instrumentation control design using the program design device according to the first embodiment of the present invention.

【図8】 この発明の実施の形態1によるプログラム設
計装置を使用して計装制御設計を実施する過程における
プラント構成図画面等を表示する図である。
FIG. 8 is a view showing a plant configuration diagram screen and the like in a process of performing instrumentation control design using the program design device according to the first embodiment of the present invention.

【図9】 この発明の実施の形態1によるプログラム設
計装置を使用して計装制御設計を実施する過程における
プラント構成図画面等を表示する図である。
FIG. 9 is a diagram showing a plant configuration diagram screen and the like in a process of performing instrumentation control design using the program design device according to the first embodiment of the present invention.

【図10】 この発明の実施の形態1によるプログラム
設計装置を使用して計装制御設計を実施する過程におけ
るプラント構成図画面等を表示する図である。
FIG. 10 is a diagram showing a plant configuration diagram screen and the like in a process of performing instrumentation control design using the program design device according to the first embodiment of the present invention.

【図11】 この発明の実施の形態1によるプログラム
設計装置を使用して計装制御設計を実施する過程におけ
るプラント構成図画面等を表示する図である。
FIG. 11 is a diagram showing a plant configuration diagram screen and the like in a process of performing instrumentation control design using the program design device according to the first embodiment of the present invention.

【図12】 プラント構成図画面上での操作からシーケ
ンスプログラムへの変換規則を示す図である。
FIG. 12 is a diagram showing a conversion rule from an operation on a plant configuration diagram screen to a sequence program.

【図13】 プログラム設計者が設計過程において分岐
を指示する際の処理の流れを示すフローチャートであ
る。
FIG. 13 is a flowchart showing a processing flow when a program designer instructs a branch in a design process.

【図14】 機器および命令モデルデータベースの内容
の一部を示す図である。
FIG. 14 is a diagram showing a part of the contents of a device and an instruction model database.

【図15】 プログラム設計作業を設計者が制御する設
計制御画面を示す図である。
FIG. 15 is a diagram showing a design control screen on which a designer controls program design work.

【図16】 この発明の実施の形態2によるプログラム
設計装置を使用してシーケンス設計を実施する過程にお
けるプラント構成図画面等を表示する図である。
FIG. 16 is a view showing a plant configuration diagram screen and the like in a process of performing a sequence design using the program design device according to the second embodiment of the present invention.

【図17】 この発明の実施の形態2によるプログラム
設計装置を使用してシーケンス設計を実施する過程にお
けるプラント構成図画面等を表示する図である。
FIG. 17 is a diagram showing a plant configuration diagram screen and the like in a process of performing a sequence design using the program design device according to the second embodiment of the present invention.

【図18】 この発明の実施の形態2によるプログラム
設計装置を使用してシーケンス設計を実施する過程にお
けるプラント構成図画面等を表示する図である。
FIG. 18 is a diagram showing a plant configuration diagram screen and the like in a process of performing a sequence design using the program design device according to the second embodiment of the present invention.

【図19】 この発明の実施の形態2によるプログラム
設計装置を使用してシーケンス設計を実施する過程にお
けるプラント構成図画面等を表示する図である。
FIG. 19 is a view showing a plant configuration diagram screen and the like in a process of performing a sequence design using the program design device according to the second embodiment of the present invention.

【図20】 この発明の実施の形態2によるプログラム
設計装置を使用してシーケンス設計を実施する過程にお
けるプラント構成図画面等を表示する図である。
FIG. 20 is a view showing a plant configuration diagram screen and the like in a process of performing a sequence design using the program design device according to the second embodiment of the present invention.

【図21】 この発明の実施の形態2によるプログラム
設計装置を使用してシーケンス設計を実施する過程にお
けるプラント構成図画面等を表示する図である。
FIG. 21 is a diagram showing a plant configuration diagram screen and the like in a process of performing a sequence design using the program design device according to the second embodiment of the present invention.

【図22】 この発明の実施の形態2によるプログラム
設計装置を使用してシーケンス設計を実施する過程にお
けるプラント構成図画面等を表示する図である。
FIG. 22 is a view showing a plant configuration diagram screen and the like in a process of performing a sequence design using the program design device according to the second embodiment of the present invention.

【図23】 この発明の実施の形態2によるプログラム
設計装置を使用してシーケンス設計を実施する過程にお
けるプラント構成図画面等を表示する図である。
FIG. 23 is a diagram showing a plant configuration diagram screen and the like in a process of performing a sequence design using the program design device according to the second embodiment of the present invention.

【図24】 この発明の実施の形態2によるプログラム
設計装置を使用してシーケンス設計を実施する過程にお
けるプラント構成図画面等を表示する図である。
FIG. 24 is a view showing a plant configuration diagram screen and the like in a process of performing a sequence design using the program design device according to the second embodiment of the present invention.

【図25】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 25 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図26】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 26 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図27】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 27 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図28】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 28 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図29】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 29 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図30】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 30 is a diagram showing a sequence program screen displaying a sequence program created by program design.

【図31】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 31 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図32】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 32 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図33】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 33 is a diagram showing a sequence program screen displaying a sequence program created by program design.

【図34】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 34 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図35】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 35 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図36】 プログラム設計により作成されたシーケン
スプログラムを表示するシーケンスプログラム画面を示
す図である。
FIG. 36 is a diagram showing a sequence program screen for displaying a sequence program created by program design.

【図37】 機器および命令モデルデータベースの内容
の一部を示す図である。
FIG. 37 is a diagram showing a part of the contents of a device and an instruction model database.

【図38】 機器の操作を進行させる条件を定義するト
ランジション条件定義画面を示す図である。
FIG. 38 is a diagram showing a transition condition definition screen for defining conditions for proceeding with the operation of the device.

【符号の説明】[Explanation of symbols]

11 プラント構成図画面、12 シーケンスプログラ
ム画面、13 シミュレーションエンジン(シミュレー
ション手段)、14 設計装置制御部、15機器および
命令モデルデータベース、17 トランジション条件定
義画面。
11 plant configuration view screen, 12 sequence program screen, 13 simulation engine (simulation means), 14 design device control unit, 15 equipment and instruction model database, 17 transition condition definition screen.

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 プラントを制御するコントローラの制御
用プログラムを設計するためのプログラム設計装置にお
いて、 設計対象のプラントを構成する機器に対する操作および
プラント制御に関連する命令に対する操作を画面上で実
施可能とするとともに、これら操作に対応する機器およ
び命令の状態出力を表示可能とするプラント構成図画面
と、 プラントを構成する機器および該プラント制御に関連す
る命令の仕様を記述した機器および命令モデルデータベ
ースと、 その時点のプラントの状態と機器または命令に対する操
作情報とから、前記機器および命令モデルデータベース
の情報に基づいてプラントの新たな状態を演算して、機
器および命令の状態出力を更新して、前記プラント構成
図画面上に新たなプラント状態を表示させるシミュレー
ション手段と、 前記プラント構成図画面、前記機器および命令モデルデ
ータベース、および前記シミュレーション手段を連携さ
せる制御を行なう設計装置制御部とを備えることを特徴
とするプログラム設計装置。
1. A program design apparatus for designing a control program for a controller for controlling a plant, wherein an operation on equipment constituting a plant to be designed and an operation on an instruction related to plant control can be performed on a screen. And a plant configuration diagram screen capable of displaying status outputs of devices and instructions corresponding to these operations, a device and an instruction model database describing specifications of the devices constituting the plant and the instructions related to the plant control, From the state of the plant at that time and the operation information for the equipment or the instruction, calculate a new state of the plant based on the information of the equipment and the instruction model database, update the state output of the equipment and the instruction, and Simulator to display new plant status on configuration screen A program design apparatus comprising: an option unit; and a design device control unit that performs control for linking the plant configuration diagram screen, the device and instruction model database, and the simulation unit.
【請求項2】 プラント構成図画面は、プラントを構成
する機器を表現する機器アイコンと、プラント制御に関
連する命令を表現する命令アイコンとを備え、 前記機器アイコンおよび前記命令アイコンが、機器また
は命令に対する動作を指示するための操作端子と、機器
または命令に対する状態出力を表示し、かつ確認を指示
するための表示端子とを備えることを特徴とする請求項
1記載のプログラム設計装置。
2. The plant configuration diagram screen includes a device icon representing a device constituting a plant, and a command icon representing a command related to plant control, wherein the device icon and the command icon are devices or commands. 2. The program design apparatus according to claim 1, further comprising: an operation terminal for instructing an operation on the device, and a display terminal for displaying a status output for the device or the instruction and instructing a confirmation.
【請求項3】 プラント構成図画面上で実施された設計
操作に対応するプラント制御のための処理手順が図式的
に表示されるシーケンスプログラム画面を備えることを
特徴とする請求項1記載のプログラム設計装置。
3. The program design according to claim 1, further comprising a sequence program screen for graphically displaying a processing procedure for plant control corresponding to a design operation performed on the plant configuration diagram screen. apparatus.
【請求項4】 シーケンスプログラム画面上に作成され
た図式的な処理手順から、コントローラで実行可能な形
式の制御プログラムへ変換するプログラム自動作成手段
を備えることを特徴とする請求項3記載のプログラム設
計装置。
4. The program design according to claim 3, further comprising program automatic creation means for converting a schematic processing procedure created on the sequence program screen into a control program in a format executable by the controller. apparatus.
【請求項5】 機器アイコンまたは命令アイコンに付随
する操作端子に対して設計者が指示入力を実施すること
はシーケンスプログラム画面上でステップとして表現さ
れ、機器アイコンまたは命令アイコンに付随する表示端
子に対して設計者が指示入力を実施することはシーケン
スプログラム画面上でトランジションとして表現される
ことを特徴とする請求項3記載のプログラム設計装置。
5. The execution of an instruction input by a designer to an operation terminal associated with a device icon or a command icon is expressed as a step on a sequence program screen. 4. The program designing apparatus according to claim 3, wherein the instruction input by the designer by the designer is expressed as a transition on the sequence program screen.
【請求項6】 シミュレーション手段は、機器および命
令モデルデータベースに基づいて、シーケンスプログラ
ム画面に表示されたプラント制御のための処理手順を、
プラント構成図画面上またはシーケンスプログラム画面
上でシミュレーション実行する手段を備えることを特徴
とする請求項3記載のプログラム設計装置。
6. The simulation means executes a processing procedure for plant control displayed on a sequence program screen based on the equipment and an instruction model database.
4. The program designing apparatus according to claim 3, further comprising means for executing a simulation on a plant configuration diagram screen or a sequence program screen.
【請求項7】 プログラム中の条件部を設定するため
に、プラント構成図画面内の表示端子に対して指示入力
を実施することで得られた条件的記述をリストアップす
るとともに、これらの条件的記述間の論理的演算を定義
するトランジション条件定義画面を備えることを特徴と
する請求項1記載のプログラム設計装置。
7. A condition list obtained by executing an instruction input to a display terminal in a plant configuration diagram screen to set a condition part in a program is listed, and these condition descriptions are listed. 2. The program designing apparatus according to claim 1, further comprising a transition condition definition screen for defining a logical operation between descriptions.
【請求項8】 条件分岐、並列分岐等のプログラム構造
の使用が必要となった場合に、設計者がプログラムの制
御構造を指定する手段を備えることを特徴とする請求項
1記載のプログラム設計装置。
8. A program designing apparatus according to claim 1, further comprising means for designating a control structure of a program when a program structure such as a conditional branch or a parallel branch becomes necessary. .
【請求項9】 プラント構成図画面上で機器アイコンま
たは命令アイコンを操作しても、制御プログラムが作成
されるのを防止して、プラントの状態を強制的に変更す
る手段を備えることを特徴とする請求項1記載のプログ
ラム設計装置。
9. A system for preventing a control program from being created even when an equipment icon or a command icon is operated on a plant configuration diagram screen, and comprising means for forcibly changing the state of the plant. The program design apparatus according to claim 1, wherein
【請求項10】 実際のプラントとプログラム設計装置
とを接続して、作成された制御プログラムに基づいて動
作する実際のプラントの実働データがプラント構成図画
面上に表示され、コントローラで実行中の制御プログラ
ムの進行状況がシーケンスプログラム画面上に表示され
ることを特徴とする請求項1記載のプログラム設計装
置。
10. An actual plant and a program design device are connected to each other, and actual data of the actual plant operating based on the created control program is displayed on a plant configuration screen, and the control being executed by the controller is executed. 2. The program designing apparatus according to claim 1, wherein the progress of the program is displayed on a sequence program screen.
JP11129155A 1998-05-28 1999-05-10 Program design equipment Pending JP2000047860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11129155A JP2000047860A (en) 1998-05-28 1999-05-10 Program design equipment

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-147576 1998-05-28
JP14757698 1998-05-28
JP11129155A JP2000047860A (en) 1998-05-28 1999-05-10 Program design equipment

Publications (1)

Publication Number Publication Date
JP2000047860A true JP2000047860A (en) 2000-02-18

Family

ID=26464638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11129155A Pending JP2000047860A (en) 1998-05-28 1999-05-10 Program design equipment

Country Status (1)

Country Link
JP (1) JP2000047860A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004510275A (en) * 2000-09-28 2004-04-02 ビジロス, インコーポレイテッド System and method for dynamic interaction with a remote device
JP2004513448A (en) * 2000-11-02 2004-04-30 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Visual anti-virus in a network control environment
JP2009258814A (en) * 2008-04-14 2009-11-05 Fujitsu Ltd Process setting support processing program and business program generation processing program
JP2010225072A (en) * 2009-03-25 2010-10-07 Yamatake Corp Control system controller and control method
JP5025833B1 (en) * 2011-09-16 2012-09-12 三菱電機株式会社 Sequence program creation device
JP2012256366A (en) * 2002-10-22 2012-12-27 Fisher Rosemount Systems Inc Process control system element
US9046881B2 (en) 2002-10-22 2015-06-02 Fisher-Rosemount Systems, Inc. Updating and utilizing dynamic process simulation in an operating process environment
US9904263B2 (en) 2002-10-22 2018-02-27 Fisher-Rosemount Systems, Inc. Smart process objects used in a process plant modeling system
US10878140B2 (en) 2016-07-27 2020-12-29 Emerson Process Management Power & Water Solutions, Inc. Plant builder system with integrated simulation and control system configuration
US11418969B2 (en) 2021-01-15 2022-08-16 Fisher-Rosemount Systems, Inc. Suggestive device connectivity planning
JP2022122827A (en) * 2021-02-10 2022-08-23 横河電機株式会社 Method, system and computer program product for creating and mounting engineering data in process control system
JP2023000795A (en) * 2021-06-18 2023-01-04 東京電力ホールディングス株式会社 Methods, programs and systems for memorizing procedures
US11841691B2 (en) 2020-03-23 2023-12-12 Canon Kabushiki Kaisha Information processing device, information processing method, recording medium, and method of manufacturing product

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004510275A (en) * 2000-09-28 2004-04-02 ビジロス, インコーポレイテッド System and method for dynamic interaction with a remote device
JP2004513448A (en) * 2000-11-02 2004-04-30 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Visual anti-virus in a network control environment
US9983559B2 (en) 2002-10-22 2018-05-29 Fisher-Rosemount Systems, Inc. Updating and utilizing dynamic process simulation in an operating process environment
JP2012256366A (en) * 2002-10-22 2012-12-27 Fisher Rosemount Systems Inc Process control system element
US9046881B2 (en) 2002-10-22 2015-06-02 Fisher-Rosemount Systems, Inc. Updating and utilizing dynamic process simulation in an operating process environment
US9069344B2 (en) 2002-10-22 2015-06-30 Fisher-Rosemount Systems, Inc. Smart process modules and objects in process plants
US9904268B2 (en) 2002-10-22 2018-02-27 Fisher-Rosemount Systems, Inc. Updating and utilizing dynamic process simulation in an operating process environment
US9904263B2 (en) 2002-10-22 2018-02-27 Fisher-Rosemount Systems, Inc. Smart process objects used in a process plant modeling system
JP2009258814A (en) * 2008-04-14 2009-11-05 Fujitsu Ltd Process setting support processing program and business program generation processing program
JP2010225072A (en) * 2009-03-25 2010-10-07 Yamatake Corp Control system controller and control method
JP5025833B1 (en) * 2011-09-16 2012-09-12 三菱電機株式会社 Sequence program creation device
US10878140B2 (en) 2016-07-27 2020-12-29 Emerson Process Management Power & Water Solutions, Inc. Plant builder system with integrated simulation and control system configuration
US11841691B2 (en) 2020-03-23 2023-12-12 Canon Kabushiki Kaisha Information processing device, information processing method, recording medium, and method of manufacturing product
US12158740B2 (en) 2020-03-23 2024-12-03 Canon Kabushiki Kaisha Information processing device, information processing method, recording medium, and method of manufacturing product
US11418969B2 (en) 2021-01-15 2022-08-16 Fisher-Rosemount Systems, Inc. Suggestive device connectivity planning
JP2022122827A (en) * 2021-02-10 2022-08-23 横河電機株式会社 Method, system and computer program product for creating and mounting engineering data in process control system
JP2023000795A (en) * 2021-06-18 2023-01-04 東京電力ホールディングス株式会社 Methods, programs and systems for memorizing procedures
JP7654192B2 (en) 2021-06-18 2025-04-01 東京電力ホールディングス株式会社 Method, program and system for storing procedures

Similar Documents

Publication Publication Date Title
JP7025485B2 (en) Dynamically reusable class
JP2000047860A (en) Program design equipment
JP5603316B2 (en) User interface method, system and method for facilitating process plant configuration
US6477435B1 (en) Automated programming system for industrial control using area-model
JP6167087B2 (en) Configuring animations and events for operator interface displays in a process control system
US11216159B2 (en) Configuration element for graphic elements
CN115933577A (en) Synchronizing configuration changes in a process plant
US7734357B2 (en) System for operating an installation by editing graphic objects
JP7654718B2 (en) Controlled rollout of module classes
EP3451095B1 (en) Configuration element for graphic elements
JP3824411B2 (en) Screen definition device and operation device for executing program defined thereby
JP2533374B2 (en) Control program creation method
JPH10301769A (en) Batch plant control apparatus and control method
JP2003195910A (en) Plant controller with built-in simulation function