JPH01136212A - Test system for sequence control program - Google Patents

Test system for sequence control program

Info

Publication number
JPH01136212A
JPH01136212A JP62295529A JP29552987A JPH01136212A JP H01136212 A JPH01136212 A JP H01136212A JP 62295529 A JP62295529 A JP 62295529A JP 29552987 A JP29552987 A JP 29552987A JP H01136212 A JPH01136212 A JP H01136212A
Authority
JP
Japan
Prior art keywords
program
sequence
test
master
master sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62295529A
Other languages
Japanese (ja)
Other versions
JP2640477B2 (en
Inventor
Koichi Kawaguchi
幸一 川口
Tetsuo Sato
哲夫 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62295529A priority Critical patent/JP2640477B2/en
Publication of JPH01136212A publication Critical patent/JPH01136212A/en
Application granted granted Critical
Publication of JP2640477B2 publication Critical patent/JP2640477B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Polymerisation Methods In General (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To improve the efficiency of a test work by obtaining the input of an imaged test as a moving condition to the next test index when there is a program not to be prepared in the programs to belong to a low order hierarchy during the test. CONSTITUTION:A process control system has a processor 10, an external storage 10, a man-machine interface device 14 and a process input and output device 16 and this system is connected to a plant facility 20. This processor 10 is composed of a microcomputer to have a CPU, a ROM and a RAM, etc., and the processor has a CRT display. In a master sequence control system, a programming and supervision are approached from the high order hierarchy and the low order hierarchy in the program. Thus, when there is the unprepared program in the programs to belong to the lower order hierarchy than the program for master sequence during the test, the input of the test result at a time this program is imaged to be prepared is stimulated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はシーケンス制御プログラムのテスト方式に係り
、特に、計算機を用いたプロセス制御システムにおいて
シーケンス制御プログラムのテストを行なうに好適なシ
ーケンス制御プログラムのテスト方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a test method for a sequence control program, and particularly to a method for testing a sequence control program in a process control system using a computer. Regarding the test method.

〔従来の技術〕[Conventional technology]

計算機を用いたプロセス制御システムにおいては、プロ
グラムの記述方式として、リレーロジック方式、デイシ
ジョンテーブル方式、マクロ記述方式の3方式が多く用
いられていた。
In process control systems using computers, three methods are often used to write programs: a relay logic method, a decision table method, and a macro description method.

リレーロジック方式は、第2図に示されるように、リレ
ーとレジスタと接点との組合せによるラダー線図によっ
て動作ロジックを記述する方式であり、プログラマブル
コントローラを主な適用対象として用いられている。デ
イシジョンテーブル方式は、プロセスコントローラに多
く用いられる方式であり、第3図に示されるように、各
シーケンスステップにおいて各機器(バルブVOOI。
As shown in FIG. 2, the relay logic method is a method in which operational logic is described by a ladder diagram of combinations of relays, registers, and contacts, and is mainly used for programmable controllers. The decision table method is a method often used in process controllers, and as shown in FIG.

VOO2,ポンプPo1o)の動作状態を規定する方式
である。又、マクロ記述方式は計算機を用いた多くのシ
ステムで用いられ、第4図に示されるように、シーケン
スの動作順序を手続き言語風に記述する方式である。
This method defines the operating state of VOO2, pump Po1o). Furthermore, the macro description method is used in many systems using computers, and as shown in FIG. 4, it is a method for describing the sequence operation order in a procedural language style.

これら3方式にはそれぞれ一長一短があるが、バッチプ
ロセス制御システムには、記述内容を工夫することによ
りきめ細かな制御ができるマクロ記述方式が多く用いら
れている。しかし、このマクロ記述方式においても、現
在の実行状態をオペレータに知らせるための監視機能が
十分とは言えず少なからぬ問題があった。この問題点を
解決する方式として、第5図に示されるようなマスタシ
ーケンス管理方式が提案された。この方式は、マスタシ
ーケンスのバッチを構成する各工程の実行順序をボック
ス(箱)Bl、B2・・・・・・Bnの並びで定義し、
さらに各工程の詳細であるサブマスタシーケンスの実行
順序を同じくボックスの並びで記述する。そしてサブマ
スタシーケンスの工程の詳細はマクロ記述方式によって
記述する方式を採用している。この方式においては、実
行中のボックスにトークンを表示することによりオペレ
ータに動作状況を一目で知らせることができるようにさ
れている。このため、マスタシーケンス管理方式は、従
来のマクロ記述方式の欠点を補うものとして、特にバッ
チプロセス制御システムにおいては有効なものとして利
用することができる。
Each of these three methods has its advantages and disadvantages, but macro description methods are often used in batch process control systems because they allow fine-grained control by devising the description content. However, even in this macro description method, the monitoring function for informing the operator of the current execution state is not sufficient, and there are considerable problems. As a method for solving this problem, a master sequence management method as shown in FIG. 5 has been proposed. In this method, the execution order of each process constituting a batch of master sequence is defined as a sequence of boxes Bl, B2...Bn,
Furthermore, the execution order of the submaster sequence, which is the details of each process, is also described using the same arrangement of boxes. The details of the submaster sequence process are described using a macro description method. In this method, the operator can be informed of the operating status at a glance by displaying a token on the box being executed. Therefore, the master sequence management method can be used effectively, especially in a batch process control system, to compensate for the drawbacks of the conventional macro description method.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記マスタシーケンス管理方式では、プログラミング及
び監視においては、マスタシーケンス。
In the above master sequence management method, the master sequence is used for programming and monitoring.

サブマスタシーケンス、ユニットシーケンスの順で、即
ち、プログラムの上位階層から下位階層の順でアプロー
チができるものの、プログラムのテスト段階では、下位
階層のプログラムが未作成のときには上位階層から下位
階層へのプログラムのテストを実行することができず、
下位階層から上位階層への順でテストを実行しなければ
ならなかった。このため、マスタシーケンスのプログラ
ムが全て作成済みの場合でも、サブマスタシーケンスや
ユニットシーケンスのプログラムに未作成のものがある
ときには、プログラム開発時のプログラムテストを効率
良く行なうことができず、テスト作業の効率を高めるこ
とができなかった。
Although it is possible to approach the program in the order of submaster sequence and unit sequence, that is, from the upper hierarchy to the lower hierarchy, in the program testing stage, if the lower hierarchy program has not been created, the program is approached from the upper hierarchy to the lower hierarchy. I am unable to run the test for
Tests had to be executed in order from lower level to higher level. Therefore, even if all master sequence programs have been created, if there are submaster sequence or unit sequence programs that have not yet been created, program testing during program development cannot be carried out efficiently, and testing work can be delayed. It was not possible to increase efficiency.

本発明の目的は、シーケンス制御プログラムの上位階層
から下位階層へのテストを実行することができるシーケ
ンス制御プログラムのテスト方式を提供することにある
SUMMARY OF THE INVENTION An object of the present invention is to provide a test method for a sequence control program that is capable of testing a sequence control program from an upper layer to a lower layer.

〔問題点を解決するための手段〕[Means for solving problems]

前記目的を達成するために、本発明は、シーケンス制御
プログラムの上位階層に属するプログラムであって、シ
ーケンス全体の動作順序を特定するマスタシーケンス用
プログラムに従ってマスタシーケンスの各工程の内容に
関するテストを順次実行し、マスタシーケンスの工程の
内容をテスト中に、マスタシーケンス用プログラムより
も下位階層に属するプログラムに未作成のものがあると
きには、該未作成のプログラムが作成されたものとして
想定したときのテスト結果の入力を、少なくとも次のテ
スト項目への移行条件とするシーケンス制御プログラム
のテスト方式を構成したものである。
In order to achieve the above object, the present invention is a program belonging to an upper layer of a sequence control program, and sequentially executes a test regarding the content of each step of a master sequence according to a master sequence program that specifies the operation order of the entire sequence. However, when testing the content of the master sequence process, if there is an uncreated program belonging to a lower hierarchy than the master sequence program, the test result will be calculated assuming that the uncreated program has been created. This is a test method for a sequence control program that uses the input of the following as at least a condition for transitioning to the next test item.

〔作用〕[Effect]

マスタシーケンス用プログラムに従ってマスタシーケン
スの各工程の内容に関するテストを順次実行する。そし
てテスト中に、マスタシーケンス用プログラムよりも下
位階層に属するプログラムに未作用のものがあるときに
は、該未作成のプログラムが作成されたものとして想定
したときのテスト結果の入力を促す。そしてこのテスト
結果の入力されたこ′とを、少なくとも次のテスト項目
への移行条件として次の工程の内容に関するテストを実
行する。
Tests regarding the contents of each step of the master sequence are sequentially executed according to the master sequence program. During the test, if there is an unacted program belonging to a lower hierarchy than the master sequence program, the user is prompted to input a test result assuming that the uncreated program has been created. Then, the input of this test result is used as a condition for transitioning to at least the next test item, and a test regarding the contents of the next process is executed.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第6図において、プロセス制御システムは処理装置10
.外部記憶装置12.マンマシンインタフェイス装置1
4.プロセス入出力装置16を有し、各装置がパスライ
ン18で接続され、プロセス入出力装置16がプラント
設備20に接続されている。
In FIG. 6, the process control system includes a processing device 10.
.. External storage device 12. Man-machine interface device 1
4. It has a process input/output device 16, each device is connected by a pass line 18, and the process input/output device 16 is connected to the plant equipment 20.

処理装置11はCPU、ROM、RAMなどを有するマ
イクロコンピュータで構成されている。
The processing device 11 is composed of a microcomputer having a CPU, ROM, RAM, etc.

マンマシンインタフェイス装置14はCRTデイスプレ
ィ、各種の操作ボタンなどを有し、オペレータの操作に
より各種のデータを入力できるようになっている。
The man-machine interface device 14 has a CRT display, various operation buttons, etc., and allows various data to be input by an operator's operation.

例えば、プラント設備20を塩化ビニール重合プラント
に適応した場合、第7図に示されるように、原料(モノ
マ)などを準備するための準備工程SL、反応が市内に
水を給水するための水仕込工程S2.反応がま内に助剤
を投入するための助剤仕込工程S3.反応がま内に原料
を投入する原料仕込工程S4.反応がま内の原料を撹拌
機によって撹拌する撹拌工程85.熱水によって反応が
ま内の温度を上げる昇温工程S6.反応がま内に触媒を
投入する触媒仕入工程S7.触媒投入後の重合工程S8
.重合を停止させるための重合停止工程S9.原料から
製品にならないものを回収するための回収工程SIO,
J7X料から製品(ポリマ)を抜き出すための抜き出し
工程812の各工程の実行順序をプログラミングする場
合、第7図に示すバッチを構成するマスタシーケンスの
各工程の実行順序をボックスの並びで定義することがで
きるようになっている。そして定義された内容はシーケ
ンス制御プログラムの上位下位層に属するプログラムで
あって、シーケンス全体の動作順序を特定するマスタシ
ーケンス用プログラムとして外部記憶装置12に格納さ
れる。
For example, when the plant equipment 20 is adapted to a vinyl chloride polymerization plant, as shown in FIG. Preparation process S2. Auxiliary agent charging step S3 for charging the auxiliary agent into the reaction vessel. Raw material charging step S4 of charging raw materials into the reaction vessel. Stirring step 85. Stirring the raw materials in the reaction vessel using a stirrer. Temperature raising step S6 to raise the temperature inside the reaction vessel using hot water. Catalyst purchasing step S7 of charging the catalyst into the reaction vessel. Polymerization step S8 after adding catalyst
.. Polymerization termination step S9 to terminate polymerization. Recovery process SIO to recover materials that cannot be turned into products from raw materials,
When programming the execution order of each process in the extraction process 812 for extracting the product (polymer) from the J7X material, the execution order of each process of the master sequence configuring the batch shown in FIG. 7 should be defined by the arrangement of boxes. is now possible. The defined contents are programs belonging to the upper and lower layers of the sequence control program, and are stored in the external storage device 12 as a master sequence program that specifies the operating order of the entire sequence.

又、水仕込工程S2の詳細工程が、第8図に示されるよ
うに、条件チェック工程S21.水仕込ユニットシーケ
ンス工程S22.実績データ収集工程S23で表わされ
るときには、これらの内容もオペレータの操作によって
定義され、サブマスタシーケンス用プログラムとして外
部記憶装置12に格納される。又、水仕込ユニットシー
ケンス工程S22の詳細については、マクロ記述方式に
よって定義されるようになっている。
Further, the detailed steps of the water preparation step S2 are as shown in FIG. 8, including the condition checking step S21. Water preparation unit sequence step S22. When represented in the performance data collection step S23, these contents are also defined by the operator's operations and stored in the external storage device 12 as a sub-master sequence program. Further, details of the water preparation unit sequence step S22 are defined by a macro description method.

オペレータの操作によって各種のプログラミングが行な
われたあと、オペレータの操作により、第9図に示され
るように、CR7画面22上にマスタシーケンスの各工
程の内容が画像表示されるようになっている。このとき
、CR7画面22上には、「詳細」、「パラメータ」、
「実績データ」。
After various programming is performed by the operator's operations, the details of each step of the master sequence are displayed as images on the CR7 screen 22, as shown in FIG. 9, by the operator's operations. At this time, "Details", "Parameters",
"Actual data".

「モード」の文字が表示されるようになっており、オペ
レータが「水仕込」のボックスの部位をポインティング
した後「パラメータ」の部位をポインティングすると、
第10図に示されるように、CRT画面22の下部にウ
ィンドウが切られ、このウィンドウの部分に水仕込パラ
メータの内容が画像表示されるようになっている。又さ
らに「詳細」の部位にポインティングを行なうと、第1
1図に示すように、水仕込工程の詳細が画像表示される
ようになっている。
The word "mode" is displayed, and when the operator points to the part in the "water preparation" box and then points to the part in the "parameter" box,
As shown in FIG. 10, a window is cut at the bottom of the CRT screen 22, and the contents of the water preparation parameters are displayed as an image in this window. Furthermore, if you point to the "Details" part, the first
As shown in Figure 1, details of the water preparation process are displayed as images.

又、CR7画面22上に各工程のボックスが画像表示さ
れたときには、各ボックスの動作状態が色によって表示
されるようになっている0例えば、ボックスの表示色が
青色のときには未実行状態を示し、緑色のときには実行
中の状態を示し、赤色のときには異常処理中を示し、黄
色のときには実行完了を示すようになっている。
Also, when the boxes of each process are displayed as images on the CR7 screen 22, the operating status of each box is displayed by color.For example, when the display color of the box is blue, it indicates an unexecuted status. When it is green, it indicates that it is being executed, when it is red, it is indicating that an abnormality is being processed, and when it is yellow, it indicates that execution has been completed.

又、外部記憶装置12は、複数のファイル24゜26.
28などを有し、マスタシーケンス用プログラム、サブ
マスタシーケンス用プログラム、ユニットシーケンス用
プログラムのうち開発中のプログラムがファイル24に
格納され、オンライン中のプログラムがファイル26に
格納されるようになっている。又、ファイル28には、
マスタシーケンスプログラムに基づいて、バッチを構成
する各工程の内容を画像表示するための処理及びオペレ
ータの操作(起動要求、停止要求)などに従った処理を
行なうためのマスタシーケンス管理システム用プログラ
ム28Aと、サブマスタシーケンス用プログラムに従っ
てサブマスタシーケンスの各工程の実行、条件チエツク
などを行なうためのボックス解読実行ルーチン用プログ
ラム28Bと、ユニットシーケンス用プログラムに従っ
てユニットシーケンスのマクロ記述の内容を解読するた
めのマクロ記述解読実行ルーチン用プログラム28Cが
格納されている。そして処理装置10はファイル28中
に格納されたプログラムに従って各種の処理を実行する
ようになっている。
The external storage device 12 also stores a plurality of files 24, 26, .
28, etc., and among the master sequence program, submaster sequence program, and unit sequence program, programs under development are stored in file 24, and programs currently online are stored in file 26. . Also, in file 28,
A master sequence management system program 28A for performing processing for displaying images of the contents of each process constituting a batch and processing according to operator operations (start request, stop request), etc. based on the master sequence program; , a box decoding execution routine program 28B for executing each step of the submaster sequence, checking conditions, etc. according to the submaster sequence program, and a macro for decoding the contents of the macro description of the unit sequence according to the unit sequence program. A program 28C for a description decoding execution routine is stored. The processing device 10 is configured to execute various processes according to the programs stored in the file 28.

又、外部記憶装置12は、プログラムの作成状況及びテ
スト状況を管理するために、第13図及び14図に示さ
れるように、工程詳細管理用のファイル30.ユニット
シーケンス管理用のファイル32を有し、オペレータに
よって各工程の内容がプログラミングされたときには、
作成の項目に「済」のデータが格納され、プログラムが
未作成のときには「未」のデータが格納されるようにな
っている。又、テスト項目には、プログラムのテストが
行われたときに、オペレータの操作に従って「済」のデ
ータが格納され、テストが完了してないときには「未」
のデータが格納されるようになっている。又、このファ
イル30.32の内容はオペレータの操作によってCR
T画面22上に画像表示されるようになっている。
In addition, the external storage device 12 stores process detail management files 30. to 12, as shown in FIGS. 13 and 14, in order to manage the program creation status and testing status. It has a file 32 for unit sequence management, and when the contents of each process are programmed by an operator,
"Done" data is stored in the creation item, and "unfinished" data is stored when the program has not been created. In addition, when a program test is performed, "completed" data is stored in the test item according to the operator's operation, and "uncompleted" data is stored when the test is not completed.
data is now stored. Also, the contents of this file 30.32 are CR by the operator's operation.
The image is displayed on the T screen 22.

以上の構成において、オペレータの操作によってプログ
ラムのテストが指令されると、処理装置10は、ファイ
ル24.28のプログラムの内容を取り込み、マスタシ
ーケンスの各工程の内容に関するテストを順次実行する
。即ち、第7図に示される工程S1から順次工程の内容
を実行する。
In the above configuration, when a program test is commanded by an operator's operation, the processing device 10 takes in the contents of the program in the files 24 and 28 and sequentially executes a test regarding the contents of each step of the master sequence. That is, the contents of the steps are executed sequentially from step S1 shown in FIG.

このとき、各工程のテスト結果はプラント設備2oから
プロセス入力装置16を介して処理装置1oに取り込ま
れ、CRT画面22上に画像表示される。
At this time, the test results of each process are taken into the processing device 1o from the plant equipment 2o via the process input device 16, and are displayed as images on the CRT screen 22.

各工程のテストを実行中1例えば、第1図に示されるよ
うに、ファイル30の情報から水仕込工程S2の詳細工
程のプログラムが未作成のときには(ステップ100)
、処理装置10からの指令により、第15図に示される
ように、CRT画面22にウィンドウが切られ、このウ
ィンドウの部分に水仕込工程の想定テスト結果を入力す
るためのエリアが形成される。即ち、未作成のプログラ
ムが作成されたものとして想定したときのテスト結果を
入力するための領域が形成される(ステップ101)。
Executing a test for each process 1 For example, as shown in FIG. 1, if the program for the detailed process of the water preparation process S2 has not been created from the information in the file 30 (step 100)
In response to a command from the processing device 10, a window is opened on the CRT screen 22, as shown in FIG. 15, and an area for inputting the expected test results of the water preparation process is formed in this window. That is, an area is formed for inputting test results assuming that a program that has not yet been created has been created (step 101).

このときオペレータが想定テスト結果として、仕込量、
仕込時間、異常発生回数などのデータを入力し、オペレ
ータがテスト済の操作を行なうと、次の工程の内容をテ
ストするための処理に移行する。
At this time, the operator determines the amount of preparation as expected test results.
When the operator inputs data such as the preparation time and the number of abnormalities and performs the tested operations, the process shifts to testing the contents of the next process.

一方、水仕込工程S2の詳細工程が作成済の場合には、
条件チエツク工程S21の動作確認のためのテストが実
行され(ステップ102)、水仕込ユニットシーケンス
工程S22が作成済か否かの判定を行なう(ステップ1
03)。そしてファイル32の情報からユニットシーケ
ンス工程s2の詳細が未作成と判定されたときには、C
RT画面22に再びウィンドウが切られ、このウィンド
ウの部分に想定テスト結果を入力するための領域が形成
される。そしてこの想定テスト結果をオペレータが入力
し、オペレータがテスト済の操作を行なうと、次の処理
に移行する(ステップ104)。
On the other hand, if the detailed process of water preparation process S2 has been created,
A test is performed to confirm the operation of the condition check step S21 (step 102), and it is determined whether the water preparation unit sequence step S22 has been created (step 1).
03). Then, when it is determined from the information in the file 32 that the details of the unit sequence step s2 have not been created, C
A window is opened again on the RT screen 22, and an area for inputting expected test results is formed in this window portion. When the operator inputs this assumed test result and performs the tested operation, the process moves to the next step (step 104).

水仕込ユニットシーケンス工程22が作成済のときには
、このユニットシーケンスの動作確認が行なわれ(ステ
ップ105)、実績データ収集工程323のテストが行
なわれる(ステップ106)。
When the water preparation unit sequence step 22 has been created, the operation of this unit sequence is checked (step 105), and the performance data collection step 323 is tested (step 106).

このあとオペレータによって水仕込工程S2のテスト結
果がOKとして判断されたときには、オペレータによっ
てテスト済フラグの設定が行なわれ、次の工程のテスト
を実行する。
After this, when the operator determines that the test result of the water preparation step S2 is OK, the operator sets a test completion flag and executes the test of the next step.

このように1本実施例においては、マスタシーケンスの
工程の内容をテスト中に、マスタシーケンス用プログラ
ムよりも下位階層に属するプログラムに未作成のものが
あるときには、想定テスト結果の入力を、少なくとも次
のテスト項目への移行条件としたため、シーケンス制御
プログラムの上位階層から下位階層へのテストを実行す
ることができ、テスト作業の効率の向上に寄与すること
ができる。又上位階層から下位階層へのテス1〜が実行
できるので、テスト項目の漏れをなくすことができ、ソ
フトウェアの信頼性の向上に寄与することもできる。
In this way, in this embodiment, when testing the contents of a master sequence process, if there is an uncreated program belonging to a lower hierarchy than the master sequence program, input of expected test results is performed at least in the next step. Since the condition for transition to the test item is set as the condition, it is possible to execute the test from the upper layer to the lower layer of the sequence control program, which can contribute to improving the efficiency of testing work. Moreover, since tests 1 to 1 can be executed from the upper layer to the lower layer, it is possible to eliminate omission of test items and contribute to improving the reliability of the software.

又、本実施例においては、プログラムの内容を開発中の
ファイルとオンライン中のファイルとに分けて格納した
ため、テスト中に誤ってオンラインによる運転が行なわ
れることはなく、ソフトウェアの信頼性の向上を図るこ
ともできる。
In addition, in this embodiment, the contents of the program are stored separately in the files being developed and the files being online, so there is no chance of accidentally running the program online during testing, which improves the reliability of the software. You can also try it out.

又、オンライン中に工程を追加する場合、例えば、第1
6図に示されるように、助剤仕込工程S3の他に助剤仕
込工程S13を追加する場合でも、オペレータの操作に
よって助剤仕込工程S13の内容をボックスで定義する
ことができ、また助剤仕込工程S13の詳細工程の内容
は、第17図に示されるように、オペレータの操作によ
って各工程5131,5132,5133をボックスで
定義することができる。
Also, when adding a process while online, for example, the first
As shown in Figure 6, even when adding an auxiliary agent preparation process S13 to the auxiliary agent preparation process S3, the contents of the auxiliary agent preparation process S13 can be defined in a box by the operator's operation, and the auxiliary agent The detailed process contents of the preparation process S13 can be defined by boxes for each process 5131, 5132, and 5133 by an operator's operation, as shown in FIG.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、マスタシーケン
スの工程の内容をテスト中に、マスタシーケンス用のプ
ログラムよりも下位階層に属するプログラムに未作成の
ものがあるときには、想定テスト結果の入力を、少なく
とも次のテスト項目への移行条件としたため、マスタシ
ーケンス用プログラムよりも下位階層に属するプログラ
ムに未作成のものがあるときでも、シーケンス制御プロ
グラムの上位階層から下位階層へのテストを実行するこ
とができ、テスト作業の効率の向上に寄与することがで
きる。
As explained above, according to the present invention, when testing the contents of a master sequence process, if there are uncreated programs belonging to a lower hierarchy than the master sequence program, input of assumed test results is performed. , at least as a condition for moving to the next test item, so even if there are uncreated programs belonging to a lower hierarchy than the master sequence program, the test from the upper hierarchy to the lower hierarchy of the sequence control program can be executed. This can contribute to improving the efficiency of test work.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係る処理方式を説明するためのフロー
チャート、第2図はリレーロジック方式の記述例を示す
図、第3図はデイシジョンテーブル方式の記述例を示す
図、第4阿はマクロ記述方式の記述例を示す図、第5図
はマスタシーケンス管理方式の記述例を示す図、第6図
は本発明が適用されたシステムの構成図、第7図はマス
タシーケンスの説明図、第8図はサブマスタシーケンス
の説明図、第9図はマスタシーケンスの画像表示例を示
す図、第10図はマスタシーケンスのパラメータ画像の
表示例を示す図、第11図は工程詳細の画像表示例を示
す図、第12図は第6図に示すシステムに適用されたソ
フトウェアの構成図。 第13図は工程詳細管理ファイルの構成説明図、第14
図はユニットシーケンス管理ファイルの構成説明図、第
15図は想定テスト結果の画像表示例を示す図、第16
図は工程追加時の画像表示例を示す図、第17図は追加
工程の詳細を説明するための図である。 10・・・処理装置、12・・・外部記憶装置、14・
・・マンマシンインタフェイス装置、16・・・プロセ
ス入出力装置、20・・・プラント設備。
FIG. 1 is a flowchart for explaining the processing method according to the present invention, FIG. 2 is a diagram showing a description example of the relay logic method, FIG. 3 is a diagram showing a description example of the decision table method, and FIG. 5 is a diagram showing a description example of the macro description method, FIG. 5 is a diagram showing a description example of the master sequence management method, FIG. 6 is a configuration diagram of a system to which the present invention is applied, and FIG. 7 is an explanatory diagram of the master sequence. , Fig. 8 is an explanatory diagram of the sub-master sequence, Fig. 9 is a diagram showing an example of displaying an image of the master sequence, Fig. 10 is a diagram showing an example of displaying the parameter image of the master sequence, and Fig. 11 is an image of process details. FIG. 12 is a diagram showing a display example, and FIG. 12 is a configuration diagram of software applied to the system shown in FIG. 6. Figure 13 is an explanatory diagram of the structure of the detailed process management file, Figure 14
The figure is an explanatory diagram of the structure of the unit sequence management file, Figure 15 is a diagram showing an example of an image display of assumed test results, and Figure 16
The figure is a diagram showing an example of an image display when adding a process, and FIG. 17 is a diagram for explaining details of the additional process. 10... Processing device, 12... External storage device, 14.
...Man-machine interface device, 16...Process input/output device, 20...Plant equipment.

Claims (1)

【特許請求の範囲】[Claims] 1、シーケンス制御プログラムの上位階層に属するプロ
グラムであつて、シーケンス全体の動作順序を特定する
マスタシーケンス用プログラムに従つてマスタシーケン
スの各工程の内容に関するテストを順次実行し、マスタ
シーケンスの工程の内容をテスト中に、マスタシーケン
ス用プログラムよりも下位階層に属するプログラムに未
作成のものがあるときは、該未作成のプログラムが作成
されたものとして想定したときのテスト結果の入力を、
少なくとも次のテスト項目への移行条件とすることを特
徴とするシーケンス制御プログラムのテスト方式。
1. A program belonging to the upper hierarchy of the sequence control program, which specifies the operating order of the entire sequence. Tests regarding the contents of each process of the master sequence are executed in sequence according to the master sequence program, which specifies the operating order of the entire sequence. When testing, if there is an uncreated program belonging to a lower hierarchy than the master sequence program, enter the test result assuming that the uncreated program has been created.
A test method for a sequence control program characterized by using at least a transition condition to the next test item.
JP62295529A 1987-11-24 1987-11-24 Test method of sequence control program Expired - Fee Related JP2640477B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62295529A JP2640477B2 (en) 1987-11-24 1987-11-24 Test method of sequence control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62295529A JP2640477B2 (en) 1987-11-24 1987-11-24 Test method of sequence control program

Publications (2)

Publication Number Publication Date
JPH01136212A true JPH01136212A (en) 1989-05-29
JP2640477B2 JP2640477B2 (en) 1997-08-13

Family

ID=17821804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62295529A Expired - Fee Related JP2640477B2 (en) 1987-11-24 1987-11-24 Test method of sequence control program

Country Status (1)

Country Link
JP (1) JP2640477B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5569808A (en) * 1978-11-21 1980-05-26 Toyoda Mach Works Ltd Numerical controller
JPS5760406A (en) * 1980-09-29 1982-04-12 Ibm Method and device for controlling machine
JPS58114202A (en) * 1981-12-28 1983-07-07 Matsushita Electric Works Ltd Programming circuit
JPS62108338A (en) * 1985-11-06 1987-05-19 Omron Tateisi Electronics Co Program testing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5569808A (en) * 1978-11-21 1980-05-26 Toyoda Mach Works Ltd Numerical controller
JPS5760406A (en) * 1980-09-29 1982-04-12 Ibm Method and device for controlling machine
JPS58114202A (en) * 1981-12-28 1983-07-07 Matsushita Electric Works Ltd Programming circuit
JPS62108338A (en) * 1985-11-06 1987-05-19 Omron Tateisi Electronics Co Program testing device

Also Published As

Publication number Publication date
JP2640477B2 (en) 1997-08-13

Similar Documents

Publication Publication Date Title
US5644487A (en) Monitoring and control system and method
JP3234077B2 (en) Plant operation simulator and plant operation simulation method using artificial intelligence
JP5254943B2 (en) Batch processing system
EP0423287B1 (en) Batch process control using expert systems
US6735764B2 (en) Automatic machine application program development system and computer product
JP3462842B2 (en) Process control method, process control device, process control system, and recording medium recording program for executing process control method
Alvarez et al. A novel approach for supporting the development cycle of automation systems
US9495265B2 (en) Test executive system with processing of results data in chunks
US6275955B1 (en) Diagnostic software for facilitating flowchart programming
JP2502179B2 (en) DATABASE SYSTEM AND METHOD OF OPERATING THE SYSTEM
JPH03134709A (en) Method of deciding expression as relay ladder type diagram of command list program
Genrich et al. Verification of recipe-based control procedures by means of predicate/transition nets
CN112861267B (en) Ship MBD information reuse method, system, medium and terminal
CN101403913B (en) Online recipe synchronization in a real-time batch executive environment
JPH01136212A (en) Test system for sequence control program
EP0592072A2 (en) Computerized process control system
Zhou et al. Object-based nonlinear undo model
CN110851516B (en) Host operation control system and method
JPH1049206A (en) Sequence control generating device
US7065413B2 (en) Method for producing software for controlling mechanisms and technical systems
KR101303866B1 (en) Method of monitoring substrate processing apparatus
JPH06222922A (en) Expert system
JPS63240602A (en) Abnormality diagnosing device for sequence controller
JP2002268713A (en) Controller for batch plant and its method
JP2555018B2 (en) Method and apparatus for controlling plant

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees