JPH05224706A - Method and device for automatic production of control program - Google Patents

Method and device for automatic production of control program

Info

Publication number
JPH05224706A
JPH05224706A JP4056894A JP5689492A JPH05224706A JP H05224706 A JPH05224706 A JP H05224706A JP 4056894 A JP4056894 A JP 4056894A JP 5689492 A JP5689492 A JP 5689492A JP H05224706 A JPH05224706 A JP H05224706A
Authority
JP
Japan
Prior art keywords
information
control
control program
execution order
target
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
JP4056894A
Other languages
Japanese (ja)
Inventor
Shinichiro Ie
伸一郎 家
Naoyuki Yamada
直之 山田
Toshiaki Niihori
俊明 新堀
Yutaka Wada
和田  裕
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 JP4056894A priority Critical patent/JPH05224706A/en
Publication of JPH05224706A publication Critical patent/JPH05224706A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To automatically produce a proper control program in accordance with the constitution of the relevant control subject by inputting the target operation related to the function specifications of the control subject through a user. CONSTITUTION:An operational processor 1 automatically selects an operating element accordant with the constitution of a control subject based on the target operation of the control subject inputted from an input device 2. Then the executing order of those selected operating elements is automatically decided for supplement and correction of these elements. Thus a control program is automatically produced. If some information is needed for production of the control program, the guidance is shown by a display device 3 and the due processing is carried on. In such a constitution, it is possible to extremely reduce the burden on a designer required for decision of the proper executing order of operations accordant with the constitution of the control subject.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】 本発明は、計算機の支援下にプ
ログラマブルコントローラの制御プログラムの自動生成
を行う装置に係り、特に、制御対象の概略動作から目的
とする制御プログラムを生成する制御プログラム自動生
成方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for automatically generating a control program of a programmable controller with the support of a computer, and more particularly, to automatic generation of a control program for generating an intended control program from a rough operation of a control target. A method and apparatus.

【0002】[0002]

【従来の技術】 各種プラントの制御に用いられるプロ
グラマブルコントローラは、プラントの検出器や上位計
算機などからの出力信号から制御プログラムにしたが
い、プラントの操作機器などに対する入力信号を出力す
る。制御プログラムには、目的とする処理を実現するた
めのプラントの状態に応じた各種機器の操作順序や操作
条件などが記述されており、その作成には制御対象物に
対応した複雑な処理が必要となる。すなわち、目的とす
る処理プラントの機器の構成や仕様或いは目的とする処
理の仕様により異なる処理手順を設計者が判断する必要
がある。このような制御プログラムの作成を容易にする
為に、計算機利用技術が種々開発されている。特開平1
−245305号に開示されている装置では、制御対象
物の各動作の成立条件、停止条件、制約等の制約関係情
報を制御対象物やシステムの状態と関係づけて記述して
なる知識を記憶した制御対象物知識と、前記対象物の目
標動作の概略情報を入力する入力手段と、この入力手段
を介して入力された前記目標動作の概略情報から対応す
る動作についての対象知識を前記対象物知識記憶手段か
ら検索し、これら対象物知識に基づいて目標動作間の遷
移条件を決定し、目的とする制御プログラムを生成する
プログラム生成手段とを具備し、入力手段を介して目標
動作の概略が与えられると、プログラム生成制御手段
は、上記目標動作に関係する対象物知識を検索し、この
知識に基づいて目標動作間の遷移条件を決定して、目的
とする制御プログラムを生成する。一般に、各種制御対
象物の制御動作は、目的とする機能を果たすため複数の
動作要素の組合せで構成される。さらに、これらの動作
要素の実行順序は制御対象物の機器構成および機能仕様
により異なる。制御対象物知識のみに基づいて目標動作
間の遷移条件を決定して目的とする制御プログラムを生
成する前記方式では、遷移条件の生成のみであるため、
目的とする機能を達成するための制御要素の選択および
実行順序の決定は設計者が入力する必要がある。したが
って、より上位の制御仕様より制御プログラムを自動生
成するためには、目的とする機能を果たすための複数の
動作要素を選択し、さらに、制御対象物の機器構成およ
び機能仕様に応じた動作要素の実行順序を決定する手段
が必要となる。
2. Description of the Related Art A programmable controller used for controlling various plants outputs an input signal to an operating device of a plant according to a control program from output signals from a detector of a plant or a host computer. The control program describes the operating sequence and operating conditions of various equipment according to the plant status to achieve the desired processing, and the creation of complicated processing corresponding to the controlled object is required. Becomes That is, the designer needs to determine a different processing procedure depending on the configuration and specifications of the equipment of the intended processing plant or the specifications of the intended processing. In order to facilitate the creation of such a control program, various computer utilization techniques have been developed. JP-A-1
In the device disclosed in Japanese Patent No. 245305, knowledge related to constraint relation information such as satisfaction condition, stop condition, and constraint of each operation of a controlled object is stored in association with the state of the controlled object or system is stored. Control object knowledge, input means for inputting outline information of the target motion of the object, and target knowledge about the corresponding motion from the outline information of the target motion input via the input means, the object knowledge And a program generation unit that searches the storage unit, determines transition conditions between the target actions based on the knowledge of the object, and generates a target control program. The outline of the target actions is given through the input unit. Then, the program generation control means retrieves the object knowledge related to the target motion, determines the transition condition between the target motions based on this knowledge, and determines the target control program. To generate. Generally, the control operation of various controlled objects is composed of a combination of a plurality of operation elements in order to perform a desired function. Further, the execution order of these operation elements differs depending on the device configuration and functional specifications of the controlled object. In the method of determining the transition condition between the target actions based on only the control object knowledge and generating the target control program, only the transition condition is generated.
It is necessary for the designer to input the selection of the control elements and the determination of the execution order in order to achieve the intended function. Therefore, in order to automatically generate a control program from a higher-level control specification, a plurality of operation elements for fulfilling the intended function are selected, and further, operation elements according to the device configuration and the functional specification of the controlled object are selected. A means for determining the execution order of is required.

【0003】[0003]

【発明が解決しようとする課題】このように、従来は、
指定された制御仕様を満たす制御プログラムの作成に
は、設計者が目的とする機能を果たすために必要な複数
の動作要素を選択し、さらに、制御対象物の機器構成お
よび機能仕様に応じた動作要素の実行順序を決定する必
要があるために、人的作業が含まれ、プログラムの生成
効率が悪く、しかも、人的エラーが生じやすいという問
題があった。本発明は、このような事情を考慮してなさ
れたもので、その目的とするところは、入力情報として
機能仕様レベルの制御仕様を指定するだけで、目的とす
る機能を果たすために必要な複数の動作要素を自動的に
選択し、さらに、制御対象物の機器構成および機能仕様
に応じた動作要素の実行順序を自動的に決定することに
より、制御プログラムの自動生成を可能とする制御プロ
グラム自動生成方法及び装置を提供することにある。
As described above, the prior art is as follows.
To create a control program that meets the specified control specifications, the designer selects the multiple operating elements necessary to perform the desired functions, and further operates according to the device configuration and functional specifications of the controlled object. Since it is necessary to determine the execution order of the elements, there is a problem that human work is involved, the program generation efficiency is low, and human error is likely to occur. The present invention has been made in consideration of such circumstances, and the purpose thereof is to specify a control specification at a functional specification level as input information, and to specify a plurality of functions necessary for performing a desired function. Control program automatic generation that enables automatic generation of control programs by automatically selecting the operating elements of the control object and automatically determining the execution order of the operating elements according to the device configuration and functional specifications of the controlled object. It is to provide a generation method and apparatus.

【0004】[0004]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明による制御プログラム自動生成方法は、制
御機能に関する情報が、機器構成及び機器の機能仕様に
応じて決定される動作要素情報と動作要素の実行可能条
件と動作要素の実行順序決定基準を含み、該情報を利用
して指定された制御仕様を満たす制御プログラムを生成
するに際し、制御仕様と動作要素の実行可能条件と実行
順序決定基準から、制御仕様を満たす動作要素及びそれ
らの実行順序を決定する処理と、決定された実行順序に
従い制御プログラムを生成する処理を含むものである。
In order to achieve the above object, in the control program automatic generation method according to the present invention, operation element information in which information regarding a control function is determined according to a device configuration and a device functional specification. And an executable condition of the operating element and an execution order determination criterion of the operating element, the control specification and the executable condition of the operating element and the execution order are generated when a control program that satisfies the specified control specification is generated by using the information. It includes a process of determining operation elements that satisfy the control specifications and their execution order from the decision criteria, and a process of generating a control program in accordance with the determined execution order.

【0005】[0005]

【作用】機器構成及び機器の機能仕様に応じて決定され
る動作要素情報を持つことにより、目的とする制御仕様
を満足する制御対象物の機器構成及び機器の機能仕様に
適合する動作要素の選択が可能となる。また、動作要素
の実行可能条件と動作要素の実行順序決定基準を含む制
御機能に関する情報を持つことにより、選択された動作
要素の制御対象物の機器構成及び機器の機能仕様に応じ
た実行順序の決定が可能となり、決定された動作要素の
実行順序に適合するように、動作要素間の補完・修正を
行うことにより、制御プログラムの自動生成を実現する
ことができる。
[Operation] Selection of an operation element that conforms to the equipment configuration and functional specification of the control target object that satisfies the target control specification by having the operation element information determined according to the equipment configuration and the equipment functional specification Is possible. In addition, by having the information about the control function including the executability condition of the operation element and the execution order determination criterion of the operation element, the execution order according to the device configuration of the control object of the selected operation element and the function specification of the device can be obtained. It is possible to make a decision, and by complementing / correcting the action elements so as to match the decided execution order of the action elements, automatic generation of the control program can be realized.

【0006】[0006]

【実施例】以下、本発明の1実施例を図1から図10に
より説明する。先づ、本発明による制御プログラム自動
生成装置の構成について説明する。図1はその構成を示
したものである。これによると、1は、制御プログラム
生成手段となる演算処理装置であり、演算部1a、中間
データ記憶部1b、処理手順記憶部1c、表示装置イン
ターフェース1d、入力装置インターフェース1e、通
信制御部1fおよび外部記憶装置入出力インターフェー
ス1gより構成され、1a〜1gはバス1hを介して接
続されている。処理手順記憶部1cに記憶されている処
理手順は、逐次演算部1aから呼び出され、実行される
ようになっている。演算処理装置1は、入力装置インタ
ーフェース1eを介して入力装置2に接続されている。
この入力装置2より、制御仕様やその他の情報が入力さ
れる。また、演算処理装置1は、表示装置インターフェ
ース1dを介して表示装置3に接続されている。表示装
置3には、生成された制御プログラム、制御プログラム
の生成課程で得られる中間生成物の情報および不足情報
の要求などが図形やテキストの形で表示される。また、
演算処理装置1は、外部記憶装置入出力インターフェー
ス1gを介して制御対象物情報記憶装置4、プラント制
御知識記憶装置5、制御プログラムモジュール記憶装置
6および制御プログラムモジュール選択・修正知識記憶
装置7に接続されており、処理手順記憶部1cに記憶さ
れる処理手順に従い必要な情報の読みだし・書き込みが
実行されるようになっている。また、演算処理装置1
は、通信制御部1fを介して制御対象物9を制御するプ
ログラマブルコントローラ8と接続可能である。プログ
ラマブルコントローラ8は、演算処理装置1より出力さ
れた制御プログラムに従って制御対象物9を制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS. First, the configuration of the control program automatic generation device according to the present invention will be described. FIG. 1 shows the configuration. According to this, reference numeral 1 is an arithmetic processing unit which serves as a control program generating means, and includes an arithmetic unit 1a, an intermediate data storage unit 1b, a processing procedure storage unit 1c, a display device interface 1d, an input device interface 1e, a communication control unit 1f and An external storage device input / output interface 1g is provided, and 1a to 1g are connected via a bus 1h. The processing procedure stored in the processing procedure storage unit 1c is called from the sequential operation unit 1a and executed. The arithmetic processing device 1 is connected to the input device 2 via the input device interface 1e.
Control specifications and other information are input from the input device 2. Further, the arithmetic processing device 1 is connected to the display device 3 via the display device interface 1d. The display device 3 displays the generated control program, information about intermediate products obtained in the process of generating the control program, request for insufficient information, and the like in the form of graphics or text. Also,
The arithmetic processing unit 1 is connected to a controlled object information storage unit 4, a plant control knowledge storage unit 5, a control program module storage unit 6 and a control program module selection / correction knowledge storage unit 7 via an external storage unit input / output interface 1g. The necessary information is read and written according to the processing procedure stored in the processing procedure storage unit 1c. In addition, the arithmetic processing device 1
Can be connected to the programmable controller 8 that controls the controlled object 9 via the communication control unit 1f. The programmable controller 8 controls the controlled object 9 according to the control program output from the arithmetic processing device 1.

【0007】図2は、演算処理装置1において実行され
る処理手順を示したものである。これにより、本発明に
よる制御プログラム自動生成装置の動作を説明する。 《ステップ11》制御仕様情報となる目標動作が入力装
置2を介して入力される。 《ステップ12》ステップ11で入力された目標動作に
対応する目標動作情報がプラント制御知識に参照され
る。プラント制御知識は、プラント制御知識記憶装置5
に図3に示す如くフレーム21の形式で格納され、目標
動作に対応する動作要素が項目:「関連動作要素」から
参照し得るものとなっている。本例では、目標動作『コ
イル自動挿入』に対し、その動作要素が「コイル径測
定」、「高さ調整」、「コイル幅測定」および「コイル
挿入」であることを示している。つまり、目標動作であ
る『コイル自動挿入』すなわちコイル状の材料を所定の
位置から加工装置のリールへの自動挿入を行うために
は、コイルの径を測定し、コイルの径方向の中心がリー
ルの高さと一致するように高さを調整し、コイルの幅を
測定し、コイルの中心がリールの所定の位置となるよう
に挿入する。このように、動作要素として、「コイル径
測定」、「高さ調整」、「コイル幅測定」および「コイ
ル挿入」が必要であることが示されている。 《ステップ13》ステップ12の参照の結果から目標動
作に対応する目標動作情報の有無を判定する。 《ステップ14》目標動作情報がある場合には、目標動
作に対応する動作要素をプラント制御知識より検索し、
読み込む。 《ステップ15》目標動作情報がない場合には、表示装
置3に目標動作に対応する動作要素が登録されていない
ことを表示し、目標動作に対応する動作要素が入力装置
2を介して入力される。 《ステップ16》目標動作とステップ15で入力された
動作要素を、図3のフレーム21の如き形式により、プ
ラント制御知識記憶装置5にプラント制御知識の目標動
作情報として書き込み、記憶する。 《ステップ17》目標動作に対応する動作要素の数を評
価する。 《ステップ18》複数の動作要素が存在する場合には、
制御プログラムモジュール選択・修正知識および制御対
象物情報より動作要素の実行順序を決定する処理を行
う。
FIG. 2 shows a processing procedure executed in the arithmetic processing unit 1. The operation of the control program automatic generation device according to the present invention will now be described. << Step 11 >> A target operation serving as control specification information is input via the input device 2. << Step 12 >> The target operation information corresponding to the target operation input in step 11 is referred to the plant control knowledge. The plant control knowledge is stored in the plant control knowledge storage device 5
3 is stored in the form of a frame 21 as shown in FIG. 3, and the motion element corresponding to the target motion can be referred to from the item: "related motion element". In this example, it is shown that the target operation “coil automatic insertion” has the operation elements of “coil diameter measurement”, “height adjustment”, “coil width measurement” and “coil insertion”. In other words, in order to perform the target operation of "automatic coil insertion", that is, to automatically insert the coiled material into the reel of the processing device from a predetermined position, the diameter of the coil is measured and the center of the coil in the radial direction is the reel. Adjust the height to match the height of the coil, measure the width of the coil, and insert so that the center of the coil is at a predetermined position on the reel. As described above, it is shown that "coil diameter measurement", "height adjustment", "coil width measurement", and "coil insertion" are necessary as operating elements. << Step 13 >> Whether or not there is target motion information corresponding to the target motion is determined from the result of reference in step 12. << Step 14 >> When there is target operation information, an operation element corresponding to the target operation is searched from the plant control knowledge,
Read. << Step 15 >> When there is no target motion information, it is displayed on the display device 3 that the motion element corresponding to the target motion is not registered, and the motion element corresponding to the target motion is input via the input device 2. It << Step 16 >> The target operation and the operation element input in Step 15 are written and stored in the plant control knowledge storage device 5 as the target operation information of the plant control knowledge in a format such as the frame 21 of FIG. << Step 17 >> The number of motion elements corresponding to the target motion is evaluated. << Step 18 >> If there are multiple motion elements,
Performs processing to determine the execution order of operation elements based on control program module selection / correction knowledge and control object information.

【0008】図4は、そのステップ18の処理をより詳
細に示したものである。制御プログラムモジュール選択
・修正知識は、制御プログラムモジュール選択・修正知
識記憶装置7に、図5に示す如く、フレーム38〜42
の形式で格納されている。本例では、制御プログラムの
部品であるプログラムモジュールのモジュール名「r_
lift_msr_01」、「r_lift_hset
_01」、「r_coilcar_msr_01」、
「r_coilcar_pset_01」、「r_li
ft_msr_02」の「動作」、「使用機器・タイ
プ」、「使用検出器・タイプ」、「実行可能条件」、
「終了状態」、「実行後生成データ」、「モジュール修
正データ」が参照し得るものとなっている。制御対象物
情報は、制御対象物情報記憶装置4に、図6に示す如く
テーブル43或いはテーブル44の形式で格納されい
る。本例では、テーブル43は検出器番号1〜6の検出
器のタイプ、検出器名、形式、デバイス名、PLG(パ
ルスジェネレータタイプ)の検出器の場合の1デジット
当りの移動距離を示す値および制御対象物内の基準点に
対する検出器の取り付け位置と高さが項目:「タイ
プ」、「用途」、「形式」、「デバイス」、「mm/d
igit」、「位置」、「高さ」から参照し得るものと
なっている。さらに、テーブル44は機器番号1、2の
操作機器の機器タイプ、機器名、機器の形式およびデバ
イス名が項目:「タイプ」、「機器名」、「形式」、
「デバイス」から参照し得るものとなっている。さて、
図4に示す処理手順を説明する。 〈ステップ22〉各動作要素に対応するプログラムモジ
ュールで情報制御対象物の機器構成に合致する物の存在
の有無をプログラムモジュールの選択・修正修正情報の
参照により行なう。すなわち、プラント制御知識のフレ
ーム21に示された目標動作つまり『コイル自動挿入』
の動作要素「コイル径測定」に対応するプログラムモジ
ュールの候補を検索する場合には、まず、フレーム38
〜42の制御プログラムモジュール選択・修正知識か
ら、項目:「動作」を参照し、使用される用途が「コイ
ル径測定」であるものとして、プログラムモジュール
「r_lift_msr_01」の選択・修正知識に対
応するフレーム38および「r_lift_msr_0
2」の選択・修正知識に対応するフレーム42が選択さ
れる。次に、プログラムモジュールの情報制御対象物の
機器構成への合致を調べるため、フレーム38、42で
項目:「使用検出器・タイプ」に対応する情報が参照さ
れる。フレーム42の場合には使用検出器としてリフタ
ー位置検出器とコイル径検出器、検出器のタイプとして
それぞれNL、CMDが読み取られる。さらに、制御対
象物情報のテーブル43として格納される検出器リスト
で項目:「検出器名」の情報がリフター位置検出器とコ
イル径検出器であるものを検索し、検出器リストに対応
する検出器名を持つ検出器が存在する場合には、対応す
る検出器のタイプが項目:「タイプ」の情報として参照
され、フレーム42より読み取られた検出器タイプと比
較される。以上の処理の後、制御対象物情報に対応する
検出器名を持つ検出器が存在し、その検出器のタイプが
一致するプログラムモジュールが選択される。つまり、
本例では「r_lift_msr_02」が選択され
る。他の動作要素に対しても同様にしてプログラムモジ
ュールを検索し、「r_lift_msr_01」、
「r_lift_hset_01」、「r_coilc
ar_msr_01」、「r_coilcar_pse
t_01」が選択される。同一の動作要素に対し複数の
プログラムモジュールが選択された場合には、使用する
機器、検出器の数が多いものを選択すればよい。 〈ステップ23〉目標動作に対し必要な全ての動作要素
に対応する使用可能なプログラムモジュールの存在を調
べる。 〈ステップ24〉動作要素に対応するプログラムモジュ
ールがない場合には、表示装置3にプログラムモジュー
ルが存在しない動作要素名を表示し、入力装置2を介し
てプログラムモジュールおよびその選択・修正情報を入
力する。 〈ステップ25〉制御プログラムモジュール選択・修正
知識記憶装置7にステップ24で入力された情報を制御
プログラムモジュール選択・修正知識として追加し、記
憶する。 〈ステップ26〉制御プログラムモジュール記憶装置6
にステップ24で入力されたプログラムモジュールを追
加する。 〈ステップ27〉プログラムモジュールの実行可能条件
を満足する動作要素の候補を選択する。すなわち、プロ
グラムモジュール「r_lift_msr_01」、
「r_lift_hset_01」、「r_coilc
ar_msr_01」、「r_coilcar_pse
t_01」、「r_lift_msr_02」の選択・
修正知識であるフレーム38〜42の項目:「実行可能
条件」を参照する。項目:「実行可能条件」にはプログ
ラムモジュールの実行以前に満足すべき条件として機器
の状態、入力データなどの情報が保持される。プログラ
ムモジュール「r_lift_hset_01」に対応
するフレーム39の実行可能条件は、入力データとして
コイル径に対応するデータがプログラムモジュールを実
行する以前に必要で、さらに台車の位置がリフター高さ
調整位置であることを示す。プログラムモジュールの実
行可能条件を満足する動作要素は実行時の入力データが
不要または既に実行されているプログラムモジュールで
出力されているものを中間状態情報を参照し選択する。
中間状態情報は、演算処理装置1の中間データ記憶部1
bに図7の「中間状態情報」フレーム45に示す如く形
式で保持され、既に実行順序が決定された動作要素を実
行した場合の制御対象物の最終状態および出力済みのデ
ータがそれぞれ項目:「前状態」、「出力済データ」で
参照し得る。従って、本例ではプログラムモジュール
「r_lift_msr_01」、「r_coilca
r_msr_01」が候補として選択される。 〈ステップ28〉動作要素実行順序決定基準情報から動
作要素候補の実行可能条件に対応する動作要素実行順序
決定基準を検索する。動作要素実行順序決定基準情報
は、プラント制御知識記憶装置5に図8の「動作要素実
行順序決定基準情報」フレーム46に示す如く形式で保
持され、モジュールの実行可能条件に対応する順序決定
基準が検索し得、本例では、実行可能条件が位置である
場合には順序決定基準は前状態における位置(Z)と実
行可能条件の位置(Yi)の距離(Z−Yi)が最小で
あるものが次の動作要素となることが示されている。な
お、Xは機器名、本例では台車を示す。 〈ステップ29〉動作要素候補の実行可能条件に対応す
る動作要素実行順序決定基準の有無を判定する。 〈ステップ30〉動作要素実行順序決定基準がない場合
には、表示装置3に動作要素候補の実行可能条件を表示
し、入力装置2を介して動作要素実行順序決定基準が入
力される。 〈ステップ31〉制御対象物データより動作要素の実行
順序の決定要素情報を検索する。すなわち、本例の場合
には、実行可能条件が台車が径検出器、幅検出器の位置
にあることであり、「動作要素実行順序決定基準情報」
フレーム46に実行可能条件が位置である場合には、順
序決定基準は前状態における位置(Z)と実行可能条件
の位置(Yi)の距離(Z−Yi)が最少であるものが
次の動作要素となることが示されているため、実行順序
の決定要素情報は径検出器、幅検出器の位置となり、制
御対象物情報の検出器リスト43から径検出器、幅検出
器の位置、2000および8000が検索される。さら
に、前状態における台車の位置を評価するため中間状態
情報フレーム45の前状態を検索し、台車位置が基準点
(0)であることを得る。 〈ステップ32〉制御対象物情報における実行順序の決
定要素情報の有無を判定する。 〈ステップ33〉実行順序の決定要素情報が無い場合に
は、表示装置3に不足する決定基準情報を表示し、入力
装置2を介して決定要素情報が入力される。 〈ステップ34〉実行順序決定基準および決定要素から
動作要素の実行順序を評価する。本例では、プログラム
モジュール「r_lift_msr_01」の実行順序
決定要素である台車の基準点と径検出器位置の距離つま
り2000と「r_coilcar_msr_01」の
実行順序決定要素である基準点と幅検出器位置の距離つ
まり8000が計算される。 〈ステップ35〉「動作要素実行順序決定基準情報」フ
レーム46に従い実行すべき動作要素が一つだけ決定さ
れる、つまり、本例では、距離が最少であるプログラム
モジュール「r_lift_msr_01」が実行すべ
きプログラムモジュールとして選択される。 〈ステップ36〉ステップ35で決定されたプログラム
モジュール実行により変化する中間状態情報を更新す
る。すなわち、「中間状態情報」フレーム45の項目:
「実行順序決定済み」プログラムモジュール名にステッ
プ35で決定されたプログラムモジュール名つまり「r
_lift_msr_01」を追加し、項目:「前状
態」に制御プログラムモジュール選択・修正知識のフレ
ーム38の項目:「終了状態」の情報を書き込み、項
目:「出力済みデータ」にフレーム38の項目:「実行
後生成データ」の情報を追加する。 〈ステップ37〉実行順序が未決定である動作要素の有
無を判定し、実行順序が未決定の動作要素がある場合に
はステップ27の処理に戻り、残りの動作要素の実行順
序を決定する。実行順序が未決定である動作要素が無い
場合には動作要素実行順序決定処理を終了する。
FIG. 4 shows the processing of step 18 in more detail. The control program module selection / correction knowledge is stored in the control program module selection / correction knowledge storage device 7, as shown in FIG.
It is stored in the format. In this example, the module name “r_
"lift_msr_01", "r_lift_hset
_01 ”,“ r_coilcar_msr_01 ”,
"R_coilcar_pset_01", "r_li
"Operation" of "ft_msr_02", "used device / type", "used detector / type", "executable condition",
"End state", "post-execution generated data", and "module correction data" can be referred to. The control object information is stored in the control object information storage device 4 in the form of a table 43 or a table 44 as shown in FIG. In this example, the table 43 is a detector type of detector numbers 1 to 6, a detector name, a format, a device name, a value indicating a moving distance per digit in the case of a PLG (pulse generator type) detector, and The mounting position and height of the detector with respect to the reference point in the controlled object are items: “type”, “use”, “type”, “device”, “mm / d”
“Igit”, “position”, and “height” can be referred to. Further, in the table 44, the device type, the device name, the device format and the device name of the operation device of the device numbers 1 and 2 are items: “type”, “device name”, “format”,
It can be referred to from the "device". Now,
The processing procedure shown in FIG. 4 will be described. <Step 22> In the program module corresponding to each operation element, the presence / absence of an object that matches the device configuration of the information control object is checked by referring to the selection / correction / correction information of the program module. That is, the target operation shown in the frame 21 of the plant control knowledge, that is, "coil automatic insertion"
When searching for a program module candidate corresponding to the operating element “coil diameter measurement” of FIG.
The frame corresponding to the selection / correction knowledge of the program module “r_lift_msr_01” with reference to the item: “operation” from the control program module selection / correction knowledge of ˜42, and the usage used is “coil diameter measurement”. 38 and "r_lift_msr_0
The frame 42 corresponding to the selection / correction knowledge of "2" is selected. Next, in order to check whether the information control target of the program module matches the device configuration, the information corresponding to the item: “Used detector / type” is referenced in frames 38 and 42. In the case of the frame 42, a lifter position detector and a coil diameter detector are used as detectors, and NL and CMD are read as detector types. Further, in the detector list stored as the control object information table 43, a search is performed for items whose information of "detector name" is a lifter position detector and a coil diameter detector, and detection corresponding to the detector list is performed. When there is a detector having a device name, the type of the corresponding detector is referred to as the information of the item: “type” and compared with the detector type read from the frame 42. After the above processing, there is a detector having a detector name corresponding to the control object information, and a program module having the same detector type is selected. That is,
In this example, “r_lift_msr_02” is selected. Similarly, the program module is searched for other operation elements, and "r_lift_msr_01",
"R_lift_hset_01", "r_coilc
ar_msr_01 "," r_coilcar_pse "
t_01 ”is selected. When a plurality of program modules are selected for the same operating element, one having a large number of devices and detectors to be used may be selected. <Step 23> Examine the existence of usable program modules corresponding to all operation elements required for the target operation. <Step 24> When there is no program module corresponding to the action element, the action element name for which the program module does not exist is displayed on the display device 3, and the program module and its selection / correction information are input via the input device 2. .. <Step 25> The information input in step 24 is added to the control program module selection / correction knowledge storage device 7 and stored as control program module selection / correction knowledge. <Step 26> Control program module storage device 6
To the program module input in step 24. <Step 27> A candidate for an action element that satisfies the executable condition of the program module is selected. That is, the program module “r_lift_msr_01”,
"R_lift_hset_01", "r_coilc
ar_msr_01 "," r_coilcar_pse "
"t_01", "r_lift_msr_02" selection
The item of frames 38 to 42 which is the correction knowledge: “executability condition” is referred to. The item: “executability condition” holds information such as device status and input data as conditions to be satisfied before execution of the program module. The executability condition of the frame 39 corresponding to the program module "r_lift_hset_01" is that the data corresponding to the coil diameter is required as input data before the program module is executed, and that the position of the carriage is the lifter height adjustment position. Show. The operating element satisfying the executability condition of the program module does not need the input data at the time of execution, or selects the one output by the already executed program module by referring to the intermediate state information.
The intermediate state information is stored in the intermediate data storage unit 1 of the arithmetic processing device 1.
In FIG. 7B, the final state of the controlled object and the output data when the operation element whose execution order has already been determined are held in the format shown in the "intermediate state information" frame 45 of FIG. It can be referred to in "previous state" and "outputted data". Therefore, in this example, the program modules “r_lift_msr_01”, “r_coilca”
r_msr_01 ”is selected as a candidate. <Step 28> The action element execution order decision criterion corresponding to the action element candidate executable condition is searched from the action element execution order decision criterion information. The operation element execution order determination reference information is held in the plant control knowledge storage device 5 in a format as shown in the "operation element execution order determination reference information" frame 46 of FIG. 8, and the order determination reference corresponding to the executable condition of the module is stored. In this example, if the executable condition is the position, the order determination criterion is that the distance (Z-Yi) between the position (Z) in the previous state and the position (Yi) of the executable condition is the minimum. Is the next operating element. In addition, X represents a device name, and in this example, a dolly. <Step 29> The presence or absence of the action element execution order determination criterion corresponding to the executability condition of the action element candidate is determined. <Step 30> If there is no action element execution order determination criterion, the display device 3 displays the action element candidate executability condition, and the action element execution order determination criterion is input via the input device 2. <Step 31> The control element data is searched for the determining element information of the execution order of the action elements. That is, in the case of the present example, the feasible condition is that the carriage is located at the position of the diameter detector and the width detector, and the "operation element execution order determination reference information"
When the feasible condition is the position in the frame 46, the order determination criterion is the next action when the distance (Z-Yi) between the position (Z) in the previous state and the position (Yi) of the feasible condition is the smallest. Since it is shown that the elements are elements, the determining element information of the execution order is the positions of the diameter detector and the width detector. From the detector list 43 of the control object information, the position of the diameter detector and the width detector, 2000 And 8000 are searched. Further, the previous state of the intermediate state information frame 45 is searched to evaluate the position of the vehicle in the previous state, and the vehicle position is found to be the reference point (0). <Step 32> The presence or absence of the determining element information of the execution order in the control object information is determined. <Step 33> When there is no determinant element information of the execution order, the deficient decision criterion information is displayed on the display device 3, and the determinant element information is input through the input device 2. <Step 34> The execution order of the action elements is evaluated from the execution order determination criteria and the determination elements. In this example, the distance between the reference point of the truck and the diameter detector position, which is the execution order determining element of the program module "r_lift_msr_01", that is, 2000, and the distance between the reference point and the width detector position that is the execution order determining element of "r_coilcar_msr_01", that is, 8000 is calculated. <Step 35> Only one motion element to be executed is determined according to the “motion element execution order determination criterion information” frame 46, that is, in this example, the program to be executed by the program module “r_lift_msr_01” having the smallest distance. Selected as a module. <Step 36> The intermediate state information changed by the execution of the program module determined in Step 35 is updated. That is, the items of the "intermediate state information" frame 45:
The program module name determined in step 35, ie, "r
_Lift_msr_01 "is added, the information of the item:" end state "of the frame 38 of the control program module selection / correction knowledge is written in the item:" previous state ", and the item of the frame 38:" execute "in the item:" output data " Information of "Post-generation data" is added. <Step 37> It is determined whether there is an action element whose execution order is undecided. If there is an action element whose execution order is undecided, the process returns to step 27 and the execution order of the remaining action elements is determined. If there is no action element whose execution order is undecided, the action element execution order determination process ends.

【0009】さて、以上の図2のステップ18の動作要
素実行順序決定処理のつぎには《ステップ19》のプロ
グラムモジュール(動作要素)間補完処理を行う。図9
はそのステップ19における補完処理をより詳細に示し
たものである。 〈ステップ47〉動作要素実行順序決定処理ステップ1
8で決定されたプログラムモジュール(動作要素)に従
い、前プログラムモジュール実行後の終了状態と次プロ
グラムモジュールの実行可能条件の差異を評価する。 〈ステップ48〉前ステップ47で評価された差異の有
無を評価し、差異が無いすなわちプログラムモジュール
間補完の必要が無い場合には、プログラムモジュール間
補完処理を終了し、差異がある場合にはステップ49に
進む。 〈ステップ49〉差異に対応したプログラムモジュール
間補完情報を制御プログラムモジュール選択・修正知識
記憶装置7から取り出す。 〈ステップ50〉ステップ49で検索されたプログラム
モジュール間補完情報の有無を判定する。 〈ステップ51〉補完情報が無い場合には、表示装置3
にステップ47で評価された差異を表示し、入力装置2
よりプログラムモジュール間補完情報が入力される。 〈ステップ52〉プログラムモジュール間補完情報にし
たがい補完処理を実行する。
Next to the operation element execution order determination processing of step 18 in FIG. 2 described above, a complementary processing between program modules (operation elements) of << step 19 >> is performed. Figure 9
Shows the complementing process in step 19 in more detail. <Step 47> Action element execution order determination process Step 1
According to the program module (operating element) determined in 8, the difference between the end state after the execution of the previous program module and the executability condition of the next program module is evaluated. <Step 48> The presence / absence of the difference evaluated in the previous step 47 is evaluated. If there is no difference, that is, there is no need for complementing between program modules, the complementing process between program modules is terminated, and if there is a difference, step Proceed to 49. <Step 49> The complementary information between the program modules corresponding to the difference is taken out from the control program module selection / correction knowledge storage device 7. <Step 50> The presence / absence of inter-program module complementary information retrieved in step 49 is determined. <Step 51> If there is no complementary information, the display device 3
The difference evaluated in step 47 is displayed on the input device 2
Complementary information between program modules is input. <Step 52> The complementing process is executed according to the complement information between the program modules.

【0010】さて、以上の図2のステップ19のプログ
ラムモジュール(動作要素)間補完処理のつぎには《ス
テップ20》のプログラムモジュール修正処理を行う。
図10は、そのステップ20における修正処理をより詳
細に示したものである。 〈ステップ53〉ステップ18で実行順序が決定された
動作要素のプログラムモジュールに対応する制御プログ
ラムモジュール選択・修正知識記憶装置7に記憶される
プログラムモジュール選択・修正知識のプログラムモジ
ュール修正データを参照する。プログラムモジュール修
正データは、例えば図5のフレーム38に示すが如く表
現され、プログラムモジュールの実行の際に使用される
定数で制御対象物に依存する変数名が参照し得るものと
なっている。 〈ステップ54〉ステップ53で検索したプログラムモ
ジュール修正データから修正の必要の有無を判定し、修
正が必要無い場合にはプログラムモジュール修正処理を
終了する。修正が必要な場合にはステップ55に進む。 〈ステップ55〉制御対象物情報からプログラムモジュ
ール修正データを参照する。 〈ステップ56〉ステップ55における制御対象物情報
の全てについてプログラムモジュール修正データの有無
を判定する。 〈ステップ57〉データが無い場合には、表示装置3に
不足するプログラムモジュール修正データの項目名を表
示し、入力装置2を介してプログラムモジュール修正デ
ータを入力する。 〈ステップ58〉プログラムモジュール修正データの代
入によりプログラムモジュールの実行の際に使用される
定数を計算し、プログラムモジュール内に設定すること
により、プログラムモジュールの修正を実行する。
Next, the program module correction process of <Step 20> is performed after the above-mentioned complement process between program modules (operating elements) of Step 19 of FIG.
FIG. 10 shows the correction process in step 20 in more detail. <Step 53> The program module correction data of the program module selection / correction knowledge stored in the control program module selection / correction knowledge storage device 7 corresponding to the program module of the operation element whose execution order is determined in step 18 is referred to. The program module correction data is expressed, for example, as shown in the frame 38 of FIG. 5, and is a constant used when executing the program module, which can be referred to by the variable name depending on the control object. <Step 54> It is determined from the program module correction data retrieved in step 53 whether or not the correction is necessary. If the correction is not necessary, the program module correction process is terminated. If correction is necessary, go to step 55. <Step 55> The program module correction data is referred to from the control object information. <Step 56> The presence or absence of program module correction data is determined for all of the control target object information in step 55. <Step 57> When there is no data, the display device 3 displays the item name of the program module correction data that is insufficient, and the program module correction data is input through the input device 2. <Step 58> A constant used for executing the program module is calculated by substituting the program module correction data, and is set in the program module to execute the correction of the program module.

【0011】以上の処理手順により制御プログラムが自
動生成される。生成された制御プラグラムは中間データ
記憶部1bに記憶されるとともに、表示装置3に表示さ
れる。また、制御プラグラムは通信制御部1eを介して
接続されるプログラマブルコントローラに送信される。
なお、本発明は、以上で説明した実施例に限定されるも
のではない。ここでは説明の都合上、目標動作の入力情
報として制御仕様に関するキーワードを用いたが、入力
情報に述語論理を用いた制御仕様を用いることもある。
また、実際には制御対象物の制御仕様により、独自な機
器の操作手順がとられる場合があるが、このような情報
も制御対象物情報を制御プログラムモジュール選択・修
正知識に付加してもよい。また、プログラムモジュール
として図形表現を用いた中間言語を用いることもでき、
この場合にはプログラムモジュールの修正処理の後に、
実行形式の制御プログラムへの変換処理が加わる。要す
るに、本発明はその要旨を逸脱しない範囲で種々手変形
して実施することができる。
A control program is automatically generated by the above processing procedure. The generated control program is stored in the intermediate data storage unit 1b and displayed on the display device 3. Further, the control program is transmitted to the programmable controller connected via the communication control unit 1e.
The present invention is not limited to the embodiments described above. Here, for convenience of description, the keyword related to the control specification is used as the input information of the target operation, but the control specification using the predicate logic may be used as the input information.
In addition, in practice, a unique device operation procedure may be taken depending on the control specification of the control object, but such information may also be added to the control program module selection / correction knowledge as control object information. .. It is also possible to use an intermediate language that uses graphic representation as a program module,
In this case, after correcting the program module,
A conversion process to an executable control program is added. In short, the present invention can be modified in various ways without departing from the scope of the invention.

【0012】[0012]

【発明の効果】以上述べたように、本発明によれば、制
御対象物の機能仕様に関する目標動作を設計者が入力す
ることにより、目標動作に対応し制御対象物の機器構成
に適合した動作要素を選択し、それらの実行順序を決定
し、動作要素間の補完および動作要素の修正を行うこと
により制御プログラムを自動生成することができる。ま
た、制御対象物情報は制御対象物毎に設定されるので、
同一の目標動作に対しても制御対象物の機器構成に応じ
て適切な制御プログラムが生成できるため、制御対象物
の機器構成に応じて適切な動作の実行順序を判断すると
いった設計者の負担を大幅に軽減することができるとと
もに、制御プログラムの設計仕様に対する不一致がなく
なることにより、生成された制御プログラムを用いたプ
ログラマブルコントローラにより制御される制御対象物
の信頼性や稼働率を向上させることができる。
As described above, according to the present invention, the designer inputs the target operation relating to the functional specification of the controlled object, so that the operation corresponding to the target operation and adapted to the equipment configuration of the controlled object. A control program can be automatically generated by selecting elements, deciding their execution order, complementing the operation elements and modifying the operation elements. Further, since the control target information is set for each control target,
Even for the same target operation, an appropriate control program can be generated according to the device configuration of the control target, so the designer's burden of determining the appropriate operation execution order according to the device configuration of the control target It is possible to greatly reduce and to improve the reliability and operation rate of the controlled object controlled by the programmable controller using the generated control program by eliminating the disagreement with the design specification of the control program. ..

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

【図1】本発明の一実施例に係る制御プログラム自動生
成装置の構成図。
FIG. 1 is a configuration diagram of a control program automatic generation device according to an embodiment of the present invention.

【図2】与えられた目標動作から目的とする制御プログ
ラムを生成する全体の処理手順を示す図。
FIG. 2 is a diagram showing an overall processing procedure for generating a target control program from a given target operation.

【図3】プラント制御知識の目標動作情報の記述形態を
示す図。
FIG. 3 is a diagram showing a description form of target operation information of plant control knowledge.

【図4】目標動作および制御対象物の機器構成に対応す
る動作要素の実行順序決定処理手順を示す図。
FIG. 4 is a diagram showing an execution order determination processing procedure of operation elements corresponding to a target operation and a device configuration of a controlled object.

【図5】制御プログラムモジュール選択・修正知識の記
述形態を示す図。
FIG. 5 is a diagram showing a description form of control program module selection / correction knowledge.

【図6】制御対象物情報の記述形態を示す図。FIG. 6 is a diagram showing a description form of control object information.

【図7】プログラム自動生成課程における中間状態情報
の記述形態を示す図。
FIG. 7 is a diagram showing a description form of intermediate state information in a program automatic generation process.

【図8】動作要素実行順序決定基準情報の記述形態を示
す図。
FIG. 8 is a diagram showing a description form of action element execution order determination reference information.

【図9】プログラムモジュール間の補完処理手順を示す
図。
FIG. 9 is a diagram showing a complementary processing procedure between program modules.

【図10】プログラムモジュールの制御対象物の機器構
成に応じた修正処理手順を示す図。
FIG. 10 is a diagram showing a correction processing procedure according to the device configuration of the control target object of the program module.

【符号の説明】[Explanation of symbols]

1 制御プログラム生成手段となる演算処理装置 2 入力装置 3 表示装置 4 制御対象物情報記憶装置 5 プラント制御知識記憶装置 6 制御プログラムモジュール記憶装置 7 制御プログラムモジュール選択・修正記憶装置 8 プログラマブルコントローラ 9 制御対象物 1 arithmetic processing unit serving as control program generating means 2 input device 3 display device 4 controlled object information storage device 5 plant control knowledge storage device 6 control program module storage device 7 control program module selection / correction storage device 8 programmable controller 9 controlled object object

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年12月16日[Submission date] December 16, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【特許請求の範囲】[Claims]

───────────────────────────────────────────────────── フロントページの続き (72)発明者 和田 裕 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yu Wada 5-2-1 Omika-cho, Hitachi-shi, Ibaraki Hitachi Ltd. Omika factory

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 制御対象物の機器構成及び機器の機能仕
様と制御機能に関する情報から、指定された制御仕様を
満たす制御プログラムを生成する方法において、制御機
能に関する情報が、機器構成及び機器の機能仕様に応じ
て決定される動作要素情報と動作要素の実行可能条件と
動作要素の実行順序決定基準を含み、該情報を利用して
指定された制御仕様を満たす制御プログラムを生成する
に際し、制御仕様と動作要素の実行可能条件と実行順序
決定基準から、制御仕様を満たす動作要素及びそれらの
実行順序を決定する処理と、決定された実行順序に従い
制御プログラムを生成する処理を含むことを特徴とする
制御プログラム自動生成方法。
1. In a method of generating a control program satisfying a specified control specification from the equipment configuration of a controlled object, the functional specification of the equipment, and the information about the control function, the information about the control function is the equipment configuration and the function of the equipment. When generating a control program that includes action element information determined according to specifications, action element executable conditions and action element execution order determination criteria, and that satisfies the specified control specifications by using the information, the control specifications And a process for determining an operation element that satisfies the control specification and the execution order thereof from the executable condition of the operation element and the execution order determination criterion, and a process for generating a control program according to the determined execution order. Control program automatic generation method.
【請求項2】 制御対象物の機器構成及び機器の機能仕
様と制御機能に関する情報から、指定された制御仕様を
満たす制御プログラムを生成する方法において、目標動
作を入力装置より入力するステップ、目標動作の関連動
作要素を検索するステップ、関連動作要素の実行順序を
決定するステップからなり、動作要素の実行順序を決定
するに際し、機器構成及び機器の機能仕様に応じて決定
される動作要素情報を参照する処理と、動作要素情報か
ら実行可能条件を満足する動作要素を選択する処理と、
動作要素の実行順序決定基準情報を検索する処理と、動
作要素の実行順序の決定要素情報を検索する処理と、動
作要素の実行順序を評価し決定する処理を実行すること
を特徴とする制御プログラム自動生成方法。
2. A method of generating a control program satisfying a specified control specification from information on a device configuration of a controlled object, a function specification of the device, and control function, a step of inputting a target operation from an input device, and a target operation. Of the related operation elements and the step of determining the execution order of the related operation elements. When determining the execution order of the operation elements, refer to the operation element information that is determined according to the equipment configuration and the functional specifications of the equipment. And a process of selecting an action element that satisfies the executable condition from the action element information,
A control program characterized by executing a process of retrieving action element execution order determination criterion information, a process of retrieving action element execution order determination element information, and a process of evaluating and determining the action element execution order. Automatic generation method.
【請求項3】 請求項2において、動作要素情報、動作
要素の実行順序決定基準情報及び動作要素の実行順序の
決定要素情報を検索できないときは、これらの情報を入
力装置より入力する処理を実行することを特徴とする制
御プログラム自動生成方法。
3. In claim 2, when it is not possible to retrieve the action element information, the action element execution order determination reference information, and the action element execution order determination element information, a process of inputting these information from an input device is executed. A method for automatically generating a control program, comprising:
【請求項4】 入力装置と、表示装置と、制御対象物の
機器構成及び機器の機能仕様に応じて決定される動作要
素情報、動作要素の実行可能条件及び動作要素の実行順
序決定基準を含む制御機能に関する情報が記憶される第
1の記憶装置と、制御対象物の機器構成及び機器の機能
仕様を含む制御対象物に関する情報が記憶される第2の
記憶装置と、処理手順を記憶した演算処理装置とからな
る制御プログラム自動生成装置であって、入力装置を介
して入力された制御仕様を満たす動作要素とこの動作要
素に対応する実行可能条件と実行順序決定基準を前記第
1の記憶装置から取り出し、動作要素の実行可能条件に
対応した制御対象物の情報を前記第2の記憶装置から取
り出して、実行順序決定基準に基づき動作要素の実行順
序を決定し、決定された実行順序に従い制御プログラム
を自動生成することを特徴とする制御プログラム自動生
成装置。
4. An input device, a display device, and action element information determined according to the device configuration of the controlled object and the functional specifications of the device, the executability conditions of the action elements, and the execution order determination criteria of the action elements. A first storage device that stores information about a control function, a second storage device that stores information about a control target including the device configuration of the control target and functional specifications of the device, and an operation that stores a processing procedure. A control program automatic generation device comprising a processing device, wherein the first storage device stores an operation element satisfying a control specification input via an input device, an executable condition and an execution order determination criterion corresponding to the operation element. From the second storage device, and the execution order of the operation elements is determined based on the execution order determination criteria. A control program automatic generation device, which automatically generates a control program in accordance with the executed order.
【請求項5】 請求項4において、目的とする制御プロ
グラムの生成に必要な制御機能に関する情報が第1の記
憶装置に記憶される情報より検索できない場合に、目的
とする制御プログラムの生成に必要な制御機能に関する
情報の入力を、表示装置を介してガイドする手段を有す
ることを特徴とする制御プログラム自動生成装置。
5. The method for generating a target control program according to claim 4, when the information about the control function necessary for generating the target control program cannot be retrieved from the information stored in the first storage device. An automatic control program generation device having means for guiding the input of information relating to various control functions via a display device.
【請求項6】 請求項4において、目的とする制御プロ
グラムの生成に必要な制御対象物に関する情報が第2の
記憶装置に記憶される情報より検索できない場合に、目
的とする制御プログラムの生成に必要な制御対象物に関
する情報の入力を、表示装置を介してガイドする手段を
有することを特徴とする制御プログラム自動生成装置。
6. The method for generating a target control program according to claim 4, wherein the information on the controlled object necessary for generating the target control program cannot be retrieved from the information stored in the second storage device. An automatic control program generation device having means for guiding the input of necessary information on a controlled object via a display device.
【請求項7】 請求項4において、制御機能に関する情
報は、動作要素に対応した制御プログラムの部品となる
プログラムモジュールとモジュール修正情報を含み、動
作要素とその実行順序の決定に伴い、動作要素に対応す
るプログラムモジュールとモジュール修正情報を第1の
記憶装置から取り出し、モジュール修正に必要な情報を
第2の記憶装置から取り出し、モジュールの修正を行
い、制御プログラムを自動生成することを特徴とする制
御プログラム自動生成装置。
7. The information according to claim 4, wherein the information regarding the control function includes a program module which is a component of a control program corresponding to an operation element and module correction information, and the operation element and A control characterized by taking out a corresponding program module and module correction information from the first storage device, taking out information necessary for the module correction from the second storage device, correcting the module, and automatically generating a control program. Automatic program generator.
JP4056894A 1992-02-07 1992-02-07 Method and device for automatic production of control program Pending JPH05224706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4056894A JPH05224706A (en) 1992-02-07 1992-02-07 Method and device for automatic production of control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4056894A JPH05224706A (en) 1992-02-07 1992-02-07 Method and device for automatic production of control program

Publications (1)

Publication Number Publication Date
JPH05224706A true JPH05224706A (en) 1993-09-03

Family

ID=13040152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4056894A Pending JPH05224706A (en) 1992-02-07 1992-02-07 Method and device for automatic production of control program

Country Status (1)

Country Link
JP (1) JPH05224706A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3462032B1 (en) 2011-09-20 2023-06-07 Grundfos Holding A/S Pump unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3462032B1 (en) 2011-09-20 2023-06-07 Grundfos Holding A/S Pump unit

Similar Documents

Publication Publication Date Title
US4949253A (en) Method and apparatus for automatically generating program
JPS60263256A (en) Computer provided with skill degree function
CN116009852A (en) Code construction method, device, computer equipment and storage medium
JPH05224706A (en) Method and device for automatic production of control program
JPH1097559A (en) Computer-aided operation device and its guidance organization method
JPH08329004A (en) Method for improving terminal operability of application program use
JP2939841B2 (en) Database search device
JPH0816684A (en) Data input controlling method on screen
JPH103417A (en) File change history management system
JP3528249B2 (en) Document processing device
JPH08297569A (en) Source program correction supporting device
JPH02163823A (en) Set value check system at decision of system constitution
JPH10133866A (en) Method for shift conversion processing
JP5965785B2 (en) Use case scenario creation support device, use case scenario creation support method, and use case scenario creation support program
CN117136122A (en) Robot control device and robot control system
JP2001142717A (en) Data processor
JPH04245335A (en) Knowledge expressing system
JPS5870361A (en) Input controlling system
JPH03177928A (en) Rule interpretation processing system
JPH0944358A (en) Method and device for program generation, method and device for object generation
JPH05204865A (en) Electronic equipment provided with complex computing function
JPH04260134A (en) Name mark managing system for language processing system
JPH0628162A (en) Method for supporting program generation system
JPH06208558A (en) Method and device for assisting sentence correction
JPH03116354A (en) Automatic generating device for online system operating environment

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees