JP3460426B2 - Robot controller - Google Patents

Robot controller

Info

Publication number
JP3460426B2
JP3460426B2 JP01119896A JP1119896A JP3460426B2 JP 3460426 B2 JP3460426 B2 JP 3460426B2 JP 01119896 A JP01119896 A JP 01119896A JP 1119896 A JP1119896 A JP 1119896A JP 3460426 B2 JP3460426 B2 JP 3460426B2
Authority
JP
Japan
Prior art keywords
processing
control means
turned
control
drive
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
JP01119896A
Other languages
Japanese (ja)
Other versions
JPH09204210A (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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP01119896A priority Critical patent/JP3460426B2/en
Publication of JPH09204210A publication Critical patent/JPH09204210A/en
Application granted granted Critical
Publication of JP3460426B2 publication Critical patent/JP3460426B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P70/00Climate change mitigation technologies in the production process for final industrial or consumer products
    • Y02P70/10Greenhouse gas [GHG] capture, material saving, heat recovery or other energy efficient measures, e.g. motor control, characterised by manufacturing processes, e.g. for rolling metal or metal working

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、独立に動作可能な
複数の駆動部を有するロボットの各駆動部を同期制御す
るロボット制御装置に関する。 【0002】 【従来の技術】従来より、この種の装置においては、駆
動部を駆動する駆動手段に起動指令を出力後、この起動
指令に従った所定動作を終了した旨を表す終了通知を駆
動手段から受け取るまでの待ち時間を利用して、他の駆
動部を並列に動作させることにより、制御の効率を向上
させることが行われており、例えば、特開平7−497
07号公報には、3次元的に位置決めを行うXYZテー
ブルにおいて、X軸を制御する処理をメインルーチンと
して、このメインルーチンの処理待時間、即ち、X軸の
ドライバを起動して、X軸が目標位置まで移動をしてい
る間に、他のY軸及びZ軸を制御するサブルーチンを呼
び出すことにより、各軸を並列に動作させる装置が開示
されている。また、特開平7−129227号公報およ
び特開平7−141009号公報には、同様にXYZテ
ーブルにおいて、X軸,Y軸,Z軸を制御する処理をサ
ブルーチンとして夫々用意し、これらサブルーチンをメ
インルーチンにより順番に起動する装置が開示されてい
る。 【0003】 【発明が解決しようとする課題】しかし、これらの装置
では、サブルーチンが処理を実行可能な状態にあるか否
かの判断を、呼び出されたサブルーチン側で行うように
されており、例えばX軸を所定位置に移動させてからY
軸の移動を開始させるような場合、Y軸を制御するサブ
ルーチンにおいて、X軸の動作を監視しなければならな
かった。このため、このような制御装置では、各サブル
ーチンの独立性が低く、どのサブルーチンを作成するに
も、他のサブルーチンにより駆動される駆動部の動作を
把握しなければならず、各サブルーチンのプログラムの
作成に手間を要するだけでなく、駆動部が多くなるほど
プログラムが複雑化して理解しにくいものとなるため、
保守にも手間を要するという問題があった。換言する
と、上述の装置では、X軸,Y軸,Z軸の各部を駆動制
御するプログラムと、これらプログラムを並列に動作さ
せるためのプログラムとが混然一体となっているため、
当該プログラムにおいてプログラムを並列に動作させる
方式を熟知しているシステム開発者以外の者、例えば実
際にシステムを使用する使用者がプログラムを修正する
ことが極めて困難であり、汎用性に欠けるという問題が
あった。 【0004】一方、特開昭61−117605号公報に
は、センサからの入力に基づき、各種演算処理を実行し
てその結果に基づいてロボットをサーボ制御する装置に
おいて、夫々単独で処理可能なモジュール単位に分割
し、テーブルを介してデータの受渡しを行うことによ
り、各モジュールを並列処理する装置が開示されてい
る。 【0005】この装置を応用して、駆動手段毎にその制
御処理をモジュールとして、各モジュールを並列処理す
ることが考えられるが、テーブルに書き込まれたデータ
を参照することにより、各モジュールにて夫々独自に自
処理が実行可能な状態にあるか否かを判断しなければな
らず、結局、上述の装置と同様の問題があった。 【0006】本発明は、上記問題点を解決するために、
処理待ち時間を利用した効率のよい制御を実現でき、し
かも各駆動部を駆動制御する処理手順が簡易なロボット
制御装置を提供することを目的とする。 【0007】 【課題を解決するための手段】上記目的を達成するため
になされた請求項1に記載の発明においては、制御切換
手段が、複数の駆動制御手段、及び同期制御手段のう
ち、処理を実行可能な待機状態にあるものに順次制御を
切り換えることにより、これらを複数の駆動制御手段及
び同期制御手段の処理を並列に実行する。 【0008】そして、駆動制御手段が駆動手段に対して
起動指令を出力すると、駆動手段が起動指令に従って駆
動部の駆動を開始すると共に、第1の状態遷移手段がこ
の駆動制御手段の処理を中断させる。その後、起動指令
に応じた所定動作を終了した駆動手段により終了通知が
出力されると、第1の状態遷移手段が上記起動指令を出
力した駆動制御手段を待機状態に遷移させ、中断されて
いた駆動制御手段の処理の再開を可能にする。 【0009】また駆動制御手段が、予め区切られた一連
の処理を終了して応答通知を出力した時には、第2の状
態遷移手段がこの駆動制御手段の処理を中断させる。そ
の後、同期制御手段から動作指令が出力されると、第2
の状態遷移手段が、この動作指令に指定された駆動制御
手段を待機状態に遷移させ、中断されていた駆動制御手
段の処理の再開を可能にする。 【0010】一方、同期制御手段が動作指令を出力した
時には、第3の状態遷移手段がこの同期制御手段の処理
を中断させる。その後、指定する全ての駆動制御手段か
ら応答通知が出力されると、同期制御手段を待機状態に
遷移させ、中断されている同期制御手段の処理の再開を
可能にする。 【0011】つまり、同期制御手段では、中断された駆
動制御手段の処理を再開させる動作指令を出力すると処
理が中断され、その後、指定する駆動制御手段から応答
通知が出力されることにより処理が再開され、次の動作
指令を出力する。一方、駆動制御手段では、同期制御手
段から自己を指定する動作指令が出力されると処理が再
開され、予め区切られた一連の処理を実行した後、応答
通知を出力すると再度処理が中断される。 【0012】このように、駆動制御手段は、予め区切ら
れた一連の処理を終了する度に、一旦処理が中断され、
処理を再開するタイミングは同期制御手段の動作指令に
より外部から与えられるようにされている。従って、本
発明のロボット制御装置によれば、駆動制御手段の処理
手順にて、自処理が実行可能な状態にあるか否かを判断
する必要がなく、他の駆動制御手段により駆動される駆
動部の動作状態を意識する必要がないため、処理手順を
簡易なものとすることができ、その作成も容易にでき
る。また、制御すべき駆動部がどれだけ増加したとして
も、駆動制御手段の処理手順が複雑化することがない。 【0013】また、本発明のロボット制御装置によれ
ば、同期制御手段の処理手順は、駆動部を動作させる順
序に従って、動作指令を並べたものであり、同期制御手
段が一括して駆動制御手段の動作タイミングを制御する
ようにされているので、同期制御手段の処理手順を見れ
ば装置全体の制御の流れを簡単に把握することができ、
その結果、装置の保守性を向上させることができる。 【0014】更に、駆動制御手段では、駆動手段に起動
指令を出力すると、駆動手段から終了通知が出力される
までの間処理が中断され、他の駆動制御手段、或は同期
制御手段に制御が切り換えられるようにされているの
で、無駄な処理待ち時間がなく、例えば同期制御手段か
ら複数の動作指令が同時に出力された時には、複数の駆
動部が同時に動作することになるため、効率よい制御を
実現できる。 【0015】 【発明の実施の形態】以下に本発明の実施例を図面と共
に説明する。図1は、実施例のロボット制御装置が適用
されたロボット設備の全体構成を表すブロック図であ
り、図2は、ロボット設備の可動部であるXYテーブル
及び組付ヘッドの概略構成図である。 【0016】ロボット設備2は、ワークWに各種部品P
を組み付けるためのものであり、図1及び図2に示すよ
うに、載置されたワークWを2次元的に位置決めするX
Yテーブル4と、部品Pを保持する保持機構を備えた組
付ヘッド6aを駆動してXYテーブル4に載置されたワ
ークW上に部品Pを組み付ける組付装置6と、XYテー
ブル4にワークWを投入するワーク投入装置8と、組付
装置6に部品Pを供給する部品供給装置10と、ワーク
投入装置8及び部品供給装置10の動作状態を表す各種
信号を入力し、XYテーブル4及び組付装置6を駆動制
御するロボット制御装置12とにより構成されている。 【0017】このうち、XYテーブル4は、ボールネジ
からなるロッドを回転駆動することにより、ロッドに螺
合された物体をロッドの配設方向に沿って直線的に移動
させる機構を2つ組み合わせることにより構成された周
知のものであり、所定のX軸方向への移動を行うための
ロッドを回転駆動するモータM、モータMの回転位置を
検出するエンコーダE、ロボット制御装置12からの駆
動信号及びエンコーダからの位置信号に応じてモータM
をサーボ制御するサーボドライバSDからなるX軸ドラ
イバ部14と、同様にモータM、エンコーダE、サーボ
ドライバSDからなり、X軸方向とは直交するY軸方向
への移動を行うためのロッドを回転駆動するY軸ドライ
バ部16とを備えている。 【0018】また、組付装置6は、XYテーブル4の移
動平面とは平行に配設されたボールネジからなるロッド
L1と、ロッドL1に螺合されロッドL1を回転駆動す
るとロッドL1に沿って前後方向に移動するノードN
と、XYテーブル4の移動平面とは垂直に配設され、一
端に組付ヘッド6aが回動自在に取り付けられ、他端に
ノードNが螺合されたボールネジからなるロッドL2
と、ロッドL2を軸として組付ヘッド6aを回動させる
回転機構(図示せず)とにより構成され、更に、ロッド
L1を回転駆動して組付ヘッド6aを前後方向に移動さ
せる前後ドライバ部18、ロッドL2を回転駆動して組
付ヘッド6aを上下方向に移動させる上下ドライバ部2
0、回転機構を駆動して組付ヘッド6a自体を回動させ
る回転ドライバ部22を備えている。なお、組付ヘッド
6aは、回転機構により駆動された場合にだけ回動し、
ロッドL2の回転によっては回動することのないように
されている。 【0019】また、各ドライバ部14〜22を構成する
サーボドライバSDは、正転用或は逆転用のパルスが入
力され、入力されたパルスに応じた回転方向に、所定角
度だけモータMを回転させる周知のパルス駆動型のドラ
イバである。そして、XYテーブル4は、ワーク投入装
置8によりワークWの投入が可能な投入位置と、組付装
置6により部品Pの組付が可能な領域である組付位置と
を移動可能に構成され、特に組付位置の領域内では、X
Yテーブル4の位置を精密に指定するための組付座標が
定義されている。 【0020】一方、組付装置6は、ロッドL1の一端A
(以下、部品供給位置とよぶ)が部が部品供給装置10
の上に、他端BがXYテーブル4の組付位置(以下、部
品組付位置とよぶ)の上に位置するように配設されてい
る。次に、ロボット制御装置12は、CPU24,RO
M/RAM26,I/Oポート30を備えた周知のマイ
クロコンピュータを中心に構成されており、更に、CP
U24にて実行されるプログラムや各種データが格納さ
れた大容量記憶装置28、各種操作を入力するためのキ
ーボード34、動作状態等を表示するための表示装置3
2、XYテーブル4及び組付装置6の各ドライバ部14
〜22のサーボドライバSDに駆動信号としてパルス列
を出力する駆動手段としての位置決めボード36,3
8,40が接続されている。 【0021】各位置決めボード36,38,40は、C
PUから起動指令として入力される座標データから駆動
するモータMの目標値を算出し、この算出値に応じてサ
ーボドライバSDに駆動パルス列を出力すると共に、駆
動パルス列の出力を終了すると、処理の終了を表す終了
通知をI/Oポート30に出力するものであり、最大2
つのサーボドライバSDを接続可能に構成されている。 【0022】そして、ここでは、位置決めボード36に
は、組付装置6の前後ドライバ部18及び上下ドライバ
部20の各サーボドライバSDが接続され、位置決めボ
ード38には、組付装置6の回転ドライバ部22のサー
ボドライバSDが接続され、位置決めボード40には、
XYテーブル4のX軸ドライバ部14及びY軸ドライバ
部16の各サーボドライバSDが接続されている。 【0023】また、ロボット制御装置12には、I/O
ポート30を介して、上述のように位置決めボード3
6,38,40からの終了通知が入力される他、ワーク
投入装置8からXYテーブル4へのワークWの投入を完
了するとオンされるワーク投入信号IN1,XYテーブ
ル4からワークWの除去を完了するとオンされるワーク
除去信号IN3、及び部品供給装置10から部品Pの準
備が完了するとオンされる部品準備完了信号IN2が入
力され、逆にロボット制御装置12からは、I/Oポー
ト30を介して、確認信号OUT1,OUT3(ワーク
投入装置へ),OUT2(部品供給装置10へ)が出力
される。 【0024】なお、ワーク投入装置8は、ロボット制御
装置12により確認信号OUT1がオンされるとワーク
投入信号IN1をオフし、確認信号OUT1がオフされ
るとワーク除去動作を開始し、確認信号OUT3がオン
されるとワーク除去信号IN3をオフし、確認信号OU
T3がオフされると次に処理すべきワークWを投入する
動作を開始するように構成され、また、部品供給装置1
0は、確認信号OUT2がオンされると部品準備完了信
号IN2をオフし、確認信号OUT2がオフされると次
に供給すべき部品Pを所定の部品供給位置に準備する動
作を開始するように構成されている。 【0025】ここで、本実施例のロボット制御装置12
では、ROM/RAM26のROMには、周知のオペレ
ーティング・システム(以下、OSとよぶ)と、このO
Sが使用するファイルアクセス等の入出力基本プログラ
ムが記憶されている。そして、ROMに格納されたOS
は、当該装置12の電源が投入されることにより起動さ
れ、キーボード34からプログラム実行コマンドが入力
されると、入出力基本プログラムにより大容量記憶装置
28からロボット制御システムプログラムを読み出して
RAMに格納し、このRAMに格納されたロボット制御
システムプログラムを起動するようにされている。 【0026】図3は、このロボット制御システムプログ
ラムの構成を表す説明図である。図3に示すように、ロ
ボット制御システムプログラムは、周知のマルチタスク
OSを用いて構成されており、位置決めボード36,3
8,40毎に用意され、各位置決めボード36,38,
40を介してXYテーブル4及び組付装置6の各ドライ
バ部14〜22を駆動制御する3つのサーボ制御タスク
と、これらサーボ制御タスクの動作タイミングを制御す
る同期制御タスクと、I/Oポート30を介して入力さ
れるワーク投入装置8、部品供給装置10、位置決めボ
ード36,38,40からの各種入力信号を監視するI
/O監視タスクとが、このマルチタスクOS上で並列に
実行される。 【0027】そして、これら各タスク間の制御の切換
は、マルチタスクOSにおいて周知の機能であるイベン
トフラグによって行われる。即ち、マルチタスクOS
は、イベントフラグ待ちを実行したタスクを、指定した
イベントフラグがオンされるまでの間処理を中断させる
と共に、イベントフラグ待ちの条件が満たされ、処理を
実行可能な待機状態にあるタスクに順次制御を切り換え
るのである。但し、I/O監視タスクはイベントフラグ
を用いることなく、所定周期で起動される。 【0028】なお、サーボ制御タスクでは、後述する同
期制御タスクで実行される処理が、中断中のサーボ制御
タスクの処理を再開させるために設定する指令信号B
0,B1,C1〜C6,D1〜D4と、I/O監視タス
クが検出する位置決めボード36,38,40からの終
了通知とがイベントフラグとして使用され、また、同期
制御タスクでは、サーボ制御タスクで実行される処理
が、予め決められた一連の処理を終了する毎にその旨を
通知するために設定する応答信号S1,S2,S3と、
I/O監視タスクが検出するワーク投入装置8及び部品
供給装置10からの入力信号IN1,IN2,IN3と
がイベントフラグとして使用される。 【0029】次に、ロボット制御システムプログラムが
起動されると、最初に実行される初期化タスクは、同期
制御タスクと、各サーボ制御タスクが実行するオブジェ
クトプログラム、即ち後述する同期制御処理プログラ
ム、組付ヘッド前後・上下処理プログラム、組付ヘッド
回転制御処理プログラム、XYテーブル制御処理プログ
ラムと、各処理プログラムにて使用される座標データと
を、大容量記憶装置28からRAM上に読み込み、その
後各タスクを起動することにより、各タスクに上記各プ
ログラムを開始させる。 【0030】ここで、これら各タスクにより実行される
各プログラムは、周知のOS上で動作する周知の編集プ
ログラムにより作成したソースプログラムを、周知のO
S上で動作するコンパイラによりCPUが解釈しやすい
形式に変換したものが使用されている。これは、各タス
クがプログラムを実行する時に、その命令解釈時間を短
縮して効率よく制御を実行するためである。 【0031】また、座標データは、組付ヘッドの上下移
動量、組付ヘッドの回転量、XYテーブルのX軸及びY
軸の取付座標を一組として、組み付ける部品の数だけ設
定されたものである。なお、本実施例のサーボ制御タス
クが上述の駆動制御手段に、同期制御タスクが同期制御
手段に、マルチタスクOSが制御切換手段に夫々相当す
る。また、終了通知によるイベントフラグの機能が第1
の状態遷移手段に、指令信号B0,B1,C1〜C6,
D1〜D4によるイベントフラグの機能が第2の状態遷
移手段に、応答信号S1,S2,S3によるイベントフ
ラグの機能が第3の状態遷移手段に相当する。 【0032】次に、各サーボ制御タスク及び同期制御タ
スクにて実行される処理をフローチャートに沿って説明
する。図4は、位置決めボード40を制御するサーボ制
御タスクによって実行されるXYテーブル制御処理を表
すフローチャートである。なお本処理の起動時には、本
処理の前に実行される初期化処理により、XYテーブル
4は投入位置にある。 【0033】本処理が起動されると、まずステップ11
0にて、イベントフラグ待ちを実行して指令信号B0が
オンされるまで処理を中断する。指令信号B0がオンさ
れ本処理が再開されると、ステップ120にて、位置決
めボード40に対して、XYテーブル4を組付位置に移
動させる起動指令を出力後、イベントフラグ待ちを実行
して位置決めボード40からの終了通知が検出されるま
で処理を中断する。 【0034】終了通知が検出され本処理が再開される
と、ステップ130にて、イベントフラグ待ちを実行し
て指令信号B1がオンされるまで処理を中断する。指令
信号B1がオンされ本処理が再開されると、ステップ1
40にて、処理終了指令信号B2がオンされているか否
かを判断し、オンされていなければ処理を継続するもの
として、ステップ150に移行する。 【0035】ステップ150では、位置決めボード40
に対して、XYテーブル4を座標データに指定された組
付座標に移動させる起動指令を出力後、イベントフラグ
待ちを実行して位置決めボード40からの終了通知が検
出されるまで処理を中断する。 【0036】終了通知が検出され本処理が再開される
と、ステップ160にて、応答信号S1をオンした後、
ステップ130に戻り、処理終了指令信号B2がオンさ
れるまでの間、ステップ130〜160の処理を繰り返
し実行する。一方、先のステップ140にて、終了指令
信号B2はオンされていると判断されると、本処理を終
了させるものとして、ステップ170に移行し、位置決
めボード40に対して、XYテーブル4を投入位置へ移
動させる起動指令を出力後、イベントフラグ待ちを実行
して位置決めボード40からの終了通知が検出されるま
で処理を中断する。 【0037】終了通知が検出され本処理が再開される
と、ステップ180にて応答信号S1をオンして本処理
を終了する。つまり本処理により、最初、投入位置にあ
るXYテーブル4は、指令信号B0がオンされると組付
位置に移動し、以後、指令信号B1がオンされる度に座
標データに指定された組付座標に移動する。そして、処
理終了指令信号B2がオンされると、指令信号B1がオ
ンされた時に投入位置に移動する。また、組付座標への
移動完了時、及び投入位置への移動完了時には、応答信
号S1がオンされる。 【0038】なお、本処理では、ステップ120,15
0,170にて実行されるイベントフラグの機能が第1
の状態遷移手段に相当し、ステップ110,130にて
実行されるイベントフラグの機能が第2の状態遷移手段
に相当する。次に図5は、位置決めボード36を制御す
るサーボ制御タスクによって実行される組付ヘッド前後
・上下制御処理を表すフローチャートである。なお本処
理の起動時には、本処理の前に実行される初期化処理に
より、組付ヘッド6aは部品供給位置で且つロッドL2
により最も上昇した上昇位置にある。 【0039】本処理が起動されると、まずステップ21
0にて、イベントフラグ待ちを実行して指令信号C1が
オンされるまで処理を中断する。指令信号C1がオンさ
れ本処理が再開されると、ステップ220にて、処理終
了指令信号C2がオンされているか否かを判断し、オン
されていなければ処理を継続するものとして、ステップ
230に移行する。 【0040】ステップ230では、イベントフラグ待ち
を実行して指令信号C3がオンされるまで処理を中断す
る。指令信号C3がオンされ本処理が再開されると、ス
テップ240にて、位置決めボード36に対して、組付
ヘッド6aを座標データに指定された移動量だけ下降さ
せる起動指令を出力後、イベントフラグ待ちを実行して
位置決めボード36からの終了通知が検出されるまで処
理を中断する。 【0041】終了通知が検出され本処理が再開される
と、ステップ250にて、位置決めボード36に対し
て、組付ヘッド6aを先のステップ240にて下降させ
た分だけ上昇させる起動指令を出力後、イベントフラグ
待ちを実行して位置決めボード36からの終了通知が検
出されるまで処理を中断する。 【0042】終了通知が検出され本処理が再開される
と、ステップ260にて、応答信号S2をオンし、続く
ステップ270にて、イベントフラグ待ちを実行して指
令信号C4がオンされるまで処理を中断する。指令信号
C4がオンされ本処理が再開されると、ステップ280
にて、位置決めボード36に対して、組付ヘッド6aを
部品組付位置まで前進させる起動指令を出力後、イベン
トフラグ待ちを実行して位置決めボード36からの終了
通知が検出されるまで処理を中断する。 【0043】終了通知が検出され本処理が再開される
と、ステップ290にて、応答信号S2をオンし、続く
ステップ300にて、イベントフラグ待ちを実行して指
令信号C5がオンされるまで処理を中断する。指令信号
C5がオンされ本処理が再開されると、続くステップ3
10〜330は、先のステップ240〜260と全く同
様に、組付ヘッド6aを下降,上昇させた後、応答信号
S2をオンして、ステップ340に進み、イベントフラ
グ待ちを実行して指令信号C6がオンされるまで処理を
中断する。 【0044】指令信号C6がオンされ本処理が再開され
ると、ステップ350にて、位置決めボード36に対し
て、組付ヘッド6aを部品供給位置まで後退させる起動
指令を出力後、イベントフラグ待ちを設定して位置決め
ボード36からの終了通知が検出されるまで処理を中断
する。 【0045】終了通知が検出され本処理が再開される
と、ステップ360にて応答信号S2をオンしてステッ
プ210に戻り、以後、処理終了指令信号C2がオンさ
れるまでの間、ステップ210〜360の処理を繰り返
し実行する。一方、先のステップ220にて、処理終了
指令信号C2がオンされていると判断されると、ステッ
プ370に移行し、応答信号S2をオンして本処理を終
了する。 【0046】つまり本処理により、最初、部品供給位置
で且つ上昇位置にある組付ヘッド6aは、指令信号C3
がオンされると、下降上昇することにより部品供給装置
10により準備された部品Pを保持し、その後、指令信
号C4がオンされると、部品組付位置まで移動する。そ
して、指令信号C5がオンされると、再度下降上昇する
ことにより、保持していた部品Pを部品取付位置にある
ワークWに組み付け、更に、指令信号C6がオンされる
と、部品供給位置まで移動する。また、部品Pの保持完
了時,部品組付位置への移動完了時,部品Pの組付完了
時,部品供給位置への移動完了時、及び処理終了指令信
号C2がオンされた後に指令信号C1がオンされた時に
は、応答信号S2がオンされる。 【0047】なお、本処理では、ステップ240,25
0,280,310,320にて実行されるイベントフ
ラグの機能が第1の状態遷移手段に相当し、ステップ2
10,230,270,300,340にて実行される
イベントフラグの機能が第2の状態遷移手段に相当す
る。 【0048】次に図6は、位置決めボード38を制御す
るサーボ制御タスクによって実行される組付ヘッド回転
制御処理を表すフローチャートである。なお本処理の起
動時には、本処理の前に実行される初期化処理により、
組付ヘッド6aは部品供給装置10に準備された部品P
を保持可能な保持角度位置にある。 【0049】本処理が起動されると、まずステップ41
0にて、イベントフラグ待ちを実行して指令信号D1が
オンされるまで処理を中断する。指令信号D1がオンさ
れ本処理が再開されると、ステップ420にて、処理終
了指令信号D2がオンされているか否かを判断し、オン
されていなければ処理を継続するものとして、ステップ
430に移行する。 【0050】ステップ430では、イベントフラグ待ち
を実行して指令信号D3がオンされるまで処理を中断す
る。指令信号C3がオンされ本処理が再開されると、ス
テップ440にて、位置決めボード38に対して、組付
ヘッド6aを座標データに指定された回転量だけ回転さ
せる起動指令を出力後、イベントフラグ待ちを実行して
位置決めボード38からの終了通知が検出されるまで処
理を中断する。 【0051】終了通知が検出され本処理が再開される
と、ステップ450にて、応答信号S3をオンし、続く
ステップ460にて、イベントフラグ待ちを実行して指
令信号D4がオンされるまで処理を中断する。指令信号
D4がオンされ本処理が再開されると、ステップ470
にて、位置決めボード38に対して、組付ヘッド6aを
先のステップ440にて回転させた分だけ逆回転させる
起動信号を出力後、イベントフラグ待ちを実行して位置
決めボード38からの終了通知が検出されるまで処理を
中断する。 【0052】終了通知が検出され本処理が再開される
と、ステップ480にて、応答信号S3をオンした後、
ステップ410に戻り、以後、処理終了指令信号D2が
オンされるまでの間、ステップ410〜480の処理を
繰り返し実行する。一方、先のステップ420にて、処
理終了指令信号D2がオンされていると判断されると、
ステップ490に移行し、応答信号S3をオンして本処
理を終了する。 【0053】つまり、本処理により、最初、部品供給装
置10に準備された部品Pを保持可能な保持角度位置に
ある組付ヘッド6aは、指令信号D3がオンされると、
保持した部品PをワークWに組付可能な組付角度位置ま
で回転し、その後、指令信号D4がオンされると、逆回
転して保持角度位置に戻る。また、組付角度位置への回
転完了時、保持角度位置への逆回転完了時、及び処理終
了指令信号D2がオンされた後に指令信号D1がオンさ
れた時には、応答信号S3がオンされる。 【0054】なお、本処理では、ステップ440,47
0にて実行されるイベントフラグの機能が第1の状態遷
移手段に相当し、ステップ410,430,460にて
実行されるイベントフラグの機能が第2の状態遷移手段
に相当する。次に図7は、同期制御タスクによって実行
される同期制御処理を表すフローチャートである。ここ
では、この図7に示すフローチャートに沿って、図8,
図9に示す制御フローを参照しながら、ロボット制御装
置12全体の動作を説明する。なお、図10は、図8,
図9の制御フロー中で、2重線で示された部分の制御の
流れ、即ち、サーボ制御タスクから位置決めボード3
6,38,40に対して移動指令が出力された場合の制
御の流れを表す制御フローであり、XYテーブル制御処
理のステップ120,150,170、組付ヘッド前後
・上下制御処理のステップ240,250,280,3
10,320,350、組付ヘッド回転制御処理のステ
ップ440,470に相当する。 【0055】まず、電源が投入され、初期化処理が行わ
れた直後は、XYテーブル4は投入位置にあり、また、
組付ヘッド6aは部品供給位置にあり、しかも上昇位置
で且つ保持角度位置にある。なお、本処理を実行する同
期制御タスクが起動される前に、既に各サーボ制御タス
クが起動されている場合、XYテーブル制御処理は指令
信号B0のオン待ち、組付ヘッド前後・上下制御処理は
指令信号C1のオン待ち、組付ヘッド回転制御処理は指
令信号D1のオン待ちで、処理が中断された状態となっ
ている。 【0056】図7に示すように、本処理が起動される
と、まずステップ510にてイベントフラグ待ちを実行
し、ワーク投入信号IN1がオンされるまで処理を中断
する。そして、ワーク投入装置8によるXYテーブル4
へのワークWの投入が完了することにより、ワーク投入
信号IN1がオンされ本処理が再開されると、ステップ
520にて確認信号OUT1をオンし、続くステップ5
30では、指令信号B0をオンする。即ち、指令信号B
0がオンされると、XYテーブル制御処理では、XYテ
ーブル4を組付位置へ移動させる処理が実行可能とな
る。 【0057】続くステップ540にて、未処理の座標デ
ータが有るか否かを調べることにより、部品Pの組付を
終了すべきか否かを判断し、未処理の座標データが存在
し、終了すべきでないと判断された場合には、ステップ
550に移行して、指令信号B1,C1,D1をオン
し、続くステップ560にて、イベントフラグ待ちを実
行して部品供給装置10からの部品準備完了信号IN2
がオンされるまで処理を中断する。 【0058】即ち、指令信号B1,C1,D1がオンさ
れると、XYテーブル制御処理では、XYテーブルを組
付座標へ移動させる処理が実行可能となり、組付ヘッド
前後・上下制御処理、及び組付ヘッド回転制御処理で
は、そのまま指令信号C3,D3のオン待ち状態とな
る。 【0059】そして、部品供給装置10による部品Pの
準備が完了することにより、部品準備完了信号IN2が
オンされ本処理が再開されると、ステップ570にて確
認信号OUT2をオンし、続くステップ580にて、指
令信号C3をオンした後、続くステップ590にて、イ
ベントフラグ待ちを実行して応答信号S2がオンされる
まで処理を中断する。 【0060】即ち、指令信号C3がオンされると、組付
ヘッド前後・上下制御処理では、組付ヘッド6aを下降
上昇させて、組付ヘッド6aに部品Pを保持させる処理
が実行可能となる。そして、組付ヘッド6aによる部品
Pの保持が完了することにより、応答信号S2がオンさ
れ本処理が再開されると、ステップ600にて、指令信
号C4,D3をオンし、続くステップ610にて、イベ
ントフラグ待ちを実行して応答信号S1,S2,S3が
オンされるまで処理を中断する。 【0061】即ち、指令信号C4、D3がオンされる
と、組付ヘッド前後・上下制御処理では組付ヘッド6a
を部品組付位置に移動させる処理が実行可能となり、ま
た、組付ヘッド回転制御処理では、組付ヘッド6aをワ
ークWへの部品Pの組付が可能な組付角度位置に回転さ
せる処理が実行可能となる。 【0062】そして、組付ヘッド6aの部品組付位置へ
の移動と組付角度位置への回転とがいずれも完了するこ
とにより、応答信号S1,S2がオンされ本処理が再開
されると、ステップ620にて、指令信号C5をオン
し、続くステップ630にて、イベントフラグ待ちを実
行して応答信号S2がオンされるまで処理を中断する。 【0063】即ち、指令信号C5がオンされることによ
り、組付ヘッド前後・上下制御処理による、組付ヘッド
6aを下降上昇させ、ワークW上に部品Pを組み付ける
処理が実行可能となる。そして、ワークW上への部品P
の組付が完了することにより、応答信号S2がオンされ
本処理が再開されると、ステップ640にて、指令信号
C6,D4をオンし、続くステップ650では、イベン
トフラグ待ちを実行して応答信号S2,S3がオンされ
るまで処理を中断する。 【0064】即ち、指令信号C6,D4がオンされる
と、組付ヘッド前後・上下制御処理による組付ヘッド6
aを部品供給位置まで後退させる処理、及び組付ヘッド
回転制御処理による組付ヘッド6aを保持角度位置に戻
すために逆回転させる処理が実行可能となる。 【0065】そして、組付ヘッド6aの部品供給位置へ
の移動と保持角度位置への回転とがいずれも完了するこ
とにより、応答信号S2,S3がオンされ本処理が再開
されると、ステップ660にて、イベントフラグ待ちを
実行して部品準備完了信号IN2のオフが検出されるま
で処理を中断する。なお、部品準備完了信号IN2は、
先のステップ570での確認信号OUT2のオンを検出
した部品供給装置10により、通常は既にオフされてい
る。 【0066】そして、部品準備完了信号IN2のオフが
検出され本処理が再開されると、ステップ670にて確
認信号OUT2をオフし、ステップ540に戻る。以
後、未処理の座標データが存在する限り、ステップ54
0〜670の処理を繰り返し実行する。 【0067】一方、先のステップ540にて、未処理の
座標データがなく、処理を終了すべきであると判断され
た場合は、ステップ680に移行して、処理終了指令信
号B2,C2,D2をオンした後、続くステップ690
にて指令信号B1,C1,D1をオンし、更に続くステ
ップ700では、イベントフラグ待ちを実行して応答信
号S1,S2,S3がオンされるまで処理を中断する。 【0068】即ち、指令信号B1がオンされることによ
り、XYテーブル制御処理では、XYテーブル4を投入
位置に移動後、応答信号S1をオンする処理が実行可能
となり、また、組付ヘッド前後・上下制御処理及び組付
ヘッド回転制御処理では、そのまま応答信号S2,S3
をオンする処理が可能となる。 【0069】そして、XYテーブル制御処理、組付ヘッ
ド前後・上下制御処理、組付ヘッド回転制御処理が全て
終了することにより、応答信号S1,S2,S3がオン
され本処理が再開されると、ステップ710にて、イベ
ントフラグ待ちを実行して、ワーク投入信号IN1がオ
フされるまで処理を中断する。 【0070】なお、ワーク投入信号IN1は、先のステ
ップ520での確認信号OUT1のオンを検出したワー
ク投入装置8により、通常は既にオフされている。そし
て、ワーク投入信号IN1のオフが検出され本処理が再
開されると、ステップ720にて、確認信号OUT1を
オフし、続くステップ730にて、イベントフラグ待ち
を実行してワーク除去信号IN3がオンされるまで処理
を中断する。 【0071】即ち、ワーク投入信号IN1のオフを検出
したワーク投入装置8は、投入位置にあるXYテーブル
4からワークWを除去する動作を開始する。そして、X
Yテーブル4からのワークWの除去が完了し、ワーク除
去信号IN3がオンされ本処理が再開されると、ステッ
プ740にて、確認信号OUT3をオンし、続くステッ
プ750にて、イベントフラグ待ちを実行してワーク除
去信号IN3がオフされるまで処理を中断する。 【0072】その後、確認信号OUT3のオフを検出し
たワーク投入装置8により、ワーク除去信号IN3がオ
フされ本処理が再開されると、ステップ760では確認
信号OUT3をオフして本処理を終了する。なお、本処
理では、ステップ590,610,630,650,7
20にて実行されるイベントフラグの機能が第3の状態
遷移手段に相当する。 【0073】以上、説明したように、本実施例のロボッ
ト制御装置12においては、サーボ制御タスクにて実行
される各処理は、予め区切られた一連の処理を終了する
度に、一旦処理を中断し、これら中断された処理を再開
するタイミングは、同期制御処理が設定する指令信号に
基づき、外部から与えらえるようにされている。 【0074】従って、本実施例のロボット制御装置12
によれば、サーボ制御タスクにて実行される各処理に
て、自処理を実行可能な状態にあるか否かを判断する必
要がなく、他のサーボ制御タスクにて実行される処理が
駆動する駆動部の動作状態を意識する必要がないため、
その処理手順を簡易なものとすることができる。その結
果、処理プログラムを容易に作成できるだけでなく、駆
動部間の動作タイミングがどのように変更されようと
も、制御する駆動部の動作手順が変更されない限り、処
理プログラムを全く変更する必要がない。 【0075】また、本実施例のロボット制御装置12に
よれば、同期制御タスクにて実行される同期制御処理
は、サーボ制御タスクにて実行される各処理の動作タイ
ミングを一括して制御するようにされているので、同期
制御処理の処理手順を見れば装置全体の制御の流れを簡
単に把握でき、その結果、装置の保守性を向上させるこ
とができる。 【0076】更に、サーボ制御タスクにて実行される処
理では、位置決めボード36,38,40に起動指令を
出力すると位置決めボード36,38,40から終了通
知が出力されるまでの間処理を中断し、他のサーボ制御
タスク或は同期制御タスクの処理が実行されるようにさ
れているので、無駄な処理待ち時間がなく、例えば複数
のサーボ制御タスクの処理に対して起動指令が出力され
ている時には、複数のモータMが同時に動作することに
なるため、効率のよい制御を実現できる。 【0077】また更に、本実施例では、ロボット制御シ
ステムが起動された時に、同期制御タスク及びサーボ制
御タスクにて実行されるプログラムと、座標データとが
読み込まれるようにされており、XYテーブル4及び組
付装置6を動作させるためのプログラムと、これらプロ
グラムを並列に実行させるプログラム(ロボット制御シ
ステムプログラム)とは完全に独立したものとされてい
る。従って、XYテーブル4及び組付装置6の動きを変
更する場合は、これらタスクにて実行されるプログラム
のみを修正すればよく、システムの使用者等、ロボット
制御システムの内容を知らないシステム開発者以外の者
であっても、装置の動作を簡単に変更することができ、
装置の汎用性が高い。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention
Synchronous control of each drive of a robot with multiple drives
Related to a robot control device. 2. Description of the Related Art Conventionally, this type of device has been
After outputting a start command to the driving means that drives the moving part,
An end notification indicating that the specified operation according to the command has been completed is issued.
Use the waiting time to receive from other
Operate moving parts in parallel to improve control efficiency
For example, Japanese Unexamined Patent Application Publication No. 7-497
JP-A-07-2007 discloses an XYZ table that performs three-dimensional positioning.
In the table, the process for controlling the X axis is defined as a main routine.
Then, the processing waiting time of this main routine, that is, the X-axis
Start the driver and move the X axis to the target position.
While the subroutine for controlling other Y-axis and Z-axis
Device that operates each axis in parallel
Have been. Also, Japanese Patent Application Laid-Open No. 7-129227 and
And Japanese Patent Application Laid-Open No. 7-14099 also describe an XYZ
In the cable, processing to control the X, Y, and Z axes is supported.
Each subroutine is prepared as
A device that is sequentially activated by an in-routine is disclosed.
You. [0003] However, these devices
Let's see if the subroutine is ready to execute
Is determined by the called subroutine
For example, after moving the X axis to a predetermined position,
When starting the movement of the axis, the sub
X-axis movement must be monitored in routine
won. Therefore, in such a control device,
Low independence of the routine, which subroutine to create
Also controls the operation of the drive unit driven by other subroutines.
Must understand the
Not only does it take time to create, but the more
Because the program becomes complicated and difficult to understand,
There was a problem that maintenance also required labor. Paraphrase
In the above-described device, the X-axis, Y-axis, and Z-axis components are
Control programs and those programs that operate in parallel.
And the program to make
Run programs in parallel in this program
Non-system developers who are familiar with the method
When using the system to modify the program
Is extremely difficult and lacks versatility.
there were. On the other hand, Japanese Patent Application Laid-Open No. 61-117605 discloses
Performs various arithmetic processing based on the input from the sensor.
To servo control the robot based on the results
Divided into modules that can be processed independently
And by passing data through tables
And an apparatus for processing each module in parallel is disclosed.
You. By applying this device, the control of each driving means is performed.
Control processing as a module, and process each module in parallel.
Data written to the table.
, Each module has its own
It must be determined whether or not the process is executable.
However, after all, there was a problem similar to the above-described device. The present invention has been made to solve the above problems.
Efficient control using the processing wait time can be realized.
Robot with simple processing procedure for driving and controlling each drive unit
It is an object to provide a control device. [0007] In order to achieve the above object,
According to the first aspect of the present invention, the control switching is performed.
The means comprises a plurality of drive control means and a synchronous control means.
In other words, control is sequentially performed for those in the standby state where processing can be executed.
By switching, these are controlled by a plurality of drive control means and
And the processes of the synchronization control means are executed in parallel. Then, the drive control means controls the drive means.
When a start command is output, the drive means drives according to the start command.
When the driving of the moving part is started, the first state transition means is activated.
Of the drive control means is interrupted. After that, start command
The end means is notified by the drive unit that has completed the predetermined operation corresponding to
When output, the first state transition means issues the start command.
Change the applied drive control means to the standby state.
It is possible to restart the processing of the drive control means. [0009] The drive control means may be a series of pre-divided sections.
When the response notification is output after the processing of
The state transition means interrupts the processing of the drive control means. So
After that, when an operation command is output from the synchronization control means, the second
The state transition means of the drive control specified in this operation command
The means are shifted to the standby state, and the drive control
Enables restarting the processing of the column. On the other hand, the synchronous control means outputs an operation command.
Occasionally, the third state transition means performs the processing of the synchronization control means.
Interrupt. After that, all specified drive control means
When the response notification is output from the
Transition and resume the suspended processing of the synchronization control means.
enable. That is, the synchronous control means controls the interrupted drive.
Output an operation command to restart the processing of the motion control means.
Processing is interrupted, and then a response from the specified drive control
Processing is resumed by the notification being output, and the next operation
Output command. On the other hand, the drive control means
When an operation command specifying itself is output from the stage, the process is restarted.
After executing a series of processes that are opened and separated in advance,
When the notification is output, the processing is interrupted again. As described above, the drive control means includes the
Each time a series of processing is completed, the processing is temporarily interrupted,
The timing for restarting the process depends on the operation command of the synchronous control means.
It is more externally provided. Therefore, the book
According to the robot control device of the invention, the processing of the drive control means
Determine whether the process can be executed by the procedure
Drive that is driven by other drive control means.
Since there is no need to be aware of the operating state of moving parts,
Can be simple and easy to create
You. Also, assuming that the number of drive units to be controlled has increased
Also, the processing procedure of the drive control means does not become complicated. According to the robot control device of the present invention,
For example, the processing procedure of the synchronization control means
The operation commands are listed in the order according to the introduction.
The stage collectively controls the operation timing of the drive control means
So that you can see the processing procedure of the synchronization control means.
If you can easily understand the flow of control of the entire device,
As a result, the maintainability of the device can be improved. Further, the drive control means activates the drive means.
When a command is output, an end notification is output from the driving unit.
The process is interrupted until another drive control means or synchronous
The control is switched to the control means
There is no unnecessary processing waiting time,
When multiple operation commands are output at the same time,
Since the moving parts operate at the same time, efficient control
realizable. Embodiments of the present invention will now be described with reference to the drawings.
Will be described. Fig. 1 shows the robot controller of the embodiment applied
FIG. 2 is a block diagram showing the overall configuration of the robot equipment.
FIG. 2 shows an XY table which is a movable part of the robot equipment.
FIG. 3 is a schematic configuration diagram of an assembly head. The robot equipment 2 includes various parts P
And as shown in FIGS. 1 and 2.
X for positioning the placed workpiece W two-dimensionally
A set including a Y table 4 and a holding mechanism for holding the component P
By driving the attaching head 6a, the wafer placed on the XY table 4 is moved.
An assembly device 6 for assembling the part P on the workpiece W;
Work input device 8 for inputting work W to bull 4 and assembly
A component supply device 10 for supplying a component P to the device 6;
Various types of operation states of the input device 8 and the component supply device 10
A signal is input to drive the XY table 4 and the assembling device 6
And a robot controller 12 that controls the robot. The XY table 4 includes a ball screw
By rotating the rod consisting of
Move the combined object linearly along the direction of rod placement
Circumference configured by combining two mechanisms
It is known, and is used to move in the predetermined X-axis direction.
The motor M that drives the rod to rotate, the rotational position of the motor M
Encoder E to detect, drive from robot controller 12
Motor M according to the motion signal and the position signal from the encoder.
-Axis drive consisting of a servo driver SD that servo-controls the
Motor M, encoder E, servo
Consists of a driver SD, and the Y-axis direction orthogonal to the X-axis direction
Axis drive to rotate the rod to move to
And a bar 16. Further, the assembling device 6 moves the XY table 4.
Rod consisting of a ball screw arranged parallel to the moving plane
L1 and the rod L1 are screwed to rotate the rod L1.
Then, the node N moves in the front-back direction along the rod L1.
And the moving plane of the XY table 4 are disposed vertically.
An assembling head 6a is rotatably attached to one end, and
Rod L2 consisting of a ball screw with which node N is screwed
To rotate the assembly head 6a about the rod L2.
A rotating mechanism (not shown), and a rod
L1 is rotated to move the assembly head 6a in the front-rear direction.
The front and rear driver section 18 to be rotated and the rod L2
Up and down driver section 2 for moving the attached head 6a in the up and down direction
0, driving the rotation mechanism to rotate the assembly head 6a itself
A rotation driver unit 22 is provided. In addition, assembly head
6a rotates only when driven by a rotation mechanism,
Be careful not to rotate by the rotation of the rod L2
Have been. Further, each of the driver sections 14 to 22 is constituted.
The servo driver SD receives a pulse for forward rotation or reverse rotation.
Forced, a predetermined angle in the rotation direction according to the input pulse
A pulse-driven drive that rotates the motor M
Iva. The XY table 4 is a work input device.
The loading position where the workpiece W can be loaded by the device 8 and the assembly equipment
And the assembling position which is an area where the parts P can be assembled by
Is movable, and especially in the area of the assembling position, X
Assembling coordinates for precisely specifying the position of Y table 4
Is defined. On the other hand, the assembling device 6 includes one end A of the rod L1.
(Hereinafter, referred to as a component supply position) is a component supply device 10
On the other hand, the other end B is an assembly position of the XY table 4 (hereinafter, a part
(Referred to as product assembling position).
You. Next, the robot control device 12 includes the CPU 24, the RO
A well-known microcomputer provided with an M / RAM 26 and an I / O port 30
It is composed mainly of a cross computer.
Stores programs and various data executed in U24
Mass storage device 28, a key for inputting various operations.
Board 34, a display device 3 for displaying an operation state and the like
2, each driver unit 14 of the XY table 4 and the assembling device 6
Pulse train as drive signal to servo driver SD
Positioning boards 36 and 3 as driving means for outputting
8, 40 are connected. Each of the positioning boards 36, 38 and 40 has a C
Driven from coordinate data input as start command from PU
The target value of the motor M to be operated is calculated, and the
Output the drive pulse train to the servo driver SD, and
When the output of the dynamic pulse train ends, the end indicating the end of the process
The notification is output to the I / O port 30.
One servo driver SD can be connected. Here, the positioning board 36
Are the front and rear driver section 18 and the upper and lower driver of the assembling device 6
Each servo driver SD of the section 20 is connected,
The module 38 has a circuit of the rotation driver 22 of the assembling device 6.
Driver SD is connected to the positioning board 40,
X-axis driver section 14 of XY table 4 and Y-axis driver
Each servo driver SD of the section 16 is connected. The robot controller 12 has an I / O
Through the port 30, the positioning board 3
In addition to input of end notification from 6, 38, 40, work
The loading of the workpiece W from the loading device 8 to the XY table 4 is completed.
Work input signals IN1 and XY tables that are turned on when completed
Work that is turned on when the work W is removed from the work 4
The removal signal IN3 and the condition of the component P from the component supply device 10
The component preparation completion signal IN2, which is turned on when the
On the other hand, and from the robot controller 12
Confirmation signals OUT1 and OUT3 (work
OUT2 (to the part supply device 10) is output
Is done. The work input device 8 is a robot control device.
When the confirmation signal OUT1 is turned on by the device 12, the work
The input signal IN1 is turned off, and the confirmation signal OUT1 is turned off.
Then, the work removal operation starts and the confirmation signal OUT3 turns on.
Then, the workpiece removal signal IN3 is turned off, and the confirmation signal OU is output.
When T3 is turned off, a workpiece W to be processed next is input.
The component supply device 1 is configured to start an operation.
0 is a component ready signal when the confirmation signal OUT2 is turned on.
Signal IN2 is turned off, and when the confirmation signal OUT2 is turned off,
For preparing the parts P to be supplied to the parts at a predetermined part supply position.
It is configured to start the work. Here, the robot controller 12 of the present embodiment
In the ROM of the ROM / RAM 26, a well-known operation
Operating system (hereinafter referred to as OS) and this O
Input / output basic program such as file access used by S
Is stored. Then, the OS stored in the ROM
Is activated when the power of the device 12 is turned on.
Input a program execution command from the keyboard 34
When the I / O basic program is executed,
Read the robot control system program from 28
Robot control stored in RAM
Start the system program. FIG. 3 shows the robot control system program.
It is explanatory drawing showing the structure of a ram. As shown in FIG.
The bot control system program is a well-known multi-task
The positioning boards 36 and 3 are configured using an OS.
Each positioning board 36, 38,
40 through the XY table 4 and the assembly device 6
Three servo control tasks for driving and controlling the servo units 14 to 22
Control the operation timing of these servo control tasks.
And a synchronization control task input through the I / O port 30.
Work input device 8, component supply device 10, positioning
I that monitors various input signals from the nodes 36, 38, and 40
/ O monitoring task is performed in parallel on this multitask OS
Be executed. Then, control switching between these tasks is performed.
Is a well-known function in multitasking OS.
This is done by the flag. That is, multitask OS
Specifies the task that executed the eventflag wait
Suspend processing until the event flag is turned on
At the same time, the condition for waiting for the event flag is satisfied,
Control is sequentially switched to a task in a standby state that can be executed
Because However, the I / O monitoring task is an event flag
Are started at a predetermined cycle without using the. In the servo control task, the same will be described later.
The process executed by the initial control task is the servo control during suspension.
Command signal B set to restart task processing
0, B1, C1 to C6, D1 to D4, and I / O monitoring status
End from the positioning boards 36, 38, 40
Notification is used as an event flag, and
In the control task, the processing executed in the servo control task
However, every time a series of predetermined processes are completed,
Response signals S1, S2, S3 to be set for notification;
Work input device 8 and components detected by I / O monitoring task
Input signals IN1, IN2, IN3 from the supply device 10 and
Is used as an event flag. Next, the robot control system program
When launched, the first initialization task executed is a synchronous
Control tasks and objects executed by each servo control task
Project program, that is, a synchronous control processing program described later.
Program, assembling head front / back / up / down processing program, assembling head
Rotation control processing program, XY table control processing program
And the coordinate data used in each processing program
Is read from the mass storage device 28 onto the RAM,
After that, by starting each task,
Start the program. Here, these tasks are executed.
Each program is a well-known editing program that runs on a well-known OS.
The source program created by the program
CPU is easy to interpret by compiler running on S
The format is used. This is for each task
When the program executes the program, the instruction interpretation time is shortened.
This is because the control is efficiently performed by reducing the size. The coordinate data is obtained by moving the assembly head up and down.
Movement amount, rotation amount of assembly head, X axis and Y of XY table
As a set of shaft mounting coordinates, set the number of parts
It is specified. Note that the servo control task of this embodiment is
Is synchronized with the drive control means described above, and the synchronous control task is synchronized
The multitask OS corresponds to the control switching means.
You. The function of the event flag by the end notification is the first.
Command signals B0, B1, C1 to C6,
The function of the event flag by D1 to D4 changes to the second state
The transfer means includes an event buffer based on the response signals S1, S2, S3.
The function of the lag corresponds to a third state transition unit. Next, each servo control task and synchronous control task
Explanation of the process executed in the disk along the flowchart
I do. FIG. 4 shows a servo system for controlling the positioning board 40.
The XY table control processing executed by the
FIG. At the start of this process,
The XY table is initialized by the initialization process executed before the process.
Numeral 4 is at the input position. When this processing is started, first, in step 11
At 0, the event flag wait is executed and the command signal B0 is
Suspends processing until turned on. Command signal B0 turns on
When the process is restarted, the position is determined in step 120.
The XY table 4 is moved to the
After outputting the start command to activate, wait for event flag
Until the end notification from the positioning board 40 is detected.
To stop the process. When the end notification is detected, the process is restarted.
And wait for the event flag at step 130.
Until the command signal B1 is turned on. Command
When the signal B1 is turned on and the process is restarted, step 1
At 40, whether or not the processing end command signal B2 is turned on
Judge, and if not turned on, continue processing
Then, the process proceeds to step 150. In step 150, the positioning board 40
XY table 4 is stored in the group specified in the coordinate data.
After outputting the start command to move to the attached coordinates, the event flag
Executes the wait and detects the end notification from the positioning board 40.
Suspend processing until issued. This process is restarted when the end notification is detected.
After turning on the response signal S1 in step 160,
Returning to step 130, the processing end command signal B2 is turned on.
Steps 130 to 160 are repeated until
And execute. On the other hand, in step 140, an end command
When it is determined that the signal B2 is turned on, this processing is terminated.
In step 170, the
The XY table 4 to the loading position
After outputting the start command to activate, wait for event flag
Until the end notification from the positioning board 40 is detected.
To stop the process. When the end notification is detected, the process is restarted.
In step 180, the response signal S1 is turned on to perform this processing.
To end. In other words, by this processing, first,
XY table 4 is assembled when command signal B0 is turned on.
Position and thereafter, every time the command signal B1 is turned on,
Move to the assembly coordinates specified in the marker data. And
When the processing end command signal B2 is turned on, the command signal B1 is turned off.
When it is pressed, it moves to the loading position. In addition,
When the movement is completed and when the movement to the
The signal S1 is turned on. In this processing, steps 120 and 15
The function of the event flag executed at 0, 170 is the first
Corresponding to the state transition means in steps 110 and 130
The function of the event flag to be executed is the second state transition means.
Is equivalent to Next, FIG.
Before and after the assembly head executed by the servo control task
It is a flowchart showing a vertical control process. The main office
At the start of processing, initialization processing executed before this processing
Thus, the assembling head 6a is at the component supply position and the rod L2
It is in the ascended position where it has risen the most. When this processing is started, first, at step 21
At 0, the event flag wait is executed and the command signal C1 is output.
Suspends processing until turned on. Command signal C1 turns on
When the present process is restarted, the process ends at step 220.
End command signal C2 is turned on,
If not, it is assumed that processing is continued
Move to 230. In step 230, an event flag is waited.
And suspend the processing until the command signal C3 is turned on.
You. When the command signal C3 is turned on and the process is restarted,
At step 240, assemble to positioning board 36
The head 6a is lowered by the movement amount specified in the coordinate data.
After outputting the start command to execute,
Processing until an end notification from the positioning board 36 is detected.
Interrupt the process. This process is restarted when the end notification is detected.
In step 250, the positioning board 36
Then, the assembling head 6a is lowered in the previous step 240.
After outputting a start command to raise the
Executes the wait and detects the end notification from the positioning board 36.
Suspend processing until issued. This processing is restarted when the end notification is detected.
In step 260, the response signal S2 is turned on, and
At step 270, an event flag wait is executed and the
The processing is suspended until the command signal C4 is turned on. Command signal
When C4 is turned on and the process is restarted, step 280 is executed.
At this time, the mounting head 6a is attached to the positioning board 36.
After outputting a start command to advance to the parts assembly position,
End from the positioning board 36
Suspend processing until notification is detected. This processing is resumed when the end notification is detected.
In step 290, the response signal S2 is turned on, and
In step 300, wait for the event flag
The processing is suspended until the command signal C5 is turned on. Command signal
When C5 is turned on and the process is restarted, the following step 3
Steps 10 to 330 are exactly the same as steps 240 to 260 above.
After the assembling head 6a is lowered and raised, the response signal
Turn on S2 and proceed to step 340 to set the event flag.
Wait until the command signal C6 is turned on.
Interrupt. The command signal C6 is turned on and the present processing is restarted.
Then, in Step 350, the positioning board 36 is
To move the assembly head 6a back to the component supply position
After outputting the command, set the event flag wait and position.
Suspend processing until end notification from board 36 is detected
I do. This process is restarted when the end notification is detected.
In step 360, the response signal S2 is turned on to
Then, the process end command signal C2 is turned on.
Until the process, steps 210 to 360 are repeated
And execute. On the other hand, in step 220, the process ends.
If it is determined that the command signal C2 is turned on, the step
The process proceeds to step 370, where the response signal S2 is turned on to end this processing.
Complete. That is, by this processing, first, the component supply position
And the assembling head 6a at the raised position outputs the command signal C3
When the is turned on, the component supply device
10 holds the parts P prepared by
When the signal C4 is turned on, it moves to the component assembling position. So
Then, when the command signal C5 is turned on, it descends and rises again.
As a result, the held component P is located at the component mounting position.
Assembled to the work W, and the command signal C6 is turned on.
Moves to the component supply position. In addition, the holding of the component P is completed.
At completion, when the movement to the part assembling position is completed, the assembly of the part P is completed
Time, when the movement to the parts supply position is completed, and when the
When the command signal C1 is turned on after the signal C2 is turned on
The response signal S2 is turned on. In this processing, steps 240 and 25 are executed.
0, 280, 310, 320
The function of the lag corresponds to the first state transition means, and step 2
Executed at 10, 230, 270, 300, 340
The function of the event flag corresponds to a second state transition unit.
You. Next, FIG. 6 shows a case where the positioning board 38 is controlled.
Head rotation performed by a servo control task
It is a flowchart showing a control process. Note that this process
During the operation, the initialization process executed before this process,
The assembling head 6a is the component P prepared in the component supply device 10.
Is in a holding angle position where can be held. When this processing is started, first, at step 41
At 0, the event flag wait is executed and the command signal D1 is output.
Suspends processing until turned on. Command signal D1 turns on
When this process is restarted, the process ends in step 420.
End command signal D2 is turned on,
If not, it is assumed that processing is continued
The process moves to 430. At step 430, an event flag is waited.
And suspend the processing until the command signal D3 is turned on.
You. When the command signal C3 is turned on and the process is restarted,
At step 440, assemble to positioning board 38
The head 6a is rotated by the rotation amount specified in the coordinate data.
After outputting the start command to execute,
The processing is performed until the end notification from the positioning board 38 is detected.
Interrupt the process. When the end notification is detected, the process is restarted.
In step 450, the response signal S3 is turned on, and
At step 460, an event flag wait is executed and the
The processing is suspended until the command signal D4 is turned on. Command signal
When D4 is turned on and the process is restarted, step 470 is executed.
At this time, the mounting head 6a is
Reverse rotation by the amount rotated in the previous step 440
After outputting the start signal, wait for the event flag and execute
The processing is performed until the end notification from the decision board 38 is detected.
Interrupt. When the end notification is detected, this processing is restarted.
After turning on the response signal S3 in step 480,
Returning to step 410, thereafter, the processing end command signal D2
Until it is turned on, the processing of steps 410 to 480
Execute repeatedly. On the other hand, in step 420,
When it is determined that the processing end command signal D2 is turned on,
The flow shifts to step 490, where the response signal S3 is turned on to execute this processing.
End the process. That is, according to this processing, first, the component supply device
To a holding angle position where the component P prepared in the device 10 can be held.
When the command signal D3 is turned on, a certain assembly head 6a
An angle position where the held part P can be assembled to the workpiece W.
And then, when the command signal D4 is turned on,
Turn to return to the holding angle position. Also, turn to the assembly angle position.
When rotation is completed, when reverse rotation to the holding angle position is completed, and when processing is completed
Command signal D1 is turned on after the end command signal D2 is turned on.
The response signal S3 is turned on. In this process, steps 440, 47
The function of the event flag executed at 0 is the first state transition
In steps 410, 430, and 460,
The function of the event flag to be executed is the second state transition means.
Is equivalent to Next, FIG. 7 is executed by the synchronization control task.
6 is a flowchart illustrating a synchronization control process performed. here
Then, in accordance with the flowchart shown in FIG.
Referring to the control flow shown in FIG.
The operation of the entire device 12 will be described. 10 is the same as FIG.
In the control flow of FIG.
From the flow, that is, from the servo control task to the positioning board 3
Control when a movement command is output to 6, 38, 40
This is a control flow representing the flow of control, and is an XY table control process.
Steps 120, 150, 170, before and after the assembly head
Steps 240, 250, 280, and 3 of the vertical control process
10, 320, 350, the status of the assembly head rotation control process
440 and 470. First, power is turned on and initialization processing is performed.
Immediately after the XY table 4 is in the loading position,
The assembling head 6a is at the component supply position, and is at the raised position.
And at the holding angle position. Note that the same
Before the start of the initial control task,
XY table control processing is instructed when the
Waiting for signal B0 to turn on, assembling head front-back, up-down control processing
Waiting for the command signal C1 to turn on, the assembly head rotation control
Waiting for command signal D1 to turn on, processing is interrupted
ing. As shown in FIG. 7, this processing is started.
First, execute the event flag wait in step 510
Processing is suspended until the work input signal IN1 is turned on.
I do. Then, the XY table 4 by the work input device 8
When the input of the workpiece W to the
When the signal IN1 is turned on and the process is restarted, the step
At 520, the confirmation signal OUT1 is turned on, and the subsequent step 5
At 30, the command signal B0 is turned on. That is, the command signal B
When 0 is turned on, the XY table control process performs
To move the cable 4 to the assembly position.
You. In the following step 540, the unprocessed coordinate data
By checking whether or not there is a data
Judge whether to end or not, there is unprocessed coordinate data
If it is determined that the process should not be terminated,
Shift to 550, turn on command signals B1, C1, and D1
Then, in the next step 560, an event flag wait is executed.
And a component preparation completion signal IN2 from the component supply device 10.
Processing is suspended until is turned on. That is, the command signals B1, C1, and D1 are turned on.
Then, in the XY table control processing, the XY table is assembled.
Processing to move to the attached coordinates becomes executable, and the assembly head
With front / back / up / down control processing and assembly head rotation control processing
Is in a state of waiting for the command signals C3 and D3 to turn on.
You. Then, the component P is
When the preparation is completed, the component preparation completion signal IN2 is output.
When this process is turned on and the process is resumed,
The acknowledgment signal OUT2 is turned on.
Command signal C3 is turned on, and at step 590,
After executing the vent flag wait, the response signal S2 is turned on.
Suspend processing until That is, when the command signal C3 is turned on, the assembling is performed.
In the head front / back / up / down control processing, the assembling head 6a is lowered.
Processing to raise and hold the component P on the assembly head 6a
Becomes executable. Then, the parts by the assembly head 6a
When the holding of P is completed, the response signal S2 is turned on.
When this process is restarted, at step 600,
Signals C4 and D3 are turned on, and in the next step 610, the event
Response flag S1, S2, S3
Suspends processing until turned on. That is, the command signals C4 and D3 are turned on.
And the assembling head 6a in the assembling head front / back and up / down control processing.
Can be executed to move the
In the assembly head rotation control process, the assembly head 6a is
To the assembly angle position where the part P can be assembled to the workpiece W
Processing can be performed. Then, to the part assembling position of the assembling head 6a.
Movement and rotation to the assembly angular position are both completed.
As a result, the response signals S1 and S2 are turned on, and the process is restarted.
Then, in step 620, the command signal C5 is turned on.
Then, in the following step 630, the event flag wait is executed.
The process is suspended until the response signal S2 is turned on. That is, when the command signal C5 is turned on,
Assembly head by front-back and up-down control processing
6a is lowered to assemble the part P on the work W
The process becomes executable. Then, the part P on the workpiece W
Is completed, the response signal S2 is turned on.
When this process is restarted, at step 640, a command signal
C6 and D4 are turned on.
Response signal S2 and S3 are turned on.
Suspend processing until That is, the command signals C6 and D4 are turned on.
And the assembling head 6 by the assembling head front / back and up / down control processing
a for retracting a to the component supply position, and assembling head
Return the assembly head 6a to the holding angle position by the rotation control process
For this purpose, a reverse rotation process can be executed. Then, to the component supply position of the assembling head 6a.
Movement and rotation to the holding angle position are both completed.
As a result, the response signals S2 and S3 are turned on and the process is restarted.
Then, in step 660, the process waits for an event flag.
Until the component ready signal IN2 is turned off.
To stop the process. The component preparation completion signal IN2 is
Detecting ON of confirmation signal OUT2 in previous step 570
Normally turned off by the component supply device 10
You. Then, the component ready signal IN2 is turned off.
When the processing is detected and the processing is restarted, it is confirmed in step 670.
The acknowledgment signal OUT2 is turned off, and the process returns to step 540. Less than
Thereafter, as long as unprocessed coordinate data exists, step 54 is executed.
The processes of 0 to 670 are repeatedly executed. On the other hand, in step 540, the unprocessed
There is no coordinate data and it is determined that the process should be terminated
If it has, the process proceeds to step 680, and the processing end command signal is sent.
After turning on the signals B2, C2 and D2, the following step 690
To turn on the command signals B1, C1, and D1, and
In step 700, the system waits for an event flag, and
The process is suspended until the signals S1, S2, and S3 are turned on. That is, when the command signal B1 is turned on,
In the XY table control processing, the XY table 4 is input.
After moving to the position, processing to turn on the response signal S1 can be executed
Also, assembling head front / back / up / down control processing and assembling
In the head rotation control process, the response signals S2, S3
Can be turned on. Then, the XY table control processing and the assembly
Front / back / up / down control and assembly head rotation control
Upon completion, the response signals S1, S2, and S3 are turned on.
When this processing is restarted, the event
Execute the job input signal IN1.
Suspends processing until it is turned off. Note that the work input signal IN1 is
In which the confirmation signal OUT1 is turned on in step 520.
Normally, it is already turned off by the input device 8. Soshi
The workpiece input signal IN1 is detected to be off, and the process is restarted.
When opened, the confirmation signal OUT1 is output at step 720.
Turns off and waits for an event flag in the following step 730
And processing until the workpiece removal signal IN3 is turned on.
Interrupt. That is, the OFF state of the work input signal IN1 is detected.
XY table at the loading position
The operation for removing the workpiece W from the step 4 is started. And X
The removal of the workpiece W from the Y table 4 is completed, and the workpiece is removed.
When the delete signal IN3 is turned on and this process is restarted,
In step 740, the confirmation signal OUT3 is turned on, and
In step 750, wait for the event flag and execute the work removal.
The processing is interrupted until the leaving signal IN3 is turned off. Thereafter, the OFF of the confirmation signal OUT3 is detected.
The workpiece removal signal IN3 by the workpiece input device 8
When the process is restarted and the process is restarted,
The signal OUT3 is turned off, and the process ends. The main office
In steps 590, 610, 630, 650, 7
The function of the event flag executed at 20 is in the third state
It corresponds to a transition means. As described above, the robot of this embodiment is
In the controller 12, this is executed by the servo control task.
Of each process is terminated in a series of processes separated in advance.
Each time, interrupt the processing and restart these interrupted processing
The timing of the change depends on the command signal set by the synchronous control processing.
On the basis of this information. Accordingly, the robot controller 12 of the present embodiment
According to each process executed in the servo control task
It is necessary to determine whether the process is
It is not necessary, and processing executed by other servo control tasks
Since there is no need to be aware of the operating state of the driving unit to be driven,
The processing procedure can be simplified. The result
As a result, processing programs can be created
No matter how the operation timing between moving parts is changed
Unless the operating procedure of the driving unit to be controlled is changed,
There is no need to change the management program at all. Further, the robot controller 12 of this embodiment
According to the synchronous control process executed by the synchronous control task
Is the operation type of each process executed in the servo control task.
Is controlled in a batch.
If you look at the procedure of the control process, you can simplify the control flow of the entire device.
Can be simply grasped and, as a result, improve the maintainability of the equipment.
Can be. Further, the processing executed by the servo control task
In this case, a start command is issued to the positioning boards 36, 38 and 40.
When output, the positioning board 36, 38, 40 exits
Interrupts the process until the information is output, and performs other servo control.
Task or synchronization control task to be executed.
No waiting time for processing
Command is output for the servo control task processing of
The multiple motors M operate simultaneously
Therefore, efficient control can be realized. Further, in this embodiment, the robot control system
When the system is started, the synchronous control task and servo control
The program executed by your task and the coordinate data
The XY table 4 and the set
Program for operating the attachment device 6 and these programs
Program (robot control system)
Stem program) is completely independent
You. Therefore, the movements of the XY table 4 and the assembling device 6 are changed.
If you need to change the program,
It is only necessary to modify the robot, such as the user of the system.
Non-system developers who do not know the contents of the control system
Even, the operation of the device can be easily changed,
The versatility of the device is high.

【図面の簡単な説明】 【図1】 本実施例のロボット制御装置が適用されたロ
ボット設備の全体構成を表すブロック図である。 【図2】 ロボット設備にて用いられるXYテーブル及
び組付装置の概略構成図である。 【図3】 ロボット制御装置のソフトウェア構成を表す
説明図である。 【図4】 XYテーブル制御処理を表すフローチャート
である。 【図5】 組付ヘッド前後・上下制御処理を表すフロー
チャートである。 【図6】 組付ヘッド回転制御処理を表すフローチャー
トである。 【図7】 同期制御処理を表すフローチャートである。 【図8】 通常処理時における制御の流れを表す説明図
である。 【図9】 処理終了時における制御の流れを表す説明図
である。 【図10】 位置決めボードに起動指令を出力した場合
の制御の流れを表す説明図である。 【符号の説明】 2…ロボット設備 4…XYテーブル 6…組
付装置 6a…組付ヘッド 8…ワーク投入装置 10…
部品供給装置 12…ロボット制御装置 14…X軸ドライバ部
16…Y軸ドライバ部 18…前後ドライバ部 20…上下ドライバ部
22…回転ドライバ部 24…CPU 26…ROM/RAM 28…
大容量記憶装置 30…I/Oポート 32…表示装置 34…
キーボード 36,38,40…位置決めボード
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating an overall configuration of a robot facility to which a robot control device according to the present embodiment is applied. FIG. 2 is a schematic configuration diagram of an XY table and an assembling device used in robot equipment. FIG. 3 is an explanatory diagram illustrating a software configuration of the robot control device. FIG. 4 is a flowchart illustrating an XY table control process. FIG. 5 is a flowchart illustrating an assembling head front / rear / up / down control process. FIG. 6 is a flowchart illustrating an assembly head rotation control process. FIG. 7 is a flowchart illustrating a synchronization control process. FIG. 8 is an explanatory diagram illustrating a flow of control during normal processing. FIG. 9 is an explanatory diagram showing a flow of control at the time of ending the processing. FIG. 10 is an explanatory diagram showing a control flow when a start command is output to a positioning board. [Description of Signs] 2 ... Robot equipment 4 ... XY table 6 ... Assembling device 6a ... Assembling head 8 ... Work input device 10 ...
Component supply device 12 ... Robot control device 14 ... X-axis driver
16 Y-axis driver unit 18 Front-back driver unit 20 Vertical driver unit
22: rotation driver unit 24: CPU 26: ROM / RAM 28:
Mass storage device 30 I / O port 32 Display device 34
Keyboard 36, 38, 40 ... positioning board

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/18 - 19/46 B25J 3/00 - 3/04 B25J 9/10 - 9/22 B25J 13/00 - 13/08 B25J 19/02 - 19/06 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G05B 19/18-19/46 B25J 3/00-3/04 B25J 9/10-9/22 B25J 13 / 00-13/08 B25J 19/02-19/06

Claims (1)

(57)【特許請求の範囲】 【請求項1】 独立に動作可能な複数の駆動部を備えた
ロボットを駆動制御するロボット制御装置であって、 上記駆動部に対応して設けられ、外部からの起動指令に
従って上記駆動部の駆動を開始し、該起動指令に応じた
所定動作を終了すると終了通知を出力する複数の駆動手
段と、 上記各駆動手段毎に設けられ、予め決められた手順に従
い上記駆動手段に対して起動指令を順次出力すると共
に、予め区切られた一連の処理を終了する度に応答通知
を出力する駆動制御手段と、 予め決められた手順に従って、動作させるべき上記駆動
制御手段を指定した動作指令を順次出力する同期制御手
段と、 上記駆動制御手段が起動指令を出力すると該駆動制御手
段の処理を中断させると共に、上記駆動手段からの終了
通知を検出すると該駆動制御手段を処理の再開が可能な
待機状態に遷移させる第1の状態遷移手段と、 上記駆動制御手段が応答通知を出力すると該駆動制御手
段の処理を中断させると共に、上記同期制御手段からの
動作指令を検出すると該動作指令にて指定された駆動制
御手段を待機状態に遷移させる第2の状態遷移手段と、 上記同期制御手段が動作指令を出力すると該同期制御手
段の処理を中断させると共に、指定する全ての駆動制御
手段からの応答通知を検出すると上記同期制御手段を待
機状態に遷移させる第3の状態遷移手段と、 上記複数の駆動制御手段及び上記同期制御手段のいずれ
か一つを動作させ、上記第1の状態遷移手段,第2の状
態遷移手段,及び第3の状態遷移手段により、動作中の
駆動制御手段或は同期制御手段が処理を中断すると、待
機状態にある他の駆動制御手段或は同期制御手段に順次
制御を切り換える制御切換手段と、 を備えたことを特徴とするロボット制御装置。
(57) [Claim 1] A robot control device for driving and controlling a robot having a plurality of independently operable drive units, provided corresponding to the drive unit, and provided from outside. A plurality of driving means for starting the driving of the driving unit in accordance with the start command and outputting an end notification when a predetermined operation in accordance with the start command is completed; and A drive control means for sequentially outputting a start command to the drive means and outputting a response notification each time a series of pre-divided processes is completed; and the drive control means to be operated according to a predetermined procedure A synchronous control means for sequentially outputting an operation command designating the following. When the drive control means outputs a start command, the processing of the drive control means is interrupted, and an end notification from the drive means is detected. Then, first state transition means for causing the drive control means to transition to a standby state in which processing can be restarted, and when the drive control means outputs a response notification, the processing of the drive control means is interrupted, and A second state transition means for causing the drive control means designated by the operation command to transition to a standby state upon detecting an operation command from the microcomputer; and interrupting processing of the synchronization control means when the synchronization control means outputs an operation command. And a third state transition means for causing the synchronous control means to transition to a standby state upon detecting a response notification from all designated drive control means; and one of the plurality of drive control means and the synchronous control means. And the driving control means or the synchronization control means in operation interrupts the processing by the first state transition means, the second state transition means, and the third state transition means. When, the robot control apparatus characterized by and a control switching means for switching a sequential control in addition to the drive control means or synchronization control means in the standby state.
JP01119896A 1996-01-25 1996-01-25 Robot controller Expired - Fee Related JP3460426B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01119896A JP3460426B2 (en) 1996-01-25 1996-01-25 Robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01119896A JP3460426B2 (en) 1996-01-25 1996-01-25 Robot controller

Publications (2)

Publication Number Publication Date
JPH09204210A JPH09204210A (en) 1997-08-05
JP3460426B2 true JP3460426B2 (en) 2003-10-27

Family

ID=11771353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01119896A Expired - Fee Related JP3460426B2 (en) 1996-01-25 1996-01-25 Robot controller

Country Status (1)

Country Link
JP (1) JP3460426B2 (en)

Also Published As

Publication number Publication date
JPH09204210A (en) 1997-08-05

Similar Documents

Publication Publication Date Title
JP3832517B2 (en) Robot controller and control method thereof
GB2232514A (en) Programmable controller
JPH07129418A (en) Program control system for multi-task environment
JP2001125797A (en) Multitask system, recording medium with recorded program therefor and working device
JP3460426B2 (en) Robot controller
JPH0667709A (en) Method and device for generating sequence program and sequence controller
CN106808476B (en) Working device and teaching method in working device
JP2002169604A (en) Operation instruction system
JP3591919B2 (en) Automatic machine control device
JP3460747B2 (en) Numerical control unit
JP7303014B2 (en) Control device
JP2954294B2 (en) Control device for automatic assembly equipment
JPH02151909A (en) Control device for industrial machine
JPH10301608A (en) Controller for work machine
JPH056213A (en) Method and device for controlling industrial robot
JPH0433002A (en) Controller
KR900008537B1 (en) The controller and its method of high level language program and off-line program
JPS63239511A (en) Robot system
JPH1195825A (en) Method for executing numerical control program
KR100221491B1 (en) Method for controlling dual robot
JP2559044B2 (en) Programmable controller system
JPH01197807A (en) Machine sequence control system for numerical controller
JP2752411B2 (en) Debug device control method
JPH0969007A (en) Multi-robot reproduction control system
JPH08263127A (en) Numerical controller and its program generating method

Legal Events

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