JPH03113504A - Generating device for control execution program - Google Patents

Generating device for control execution program

Info

Publication number
JPH03113504A
JPH03113504A JP24930689A JP24930689A JPH03113504A JP H03113504 A JPH03113504 A JP H03113504A JP 24930689 A JP24930689 A JP 24930689A JP 24930689 A JP24930689 A JP 24930689A JP H03113504 A JPH03113504 A JP H03113504A
Authority
JP
Japan
Prior art keywords
knowledge
control execution
execution program
conveyor
control
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
JP24930689A
Other languages
Japanese (ja)
Inventor
Yasuko Nakayama
康子 中山
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 JP24930689A priority Critical patent/JPH03113504A/en
Publication of JPH03113504A publication Critical patent/JPH03113504A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically generate a control execution program based on the input information received from a designer and in accordance with each operating method by generating transformation of the subject knowledge for each operating method of a control subject based on the mechanical performance knowledges produced in consideration of various operating methods. CONSTITUTION:A control execution program obtained via a control execution program generating device 13 is outputted to an external programmable controller 14 via a programmable controller interface 11. Then the controller 14 controls a control subject 15 based on the produced program. Thus a designer inputs properly the outline information on a target operation via an input device 10 by reference to the display screen of a display device 8. As a result, a CPU 1 can automatically produce an execution control program of the controller 14 based on the input information and by reference to the subject knowledge expanded to a program expansion knowledge storage 6.

Description

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

(従来の技術) 各種プラントなどを制御するプ[1グラマプルコントロ
ーラにあっては、これを有効に作動させるため制御実行
プログラムを生成しなければならない。そこで、従来は
、制御対象の動作およびその制御条件ならびに各動作の
タイミングなど全ての条件を想定して手動でプログラミ
ングするという作業が行われていた。
(Prior Art) In a program controller that controls various plants, etc., a control execution program must be generated in order to operate it effectively. Therefore, in the past, all conditions such as the operation of the controlled object, its control conditions, and the timing of each operation were assumed and programmed manually.

ところが、これら全ての条件を考慮することは制御対象
が複雑になるにつれ困難となるので、これらの条件を対
象知識として知識データにまとめ、動作の概要のみを指
定することにより、制御実行プログラムを自動生成する
ことが行われようになってきた。
However, as the control target becomes more complex, it becomes difficult to consider all of these conditions. Therefore, by compiling these conditions into knowledge data as target knowledge and specifying only the outline of the operation, the control execution program can be automatically executed. It has become common practice to generate

このような制御実行プログラムを自動生成するための対
象知識には、機械など動作を制約する条件の関係式など
が記述される。
The target knowledge for automatically generating such a control execution program describes relational expressions of conditions that constrain the operation of a machine, etc.

(発明が解決しようとする課題) しかしながら、上述の如く提案されている従来よりの制
御実行プログラムの生成装置にあっては、実際には、同
じ機械でも運転方法によって動作状態や各動作のタイミ
ング、各動作を規約する条件などが異なるため、対象知
識は、すべての運転方法についても場合分けされて記述
しなければならなかった。
(Problem to be Solved by the Invention) However, in the conventional control execution program generation device proposed as described above, in reality, even for the same machine, the operating state and timing of each operation may vary depending on the operating method. Because the conditions governing each operation are different, the subject knowledge had to be described separately for all driving methods.

したがって、従来は、膨大な量の対象知識を運転方法毎
にあらかじめ用意しなければならず、対象知識の構築に
多大の労と時間を要するという問題点があった。また、
対象知識を構築する際に、すべての運転方法について考
慮しなければならず、もし記述洩れの運転方法があれば
、その運転方法を適用した場合の制御実行プログラムは
正しく生成されない恐れがあった。さらに、運転方法が
しばしば変更になるような制御分野にあっては、そのた
びごとに対象知識を人手で修正する必要が生じるなど、
制御実行ブロクラム生成装置の保守上の問題が生じてい
た。
Therefore, conventionally, a huge amount of target knowledge had to be prepared in advance for each driving method, and there was a problem in that it required a great deal of effort and time to construct the target knowledge. Also,
When constructing target knowledge, all operating methods must be considered, and if any operating method is omitted, there is a risk that the control execution program will not be generated correctly when that operating method is applied. Furthermore, in the field of control, where driving methods often change, subject knowledge must be manually corrected each time.
There was a maintenance problem with the control execution block generator.

そこで、本発明は、運転方法の指定により各種の運転方
法に対して正しく制御を実行できる制御実行プログラム
を自動生成することができる制御実行プログラム生成装
置を提供することを目的とする。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a control execution program generation device that can automatically generate a control execution program that can correctly execute control for various driving methods by specifying the driving method.

[発明の構成] (課題を解決するための手段) 上記課題を解決する本発明の制御実行プログラム生成装
置は、制御対象およびその動作状態ならびに各種動作状
態を制約する条件などの関係を規約した対象知識を用い
、入力情報に基づいて前記制御対象を制御する制御実行
プログラムを自動的に生成Jる制御実行プログラム生成
装置において、各種の運転方法を考慮して作成された機
械動作知識を基礎として制御対象の運転方法毎に対象知
識を変換する対象知識変換手段を具備することを特徴と
する。
[Structure of the Invention] (Means for Solving the Problems) A control execution program generation device of the present invention that solves the above problems is a control execution program generation device for solving the above problems. A control execution program generation device that automatically generates a control execution program to control the control target based on input information using knowledge, performs control based on machine operation knowledge created in consideration of various operating methods. The present invention is characterized by comprising a target knowledge conversion means for converting target knowledge for each target driving method.

(作用) 本発明の制御実行プログラム生成装置では、各運転方法
を考慮して作成された機械動作知識を基礎として各運転
方法に合った動作状態や動作を制約するなどを含んだ対
象知識を変換生成する手段を持つため、運転方法毎に正
しい対象知識を自3− 動生成し、その対象知識を用いて制御実行プログラムを
自動生成する。
(Function) The control execution program generation device of the present invention converts target knowledge including operating states and operation constraints suitable for each operating method based on machine operating knowledge created in consideration of each operating method. Since it has a means for generating, it automatically generates correct target knowledge for each driving method and automatically generates a control execution program using that target knowledge.

したがって、すべての運転方法に対して正確なプログラ
ムを生成することができ、運転方法に変更があった場合
にも対象知識を人手で修正する必要がなく、制御実行プ
ロクラム生成装置の保守性も高くなる。
Therefore, accurate programs can be generated for all operating methods, there is no need to manually modify the target knowledge even if there is a change in the operating method, and the control execution program generation device is highly maintainable. Become.

また対象知識変換手段は、各種の制御対象に対し共通に
用いることかできるので、異なる制御対象に対しても同
様な適用効果を発揮できる。
Moreover, since the object knowledge conversion means can be used commonly for various control objects, the same application effect can be achieved even for different control objects.

(実施例)、 以下、添付図面を用いて本発明の詳細な説明する。(Example), Hereinafter, the present invention will be described in detail using the accompanying drawings.

第1図は本発明を適用した制御実行プログラム生成装置
の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a control execution program generation device to which the present invention is applied.

同図において、1はプログラム生成手段となるCPU 
(中央処理装置)、2はこのCPU1で作成されたプロ
グラムを記憶するプログラム記憶装置、3は制御対象の
動作に関する知識を記憶した対象知識記憶装置、4は運
転方法毎に対象知識を4− 変換生成する対象知識変換装置、5は対象知識を変換す
る際に参照する機械動作に関する知識を記憶した機械動
作知識記憶装置、6は対象知識記憶装置3に記憶された
対象知識を用いて目的とする制御実行プログラムを生成
する際に用いるプログラム展開知識を記憶するプログラ
ム展開知識記憶装置である。
In the same figure, 1 is a CPU serving as a program generation means.
(Central processing unit), 2 is a program storage device that stores the program created by this CPU 1, 3 is an object knowledge storage device that stores knowledge regarding the operation of the controlled object, and 4 is a converter of object knowledge for each driving method. 5 is a machine operation knowledge storage device that stores knowledge about machine operations to be referred to when converting the object knowledge; 6 is a device that uses the object knowledge stored in the object knowledge storage device 3 to obtain the object knowledge; This is a program expansion knowledge storage device that stores program expansion knowledge used when generating a control execution program.

これらcpu i 、各種記憶装置2.3.4.5゜6
は、バス12を介して相互に接続されている。
These CPU i, various storage devices 2.3.4.5゜6
are interconnected via a bus 12.

バス12には、表示装置インタフェース7を介して、対
象知識を説明表示したり、生成されたプログラムを表示
するなど設計者に適宜の情報を呈示するための表示装置
8が接続されている。また、バス12には、入力装置イ
ンタフェース9を介して、設計者がシステムと対話する
ための入力装置10が接続されている。
A display device 8 is connected to the bus 12 via a display device interface 7 for presenting appropriate information to the designer, such as displaying an explanation of subject knowledge or displaying a generated program. Also connected to the bus 12 is an input device 10 through which a designer interacts with the system via an input device interface 9.

さらに、バス12には、プログラムコントローラインタ
フェース11が接続されている。
Furthermore, a program controller interface 11 is connected to the bus 12 .

これらの部材で構成される制御実行プログラム生成装置
13で生成された制御実行プロクラムは、プログラマブ
ルコントローラインタフェース11を介して外部のプロ
グラマブルコントローラ14に出力される。プログラマ
ブルコントローラ14は、生成されたプログラムに従っ
て制御対象15を制御する。
A control execution program generated by the control execution program generation device 13 composed of these members is output to the external programmable controller 14 via the programmable controller interface 11. The programmable controller 14 controls the controlled object 15 according to the generated program.

したがって、設計者が適宜表示装置8の表示画面を参照
して入力装置10から目標動作の概略情報を入力するこ
とにより、CPU1は入力された情報に基いてプログラ
ム展開知識記憶装置6に展開された対象知識を参照し、
プログラマブルコンローラ14の制御実行プログラムを
自動生成することができる。
Therefore, when the designer appropriately refers to the display screen of the display device 8 and inputs the general information of the target motion from the input device 10, the CPU 1 expands the information into the program expansion knowledge storage device 6 based on the input information. Refer to subject knowledge,
A control execution program for the programmable controller 14 can be automatically generated.

第2図は圧延プラントにおける運搬用コンベアについて
の対象知識の一例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of subject knowledge regarding a conveyor for transportation in a rolling plant.

図中、81〜816で示すオブジェクトは、制御対象内
の機械、機械の動作および状態、これらの機械に付属さ
れるアクチュエータやセンサー類を示すものである。
In the figure, objects indicated by 81 to 816 indicate machines to be controlled, operations and states of the machines, and actuators and sensors attached to these machines.

また、矢印L1〜L22で示すリンクは、矢印の始点の
オブジェクトが矢印の終点のオブジェクトに対して持つ
関係を示Jもので、これらのリンクは、状態にある意の
[5tate −ofJ 、機械の動作である意の[a
ction−ofJ 、作動される意の[actuat
ed −byJ 、検出される意の「5ensed −
by J、動作の構成要素である意の「compone
nt −actian−ofJ、動作の下位概念である
意の[sub −actian−ofJ 、状態から遷
移可能な動作である意のrenableJ 、リンクを
成立される意の[cause J、状態遷移の条件であ
る意の[nextJなど適宜に定義された接続関係の名
称が付けられる。
Furthermore, the links indicated by arrows L1 to L22 indicate the relationship that the object at the start point of the arrow has with the object at the end point of the arrow. Action [a]
ction-ofJ, actuat of the intention to be actuated
ed -byJ, "5ensed -" to be detected
by J, "component" which is a component of movement.
nt -actian-ofJ, sub-actian-ofJ, which is a sub-concept of action, renableJ, which is an action that can transition from a state, [cause J, which means a link is established, is a condition for state transition. An appropriately defined connection relationship name such as [nextJ] is given.

図示の知識を具体的に説明すると、まずオブジェクトB
1で示ti械1コンベア」の動作には「コンベア前進J
B4と「コンベア高速JB5があり、これらは各々アク
チュエータrsVEO1JB2、rsVEO2J B3
によって作動される。
To specifically explain the knowledge shown in the diagram, first, object B
The operation of "machine 1 conveyor" is indicated by "1".
B4 and conveyor high speed JB5, these actuators rsVEO1JB2, rsVEO2J B3 respectively.
operated by.

具体的には、コンベアB1を低速前進させるときにはア
クチュエータ5VEOIが作動され、コンベアB1を高
速前進させるときにはこれにアクチュエータ5VEO2
が追加作動される。
Specifically, when the conveyor B1 is moved forward at a low speed, the actuator 5VEOI is actuated, and when the conveyor B1 is moved forward at a high speed, the actuator 5VEO2 is actuated.
is additionally activated.

方、[コンベア前進JB4の下位概念の動作7− には[コンベア低速前進J 86.88、[コンベア高
速前進JB7がある。また「コンベアJBIの状態には
「コンベア後退限JB9、「コンベア途中停止点」B1
0、「コンベア減速点」B11、「コンベア前進限」B
12があり、これらは各々センサーrNLEOIJ 8
13、r、NLEO2JB14.1LEO3J B15
、rNLEO4j816によって検出される。
On the other hand, the operation 7 of the subordinate concept of [conveyor advance JB4] includes [conveyor low speed advance J 86.88 and [conveyor high speed advance JB7]. In addition, "Conveyor JBI status includes "Conveyor backward limit JB9,""Conveyor midway stop point" B1
0, "Conveyor deceleration point" B11, "Conveyor advance limit" B
12, each of which has a sensor rNLEOIJ 8
13, r, NLEO2JB14.1LEO3J B15
, detected by rNLEO4j816.

そこで、これら位置状態B9.BIO,811゜812
を各センサー811〜816でそれぞれ検出しつつ、各
区間にてコンベア低速前進B6、高速前進B7、再度低
速前進B8とされて、後退限B9から前進限B12へ移
動される。
Therefore, these position states B9. BIO, 811°812
are detected by the respective sensors 811 to 816, and in each section, the conveyor is set to low speed forward B6, high speed forward B7, and again low speed forward B8, and is moved from the backward limit B9 to the forward limit B12.

ところで、このような対象知識は、例えば運搬物が有る
ときなど、あるひとつの運転方法についての知識を記述
したものであるが、この場合、運搬物が有ることに鑑み
て「コンベア後退限JB9から[コンベア途中停止点」
B10までの間、および「コンベア減速点」B11から
「コンベア前進限」B12までの間は低速前進し、[コ
ンベア8− 途中停止点JB10から[コンベア減速点JB11まで
の間は高速前進することが、enableとcause
のリンク110−115の関係で示されている。
By the way, such target knowledge describes knowledge about a certain operating method, such as when there is a transported object. [Conveyor midway stop point]
B10, and from "conveyor deceleration point" B11 to "conveyor advance limit" B12, the conveyor moves forward at low speed, and from [conveyor 8- midway stop point JB10 to [conveyor deceleration point JB11], it moves at high speed. , enable and cause
The relationship between links 110-115 is shown in FIG.

第3図は同じ機械の対象知識を別の運転方法に対して示
す図である。本例では、例えば運搬物が無いとき、「コ
ンベア後退限」B22から1コンベア減速点」B24ま
での間において高速前進し、「コンベア減速点」B24
から「コンベア前進限度」B25までの間は低速前進す
ることがリンクL30〜L33で示されている。つまり
、第2図のオブジェクトB6が削除された形である。
FIG. 3 is a diagram showing object knowledge of the same machine for different operating methods. In this example, for example, when there is no conveyed object, the conveyor moves forward at high speed between the "conveyor backward limit" B22 and the "1 conveyor deceleration point" B24, and the "conveyor deceleration point" B24
Links L30 to L33 indicate that the conveyor moves forward at a low speed between "Conveyor Advance Limit" B25. In other words, the object B6 in FIG. 2 has been deleted.

ここに、従来は、第2図及び第3図に示すような対象知
識を運転方法が異なる毎に作成し、運転方法が異なる度
に手動操作で適宜修正して第1図に示す対象知識記憶装
置4に与えていた。
Here, conventionally, target knowledge as shown in Figures 2 and 3 is created for each different driving method, and each time the driving method is changed, it is manually corrected as appropriate to store the target knowledge as shown in Figure 1. It was given to device 4.

第4図は、対象知識変換装置4が運転方法に合わせて対
象知識を変換する際に参照する機械動作知識を示す説明
図である。
FIG. 4 is an explanatory diagram showing the machine operation knowledge that the object knowledge converting device 4 refers to when converting the object knowledge in accordance with the driving method.

図中、B50−843で示づオブジェクトは、制御分野
における物理的要素、動作ないし状態の概念を示すもの
である。また矢印140〜L66で示すリンクは、矢印
の始点のオブジェクトが矢印の終点のオブジェクトに対
して持つ関係を示すもので、これらのリンクは、第3図
及び第4図で示した名称の他に、構成要素である意の[
component −ofJ 、上位概念である意の
[5uper j 、作動させる意のJactuate
 J 、検出する意の[5enseJ、動作を修飾する
動作である意の「qualifyJ、状態が次に遷移す
る意の[after J 、リンクの成立条件である意
の「condition−ofJなど適宜に定義された
接続関係の名称が付けられる。
In the figure, objects indicated by B50-843 represent concepts of physical elements, operations, or states in the control field. Also, the links indicated by arrows 140 to L66 indicate the relationship that the object at the start point of the arrow has with the object at the end point of the arrow, and these links have names other than those shown in FIGS. 3 and 4. , the meaning of being a component [
component-ofJ, a superordinate concept [5super j, Jactuate, meaning to actuate]
J is defined as appropriate, such as [5enseJ, which means to detect, "qualifyJ, which is an action that qualifies an action, [after J], which means that the state will transition to the next, and "condition-ofJ, which is a condition for establishing a link. The name of the connection relationship is given.

また、二重サークルで示ずR1,R2はルールで、「運
搬物がある」か否かを判断するためのルールR1、「停
止精度要求」を判断するためのルルR2が記述されてい
る。
Further, R1 and R2, which are indicated by double circles, are rules, and a rule R1 for determining whether "there is an object to be transported" and a rule R2 for determining "stopping accuracy request" are described.

第4図の知識を具体的に説明すると、圧延プラントにお
いて、制御系「圧延」B2Oは、「巻戻し機械」B31
と、「運搬」機械B32から構成される。「動作」B3
4は「アクチュエータ」B4Cによって作動され、運転
する機械の動作には「前進」B35と1後退」836が
ある。一方図下方に示す「状態」Bi2は「センサー」
Bi2によって検出されるもので、運搬する機械の状態
には「後退限」B2O、[途中点JB40.r前進限]
B41がある。
To explain the knowledge in Fig. 4 specifically, in a rolling plant, the control system "rolling" B2O is controlled by the "unwinding machine" B31.
and a "transport" machine B32. "Action" B3
4 is actuated by "actuator" B4C, and the operations of the machine to be operated include "forward" B35 and "1 backward" 836. On the other hand, "Status" Bi2 shown at the bottom of the figure is "Sensor"
It is detected by Bi2, and the status of the machine to be transported includes "backward limit" B2O, [midway point JB40. r forward limit]
There is B41.

一方、リンクL47,48のqualifyという関係
により示されるように、「前進」B35を修飾する動作
には「低速」B37と、「高速」838がある。すなわ
ち、「低速B37」でかつ「前進」B35とJるべき場
合は、リンクL49.50゜53の成立条件により「後
退限」B34から「途中点」840に遷移するときで、
かつ[運搬物があるJRlとぎ、または「途中点」B2
Oから「前進限」Bi2に遷移し、しかも「停止精度要
求」ルールR2が満足されるときである。
On the other hand, as shown by the relationship "qualify" between links L47 and L48, there are "low speed" B37 and "high speed" 838 as actions that qualify "forward" B35. In other words, when it is "low speed B37" and should be "forward" B35, it is when transitioning from "backward limit" B34 to "midway point" 840 due to the conditions for link L49.50°53.
and [JRl Togi where there is something to be transported or "way point" B2
This is the time when there is a transition from O to the "advance limit" Bi2 and the "stopping accuracy requirement" rule R2 is satisfied.

ざらに、リンクL49の成立条件により、[後退限J 
B2Oから1途中点]B40に遷移するとき[運搬物が
あるJR1以外は「高速」838で「前進」B35でき
ることが、リンクL54に示されるrMJにより示され
ている。rMJは排他−11− を示ず。
Roughly speaking, depending on the conditions for establishing link L49, [backward limit J
1 midway point from B2O] When transitioning to B40, rMJ shown in link L54 indicates that other than JR1 where there is something to be carried, you can "forward" B35 at "high speed" 838. rMJ does not show exclusive -11-.

[途中点J B2Oに加えたサークルat’terは複
数の途中点の区間内であることを意味する。なお、図の
関係において、この区間では、運搬物の有無、停止精度
要求に拘らず、高速前進される。
[The circle at'ter added to waypoint JB2O means that it is within the section of multiple waypoints. Note that, in relation to the diagram, in this section, the vehicle moves forward at high speed regardless of the presence or absence of objects to be transported and the required stopping accuracy.

次に、このような制御実行プログラム生成装置において
、第4図に示す機械動作知識を参照して第2図あるいは
第3図に示すような対象知識を生成する対象知識変換装
置4における処理を第5図、第6図、第7図を用いて説
明する。以下の説明中、具体例として第2図及び第4図
を用いた例を[]内に示す。
Next, in such a control execution program generation device, the processing in the target knowledge conversion device 4 that generates the target knowledge as shown in FIG. 2 or 3 by referring to the machine operation knowledge shown in FIG. This will be explained using FIG. 5, FIG. 6, and FIG. 7. In the following description, examples using FIGS. 2 and 4 as specific examples are shown in brackets [ ].

ステップ501では、制御対象動作[コンベア前進B4
]に相当するクラス動作[前進B35]を第4図の機、
械動作知識から取り出す。これは、コンベアが運搬する
機械のインスタンスであることから判断される。
In step 501, the controlled operation [conveyor advance B4
] The class action [Forward B35] corresponding to the machine shown in Fig. 4,
Take it from mechanical movement knowledge. This is determined from the fact that the conveyor is an instance of a conveying machine.

次に、ステップ502でクラス動作[前進B35コノQ
Ualifyリンク[147,L48]を取り出す。次
いでステップ503では、ひとつのquafV’)>り
[L47]にcondition −ofリンク[L4
9.L50]があるか検査し、あればステップ504へ
移行して、このconl目on −ofリンクの成立方
式の検査を行なう。なければステップ511へ移行して
制御対象動作のコンベア前進B4の下位概念動作[コン
ベア低速前進B6]を生成する。
Next, in step 502, the class action [Forward B35 KonoQ
Take out the Ualify link [147, L48]. Next, in step 503, condition-of link [L47] is added to one quafV')
9. L50], and if so, the process moves to step 504 to check the establishment method of this conl-th on-off link. If not, the process proceeds to step 511 and generates a subordinate concept operation [conveyor low-speed advance B6] of the conveyor advance B4 of the controlled object operation.

ステップ504のCondition −Ofリンクの
検査処理ルーチンの詳細を第6図に示す。
The details of the Condition-Of link inspection processing routine in step 504 are shown in FIG.

第6図において、ステップ601では、ひとつのcon
dition−ofリンク[L49]  (以下、この
種リンクをand i t i On −or(+>と
示す)にライテコれと接続されるcondition−
ofリンク[L53](以下、condは1on−of
’(2)と示す)があるか否かを検査し、あればステッ
プ602でcor+d;tion −of(2)[L5
3]の始点であるルール[運搬物があるR1]を取り出
す。次いで、ステップ603で、そのルール[運搬物が
あるR1]がすでに検査済みか調べ、検査済みでないな
らばステップ604へ移行してそのルールを実行する。
In FIG. 6, in step 601, one con
condition-of link [L49] (Hereinafter, this type of link will be referred to as and it i On -or (+>).
of link [L53] (hereinafter, cond is 1on-of
'(2)), and if so, in step 602 cor+d;tion -of(2)[L5
3], the rule [R1 where there is an object to be transported] is taken out. Next, in step 603, it is checked whether the rule [R1 with transported object] has already been inspected, and if it has not been inspected, the process moves to step 604 and the rule is executed.

ルールの実行処理を第7図に示す。運搬物がどのように
あるかを調べるルールでは、ルールを成立条件としティ
るCondition−ofリンク[L49]の始点で
あるリンクafter  [L 60 ]をステップ7
01でメモリ゛after ”に取り出ず。これは機械
の状態遷移を示すリンクでこの状態間に運搬物があるか
を調べる。次に、ステップ702でafterリンク[
L60]の始点オブジェクト[後退限B39]のインス
タンス[コンベア後退限B9]をメモリ“’ curr
entに取り出し、現在状態とする。
FIG. 7 shows the rule execution process. In the rule to check how the transported object is, the link after [L 60 ], which is the starting point of the Condition-of link [L49] that makes the rule an establishment condition, is set in step 7.
In step 702, the after link [
The instance [conveyor backward limit B9] of the start point object [backward limit B39] of [L60] is stored in the memory "' curr
ent and set it to the current state.

機械の状態を表すインスタンスには、運搬物を積み、あ
るいは運搬物を降ろすなどのイベント情報を付加してお
く。
Event information such as loading or unloading a transported object is added to the instance representing the state of the machine.

次いでステップ703では、現在状態[コンベア後退限
B9]のイベント情報を参照し、運搬物を積むポイント
ならステップ704でメモリ”vaIue ”を1に、
運搬物を降ろすポイントならステップ705.706で
’value ”をOにし、ツレ以外のとぎステップ7
07で” value ”をOにする。
Next, in step 703, the event information of the current state [conveyor backward limit B9] is referred to, and if it is the point to load the transported object, the memory "vaIue" is set to 1 in step 704.
If it is a point where the transported object is to be unloaded, set the 'value' to O in steps 705 and 706, and perform the steps 7
Set "value" to O in 07.

ステップ708では、現在状態[コンベア後退限B9]
とnext [L 16 ]でリンクしているオブジェ
クト[コンベア途中停止点B10]をメモリ”f’ut
ure”に取り出し、ステップ709.710でイベン
ト情報の有無を調べ、運搬物を積むポイントならステッ
プ710でメモリ”value ’ ”を1に、運搬物
を降ろすポイントならステップ712で“value 
’ ”をOにし、それ以外ならステップ13を介してイ
ベント情報が見つかるまでnextリンクをたどる。
In step 708, the current state [conveyor backward limit B9]
The object [conveyor midway stopping point B10] linked with next [L 16 ] is stored in the memory "f'ut".
ure", check the presence or absence of event information in steps 709 and 710, set the memory "value '' to 1 in step 710 if it is a point to load a cargo, and set "value '" in step 712 if it is a point to unload a cargo.
``'' is set to O, otherwise the next link is followed through step 13 until the event information is found.

最後にステップ714.715で’value ”と“
’value ’ ”の値を調べ、value =、 
1 、づなわち、現在状態が運搬物を積むポイントから
運搬物があると判断し、ステップ717で゛成立″を返
す。
Finally, in steps 714 and 715, 'value' and '
Check the value of 'value ''', value =,
1, that is, it is determined that there is an object to be carried since the current state is the point at which the object to be carried is loaded, and in step 717, "established" is returned.

また、value <value ’なら、すなわち、
先に、運搬物を積むポイントがあるなら運搬物がないと
判断しステップ716で゛′不成立″を返し、それ以外
、すなわち、先に運搬物を降ろすポイントがあるなら、
運搬物があると判断しステップ717で゛成立″を返す
Also, if value < value ', that is,
If there is a point to load the transported object first, it is determined that there is no transported object and ``Failure'' is returned in step 716; otherwise, if there is a point to unload the transported object first,
It is determined that there is an object to be transported, and "established" is returned in step 717.

−I 〇 − 再度第6図において、第7図の処理によりルルを実行し
た結果をステップ605で判別し、成立ならステップ6
06でルールに検査法成立マークをつけ、不成立ならス
テップ606でルールに検査不成立マークをつける。
-I 〇 - Again in FIG. 6, the result of executing Lulu by the process in FIG. 7 is determined in step 605, and if it is true, step 6
In step 606, a mark is placed on the rule to confirm that the inspection method is met, and if the rule is not met, in step 606, a mark is attached to the rule as not to pass the inspection method.

以上の処理によりcondition −of(1) 
[L 49 ]の成立ないし不成立が検査され、成立す
る場合は成立するリンク[149]にステップ608で
C0ndition −of<1) [149]を加え
る。
With the above processing, condition -of(1)
It is checked whether [L 49 ] holds true or not, and if it holds true, C0ndition -of<1) [149] is added to the established link [149] in step 608.

ステップ603〜ステツプ608の処理をずべてのCo
ndition−or(2)について実行し、また、ス
テップ7601〜ステツプ608の処理をづべてのco
ndition −of(1) [L 49 、 L 
50 ]について実行したか否かをステップ609.6
10で判別し、ステップ611で成立するリンクをすべ
て返す。
All processes from step 603 to step 608 are performed by Co.
ndition-or(2), and also executes the process from step 7601 to step 608.
ndition-of(1) [L 49 , L
50 ] was executed in step 609.6.
10, and all valid links are returned in step 611.

次に、以上の検査処理によって得られたcond i 
tion−ofリンクをたどり、下位概念動作と状態の
関係付けを第5図のステップ505以下で行なう。
Next, cond i obtained by the above inspection process
tion-of link is followed, and the relationship between lower-level concept operations and states is performed in steps 505 and subsequent steps in FIG.

すなわち、成立しているcondition −o1’
リンク−17− [L49]の始点リンクをメモリ”origin”に取
り出し、さらにステップ506でその始点オブジェクト
a、 qualifyリンク[L47]の始点は゛低速
パであるから、ステップ507で制御対象動作[コンベ
ア前進B4]の下位概念動作[コンベア低速前進B6]
を生成し、ステップ508でステップ506で得られた
始点インスタンス[コンベア後退限B9jとenabl
e[L 10] テ、終点インスタンス[コンベア途中
停止点B10]とcause[L11]でリンクする。
In other words, the condition −o1′ that holds true
Link-17- The start point link of [L49] is taken out to the memory "origin", and in step 506, its start point object a, and the start point of qualify link [L47] is ``low-speed pa'', so in step 507, the controlled object operation [conveyor forward B4] Lower concept operation [Conveyor low speed forward B6]
In step 508, the start point instance obtained in step 506 [conveyor backward limit B9j and enable
e[L 10] Link with the end point instance [conveyor intermediate stop point B10] using cause[L11].

ステップ509.510では、ステップ505〜508
の処理を成立検査で得られたずべてのC0nditio
n−ofリンク[L49.L50]およびすべてのqu
a l i fyリンク[L47,148]にツいて実
行したか否かを判別し、これで全処理を終了する。
In steps 509.510, steps 505-508
All C0nditio obtained by verification of the processing of
n-of link [L49. L50] and all qu
It is determined whether or not the ali fy link [L47, 148] has been executed, and the entire process ends.

その結果、得られた制御対象[コンベア前進B4]の下
位概念動作の一例が、第2図に示すコンベア低速前進B
16、コンベア高速前進B17、コンベア低速前進B8
であり、それらはコンベア18− 後退限B9、コンベア途中停止点B10.コンベア減速
点B11、コンベア前進限B12とLIO〜L15の関
係でリンクされる。
As a result, an example of the lower-level conceptual operation of the control object [conveyor advance B4] obtained is as shown in FIG.
16, Conveyor high speed forward B17, Conveyor low speed forward B8
These are conveyor 18-reverse limit B9, conveyor mid-stop point B10. The conveyor deceleration point B11 and the conveyor advance limit B12 are linked in the relationship of LIO to L15.

このように、本例では、第4図に示す機械動作知識を用
いて、第2図に示す一つの運転方法に関する対象知識を
生成することができる。同様に運転方法の指定のみで第
3図に示す運転方法についての対象知識を生成すること
ができる。
In this way, in this example, the machine operation knowledge shown in FIG. 4 can be used to generate the target knowledge regarding one driving method shown in FIG. 2. Similarly, the object knowledge regarding the driving method shown in FIG. 3 can be generated only by specifying the driving method.

以上説明したように、この実施例では全ての運転方法を
考慮して作成した第4図に示すような機械動作知識を参
照して、対象知識変換装置4により第2図または第3図
に示す制御対象知識を変更生成する。
As explained above, in this embodiment, the machine operation knowledge as shown in FIG. Change and generate controlled object knowledge.

この実施例では、運転方法を運搬物を積むポイント、降
ろすポイントで指定した。運転方法が変わると、運搬物
の積むポイント、降ろすポイントが変更になるが、その
場合でも、第4図に示す機械動作知識を用いて、成立条
件リンクの検査を行ない、下位概念動作を自動的に生成
する。このように、対象知識変換装置4は運転方法に合
わせて対象知識を生成する。
In this example, the driving method was designated by the loading point and unloading point of the transported object. If the operating method changes, the loading and unloading points of the transported items will change, but even in that case, the machine operation knowledge shown in Figure 4 can be used to check the link of the conditions and automatically adjust the subordinate concept operations. to be generated. In this way, the object knowledge conversion device 4 generates object knowledge in accordance with the driving method.

以上の処理を経て得られた第2図または第3図に示した
ような対象知識を用いてプログラム展開知識を参照して
制御実行プログラムを自動生成することができる。
Using the target knowledge as shown in FIG. 2 or 3 obtained through the above processing, it is possible to automatically generate a control execution program by referring to program development knowledge.

なお、本発明は上述した実施例に限定されるものではな
い。機械動作知識中のルールの記述方法や運転方法の指
定方法は特に限定していない。要するに本発明はその要
旨を逸脱しない範囲で種々変形して実施することができ
る。
Note that the present invention is not limited to the embodiments described above. There are no particular limitations on how to describe the rules in the machine operation knowledge or how to specify the operating method. In short, the present invention can be implemented with various modifications without departing from the gist thereof.

[発明の効果1 以上説明したように、本発明は特許請求の範囲に記載の
通りの制御実行プログラム生成装置であるので、設計者
が与えた入力情報から各種運転方法に応じた制御実行プ
ログラ口を自動生成することができる。したがって運転
方法毎に対象知識を用意する手間が省け、しかも、後に
運転方法が変更になった場合にも対象知識を都度修正す
ることなりlbl制御実行プログラムを自動的に生成す
ることができる。
[Effects of the Invention 1] As explained above, the present invention is a control execution program generation device as described in the claims, so it generates a control execution program program according to various driving methods from input information given by the designer. can be automatically generated. Therefore, it is not necessary to prepare target knowledge for each driving method, and even if the driving method is changed later, the lbl control execution program can be automatically generated without having to modify the target knowledge each time.

−1日 −-1 day-

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

図面はいずれも本発明の実施例を示し、第1図は制御実
行プログラム生成装置のブロック図、第2図、第3図は
対象知識の一例を示す説明図、第4図は機械動作知識の
一例を示す説明図、第5図は対象知識変換処理を示すフ
ローチャート、第6図は条件の成立検査処理を示すフロ
チャート、第7図は運搬物があるか否かの検査をするル
ールの処理を示す70チヤートである。 1・・・CPU 2・・・プログラム記憶装置 3・・・対象知識記憶装置 14・・・プログラマブルコントローラ81〜B43・
・・オブジェクト L1〜L66・・・リンク R1,R2・・・ルール
The drawings all show embodiments of the present invention; FIG. 1 is a block diagram of a control execution program generation device, FIGS. 2 and 3 are explanatory diagrams showing an example of target knowledge, and FIG. 4 is an illustration of machine operation knowledge. An explanatory diagram showing an example, Fig. 5 is a flowchart showing object knowledge conversion processing, Fig. 6 is a flowchart showing processing for checking whether conditions are met, and Fig. 7 is processing for rules to check whether there is an object to be transported. The figure is 70 charts. 1... CPU 2... Program storage device 3... Subject knowledge storage device 14... Programmable controller 81-B43.
...Objects L1 to L66...Links R1, R2...Rules

Claims (1)

【特許請求の範囲】[Claims] 制御対象およびその動作状態ならびに各種動作状態を制
約する条件などの関係を規約した対象知識を用い、入力
情報に基づいて前記制御対象を制御する制御実行プログ
ラムを自動的に生成する制御実行プログラム生成装置に
おいて、各種の運転方法を考慮して作成された機械動作
知識を基礎として制御対象の運転方法毎に対象知識を変
換生成する対象知識変換手段を具備することを特徴とす
る制御実行プログラム生成装置。
A control execution program generation device that automatically generates a control execution program for controlling a control object based on input information using object knowledge that defines relationships such as a control object, its operating state, and conditions that constrain various operating states. A control execution program generation device characterized in that it comprises a target knowledge conversion means for converting and generating target knowledge for each driving method of a controlled object based on machine operation knowledge created in consideration of various driving methods.
JP24930689A 1989-09-27 1989-09-27 Generating device for control execution program Pending JPH03113504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24930689A JPH03113504A (en) 1989-09-27 1989-09-27 Generating device for control execution program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24930689A JPH03113504A (en) 1989-09-27 1989-09-27 Generating device for control execution program

Publications (1)

Publication Number Publication Date
JPH03113504A true JPH03113504A (en) 1991-05-14

Family

ID=17191026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24930689A Pending JPH03113504A (en) 1989-09-27 1989-09-27 Generating device for control execution program

Country Status (1)

Country Link
JP (1) JPH03113504A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007187768A (en) * 2006-01-12 2007-07-26 Nakagawa Chem:Kk Method of forming pseudo stereoscopic image, decorating or advertizing method using the pseudo stereoscopic image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007187768A (en) * 2006-01-12 2007-07-26 Nakagawa Chem:Kk Method of forming pseudo stereoscopic image, decorating or advertizing method using the pseudo stereoscopic image

Similar Documents

Publication Publication Date Title
Dixon et al. Fault detection for robot manipulators with parametric uncertainty: A prediction-error-based approach
Koo et al. Simulation framework for the verification of PLC programs in automobile industries
US10037019B2 (en) System comprising development environments and machine controls
Smith et al. Message-based Part State Graphs (MPSG): a formal model for shop-floor control implementation
Kruger et al. Multi-agent systems vs IEC 61499 for holonic resource control in reconfigurable systems
Endsley et al. Modular finite state machines: Development and application to reconfigurable manufacturing cell controller generation
US11554482B2 (en) Self-learning industrial robotic system
WO2017138164A1 (en) Controller and conveyance system
US20230311309A1 (en) Method and system for determining optimized program parameters for a robot program
Machado et al. A generic approach to build plant models for DES verification purposes
JPH03113504A (en) Generating device for control execution program
Müller et al. Generic automation task description for flexible assembly systems
Bonafin et al. An effective approach for fault diagnosis of Discrete-Event Systems modeled as safe labeled Petri nets
Back et al. Continuous action systems as a model for hybrid systems
Banerjee et al. Taking recoveries to task: Recovery-driven development for recipe-based robot tasks
Erich et al. Design and development of a physical integration testing framework for robotic manipulators
Jr et al. Virtual Petri nets as a modular modeling method for planning and control tasks of FMS
Cruz et al. Validating effect of refactoring of IEC 61499 function block in distributed Control systems
Oliveira et al. Discrete event system control in max-plus algebra: Application to manufacturing systems
Haage et al. Semantic modelling of hybrid controllers for robotic cells
Koflanovich et al. Live modernizations of automated material handling systems: Bridging the gap between design and startup using emulation
JP2008093751A (en) Conveyance simulation system
Jaensch et al. Test-driven reward function for reinforcement learning: a contribution towards applicable machine learning algorithms for production systems
Klotz et al. An approach to the verification of material handling systems
Schrott An experimental environment for task-level programming of robots