JP2752982B2 - Control execution program generation device - Google Patents

Control execution program generation device

Info

Publication number
JP2752982B2
JP2752982B2 JP63073805A JP7380588A JP2752982B2 JP 2752982 B2 JP2752982 B2 JP 2752982B2 JP 63073805 A JP63073805 A JP 63073805A JP 7380588 A JP7380588 A JP 7380588A JP 2752982 B2 JP2752982 B2 JP 2752982B2
Authority
JP
Japan
Prior art keywords
target
control
knowledge
condition
control execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63073805A
Other languages
Japanese (ja)
Other versions
JPH01245305A (en
Inventor
康子 中山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP63073805A priority Critical patent/JP2752982B2/en
Publication of JPH01245305A publication Critical patent/JPH01245305A/en
Application granted granted Critical
Publication of JP2752982B2 publication Critical patent/JP2752982B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、設計者によって与えられた入力情報から、
プログラマブルコントローラの制御実行プログラムを自
動生成する制御実行プログラム生成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial application field) The present invention is based on input information given by a designer.
The present invention relates to a control execution program generation device that automatically generates a control execution program for a programmable controller.

(従来の技術) 各種プラント等の制御対象を制御するのに用いられる
プログラマブルコントローラにあっては、同じ制御対象
と異った方法で制御することがある。たとえばある制御
対象を、ある状態においては動作A,動作Bの順序で動か
し、他の状態においては、動作B,動作Aの順序で動かす
というように制御の順序が異なることがある。また制御
対象に与える動作の順序は同じでもある動作から次の動
作に遷移するタイミングが異なったり、動作の設定速度
が異なる場合もある。このため、従来はこれらの動作を
規定する複数の制御実行プログラムを設計者が個々に作
成し、プログラマブルコントローラに入力させるように
していた。
(Prior Art) In a programmable controller used to control a control target such as various plants, the same control target may be controlled by a different method. For example, a control target may be moved in the order of the operation A and the operation B in a certain state, and may be moved in the order of the operation B and the operation A in another state. In addition, the order of operations given to the control target may be the same, the timing of transition from the operation to the next operation may be different, or the set speed of the operation may be different. For this reason, conventionally, a designer has individually created a plurality of control execution programs that define these operations, and input the programs to a programmable controller.

しかしながら、一般に、各種制御対象の動作が遷移す
る場合には、その成立条件、動作の停止条件等、細かな
制約条件が課されており、これらを全て把握しながらプ
ログラムを記述するのは、設計者にとって大きな負担と
なるという問題がある。このため、上述のように、複数
の制御プログラムを設計者が個々に作成する作業は、プ
ログラムの生成効率が悪く、しかもプログラムの入力ミ
スも生じ易いという欠点を有していた。
However, in general, when the operation of various control objects transitions, detailed constraints such as a condition to be satisfied and a condition for stopping the operation are imposed. There is a problem that it becomes a heavy burden on the elderly. For this reason, as described above, the work in which a designer individually creates a plurality of control programs has a drawback that program generation efficiency is low and that a program input error easily occurs.

(発明が解決しようとする課題) このように、従来は、プログラマブルコントローラの
動作を規定する複数の制御実行プログラムを細かな制約
条件を加味しながら設計者が個々に作成していたので、
プログラムの生成効率が悪く、しかもプログラムの入力
ミスも生じ易いという問題があった。
(Problems to be Solved by the Invention) As described above, conventionally, a designer has individually created a plurality of control execution programs that define the operation of a programmable controller while taking into account detailed constraints.
There has been a problem that the generation efficiency of the program is low and the input error of the program is liable to occur.

本発明はこのような事情を考慮してなされたもので、
その目的とするところは、入力情報として制御対象の目
標動作の概略を指定するだけで、目標動作間の遷移条件
を自動的に生成し、目的とする個々の制御実行プログラ
ムを自動的に生成可能な制御実行プログラム生成装置を
提供することにある。
The present invention has been made in view of such circumstances,
The purpose is to specify the outline of the target operation of the control target as input information and automatically generate the transition condition between the target operations and automatically generate the target control execution program. Another object of the present invention is to provide a control execution program generating device.

[発明の構成] (課題を解決するための手段) 本発明に係る制御実行プログラム生成装置は、制御対
象の各動作に関する制約関係情報を制御対象の状態と関
係づけて記述してなる対象知識を記憶した記憶手段と、
前記制御対象の目標動作の概略情報が与えられた場合
に、該目標動作に関係する対象知識を前記記憶手段から
検索し、これら対象知識に基づいて目標動作を詳細化す
るとともに目標動作間の遷移条件を生成し、目的とする
制御実行プログラムを生成するプログラム生成制御手段
とを具備したことを特徴とする。
[Configuration of the Invention] (Means for Solving the Problems) A control execution program generation device according to the present invention provides target knowledge which describes constraint relation information on each operation of a control target in association with a state of the control target. Storage means for storing,
When the general information of the target operation of the control target is given, target knowledge related to the target operation is searched from the storage unit, and the target operation is refined based on the target knowledge and the transition between the target operations is performed. Program generation control means for generating conditions and generating a target control execution program.

(作用) 本発明によれば、入力手段を介して目標動作の概略が
与えられると、プログラム生成制御手段は、上記目標動
作に関係する対象知識を検索し、この知識に基づいて目
標動作間の遷移条件を決定し、目的とする制御実行プロ
グラムを生成する。従って、例えば同じ制御対象を異っ
た方法で制御するような場合、本発明によれば目標動作
の概略情報を変更するだけで良く、複数のプログラムを
個々に作成し、入力する従来の方法に比べて大幅に手間
が省け、さらに入力ミスを削減できプログラムの品質が
向上する。また制御対象の構成や取り得る動作が変更に
なったような場合は、変更箇所についてのみ対象知識記
憶部の内容を書き替えれば良いので、制御実行プログラ
ム生成装置自体の保守,拡張も容易である。
(Operation) According to the present invention, when an outline of a target operation is given via the input unit, the program generation control unit searches for target knowledge related to the target operation, and based on this knowledge, the program generation control unit searches for the target operation. A transition condition is determined, and a target control execution program is generated. Therefore, for example, when the same control target is controlled by different methods, according to the present invention, it is only necessary to change the general information of the target operation, and the conventional method of individually creating and inputting a plurality of programs is used. This saves a lot of trouble, reduces input errors, and improves program quality. In addition, when the configuration of the control target or the possible operation is changed, the contents of the target knowledge storage unit need only be rewritten for the changed part, so that the maintenance and extension of the control execution program generation device itself is easy. .

(実施例) 以下、図面を参照して本発明の一実施例について説明
する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図は本実施例に係る制御実行プログラム生成装置
を用いたシステムの構成図である。同図において、1は
プログラム生成制御手段となるCPU(中央処理装置)、
2はこのCPU1で作成されたプログラムを記憶するプログ
ラム記憶装置、3は予め制御対象12の目標動作の成立条
件、停止条件、制約等の制約関係情報を制御対象12やシ
ステムの状態と関係づけて記述した対象知識を記憶する
対象知識記憶装置である。これらCPU1及び両記憶装置2,
3は、バス9を介して接続されている。又、このバス9
には、表示装置インタフェース4を介して表示装置5が
接続されている。表示装置5は、生成されたプログラム
を表示するなど設計者に情報を提示する。又、バス9に
は、入力装置インタフェース6を介して入力装置7が接
続されている。この入力装置7は、設計者が対象の目標
動作の概略など設計に必要な入力情報を入力するために
用いられる。さらにバス9には、プログラマブルコント
ローラインタフェース8が接続されている。これらの各
要素が制御実行プログラム生成装置10を構成する。この
制御実行プログラム生成装置10で生成された制御実行プ
ログラムは、プログラマブルコントローラインタフェー
ス8を介して出力される。外部のプログラマブルコント
ローラ9にプログラマブルコントローラ11は、入力され
た制御実行プログラムに従って制御対象12を制御する。
FIG. 1 is a configuration diagram of a system using the control execution program generation device according to the present embodiment. In FIG. 1, reference numeral 1 denotes a CPU (central processing unit) serving as a program generation control unit;
Reference numeral 2 denotes a program storage device for storing a program created by the CPU 1; This is a target knowledge storage device that stores the described target knowledge. These CPU 1 and both storage devices 2,
3 is connected via a bus 9. Also, this bus 9
Is connected to the display device 5 via the display device interface 4. The display device 5 presents information to the designer, such as displaying the generated program. The input device 7 is connected to the bus 9 via the input device interface 6. The input device 7 is used by a designer to input input information necessary for design such as an outline of a target operation to be performed. Further, a programmable controller interface 8 is connected to the bus 9. These components constitute the control execution program generation device 10. The control execution program generated by the control execution program generation device 10 is output via the programmable controller interface 8. The programmable controller 11 controls the control target 12 according to the input control execution program.

第2図は、対象知識記憶装置3に記憶されている制御
対象の動作と成立条件、停止条件、制約との関係を表現
する対象知識の一記述例である。知識表現に用いられて
いる主な要素は、図中に円で示したオブジェクト21と図
中に矢印で示したオブジェクト間の関係22である。オブ
ジェクト21は制御対象、制御対象の動作、制御対象の状
態、システムの状態などを表すものである。オブジェク
ト間の関係22は、矢印の始点のオブジェクトが矢印の終
点のオブジェクトに対して持つ関係を表すものである。
例えば今、徐冷カバーが前進,後退,開閉動作を行うと
した場合、同図においてオブジェクト“開”の持つ関係
は次のようなものである。閉は、徐冷カバーの取り得
る動作であり、さらに閉の取り得る動作は高速閉と低速
閉とに分けられる。閉の成立条件は徐冷カバーの電源
ON、非常停止でない(図中の(not)は否定を表す)、
自動運転モード選択である。閉の停止条件は閉限であ
る。すなわち、閉動作は閉限にて停止する。閉の制約
は26゜以下の条件では前進限であることである。すなわ
ち、26゜以下では前進限でなければ閉動作をしてはなら
ない。閉動作は26゜以下でないときは高速運転をする
が、26゜以下では低速運転をする。
FIG. 2 is an example of a description of target knowledge that expresses the relationship between the operation of the control target stored in the target knowledge storage device 3 and the establishment conditions, stop conditions, and constraints. The main elements used in the knowledge expression are an object 21 indicated by a circle in the figure and a relation 22 between the objects indicated by an arrow in the figure. The object 21 represents a control target, a control target operation, a control target state, a system state, and the like. The relationship 22 between the objects represents the relationship that the object at the start of the arrow has with the object at the end of the arrow.
For example, if it is assumed that the slow cooling cover performs forward, backward, and opening and closing operations, the relationship of the object “open” in FIG. Closing is an action that the slow cooling cover can take, and the action that can be taken is further divided into high-speed closing and low-speed closing. The condition for closing is the power supply of the slow cooling cover.
ON, not an emergency stop ((not) in the figure indicates negation),
Automatic operation mode selection. The closing stop condition is the closing limit. That is, the closing operation stops at the closing limit. The constraint on closing is that the forward limit is reached under conditions of 26 ° or less. In other words, if the angle is 26 degrees or less, the closing operation must not be performed unless the forward limit is reached. When the closing operation is not 26 ° or less, high-speed operation is performed, but when the closing operation is 26 ° or less, low-speed operation is performed.

徐冷カバーの閉動作の制御実行プログラムは、このよ
うな関係で記述される成立条件、停止条件、制約を出力
信号の入力条件として参照しなければならない。これら
の知識は対象知識記憶装置3に、例えば、第3図に示す
ように、フレーム形式で記述されている。
The control execution program for the closing operation of the slow cooling cover must refer to the established condition, the stop condition, and the constraint described in such a relationship as the input condition of the output signal. These knowledges are described in the target knowledge storage device 3 in a frame format, for example, as shown in FIG.

なお、第4図は対象知識のうち動作と状態遷移関係を
記述した部分である。この図において、“次”とは、次
の取り得る状態を規定する意味である。
FIG. 4 is a part of the target knowledge in which the operation and the state transition relation are described. In this figure, "next" means defining the next possible state.

第5図は設計者が入力装置7を用いて入力する入力情
報の一記述例である。設計者は、プログラム開始31、制
御対象の目標動作の概略32,33及びプログラム終了34を
記述するだけで良い。制御対象の目標動作の概略32,34
の記述は、制御対象と目標動作とを“←”をはさんで記
述すれば良い。実行順序は上から下に遷移する。
FIG. 5 is a description example of input information input by the designer using the input device 7. The designer need only describe the program start 31, the outline 32, 33 of the target operation to be controlled, and the program end 34. Outline of target operation of controlled object 32, 34
May be described by sandwiching “←” between the control target and the target operation. The execution order changes from top to bottom.

第6図は、第5図の入力情報を第2図〜第4図の対象
知識を用いて展開した、プログラムの生成過程の中間表
現である。プログラム開始31、制御対象の目標動作32,3
3、プログラム終了の記述34に加えて、遷移条件35が付
加されている。また、36は条件分岐である。
FIG. 6 is an intermediate representation of the process of generating a program in which the input information of FIG. 5 is developed using the target knowledge of FIGS. Program start 31, target operation 32, 3 to be controlled
3. In addition to the description 34 of the end of the program, a transition condition 35 is added. 36 is a conditional branch.

このような中間表現を生成するCPU1における処理を第
7図〜第9図を用いて説明する。以下の処理は入力情報
の一つの目標動作について施す処理であるが、この処理
を入力情報に指定された全ての目標動作に対し、実行す
る第7図においてまず、目標動作に対応する対象知識に
記述された動作オブジェクトを検索する(ステップ
A)。たとえば第5図の「徐冷カバー←閉」を目標動作
とすると、動作オブジェクトは「閉」である。検索され
た動作オブジェクトが制約関係をもつなら(ステップ
B)制約関係処理を実行する(ステップC)。制約関係
処理の概要を第8図に示す。第8図においてまず、制約
関係が成立するための条件があるか検査し(ステップ
G)、なければ、制約関係にあるオブジェクトの内容を
目標動作の遷移条件とする(ステップN)。条件があれ
ば、条件の否定を目標動作の遷移条件とする(ステップ
H)。たとえば、第2図において「閉」の制約関係は
「26゜以下の条件のとき前進限」である。従って、条件
の否定の「not26゜以下」が「徐冷カバー←閉」の遷移
条件として決定され、第6図に示す「徐冷カバー←not2
6゜以下」が決定される。次に条件づけされている制約
オブジェクトを取り出す(ステップI)。この例の場合
は「前進限」である。取り出された制約オブジェクトが
状態オブジェクトであるか検査し(ステップJ)、状態
オブジェクト以外ならば制約関係を成立条件関係に変更
して(ステップO)処理を後に廻す。制約オブジェクト
が状態オブジェクトなら、状態オブジェクトと停止関係
にある動作オブジェクトを取り出す(ステップK)。こ
の例では状態オブジェクト「前進限」と停止関係にあ
る。すなわち停止条件として「前進限」をもつ動作オブ
ジェクト「前進」が取り出される。ここで取り出された
動作オブジェクトに対応する目標動作を決定し、先の条
件をこの目標動作の遷移条件とする(ステップL)。こ
の例では「26゜以下」が「前進」の遷移条件となり、第
6図の「徐冷カバー←前進」の遷移条件」の「徐冷カバ
ー←26゜以下」に展開される。最後に、今処理対象とな
った条件を条件分岐として中間表現に生成する(ステッ
プM)。この例では、第6図に「徐冷カバー←not26゜
以下」と「徐冷カバー←26゜以下」に分岐する条件分岐
が生成されている。以上に示した制約関係処理を終了す
ると、目標動作の遷移条件が決定される。次に、動作オ
ブジェクトの停止条件であるオブジェクトを取り出し
(ステップD)、この内容を目標動作から次の目標動作
に遷移するための遷移条件とする(ステップE)。たと
えば「閉」の停止条件は「閉限」であるから、第6図の
「徐冷カバー←閉限」に展開される。以上の処理で目標
動作から次の目標動作に遷移するための遷移条件が決定
される。
The processing in the CPU 1 for generating such an intermediate representation will be described with reference to FIGS. The following processing is performed for one target operation of the input information. This processing is performed on all target operations specified in the input information. In FIG. 7, first, processing is performed on target knowledge corresponding to the target operation. The described motion object is searched (step A). For example, when the target operation is “slow cooling cover ← closed” in FIG. 5, the operation object is “closed”. If the retrieved motion object has a constraint relationship (step B), a constraint relationship process is executed (step C). FIG. 8 shows an outline of the constraint relation processing. In FIG. 8, first, it is checked whether there is a condition for establishing the constraint relationship (step G), and if not, the contents of the object having the constraint relationship are set as transition conditions of the target operation (step N). If there is a condition, the negation of the condition is set as the transition condition of the target operation (step H). For example, in FIG. 2, the constraint relationship of “closed” is “the forward limit when the condition is 26 ° or less”. Accordingly, the negative condition “not 26 ゜ or less” is determined as the transition condition of “slow cooling cover ← closed”, and “slow cooling cover ← not2” shown in FIG.
6 ゜ or less ”is determined. Next, the conditioned constraint object is extracted (step I). In the case of this example, it is “forward limit”. It is checked whether or not the extracted constraint object is a state object (step J). If the object is not a state object, the constraint relation is changed to a satisfaction condition relation (step O), and the process is postponed. If the constraint object is a state object, an operation object having a stop relationship with the state object is extracted (step K). In this example, there is a stop relationship with the state object “forward limit”. That is, the motion object “forward” having the “forward limit” as the stop condition is extracted. Here, a target operation corresponding to the extracted operation object is determined, and the above condition is set as a transition condition of the target operation (step L). In this example, “26 ° or less” is the transition condition of “forward”, and is expanded to “slow cooling cover ← 26 ° or less” of “transition condition of slow cooling cover ← forward” in FIG. Finally, the condition that has just been processed is generated in the intermediate expression as a conditional branch (step M). In this example, a conditional branch is generated in FIG. 6 that branches to “slow cooling cover ← not 26 ° or less” and “slow cooling cover ← 26 ° or less”. When the above-described constraint relation processing is completed, the transition condition of the target operation is determined. Next, an object that is a stop condition of the motion object is extracted (step D), and the content is set as a transition condition for transitioning from the target operation to the next target operation (step E). For example, since the stop condition of “closed” is “closed”, it is expanded to “slow cooling cover ← closed” in FIG. With the above processing, the transition condition for transitioning from the target operation to the next target operation is determined.

さらに、この例に見るように「閉」が「高速閉」と
「低速閉」の2つの動作から構成される場合がある。こ
のように目標動作をいくつかの動作に詳細化できる場合
には、目標動作詳細化処理を実行する(ステップF)。
目標動作詳細化処理の概要を第9図に示す。同図におい
て、まず目標動作が詳細化可能であるか検査を行なう
(ステップP)。この例では「閉」が構成される動作が
あるか検査することで成される。詳細化可能ならば動作
オブジェクトの下位動作オブジェクトを取り出す(ステ
ップQ)。この取り出した動作オブジェクトを用いて目
標動作の詳細化を行なう。次に、目標動作を詳細化した
下位動作オブジェクトの実行順序を決定する(ステップ
R)が、このとき、対象知識に記述された、動作と状態
遷移の関係知識を用いる。この処理について第3図を用
いて説明する。第4図は徐冷カバーの状態「開限」「no
t26゜以下」「26゜以下」「閉限」が遷移する順序を表
現したもので、動作「閉」が成立している条件の下で有
効になる次関係から状態が「開限」→「not26゜以下」
→「26゜以下」「閉限」と遷移することを表している。
また、第2図に示すように「高速閉」「低速閉」は各々
制約として「not26゜以下」「26゜以下」を持つ。この
ことと、状態が「not26゜以下」→「26゜以下」と遷移
することから動作を「高速閉」→「低速閉」の順序で実
行すれば良いことが決定できる。このようにして詳細化
された目標動作の実行順序が決まると第1番めの目標動
作を決定する訳であるが(たとえば目標動作が詳細化さ
れて二つになっても一方は実行されない場合も考えられ
る。)、詳細化される前の目標動作(この例では
「閉」)の遷移条件を包含する制約をもつ詳細化された
目標動作(この例では「高速閉」)を第1番めの目標動
作として設定する(ステップS)。最後に、詳細化され
た各目標動作の遷移条件を制約関係処理を実行すること
により決定する(ステップT)。このようにして、第6
図の目標動作「徐冷カバー←高速閉」32の「徐冷カバー
←低速閉」32bと遷移条件「徐冷カバー←前進」33の中
間表現に展開される。
Further, as seen in this example, “close” may be composed of two operations of “high-speed close” and “low-speed close”. If the target operation can be refined into several operations as described above, the target operation is refined (step F).
FIG. 9 shows an outline of the target operation detailing process. In the figure, first, it is checked whether the target operation can be refined (step P). In this example, the operation is performed by checking whether there is an operation that configures “close”. If the detailing is possible, a lower-level action object of the action object is extracted (step Q). The target operation is refined using the extracted operation object. Next, the execution order of the lower-order motion objects in which the target motion is detailed is determined (Step R). At this time, the knowledge of the relationship between the motion and the state transition described in the target knowledge is used. This processing will be described with reference to FIG. FIG. 4 shows the state of the slow cooling cover “open limit” “no”
Represents the order in which t26 t or less, 「26 ゜ or less, and“ closed ”transition, and the state becomes“ opened ”→“ not26 ゜ or less
→ It indicates that the transition is “26 ° or less” or “closed”.
Further, as shown in FIG. 2, “high speed close” and “low speed close” have “not 26 ° or less” and “26 ° or less” as constraints, respectively. From this, and since the state transits from “not 26 ° or less” to “26 ° or less”, it can be determined that the operation should be executed in the order of “high speed close” → “low speed close”. When the execution order of the detailed target operations is determined, the first target operation is determined (for example, if one of the target operations is not executed even if the target operations are refined into two) Can be considered.), The refined target operation (“fast closing” in this example) having the constraint including the transition condition of the target operation before being refined (“closed” in this example) is the first. (Step S). Finally, the transition condition of each refined target operation is determined by executing a constraint relation process (step T). In this way, the sixth
The intermediate operation of the target operation “slow cooling cover ← high speed closing” 32 “slow cooling cover ← low speed closing” 32b and the transition condition “slow cooling cover ← forward” 33 in the figure is developed.

最後にCPU1は、以上の中間表現をプログラムに変換す
る。このとき、第2図の対象知識の動作オブジェクトの
成立条件を参照して目標動作のための制御実行プログラ
ムの出力信号の入力条件を決定する。
Finally, the CPU 1 converts the above intermediate representation into a program. At this time, the input condition of the output signal of the control execution program for the target operation is determined with reference to the condition for establishing the operation object of the target knowledge in FIG.

以上説明したように、この実施例では対象知識(第2
図〜第4図)に、制御対象の動作の成立条件、停止条
件、制約あるいは動作と状態遷移の関係を対象知識とし
て記述し、記憶させておくことによりCPU1は、目標動作
の概略が入力されたら、上記対象知識を用いて遷移条件
を具体化し、目標動作を詳細化して、上記目標動作の概
略を、プログラム生成過程の中間表現に展開する。
As described above, in this embodiment, the target knowledge (second
In FIG. 4 to FIG. 4), the CPU 1 receives the outline of the target operation by describing and storing as conditions the conditions of establishment, stop conditions, constraints or the relationship between the operation and the state transition of the operation of the controlled object as object knowledge. Then, the transition condition is embodied using the target knowledge, the target operation is detailed, and the outline of the target operation is developed into an intermediate expression in a program generation process.

尚、本発明は上述した実施例に限定されるものではな
い。ここでは説明の都合上、設計者の入力情報を制御対
象の目標動作の指定に止めたが、実際には対象知識に記
述できない設計者の意図を反映した遷移条件などもあ
り、入力情報に遷移条件の情報が入力されることもあ
る。また、徐冷カバーに限らず一般的に機械は高速→低
速→停止で運転されなければならないというような常識
知識もあり、そのような常識知識を付加することも考え
られる。要するに本発明はその要旨を逸脱しない範囲で
種々変形して実施することができる。
Note that the present invention is not limited to the above-described embodiment. Here, for the sake of explanation, the input information of the designer is limited to the specification of the target operation of the control target. Condition information may be input. Further, there is common knowledge that the machine must be operated at high speed → low speed → stop without being limited to the slow cooling cover, and such common knowledge may be added. In short, the present invention can be variously modified and implemented without departing from the gist thereof.

[発明の効果] 以上説明したように本発明によれば、設計者が入力情
報として目標動作の概略を与えるだけで、遷移条件を自
動的に生成し、制御実行プログラムを生成することがで
きる。また、対象知識は制御対象毎に記述してあるもの
で、制御の意図とは独立である。従って類似した制御対
象を異った方法で制御する場合に、対象知識は何度も参
照できるので、入力情報の目標動作の概略を変更するだ
けで複数のプログラムを自動的に生成でき、設計者の労
力を大幅に軽減することができる。
[Effect of the Invention] As described above, according to the present invention, a transition condition can be automatically generated and a control execution program can be generated only by a designer giving an outline of a target operation as input information. The target knowledge is described for each control target and is independent of the control intention. Therefore, when a similar control target is controlled by a different method, the target knowledge can be referred to many times, so that it is possible to automatically generate a plurality of programs simply by changing the outline of the target operation of the input information. Labor can be greatly reduced.

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

第1図〜第9図は本発明の一実施例に係る制御実行プロ
グラム生成装置を説明するための図で、第1図は同装置
のブロック構成図、第2図は対象知識の表現形式を示す
図、第3図は対象知識の記憶形態を示す図、第4図は対
象知識の動作と状態遷移関係を示す図、第5図は設計者
が入力する入力情報を示す図、第6図は入力情報からプ
ログラムを生成する過程で展開される中間表現図、第7
図は一つの目標動作について中間表現に展開する処理の
流れを示す図、第8図は目標動作の制約関係から、目標
動作の遷移条件を決定する処理の流れを示す図、第9図
は一つの目標動作が詳細化できる場合の詳細化の処理の
流れを示す図である。 1……CPU、2……プログラム記憶装置、3……対象知
識記憶装置、4……表示装置インタフェース、5……表
示装置、6……入力装置インタフェース、7……入力装
置、8……プログラマブルコントローラインタフェー
ス、9……バス、10……制御実行プログラム生成装置、
11……プログラマブルコントローラ、12……制御対象、
21……オブジェクト、22……オブジェクト間の関係、31
……プログラム開始、32,33……目標動作、34……プロ
グラム終了、35……遷移条件、36……条件分岐。
1 to 9 are diagrams for explaining a control execution program generation device according to an embodiment of the present invention. FIG. 1 is a block diagram of the device, and FIG. FIG. 3 is a diagram showing a storage form of the target knowledge, FIG. 4 is a diagram showing an operation and a state transition relationship of the target knowledge, FIG. 5 is a diagram showing input information inputted by a designer, FIG. Is an intermediate representation diagram developed in the process of generating a program from input information.
FIG. 8 is a diagram showing a flow of a process of developing one target operation into an intermediate expression. FIG. 8 is a diagram showing a flow of a process of determining a transition condition of the target operation from a constraint relationship of the target operation. It is a figure which shows the flow of the process of refinement | finish when one target operation | movement can be refined. 1 ... CPU, 2 ... program storage device, 3 ... target knowledge storage device, 4 ... display device interface, 5 ... display device, 6 ... input device interface, 7 ... input device, 8 ... programmable Controller interface, 9 bus, 10 control execution program generator,
11 …… Programmable controller, 12 …… Control object,
21 ... objects, 22 ... relationships between objects, 31
…… Program start, 32,33… Target action, 34… Program end, 35… Transition condition, 36… Conditional branch.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】制御対象の各動作に関する制約関係情報を
制御対象の状態と関係づけて記述してなる対象知識を記
憶した記憶手段と、 前記制御対象の目標動作の概略情報が与えられた場合
に、該目標動作に関係する対象知識を前記記憶手段から
検索し、これら対象知識に基づいて目標動作を詳細化す
るとともに目標動作間の遷移条件を生成し、目的とする
制御実行プログラムを生成するプログラム生成制御手段
とを具備したことを特徴とする制御実行プログラム生成
装置。
1. A storage means for storing target knowledge in which constraint relation information relating to each operation of a control target is described in relation to a state of the control target, and when general information of target operation of the control target is provided. In addition, a target knowledge related to the target operation is retrieved from the storage unit, the target operation is refined based on the target knowledge, a transition condition between the target operations is generated, and a target control execution program is generated. A control execution program generation device, comprising: a program generation control unit.
JP63073805A 1988-03-28 1988-03-28 Control execution program generation device Expired - Lifetime JP2752982B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63073805A JP2752982B2 (en) 1988-03-28 1988-03-28 Control execution program generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63073805A JP2752982B2 (en) 1988-03-28 1988-03-28 Control execution program generation device

Publications (2)

Publication Number Publication Date
JPH01245305A JPH01245305A (en) 1989-09-29
JP2752982B2 true JP2752982B2 (en) 1998-05-18

Family

ID=13528750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63073805A Expired - Lifetime JP2752982B2 (en) 1988-03-28 1988-03-28 Control execution program generation device

Country Status (1)

Country Link
JP (1) JP2752982B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0778075A (en) * 1993-01-22 1995-03-20 Internatl Business Mach Corp <Ibm> Method and apparatus for provision of interactive dispersed finite-state program generator
JP2657189B2 (en) * 1993-02-16 1997-09-24 三田工業株式会社 Method and apparatus for automatically generating control sequence software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60163105A (en) * 1984-02-01 1985-08-26 Hitachi Ltd Sequence control program generation system

Also Published As

Publication number Publication date
JPH01245305A (en) 1989-09-29

Similar Documents

Publication Publication Date Title
JP2752982B2 (en) Control execution program generation device
JP3301494B2 (en) Method of operating numerically controlled machine tool and machine tool for implementing the method
JP2000020114A (en) Method for generating and executing program for motion controller
US5060133A (en) Transputer CNC processor
JPH01108602A (en) Sequence controller
JPH01113174A (en) Automatic setting device for welding condition
JP2533505B2 (en) Language processing method for programmable controller
JPH01169605A (en) Program generating device
JP2001067110A (en) Teaching device for robot device, method for teaching robot device and control device for robot device
JP2018041129A (en) High-level synthesis description conversion device and high-level synthesis description conversion program
JPH11167409A (en) Program controller operating by parallel language
JPS615312A (en) Producer of control information of industrial robot
JPH1177485A (en) Numerical control device provided with logical expression interpreting function and control method thereof
JPS61148531A (en) Input device for arithmetic processing data
JPH06209596A (en) Stepping motor control simulator
JPS63316105A (en) Simulation device for programmable controller
JP2013041392A (en) Numerical controller and processing program generation method
JP3283055B2 (en) Program editing device
JPH0261715A (en) Command interpreter with memory function
JPH0651808A (en) Programmable controller
JPH05297913A (en) Programmable controller
JPS59200307A (en) Robot controller
JPH03201104A (en) Control program forming device
JPH05324849A (en) Hatching system
JPH02227703A (en) Programmable controller system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080227

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 11