JPS60207932A - Automatic program forming device - Google Patents

Automatic program forming device

Info

Publication number
JPS60207932A
JPS60207932A JP6369984A JP6369984A JPS60207932A JP S60207932 A JPS60207932 A JP S60207932A JP 6369984 A JP6369984 A JP 6369984A JP 6369984 A JP6369984 A JP 6369984A JP S60207932 A JPS60207932 A JP S60207932A
Authority
JP
Japan
Prior art keywords
program
parameter
input
information
parameter information
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
JP6369984A
Other languages
Japanese (ja)
Inventor
Matayoshi Sugiura
杉浦 又義
Junichi Tanaka
準一 田中
Eiji Kirihara
桐原 栄治
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP6369984A priority Critical patent/JPS60207932A/en
Publication of JPS60207932A publication Critical patent/JPS60207932A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce user's load at operation by inputting parameter information necessary for the formation of a program on the basis of a conversation format in a reference program system. CONSTITUTION:While referring input guide information to be fixed and variable parameter picture information sent from a program formation part 11, the user inputs the input guide information to an input device 10. The program formation part 11 selects a reference program stored in a reference program storage part 12 on the basis of the parameter information applied from the input device 10 and changes a part of the selected reference program on the basis of parameter information in a parameter storage part 13 to execute program formation processing. Consequently, the user can input the parameter information to the program formation part 11 on the basis of the conversation format.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、基本プログラム方式φこよる自動プログラム
生成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an automatic program generation device based on a basic programming method φ.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

従来、プログラムを自動生成する方式としては、利用者
から与えられるパラメータを解析して、そのパラメータ
に応じたプログラムを生成する方式が開発されている。
Conventionally, as a method for automatically generating a program, a method has been developed that analyzes parameters given by a user and generates a program according to the parameters.

このような自動プログラム生成方式では、通常プログラ
ムの部品である部分的プログラム群が予めプログラム生
成部内に用意されており、上記パラメータに応じて各部
分的プログラムが組立てられることによりプログラムが
生成される。このため、生成されるプログラムは、部分
的プログラム群の組合せで生成されるものに限定されて
いる。これ以外のプログラムを生成するには、プログラ
ム生成部を改造して部分的プログラム群を増設する必要
がある。
In such an automatic program generation method, a group of partial programs, which are parts of a normal program, are prepared in advance in a program generation unit, and a program is generated by assembling each partial program according to the above-mentioned parameters. Therefore, the programs that are generated are limited to those that are generated by combining partial program groups. To generate other programs, it is necessary to modify the program generation section and add a partial program group.

これに対して、基本プログラム方式による生成方式では
、プログラム生成部の外部メモリに予め核数の基本プロ
グラムが用意され、先ず利用者からのパラメータの一部
で端本プログラムが選択される。さらに、残りのパラメ
ータにより、基本ブロクラム中のマクロ命令に対する制
御テークが与えられる。これにより、例えば基本プロク
ラム中の一7’5bが変更されるか否かの選択がなさイ
1、また選択された部分のf更が指示されて、プログラ
ムが新たに生成されることになる。この方式では、基本
プロクラムを変更するだけで、プロクラム生成部内を改
造することなく所定のプログラムを生成できる利点があ
る。
On the other hand, in the generation method based on the basic program method, a core number of basic programs are prepared in advance in the external memory of the program generation section, and a partial program is first selected based on some of the parameters from the user. Additionally, the remaining parameters provide the control take for the macroinstructions in the basic blockrum. As a result, for example, there is no selection as to whether or not part 17'5b of the basic program is to be changed, and the selected part is instructed to be changed, so that a new program is generated. This method has the advantage that a predetermined program can be generated by simply changing the basic program without modifying the inside of the program generation section.

しかしながら、上記のような基本プログラム方式では、
利用者が与えるパラメータは予め基本プログラムにより
決足されるため、利用者は基本プログラム毎の各パラメ
ータ及びその意味を知っておく必要がある。したがって
、プログラム生、成装置lこ対して、利用者が会話形式
でパラメータを入力して、プログラム生成を行なうこと
ができず、利用者の操作上の負担が大きくなる欠点があ
った。
However, in the basic programming method described above,
Since the parameters given by the user are determined in advance by the basic program, the user needs to know each parameter for each basic program and its meaning. Therefore, the program generation device cannot generate a program by inputting parameters in a conversational manner by the user, which has the drawback of increasing the operational burden on the user.

〔発明の目的〕[Purpose of the invention]

本発明は上記の事情に鑑みてなされたもので、その目的
は基本プログラム方式において、プログラム生成に必蝮
なパラメータ情報の入力を会話形式で行なうことができ
るようにして、利用者の陳作上の負担を大幅に軽減でき
る自がjプログラム生成装置を提供することにある。
The present invention has been made in view of the above-mentioned circumstances, and its purpose is to enable the input of parameter information necessary for program generation in a conversational manner in the basic programming method, thereby improving the user's presentation. The object of the present invention is to provide a J program generation device that can significantly reduce the burden on users.

〔発明の概要〕[Summary of the invention]

本発明では、基本プログラムメモリ手段から所定の基本
プログラムを選択するための固定パラメータ表示情報及
び各基本プログラム1Uのパラメータ情報を指示するた
めの可変パラメータ表示情報からなる入力ガイド情報を
出力する入力制御手段が設けられる。各基本プログラム
は、プログラム生成上で必要となる独自のパラメータ悄
@を指示するパラメータ足糀部及び定型プログラム部か
らなる。パラメータ人力手段は、例えは入力制御手段に
より与えられる人力ガイド情報を表示し、この表示され
た入力ガイド情Yμに対応する各人力パラメータ情報を
人力するように構成されている。
In the present invention, the input control means outputs input guide information consisting of fixed parameter display information for selecting a predetermined basic program from the basic program memory means and variable parameter display information for instructing parameter information of each basic program 1U. is provided. Each basic program consists of a parameter section that specifies unique parameters necessary for program generation, and a fixed program section. The parameter manual means is configured, for example, to display the manual guide information given by the input control means and manually input each manual parameter information corresponding to the displayed input guide information Yμ.

パラメータメモリ手段は、パラメータ入力手段−こより
与えられる情報の中で上記独自のパラメータ11V報に
対応する入力パラメータ情報を一時格納する。プログラ
ム生成手段は、パラメータ入力手段により入力される入
力パラメータ悄ifこより基本プログラムメモリ手段か
ら所定の基本プロクラムを1択する。そして、選択した
基本プロクラムの定型プログラムをパラメータメモリ手
段内の入力パラメータ情報に基づいて変更処理してプロ
クラム生成処理を行なうように構成されている。
The parameter memory means temporarily stores input parameter information corresponding to the unique parameter 11V information among the information provided by the parameter input means. The program generation means selects one predetermined basic program from the basic program memory means based on input parameters input by the parameter input means. Then, the program generation process is performed by changing the fixed form program of the selected basic program based on the input parameter information in the parameter memory means.

上記のような構成により、利用者は固定tfラメータ表
示悄繊及び可変パラメータ表示情報に応じて、プログラ
ム生成上で心安な入力パラメータ情報を会話形式で与え
るこごができる。
With the above-described configuration, the user can interactively provide input parameter information that is safe for program generation in accordance with the fixed TF parameter display information and the variable parameter display information.

〔発閃の実施料〕[Hasen royalty fee]

以下図面を参照して不発明の一実施例憂こつい゛C説明
する。第1図は一実施例に係わる自動プログラム生成装
置の+rh Kを示すブロック1である。画面表示人力
装置(以下単に入力装置と称する) 10は、例えばC
RTディスプレイ’A il 10 B及びキーボード
101)からなるパラメータ入出力装置である。プログ
ラム主成部1ノは、基本プログラムを選択するためのI
l、Ll定パラメータ16面情報及び各基本プログラム
毎の独自のパラメータを指定するための可変パラメータ
ljj面情報を有し、入力装置101こ出力する。さら
に、プログラム生成部11は、入力値、fllOから与
えられるパラメータ情報に基づい?:基本ブOグラム記
憶部12から基本プログラムを選択し、パラメータ記1
意部13内のパラメータ清報に基づいて選択した基本プ
ログラムの一部を変更してプログラム生成処理を行なう
Hereinafter, one embodiment of the invention will be described with reference to the drawings. FIG. 1 is a block 1 showing +rh K of an automatic program generation device according to an embodiment. Screen display human power device (hereinafter simply referred to as input device) 10 is, for example, C
It is a parameter input/output device consisting of an RT display 'Ail 10B and a keyboard 101). Program main component 1 is an I for selecting the basic program.
The input device 101 outputs information on 16 constant parameters l, Ll and variable parameters ljj for specifying unique parameters for each basic program. Furthermore, the program generation unit 11 generates a ? : Select the basic program from the basic program storage section 12 and write the parameters 1.
A part of the selected basic program is changed based on the parameter information in the control section 13, and program generation processing is performed.

基本プログラム記憶部12は、予め複数の基本プロクラ
ムを格納している。パラメータ記1.ハ部13は、枯木
プログラム毎の独自のパラメータ指令情報(パラメータ
定義部)またはその指令1a報に応じ−C入力装置10
から入力されるパラメータ情報をi己憶する。生成プロ
グラム記憶部14は、プログラム生成部11で生成され
たプログラムを格納する。
The basic program storage unit 12 stores a plurality of basic programs in advance. Parameter description 1. The C input device 10 responds to unique parameter command information (parameter definition section) for each dead tree program or its command 1a information.
The parameter information input from the computer is memorized. The generated program storage unit 14 stores programs generated by the program generation unit 11.

上記のような構成のプログラム生成装置において、−実
施レリに係わる動作を第3−のフローチャートを4照し
て説明する。先ず、プログラム生成部11から固定パラ
メータ1IilIllIJ情報が入力装置^IOへ送ら
れ、CRT装置I%10 aの画面に表示される( 2
.3 +=のステップSJ)。この固定パラメータ画面
情報は、選択指示等の各基本プログラムに共1thなパ
ラメータからなる情報であ、る。
In the program generating apparatus configured as described above, the operation related to execution will be explained with reference to the third flowchart. First, the fixed parameter 1IilIllIJ information is sent from the program generation unit 11 to the input device ^IO and displayed on the screen of the CRT device I%10a (2
.. 3 += step SJ). This fixed parameter screen information is information consisting of parameters that are common to each basic program such as selection instructions.

利用者(以下オペレータと称す)は、CI?T装置10
 aの画面表示を参照して、キーボード10 bを操作
し基本プログラムを選択する1こめのパラメータ情4S
Dをプログラム生成部11へ入力する(ステップS2)
。入力されたパラメータ1ム報SDIこより、7p、本
プログラム記憶部J2から所定の咄本プログラムが選択
される(ステップS3)。ここで、基本プログラムは第
2凶1こ示すように大別し−C1パラメータ指令部及び
W型プログラム冷1からなる。パラメータ指令部は、各
基本プログラムが生成上で独自に必要とするパラメータ
1ム報IDを指示するパラメータ冗餞部及び可変パラメ
ータ画面1^報の表示品令群、パラメータ入力命令群、
入力パラメータ1直で判断分岐する命令評等を刹してい
る。
The user (hereinafter referred to as the operator) is the CI? T device 10
Refer to the screen display in a and operate the keyboard 10 b to select the basic program. Parameter information 4S
Input D to the program generation unit 11 (step S2)
. Based on the input parameter 1 information SDI, a predetermined book program is selected from the main program storage section J2 at 7p (step S3). Here, the basic program is roughly divided into the second part 1 and consists of a C1 parameter command part and a W type program part 1. The parameter command section includes a parameter redundancy section that instructs the parameter 1 information ID uniquely required by each basic program for generation, a display quality group of the variable parameter screen 1^ information, a parameter input command group,
The command evaluation, etc. that makes a decision and branches based on one input parameter is provided.

プログラム生成1flt J J 1よ、選(<された
基本プログラムのパラメータ指令部をスイH(5e、 
L7、独自のパラメータ情報I Dを格納するパラメー
タ記憶部13に記憶領域を設ける(ステップS4)。
Program generation 1flt J J 1, select the parameter command section of the selected basic program (5e,
L7, a storage area is provided in the parameter storage unit 13 for storing unique parameter information ID (step S4).

次に、プログラム生成部11はLiJEパラメータ画面
+R報を、プログラム生成上に必要なパラメータを指示
するパラメータ定銭部と共に入力装置IOのCRT画面
上に表示する(ステップ5)。
Next, the program generation section 11 displays the LiJE parameter screen + R report on the CRT screen of the input device IO together with a parameter fixed price section that indicates parameters necessary for program generation (step 5).

このとき、プログラム生成7A1z+f、上記パラメー
タ指令部の′?!f6^゛令群を実行することになる。
At this time, program generation 7A1z+f, '?' of the parameter command section above? ! The f6^゛ command group will be executed.

オペレータは入力装置lン10のCRTl[!1llI
I]に表示された可変パラメータ画面情報に応じて、キ
ーボード101)を操作して必要なパラメータ情報ID
を入力する(ステップS6)。この入力されるパラメー
タ情報IDは、パラメータ記を低部13に格納される(
ステップS7)。
The operator inputs the CRT1[! 1llI
In accordance with the variable parameter screen information displayed on [I], operate the keyboard 101) to enter the necessary parameter information ID.
is input (step S6). This input parameter information ID is stored in the lower part 13 (
Step S7).

プログラム主成部1ノは、上記のように選択された基本
プログラムの定型プロクラム部を順次読出して、パラメ
ータ記憶部13内のパラメータ情報IDに基づいて新た
なプログラムを生成する(ステップs8.S9)。具体
的tこは、例えば)ピ型プl」グラフ、 1Kl(の各
マクロ命令に対する制御データがパラメータ情報IDに
より与えられる。これにより、パラメータ情報IDに基
づいて、偶木プログラムの定型プログラム部の−81〜
が変更され、盾たなプログラムが生成されることになる
The main program generation section 1 sequentially reads out the standard program sections of the basic program selected as described above and generates a new program based on the parameter information ID in the parameter storage section 13 (steps s8 and S9). . Specifically, for example, the control data for each macro instruction of 1K1 graph is given by the parameter information ID.Thereby, based on the parameter information ID, the fixed program part of the even tree program is -81~
will be changed, and a shield program will be generated.

このようにして、プログラム生成f、+511で生成さ
れたυ[たなプロクラムは生成プロクラム記憶部14へ
格納され、る。この生成プログラムは、上記のようζこ
オペレータが人カフ 肱to +こより入力した谷パラ
メータFils D 、 I Dに基づいて生成された
ものである。この場合、オペレータはCRT装置10 
aの画面に表示される固5: 、 iiJ変パラメータ
画面16報である入力ガイド情報を6朋して、必要なパ
ラメータ情報を入力する。即ち、オペレータは、プログ
ラムクニlJ兄i’%l(11に対して会話形式でプロ
グラム生成上に必要I、1゛ノクラメータ情報を人力す
ることができる。
In this way, the υ[tana program generated in the program generation f,+511 is stored in the generated program storage unit 14. This generation program is generated based on the valley parameters Fils D and ID input by the operator as described above. In this case, the operator
Enter the necessary parameter information by reading the input guide information displayed on the screen a and iiJ variable parameter screen 16. That is, the operator can interactively input the required I, 1' nomura meter information for program generation to the program Kuni I'%l (11).

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

以上コト述したように本発明によれば、利用者はブロク
ラム生成部からI\ら4N 6 !’J >N * i
】J^ノ々ラメーク画11J1情報である人力カイド情
報に応じて、プログラム生成上に必要な、N6ラメータ
1)1漫を入力できく】。したがって、利用名はプログ
ラム生成和へにλ寸して、会ム占形式でノくラメーク4
青報を入力でき、結果的に利用者の1・9作上の負担を
大幅に軽減できるものである。
As described above, according to the present invention, the user can input I\etc4N6! from the block diagram generator. 'J > N * i
】J^Nonora Make Picture 11 According to the human power guidance information that is J1 information, you can input the N6 lameter 1) 1 manga necessary for program generation]. Therefore, the usage name is λ dimension to the program generated sum, and the usage name is 4.
Blue reports can be input, and as a result, the user's burden on the 1st and 9th works can be significantly reduced.

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

第1図ζJ本発明の一実施例に係わる自動プログラム生
成装置?tの4,9成を示すブロック図、第2図は第1
図の装置で使用される基本プログラムの構成を示す図、
第3図はA1図の装置の動作を説明するだめのフローチ
ャートである。 10・・・画面表示入力装(−一、11・・・プログラ
ム生成$1,12・・・基本プログラム記憶部、13・
・・パラメータ6己1意貧5つ 出11!0人イし1人 弁理士 鈴 江 武 彦第1図 第2図 手続補正書 昭和59年5.ル9 日 特許庁長官 若杉和夫 殿 1、事件の表示 特願昭59−63699 号 2、発明の名称 自動プログラム生成装置 3、補正をする渚 事件との関係 特許出願人 (307) 株式会社 東 芝 4、代理人 明削璽のひn(内容に変更なし)
FIG. 1 ζJ Automatic program generation device according to an embodiment of the present invention? A block diagram showing the 4 and 9 configurations of t, Figure 2 is the first
A diagram showing the configuration of the basic program used in the device shown in the figure.
FIG. 3 is a flowchart for explaining the operation of the apparatus shown in FIG. A1. 10... Screen display input device (-1, 11... Program generation $1, 12... Basic program storage unit, 13...
...Parameter 6 Self-intention 5 out of 11! 0 people out and 1 out Patent attorney Suzue Takehiko Figure 1 Figure 2 Procedural amendment 1982 5. 9 Japan Patent Office Commissioner Kazuo Wakasugi 1, Indication of Case Patent Application No. 59-63699 2, Title of Invention Automatic Program Generation Device 3, Relationship with the Nagisa Case to be amended Patent Applicant (307) Toshiba Corporation 4. Agent clear seal (no change in content)

Claims (1)

【特許請求の範囲】[Claims] プログラム生成上で必要となるパラメータ情報を指示す
るパラメータ定義部及び足型プログラム部からなる各基
本プログラムを予め格納する基本プロクラムメモリ手段
と、この基本プログラムメモリ手段から所定の基本プロ
グラムを選択しかつ上記パラメータ情報を指定するため
の入力ガイド情報を出力する入力制御手段と、この入力
制御手段から送られる入力ガイド情報に応じて各入力パ
ラメータ情報を入力するためのパラメータ入力手段と、
このパラメータ入力手段により与えられる各入力パラメ
ータ1R報の中で上記パラメータ情報ζこ対応する入力
パラメータ情報を格納するパラメータメモリ手段と、上
記パラメータ入力手段により与えられる入力パラメータ
+1 (iuに応じて上記基本プログラムメモリ手段か
ら所定の基本プログラムを選択し、この選択した基本プ
ログラムの定型プログラムを上記パラメータメモリ手段
内の人力パラメータ情報、に基づいて変更処理してプロ
グラム生成を行なうプログラム生成手段とを具備してな
ることを特徴とする自動プログラム生成装置。
A basic program memory means that stores in advance each basic program consisting of a parameter definition section and a foot shape program section that specify parameter information necessary for program generation, and a predetermined basic program is selected from this basic program memory means, and an input control means for outputting input guide information for specifying parameter information; a parameter input means for inputting each input parameter information according to the input guide information sent from the input control means;
Parameter memory means stores input parameter information corresponding to the parameter information ζ in each input parameter 1R information given by the parameter input means, and input parameters +1 (according to iu) corresponding to the parameter information ζ. and program generation means for selecting a predetermined basic program from the program memory means and generating a program by modifying the standard program of the selected basic program based on the manual parameter information in the parameter memory means. An automatic program generation device characterized by:
JP6369984A 1984-03-31 1984-03-31 Automatic program forming device Pending JPS60207932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6369984A JPS60207932A (en) 1984-03-31 1984-03-31 Automatic program forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6369984A JPS60207932A (en) 1984-03-31 1984-03-31 Automatic program forming device

Publications (1)

Publication Number Publication Date
JPS60207932A true JPS60207932A (en) 1985-10-19

Family

ID=13236881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6369984A Pending JPS60207932A (en) 1984-03-31 1984-03-31 Automatic program forming device

Country Status (1)

Country Link
JP (1) JPS60207932A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62100806A (en) * 1985-10-28 1987-05-11 Nippon Kayaku Co Ltd Producing device for sequence control program of batch production process
JPH0194432A (en) * 1987-10-06 1989-04-13 Matsushita Electric Ind Co Ltd System for automatically preparing program corresponding to plural kinds of device
JPH01103740A (en) * 1987-10-16 1989-04-20 Nec Corp Customizing method for package system
JPH06103184A (en) * 1992-09-24 1994-04-15 Pfu Ltd Method for preparing macro definition sentence for automating communication procedure

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62100806A (en) * 1985-10-28 1987-05-11 Nippon Kayaku Co Ltd Producing device for sequence control program of batch production process
JPH0194432A (en) * 1987-10-06 1989-04-13 Matsushita Electric Ind Co Ltd System for automatically preparing program corresponding to plural kinds of device
JPH01103740A (en) * 1987-10-16 1989-04-20 Nec Corp Customizing method for package system
JPH06103184A (en) * 1992-09-24 1994-04-15 Pfu Ltd Method for preparing macro definition sentence for automating communication procedure

Similar Documents

Publication Publication Date Title
CN102640112A (en) Program creation support device
US5130932A (en) Generating device for production system simulator
US20050034100A1 (en) Visual programming method and system thereof
JPS60207932A (en) Automatic program forming device
JP5026925B2 (en) Control program creation device and control program creation method
US20060041324A1 (en) System and method of editing a program used for a programmable logic controller
JP2019061521A (en) Planning support device, planning support method, and planning support program
JPH03218527A (en) Plan-type inference device
JP7156748B1 (en) Information processing system and information processing method
JPH04123165A (en) Method and device for scheduling
JPH08115311A (en) Authoring system
KR102150846B1 (en) Moving picture reproducing apparatus, moving picture reproducing method, and program
JPH0486922A (en) Knowledge editter
JP2003223204A (en) Programming method of programmable controller, system thereof and recording medium thereof
JP4983085B2 (en) Image display control device, image display control program, and image display control method
JPH08147264A (en) Multimedia presentation editing executing device
JPH01103740A (en) Customizing method for package system
JP3041526B2 (en) Presentation support system
JPH06149829A (en) Presentation material producing device
Von Oehsen Scheduled to Satisfaction: An Exploration of Personal Scheduling with CSPs
JPH05341972A (en) Software developing device
JPH06266726A (en) Production plan making device
CN116585712A (en) Guidance system, method, electronic device and storage medium based on full programmed event
JP2855835B2 (en) Simulation device based on Petri net
JPH0430230A (en) Equipment data base control system for power system