JPH01154204A - Plant monitor method - Google Patents
Plant monitor methodInfo
- Publication number
- JPH01154204A JPH01154204A JP62312005A JP31200587A JPH01154204A JP H01154204 A JPH01154204 A JP H01154204A JP 62312005 A JP62312005 A JP 62312005A JP 31200587 A JP31200587 A JP 31200587A JP H01154204 A JPH01154204 A JP H01154204A
- Authority
- JP
- Japan
- Prior art keywords
- plant
- control program
- crt
- simple control
- pcs
- 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
Links
Landscapes
- Control By Computers (AREA)
- Programmable Controllers (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、ディジタル計装制御システムに係り、特に高
度な演算制御に好適なプラント監視方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital instrumentation control system, and particularly to a plant monitoring method suitable for advanced arithmetic control.
従来の装置は、例えば特開昭56−38609号のよう
にCRTを用いてプラントの監視を行うことが知られて
いる。このような監視を行う際には算術演算を作成し、
文法的なチェックはコンパイルによりエラーを知ること
はできるが、実際の演算結果すなわち、論理的なチェッ
クは、仮設のPO2等により行なっていた。It is known that a conventional device uses a CRT to monitor a plant, as disclosed in Japanese Patent Laid-Open No. 56-38609, for example. When performing such monitoring, create arithmetic operations and
Errors can be detected by compiling a grammatical check, but actual calculation results, that is, logical checks, are performed using a temporary PO2 or the like.
上記従来技術は、論理的な誤りをチェックする点につい
て配慮がされておらず、プラントを一時停止させて実機
デバッグを行なう必要があり稼動率を低下させるという
問題があった。また、別にデバッグ用のPO2をプラン
ト毎に設ける必要があり経済的にも問題があった。The above-mentioned conventional technology does not take into consideration the point of checking for logical errors, and there is a problem in that it is necessary to temporarily stop the plant and perform debugging on the actual machine, which reduces the operating rate. In addition, it was necessary to separately provide a PO2 for debugging in each plant, which caused an economical problem.
本発明の目的は稼動しながら簡易制御プログラムの追加
・修正ができ、かつデバッグ専用のPO2をプラント毎
に設けることのないプラント監視方法を提供することを
目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a plant monitoring method that allows simple control programs to be added and modified during operation and does not require a PO2 dedicated to debugging for each plant.
上記目的は、POC内にシミュレーション機能とモニタ
機能を設けることにより、達成される。The above object is achieved by providing a simulation function and a monitor function within the POC.
シミュレーション機能とモニター機能は、作成した制御
用簡易プログラムをシミュレーションし。The simulation function and monitor function simulate the simple control program you have created.
CRTに演算経過を逐次モニタリングする。それによっ
て、作成した制御用簡易プログラムは、論理的な誤りを
発見でき、誤った所を修正することもできるので、誤っ
たプログラムを稼動中のPO2にローディングすること
がないため、プラン1−がダウンしたり、誤動作するこ
とがない。The progress of calculations is continuously monitored on the CRT. As a result, logical errors in the created simple control program can be discovered and mistakes can be corrected, so an incorrect program will not be loaded into the running PO2, so Plan 1- It never goes down or malfunctions.
以下、本発明を図に従って詳細に説明する。 Hereinafter, the present invention will be explained in detail with reference to the drawings.
第1図は、本発明をディジタル計装制御システムに適用
した場合の一実施例を示すブロック図であり、第2図は
、その動作を説明するためのフローチャートである。FIG. 1 is a block diagram showing an embodiment of the present invention applied to a digital instrumentation control system, and FIG. 2 is a flowchart for explaining its operation.
第1図において、1,2.3は設定された条件に基づき
演算結果をプラントに出力することにより、直接ディジ
タル制御(以下DDCと略す)やシーケンス制御を行な
うPCSL 、PO32。In FIG. 1, reference numerals 1, 2.3 denote PCSL and PO 32 which perform direct digital control (hereinafter abbreviated as DDC) and sequence control by outputting calculation results to the plant based on set conditions.
PCSnを分散設置する。10はPOCで、プラントの
運転監視を行なうマンマシンインターフェースである。PCSn will be installed in a distributed manner. 10 is a POC, which is a man-machine interface for monitoring plant operation.
11はCRTで、P CS l 1 、PO322。11 is a CRT, P CS l 1, PO322.
PCSo3 から送信されるプラントデータを表示す
る。12はキーボードで、設定値の変更、ループステー
タスの変更や制御用簡易プログラムの作成、変更等を行
なう。Displays plant data sent from PCSo3. A keyboard 12 is used to change setting values, change loop status, and create and change simple control programs.
次に第2図のフローチャートに基づいて第1図の動作を
説明する。Next, the operation shown in FIG. 1 will be explained based on the flowchart shown in FIG.
まず、POCIOを起動(ステップ300)L、オンラ
インモニターを行なうか算術演算式を作成するか選択(
310)する。算術演算式をマンマシン、すなわちCR
TIIを見ながらキーボード12で作成する(320)
。作成したプログラムをコンパイル(340)L、構文
エラーをチェック(345)L、構文エラーがある場合
は、エラ一部分を修正(330)L、再度コンパイル(
340)L、構文エラーを取り除く。構文エラーがなく
なった時点でPOC内のシミュレーション機能によりシ
ミュレーションを行ない(350)論理的なエラーがな
いかチェック(355)L、エラーがある場合は再度エ
ラ一部分を修正(330)し、再度コンパイル処理(3
40)、シミュレーション(350)を行ない論理的な
エラーをすべて取り除く。次にムシのないプログラムを
該当PCSにダウンローディングを行なう(360)。First, start POCIO (step 300) and select whether to perform online monitoring or create an arithmetic expression (
310) Do. Man-machine, that is, CR
Create using keyboard 12 while looking at TII (320)
. Compile the created program (340), check for syntax errors (345), correct some errors if there are syntax errors (330), and compile again (345).
340) L. Remove syntax errors. When there are no syntax errors, perform simulation using the simulation function in POC (350), check for logical errors (355)L, if there are errors, correct part of the error again (330), and compile again. (3
40), perform a simulation (350) to remove all logical errors. Next, a bug-free program is downloaded to the corresponding PCS (360).
正常にダウンローディングされ、かつ正常にプログラム
が動作していることを再確認するためのオンラインモニ
ター(370)がある。終了時にキーボード12より終
了キーを入力することにより終了(380)となる。There is an online monitor (370) for reconfirming that the program has been downloaded correctly and is operating normally. At the end of the process, inputting the end key from the keyboard 12 brings the process to an end (380).
上述の実施例において、PO’C10内部にシミュレー
ション機能(ステップ350)を設けたが、これは次の
理由による。すなわち、作成したプログラムにムシがあ
る状態で、プログラムをダウンローディングした場合、
システムダウンあるいは誤動作をする可能性があるため
である。In the embodiment described above, the simulation function (step 350) was provided inside the PO'C 10 for the following reason. In other words, if the program you created has a bug and you download it,
This is because the system may go down or malfunction.
第3図は、上述の実施例において、シミュレーション(
ステップ35o)時の画面およびオンラインモニター(
370)である。CRTIIには次の様に表示する。す
なわち、100,101.。FIG. 3 shows the simulation (
Step 35o) screen and online monitor (
370). The CRTII is displayed as follows. That is, 100, 101. .
102は上述の実施例で作成した算術演算式(ステップ
32o)で、それぞれ符番1のソースステ−トメント、
符番2のソースステートメント、符番nのソースステー
トメントであり、200゜201は符番1のソースステ
ートメント100中の変数の値であり、202,203
は符番2のソースステートメント101中の変数の値で
ある。Reference numeral 102 denotes the arithmetic operation expression (step 32o) created in the above-mentioned embodiment, and the source statement numbered 1,
The source statement with number 2 is the source statement with number n, 200°201 is the value of the variable in the source statement 100 with number 1, and 202, 203
is the value of the variable in the source statement 101 with number 2.
一般に、最後の符番nのソースステートメント102に
は、5TOP文が来る。Generally, the last number n source statement 102 has 5 TOP statements.
第4図は、本発明を説明するためのループスケッチであ
る。FIG. 4 is a loop sketch for explaining the present invention.
20はDDCの標準プログラムであり、21はDDCの
標準プログラム20に対し、追加されるプログラムであ
る。30はタグとよばれる仮計器、FIG−001At
”、pvはプロセス量であり、31.32Llれぞレタ
グFIC−002A。20 is a standard program of DDC, and 21 is a program added to the standard program 20 of DDC. 30 is a temporary instrument called a tag, FIG-001At
”, pv is the process amount, and 31.32Ll is the retag FIC-002A.
LIC−001Aで、MVは操作量であり、Woo 1
.Woo2.Woo3はそれぞれ、タグFIC−001
A30.FIC−002A31゜LIC−001A32
の正規化データ(通常、0〜6000digit)
を工学値に変換されたデータが格納されるワークエリア
であり、33はワークエリアWoolの値と定数3.1
25が乗算(ネ)した値とワークエリアWOO2の値を
加算(+)することを意味し、その結果がワークエリア
WOO4に格納する。34は、タグLIC−001A3
2のステータスであるAi異常のフラグIEがOの場合
、b側に接続され、1の場合はa側に接続される。In LIC-001A, MV is the manipulated variable, and Woo 1
.. Woo2. Woo3 each has tag FIC-001
A30. FIC-002A31゜LIC-001A32
Normalized data (usually 0 to 6000 digits)
33 is the work area where the data converted into engineering values is stored, and 33 is the value of the work area Wool and the constant 3.1
25 means adding (+) the multiplied value and the value of work area WOO2, and the result is stored in work area WOO4. 34 is tag LIC-001A3
When the Ai abnormality flag IE, which is the status of 2, is O, it is connected to the b side, and when it is 1, it is connected to the a side.
35はLIC−001A32のステータスエEが0の場
合、ワークエリアW O’04をワークエリアWOO3
で除算(1)することを意味し、その結果をワークエリ
アWOO5に格納する。36はワークエリアWOO5の
工学値を正規化データに変換し、タグFIC−003A
のpvに格納することを意味する。35, when the status E of LIC-001A32 is 0, the work area WO'04 is changed to the work area WOO3.
means to divide (1) by , and the result is stored in work area WOO5. 36 converts the engineering value of work area WOO5 into normalized data and tag FIC-003A
This means storing it in the pv of
第5図は第4図のループスケッチを算術演算式すなわち
制御用演算BASICで作成したソースステートメント
とその変数値を示す。前記第3図で説明したソースステ
ートメント100はここでは1、WOO1=EDC(F
IC−001A、 PV) テあり、ソースステートメ
ント101はここでは2、WOO2=EDC(FIC−
002A、 PV) ニ相当する。FIG. 5 shows the source statement and its variable values created from the loop sketch of FIG. 4 using an arithmetic operation expression, that is, control operation BASIC. The source statement 100 explained in FIG. 3 above is here 1, WOO1=EDC(F
IC-001A, PV) te, source statement 101 is 2 here, WOO2=EDC(FIC-
002A, PV) corresponds to D.
また、タグFIC−001Aのpv値201はここでは
720で、その値を正規化データを工学値に変換した値
Woolは12.0 と表示する6以下同様である。こ
こで、符番6は、条件文でタグLIC−001Aのステ
ータスのAI異常フラグ34と定数1とが等しい(記号
、EQ、)かを比較するソースステートメントであり、
ここではAI異常フラグ34がOで等しくないため1行
番7のソースステートメント以下を実行している。Further, the pv value 201 of the tag FIC-001A is 720 here, and the value Wool obtained by converting the normalized data into an engineering value is 12.0, which is 6 or less. Here, number 6 is a source statement that compares whether the AI abnormal flag 34 of the status of tag LIC-001A and constant 1 are equal (symbol, EQ,) in a conditional statement,
Here, since the AI abnormality flag 34 is O and they are not equal, the source statement in the first line number 7 and the following are executed.
もし、AI異常フラグ34が1の場合は1行番7゜8を
実行せずに、符番9にジャンプする。また、符番8のB
DCはWoo5の工学値を正規化データに変換すること
を意味する。If the AI abnormality flag 34 is 1, jump to line 9 without executing line 1 7°8. Also, number 8 B
DC means converting the engineering value of Woo5 into normalized data.
以上述べたように、本発明によれば、シミュレーション
機能により、各PCSにダウンローディングする前に論
理的なプログラムのバグが発見できるので、デバッグ専
用のPO2をプラント毎に設置する必要がなくなり、ユ
ーザにとって経済的にも、簡略化の点でも非常に効果が
あり、また、オンラインモニターで演算途中の結果がわ
かるので、プラント監視の点においても、プラントの異
常が早期に発見できるという効果がある。したがって稼
動率も向上する。As described above, according to the present invention, the simulation function allows logical program bugs to be discovered before downloading to each PCS, so there is no need to install a PO2 dedicated to debugging in each plant, and the user It is very effective in terms of economy and simplification, and since the results of calculations can be seen on the online monitor, it is also effective in terms of plant monitoring, in that abnormalities in the plant can be detected at an early stage. Therefore, the operating rate also improves.
第1図は本発明の一実施例を示すブロック図、第2図は
第1図の動作手順を示すフローチャート、第3図は第2
図のシミュレーション画面およびオンラインモニターを
示す説明図、第4図は本発明を説明するためのループス
ケッチを示す図、第5図は第4図のループスケッチをシ
ミュレーションまたはオンラインモニターした場合の説
明図である。
1・・・CPSl、2・・・CPS2.3・・・CPS
n、10・・・POC,11・・・CRT、12・・・
キーボード。FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a flowchart showing the operating procedure of FIG. 1, and FIG.
FIG. 4 is an explanatory diagram showing the simulation screen and online monitor in FIG. be. 1...CPSl, 2...CPS2.3...CPS
n, 10...POC, 11...CRT, 12...
keyboard.
Claims (1)
することにより、直接ディジタル制御やシーケンス制御
を行なうプラントコントロールユニット(以下PCSと
略す)とプラントの運転監視を行うマンマシンインター
フェースであるオペレータズコンソールステーシヨン(
以下POCと略す)と分散設置した各前記PCSから送
信されるプロセスデータを表示するCRTと前記PCS
に対し、設定値の変更、ループステータスの変更等を行
なうキーボードより成るプラント監視装置において前記
キーボードより制御用簡易プログラムを作成できること
を特徴とするプラント監視方法。 2、作成した前記制御用簡易プログラムの構文の誤りを
チェックできるコンパイラ機能を付加したことを特徴と
する特許請求の範囲第1項記載のプラント監視方法。 3、前記POC内にシミュレーション機能を付加するこ
とにより、前記PCSにダウンローディングする前に前
記制御用簡易プログラムの論理的な誤りを前記CRTに
より確認できることを特徴とする特許請求の範囲第1項
記載のプラント監視方法。 4、前記制御用簡易プログラムを前記PCSにダウンロ
ーディング後、前記CRTでオンラインモニタできるこ
とを特徴とする特許請求の範囲第1項記載のプラント監
視方法。[Claims] 1. A plant control unit (hereinafter abbreviated as PCS) that performs direct digital control or sequence control by outputting calculation results to the plant based on set conditions, and a man-machine that monitors the operation of the plant. Operator's console station (interface)
(hereinafter abbreviated as POC), a CRT that displays process data sent from each of the PCSs installed in a distributed manner, and the PCSs.
In contrast, in a plant monitoring device comprising a keyboard for changing set values, loop status, etc., a simple control program can be created using the keyboard. 2. The plant monitoring method according to claim 1, further comprising a compiler function that can check for errors in the syntax of the created simple control program. 3. By adding a simulation function to the POC, logical errors in the simple control program can be confirmed on the CRT before downloading to the PCS. plant monitoring methods. 4. The plant monitoring method according to claim 1, wherein after downloading the simple control program to the PCS, online monitoring can be performed on the CRT.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62312005A JPH01154204A (en) | 1987-12-11 | 1987-12-11 | Plant monitor method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62312005A JPH01154204A (en) | 1987-12-11 | 1987-12-11 | Plant monitor method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01154204A true JPH01154204A (en) | 1989-06-16 |
Family
ID=18024059
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62312005A Pending JPH01154204A (en) | 1987-12-11 | 1987-12-11 | Plant monitor method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01154204A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0362202A (en) * | 1989-07-31 | 1991-03-18 | Japan Electron Control Syst Co Ltd | Control program development device |
| JP2013003795A (en) * | 2011-06-15 | 2013-01-07 | Hitachi Ltd | Set value management device, set value management method and program |
-
1987
- 1987-12-11 JP JP62312005A patent/JPH01154204A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0362202A (en) * | 1989-07-31 | 1991-03-18 | Japan Electron Control Syst Co Ltd | Control program development device |
| JP2013003795A (en) * | 2011-06-15 | 2013-01-07 | Hitachi Ltd | Set value management device, set value management method and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5522036A (en) | Method and apparatus for the automatic analysis of computer software | |
| US6658649B1 (en) | Method, apparatus and article of manufacture for debugging a user defined region of code | |
| US20060064677A1 (en) | Debugger and method for debugging computer programs across multiple programming languages | |
| US6275955B1 (en) | Diagnostic software for facilitating flowchart programming | |
| US5973687A (en) | Graphical distributed make tool methods apparatus and computer program products | |
| US5854925A (en) | Automatic bug locator for automatically locating bugs through interaction with an operator | |
| JPH0748182B2 (en) | Program error detection method | |
| JPH01154204A (en) | Plant monitor method | |
| EP0801348A1 (en) | Method of monitoring the operation of a computer | |
| JPH07295858A (en) | Image processing apparatus and parallel computer debug processing method | |
| JP2802128B2 (en) | Program development equipment | |
| JP2659366B2 (en) | Debugging method and device | |
| KR19990061516A (en) | How to execute debugging command in electronic exchange | |
| EP1043660B1 (en) | Fail-safe automation system | |
| JPH06242943A (en) | Source code level debugging device | |
| JPH079008B2 (en) | Operation method of knowledge engineering system in blast furnace operation management | |
| JPS61296440A (en) | Microcomputer debugging support system | |
| JPS63247842A (en) | Evaluation system for test program | |
| JPH03242736A (en) | Abnormality processing system | |
| JPH01177137A (en) | Computer execution diagnostic device | |
| JPH03263129A (en) | Compiler/debugger method | |
| JPH0410139A (en) | Dynamic bug detecting system using knowledge base | |
| JPS6381505A (en) | Sequencer simulator | |
| Norvell | So, You Want to Test Your Compiler? | |
| JPS58121461A (en) | Debugging device for diagnostic program |