JPH04195229A - Control type program evaluation system - Google Patents

Control type program evaluation system

Info

Publication number
JPH04195229A
JPH04195229A JP2320072A JP32007290A JPH04195229A JP H04195229 A JPH04195229 A JP H04195229A JP 2320072 A JP2320072 A JP 2320072A JP 32007290 A JP32007290 A JP 32007290A JP H04195229 A JPH04195229 A JP H04195229A
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.)
Granted
Application number
JP2320072A
Other languages
Japanese (ja)
Other versions
JP2908003B2 (en
Inventor
Kunikazu Kawashima
川嶋 邦一
Takayuki Akimoto
秋本 孝行
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.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
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

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To improve the program evaluating efficiency by changing an interface set to the outside by referring to a function option table. CONSTITUTION:Each function of a control type program decides its execution mode by referring to a function option table 11. The execution modes of both the program and a specific function can be changed with change of the table 11. Thus the program evaluating efficiency is improved.

Description

【発明の詳細な説明】 技術分野 本発明は制御型プロクラム評価システムに関し、特に複
数の実行モードを持つ制御型プログラムの評価方式に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a controlled program evaluation system, and more particularly to an evaluation method for a controlled program having multiple execution modes.

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

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

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

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

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

実施例 次に本発明の実施例について図面を参照して詳細に説明
する。
Embodiments Next, embodiments 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と、
ディスクへのIlo 、シュミレータとの通信、コンソ
ールへの出力等を行う外部インタフェース処理部14と
から構成される。
FIG. 1 is a system block diagram showing the configuration of an embodiment of the present invention. The system of this embodiment includes a card reading processing section 1 that reads a manual card 2 that specifies mode selection and change of options for specific functions, a card analysis processing section 3 that analyzes the read card, and a card analysis processing section. mode analysis processing unit 5 that analyzes the mode selection card according to the request from 3;
Then, according to the analyzed execution mode, the mode analysis processing unit 5 and the command analysis processing unit 7 refer to the function default option table 9 in which the default values of the function options of the execution mode are stored in advance, and set the default values in the function option table 11.
mode setting processing unit 8 and card analysis processing unit 3
a specific function option analysis processing unit 6 that analyzes a specific function option card according to a request from a specific function option card; a command input processing unit 4 that inputs commands for controlling a control type program from a console or terminal; and a command input processing unit 4 that analyzes input commands. A command analysis processing section 7, a specific function option change processing section 10 that sets the option of the function specified by the specific function option analysis processing section 6 and the command analysis processing section 7 in the function option table 11, and a test object 12. Select a function according to the function requirements of the control type program, refer to the function option table 11,
a function selection processing unit 13 that determines an external interface;
It is composed of an external interface processing section 14 that performs Ilo to the disk, communication with the simulator, output to the console, etc.

第2図は、人力カード2であるモードを選択するモード
選択カートと特定機能のオプションを変更する特定機能
オプションカードとの各人力形式第3図は機能既定オプ
ションテーブルの内容であり、モード毎に機能に対応す
るオプションの既定値が入っている。
Figure 2 shows the human power format of the mode selection cart for selecting the mode, which is human power card 2, and the specific function option card for changing the option of a specific function. Figure 3 shows the contents of the function default option table. Contains default values for options that correspond to the feature.

ここで既定値について説明すると、複数の実行モードを
有する制御型プログラムの機能には、機能の動作を決定
するモードを複数持っており、すなわち、制御型プログ
ラムを実行する場合、制御型プログラムの持つ機能の実
行モードを全て指定するか、又は機能の組合せのパター
ンを制御型プログラムの実行モードとして持つ必要があ
り、そのために、有限個の制御プログラムの実行モード
を定め、この実行モードにおける各機能の実行モードを
「機能既定値」としている。
To explain the default values here, a control type program function that has multiple execution modes has multiple modes that determine the operation of the function. It is necessary to specify all the execution modes of the functions or to have a pattern of combinations of functions as the execution mode of the control type program.For this purpose, a finite number of execution modes of the control program are determined, and each function in this execution mode is specified. The execution mode is set to "Function Default".

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

モード設定処理部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 cart 2.

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

第4図(A)に制御型機能の機能オプションテーブルの
内容を、第4図(B)に値返却型機能の機能オプション
テーブルの内容を夫々示す。
FIG. 4(A) shows the contents of the function option table for the control type function, and FIG. 4(B) shows the contents of the function option table for the value return type function.

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

特定機能オプションカードやモード選択カートは、制御
型プロクラム起動時に指定するもので、実行中に機能オ
プションや実行モードを変更する場合はコマンドを使用
してオプションを変更する。
Specific function option cards and mode selection carts are specified when starting a control type program, and if you want to change function options or execution modes during execution, use commands to change the options.

第6図は被テスト物件より制御型機能が選択された時の
処理の流れである。被テスト物件により通知された機能
がとのような機能であるか機能選択処理61て選択し、
機能オプションテーブル参照処理62によって機能オプ
ションを決定する。
FIG. 6 shows the flow of processing when a control type function is selected from the object to be tested. Function selection process 61 selects whether the function notified by the test object is a function such as
Function options are determined by function option table reference processing 62.

その後オプションモード選択処理63で実際の処理を振
分ける。
Thereafter, actual processing is assigned in option mode selection processing 63.

この処理としては、実際にO8の制御やコンソール出力
等のO8制御処理64と、シュミレータと通信を行い制
御型機能のシュミレーションを行うシュミレータ通信処
理65とがある。
This process includes an O8 control process 64 that actually controls the O8 and console output, and a simulator communication process 65 that communicates with the simulator and simulates control-type functions.

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

第7図は被テスト物件により値返却型機能か選択された
時の処理の流れである。被テスト物件により通知された
機能がとのような機能であるか機能選択処理71て選択
し、機能オプションテーブル参照処理72によって機能
のオプションを決定する。その後オプションモード選択
処理73で実際の処理を振分ける。
FIG. 7 shows the flow of processing when a value return type function is selected by the object to be tested. A function selection process 71 selects whether the function notified by the test object is one of the following functions, and a function option table reference process 72 determines the option of the function. Thereafter, actual processing is assigned in 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, refers to a table in the simulator, and returns a value, and a function option table There is a function option table reference process 76 that returns a certain value.

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

第8図はカード入力時の処理の流れである。制御型プロ
グラムを実行する場合、制御型プロクラム内部に機能毎
の実行モードを格納する機能オプションテーブル(第4
図)を作成するか、制御型プロクラムの各機能は、この
機能オプションテーブル11を参照して各機能の実行を
決定している。
FIG. 8 shows the flow of processing at the time of card input. When executing a control type program, a function option table (fourth
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図に示
されている。
This function option table 11 is created immediately after the control type program is executed, and is created by reading the execution mode of the control type program and the execution mode of the specific function from the manual cart 2 which is an external input. The flow of processing for creating the function option table 11 is shown in FIG.

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

第9図はコマンド入力時の処理の流れである。FIG. 9 shows the flow of processing when inputting a command.

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

前述した如く、制御型プロクラムの各機能は、機能オプ
ンヨンテーブルを参照して機能の実行モードを決定する
ために、機能オプションテニブル11を更新し、これに
より制御型プログラムの実行モード及び特定機能の実行
モードの変更が可能となるのである。
As mentioned above, each function of the control type program updates the function option table 11 in order to determine the execution mode of the function by referring to the function option table. This makes it possible to change the execution mode.

発明の効果 蒸上の如く、本発明によれば、制御型プログラムの特定
機能のみの評価や、制御型プログラムの実行中にコマン
ドに入力により特定機能やプログラムの実行モードを変
更できるので、評価効率を上げるという効果がある。
Effects of the Invention As described above, according to the present invention, it is possible to evaluate only a specific function of a control type program, and change the specific function or execution mode of the program by inputting a command while the control type program is being executed, thereby improving evaluation efficiency. It has the effect of raising

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

第1図は本発明の実施例のシステムブロック図、第2図
は人力カードのカード形式を示す図、第3図は機能既定
オプションテーブルの内容を示す図、第4図は機能オプ
ションテーブルの内容を示す図、第5図はコマンド形式
の説明図、第6図は制御型機能の処理の流れ図、第7図
は値返却型機能の処理の流れ図、第8図はカード人力時
の処理の流れ図、第9図はコマンド人力時の処理の流れ
図である。 主要部分の符号の説明 1・・・・・・カード読込み処理部 2・・・・・入力カート 3・・・・・カート解析処理部 4・・・・・・コマンド人力処理部 5・・・・・・モード解析処理部 6・・・・・・特定機能オプション解析処理部7・・・
・・・コマンド解析処理部 8・・・・・・モード設定処理部 9・・・・・・機能既定オプションテーブル10・・・
・・特定機能オプションテーブル11・・・・・・機能
オプションテーブル12・・・・・・被テスト物件 13・・・・・・機能選択処理部 出願人 日本電気株式会社(外1名)
Fig. 1 is a system block diagram of an embodiment of the present invention, Fig. 2 is a diagram showing the card format of the human card, Fig. 3 is a diagram showing the contents of the function default option table, and Fig. 4 is the contents of the function option table. Figure 5 is an explanatory diagram of the command format, Figure 6 is a flowchart of the processing of the control type function, Figure 7 is the flowchart of the processing of the value return type function, and Figure 8 is the flowchart of the processing when the card is manually operated. , FIG. 9 is a flowchart of the processing when the command is manually operated. Explanation of symbols of main parts 1...Card reading processing unit 2...Input cart 3...Cart analysis processing unit 4...Command manual processing unit 5... ...Mode analysis processing section 6...Specific function option analysis processing section 7...
... Command analysis processing section 8 ... Mode setting processing section 9 ... Function default option table 10 ...
...Specific function option table 11 ...Function option table 12 ...Test object 13 ...Function selection processing department Applicant: NEC Corporation (1 other person)

Claims (1)

【特許請求の範囲】[Claims] (1)複数の実行モードを有する制御型プログラムの評
価システムであって、実行モードの選択カード及び特定
機能オプションを変更する特定機能オプションカードを
読込むカード読込み手段と、モード別に設けられた機能
オプションの機能既定値を格納した既定オプションテー
ブルと、前記カード読込み手段により読込まれたカード
を判別するカード解析手段と、前記選択カードで選択さ
れたモードの解析やこの選択モードに対応して前記既定
オプションテーブルを選択するモード解析手段と、前記
選択モードの機能オプションの既定値を前記既定オプシ
ョンテーブルから選択して既定オプションテーブルに設
定するモード設定手段と、特定機能のオプションを変更
する特定機能オプションカードを解析する特定機能オプ
ション解析手段と、特定機能オプションや実行モードを
変更するためのコマンドを解析するコマンド解析手段と
、特定機能オプションカードや前記コマンドにより選択
された機能のオプションを変更する特定機能オプション
変更手段と、被テスト物件より制御プログラムの機能を
選択し、前記機能オプションテーブルを参照して外部と
のインターフェイスを変更する機能選択手段とを含むこ
とを特徴とする制御型プログラム評価システム。
(1) A control program evaluation system having multiple execution modes, including a card reading means for reading an execution mode selection card and a specific function option card for changing specific function options, and function options provided for each mode. A default option table storing default values; a card analysis means for determining the card read by the card reading means; and analysis of the mode selected by the selected card and analysis of the default options corresponding to the selection mode. mode analysis means for selecting a table; mode setting means for selecting a default value of a function option of the selection mode from the default option table and setting it in the default option table; and a specific function option card for changing an option of a specific function. A specific function option analysis means to analyze a specific function option, a command analysis means to analyze a command for changing a specific function option or an execution mode, and a specific function option change to change the option of a function selected by a specific function option card or the above command. 1. A control type program evaluation system comprising: means for selecting a function of a control program from a test object 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 true JPH04195229A (en) 1992-07-15
JP2908003B2 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
JP2908003B2 (en) 1999-06-21

Similar Documents

Publication Publication Date Title
JPH04195229A (en) Control type program evaluation system
JPH025102A (en) Input system for pc rudder graphic
JP2000132425A (en) Software testing method
JPH08129483A (en) Event driving type process controller
JPH021564A (en) Waveform measuring instrument
JPH1165888A (en) Software testing device and storage medium
JP2932487B2 (en) Chart editing device
JPH01169506A (en) Numerical controller
KR100365355B1 (en) Device and method for setting function of selective key
JPH10221130A (en) Analyzer
JPH02108106A (en) Numerical controller
JP2576371B2 (en) Jump signal name assignment method
JPS63148373A (en) Managing system for circuit diagram data
JPH0497448A (en) Interactive type simplex testing system
JPS63211037A (en) Program debugging method
JPH0916218A (en) Programming device of programmable controller, and its sequence program preparing method
JPH0431769A (en) Cursor display device
JPH03177956A (en) Command execution control system for plural command macrofiles
JPH0298708A (en) Numerical controller
JPH06309026A (en) Manual operation teaching device for programmable controller
JPH02224109A (en) Computer system
JPH04373051A (en) Virtual terminal equipment
JPH03130817A (en) Key input control system
JPH0628134A (en) Method for selecting plural data and device therefor
JPH01248234A (en) System constitution control system