JP3275018B2 - Automatic program generation method and device, and data input method and device - Google Patents

Automatic program generation method and device, and data input method and device

Info

Publication number
JP3275018B2
JP3275018B2 JP18808992A JP18808992A JP3275018B2 JP 3275018 B2 JP3275018 B2 JP 3275018B2 JP 18808992 A JP18808992 A JP 18808992A JP 18808992 A JP18808992 A JP 18808992A JP 3275018 B2 JP3275018 B2 JP 3275018B2
Authority
JP
Japan
Prior art keywords
data
input
state
data indicating
combination
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 - Fee Related
Application number
JP18808992A
Other languages
Japanese (ja)
Other versions
JPH0635683A (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.)
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 JP18808992A priority Critical patent/JP3275018B2/en
Publication of JPH0635683A publication Critical patent/JPH0635683A/en
Application granted granted Critical
Publication of JP3275018B2 publication Critical patent/JP3275018B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は入力された複数のデータ
の組み合せに基づいて計算機が処理を行うときのデータ
入力方法等に係り、特に、入力データの不備により計算
機の処理が不可能あるいは無駄になるのを回避するのに
好適なデータ入力方法及びその装置とプログラム自動生
成方法及びその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data input method and the like when a computer performs processing based on a combination of a plurality of input data. In particular, the processing of the computer is impossible or useless due to insufficient input data. preferably to avoid composed of the the data input method and apparatus and a program automatically generated
And a device therefor .

【0002】[0002]

【従来の技術】例えば特開平1−245305号公報記
載の制御プログラム自動生成装置では、入力装置から制
御対象物の目標動作の概略が与えられると、自動生成装
置はこの目標動作に関係する知識を格納したデータベー
スを検索し、検索した知識を用いて目標動作間の遷移条
件等を決定し、制御実行用の制御プログラムを自動生成
するようになっている。
2. Description of the Related Art For example, in an automatic control program generating device described in Japanese Patent Application Laid-Open No. 1-245305, when an outline of a target operation of a control target is given from an input device, the automatic generating device obtains knowledge relating to the target operation. The stored database is searched, transition conditions between target operations are determined using the searched knowledge, and a control program for executing control is automatically generated.

【0003】[0003]

【発明が解決しようとする課題】入力装置から制御対象
物の目標動作を入力する場合、制御対象物の動作等を規
定する制御仕様等の情報を計算機に入力する必要があ
る。従来は、この制御情報の入力については配慮がされ
ていなく、物理的に取り得ないデータの入力まで許容し
ていた。例えば、制御対象物のある機器の移動距離デー
タと、ある部材の配置位置データとを入力する場合、そ
の部材がその場所に配置されていると機器がその部材に
ぶつかって移動距離データ通りに移動することができな
いということが生じるデータであっても、そのデータの
入力を許容している。つまり、従来は、入力データが、
その組み合せ上、物理的に取り得ないデータであること
を事前に知ることができず、計算機が制御プログラムの
自動生成処理を実行し処理不能となって初めて入力デー
タの不備を発見することが多い。斯かる場合には、再度
データの入力し直しをする必要が生じる。従って、制御
仕様の入力についてもある程度の熟練が必要となり、非
熟練者がプログラム自動生成装置を扱うと効率が悪くな
るという問題がある。
When a target operation of a controlled object is input from an input device, it is necessary to input information such as control specifications for defining the operation of the controlled object to a computer. Conventionally, no consideration has been given to the input of the control information, and input of data that cannot be physically obtained has been permitted. For example, when inputting movement distance data of a device having a control target and arrangement position data of a member, if the member is arranged at the location, the device collides with the member and moves according to the movement distance data. Even for data that cannot be performed, input of the data is permitted. That is, conventionally, the input data is
Due to the combination, it is often impossible to know in advance that the data is physically unobtainable, and the computer often executes the automatic generation processing of the control program and finds the input data deficiency only after the processing becomes impossible. In such a case, it is necessary to input data again. Therefore, there is a problem that a certain degree of skill is required for inputting the control specifications, and there is a problem that the efficiency is deteriorated when an unskilled person handles the automatic program generation device.

【0004】ある制御情報を入力したときそれが入力禁
止の情報であることが事前に判っていれば、警報音を発
するなどしてオペレータに報知することができる。例え
ばワードプロセッサ専用機等では、ある操作の次に別の
操作指令を入力したときその操作指令が実行不可能また
は実行すると危険であるとき等には、警報音を発するも
のが多い。ワードプロセッサ専用機等の装置では、ある
状況下で実行不可能な操作或いは実行するとデータ全て
を消失させてしまう虞がある操作は、固定的に判ってい
るため、このような警報音を出力することは容易であ
る。しかし、例えばプラントの制御プログラムを作るた
めに制御仕様を入力する場合、あるプラントでは許容さ
れるデータの組み合せが、別のプラントではその大きさ
等の制約で許容されないということが往々にしてあり、
一概に入力不可のデータの組み合せを固定的に決めてし
まうことができないという問題がある。
[0004] When certain control information is input and it is known in advance that the information is input prohibition information, it is possible to notify an operator by issuing an alarm sound or the like. For example, in a word processor dedicated machine or the like, an alarm sound is often emitted when another operation command is input after a certain operation and the operation command is impossible or dangerous to execute. In a device such as a word processor dedicated device, an operation that cannot be performed in a certain situation or an operation that may cause all data to be lost when the operation is performed is known in a fixed manner. Is easy. However, for example, when inputting control specifications in order to create a control program for a plant, it is often the case that a combination of data permitted in one plant is not permitted in another plant due to restrictions such as its size,
There is a problem that a combination of data that cannot be input cannot be fixedly determined.

【0005】本発明の目的は、個々の制御対象毎に取り
得ないデータの組み合せの入力を禁止することのできる
データ入力方法及びその装置とプログラム自動生成方法
及びその装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data input method capable of prohibiting the input of a combination of data that cannot be obtained for each control object, an apparatus therefor, and an automatic program generation method.
And an apparatus therefor.

【0006】[0006]

【課題を解決するための手段】上記目的は、制御対象を
構成する各機器が取り得る複数の状態を示す情報と、前
記各機器が取り得る複数の状態のうち各機器の状態の組
み合わせが実現できるか否かを判定するための制約条件
とを用いて、前記各機器の状態を示すデータが入力され
るときに、既に入力されている前記機器の状態を示すデ
ータとの組み合わせが認められないデータに対して、認
められないことを表示または警報あるいはデータ入力を
禁止することで、達成される。
The object of the present invention is to control a controlled object.
Information indicating the possible states of each device
A set of the status of each device among the multiple statuses that each device can take
Constraints for determining whether matching can be achieved
By using, data indicating the state of each device is input
Data that indicates the status of the device already entered
Data that cannot be combined with data
Warnings or data entry
Achieved by banning .

【0007】[0007]

【作用】制御情報の入力対象となる制御対象物の機器等
により操作される状態量がとりうる状態値が入力された
とき、状態値の組み合わせのうち実現が不可能であるも
のか否かを判定することにより、現実には実現不可能な
制御仕様の入力が排除可能となる。
When a state value that can be taken by a state quantity operated by a device or the like of a control object to be input of control information is input, it is determined whether or not a combination of state values cannot be realized. By making the determination, it is possible to eliminate the input of a control specification that cannot be actually realized.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図5は、本発明の一実施例に係る制御情報入力
装置に入力する制御仕様に係る制御対象物の説明図であ
り、左側が制御対象物の側面図,右側がその正面図であ
る。コイルカーは、コイル状の材料60(以下「コイ
ル」と呼ぶ)を輸送する前後方向(側面図の矢印方向)
に移動可能な台車22と、上下方向(正面図の矢印方
向)に移動可能なリフタ23とで構成される。このコイ
ルカーは、コイルの一時保管場所であるスキッド61か
らコイル60を取り出し移動してリール62まで運ぶ。
コイル60は、このリール62で加工が施される。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 5 is an explanatory diagram of a control target according to a control specification input to the control information input device according to one embodiment of the present invention. The left side is a side view of the control target, and the right side is a front view thereof. The coil car transports the coiled material 60 (hereinafter referred to as “coil”) in the front-rear direction (the direction of the arrow in the side view).
And a lifter 23 that can move in the vertical direction (the direction of the arrow in the front view). This coil car takes out the coil 60 from the skid 61 which is a temporary storage place of the coil, moves it, and carries it to the reel 62.
The coil 60 is processed by the reel 62.

【0009】コイルカーは、本実施例では、台車22を
操作することにより、その状態量「台車位置」24が、
「スキッド位置」27,「位置A」28及び「リール位
置」29の3つの状態値を取りうるようになっている。
また、コイルカーは、リフタ23を操作することによ
り、その状態量「リフタ高さ」26が、「上昇端」3
5,「運搬高さ」34,「挿入高さ」33,「下降端」
32の4つの状態値を取りうるようになっている。さら
に、コイルカーの台車22とリフタ23をある状態にお
いてあらかじめ定められた操作をすることにより、コイ
ルカー上の運搬物を示す状態量「運搬物」25は、「コ
イル(あり)」30,「なし」31の2つの状態値を取
りうるようになっている。
In this embodiment, by operating the bogie 22 in the present embodiment, the state quantity “bogie position” 24 is changed to
It is possible to take three state values of "skid position" 27, "position A" 28 and "reel position" 29.
By operating the lifter 23, the state quantity “lifter height” 26 of the coil car is changed to “rising end” 3.
5, "Transport height" 34, "Insertion height" 33, "Descent end"
It is possible to take 32 four status values. Further, by performing a predetermined operation in a state where the cart 22 and the lifter 23 of the coil car are in a certain state, the state quantity “transported article” 25 indicating the article on the coil car becomes “coil (available)” 30, “none”. 31 two state values can be taken.

【0010】この図5に示す制御対象物は、圧延機で圧
延する鋼板を巻いたものつまりコイル60をスキッド6
1から圧延加工のためにリール62まで運搬する機器に
関するものであり、その制御プログラムを計算機に自動
生成させる場合、この制御対象物の制御仕様を入力装置
から計算機に入力する必要がある。
The object to be controlled shown in FIG. 5 is formed by winding a steel plate to be rolled by a rolling mill, that is, a coil 60 by a skid 6.
The present invention relates to a device which is transported from No. 1 to a reel 62 for rolling, and when a computer automatically generates a control program for the device, it is necessary to input the control specifications of the control object from the input device to the computer.

【0011】図2は、本発明の一実施例に係るプログラ
ム自動生成装置の構成図である。本実施例に係るプログ
ラム自動生成装置は、制御ロジック入力装置17と、デ
ータバス13を介して接続される制御対象物の制御実行
プログラム生成装置16からなり、制御実行プログラム
生成装置16は、制御ロジック入力装置17からデータ
バス13を介して入力された制御ロジックに従って、制
御対象物の制御実行プログラムを生成する。
FIG. 2 is a configuration diagram of an automatic program generating apparatus according to one embodiment of the present invention. The automatic program generation device according to the present embodiment includes a control logic input device 17 and a control execution program generation device 16 for a control object connected via a data bus 13. The control execution program generation device 16 In accordance with the control logic input from the input device 17 via the data bus 13, a control execution program for the control target is generated.

【0012】制御ロジック入力装置17は、制御ロジッ
クの入力の制御手段となる演算部1と、処理の過程にお
ける中間情報を保持する中間データ記憶部2と、演算部
1で実行される処理の手順を保持する処理手順記憶部3
と、利用者に対し制御対象物の「状態量」,「状態
値」,「実現不可能状態の組合せ」,「制約解消方法」
などの情報をグラフ,線図などの形式で提示する表示装
置4と、演算部1で処理されたデータを表示装置4で表
示するための表示装置インターフェース5と、利用者が
目的とする状態の指定により制御ロジックなどを入力す
る入力装置6と、入力装置7で入力された情報を演算部
で処理可能なデータ変換する入力装置インターフェー
ス7と、記憶装置9〜11と、これらの記憶装置9〜1
1との間でのデータ授受の制御を行う外部装置入力イン
ターフェース8とを備える。
The control logic input device 17 includes an arithmetic unit 1 serving as control means for inputting control logic, an intermediate data storage unit 2 for holding intermediate information in the course of processing, and a procedure for processing executed by the arithmetic unit 1. Procedure storage unit 3 for storing
To the user, "state quantity", "state value", "unrealizable state combination", "constraint cancellation method"
A display device 4 for presenting information such as graphs and diagrams, a display device interface 5 for displaying the data processed by the arithmetic unit 1 on the display device 4, An input device 6 for inputting control logic and the like by designation, an input device interface 7 for converting information input by the input device 7 into data that can be processed by an arithmetic unit, storage devices 9 to 11, and these storage devices 9 ~ 1
And an external device input interface 8 for controlling data exchange with the external device 1.

【0013】制御対象物機器構成情報記憶装置9は、制
御ロジックの入出対象となる制御対象物の機器構成情
報とレイアウト情報を含む情報を保持するものである。
記憶装置10は制約判定情報を記憶しており、状態間制
約条件記憶装置11は、制御ロジックの入出対象とな
る制御対象物の状態量のうち実現が不可能な状態の組み
合わせを保持している。また、図2における矢印を伴っ
た実線は、データのバス12,13,14,15を示し
ており、各部分はこれらのバス12,13,14,15
により互いにデータの通信をおこなうことができる。
The control target device configuration information storage device 9 is for holding the information including the device configuration information and layout information of input and output subject to control objects of the control logic.
Storage device 10 stores the restriction determination information, the state between the constraint condition storing apparatus 11, holds the combination of non-state realization of the states of input and output subject to control objects of the control logic I have. The solid lines with arrows in FIG. 2 indicate the data buses 12, 13, 14, and 15, and each part is represented by these buses 12, 13, 14, 15, and 15.
Thus, data communication can be performed with each other.

【0014】図3は、図5に示す制御対象物の機器構
成,状態量,状態値及びそれらの関係を表現する一記述
例であり、概念ネットワークを用いて表現したもの
る。図3には、矩形や楕円等の中に示されたオブジェク
ト(例えば21)と、線分(例えば40)により表現さ
れたオブジェクト間の関係が示されている。図3に示さ
れたオブジェクトは、「制御対象物」,「機器」,「状
態量」,「状態値」及び「高さ」である。例えば、「リ
フタ」23は、「コイルカー」21の「機器」であるこ
とを示し、「リフタ高さ」26は「コイルカー」21の
「状態量」であることを示す。また、別の例では、「5
000」39は状態値「上昇端」の「高さ」を示す座標
を表している。
[0014] Figure 3 is a device configuration of a control object shown in FIG. 5, the state quantity is one description example representing the state values and their relationships, Oh a representation using the concept network <br/> You. FIG. 3 shows a relationship between an object (for example, 21) shown in a rectangle, an ellipse, or the like and an object represented by a line segment (for example, 40). The objects shown in FIG. 3 are “control object”, “device”, “state quantity”, “state value”, and “height”. For example, the “lifter” 23 indicates the “equipment” of the “coil car” 21, and the “lifter height” 26 indicates the “state quantity” of the “coil car” 21. In another example, “5
“000” 39 represents coordinates indicating the “height” of the state value “rising end”.

【0015】図4は、制御対象物のレイアウトに関する
情報をフレーム形式で表現した一記述例である。フレー
ム50には、制御対象物であるコイルカーに関係する構
造物の位置を示す座標が記述されている。
FIG. 4 is an example of description in which information on the layout of a control object is expressed in a frame format. In the frame 50, coordinates indicating the position of a structure related to the coil car, which is the control target, are described.

【0016】図6は、図2に示す制約判定情報記憶装置
10に保持されている制御対象物を構成する物体の物理
的位置関係等の制約により実現が不可能となる状態の条
件の一記述例である。図中には、スキッド位置制約判定
情報80が示されている。
FIG. 6 is a description of a condition of a state that cannot be realized due to a restriction such as a physical positional relationship of an object constituting a control target stored in the restriction determination information storage device 10 shown in FIG. It is an example. In the figure, skid position constraint determination information 80 is shown.

【0017】以下、この図6に示すスキッド位置制約判
定情報80を、制御対象物であるコイルカー、図5を
用いて説明する。ここで、図6のスキッド位置制約判定
情報80の例は、状態量「運搬物」25の状態値が「コ
イル(あり)」30で、状態量「台車位置」24の状態
値が「スキッド位置」27の場合に、状態量「リフタ高
さ」26の状態値の高さがスキッド61の高さより下に
ある場合には、それらの状態値の組合せは、運搬中のコ
イル60がスキッド61にぶつかってしまうので、物理
的干渉により存在しないことを示している。
Hereinafter, the skid position constraint determination information 80 shown in FIG. 6 will be described with reference to FIG. 5 and a coil car to be controlled. Here, in the example of the skid position constraint determination information 80 in FIG. 6, the state value of the state quantity “carried object” 25 is “coil (present)” 30 and the state value of the state quantity “bogie position” 24 is “skid position”. When the height of the state value of the state quantity “lifter height” 26 is lower than the height of the skid 61 in the case of “27”, the combination of those state values Because they collide, it indicates that they do not exist due to physical interference.

【0018】ここで、記述80の中で、「=*」は「等
しいオブジェクトが存在するとき“真”となるオペレー
タ」で、第1番目の条件文は、オブジェクト「コイルカ
ー」の状態量オブジェクト「台車位置」の状態値オブジ
ェクトに「スキッド位置」が存在すれば真となることを
表している。また、第3番目の条件文は、オブジェクト
「コイルカー」の状態量オブジェクト「リフタ位置」の
状態値オブジェクトで、その「高さ」のオブジェクトの
値が制御対象物のレイアウト情報の「スキッド高さ」オ
ブジェクトの値よりも小さいときに“真”となることを
表している。
Here, in the description 80, “= *” is “an operator that becomes“ true ”when an equal object exists”, and the first conditional statement is a state quantity object “object” of the object “coil car”. This is true if “skid position” exists in the state value object of “cart position”. The third conditional statement is a state value object of the state quantity object “lifter position” of the object “coil car”, and the value of the “height” object is the “skid height” of the layout information of the control target. When the value is smaller than the value of the object, it indicates “true”.

【0019】図7は、図2に示す状態間制約条件記憶装
置11に保持されている制御対象物の状態値間の制約説
明のため制約判定表の形で示した一記述例である。図中
にはコイルカー21が持つ状態量である「台車位置」2
4,「運搬物」25,及び「リフタ高さ」26の状態値
の組合せの実現の可否が表の形式で記述されている。例
えば、状態量「リフタ高さ」26の状態値が「挿入高
さ」33で、状態量「運搬物」25の状態値が「コイル
(あり)」30で、状態量「台車位置」24の状態値が
「スキッド位置」27の場合には、これらの状態値間の
組合せが実現不可能であることを示す「×」70が印さ
れている。
FIG. 7 is a description example in the form of a constraint determination table for explaining the constraint between the state values of the controlled object held in the inter-state constraint condition storage device 11 shown in FIG. In the figure, “carriage position” 2 which is the state quantity of the coil car 21
4, it is described in a table format whether or not the combination of the state values of the “transported object” 25 and the “lifter height” 26 can be realized. For example, the state value of the state quantity “lifter height” 26 is “insertion height” 33, the state value of the state quantity “carried object” 25 is “coil (available)” 30, and the state value of the state quantity “carriage position” 24 is When the status value is “skid position” 27, “x” 70 indicating that a combination between these status values is not feasible is marked.

【0020】図8は、本実施例の制御ロジック入力の全
体処理の概要を示すフローチャートである。本実施例の
処理は、「状態間制約条件作成」100処理と「制御ロ
ジック入力」200処理により構成される。以下では、
第1番目の処理である「状態間制約条件作成」100処
理の手順を詳細に示した図9を用いて説明する。
FIG. 8 is a flow chart showing the outline of the whole processing of the control logic input of this embodiment. The processing of this embodiment is composed of a “creation of inter-state constraint conditions” 100 processing and a “control logic input” 200 processing. Below,
The procedure of the "process for creating inter-state constraint conditions" 100, which is the first process, will be described with reference to FIG.

【0021】図9において、「状態間制約条件作成」処
理の第1ステップ101では、制御ロジックの入力対象
となる制御対象物機器構成情報を制御対象物機器構成情
報記憶装置9より外部装置入力インターフェース8を介
して中間データ記憶部2に読み込む。次のステップ10
2では、制約判定情報記憶装置10に記憶されている制
約判定情報を外部装置入力インターフェース8を介して
中間データ記憶部2に読み込む。
In FIG. 9, in a first step 101 of the “creation of inter-state constraint conditions” processing, control object device configuration information to be input to the control logic is transferred from the control object device configuration information storage device 9 to an external device input interface. 8 to the intermediate data storage unit 2. Next Step 10
In step 2, the constraint determination information stored in the constraint determination information storage device 10 is read into the intermediate data storage unit 2 via the external device input interface 8.

【0022】次のステップ103では、中間データ記憶
部2に読み込まれた制御対象物機器構成情報の状態量と
状態値のオブジェクトとから、図7に示す制約判定表7
0の制御対象物の状態量と状態値が含まれるデータを演
算部1で生成し、中間データ記憶部2に記憶する。次の
ステップ104では、中間データ記憶部2に読み込まれ
た制約判定情報の内から、例えば図6の「スキッド位置
制約判定情報」80のような一つの判定情報を取り出
し、更に、中間データ記憶部2に記憶される図3に示し
たような制御対象物の機器構成情報を参照し、制約判定
に該当する状態値の組合せを検索する。この場合では、
「スキッド位置」27でかつ「コイル」でかつ「挿入位
置」または「下降端」の状態値の組合せが該当する。ス
テップ105では、該当する状態値の組合せの有無を判
定し、該当する組合せが存在する場合には、ステップ1
06で、制約判定表70の該当する状態値の組合せに、
実現不可能であることを示す「×」をセットする。
In the next step 103, the constraint determination table 7 shown in FIG. 7 is obtained from the state quantity and the object of the state value of the control object device configuration information read into the intermediate data storage unit 2.
The arithmetic unit 1 generates data including the state quantity and the state value of the 0 control object, and stores the data in the intermediate data storage unit 2. In the next step 104, one piece of determination information such as “Skid position constraint determination information” 80 in FIG. 6 is extracted from the constraint determination information read into the intermediate data storage unit 2, and further, Reference is made to the device configuration information of the control object as shown in FIG. In this case,
The combination of the "skid position" 27, the "coil", and the state value of the "insertion position" or the "falling end" corresponds. In step 105, it is determined whether there is a combination of the corresponding state values.
06, the combination of the corresponding state values in the constraint determination table 70
Set "x" to indicate that it is not feasible.

【0023】ステップ107では、制約判定条件で制約
判定を行っていないものの有無を判定し、全ての制約判
定条件について判定が完了するまでステップ104〜1
06を繰り返す。全ての制約判定条件について判定が完
了すると、ステップ108に進み、中間データ記憶部2
に記憶されている制約判定表で、全ての状態値の組合せ
について実現の可否についての情報を持つものを、外部
装置入力インターフェース8を介して、状態間制約条件
記憶装置11に出力する。
In step 107, it is determined whether there are any constraint determination conditions for which constraint determination has not been performed, and steps 104 to 1 are performed until all the constraint determination conditions have been determined.
Repeat step 06. When the determination is completed for all the constraint determination conditions, the process proceeds to step 108, where the intermediate data storage unit 2
Is output to the inter-state constraint condition storage device 11 via the external device input interface 8 with the information on the feasibility of all the combinations of the state values in the constraint determination table stored in the storage device.

【0024】次に、図8に示す制御ロジックの入力処理
200の処理手順の詳細を、図1のフローチャート及び
図11〜図14の表示例を用いて説明する。先ずステッ
プ201では、状態間制約条件記憶装置11に記憶され
る制御ロジック入力する制御対象物の制約判定表70
(図7)を外部装置入力インターフェースを介して中間
データ記憶部2に読み込む。ステップ202では、制約
判定表70の「状態量」及び「状態値」オブジェクトを
表示装置インターフェース5を介して表示装置5に、図
12の表示例73に示すように、表示する。ステップ2
03では、利用者が表示装置5に表示された状態量につ
いて状態値を一つづつ選択し入力装置6から入力するこ
とにより制御ロジック決定する。ステップ204で
は、入力装置6から入力装置インターフェース7を介し
て演算部1に読み込まれた入力情報から、制約判定表7
0の情報を参照し制約判定を実行する。
Next, the details of the processing procedure of the control logic input processing 200 shown in FIG. 8 will be described with reference to the flowchart of FIG. 1 and the display examples of FIGS. First, in step 201, a control object constraint determination table 70 for inputting control logic stored in the inter-state constraint storage device 11.
(FIG. 7) is read into the intermediate data storage unit 2 via the external device input interface. In step 202, the “state quantity” and “state value” objects of the constraint determination table 70 are displayed on the display device 5 via the display device interface 5, as shown in a display example 73 in FIG. Step 2
At 03, the control logic is determined by the user selecting state values one by one for the state quantities displayed on the display device 5 and inputting them from the input device 6. At step 204, the constraint determination table 7 is obtained from the input information read into the arithmetic unit 1 from the input device 6 via the input device interface 7.
The constraint determination is executed with reference to the information of 0.

【0025】図12の表示例は、状態量「運搬物」の状
態値として「コイル」74が、そして、状態量「リフタ
高さ」の状態値として「挿入高さ」75が、例えばマウ
スカーソルを合わせてピックすることで指定された状態
を示し、選択された矩形枠内が色変え表示されている。
この指定状態の組み合せ、つまり、「リフタ高さ」が
「挿入高さ」で、「運搬物」が「コイル」のときは、
「台車位置」が「スキッド位置」である状態値の組合せ
は実現が不可能である。このことは、制約判定表70か
ら検索される。
In the display example of FIG. 12, "coil" 74 is used as the state value of the state quantity "carried object", and "insertion height" 75 is used as the state value of the state amount "lifter height". Indicates the state specified by picking along with, and the selected rectangular frame is displayed in different colors.
When this combination of designated states, that is, "lifter height" is "insertion height" and "conveyed object" is "coil",
It is impossible to realize a combination of the state values in which the “cart position” is the “skid position”. This is retrieved from the constraint determination table 70.

【0026】そこで、ステップ205では実現不可能状
態の有無を判定し、実現不可能状態が存在する場合に
は、ステップ206以下の処理を実行する。ステップ2
06では、実現不可能状態を表示装置インターフェース
5を介して表示装置5に表示する。図13の表示例76
は、状態量「台車位置」の状態値「スキッド位置」を実
現不可能状態として表示装置5に表示した例である。つ
まり、図12の状態を選択した場合、直ちに、図13に
示す様に、取り得ない組み合せ「スキッド位置」の色変
え表示が行われ、指定禁止状態にする(色変え表示は必
ずしも必要でなく、指定禁止にし、この「スキッド位
置」のマウス等による指定がされたとき警報音等を発し
て指定禁止を報知することでもよい。)。
In step 205, it is determined whether or not there is an unrealizable state. If an unrealizable state exists, the process from step 206 is performed. Step 2
At 06, an unrealizable state is displayed on the display device 5 via the display device interface 5. Display example 76 in FIG.
Is an example in which the state value “skid position” of the state quantity “trolley position” is displayed on the display device 5 as an unrealizable state. That is, when the state of FIG. 12 is selected, as shown in FIG. 13, the color change display of the impossible combination "skid position" is immediately performed, and the designation is prohibited (the color change display is not necessarily required. The designation may be prohibited, and when the “skid position” is designated by a mouse or the like, a warning sound or the like may be emitted to notify the designation prohibition.)

【0027】ステップ207では、実現不可能な状態値
の組合せを解消する方法の問い合わせが、入力装置6か
らなされているかを判定し、問い合わせがある場合に
は、ステップ208で制約判定表70を参照し、制約解
消方法を検索する。この検索は、制御対象物の状態量付
与された優先度に基づき、優先度の低い状態量の状態値
の変更により達成される実現可能な状態値の組合せを検
索する。
In step 207, it is determined whether an inquiry about a method for resolving a combination of state values that cannot be realized is made from the input device 6. If there is an inquiry, in step 208, the constraint determination table 70 is referred to. Then, search for a constraint elimination method. In this search, based on the priority given to the state quantity of the control target, a combination of achievable state values achieved by changing the state value of the state quantity having a lower priority is searched.

【0028】ステップ209で制約解消方法を表示装置
インターフェース5を介して表示装置5に表示する。図
10の表示例78は、状態量「台車位置」の状態値「ス
キッド位置」が実現不可能状態である場合に、これを解
消するには優先度の一番低い状態量「リフタ高さ」の状
態値を「運搬高さ」または「上昇端」とすれば良いこと
を該当箇所の色変え表示で示した例である。ステップ2
10では、制御対象物の全ての状態量について状態値の
指定が完了したかどうかを判定し、完了した場合には、
ステップ211で、入力された制御ロジックを外部装置
入力インターフェースを介して制御実行プログラム生成
装置に出力する。
In step 209, the constraint solving method is displayed on the display device 5 via the display device interface 5. In the display example 78 of FIG. 10, when the state value “skid position” of the state quantity “trolley position” is in an unrealizable state, the state quantity “lifter height” having the lowest priority is resolved to eliminate this. This is an example in which the state value of “?” Should be set to “transport height” or “rising end” by changing the color of the corresponding portion. Step 2
In 10, it is determined whether or not the designation of the state value has been completed for all the state quantities of the control target object.
In step 211, the input control logic is output to the control execution program generation device via the external device input interface.

【0029】制御実行プログラム生成装置は、制御情報
入力装置から得たデータに基づいて図5に示すコイル制
御装置の制御プログラムを公知の方法により自動生成す
る。この場合、制御情報入力装置から得たデータには矛
盾はないため、プログラム自動生成処理が途中で不可能
になることはなく、効率的なプログラムの生成が可能と
なる。
The control execution program generation device automatically generates a control program of the coil control device shown in FIG. 5 based on data obtained from the control information input device by a known method. In this case, since there is no contradiction in the data obtained from the control information input device, the automatic program generation processing does not become impossible in the middle, and efficient program generation becomes possible.

【0030】なお、以上の説明では、制御対象物の機器
構成情報は概念ネットワークを用いた形式で表現した
が、実際は、制御対象物の機器構成を判別することがで
きれば、どのような形式で表現してもよい。また、制御
対象物の状態間制約判定条件は、制約判定表の形で表現
したが、状態量間の制約が判定できればどのような形式
で表現してもよい。また、表示装置の表示も、状態値の
組合せが実現不可能であることが分かれば、どのような
形式で表現しても良い。
In the above description, the device configuration information of the control target is expressed in a format using a conceptual network. However, in actuality, any format can be used as long as the device configuration of the control target can be determined. May be. In addition, the inter-state constraint determination condition of the control target is expressed in the form of a restriction determination table, but may be expressed in any form as long as the restriction between the state quantities can be determined. Also, the display on the display device may be expressed in any form as long as it is found that the combination of the state values is not feasible.

【0031】本実施例によれば、制御情報の入力を行う
際に表示装置に制御対象物が持つ状態量の状態値を全て
表示することにより、入力を行う利用者が制御対象物の
構成あるいは制御方法などを容易に理解できるという効
果がある。また、実現不可能な制御対象物の状態値の組
合せをあらかじめ表示することにより、利用者が実現不
可能な制御情報を入力することを未然に防ぐとともに、
入力された制御ロジックをシミュレーションなどの方法
による検証を不要とし作業の効率化を図ることが可能で
ある。更に、実現不可能な制御対象物の状態値の組合せ
を解消する方法を表示することにより、利用者が容易に
目的とする制御情報を入力することが可能となる。更に
また、制御対象物の機器構成情報と一般的な制約判定情
報とを分けて持つことにより、制御対象物によらず状態
間の制約判定が可能となる。
According to this embodiment, when the control information is input, the display device displays all the state values of the state quantities of the control object, so that the user who makes the input can change the configuration of the control object or There is an effect that the control method can be easily understood. In addition, by displaying in advance a combination of state values of an unachievable control object, it is possible to prevent a user from inputting unrealizable control information beforehand,
It is not necessary to verify the input control logic by a method such as simulation, and the work efficiency can be improved. Further, by displaying a method for eliminating the combination of the state values of the control target that cannot be realized, the user can easily input desired control information. Furthermore, by separately holding the device configuration information of the control target and the general constraint determination information, it is possible to determine the restriction between states regardless of the control target.

【0032】[0032]

【発明の効果】本発明によれば、制御対象毎に取り得な
い複数のデータの組み合せをデータ入力に従って判定す
るので、オペレータは効率的にデータ入力ができ、ま
た、入力したデータに基づいて処理装置が以後の処理を
するときその処理がデータ不備により不可能になること
がない。
According to the present invention, a combination of a plurality of data that cannot be obtained for each control object is determined according to the data input, so that the operator can input the data efficiently, and the processing device can be configured based on the input data. Does not become impossible due to inadequate data when performing subsequent processing.

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

【図1】本発明の一実施例に係る制御情報入力処理手順
を示すフローチャートである。
FIG. 1 is a flowchart illustrating a control information input processing procedure according to an embodiment of the present invention.

【図2】本発明の一実施例に係るプログラム自動生成装
置のブロック構成図である。
FIG. 2 is a block diagram of an automatic program generation device according to one embodiment of the present invention.

【図3】図2における制御対象物機器構成情報記憶装置
に保持される制御対象物の機器構成情報を示す図であ
る。
FIG. 3 is a diagram illustrating device configuration information of a control target stored in a control target device configuration information storage device in FIG. 2;

【図4】図2における制御対象物機器構成情報記憶装置
に保持される制御対象物のレイアウトを示すデータ構成
図である。
4 is a data configuration diagram showing a layout of a control target stored in a control target device configuration information storage device in FIG. 2;

【図5】制御対象物概略を示す図である。FIG. 5 is a diagram schematically showing a control object.

【図6】図2における制約判定情報記憶装置に保持され
る制約判定情報を示すデータ構成図である。
FIG. 6 is a data configuration diagram showing constraint determination information held in a constraint determination information storage device in FIG. 2;

【図7】図2における状態間制約条件記憶装置に保持さ
れる制約判定表の構成図である。
FIG. 7 is a configuration diagram of a constraint determination table held in an inter-state constraint condition storage device in FIG. 2;

【図8】本発明の一実施例に係る入力データ処理の全体
の概略手順を示すフローチャートである。
FIG. 8 is a flowchart showing an overall schematic procedure of input data processing according to an embodiment of the present invention.

【図9】図8に示す状態間制約条件作成処理手順の詳細
を示すフローチャートである。
FIG. 9 is a flowchart illustrating details of a procedure for creating inter-state constraint conditions illustrated in FIG. 8;

【図10】図2の表示装置に表示する画面図である。FIG. 10 is a screen view displayed on the display device of FIG. 2;

【図11】作成処理過程における制約判定表の構成図で
ある。
FIG. 11 is a configuration diagram of a constraint determination table in a creation process.

【図12】図2の表示装置に表示する画面図である。FIG. 12 is a screen view displayed on the display device of FIG. 2;

【図13】図2の表示装置に表示する画面図である。FIG. 13 is a screen view displayed on the display device of FIG. 2;

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

1…演算部、2…中間データ記憶部、3…処理手順記憶
部、4…表示装置、5…表示装置インターフェース、6
…入力装置、7…入力装置インターフェース、8…外部
装置入力インターフェース、9…制御対象部機器構成情
報記憶装置、10…制約判定情報記憶装置、11…状態
間制約条件記憶装置、12〜15…データバス、16…
制御実行プログラム生成装置、17…制御情報入力装
置、21〜39…オブジェクト、40…オブジェクト間
の関係、50…レイアウト情報、60…コイル、61…
スキッド、62…リール、70…制約判定表、72、7
3、76…表示例、80…スキッド位置制約判定情報。
DESCRIPTION OF SYMBOLS 1 ... Operation part, 2 ... Intermediate data storage part, 3 ... Processing procedure storage part, 4 ... Display device, 5 ... Display device interface, 6
... Input device, 7 ... Input device interface, 8 ... External device input interface, 9 ... Control target part device configuration information storage device, 10 ... Constraint judgment information storage device, 11 ... Inter-state constraint condition storage device, 12-15 ... Data Bus, 16 ...
Control execution program generation device, 17 control information input device, 21 to 39 objects, 40 relationship between objects, 50 layout information, 60 coils, 61.
Skid, 62 ... reel, 70 ... constraint judgment table, 72, 7
3, 76 ... display example, 80 ... skid position constraint determination information.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 新堀 俊明 茨城県日立市大みか町五丁目2番1号 株式会社 日立製作所 大みか工場内 (72)発明者 和田 裕 茨城県日立市大みか町五丁目2番1号 株式会社 日立製作所 大みか工場内 (56)参考文献 特開 平2−50223(JP,A) 特開 平1−245305(JP,A) 特開 平3−22104(JP,A) 「日本ソフトウェア科学会第5回大会 論文集」1998,P.105〜108 「情報処理学会 第43回(平成3年後 期)全国大会講演論文集」1991−9, P.2−51〜2−52 (58)調査した分野(Int.Cl.7,DB名) G06F 9/00 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Toshiaki Niibori 5-2-1 Omikacho, Hitachi City, Ibaraki Prefecture Inside the Hitachi, Ltd. Omika Plant (72) Inventor Hiroshi Wada 5-chome Omikacho, Hitachi City, Ibaraki Prefecture No. 1 Hitachi, Ltd. Omika Factory (56) References JP-A-2-50223 (JP, A) JP-A-1-245305 (JP, A) JP-A-3-22104 (JP, A) Proceedings of the 5th Annual Meeting of the Scientific Society ", 1998, p. 105-108, Information Processing Society of Japan 43rd (late 1991) National Convention Lecture Papers, 1991-9, p. 2-51 to 2-52 (58) Fields investigated (Int. Cl. 7 , DB name) G06F 9/00

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 制御対象を構成する各機器が取り得る複
数の状態を示すデータと、前記各機器の状態を示すデー
タの組み合せが認められないことを判定するための制約
条件とを用いて、少なくとも1つの機器の状態を示すデ
ータが選択された後で、他の機器の状態を示すデータが
入力される前において、既に入力されている前記少なく
とも1つの機器の状態を示すデータとの組み合せが認め
られない前記他の機器の状態を示すデータを求め、該求
められたデータに対して前記組み合せが認められないこ
とを表示することを特徴とするデータ入力方法。
1. Using data indicating a plurality of states that can be taken by each device constituting a control target and a constraint condition for determining that a combination of data indicating the state of each device is not allowed, After the data indicating the status of at least one device is selected and before the data indicating the status of another device is input, the combination with the data indicating the status of the at least one device already input is A data input method comprising: obtaining data indicating the status of the other device that is not recognized; and displaying that the combination is not recognized with respect to the obtained data.
【請求項2】 請求項1記載のデータ入力方法におい
て、既に入力されている前記少なくとも1つの機器の状
態を示すデータとの組み合せが認められる前記他の機器
の状態を示すデータに対しては、前記組み合せが認めら
れることを表示することを特徴とするデータ入力方法。
2. The data input method according to claim 1, wherein the data indicating the status of the other device, which is already allowed to be combined with the data indicating the status of the at least one device, is A data input method for displaying that the combination is recognized.
【請求項3】 請求項1記載のデータ入力方法におい
て、既に入力されている機器の状態を示すデータとの組
み合せが認められないデータであるか否かは、各機器が
取り得る複数の状態を示すデータと前記制約条件とから
求められる制約判定表に基づいて判定することを特徴と
するデータ入力方法。
3. The data input method according to claim 1, wherein a plurality of states that can be taken by each device are determined based on whether or not the data is not permitted to be combined with data indicating a state of the device already input. A data input method, wherein a determination is made based on a constraint determination table obtained from the data shown and the constraint condition.
【請求項4】 制御対象を構成する各機器が取り得る複
数の状態を示すデータと、前記各機器の状態を示すデー
タの組み合せが認められないことを判定するための制約
条件とを用いて、既に入力されている少なくとも1つの
機器の状態を示すデータとの組み合せが認められない未
入力の他の機器の状態を示すデータを求め、該求められ
たデータに対して前記組み合せが認められないことを表
示する手段を備えたことを特徴とするデータ入力装置。
4. Using data indicating a plurality of states that can be taken by each device constituting a control target and constraint conditions for determining that a combination of data indicating the state of each device is not permitted, The data indicating the status of at least one device that has already been input is not recognized, and the data indicating the status of another device that has not been input is determined. The combination is not recognized for the determined data. A data input device comprising means for displaying
【請求項5】 請求項4記載のデータ入力装置におい
て、前記少なくとも1つの機器の状態を示すデータとの
組み合せが認められる未入力の他の機器の状態を示すデ
ータに対して前記組み合せが認められることを表示する
手段を備えたことを特徴とするデータ入力装置。
5. The data input device according to claim 4, wherein the combination with data indicating the state of the at least one device is recognized, and the combination is recognized with respect to data indicating the state of another device which has not been input. A data input device comprising means for displaying the fact.
【請求項6】 請求項4記載のデータ入力装置におい
て、各機器が取り得る複数の状態を示すデータと前記制
約条件とから求められ、既に入力されている機器の状態
を示すデータとの組み合せが認められないデータである
か否かを判定する制約判定表を保持する記憶手段を備え
たことを特徴とするデータ入力装置。
6. The data input device according to claim 4, wherein a combination of data indicating a plurality of states that can be taken by each device and data indicating a state of the device that has already been input and is obtained from the constraint condition is obtained. A data input device comprising storage means for holding a constraint determination table for determining whether data is not permitted.
【請求項7】 制御対象を構成する各機器の状態を入力
とし、制御対象の制御実行プログラムを自動生成するプ
ログラム自動生成方法において、請求項1乃至請求項3
のいずれかに記載のデータ入力方法で入力されたデータ
に基づいてプログラムを自動生成することを特徴とする
プログラム自動生成方法。
7. A program automatic generation method for automatically generating a control execution program of a control target by inputting a state of each device constituting the control target.
A program automatic generation method characterized by automatically generating a program based on data input by the data input method according to any one of the above .
【請求項8】 制御対象を構成する各機器の状態を入力
とし、制御対象の制御実行プログラムを自動生成するプ
ログラム自動生成装置において、請求項4乃至請求項6
のいずれかに記載のデータ入力装置と、該データ入力装
置から入力されたデータに基づいてプログラムを自動生
成する手段とを備えたことを特徴とするプログラム自動
生成装置。
8. A program automatic generation apparatus for automatically generating a control execution program for a control target by inputting the state of each device constituting the control target.
Automatic program generating apparatus characterized by comprising a data input device, and means for automatically generating a program based on input data from the data input device according to any one of.
JP18808992A 1992-07-15 1992-07-15 Automatic program generation method and device, and data input method and device Expired - Fee Related JP3275018B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18808992A JP3275018B2 (en) 1992-07-15 1992-07-15 Automatic program generation method and device, and data input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18808992A JP3275018B2 (en) 1992-07-15 1992-07-15 Automatic program generation method and device, and data input method and device

Publications (2)

Publication Number Publication Date
JPH0635683A JPH0635683A (en) 1994-02-10
JP3275018B2 true JP3275018B2 (en) 2002-04-15

Family

ID=16217515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18808992A Expired - Fee Related JP3275018B2 (en) 1992-07-15 1992-07-15 Automatic program generation method and device, and data input method and device

Country Status (1)

Country Link
JP (1) JP3275018B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5537474B2 (en) * 2011-03-24 2014-07-02 公益財団法人鉄道総合技術研究所 Program and sensor node program creation device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
「情報処理学会 第43回(平成3年後期)全国大会講演論文集」1991−9,P.2−51〜2−52
「日本ソフトウェア科学会第5回大会論文集」1998,P.105〜108

Also Published As

Publication number Publication date
JPH0635683A (en) 1994-02-10

Similar Documents

Publication Publication Date Title
JP3391811B2 (en) Team type data processing method in CAD system and CAD system
JP5557622B2 (en) Construction simulation method and apparatus
JPH0673137B2 (en) How to give an interface of parts list between a conceptual design tool and CAD / CAM environment
Sadeghpour et al. A CAD-based model for site planning
JPS6123003A (en) Schedule drawing method
JP5673489B2 (en) Point cloud data processing apparatus, processing method, processing program, and recording medium
JP3275018B2 (en) Automatic program generation method and device, and data input method and device
JP4025121B2 (en) Component arrangement calculation device, component arrangement calculation method, component arrangement calculation program, recording medium recording the program, and component arrangement support system
JP3099387B2 (en) Installation planning support method
JPH06168246A (en) Method and device for supporting fixing plan
JP2002259503A (en) System of production control, method thereof, manufacturing method for semiconductor device using the method, recording medium recorded information thereof, program thereof and computer readable recording medium recorded the program
JP2966441B2 (en) Drawing creation support device
US5093796A (en) Automatic programming definition of a machining configuration for a numerical control device
JP4927202B2 (en) Analysis result output method, analysis result output device, computer program, and recording medium
JP5530732B2 (en) Work instruction generation system, method and program
JP4630589B2 (en) Analysis result output method, analysis result output device, computer program, and recording medium
JP2993288B2 (en) Machining program creation device
JPH0271373A (en) Back-up device for arrangement design
JPH0778809B2 (en) Design support method and apparatus
JP2012221146A (en) Design procedure navigation system
JPH08272842A (en) Flow chart editing device
JPH01158506A (en) Method for defining working shape in interactive automatic programming function
JPH05257996A (en) Assembling drawing preparation supporting method
JPH05258025A (en) Computer aided design system
JPH02268332A (en) Membership function setting device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees