JP2908003B2 - Controlled program evaluation system - Google Patents

Controlled program evaluation system

Info

Publication number
JP2908003B2
JP2908003B2 JP2320072A JP32007290A JP2908003B2 JP 2908003 B2 JP2908003 B2 JP 2908003B2 JP 2320072 A JP2320072 A JP 2320072A JP 32007290 A JP32007290 A JP 32007290A JP 2908003 B2 JP2908003 B2 JP 2908003B2
Authority
JP
Japan
Prior art keywords
function
option
card
mode
specific function
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.)
Expired - Lifetime
Application number
JP2320072A
Other languages
Japanese (ja)
Other versions
JPH04195229A (en
Inventor
邦一 川嶋
孝行 秋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NIPPON DENKI SOFUTOEA KK
NEC Corp
Original Assignee
NIPPON DENKI SOFUTOEA KK
Nippon Electric Co 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 NIPPON DENKI SOFUTOEA KK, Nippon Electric Co Ltd filed Critical NIPPON DENKI SOFUTOEA KK
Priority to JP2320072A priority Critical patent/JP2908003B2/en
Publication of JPH04195229A publication Critical patent/JPH04195229A/en
Application granted granted Critical
Publication of JP2908003B2 publication Critical patent/JP2908003B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 技術分野 本発明は制御型プログラム評価システムに関し、特に
複数の実行モードを持つ制御型プログラムの評価方式に
関するものである。
Description: TECHNICAL FIELD The present invention relates to a control type program evaluation system, and more particularly to a control type program evaluation method having a plurality of execution modes.

従来技術 従来、制御型プログラムの評価を開始する時に、評価
モードであるか運用モードであるかの実行モードを選択
し、各機能も実行モードに応じたオプションによって評
価を行う。
2. Description of the Related Art Conventionally, when an evaluation of a control-type program is started, an execution mode of an evaluation mode or an operation mode is selected, and each function is also evaluated by an option according to the execution mode.

または、制御型プログラムにシミュレータを組込み制
御型プログラムの評価を行う。
Alternatively, a simulator is incorporated in the control type program to evaluate the control type program.

上記した従来の技術では、機能オプションの組合わせ
が単純で、特定機能のみの評価や機能と機能の関係に矛
盾を持たせた機能オプションの選択ができない。また、
実行モードを変更する場合、制御プログラムを一度終了
してからでないと変更できないという欠点がある。
In the above-described conventional technology, the combination of the function options is simple, and it is not possible to evaluate only a specific function or select a function option having a contradiction in the relationship between functions. Also,
When changing the execution mode, there is a drawback that the control program cannot be changed until the control program is ended once.

発明の目的 本発明の目的は、特定機能のみの評価を可能にすると
供に、特定機能やプログラムの実行モードを変更するこ
とを容易に可能とした制御型プログラムの評価システム
を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an evaluation system for a control-type program that enables only a specific function to be evaluated and easily changes a specific function or an execution mode of a program. .

発明の構成 本発明によれば、複数の実行モードを有する制御型プ
ログラムの評価システムであって、実行モードの選択カ
ード及び特定機能オプションを変更する特定機能オプシ
ョンカードを読込むカード読込み手段と、モード別に設
けられた機能オプションの機能既定値を格納した既定オ
プションテーブルと、前記カード読込み手段により読込
まれたカードを判別するカード解析手段と、前記選択カ
ードで選択されたモードの解析やこの選択モードに対応
して前記既定オプションテーブルを選択するモード解析
手段と、前記選択モードの機能オプションの既定値を前
記既定オプションテーブルから選択して既定オプション
テーブルに設定するモード設定手段と、特定機能のオプ
ションを変更する特定機能オプションカードを解析する
特定機能オプション解析手段と、特定機能オプションや
実行モードを変更するためのコマンドを解析するコマン
ド解析手段と、特定機能オプションカードや前記コマン
ドにより選択された機能のオプションを変更する特定機
能オプション変更手段と、被テスト物件より制御プログ
ラムの機能を選択し、前記機能オプションテーブルを参
照して外部とのインターフェイスを変更する機能選択手
段とを含むことを特徴とする制御型プログラム評価シス
テムが得られる。
According to the present invention, there is provided a control type program evaluation system having a plurality of execution modes, wherein a card reading means for reading an execution mode selection card and a specific function option card for changing a specific function option, and a mode A default option table storing function default values of separately provided function options; card analysis means for determining a card read by the card reading means; analysis of a mode selected by the selected card; Mode analysis means for correspondingly selecting the default option table, mode setting means for selecting a default value of the function option of the selected mode from the default option table and setting the same in the default option table, and changing an option of a specific function Specific function to analyze Option card to analyze An option analyzing means, a command analyzing means for analyzing a command for changing a specific function option or an execution mode, a specific function option changing means for changing an option of a specific function option card or a function selected by the command, and A control type program evaluation system characterized by including a function selecting means for selecting a function of the control program from the test object and changing an interface with the outside by referring to the function option table.

実施例 次に本発明の実施例について図面を参照して詳細に説
明する。
Embodiment Next, an embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例の構成を示すシステムブロッ
ク図である。本実施例のシステムは、モード選択や特定
機能のオプションの変更を指定する入力カード2を読込
むカード読込み処理部1と、読込んだカードを解析する
カード解析処理部3と、カード解析処理部3からの要求
に従ってモード選択カードを解析するモード解析処理部
5と、モード解析処理部5とコマンド解析処理部7と解
析された実行モードに従って、実行モードの機能オプシ
ョンの既定値を予め格納した機能既定オプションテーブ
ル9を参照して当該既定値を機能オプションテーブル11
に設定するモード設定処理部8と、カード解析処理部3
からの要求に従って特定機能オプションカードを解析す
る特定機能オプション解析処理部6と、コンソールや端
末から制御型プログラムを制御するためのコマンドを入
力するコマンド入力処理部4と、入力されたコマンドを
解析するコマンド解析処理部7と、特定機能オプション
解析処理部6とコマンド解析処理部7とにより指定され
た機能のオプションを機能オプションテーブル11に設定
する特定機能オプション変更処理部10と、被テスト物件
12からの制御型プログラムの機能の要求に従って機能を
選択し、機能オプションテーブル11を参照し、外部イン
タフェースを決定する機能選択処理部13と、ディスクへ
のI/O、シミュレータとの通信、コンソールへの出力等
を行う外部インタフェース処理部14とから構成される。
FIG. 1 is a system block diagram showing the configuration of the embodiment of the present invention. The system according to the present embodiment includes a card reading processing unit 1 that reads an input card 2 that specifies a mode selection or an option change of a specific function, a card analysis processing unit 3 that analyzes the read card, and a card analysis processing unit. A mode analysis processing unit 5 for analyzing the mode selection card in accordance with the request from the third unit 3, a function in which default values of the function options of the execution mode are stored in advance according to the mode analysis processing unit 5, the command analysis processing unit 7, and the analyzed execution mode. The default value is referred to the function option table 11 by referring to the default option table 9.
Mode setting processing unit 8 for setting to
A specific function option analysis processing unit 6 for analyzing a specific function option card in accordance with a request from the PC, a command input processing unit 4 for inputting a command for controlling a control-type program from a console or a terminal, and analyzing the input command A command analysis processing unit 7; a specific function option change processing unit 10 for setting options of functions specified by the specific function option analysis processing unit 6 and the command analysis processing unit 7 in the function option table 11;
Select the function according to the request of the function of the control type program from 12 and refer to the function option table 11, determine the external interface, function selection processing unit 13, I / O to disk, communication with simulator, console And an external interface processing unit 14 for performing output and the like.

第2図は、入力カード2であるモードを選択するモー
ド選択カードと特定機能のオプションを変更する特定機
能オプションカードとの各入力形式である。
FIG. 2 shows input formats of a mode selection card for selecting a mode as the input card 2 and a specific function option card for changing an option of a specific function.

第3図は機能既定オプションテーブルの内容であり、
モード毎に機能に対応するオプションの既定値が入って
いる。
FIG. 3 shows the contents of the function default option table.
The default value of the option corresponding to the function is entered for each mode.

ここで既定値について説明すると、複数の実行モード
を有する制御型プログラムの機能には、機能の動作を決
定するモードを複数持っており、すなわち、制御型プロ
グラムを実行する場合、制御型プログラムの持つ機能の
実行モードを全て指定するか、又は機能の組合せのパタ
ーンを制御型プログラムの実行モードとして持つ必要が
あり、そのために、有限個の制御プログラムの実行モー
ドを定め、この実行モードにおける各機能の実行モード
を「機能既定値」としている。
Here, the default value will be described. The function of the control-type program having a plurality of execution modes has a plurality of modes for determining the operation of the function. That is, when the control-type program is executed, the control-type program has It is necessary to specify all the execution modes of the functions or to have a pattern of the combination of functions as the execution mode of the control type program. The execution mode is "function default".

テーブル9はライブラリで管理しているので制御型プ
ログラム実行中にモード変更を行うことができるように
なっている。
Since the table 9 is managed by the library, the mode can be changed during the execution of the control type program.

モード設定処理部8は、入力カード2で選択されたモ
ードにより機能既定オプションテーブル9を参照し機能
オプションテーブル11にオプションを設定するのであ
る。
The mode setting processing unit 8 refers to the function default option table 9 and sets options in the function option table 11 according to the mode selected by the input card 2.

第4図は機能オプションテーブル11の内容であり、各
機能のオプションが格納されている。制御型プログラム
の機能には、OSの制御やコンソール出力等の制御型機能
と、OSのテーブルを参照しシステム情報や時間等の値を
制御型プログラムに返却する値返却型機能の2種類の機
能がある。第4図(A)に制御型機能の機能オプション
テーブルの内容を、第4図(B)に値返却型機能の機能
オプションテーブルの内容を夫々示す。
FIG. 4 shows the contents of the function option table 11, in which options for each function are stored. There are two types of functions of the control type program: a control type function such as OS control and console output, and a value return type function that returns system information, time, and other values to the control type program by referring to the OS table. There is. FIG. 4 (A) shows the contents of the function option table of the control type function, and FIG. 4 (B) shows the contents of the function option table of the value return type function.

第5図は特定機能のオプションや実行モードを変更す
る時のコマンド入力形式である。
FIG. 5 shows a command input format for changing an option of a specific function or an execution mode.

特定機能オプションカードやモード選択カードは、制
御型プログラム起動時に指定するもので、実行中に機能
オプションや実行モードを変更する場合はコマンドを使
用してオプションを変更する。
The specific function option card and the mode selection card are specified when the control type program is started, and when changing the function option or the execution mode during execution, the option is changed using a command.

第6図は被テスト物件より制御型機能が選択された時
の処理の流れである。被テスト物件により通知された機
能がとのような機能であるか機能選択処理61で選択し、
機能オプションテーブル参照処理62によって機能オプシ
ョンを決定する。その後オプションモード選択処理63で
実際の処理を振分ける。
FIG. 6 shows the flow of processing when the control type function is selected from the article under test. In the function selection processing 61, the function notified by the test object is a function like
The function option is determined by the function option table reference processing 62. After that, the actual processing is distributed in the option mode selection processing 63.

この処理としては、実際にOSの制御やコンソール出力
等のOS制御処理64と、シュミレータと通信を行い制御型
機能のシミュレーションを行うシミュレータ通信処理65
とがある。
This processing includes OS control processing 64 for actually controlling the OS and console output, and simulator communication processing 65 for communicating with the simulator and simulating the control type function.
There is.

このOS制御処理64とシミュレータ通信処理65とが終了
した時点で、被テスト物件により選ばれた機能の処理は
終了することになる。
When the OS control processing 64 and the simulator communication processing 65 are completed, the processing of the function selected by the object under test ends.

第7図は被テスト物件により値返却型機能が選択され
た時の処理の流れである。被テスト物件により通知され
た機能がとのような機能であるか機能選択処理71で選択
し、機能オプションテーブル参照処理72によって機能の
オプションを決定する。その後オプションモード選択処
理73で実際の処理を振分ける。
FIG. 7 shows the flow of processing when the value return type function is selected by the article under test. The function notified by the object under test is selected in the function selection processing 71 to determine whether the function is the same as the function described above, and the function option is determined by the function option table reference processing 72. After that, the actual processing is distributed in the option mode selection processing 73.

この処理としては、実際にOSテーブルを参照し値を返
却するOSテーブル参照処理74と、シミュレータと通信を
行いシミュレータ内にあるテーブルを参照し値を返却す
るシミュレータ通信処理75と、機能オプションテーブル
にある値を返却する機能オプションテーブル参照処理76
とがある。
This process includes an OS table reference process 74 that actually refers to the OS table and returns a value, a simulator communication process 75 that communicates with the simulator and refers to a table in the simulator and returns a value, and a function option table. Function option table reference processing to return a certain value 76
There is.

このOSテーブル参照処理74とシミュレータ通信処理75
と機能オプションテーブル参照処理76が終了した時点
で、被テスト物件により選ばれた機能の処理は終了する
ことになる。
This OS table reference processing 74 and simulator communication processing 75
When the function option table reference processing 76 ends, the processing of the function selected by the test object ends.

第8図はカード入力時の処理の流れである。制御型プ
ログラムを実行する場合、制御型プログラム内部に機能
毎の実行モードを格納する機能オプションテーブル(第
4図)を作成するが、制御型プログラムの各機能は、こ
の機能オプションテーブル11を参照して各機能の実行を
決定している。
FIG. 8 shows a flow of processing when inputting a card. When the control type program is executed, a function option table (FIG. 4) for storing an execution mode for each function is created in the control type program. Each function of the control type program refers to this function option table 11. To determine the execution of each function.

この機能オプションテーブル11は制御型プログラムを
実行した直後に作成するもので、制御型プログラムの実
行モード及び特定機能の実行モードを外部入力である人
力カード2により読込み作成する。この機能オプション
テーブル11の作成についての処理の流れが第8図に示さ
れている。
The function option table 11 is created immediately after the execution of the control-type program. The execution mode of the control-type program and the execution mode of the specific function are read and created by the human input card 2 as an external input. FIG. 8 shows the flow of processing for creating the function option table 11.

この様に、制御型プログラムの実行直後に各機能の実
行モードを定めることで、特定機能のみの評価を行うこ
とが可能となるのである。
Thus, by determining the execution mode of each function immediately after the execution of the control type program, it becomes possible to evaluate only the specific function.

第9図はコマンド入力時の処理の流れである。制御型
プログラム実行中に、コマンド入力により機能オプショ
ンテーブル11の更新を行うが、この機能オプションテー
ブル11の更新処理の流れが第9図に示されている。
FIG. 9 shows the flow of processing when a command is input. While the control type program is being executed, the function option table 11 is updated by inputting a command. The flow of the process of updating the function option table 11 is shown in FIG.

前述した如く、制御型プログラムの各機能は、機能オ
プションテーブルを参照して機能の実行モードを決定す
るために、機能オプションテーブル11を更新し、これに
より制御型プログラムの実行モード及び特定機能の実行
モードの変更が可能となるものである。
As described above, each function of the control-type program updates the function option table 11 to determine the execution mode of the function with reference to the function option table, thereby executing the execution mode of the control-type program and the execution of the specific function. The mode can be changed.

発明の効果 叙上の如く、本発明によれば、制御型プログラムの特
定機能のみの評価や、制御型プログラムの実行中にコマ
ンドに入力により特定機能やプログラムの実行モードを
変更できるので、評価効率を上げるという効果がある。
Effects of the Invention As described above, according to the present invention, only a specific function of a control-type program can be evaluated, and the execution mode of the specific function or the program can be changed by inputting a command during execution of the control-type program. Has the effect of raising

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

第1図は本発明の実施例のシステムブロック図、第2図
は入力カードのカード形式を示す図、第3図は機能既定
オプションテーブルの内容を示す図、第4図は機能オプ
ションテーブルの内容を示す図、第5図はコマンド形式
の説明図、第6図は制御型機能の処理の流れ図、第7図
は値返却型機能の処理の流れ図、第8図はカード入力時
の処理の流れ図、第9図はコマンド入力時の処理の流れ
図である。 主要部分の符号の説明 1……カード読込み処理部 2……入力カード 3……カード解析処理部 4……コマンド入力処理部 5……モード解析処理部 6……特定機能オプション解析処理部 7……コマンド解析処理部 8……モード設定処理部 9……機能既定オプションテーブル 10……特定機能オプションテーブル 11……機能オプションテーブル 12……被テスト物件 13……機能選択処理部
FIG. 1 is a system block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing a card format of an input card, FIG. 3 is a diagram showing contents of a function default option table, and FIG. , FIG. 5 is an explanatory diagram of a command format, FIG. 6 is a flowchart of a process of a control type function, FIG. 7 is a flowchart of a process of a value return type function, and FIG. 8 is a flowchart of a process at the time of card input. FIG. 9 is a flow chart of the processing at the time of command input. Explanation of Signs of Main Parts 1 Card reading processing unit 2 Input card 3 Card analysis processing unit 4 Command input processing unit 5 Mode analysis processing unit 6 Specific function option analysis processing unit 7 ... Command analysis processing unit 8 ... Mode setting processing unit 9 ... Function default option table 10 ... Specific function option table 11 ... Function option table 12 ... Test object 13 ... Function selection processing unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 11/28 - 11/34 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 11/28-11/34

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の実行モードを有する制御型プログラ
ムの評価システムであって、実行モードの選択カード及
び特定機能オプションを変更する特定機能オプションカ
ードを読込むカード読込み手段と、モード別に設けられ
た機能オプションの機能既定値を格納した既定オプショ
ンテーブルと、前記カード読込み手段により読込まれた
カードを判別するカード解析手段と、前記選択カードで
選択されたモードの解析やこの選択モードに対応して前
記既定オプションテーブルを選択するモード解析手段
と、前記選択モードの機能オプションの既定値を前記既
定オプションテーブルから選択して既定オプションテー
ブルに設定するモード設定手段と、特定機能のオプショ
ンを変更する特定機能オプションカードを解析する特定
機能オプション解析手段と、特定機能オプションや実行
モードを変更するためのコマンドを解析するコマンド解
析手段と、特定機能オプションカードや前記コマンドに
より選択された機能のオプションを変更する特定機能オ
プション変更手段と、被テスト物件より制御プログラム
の機能を選択し、前記機能オプションテーブルを参照し
て外部とのインターフェイスを変更する機能選択手段と
を含むことを特徴とする制御型プログラム評価システ
ム。
1. An evaluation system for a control-type program having a plurality of execution modes, comprising: a card reading means for reading an execution mode selection card and a specific function option card for changing a specific function option; A default option table storing function default values of function options; card analysis means for determining a card read by the card reading means; analysis of a mode selected by the selected card; Mode analysis means for selecting a default option table, mode setting means for selecting a default value of a function option of the selected mode from the default option table and setting the same in a default option table, and a specific function option for changing an option of a specific function Specific function option analysis to analyze the card A step, command analysis means for analyzing a command for changing a specific function option or an execution mode, a specific function option changing means for changing an option of a specific function option card or a function selected by the command, and a test object A function selecting means for selecting a function of the control program and changing an interface with the outside by referring to the function option table.
JP2320072A 1990-11-22 1990-11-22 Controlled program evaluation system Expired - Lifetime JP2908003B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2320072A JP2908003B2 (en) 1990-11-22 1990-11-22 Controlled program evaluation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2320072A JP2908003B2 (en) 1990-11-22 1990-11-22 Controlled program evaluation system

Publications (2)

Publication Number Publication Date
JPH04195229A JPH04195229A (en) 1992-07-15
JP2908003B2 true JP2908003B2 (en) 1999-06-21

Family

ID=18117409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2320072A Expired - Lifetime JP2908003B2 (en) 1990-11-22 1990-11-22 Controlled program evaluation system

Country Status (1)

Country Link
JP (1) JP2908003B2 (en)

Also Published As

Publication number Publication date
JPH04195229A (en) 1992-07-15

Similar Documents

Publication Publication Date Title
EP1504347B1 (en) Automated software testing system and method
JP2908003B2 (en) Controlled program evaluation system
JPH06348766A (en) Method and device for incorporating tool
US20020073412A1 (en) Parameter tuner system
JPH025102A (en) Input system for pc rudder graphic
JP5492573B2 (en) Device / PLC simulator device, method, and program having trace function
JPH06301668A (en) Method for constructing simulation data
JPH02220145A (en) Program tracing system
KR850000326B1 (en) Controller for controlling the progress of work
JP2996294B2 (en) How to create a job control language
JP2668052B2 (en) Output control method for multiple types of plotter devices
JP3135638B2 (en) Electronic touch panel definition body creation processing device
JP2752841B2 (en) Interactive source program modification and simulation method
JPH02285414A (en) Key display processing system
JP2578887B2 (en) Program test method
JPH0298706A (en) Preparing device for ladder software for sequence controller
JPH05134716A (en) Programing device for programable controller
JPH1049352A (en) Dll automatic generation system
JPS63211037A (en) Program debugging method
JPH03182931A (en) Constitution definition support system
JPH03263249A (en) Personal computer communication processing system with operation guidance
JPH02249073A (en) Document file editing method
JPH05313871A (en) Multi-program editing device
JPH0497448A (en) Interactive type simplex testing system
JPH0719208B2 (en) Message text assembly edit information load method