JPS60215213A - System for improving speed of sequence control - Google Patents

System for improving speed of sequence control

Info

Publication number
JPS60215213A
JPS60215213A JP7085484A JP7085484A JPS60215213A JP S60215213 A JPS60215213 A JP S60215213A JP 7085484 A JP7085484 A JP 7085484A JP 7085484 A JP7085484 A JP 7085484A JP S60215213 A JPS60215213 A JP S60215213A
Authority
JP
Japan
Prior art keywords
activation
unit
storage means
operations
waiting
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.)
Granted
Application number
JP7085484A
Other languages
Japanese (ja)
Other versions
JPH0619649B2 (en
Inventor
Masanori Katayama
片山 正典
Norihisa Komoda
薦田 憲久
Tomohiro Murata
智洋 村田
Kuniaki Matsumoto
松本 邦顕
Tetsuo Sato
哲夫 佐藤
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 JP59070854A priority Critical patent/JPH0619649B2/en
Publication of JPS60215213A publication Critical patent/JPS60215213A/en
Publication of JPH0619649B2 publication Critical patent/JPH0619649B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1169Activating output if input changes, transition input and output not yet on

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To shorten the operation start discriminating time of a unit operation by performing operation start discrimination only for synchronism excluding step numbers which may be progressed to the next steps. CONSTITUTION:With respect to operation numbers whose operation state is changed from the operating state to the operation completion and operation numbers whose operation management state is changed from the started state to the start waiting state, synchronism excluding step numbers which may be started by the change of the operation state are stored in a storage table 41 of start discrimination waiting step numbers. Combinations of unit operations (completion waiting operations), which are executed at present and are interlocked for synchronism exclusion, and unit operations (start waiting operations) which are stopped at present and wait for an interlock signal for synchronism exclusion are stored in a synchronism excluding step definition table 27. A controller 30 performs operation start discrimination only for start sequence relations stored in the storage table 41 when checking operations whose start should be decided, thus performing the control at a high speed.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、工業用のロボット、自動機械等の動作制御を
行うシーケンス制御装置に関し、特に、複雑な制御シー
ケンスを有する大規模なシステムのシーケンス制御を高
速に処理する際に好適なシーケンス制御高速化方式に関
する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a sequence control device that controls the operation of industrial robots, automatic machines, etc., and particularly to sequence control of large-scale systems having complex control sequences. This invention relates to a sequence control speed-up method suitable for high-speed processing.

〔発明の背景〕[Background of the invention]

最近、ファクトリ・オートメーション(FA)が注目さ
れているが、FAの分野において、ティーチング・プレ
イバック式ロボットや自動加工機械を組合せて一連の協
調動作を繰返し行わせるためには、これらの間のインタ
ーロックをとる必要がある。
Factory automation (FA) has been attracting attention recently, and in the field of FA, it is necessary to combine teaching-playback type robots and automatic processing machines to repeatedly perform a series of cooperative operations. You need to take the lock.

上記インターロックを取りながら行う従来の協調動作の
制御例を、第1図に示したロボットによる部品取付ステ
ーションにより説明する。
An example of conventional cooperative operation control performed while maintaining the above-mentioned interlock will be explained using a component mounting station using a robot shown in FIG.

第1図において、10は部品自動供給装置、11は部品
ハンドリングロボット、12は部品位置決め装置、13
番本口転テーブル、14はネジ締めロボット、15はパ
レット、16は未処理パレット、17は無人搬送車、1
8は無人搬送車の軌道、19はパレットのセツティング
および取り出し用のガイド・レールである。
In FIG. 1, 10 is a parts automatic supply device, 11 is a parts handling robot, 12 is a parts positioning device, and 13 is a parts handling robot.
14 is a screw tightening robot, 15 is a pallet, 16 is an unprocessed pallet, 17 is an automatic guided vehicle, 1
Reference numeral 8 indicates a track for the automatic guided vehicle, and reference numeral 19 indicates a guide rail for setting and taking out pallets.

動作の概略は次の通りである。部品ハンドリングロボッ
ト11は、部品自動供給装置10から部品をハンドリン
グして部品位置決め装置12に運び、さらに位置決めさ
れた部品を回転テーブル13に運ぶ。ネジ締めロボット
14は、回転テーブル13に置かれた部品のネジ締め作
業を行う。ネジ締めが完了した部品は、無人搬送車17
により組立作業台13から搬出される。
The outline of the operation is as follows. The parts handling robot 11 handles parts from the parts automatic supply device 10, transports them to the parts positioning device 12, and further transports the positioned parts to the rotary table 13. The screw tightening robot 14 performs screw tightening work on parts placed on the rotary table 13. The parts that have been screwed are attached to the automatic guided vehicle 17.
is carried out from the assembly workbench 13.

第2図は、第1図の各設備群の動作シーケンスを示す図
である。第2図のブロック100〜119は、上記各設
備の単位動作(教示データや制御プログラムの単位)を
示し、ブロックとブロックを結ぶ矢印は、各単位動作間
の同期、排他をとるためのインタロック関係を示してい
る。矢印の出発点のブロックに書かれた動作が完了した
時点で矢印の終点のブロックに書かれた単位動作が起動
されることを示している。1つのブロックが複数の矢印
の終点となっている場合は、それらの矢印の出発点のブ
ロックに書かれたすべての動作が完了した時点で矢印の
終点のブロックに構かれた単位動作が起動される。
FIG. 2 is a diagram showing the operation sequence of each equipment group in FIG. 1. Blocks 100 to 119 in Fig. 2 indicate unit operations (teaching data and control program units) of each of the above equipment, and arrows connecting the blocks indicate interlocks for synchronizing and excluding each unit operation. It shows a relationship. This indicates that the unit action written in the block at the end point of the arrow is activated when the action written in the block at the starting point of the arrow is completed. If one block is the end point of multiple arrows, the unit action assigned to the end point block of the arrows will be activated when all the actions written in the starting point block of those arrows are completed. Ru.

従来、第2図に示すような複数設備間の同期排他を含む
シーケンスを実現するためには、複数台のロボットある
いは加工機械の制御装置へ、それぞれの動作シーケンス
を教示あるいはプログラムする際に、インタロック信号
の0N10FFおよびインタロック信号待ちの命令を、
同期排他して動作させたい各単位動作の前後に、あらか
じめ挿入して教示データ、あるいはプログラムを作成し
ていた。すなわち、第2図に示す動作起動シーケンスを
そのままの形でプログラムしていた。
Conventionally, in order to realize a sequence that includes synchronized exclusion between multiple pieces of equipment as shown in Figure 2, it is necessary to use an interface when teaching or programming the respective operation sequences to the control devices of multiple robots or processing machines. Lock signal 0N10FF and interlock signal wait command,
Previously, teaching data or programs were created by inserting them before and after each unit operation that was to be operated synchronously and exclusively. That is, the operation startup sequence shown in FIG. 2 was programmed as is.

このような方法で、複数設備間の動作の同期排他制御を
行う場合、同期排他して動作させるべき設備の数が増え
、動作シーケンスが複雑になると、制御プログラムが複
雑になるばかりでなく各単位動作の起動可能判定を行う
のに要する処理時間が増大し、所望の制御応答性が得ら
れなくなる。
When performing synchronous exclusive control of the operations of multiple pieces of equipment in this way, the number of pieces of equipment that must be operated synchronously and exclusively increases, and the operation sequences become more complex. The processing time required to determine whether the operation can be started increases, making it impossible to obtain desired control responsiveness.

また、設備の数が増え、動作シーケンスが複雑になった
場合、多くの動作をインターロックを取りながら協調動
作させるための同期排他条件を容易にプログラムするた
めの方法として、個々の単位動作の起動順序関係を記憶
させたテーブルに基づき、複数動作の協調制御を行う動
作シーケンスの制御方法がゝワークステーション制御用
ステーションコントローラ(SCR)の提案′(第22
回5ICE学術講演会、58.7.27)等で提案され
ている。しかし、これらの制御方式は、常にすべての起
動類関係についての起動の可否を判定しているため、起
動すべき単位動作数が多くなると、やはり起動判定処理
時間が増加し応答性が悪くなるという欠点がある。
In addition, when the number of equipment increases and the operation sequence becomes complex, the activation of individual unit operations can be used as a method to easily program synchronized exclusion conditions for interlocking and coordinating many operations. A method for controlling an operation sequence that performs cooperative control of multiple operations based on a table storing order relationships is proposed in ``Proposal of station controller (SCR) for workstation control'' (No. 22).
It has been proposed at the 5th ICE Academic Conference, 58.7.27), etc. However, these control methods always judge whether or not to start for all start-up relationships, so when the number of unit operations to be started increases, the start judgment processing time increases and responsiveness deteriorates. There are drawbacks.

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

本発明の目的は、上記のような従来技術の欠点を除去す
るため、単位動作の動作起動判定を迅速に行うことの可
能なシーケンス制御高速化方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a high-speed sequence control method that can quickly determine the start of a unit operation in order to eliminate the drawbacks of the prior art as described above.

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

上記目的を達成するため、本発明は、単位動作を組み合
わせて同期排他を含む一連の動作シーケンスを実行する
動作シーケンスの制御装置において、各単位動作に対し
その動作状態が変化することにより次に起動すべき単位
動作を判定するための起動順序関係(同期排他ステップ
)の組み合わせを予め記憶しておく第1の記憶手段と、
動作状態が変化した単位動作をもとに次に起動判定すべ
き起動順序関係のみを選択して記憶しておく第2の記憶
手段を有し、起動判定すべき動作を調べる際に上記第2
の記憶手段に記憶した起動順序関係についてのみ起動判
定することにより、起動判定すべき起動順序関係の数を
減少させ、シーケンス制御の高速化を図ったことに特徴
がある。
In order to achieve the above object, the present invention provides an operation sequence control device that combines unit operations and executes a series of operation sequences including synchronous exclusion. a first storage means that stores in advance a combination of activation order relationships (synchronous exclusive steps) for determining a unit operation to be performed;
It has a second storage means that selects and stores only the activation order relationship to be determined to be activated next based on the unit operation whose operating state has changed, and when checking the operation to be determined to be activated, the second storage means is provided.
The present invention is characterized in that the number of activation order relationships to be determined for activation is reduced by determining activation only for the activation order relationships stored in the storage means, thereby increasing the speed of sequence control.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を図面に基づいて説明する。本
実施例は、第1図に示した設備群における第2図に示し
た動作シーケンスの制御を例としている。
Hereinafter, one embodiment of the present invention will be described based on the drawings. This embodiment takes as an example the control of the operation sequence shown in FIG. 2 in the equipment group shown in FIG. 1.

第3図は本発明の一実施例を示す構成図である。FIG. 3 is a configuration diagram showing an embodiment of the present invention.

第3図において、30は統括制御装置、31は統括制御
用メモリ、32.33はロボット制御装置、34.35
はロボット動作教示用メモリ、26はリレー制御盤、1
1.14はプレイバック式のロボットで11はハンドリ
ングロボット、14はネジ締めロボット、12は部品位
置決め装置、13は回転テーブルである。統括制御用メ
モリ31中の27.28.29は統括制御情報を記憶し
てぃ。
In FIG. 3, 30 is a general control device, 31 is a memory for general control, 32.33 is a robot control device, and 34.35 is a robot control device.
26 is a memory for robot operation teaching, 26 is a relay control panel, 1
1.14 is a playback type robot, 11 is a handling robot, 14 is a screw tightening robot, 12 is a component positioning device, and 13 is a rotary table. 27, 28, and 29 in the overall control memory 31 store overall control information.

るテーブルであり、41.42.43は高速処理用のテ
ーブルである。
Tables 41, 42, and 43 are for high-speed processing.

まず、第2図に示した動作シーケンスを統括制御用メモ
リ31中のテーブル27.28.29に記憶させる方式
について説明する。
First, a method for storing the operation sequence shown in FIG. 2 in tables 27, 28, and 29 in the overall control memory 31 will be described.

テーブル27は、同期排他ステップ定義テーブルである
。同期排他ステップ定義テーブル27は、現在勤作中で
あり同期排他のためのインターロックをかけている単位
動作(完了待動作)、および現在停止中であり同期排他
のためのインターロック信号待ちをしている単位動作(
起動待動作)の組み合わせを登録するテーブルである。
Table 27 is a synchronous exclusive step definition table. The synchronous exclusion step definition table 27 shows unit operations that are currently in operation and are interlocked for synchronous exclusion (completion waiting operations), and unit operations that are currently stopped and are waiting for an interlock signal for synchronous exclusion. unit operation (
This is a table for registering combinations of startup wait actions).

その具体的なテーブル構成を第4図に示す。第4図にお
いて、各同期排他ステップに登録しである完了待動作N
αの単位動作がすべて起動法かつ完了し、起動待動作N
nの単位動作がすべて起動待である場合、起動待動作N
αの単位動作が起動される。
The specific table structure is shown in FIG. In FIG. 4, completion waiting operation N registered in each synchronous exclusive step
All unit operations of α are completed in the startup method, and the startup wait operation N
If all unit operations of n are waiting for startup, the operation waiting for startup N
A unit operation of α is activated.

完了待動作嵐および起動待動作Nnで示される各設備の
単位動作の実行に関する情報は、動作管理テーブル28
に第5図に示す形で記憶しておく。
Information regarding the execution of the unit operation of each facility indicated by the completion waiting operation Arashi and startup waiting operation Nn is stored in the operation management table 28.
It is stored in the form shown in Figure 5.

第5図に示す動作管理テーブル28において、起動管理
状態aとしては、0:起動待と、1:起動法の状態があ
り、これにより同期排他ステップ定義テーブル27に記
憶させた動作シーケンスがどこまで進んでいるかが示さ
れる。動作状態すには動作完と動作中の2つの状態が記
録されており、これがl′の時は起動された動作Nαに
対応する単位動作が完了していることを、2′の時は実
行中であることを示している。メツセージNαは、各設
備へ送信する制御情報を示すポインタである。
In the operation management table 28 shown in FIG. 5, the activation management status a includes 0: Waiting for activation and 1: activation method status, which determines how far the operation sequence stored in the synchronous exclusive step definition table 27 has progressed. It will show you whether you are there or not. Two states are recorded in the operation status field: operation complete and operation in progress. It shows that it is inside. The message Nα is a pointer indicating control information to be transmitted to each facility.

制御メツセージ・テーブル29には、統括制御装置が同
期排他ステップ定義テーブル27および動作管理テーブ
ル28に従って起動する動作Nαに対応して各設備へ送
信する制御情報を、第6図に示す形で登録しておく。第
6図中の制御情報において、i、(n=1.2・・・)
 −J n (n=1−2・・・)は、それぞれ起動プ
ログラムNα、動作パラメータN1である。
In the control message table 29, the control information to be sent to each piece of equipment in response to the operation Nα activated by the general control device according to the synchronous exclusive step definition table 27 and the operation management table 28 is registered in the form shown in FIG. I'll keep it. In the control information in FIG. 6, i, (n=1.2...)
-J n (n=1-2...) are the startup program Nα and the operating parameter N1, respectively.

起動判定待ステップNα記憶テーブル41は、統括制御
装置30で起動判定すべき同期排他ステップNαを記憶
しておくテーブルであり、その内容を第7図に示す。
The activation determination waiting step Nα storage table 41 is a table that stores the synchronous exclusion step Nα for which activation should be determined by the central control device 30, and its contents are shown in FIG.

第8図は、動作Nα−ステップNu関連テーブル42の
内容を示す図である。各動作Nα対応に、その動作翫が
起動待動作Nαとして同期排他ステップ定義テーブル2
7に登録されている同期排他ステンプNα(以下、関連
ステップAと呼ぶ)と、その動作Nαが完了時動作N1
1として登録されている同期排他ステップNα(以下、
関連ステップBと呼ぶ)とを記憶しておく。
FIG. 8 is a diagram showing the contents of the operation Nα-step Nu relation table 42. Corresponding to each motion Nα, that motion is set as the activation waiting motion Nα in the synchronized exclusive step definition table 2.
The synchronous exclusive step Nα (hereinafter referred to as related step A) registered in 7 and the operation N1 when the operation Nα is completed
Synchronous exclusive step Nα (hereinafter referred to as
(referred to as related step B).

第9図は、起動可能ステップNα記憶テーブル43の内
容を示す図であり、起動判定待ステップNαテーブル4
1に記憶されている同期排他ステップNαの起動判定を
統括制御装置30で行い、起動可能となった同期排他ス
テップHaを記憶するテーブルである。
FIG. 9 is a diagram showing the contents of the startable step Nα storage table 43, and the start determination waiting step Nα table 4.
This is a table in which the overall control device 30 performs activation determination of the synchronous exclusion step Nα stored in No. 1 and stores the synchronous exclusion step Ha that can be activated.

統括制御装置30は、上記各テーブル27.28.29
.41.42.43を用いて高速に複数設備群のの動作
の同期排他を行う。統括制御装置30の構成を第1O図
に示し、以下その動作を説明する。
The overall control device 30 controls each of the above tables 27, 28, and 29.
.. 41, 42, and 43 to perform high-speed synchronous exclusion of operations of multiple equipment groups. The configuration of the overall control device 30 is shown in FIG. 1O, and its operation will be explained below.

第10図において、300は動作起動判定部。In FIG. 10, reference numeral 300 denotes an operation activation determination section.

301は起動動作Nα読出部、302は起動判定待ステ
ップNα書込部、303は動作管理情報更新部、304
は完了信号ラッチ部、305は制御メツセージ読出部、
306は制御メツセージ送信部である。
301 is a starting operation Nα reading unit, 302 is a starting judgment waiting step Nα writing unit, 303 is an operation management information updating unit, 304
305 is a completion signal latch section, 305 is a control message reading section,
306 is a control message transmitter.

起動判定待ステップNa書込部302は、起動動作Na
読出部301と動作管理情報更新部303から状態の変
化した単位動作翫を受け取り(矢印204、矢印214
)、第11図に示すフローチャートに従い、起動判定す
べき同期排他ステップNαを動作Nα−ステップNα関
連テーブル42から読み出しく矢印210)、起動判定
待ステップNα記憶テーブル41に記憶する(矢印20
9)。
The startup judgment waiting step Na writing unit 302 writes the startup operation Na.
Receives the unit operation rod whose state has changed from the reading unit 301 and the operation management information update unit 303 (arrow 204, arrow 214
), according to the flowchart shown in FIG. 11, the synchronized exclusive step Nα to be determined for startup is read out from the operation Nα-step Nα related table 42 (arrow 210), and stored in the startup determination waiting step Nα storage table 41 (arrow 20).
9).

なお、第11図に示したフローチャートは、単位動作の
状態が変化した場合、その変化により起動する可能性の
ある同期排他ステップNαを選択し、その同期排他ステ
ップNαについてのみ動作起動判定するめために、専用
の起動判定待ステップNa記憶テーブル41に上記同期
排他ステップ阪を格納することを示している。すなわち
、単位動作の状態の変化により起動する可能性のある同
期排他ステップNαとは、動作状態aが動作中から動作
完了に変化した単位動作を完了時動作に含む同期排他ス
テップ翫、および、−回前の起動可能判定の結果、起動
管理状態すが起動済から起動待に変化した単位動作を起
動待動作に含む同期排他ステップNαのことである。
Note that the flowchart shown in FIG. 11 is for selecting a synchronous exclusive step Nα that may be activated due to a change in the state of a unit operation, and determining the operation activation only for that synchronous exclusive step Nα. , indicates that the synchronous exclusive step Na is stored in the dedicated startup determination waiting step Na storage table 41. In other words, a synchronous exclusive step Nα that may be activated due to a change in the state of a unit operation is a synchronous exclusive step Nα that includes a unit operation whose operation state a changes from active to completed in its completion operation, and - This is a synchronous exclusion step Nα in which a unit operation whose activation management state has changed from activated to activated as a result of the previous activation possible determination is included in the activated activation operation.

動作起動判定部300ぼ、第12図に示すフローチャー
トに従い、起動判定待ステップNn記憶テーブル41に
記憶されている起動判定すべき同期排他ステップNαを
読出しく矢印211)、その同期排他ステップNαのす
べての完了時動作Nnは起動済かつ動作完了であり、す
べての起動待動作Nαは起動待であるか否かを判定する
。そして、条件の成立した同期排他ステップを起動可能
ステップNα記憶テーブル43に記憶する(矢印208
)。起動判定待ステップNα記憶テーブル41に記憶さ
れているすべての同期排他ステップを判定した後は、起
動判定待ステップNn記憶テーブル41をクリアする。
According to the flowchart shown in FIG. 12, the operation start determination unit 300 reads out the synchronous exclusive steps Nα for which the start determination is to be made, which are stored in the start determination waiting step Nn storage table 41 (arrow 211), and all of the synchronous exclusive steps Nα. The completion operation Nn has been activated and completed, and it is determined whether or not all activation waiting operations Nα are waiting for activation. Then, the synchronous exclusive step for which the condition is satisfied is stored in the activatable step Nα storage table 43 (arrow 208
). After determining all the synchronous exclusive steps stored in the startup determination waiting step Nα storage table 41, the startup determination waiting step Nn storage table 41 is cleared.

起動動作Nα読出部301は、第13図に示すフローチ
ャートに従い、起動可能ステップNa記憶テーブル43
に記憶されている同期排他ステップNαを読み出しく矢
印201)、その同期排他ステップNαのすべての完了
待動作島を起動待とし、さらにすべての起動待動作Nn
を起動済かつ動作中とする(矢印205)。また、その
同期排他ステップNαの完了時動作Naを起動判定待ス
テップNa書込部302へ送り(矢印204)、起動待
動作Nαを制御メツセージ続出部305へ送る(矢印2
03)。
The activation operation Nα reading unit 301 reads the activation possible step Na storage table 43 according to the flowchart shown in FIG.
Read out the synchronous exclusive step Nα stored in
is activated and in operation (arrow 205). Also, the action Na at the time of completion of the synchronization exclusive step Nα is sent to the activation judgment waiting step Na writing unit 302 (arrow 204), and the activation waiting action Nα is sent to the control message succession unit 305 (arrow 2
03).

制御メツセージ続出部305は、起動動作Nα読出部3
01より送られた動作Nα(矢印203)をもとに、動
作管理テーブル28より送信すべきメツセージNαを読
出しく矢印221)、このメツセージNαに対応する制
御情報と送り先アドレスを制御メツセージ・テーブル2
9から読出しく矢印212)、制御メツセージ送信部3
06に送る(矢印217)。そして、動作管理情報更新
部304にメツセージの送り先と起動動作Naを知らせ
る(矢印215)。
The control message successive unit 305 performs the activation operation Nα reading unit 3
Based on the operation Nα (arrow 203) sent from the operation management table 28, the message Nα to be transmitted is read out from the operation management table 28 (arrow 221), and the control information and destination address corresponding to this message Nα are controlled by the message table 2.
9 (arrow 212), control message transmitter 3
06 (arrow 217). Then, the message destination and the activation operation Na are notified to the operation management information updating unit 304 (arrow 215).

制御メツセージ送信部306は、制御メツセージ読出部
305から受け取った送り先アドレスを解読し、制御情
報を該当する設備の制御装置へ送信する(矢印219)
The control message transmitting unit 306 decodes the destination address received from the control message reading unit 305 and transmits the control information to the control device of the corresponding equipment (arrow 219).
.

各設備は、統括制御装置30から送られてきた制御情報
に従い、あらかじめ教示あるいはプログラムされた単位
動作を実行し、単位動作の実行が終了した時点で完了信
号を完了信号ラッチ部3゜4へ送る(矢印218)。完
了信号ラッチ部304は、各設備から受け取った完了信
号を動作管理情報更新部303に送る(矢印216)。
Each piece of equipment executes a unit operation taught or programmed in advance in accordance with the control information sent from the central control device 30, and sends a completion signal to the completion signal latch section 3-4 when the execution of the unit operation is completed. (arrow 218). The completion signal latch unit 304 sends the completion signal received from each piece of equipment to the operation management information update unit 303 (arrow 216).

動作管理情報更新部303は、ラッチされた完了信号の
内容を参照し、制御メツセージ続出部305から受け取
った情報(矢印215)をもとに、該動作Nαの動作状
態62を動作中から動作完の状態へ更新する(矢印21
3)。そして、該動作Nαを起動判定待ステップNn書
込部302に送る(矢印214)。
The operation management information update unit 303 refers to the contents of the latched completion signal and changes the operation state 62 of the operation Nα from in-operation to completed operation based on the information (arrow 215) received from the control message succession unit 305. Update to the state (arrow 21
3). Then, the operation Nα is sent to the activation determination waiting step Nn writing unit 302 (arrow 214).

統括制御装置30は、以上の動作を繰返すことにより、
同期排他ステップ定義テーブル27に登録された動作シ
ーケンスを高速に処理することができる。
By repeating the above operations, the overall control device 30
The operation sequences registered in the synchronous exclusive step definition table 27 can be processed at high speed.

この方式によれば、従来例のように、すべての起動順序
関係について起動の可否を判定する必要がなく、起動判
定待ステップNα記憶テーブルに記憶されている起動可
能性のある同期排他ステップNαについてのみ起動判定
を行えば良いため、動作シーケンスの処理が高速化され
る。
According to this method, unlike the conventional example, there is no need to determine whether startup is possible for all startup order relationships, and the synchronous exclusive step Nα that may be started and is stored in the startup determination waiting step Nα storage table is Since it is only necessary to perform the activation determination, the processing of the operation sequence is sped up.

上記の実施例では、動作状態aが動作中から動作完に変
化した動作N(Lと動作管理状態すが起動済から起動待
に変化した動作Nαについて、その動作状態が変化する
ことにより起動される可能性のある同期排他ステップN
αを起動判定待ステップNα記憶テーブル41に記憶し
ている。この変形例として、動作状態aが動作中から動
作完に変化した動作Nαに対してのみ起動される可能性
のある同期排他ステップNαを、起動判定待ステップ翫
記憶テーブル41に記憶す名刀法で高速化を実現するこ
ともで雇る。この場合は、動作起動判定部300で起動
判定待ステップNα記憶テーブル41をクリアするかわ
りに、起動可能となった同期排他ステップ翫だけを起動
判定待ステップNα記憶テーブル41から消去し、起動
条件が満たされなかった同期排他ステップNαはそのま
ま記憶しておく処理(ただし、すべての完了待動作NQ
が起動済かつ動作完了の条件を満たさない同期排他ステ
ップNnはテーブル41から消去する)を追加する。こ
の実施例では、動作判定待ステップNα記憶テーブル4
1の空エリアの管理処理等が必要となり、処理が複雑に
なるが、動作中から動作完に状態が変化した動作Nαに
対し起動される可能性のある同期排他ステップのみ調べ
れば良く、調べるべきステップ数を少なくすることがで
きる。また、動作Nα−ステップNα記憶テーブル42
の関連ステップBが不要となり、メモリ容量を低減する
ことができる。
In the above embodiment, the operation state a changes from active to fully operational for the operation N(L) and the operation management state a changes from activated to waiting for activation. Synchronous exclusive step N that may occur
α is stored in the startup determination waiting step Nα storage table 41. As a modified example of this, a famous method is to store in the activation determination waiting step storage table 41 a synchronous exclusive step Nα that may be activated only for an operation Nα in which the operation state a changes from active to complete. You can also achieve faster speeds by hiring. In this case, instead of clearing the activation determination waiting step Nα storage table 41 in the operation activation determination unit 300, only the synchronous exclusive step that can be activated is deleted from the activation determination waiting step Nα storage table 41, and the activation condition is A process in which the unsatisfied synchronous exclusive step Nα is stored as is (however, all completion wait operations NQ
The synchronized exclusive step Nn that has been started and does not satisfy the operation completion conditions is deleted from the table 41). In this embodiment, the operation determination waiting step Nα storage table 4
Although the processing becomes complicated as it requires management processing of the empty area in step 1, it is only necessary to investigate the synchronous exclusive step that may be activated for the operation Nα whose state changes from active to complete. The number of steps can be reduced. In addition, the operation Nα-step Nα storage table 42
The related step B becomes unnecessary, and the memory capacity can be reduced.

本実施例によれば、同期排他ステップ定義テーブル27
に定義された単位動作の起動順序関係(同期排他ステッ
プNα)のうち、単位動作の動作状態が変化した場合、
そのことにより起動する可能性のある同期排他ステップ
Nαを起動判定待ステップNα記憶テーブル41に記憶
し、その同期排他ステップNαについてのみ起動判定す
ることにより、動作シーケンス制御における処理時間を
短縮することができる。
According to this embodiment, the synchronous exclusive step definition table 27
When the operation state of a unit operation changes among the activation order relationships of unit operations defined in (synchronous exclusive step Nα),
As a result, the processing time in operation sequence control can be shortened by storing the synchronous exclusive step Nα that may be activated in the activation determination waiting step Nα storage table 41 and determining the activation only for the synchronous exclusive step Nα. can.

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

以上説明したように、本発明によれば、次の゛ステップ
に遷移する可能性のある同期排他ステップ臣についての
み動作起動判定をすることにより、単位動作の動作起動
判定を迅速化し、動作シーケンスの制御に要する処理時
間を大幅に短縮することができる。
As explained above, according to the present invention, by determining the motion start only for synchronized exclusive step members that have a possibility of transitioning to the next step, the motion start determination of a unit motion can be speeded up, and the motion sequence can be changed. The processing time required for control can be significantly reduced.

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

第1図は部品取付ステーションの構成図、第2図は部品
取付ステーションにおける設備の同期排他シーケンス、
第3図は本発明の一実施例の全体構成図、第4図は同期
排他ステップ定義テーブル構成図、第5図は動作管理テ
ーブル構成図、第6図は制御メツセージ・テーブル構成
図、第7図は起動判定待ステップNα記憶テーブル、第
8図は動作翫−ステップNa関連テーブル構成図、第9
図は起動可能ステップNa記憶テーブル構成図、第1O
図は統括制御装置の構成図、第11図は起動判定待ステ
ップにα書込部の処理を示すフローチャート、第12図
は起動動作判定部の処理を示すフローチャート、第13
図は起動動作Nα読出部の処理を示すフローチャートで
ある。 30:統括制御装置、31:統括制御用メモリ、27=
同期排他ステップ定義テーブル、28:動作管理テーブ
ル、29:制御メツセージ登録テーブル、41:起動可
能ステップNα記憶テーブル、42:動作Nα−ステッ
プ翫関連テーブル、43:起動可能ステップNα記憶テ
ーブル、300:動作起動判定部、301:起動動作N
α読出部、302:起動判定待ステップNa書込部。 第 1 @ 第 2 図 第 3 図 第 4−r2 塾 6 図 拓 7 図 vJ8図 あ リ 図 第11目 笛 12 図 第 13名
Figure 1 is a configuration diagram of the parts mounting station, Figure 2 is the synchronization exclusive sequence of equipment at the parts mounting station,
3 is an overall configuration diagram of an embodiment of the present invention, FIG. 4 is a synchronous exclusive step definition table configuration diagram, FIG. 5 is an operation management table configuration diagram, FIG. 6 is a control message table configuration diagram, and FIG. The figure shows the start-up determination waiting step Nα storage table, FIG.
The figure is a configuration diagram of the startable step Na memory table, 1st O
11 is a flowchart showing the processing of the α writing unit in the start-up judgment waiting step; FIG. 12 is a flowchart showing the processing of the start-up operation determination unit;
The figure is a flowchart showing the processing of the starting operation Nα reading section. 30: General control device, 31: General control memory, 27=
Synchronous exclusive step definition table, 28: Operation management table, 29: Control message registration table, 41: Activable step Nα storage table, 42: Operation Nα-step connection table, 43: Activable step Nα storage table, 300: Operation Startup determination unit, 301: Startup operation N
α reading unit, 302: startup determination waiting step Na writing unit. Figure 1 @ Figure 2 Figure 3 Figure 4-r2 Juku 6 Drawing 7 Figure vJ8 Figure A Ri Figure 11 Whistle 12 Figure 13

Claims (3)

【特許請求の範囲】[Claims] (1)単位動作を組み合わせて同期排他を含む一連の動
作シーケンスを実行する動作シーケンスの制御装置にお
いて、各単位動作に対しその動作状態が変化することに
より次に起動すべき単位動作を判定するための起動順序
関係の組み合わせを記憶しておく第1の記憶手段と、動
作状態が変化した単位動作をもとに次に起動判定すべき
起動順序関係のみを選択して記憶しておく第2の記憶手
段を有し、起動判定すべき動作を調べる際番;上記第2
の記憶手段に記憶した起動順序関係についてのみ起動判
定することを特徴とするシーケンス制御高速化方式。
(1) In an operation sequence control device that combines unit operations to execute a series of operation sequences including synchronous exclusion, to determine which unit operation to start next based on changes in the operation state of each unit operation. a first storage means that stores combinations of activation order relationships; and a second storage means that selects and stores only the activation order relationships to be determined next based on the unit operation whose operating state has changed. It has a storage means, and the number when checking the operation to be activated is determined;
A high-speed sequence control method characterized in that activation is determined only with respect to an activation order relationship stored in a storage means.
(2)上記第2の記憶手段は、起動後その動作が完了し
た単位動作と、1回前の起動判定で動作状態が起動済か
ら起動特に変化した単位動作をもとに、起動する可能性
のある起動順序関係を上記第1の記憶手段から読出して
記憶し、起動判定後は起動の可否にかかわらず上記第2
の記憶手段に記憶した起動順序関係を消去することを特
徴とする特許請求の範囲第1項記載のシーケンス制御高
速化方式。
(2) The second storage means stores the possibility of activation based on the unit operations whose operation has been completed after activation and the unit operations whose operation status has changed from activated in the previous activation determination. A certain startup order relationship is read from the first storage means and stored, and after the startup determination, the second
2. The sequence control speed-up method according to claim 1, wherein the startup order relationship stored in the storage means is deleted.
(3)上記第2の記憶手段には、起動後その動作が完了
した単位動作に基づき起動する可能性のある起動順序関
係のみを上記第1の記憶手段から読出して記憶し、起動
判定後は起動可能となった起動順序関係を消去すること
を特徴とする特許請求の範囲第1項記載のシーケンス制
御高速化方式。
(3) The second storage means reads out from the first storage means only the activation order relationships that are likely to be activated based on the unit operations whose operations have been completed after activation, and stores them. 2. The sequence control speed-up method according to claim 1, wherein the startup order relationship that has become possible to start is deleted.
JP59070854A 1984-04-11 1984-04-11 Sequence control method Expired - Lifetime JPH0619649B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59070854A JPH0619649B2 (en) 1984-04-11 1984-04-11 Sequence control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59070854A JPH0619649B2 (en) 1984-04-11 1984-04-11 Sequence control method

Publications (2)

Publication Number Publication Date
JPS60215213A true JPS60215213A (en) 1985-10-28
JPH0619649B2 JPH0619649B2 (en) 1994-03-16

Family

ID=13443564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59070854A Expired - Lifetime JPH0619649B2 (en) 1984-04-11 1984-04-11 Sequence control method

Country Status (1)

Country Link
JP (1) JPH0619649B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01261708A (en) * 1988-04-13 1989-10-18 Yaskawa Electric Mfg Co Ltd Decoding processing system for programmable controller
WO1992008171A1 (en) * 1990-11-06 1992-05-14 Koyo Electronics Industries Co., Ltd. Programmable controller

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5866114A (en) * 1981-10-15 1983-04-20 Mitsubishi Electric Corp Programmable controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5866114A (en) * 1981-10-15 1983-04-20 Mitsubishi Electric Corp Programmable controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01261708A (en) * 1988-04-13 1989-10-18 Yaskawa Electric Mfg Co Ltd Decoding processing system for programmable controller
WO1992008171A1 (en) * 1990-11-06 1992-05-14 Koyo Electronics Industries Co., Ltd. Programmable controller
US5404456A (en) * 1990-11-06 1995-04-04 Koyo Electronics Industries Co., Ltd. Controlled method of operating a programmable controller with a multi-level stage configuration

Also Published As

Publication number Publication date
JPH0619649B2 (en) 1994-03-16

Similar Documents

Publication Publication Date Title
JP2019171498A (en) Robot program execution device, robot program execution method and program
CN116075400A (en) Numerical control system and robot control method
JPS60215213A (en) System for improving speed of sequence control
JP2532357B2 (en) Control method of operation sequence
JPS6068405A (en) High-speed control system of action sequence
JPS58109905A (en) Robot controlling system
JPS6020206A (en) Sequence controlling system
JPH02213905A (en) Input/output control system
JPH01108602A (en) Sequence controller
JPH056213A (en) Method and device for controlling industrial robot
JPS58182709A (en) Robot control method with program editing and transfer function
JPS5927305A (en) Automatic programming device
JPH04217009A (en) Method for teaching work program
JPH01169608A (en) Numerical control method
JPS61233802A (en) High speed controller for operation sequence
JPS60164810A (en) History reproducing system
JP2829928B2 (en) Automatic machine control device
JP2001005517A (en) Monitor method for control program and its device
US20020038155A1 (en) System and method for sequence control
JPH0452832A (en) Arithmetic control system
JPH02114511A (en) Controlling system for semiconductor manufacturing device
JPH0619650B2 (en) Sequence control method and apparatus
JPS63250705A (en) Numerical controller
JPS62117008A (en) Numerical controller
JPH1195825A (en) Method for executing numerical control program