JP4584877B2 - Robot teaching system and robot teaching method - Google Patents

Robot teaching system and robot teaching method Download PDF

Info

Publication number
JP4584877B2
JP4584877B2 JP2006194292A JP2006194292A JP4584877B2 JP 4584877 B2 JP4584877 B2 JP 4584877B2 JP 2006194292 A JP2006194292 A JP 2006194292A JP 2006194292 A JP2006194292 A JP 2006194292A JP 4584877 B2 JP4584877 B2 JP 4584877B2
Authority
JP
Japan
Prior art keywords
robot
teaching
position coordinates
teaching operation
servo
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
JP2006194292A
Other languages
Japanese (ja)
Other versions
JP2008021239A (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.)
Nidec Sankyo Corp
Original Assignee
Nidec Sankyo 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 Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP2006194292A priority Critical patent/JP4584877B2/en
Publication of JP2008021239A publication Critical patent/JP2008021239A/en
Application granted granted Critical
Publication of JP4584877B2 publication Critical patent/JP4584877B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、ワークの搬送動作をロボットに教示する際に用いられるロボット教示システム、及びこれに使用するコントローラ、教示操作端末、並びにロボット教示方法に関する。   The present invention relates to a robot teaching system for use in teaching a workpiece transfer operation to a robot, and a controller, a teaching operation terminal, and a robot teaching method used therefor.

従来から、半導体ウエハやガラス基板等のワークをカセット間で搬送するロボットがある。このロボットは、搬送のために必要な所定動作が予め教示されており、教示データに従って所望の教示動作を行う。そして、この教示データは、一般的にティーチングペンダントと称される教示操作端末によって入力されるようになっている。   Conventionally, there are robots that transfer workpieces such as semiconductor wafers and glass substrates between cassettes. This robot is previously taught a predetermined operation necessary for conveyance, and performs a desired teaching operation according to teaching data. The teaching data is input by a teaching operation terminal generally called a teaching pendant.

近年になって、ロボットの安全基準が一段と厳しくなり、上述したティーチングペンダントには、ロボットのサーボをオン・オフするイネーブルスイッチを取り付けることが要求されている。このイネーブルスイッチは、ロボットの教示動作を非常停止させるものであって、例えば、押しているときはサーボをオンし、離しているときはサーボをオフするものであったり、また、軽く押しているときはサーボをオンし、離しているとき或いは強く押しているときはサーボをオフするものであったりする。   In recent years, safety standards for robots have become stricter, and it is required to attach an enable switch for turning on / off the servo of the robot to the teaching pendant described above. This enable switch is an emergency stop for teaching the robot. For example, the servo switch is turned on when the robot is pressed, the servo is turned off when it is released, or when it is pressed lightly. The servo is turned on, and when it is released or pressed hard, the servo is turned off.

理想的には、このようなイネーブルスイッチを離してサーボをオフした瞬間、ロボットの可動部分(例えばアームなど)が完全に停止することが好ましい。サーボをオフした後にロボットの可動部分が動いてしまうと、現在位置座標がずれてしまい、非常停止した教示動作を再開するにあたって煩雑な作業が必要になるからである。また、場合によっては、教示動作を一からやり直さなければならないからである。しかし、現実は、サーボをオフしても、例えば重力や惰性などによって、ロボットの可動部分は微小変位(例えば微小距離だけ落下)してしまう。   Ideally, it is preferable that the movable part (for example, an arm or the like) of the robot is completely stopped at the moment when the servo is turned off by releasing the enable switch. This is because if the movable part of the robot moves after the servo is turned off, the current position coordinates are shifted, and complicated work is required to restart the teaching operation that has been stopped in an emergency. In some cases, the teaching operation must be repeated from the beginning. However, in reality, even if the servo is turned off, the movable part of the robot is slightly displaced (for example, dropped by a minute distance) due to, for example, gravity or inertia.

そこで、サーボをオフしたとき、なるべくロボットの可動部分が微小変位するのを防ぐために、例えば特許文献1に開示された技術がある。特許文献1に開示された安全装置は、イネーブルスイッチを離したとき、直ちにサーボをオフするのではなく、ブレーキが十分に機能するのを待ってからサーボをオフするようにしている。これにより、サーボをオフしてからロボットの可動部分が微小変位する変位量を少なくすることができるようになっている。   Therefore, for example, there is a technique disclosed in Patent Document 1 in order to prevent the movable part of the robot from being displaced as little as possible when the servo is turned off. The safety device disclosed in Patent Document 1 does not immediately turn off the servo when the enable switch is released, but waits for the brake to function sufficiently before turning off the servo. As a result, the amount of displacement by which the movable part of the robot is slightly displaced after the servo is turned off can be reduced.

特開平6−206183号公報(段落[0016])JP-A-6-206183 (paragraph [0016])

しかしながら、特許文献1に開示された安全装置であっても、サーボをオフしてからロボットの可動部分が微小変位する変位量をほぼゼロにするのは困難である。すなわち、サーボをオフしたとき、例えばアームが0.1mm落下するなど、数ミリ程度のずれ(パルス数でいうと数パルス〜数十パルス)が生じる可能性は高い。特に、ロボットが大型になればなるほど、このずれを抑えるのは困難になる。また、サーボをオフした後、例えば作業者がロボットに触れるなどして数ミリ程度のずれが生じる場合もある。   However, even with the safety device disclosed in Patent Document 1, it is difficult to make the amount of displacement that the movable part of the robot slightly displaces after the servo is turned off almost zero. That is, when the servo is turned off, there is a high possibility that a deviation of about several millimeters (several pulses to several tens of pulses in terms of the number of pulses) occurs, for example, the arm drops 0.1 mm. In particular, the larger the robot is, the more difficult it is to suppress this shift. Further, after the servo is turned off, a deviation of about several millimeters may occur, for example, when an operator touches the robot.

一方で、ティーチング作業中、イネーブルスイッチを押し続けることによって、このようなずれが生じるのを防ぐことは可能であるが、これでは作業者は全く手を休めることができなくなり、作業者に肉体的苦痛を強いるおそれがある。   On the other hand, it is possible to prevent such a shift from occurring by continuing to press the enable switch during teaching work. However, this makes it impossible for the worker to rest his hands at all. There is a risk of pain.

本発明は、このような点に鑑みてなされたものであり、その目的は、サーボをオフしてからロボットの可動部分が微小変位した場合であっても、教示動作を一からやり直すことなく、非常停止の場合などサーボがオフして停止した教示動作を簡易に再開することが可能なロボット教示システム、及びこれに使用するコントローラ、教示操作端末、並びにロボット教示方法を提供することにある。   The present invention has been made in view of such a point, and the purpose thereof is to perform teaching operation from the beginning even if the movable part of the robot is slightly displaced after the servo is turned off. It is an object of the present invention to provide a robot teaching system capable of easily restarting a teaching operation stopped when a servo is turned off such as in an emergency stop, a controller, a teaching operation terminal, and a robot teaching method used therefor.

以上のような課題を解決するために、本発明は、以下のものを提供する。   In order to solve the above problems, the present invention provides the following.

(1) 教示された位置情報に基づき動作するロボットと、前記ロボットを所定のプログラムに基づいて作動させるコントローラと、前記ロボットに前記位置情報を教示するための教示操作端末と、を有するロボット教示システムにおいて、前記コントローラ又は前記教示操作端末のいずれか一方又は双方に設けられ、ティーチング作業中に前記ロボットの教示動作がサーボをオフすることにより停止した場合に、その直前の位置座標Aを記憶する記憶手段と、前記教示操作端末に設けられ、停止した教示動作を再開する契機を与える復帰手段と、前記教示動作を再開する際に、前記ロボットを、現在位置座標Bから前記位置座標Aへ復帰移動させる制御を行う復帰制御手段と、を備えることを特徴とするロボット教示システム。 (1) A robot teaching system having a robot that operates based on the taught position information, a controller that operates the robot based on a predetermined program, and a teaching operation terminal that teaches the position information to the robot. The memory is provided in one or both of the controller and the teaching operation terminal, and stores the position coordinate A immediately before the teaching operation of the robot is stopped by turning off the servo during teaching work. Means, a return means provided in the teaching operation terminal for giving an opportunity to resume the stopped teaching operation, and when the teaching operation is resumed, the robot is moved back from the current position coordinate B to the position coordinate A. A robot teaching system comprising: return control means for performing control.

本発明によれば、ロボットとコントローラと教示操作端末を有するロボット教示システムにおいて、ロボットの教示動作がサーボをオフすることにより停止した場合に、その直前の位置座標Aを記憶することが可能な記憶手段を、コントローラか教示操作端末の一方又は双方に設け、また、停止した教示動作を再開する契機を与える復帰手段(例えば復帰スイッチ)を教示操作端末に設けた上で、教示動作を再開する際に、ロボットを現在位置座標Bから位置座標Aへ復帰移動させる制御を行う復帰制御手段を備えることとしたので、停止した教示動作を簡易に再開することができる。   According to the present invention, in a robot teaching system having a robot, a controller, and a teaching operation terminal, when the teaching operation of the robot is stopped by turning off the servo, it is possible to store the position coordinate A immediately before that. When the teaching operation is resumed after providing the means on one or both of the controller and the teaching operation terminal, and providing the teaching operation terminal with return means (for example, a return switch) that gives an opportunity to resume the stopped teaching operation. In addition, since the robot is provided with return control means for performing control to return the robot from the current position coordinate B to the position coordinate A, the stopped teaching operation can be easily restarted.

すなわち、サーボをオフしてからロボットの可動部分が微小変位した場合であっても、作業者は、復帰手段を利用するだけで(例えば復帰スイッチを押下するだけで)、ロボットを現在位置座標Bから、教示動作が停止する直前の所望の位置座標Aへと復帰移動させることができる。したがって、教示動作を一からやり直す必要もなく、停止した教示動作を簡易に再開することができる。また、ティーチング作業中、長時間に亘ってイネーブルスイッチを押し続けなければならないこともなく、作業者への肉体的苦痛を抑えることができ、ひいてはティーチング作業の能率化を図ることができる。   In other words, even when the movable part of the robot is slightly displaced after the servo is turned off, the operator can simply use the return means (for example, by simply pressing the return switch) to move the robot to the current position coordinate B. Therefore, it is possible to return to the desired position coordinate A immediately before the teaching operation stops. Therefore, the stopped teaching operation can be easily restarted without having to restart the teaching operation from scratch. Further, during the teaching work, it is not necessary to keep pressing the enable switch for a long time, so that it is possible to suppress physical distress to the worker, and to improve the efficiency of the teaching work.

なお、例えば、ワークを出し入れするカセットがガラス基板のカセットである場合には、回転軸,走行軸の教示データは、アームの走りを合わせる目的で教示するので、カセットの前後,上下で一致している必要がある。また、Z軸の教示データであれば、ロボットとカセットの水平度が正しく設置されている場合、カセット前後の教示データも一致している必要がある。そして、作業者が熟練者であった場合には、これらの数値の関係に敏感であるという事情がある。したがって、従来のロボット教示システムでは、熟練者は、教示データの不一致(例えば教示データの座標値の場合、100.000mmと99.999mmの違い)を避けるために、イネーブルスイッチを押し続けようとする傾向があった。しかし、これだと熟練者は手を休めることができず、結果的に肉体的苦痛を強いることになる。この点、本発明に係るロボット教示システムでは、たとえサーボをオフしてからロボットの可動部分が微小変位した場合であっても、事後的に、その変位量をほぼゼロにすることができるので(ロボットを現在位置座標Bから所望の位置座標Aへと復帰移動させることができるので)、熟練者に肉体的苦痛を強いるのを防ぐことができる。   For example, if the cassette for loading and unloading the workpiece is a glass substrate cassette, the teaching data for the rotation axis and the traveling axis are taught for the purpose of matching the movement of the arm. Need to be. Further, in the case of Z-axis teaching data, the teaching data before and after the cassette needs to match if the robot and the cassette are correctly leveled. And when an operator is an expert, there exists a situation that it is sensitive to the relationship of these numerical values. Therefore, in the conventional robot teaching system, the skilled person tries to keep pressing the enable switch in order to avoid inconsistency of teaching data (for example, in the case of the coordinate value of teaching data, the difference between 100.000 mm and 99.999 mm). There was a trend. However, this does not allow the skilled person to rest, resulting in physical distress. In this respect, in the robot teaching system according to the present invention, even if the movable part of the robot is slightly displaced after the servo is turned off, the displacement amount can be made substantially zero afterwards ( Since the robot can be moved back from the current position coordinate B to the desired position coordinate A), it is possible to prevent the skilled person from being physically painful.

ここで、「教示操作端末」については、一般的なティーチングペンダントであってもよいし、PCやPDAなどの情報処理端末であってもよい。また、記憶手段に記憶される「位置座標A」は、ロボットの教示動作がサーボをオフすることにより停止する直前1個の位置座標であってもよいし、ロボットの教示動作が停止する前の複数個(例えば2個)の位置座標であってもよいし、その個数の如何は問わない。また、ロボットの教示動作が「サーボをオフすることにより停止」するケースとして、イネーブルスイッチ等を作業者が意識的に操作した場合のみならず、非常停止ボタンを押下げた場合や作業者が無意識にイネーブルスイッチを操作した場合などの非常停止も含まれる。   Here, the “teaching operation terminal” may be a general teaching pendant or an information processing terminal such as a PC or a PDA. The “position coordinate A” stored in the storage means may be one position coordinate immediately before the robot teaching operation stops by turning off the servo, or before the robot teaching operation stops. There may be a plurality of (for example, two) position coordinates, and the number of position coordinates does not matter. In addition, when the robot teaching operation “stops when the servo is turned off”, not only when the operator consciously operates the enable switch etc., but also when the emergency stop button is pressed down or the worker is unconscious. This includes emergency stops such as when the enable switch is operated.

(2) 前記教示操作端末は、サーボをオフすることにより前記ロボットの教示動作を停止させるイネーブルスイッチを備えることを特徴とする(1)記載のロボット教示システム。   (2) The robot teaching system according to (1), wherein the teaching operation terminal includes an enable switch that stops the teaching operation of the robot by turning off a servo.

本発明によれば、上述した教示操作端末には、サーボをオフすることによりロボットの教示動作を停止させるイネーブルスイッチが設けられることとしたので、作業者は、何らかのトラブルが生じた場合或いは手を休めたい場合には、このイネーブルスイッチを用いて、所望のタイミングでロボットの教示動作を停止させることができる。そして、上述した記憶手段,復帰手段及び復帰制御手段を利用することで、停止した教示動作を簡易に再開することができる。   According to the present invention, the teaching operation terminal described above is provided with an enable switch that stops the teaching operation of the robot by turning off the servo. When it is desired to take a rest, the teaching operation of the robot can be stopped at a desired timing using this enable switch. Then, the stopped teaching operation can be easily restarted by using the storage means, the return means, and the return control means described above.

(3) 前記イネーブルスイッチまたはこれとは別に設けられた非常停止ボタンによって、前記ロボットの教示動作を非常停止させることを特徴とする(2)記載のロボット教示システム。   (3) The robot teaching system according to (2), wherein the teaching operation of the robot is emergency stopped by the enable switch or an emergency stop button provided separately from the enable switch.

本発明によれば、上述したイネーブルスイッチまたはこれとは別に設けられた非常停止ボタンによって、コントローラのサーボをオフするので、ロボットの教示動作を非常停止させたい場合、これを確実に非常停止させることができる。   According to the present invention, the servo of the controller is turned off by the above-described enable switch or the emergency stop button provided separately from the above-mentioned enable switch. Can do.

(4) 前記教示操作端末は、前記位置座標A及び前記現在位置座標Bを表示する表示手段を備えることを特徴とする(1)から(3)のいずれか記載のロボット教示システム。   (4) The robot teaching system according to any one of (1) to (3), wherein the teaching operation terminal includes display means for displaying the position coordinates A and the current position coordinates B.

本発明によれば、上述した教示操作端末には、位置座標A及び現在位置座標Bを表示する表示手段が設けられることとしたので、作業者は、ロボットの現在位置座標Bのみならず、ロボットの教示動作が非常停止する直前の位置座標Aを視覚的に確認することができる。   According to the present invention, the teaching operation terminal described above is provided with the display means for displaying the position coordinates A and the current position coordinates B, so that the operator can use not only the current position coordinates B of the robot but also the robot. It is possible to visually confirm the position coordinate A immediately before the teaching operation of FIG.

(5) 前記教示操作端末は、前記位置座標A及び前記現在位置座標Bを構成する複数の軸のうち、いずれか1又は2以上の軸を選択する軸選択手段を備え、前記復帰制御手段は、前記軸選択手段により選択された軸について前記ロボットを復帰移動させる制御を行うことを特徴とする(1)から(4)のいずれか記載のロボット教示システム。   (5) The teaching operation terminal includes axis selection means for selecting any one or two or more axes among the plurality of axes constituting the position coordinates A and the current position coordinates B, and the return control means The robot teaching system according to any one of (1) to (4), wherein control is performed to return the robot to the axis selected by the axis selection means.

本発明によれば、上述した教示操作端末には、位置座標A及び現在位置座標Bを構成する複数の軸のうち、いずれか1又は2以上の軸を選択する軸選択手段が設けられ、上述した復帰制御手段によって、軸選択手段により選択された軸についてロボットを復帰移動させる制御が行われることとしたので、例えば全ての軸ではなく一部の軸について位置座標Aと現在位置座標Bがずれている場合、そのずれている軸についてのみロボットを復帰移動させることができ、ひいてはダイレクトティーチを併用した教示作業を迅速かつ効率的に行うことができる。つまり、サーボをオフすることにより停止した状態において、ロボットを直接手で動かしてダイレクトティーチを行った場合に、ダイレクトティーチの対象となった軸以外の軸において微小変位することがある。このような場合であっても、微小変位した軸についてのみロボットを復帰移動させることで、迅速かつ効率的な復帰移動を実現することができる。なお、ダイレクトティーチは、一般的に、ブレーキのない軸又はサーボフリーの軸に対して行うことが可能である。   According to the present invention, the teaching operation terminal described above is provided with axis selection means for selecting any one or more of the plurality of axes constituting the position coordinate A and the current position coordinate B. The return control means controls the return movement of the robot with respect to the axis selected by the axis selection means. For example, the position coordinates A and the current position coordinates B are shifted with respect to some axes instead of all axes. In this case, the robot can be returned and moved only about the offset axis, and as a result, teaching work using direct teaching can be performed quickly and efficiently. That is, when direct teaching is performed by moving the robot directly by hand in a state where the servo is stopped by turning off the servo, there may be a slight displacement on an axis other than the axis that is the target of direct teaching. Even in such a case, it is possible to realize a quick and efficient return movement by moving the robot back about only a slightly displaced axis. Note that direct teaching can generally be performed on a brake-free axis or a servo-free axis.

(6) 前記位置座標Aは、前記コントローラのサーボがオンになっている状態の最終位置の座標であることを特徴とする(1)から(5)のいずれか記載のロボット教示システム。   (6) The robot teaching system according to any one of (1) to (5), wherein the position coordinate A is a coordinate of a final position in a state where the servo of the controller is on.

本発明によれば、上述した位置座標Aは,コントローラのサーボがオンになっている状態の最終位置の座標であることとしたので、記憶手段に記憶されている位置座標Aのうち、サーボをオフした瞬間に最も近い位置座標へとロボットを復帰移動させることができる。   According to the present invention, since the position coordinate A described above is the coordinate of the final position when the servo of the controller is on, the servo among the position coordinates A stored in the storage means is It is possible to move the robot back to the position coordinates closest to the moment of turning off.

コントローラは、教示された位置情報に基づき動作するロボットを、所定のプログラムに基づいて作動させるコントローラであって、前記ロボットの教示動作がサーボをオフすることにより停止した場合に、その直前の位置座標Aを記憶する記憶手段を備えることを特徴とする。 The controller is a controller that operates a robot that operates based on the taught position information based on a predetermined program, and when the teaching operation of the robot is stopped by turning off the servo, the position coordinates immediately before that you further comprising a storage means for storing the a.

本発明によれば、ロボットの教示動作がサーボをオフすることにより停止する直前の位置座標Aを記憶する記憶手段を備えるコントローラを提供することとしたので、ロボットの教示動作が非常停止などサーボをオフすることにより停止した場合、ロボットを停止する直前の位置座標Aへと復帰移動させることができる。   According to the present invention, a controller including storage means for storing the position coordinate A immediately before the robot teaching operation is stopped by turning off the servo is provided. When the robot is stopped by turning it off, the robot can be returned to the position coordinate A immediately before the robot is stopped.

教示操作端末は、教示された位置情報に基づき動作するロボットに、当該位置情報を教示するための教示操作端末であって、前記ロボットの教示動作がサーボをオフすることにより停止した場合に、その直前の位置座標Aを記憶する記憶手段を備えることを特徴とする。 The teaching operation terminal is a teaching operation terminal for teaching the position information to a robot that operates based on the taught position information, and when the teaching operation of the robot is stopped by turning off the servo, you further comprising a storage means for storing position coordinates a immediately before.

本発明によれば、ロボットの教示動作がサーボをオフすることにより停止する直前の位置座標Aを記憶する記憶手段を備える教示操作端末を提供することとしたので、ロボットの教示動作が非常停止などサーボをオフすることにより停止した場合、ロボットを停止する直前の位置座標Aへと復帰移動させることができる。   According to the present invention, there is provided a teaching operation terminal provided with a storage means for storing the position coordinate A immediately before the robot teaching operation is stopped by turning off the servo. When stopped by turning off the servo, the robot can be returned to the position coordinate A immediately before the robot is stopped.

(7) 教示操作端末を用いてサーボ制御される駆動軸を有するロボットに対して動作を教示するロボット教示方法において、前記ロボットの目標位置座標Cを設定する設定工程と、前記目標位置座標Cへ向けて前記ロボットを移動させる移動工程と、前記移動工程の途中、所定の時間間隔で前記ロボットの位置座標を記憶するロボット位置記憶工程と、ティーチング作業中に前記ロボットの教示動作が前記サーボ制御がオフされて停止した場合に、前記ロボット位置記憶工程で記憶した位置座標のうち、前記ロボットの教示動作が停止する直前の位置座標Aを記憶する停止位置記憶工程と、前記サーボ制御がオフされた後の前記ロボットの現在位置座標Bを記憶する現在位置記憶工程と、前記教示動作を再開する際に、前記現在位置座標Bから前記位置座標Aへ復帰移動させる制御を行う復帰制御工程と、を含むことを特徴とするロボット教示方法。 (7) In the robot teaching method of teaching operation to the robot having a drive shaft which is servo-controlled by using the teaching operation terminal, a setting step of setting a target position coordinates C of the robot, to the target location coordinates C A moving step of moving the robot toward the robot, a robot position storing step of storing the position coordinates of the robot at predetermined time intervals during the moving step, and a teaching operation of the robot during the teaching operation. When the robot is turned off and stopped, the stop position storage step for storing the position coordinate A immediately before the robot teaching operation stops out of the position coordinates stored in the robot position storage step, and the servo control is turned off. A current position storage step for storing the current position coordinates B of the robot after the present time, and the current position coordinates B when the teaching operation is resumed. Robot teaching method characterized by including: a recovery control step of performing control to return movement to the position coordinates A.

本発明によれば、ロボット教示方法において、ロボットの目標位置座標Cを設定し、目標位置座標Cへ向けてロボットを移動させる途中で、所定の時間間隔でロボットの位置座標を記憶する工程と、サーボ制御がオフされて停止した場合に記憶された位置座標のうち停止する直前の位置座標Aを(教示操作端末又はロボットコントローラに)記憶する工程と、サーボ制御がオフされた後のロボットの現在位置座標Bを(教示操作端末又はロボットコントローラに)記憶する工程と、教示動作を再開する際に、位置座標Bから位置座標Aへと復帰移動させる制御を行う工程とを含むこととしたので、たとえサーボをオフしてからロボットの可動部分が微小変位した場合であっても、その変位量を事後的にほぼゼロにすることができ、ひいては停止した教示動作を簡易に再開することができる。また、イネーブルスイッチを押し続けなければならない、といった肉体的苦痛から、作業者を解放することができる。   According to the present invention, in the robot teaching method, a step of setting the target position coordinates C of the robot and storing the position coordinates of the robot at predetermined time intervals while moving the robot toward the target position coordinates C; A step of storing (in the teaching operation terminal or the robot controller) the position coordinate A immediately before the stop of the stored position coordinates when the servo control is turned off and stopping, and the current state of the robot after the servo control is turned off Since it includes the step of storing the position coordinate B (in the teaching operation terminal or the robot controller) and the step of performing the control of returning from the position coordinate B to the position coordinate A when the teaching operation is resumed. Even if the moving part of the robot is slightly displaced after the servo is turned off, the amount of displacement can be reduced to almost zero afterwards, and consequently stopped. Was teaching operation can be resumed in a simple manner. In addition, the operator can be freed from physical pains such as having to keep pressing the enable switch.

(8) 前記教示操作端末は、前記位置座標A及び前記現在位置座標Bを表示する表示手段と、前記位置座標A及び前記現在位置座標Bを構成する複数の軸のうち、いずれか1又は2以上の軸を選択する軸選択手段と、を備えるとともに、前記表示手段に、前記位置座標A及び前記現在位置座標Bを構成軸ごとに表示する座標表示工程と、前記位置座標A及び前記現在位置座標Bを構成する複数の軸のうち、いずれか1又は2以上の軸を選択する軸選択工程と、を含み、前記復帰制御工程は、前記軸選択工程により選択された軸について前記ロボットを復帰移動させる制御を行うことを特徴とする(7)記載のロボット教示方法。
(8) The teaching operation terminal may include one or two of a display unit that displays the position coordinates A and the current position coordinates B, and a plurality of axes that constitute the position coordinates A and the current position coordinates B. An axis selection means for selecting the above axes, a coordinate display step for displaying the position coordinates A and the current position coordinates B for each constituent axis on the display means, and the position coordinates A and the current position. An axis selection step of selecting any one or more of the plurality of axes constituting the coordinate B, and the return control step returns the robot with respect to the axis selected in the axis selection step (7) The robot teaching method according to (7), wherein control is performed to move the robot.

本発明によれば、上述したロボット教示方法で、位置座標A及び現在位置座標Bを表示する表示手段に、位置座標A及び現在位置座標Bを構成軸ごとに表示し、全構成軸のうちいずれか1又は2以上の軸を選択し、選択された軸についてロボットを復帰移動させる制御を行うこととしたので、上述した(5)記載の発明と同様に、ダイレクトティーチを併用した教示作業を迅速かつ効率的に行うことができる。   According to the present invention, in the robot teaching method described above, the position coordinate A and the current position coordinate B are displayed for each constituent axis on the display means for displaying the position coordinate A and the current position coordinate B. Since one or two or more axes are selected and the robot is controlled to return and move on the selected axes, the teaching operation using the direct teach is quickly performed in the same manner as the invention described in (5) above. And can be performed efficiently.

以上説明したように、本発明に係るロボット教示システム、及びこれに使用するコントローラ、教示操作端末、並びにロボット教示方法によれば、サーボをオフした際にロボットの可動部分が微小変位した場合であっても、復帰手段を利用するだけで(例えば復帰スイッチを押すだけで)、その変位量を事後的にほぼゼロにすることができるので、教示動作を一からやり直すことなく、停止した教示動作を簡易に再開することができる。   As described above, according to the robot teaching system according to the present invention, the controller used in the robot teaching system, the teaching operation terminal, and the robot teaching method, the moving part of the robot is slightly displaced when the servo is turned off. However, just using the return means (for example, by simply pressing the return switch), the amount of displacement can be reduced to almost zero afterwards, so the stopped teaching operation can be performed without re-starting the teaching operation from scratch. It can be restarted easily.

以下、本発明を実施するための最良の形態について、図面を参照しながら説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

[ロボット教示システムの構成]
図1は、本発明の実施の形態に係るロボット教示システムの構成図である。また、図2は、図1に示すロボット教示システムにおける教示操作端末300の外観構成を示す外観図(側面図)である。
[Robot teaching system configuration]
FIG. 1 is a configuration diagram of a robot teaching system according to an embodiment of the present invention. 2 is an external view (side view) showing an external configuration of the teaching operation terminal 300 in the robot teaching system shown in FIG.

図1に示すように、ロボット教示システムは、ロボット100と、ロボットコントローラ200と、教示操作端末(ティーチングペンダント)300と、から構成される。ロボット100は、教示された位置情報に基づき動作するものであって、ロボットコントローラ200は、ロボット100を所定のプログラムに基づいて作動させるものであって、教示操作端末300は、ロボット100に位置情報を教示するためのものである。教示操作端末300については、図1及び図2に示すように、表面中央にLCDディプレイ(後述する出力部305)が設けられ、LCDディスプレイの右上方に非常停止スイッチ3043が設けられている。また、LCDディスプレイの右下方には、ロボット100の教示動作がサーボをオフすることにより停止した場合に、その教示動作を再開する契機を与える復帰スイッチ3041が設けられている。さらに、教示操作端末300の背面側方には、ロボットコントローラ200のサーボをオン・オフするイネーブルスイッチ3044が設けられ、背面には作業者の把持用の把持部3045が設けられている(図2参照)。イネーブルスイッチ3044は、作業者が把持部3045を把持して操作するときに、同時に押すことができるように、把持部3045と一体または近接して設けられている。   As shown in FIG. 1, the robot teaching system includes a robot 100, a robot controller 200, and a teaching operation terminal (teaching pendant) 300. The robot 100 operates based on the taught position information, the robot controller 200 operates the robot 100 based on a predetermined program, and the teaching operation terminal 300 sends the position information to the robot 100. It is for teaching. As shown in FIGS. 1 and 2, the teaching operation terminal 300 is provided with an LCD display (an output unit 305 to be described later) at the center of the surface, and an emergency stop switch 3043 at the upper right of the LCD display. In addition, a return switch 3041 is provided on the lower right side of the LCD display to give an opportunity to resume the teaching operation when the teaching operation of the robot 100 is stopped by turning off the servo. Further, an enable switch 3044 for turning on / off the servo of the robot controller 200 is provided on the back side of the teaching operation terminal 300, and a grip portion 3045 for gripping an operator is provided on the back surface (FIG. 2). reference). The enable switch 3044 is provided integrally or in proximity to the grip portion 3045 so that the operator can simultaneously press the grip portion 3045 when the operator grips and operates the grip portion 3045.

なお、図1では、ロボット100とロボットコントローラ200、ロボットコントローラ200と教示操作端末300は、シリアルケーブル等の有線によって電気的に接続されているが、本発明はこれに限られず、赤外線通信,近距離ワイヤレス通信(ブルートゥース)等の無線によって電気的に接続されていてもよい。また、LAN,インターネットなどを介して接続されていてもよい。   In FIG. 1, the robot 100 and the robot controller 200, and the robot controller 200 and the teaching operation terminal 300 are electrically connected by wire such as a serial cable. However, the present invention is not limited to this, and infrared communication, It may be electrically connected by radio such as distance wireless communication (Bluetooth). Further, it may be connected via a LAN, the Internet, or the like.

本発明の実施の形態に係るロボット教示システムの概要を説明すると、ロボット100の教示動作がサーボをオフすることにより停止した際に、作業者が復帰スイッチ3041を押すと、教示操作端末300及びロボットコントローラ200によって、ロボット100の可動部分(例えば後述するアーム15A,15B)が、現在の位置座標から、ロボット100の教示動作が停止する直前の位置座標へと復帰移動する、というシステムである。なお、復帰スイッチ3041の上方には、RESUME用LED3042が設けられている(図1参照)。   The outline of the robot teaching system according to the embodiment of the present invention will be described. When the teaching operation of the robot 100 is stopped by turning off the servo, when the operator presses the return switch 3041, the teaching operation terminal 300 and the robot This is a system in which a movable part (for example, arms 15A and 15B described later) of the robot 100 is moved back to a position coordinate immediately before the teaching operation of the robot 100 stops by the controller 200. A RESUME LED 3042 is provided above the return switch 3041 (see FIG. 1).

[ロボット100機械的構成]
図1では、ロボット100として、ダブルアーム型のロボットを採用している。ロボット100は、基台11と、回転ユニット12と、コラム13と、スライダ14(アーム15A,15Bを支持する支持部材)と、アーム15A,15Bと、から構成されている。アーム15Aは、ハンドフォーク部16aとハンド基端部16bを有している(アーム15Bについても同様)。また、アーム15Aは、第1関節部17a,第2関節部17b,第3関節部17cにより回転可能に連結されており、回転駆動源による回転力を伝達し所望の動作をさせることができるようになっている(アーム15Bについても同様)。
[Robot 100 mechanical configuration]
In FIG. 1, a double arm type robot is employed as the robot 100. The robot 100 includes a base 11, a rotation unit 12, a column 13, a slider 14 (a support member that supports the arms 15A and 15B), and arms 15A and 15B. The arm 15A has a hand fork portion 16a and a hand base end portion 16b (the same applies to the arm 15B). Further, the arm 15A is rotatably connected by the first joint portion 17a, the second joint portion 17b, and the third joint portion 17c, so that the rotational force from the rotational drive source can be transmitted to perform a desired operation. (The same applies to the arm 15B).

回転ユニット12は、基台11に回転可能に配置され、回転ユニット12が回転することによってロボット100を旋回させて、その向きを変えることができるようになっている。すなわち、回転ユニット12は、Z軸周りにΘ回転することができるようになっている。また、回転ユニット12は、図示しない水平移動機構により、図中のY軸方向へ移動可能となっている。さらに、スライダ14は、コラム13の側面で上下にスライド移動可能(図中のZ軸方向へ移動可能)となるように構成されている。   The rotation unit 12 is rotatably arranged on the base 11, and the rotation of the rotation unit 12 allows the robot 100 to turn and change its direction. That is, the rotation unit 12 can rotate Θ around the Z axis. The rotating unit 12 can be moved in the Y-axis direction in the figure by a horizontal movement mechanism (not shown). Furthermore, the slider 14 is configured to be slidable up and down on the side surface of the column 13 (movable in the Z-axis direction in the figure).

ロボット100に備えられるアーム15Aは、上述したように3個の関節部(第1関節部17a,第2関節部17b,第3関節部17c)とともに、第1アーム部18と、第1アーム部18と連結される第2アーム部19と、を有している(アーム15Bについても同様)。   As described above, the arm 15A provided in the robot 100 includes the first arm portion 18 and the first arm portion together with the three joint portions (the first joint portion 17a, the second joint portion 17b, and the third joint portion 17c). 18 and a second arm portion 19 connected to the same (also applies to the arm 15B).

第1アーム部18の基端は、スライダ14に駆動軸を介して連結され、回転可能な第1関節部17aを構成する。また、第1アーム部18の先端となる第2アーム部19の基端とが駆動軸を介して連結され、回転可能な第2関節部17bを構成する。さらに、第2アーム部19の先端とハンド基端部16bとが駆動軸を介して連結されて、回転可能な第3関節部17cを構成する。   A base end of the first arm portion 18 is connected to the slider 14 via a drive shaft, and constitutes a rotatable first joint portion 17a. In addition, the base end of the second arm portion 19 that is the tip of the first arm portion 18 is connected via a drive shaft to constitute a rotatable second joint portion 17b. Further, the distal end of the second arm portion 19 and the hand base end portion 16b are connected via a drive shaft to constitute a rotatable third joint portion 17c.

二組のアーム15A,15Bは、図示しない回転駆動源により、第1関節部17aと第2関節部17bと第3関節部17cとを回動させて、ハンドフォーク部16a及びハンド基端部16bを、ワーク10の取り出し・供給方向に移動させる。この際、アーム15Aでは、その機構上、ハンドフォーク部16a及びハンド基端部16bが一方向を向いて、第1アーム部18と第2アーム部19とを伸ばしきった伸張位置と、第1アーム部18と第2アーム部19とを折り畳んだ状態として縮み位置との間を直線移動するように、伸縮動作を行う。すなわち、本実施形態では、図中のX方向で往復移動することになる。そして、伸張位置に位置するカセットに対して基板(ワーク10)を収納し、または縮み位置へワーク10を搬出するように動作する(アーム15Bについても同様)。なお、このような機構は、第1関節部17a,第2関節部17b及び第3関節部17cのそれぞれに、タイミングプーリを設け、タイミングプーリ間をタイミングベルトで連結し、各関節部が所定の回転を行うことができるように構成される(アーム15Bについても同様)。   The two sets of arms 15A and 15B are rotated by the first joint portion 17a, the second joint portion 17b, and the third joint portion 17c by a rotation drive source (not shown), and the hand fork portion 16a and the hand base end portion 16b. Is moved in the direction of taking out and supplying the workpiece 10. At this time, in the arm 15A, due to its mechanism, the hand fork portion 16a and the hand base end portion 16b face one direction, and the first arm portion 18 and the second arm portion 19 are fully extended. The arm portion 18 and the second arm portion 19 are folded, and an expansion / contraction operation is performed so as to linearly move between the contraction positions. That is, in this embodiment, it reciprocates in the X direction in the figure. Then, the substrate (work 10) is stored in the cassette located at the extended position, or the work 10 is carried out to the retracted position (the same applies to the arm 15B). Such a mechanism is provided with a timing pulley in each of the first joint portion 17a, the second joint portion 17b, and the third joint portion 17c, and the timing pulleys are connected to each other by a timing belt. It is comprised so that rotation can be performed (same also about the arm 15B).

また、アーム15A,15Bは、互いに干渉することがないように、上下方向に対面するように各々スライダ14に配置される。すなわち、アーム15A,15Bは、第1関節部17aの回転中心軸が同軸上となるように配置されている。これにより、二組のアーム15A,15Bが互いに接触することのないように配置することが可能となり、ワーク10の供給動作と別のワーク10の取り出し動作とを効率よく行うことができるようになっている。また、図中のX軸,Y軸,Z軸及びΘ軸の各軸方向への移動は、ロボット100においてサーボ制御される
サーボモータ110b〜110b(後述する図3参照)によって、制御されるようになっている。
The arms 15A and 15B are disposed on the slider 14 so as to face each other in the vertical direction so as not to interfere with each other. That is, the arms 15A and 15B are arranged so that the rotation center axis of the first joint portion 17a is coaxial. Thereby, it becomes possible to arrange | position so that two sets of arms 15A and 15B may not contact mutually, The supply operation | movement of the workpiece | work 10 and the taking-out operation | movement of another workpiece | work 10 can be performed efficiently. ing. Further, movements in the respective X-axis, Y-axis, Z-axis, and Θ-axis directions in the figure are controlled by servo motors 110b 1 to 110b n (see FIG. 3 described later) that are servo-controlled in the robot 100. It has become so.

なお、本実施の形態では、ワークとしてガラス基板を搬送するダブルアーム型ロボットを例示したが、本発明はこれに限定されるものではなく、他の形式用途のロボットやその他の産業機器にも適用することができる。   In the present embodiment, a double arm type robot that conveys a glass substrate as an example of work is illustrated, but the present invention is not limited to this, and is applicable to other types of robots and other industrial equipment. can do.

[ロボット教示システムの電気的構成]
図3は、本発明の実施の形態に係るロボット教示システムにおけるロボット100及びロボットコントローラ200の電気的構成を示すブロック図である。
[Electric configuration of robot teaching system]
FIG. 3 is a block diagram showing electrical configurations of the robot 100 and the robot controller 200 in the robot teaching system according to the embodiment of the present invention.

図3において、ロボットコントローラ200は、CPU101と、ROM102と、RAM103と、EEPROM104と、通信I/F105と、外部入出力I/F106と、サーボ制御部110と、を有し、各々がバスによって接続されている。   In FIG. 3, the robot controller 200 includes a CPU 101, a ROM 102, a RAM 103, an EEPROM 104, a communication I / F 105, an external input / output I / F 106, and a servo control unit 110, which are connected by a bus. Has been.

CPU101は、ロボットコントローラ200の制御中枢を司るものであって、ロボットコントローラ200の統合的な制御を行う。ROM102は、ロボットコントローラ200の基本機能を支えるシステムプログラムを格納している。また、RAM103は、CPU101のワーキングエリアとして機能する。すなわち、RAM103では、変数値の書き込み及び読み出しがランダムに行われる。EEPROM104は、電気的に何度でも記憶の消去・書き込みが可能であって、外部から電力を供給しなくても記憶を保持することができる。   The CPU 101 controls the robot controller 200 and performs integrated control of the robot controller 200. The ROM 102 stores a system program that supports the basic functions of the robot controller 200. The RAM 103 functions as a working area for the CPU 101. That is, in the RAM 103, writing and reading of variable values are performed at random. The EEPROM 104 can be electrically erased and written any number of times, and can retain the memory without supplying power from the outside.

通信I/F105には、情報処理端末としての教示操作端末300(その他、パソコン等の情報処理装置)が接続され、ロボット制御のための各種データやプログラムの入出力がなされる。外部入出力I/F106は、図示しないがロボットに設けられたセンサや周辺機器のアクチュエータなどが接続される。サーボ制御部110は、サーボ制御器1〜n(n:ロボットの総軸数にツールの可動軸数を加算した数)を備えており、ロボット制御のための演算処理(軌道作成及び補間、逆変換等)を経て作成された制御指令を受けて、ロボット各軸機構部のアクチュエータを構成するサーボモータ110b〜110bを、各サーボアンプ110a〜110aを介して制御する。 A teaching operation terminal 300 (an information processing apparatus such as a personal computer) as an information processing terminal is connected to the communication I / F 105, and various data and programs for robot control are input / output. Although not shown, the external input / output I / F 106 is connected to a sensor provided in the robot, an actuator of a peripheral device, or the like. The servo controller 110 includes servo controllers 1 to n (n: the total number of axes of the robot plus the number of movable axes of the tool), and arithmetic processing (trajectory creation and interpolation, reverse operation) for robot control. receiving a control command created through conversion, etc.), the servo motor 110b 1 ~110b n constituting the actuator of each axis of the robot mechanical unit, controlled via the servo amplifiers 110a 1 ~110a n.

図4は、本発明の実施の形態に係るロボット教示システムにおける教示操作端末300の電気的構成を示すブロック図である。   FIG. 4 is a block diagram showing an electrical configuration of teaching operation terminal 300 in the robot teaching system according to the embodiment of the present invention.

図4において、教示操作端末300は、CPU301と、ROM302と、RAM303と、入力部304と、出力部305と、通信部306と、を有し、各構成要素がバスによって接続されている。   4, the teaching operation terminal 300 includes a CPU 301, a ROM 302, a RAM 303, an input unit 304, an output unit 305, and a communication unit 306, and each component is connected by a bus.

CPU301は、教示操作端末300の制御中枢を司るものであって、ROM302に記憶されているプログラムに従って種々の制御を行う。RAM303は、CPU301のワーキングエリアとして機能する。入力部304は、各種座標系における直線動作キー,回転動作キー,各軸動作キー,上述した復帰スイッチ3041(図1参照)などから構成される。出力部305は、LCDディスプレイや上述したRESUME用LED3042(図1参照)又はスピーカなどの音声出力装置から構成される。通信部306は、ロボットコントローラ200の通信I/F105(図3)と電気的に接続されている。CPU301は、通信部306及びロボットコントローラ200を介して、ロボット100に対するマニュアルでの操作命令の入力や位置・作動等の情報のモニタリングを行う。   The CPU 301 serves as a control center of the teaching operation terminal 300 and performs various controls according to a program stored in the ROM 302. The RAM 303 functions as a working area for the CPU 301. The input unit 304 includes a linear operation key, a rotation operation key, each axis operation key in the various coordinate systems, the return switch 3041 (see FIG. 1) described above, and the like. The output unit 305 includes an LCD display, the above-described RESUME LED 3042 (see FIG. 1), or a sound output device such as a speaker. The communication unit 306 is electrically connected to the communication I / F 105 (FIG. 3) of the robot controller 200. The CPU 301 performs input of operation commands for the robot 100 and monitoring of information such as position and operation via the communication unit 306 and the robot controller 200.

ここで、本実施形態に係るロボット教示システムでは、ロボットコントローラ200のRAM(メモリ)103は、ロボットの教示動作がサーボをオフすることにより停止した場合に、その直前の位置座標を記憶することが可能となっている。そして、ロボットコントローラ200のCPU101は、このRAM(メモリ)103に対して位置座標を書き込み・読み出しを行うことが可能である。なお、次の[情報処理の流れ]においては、メモリを2個(メモリ1とメモリ2)用いて説明するが、本発明はこれに限られず、メモリを1個又は3個以上用いてもよい。また、1個のRAM103における記憶領域を複数に分割して、複数のメモリとして用いてもよい。   Here, in the robot teaching system according to the present embodiment, the RAM (memory) 103 of the robot controller 200 can store the previous position coordinates when the teaching operation of the robot is stopped by turning off the servo. It is possible. The CPU 101 of the robot controller 200 can write / read position coordinates to / from the RAM (memory) 103. In the following [Information processing flow], description will be given using two memories (memory 1 and memory 2). However, the present invention is not limited to this, and one or three or more memories may be used. . Further, the storage area in one RAM 103 may be divided into a plurality of pieces and used as a plurality of memories.

[情報処理の流れ]
図5は、本発明の実施の形態に係るロボット教示方法における情報処理の流れを示すフローチャートである。特に、図5は、ロボットコントローラ200における情報処理の流れに着目している。また、図5は、ロボットの目標位置座標を設定し、その目標位置座標へ向けてロボット100を移動させる移動工程の途中における情報処理の流れに着目している。
[Information processing flow]
FIG. 5 is a flowchart showing a flow of information processing in the robot teaching method according to the embodiment of the present invention. In particular, FIG. 5 focuses on the flow of information processing in the robot controller 200. Further, FIG. 5 focuses on the information processing flow in the middle of the moving process of setting the target position coordinates of the robot and moving the robot 100 toward the target position coordinates.

図5において、まず、ロボットコントローラ200(のCPU101)は、ロボット100(例えばアーム15A,15B)の現在の位置座標を読み込む(ステップS1)。なお、このとき位置座標ではなくパルス数を読み出して、ロボットコントローラ200において座標変換するようにしてもよい。   In FIG. 5, first, the robot controller 200 (the CPU 101 thereof) reads the current position coordinates of the robot 100 (for example, the arms 15A and 15B) (step S1). At this time, not the position coordinates but the number of pulses may be read and the robot controller 200 may perform coordinate conversion.

そして、ロボットコントローラ200は、サーボがオン状態であるか否かを判断し(ステップS2)、サーボがオン状態である場合(ステップS2:YES)には、読み出した位置座標をメモリ1に記憶する(ステップS3)。一方で、サーボがオン状態でない場合(ステップS2:NO)には、メモリ1に記憶している座標をメモリ2に代入する(ステップS4)。なお、本実施形態では、教示操作端末300に設けられたイネーブルスイッチ3044(図2参照)を離すことによって、サーボをオン状態からオフ状態にすることができ、また、逆にイネーブルスイッチ3044(図2参照)を押すことによって、サーボをオフ状態からオン状態にすることができる。以下、ステップS1〜ステップS4の作業が周期的に実行されることになるが、図5に示す情報処理の流れを、図6を用いて視覚的・概念的に説明する。   Then, the robot controller 200 determines whether or not the servo is on (step S2). If the servo is on (step S2: YES), the read position coordinates are stored in the memory 1. (Step S3). On the other hand, if the servo is not on (step S2: NO), the coordinates stored in the memory 1 are substituted into the memory 2 (step S4). In this embodiment, the servo can be switched from the on state to the off state by releasing the enable switch 3044 (see FIG. 2) provided in the teaching operation terminal 300, and conversely, the enable switch 3044 (see FIG. 2). 2), the servo can be switched from the off state to the on state. Hereinafter, the operations of Step S1 to Step S4 are periodically executed. The flow of information processing shown in FIG. 5 will be described visually and conceptually with reference to FIG.

図6は、図5に示すフローチャートを視覚的・概念的に理解するための説明図である。   FIG. 6 is an explanatory diagram for visually and conceptually understanding the flowchart shown in FIG.

図6に示すように、ロボットコントローラ200(のCPU101)は、一定の周期(時間間隔)で、ロボット100の現在の位置座標を読み込んでいる(図6(a))。そして、サーボがオン状態である場合(図6(a)のタイミング"1"〜"5"における図6(b))には、読み出した位置座標は、メモリ1に記憶(上書き保存)されている(図6(c))。   As shown in FIG. 6, the robot controller 200 (the CPU 101 thereof) reads the current position coordinates of the robot 100 at a constant cycle (time interval) (FIG. 6A). When the servo is on (FIG. 6B at timings “1” to “5” in FIG. 6A), the read position coordinates are stored in the memory 1 (overwritten and saved). (FIG. 6C).

そして、図6(a)のタイミング"6"では、サーボがオフ状態となっていることからロボットの教示動作が非常停止などで停止したことが分かる。このとき、メモリ1には、ロボットの教示動作が停止する直前の位置座標(図6(a)のタイミング"5"における位置座標)が記憶されており、メモリ2には、この位置座標が記憶されることになる。すなわち、図6(d)に示すように、ロボット100の教示動作が停止してサーボ制御がオフされた場合には、教示動作が停止する直前の位置座標(図6(a)のタイミング"5"における位置座標)がロボットコントローラ200(のメモリ2)に記憶されることになる。   At timing “6” in FIG. 6A, it can be seen that the teaching operation of the robot has stopped due to an emergency stop or the like because the servo is in an OFF state. At this time, the memory 1 stores the position coordinates (position coordinates at the timing “5” in FIG. 6A) immediately before the robot teaching operation stops, and the memory 2 stores the position coordinates. Will be. That is, as shown in FIG. 6D, when the teaching operation of the robot 100 is stopped and the servo control is turned off, the position coordinates immediately before the teaching operation stops (timing “5” in FIG. 6A). "Position coordinates at") is stored in the robot controller 200 (memory 2 thereof).

なお、メモリ2に記憶された位置座標は、サーボをオフすることにより停止した教示動作を再開する際に用いられる(図6(e))。具体的には、サーボがオフ状態からオン状態に遷移するとき(図6(a)のタイミング"9"のとき)に、メモリ2に記憶された位置座標が教示操作端末300に読み込まれ、教示操作端末300に読み込まれた位置座標は、サーボが再びオフ状態に遷移するまでの間(図6(a)のタイミング"9"〜"11")有効となる。   The position coordinates stored in the memory 2 are used when the teaching operation stopped by turning off the servo is resumed (FIG. 6E). Specifically, when the servo transitions from the off state to the on state (at timing “9” in FIG. 6A), the position coordinates stored in the memory 2 are read into the teaching operation terminal 300 and taught. The position coordinates read into the operation terminal 300 are valid until the servo again shifts to the off state (timing “9” to “11” in FIG. 6A).

図7は、本発明の実施の形態に係るロボット教示方法における情報処理の流れを示すフローチャートである。特に、図7は、教示操作端末300における情報処理(ペンダント処理)の流れに着目している。   FIG. 7 is a flowchart showing a flow of information processing in the robot teaching method according to the embodiment of the present invention. In particular, FIG. 7 focuses on the flow of information processing (pendant processing) in the teaching operation terminal 300.

図7において、まず、最初にサーボをオンした際には、初回フラグが立つ(ステップS11)。より具体的には、最初にサーボがオンされたとき、教示操作端末300のCPU301は、RAM303の記憶領域に初回フラグを立てる。   In FIG. 7, when the servo is first turned on, an initial flag is set (step S11). More specifically, when the servo is first turned on, the CPU 301 of the teaching operation terminal 300 sets an initial flag in the storage area of the RAM 303.

次に、教示操作端末300のCPU301は、サーボがオフ状態からオン状態に遷移したか否かを判断し(ステップS12)、遷移したと判定した場合(ステップS12:YES)には、RAM303にアクセスして初回フラグが立っているか否かを判断し(ステップS13)、初回フラグが立っていないと判定した場合(ステップS13:NO)には、後述するRESUME処理(図8参照)を実行する(ステップS14)。その一方、初回フラグが立っていると判定した場合(ステップS13:YES)には、後述するRESUME処理を実行することなく、初回フラグをオフし(ステップS15)、その他の操作が行われる(ステップS16)。なお、サーボがオフ状態からオン状態に遷移していないと判定した場合(ステップS12:NO)も、後述するRESUME処理を実行することなく、その他の操作が行われる(ステップS16)。また、ステップS12〜ステップS16の処理は、図7に示すように繰り返し行われる。   Next, the CPU 301 of the teaching operation terminal 300 determines whether or not the servo has transitioned from the off state to the on state (step S12). If it is determined that the servo has transitioned (step S12: YES), the CPU 303 accesses the RAM 303. Then, it is determined whether or not the initial flag is set (step S13). If it is determined that the initial flag is not set (step S13: NO), a RESUME process (see FIG. 8) described later is executed (see FIG. 8) (see FIG. 8). Step S14). On the other hand, if it is determined that the initial flag is set (step S13: YES), the initial flag is turned off (step S15) without performing the RESUME process described later (step S15), and other operations are performed (step S13). S16). Even when it is determined that the servo has not transitioned from the off state to the on state (step S12: NO), other operations are performed without executing the RESUME process described later (step S16). Moreover, the process of step S12-step S16 is repeatedly performed as shown in FIG.

このように、最初にサーボがオフ状態からオン状態に遷移した場合には、特にRESUME処理は実行されないが、2回目以降にサーボがオフ状態からオン状態に遷移した場合には、RESUME処理が実行され、ロボット100を現在位置座標から、教示動作がサーボをオフすることにより停止する直前の所望の位置座標へと復帰移動させることができる。   In this way, when the servo first transitions from the off state to the on state, the RESUME process is not particularly executed. However, when the servo transitions from the off state to the on state for the second and subsequent times, the RESUME process is performed. Then, the robot 100 can be returned from the current position coordinates to the desired position coordinates immediately before the teaching operation is stopped by turning off the servo.

図8は、図7に示すフローチャートにおける「RESUME処理」のサブルーチンを説明するためのフローチャートである。   FIG. 8 is a flowchart for explaining a “RESUME processing” subroutine in the flowchart shown in FIG. 7.

図8において、サーボがオフ状態(ロボット100が停止している状態)からオン状態へと遷移し(図7のステップS12:YES)、初回フラグがオンとなっていないとき(図7のステップS13:NO)、教示操作端末300のCPU301は、通信部306を介してロボットコントローラ200にアクセスし、ロボット100の現在位置座標と、メモリ2に記憶されている上述した位置座標とを読み込む(ステップS21)。なお、読み込んだ位置座標は、一旦RAM303に記憶される。   In FIG. 8, when the servo transitions from the off state (robot 100 is stopped) to the on state (step S12 in FIG. 7: YES) and the initial flag is not on (step S13 in FIG. 7). : NO), the CPU 301 of the teaching operation terminal 300 accesses the robot controller 200 via the communication unit 306, and reads the current position coordinates of the robot 100 and the above-described position coordinates stored in the memory 2 (step S21). ). Note that the read position coordinates are temporarily stored in the RAM 303.

次に、CPU301は、ステップS21の処理でRAM303に記憶された2個の位置座標が一致するか否かを判断する(ステップS22)。これが一致すると判定した場合(ステップS22:YES)には、本サブルーチンは終了する。一方で、これが一致しないと判定した場合(ステップS22:NO)には、RESUME用LED3042(図1参照)を点滅させ(ステップS23)、作業者に、復帰制御を行うことを促す。その後、作業者によって何らかのスイッチが押されるまで待機する(ステップS24:NO、ステップS25:NO)。   Next, the CPU 301 determines whether or not the two position coordinates stored in the RAM 303 in the process of step S21 match (step S22). If it is determined that they match (step S22: YES), this subroutine ends. On the other hand, if it is determined that they do not match (step S22: NO), the RESUME LED 3042 (see FIG. 1) blinks (step S23), and the operator is prompted to perform return control. Then, it waits until a certain switch is pushed by the operator (step S24: NO, step S25: NO).

仮に、作業者が、復帰スイッチ(EXEC Key)3041は押さずに(ステップS24:NO)、その他のスイッチ(Other Key)を押した場合(ステップS25:YES)には、RESUME機能は破棄されたとみなし(ステップS26)、CPU301は、RESUME用LED3042(図1参照)を消灯する(ステップS34)。   If the operator does not press the return switch (EXEC Key) 3041 (step S24: NO) and presses another switch (Other Key) (step S25: YES), the RESUME function is discarded. Assuming (step S26), the CPU 301 turns off the RESUME LED 3042 (see FIG. 1) (step S34).

一方で、作業者が、復帰スイッチ3041を押した場合(ステップS24:YES)には、CPU301は、出力部305に対して画像表示制御信号を送信し、ステップS21によってRAM303に記憶されている位置座標をLCDディスプレイに表示する(ステップS27)。   On the other hand, when the operator presses the return switch 3041 (step S24: YES), the CPU 301 transmits an image display control signal to the output unit 305, and the position stored in the RAM 303 by step S21. The coordinates are displayed on the LCD display (step S27).

次に、CPU301は、教示操作端末300上のどのキーが押されたかを判断し(ステップS28)、リセット(RESET)キーが押された場合には、RESUME機能の破棄と判定し(ステップS26)、RESUME用LED3042(図1参照)を消灯する(ステップS34)。また、所定のキーが操作された場合(例えば、↑↓キー(arrow Key)で軸を選択し、←→キー(arrow Key)で動作の可否を選択する)には(ステップS29)、後述する復帰移動の際、選択された軸についてのみロボット100が復帰移動されることになる。   Next, the CPU 301 determines which key on the teaching operation terminal 300 is pressed (step S28), and when the reset (RESET) key is pressed, determines that the RESUME function is to be discarded (step S26). , RESUME LED 3042 (see FIG. 1) is turned off (step S34). Further, when a predetermined key is operated (for example, an axis is selected by using the ↑ ↓ key (arrow key) and whether or not the operation can be performed by using the ← → key (arrow key)) (step S29), which will be described later. In the return movement, the robot 100 is returned and moved only about the selected axis.

次に、もう1度復帰スイッチ(EXEC Key)3041が押されると、CPU301は、ステップS29でチェックされた軸とチェックされていない軸とを区別して(ステップS30)、チェックされた軸については、目標値へメモリ2の値を代入するようなコマンド信号をロボットコントローラ200に送信し(ステップS31)、チェックされていない軸については、目標値へ現在座標位置の値を代入するようなコマンド信号をロボットコントローラ200に送信する(ステップS32)。   Next, when the return switch (EXEC Key) 3041 is pressed again, the CPU 301 distinguishes between the axis checked in step S29 and the axis not checked (step S30). A command signal for substituting the value of the memory 2 into the target value is transmitted to the robot controller 200 (step S31). For an unchecked axis, a command signal for substituting the value of the current coordinate position into the target value. It transmits to the robot controller 200 (step S32).

このようなコマンド信号を受信したロボットコントローラ200(のCPU101)は、ロボット100を、各軸について設定された目標値の座標へと復帰移動させる(ステップS33)。したがって、本実施形態において、コマンド信号を送信する教示操作端末300(のCPU301)や、そのコマンド信号に基づいてロボット100を作動させるロボットコントローラ200は、「復帰制御手段」の一例として機能する。なお、ステップS33の処理が終了した後、CPU301がRESUME用LED3042(図1参照)を消灯し(ステップS34)、本サブルーチンは終了する。   Receiving such a command signal, the robot controller 200 (the CPU 101 thereof) moves the robot 100 back to the target value coordinates set for each axis (step S33). Accordingly, in the present embodiment, the teaching operation terminal 300 (CPU 301 thereof) that transmits a command signal and the robot controller 200 that operates the robot 100 based on the command signal function as an example of “return control means”. After the process of step S33 is completed, the CPU 301 turns off the RESUME LED 3042 (see FIG. 1) (step S34), and this subroutine is completed.

図9は、教示操作端末300の出力部305(LCDディスプレイ)の画面の表示内容の一例を示す図である。   FIG. 9 is a diagram illustrating an example of display contents on the screen of the output unit 305 (LCD display) of the teaching operation terminal 300.

まず、図9(a)は、RESUME機能を利用する際に、教示操作端末300の復帰スイッチ(EXEC Key)3041を押すことによって、教示操作端末300の画面上に、ロボット100の現在位置座標B(Current Pos.)と、ロボット100の教示動作がサーボをオフすることにより停止する直前の位置座標A(Resume Pos.)とが構成軸ごとに表示される様子を示している(図8のステップS24→ステップS27)。なお、図9(a)では、ロボット100を復帰移動させる対象となる軸の横にチェックボックス(点線枠X)が表示されており、復帰移動させる対象となる軸についてのみチェックされている。具体的には、図9(a)では、軸Y1と、軸Z1と、軸X2についてのみチェックされている。このように、チェックボックス(点線枠X)を利用して、復帰移動させる対象となる軸を選択可能とすることで、ダイレクトティーチを併用した教示作業を、迅速かつ効率的に行うことができる。この詳細については、図10を用いて後述する。   First, FIG. 9A shows that the current position coordinate B of the robot 100 is displayed on the screen of the teaching operation terminal 300 by pressing the return switch (EXEC Key) 3041 of the teaching operation terminal 300 when using the RESUME function. (Current Pos.) And position coordinates A (Resume Pos.) Immediately before the robot 100 teaching operation stops when the servo is turned off are displayed for each constituent axis (step in FIG. 8). S24 → step S27). In FIG. 9A, a check box (dotted line frame X) is displayed next to the axis to which the robot 100 is to be returned and only the axis to be returned is checked. Specifically, in FIG. 9A, only the axis Y1, the axis Z1, and the axis X2 are checked. As described above, by using the check box (dotted line frame X) to select the axis to be returned, the teaching work using the direct teaching can be performed quickly and efficiently. Details of this will be described later with reference to FIG.

次に、図9(b)は、軸を選択した後、教示操作端末300の復帰スイッチ(EXEC Key)3041を押したときの様子を示している。画面右上に、"Moving..."の文字が表示されている。そして、例えば途中で復帰スイッチ3041を離した場合には、画面右上に、"Aborted."の文字が表示され、復帰処理が中断される(図9(c)参照)。一方で、復帰スイッチ3041を押し続けて、ロボット100の位置座標Bが、ロボット100の教示動作がサーボをオフすることにより停止する直前の位置座標Aと一致した場合には、画面右上に、"Arrived."の文字が表示され、復帰処理が完了する(図9(d)参照)。   Next, FIG. 9B shows a state when the return switch (EXEC Key) 3041 of the teaching operation terminal 300 is pressed after selecting an axis. In the upper right corner of the screen, "Moving ..." is displayed. For example, when the return switch 3041 is released halfway, the characters “Aborted.” Are displayed on the upper right of the screen, and the return process is interrupted (see FIG. 9C). On the other hand, when the return switch 3041 is continuously pressed and the position coordinate B of the robot 100 matches the position coordinate A immediately before the robot 100 teaching operation stops when the servo is turned off, "Arrived." Is displayed, and the restoration process is completed (see FIG. 9D).

このようにして、作業者は、教示操作端末300の画面を視認しつつ、復帰移動させる対象となる軸を自由に選択し、選択された軸についてのみ、ロボットを復帰移動させることができる。なお、図9においては、ロボット100の位置座標B(Current Pos.)は変化していない場合も考えられるが、これは、実際にロボット100が復帰移動する移動量が極めて少ないからである。   In this way, the operator can freely select an axis to be returned and moved while visually recognizing the screen of the teaching operation terminal 300, and can return the robot only for the selected axis. In FIG. 9, there may be a case where the position coordinate B (Current Pos.) Of the robot 100 does not change. This is because the amount of movement that the robot 100 actually returns is very small.

図10は、本実施形態に係るロボット教示システムにおいて、ダイレクトティーチを併用した教示作業を説明するための説明図である。特に、図10は、カセットにガラス基板(ワーク10)を搬送する(取り置きする)ときの様子を示している。また、図10中のPos1は、カセット内にガラス基板を取り置きするポジション(位置座標)を示し、図10中のPos2は、カセットからガラス基板を引き出したポジション(位置座標)を示している。   FIG. 10 is an explanatory diagram for explaining teaching work using direct teaching in the robot teaching system according to the present embodiment. In particular, FIG. 10 shows a state when the glass substrate (work 10) is transferred (reserved) to the cassette. Further, Pos1 in FIG. 10 indicates a position (positional coordinates) for placing the glass substrate in the cassette, and Pos2 in FIG. 10 indicates a position (positional coordinates) in which the glass substrate is pulled out from the cassette.

図10において、まず、教示作業では、R軸(図1でいうX軸に相当する)を前後させた場合にガラス基板とカセットとが平行になるように、Θ軸と走行軸(図1でいうY軸に相当する)を教示する(走り合わせをする)。そして、走りが合えば、あとはR軸の位置を教示すればよい。   In FIG. 10, first, in the teaching work, when the R axis (corresponding to the X axis in FIG. 1) is moved back and forth, the Θ axis and the traveling axis (in FIG. 1) so that the glass substrate and the cassette are parallel to each other. (Corresponding to the Y axis) is taught (running together). And if it runs well, you only have to teach the position of the R axis.

このような手順によりPos1を教示した後、Pos2を教示する場合、サーボをオンしたまま、JOG操作(教示操作端末300を用いてマニュアルで命令の入力や位置・作動等の情報のモニタリングをしつつ行なう操作)でR軸方向にアーム(例えば図1に示すアーム15A,15B)を戻すよりも、サーボをオフして、R軸方向にアームを直接手で戻す、すなわちダイレクトティーチした方が、操作が簡単な場合がある。そこで、Pos1→Pos2へとダイレクトティーチする場合を考える。   When teaching Pos1 after teaching Pos1 in this way, JOG operation (using the teaching operation terminal 300 and manually monitoring information such as command input and position / operation while teaching Pos2) Rather than returning the arm in the R-axis direction (for example, the arms 15A and 15B shown in FIG. 1) in the operation to be performed), turning off the servo and returning the arm directly in the R-axis direction by hand, that is, direct teaching May be simple. Therefore, consider the case of direct teaching from Pos1 to Pos2.

ところが、Pos1→Pos2へとダイレクトティーチした場合には、本来動いて欲しくない軸方向に変位することがある。   However, in the case of direct teaching from Pos1 to Pos2, there is a case where it is displaced in the axial direction which is not desired to move originally.

具体例を挙げて説明すると、Pos1の座標は、例えば(R軸,Θ軸,走行軸)=(201,89,100)で、教示済みとする。サーボをオフした後、R軸方向にアームを手で動かし、ダイレクトティーチした場合、理想的には、Pos2の座標(R軸,Θ軸,走行軸)=(100,89,100)に戻せることが好ましい。しかし、実際は、本来動いて欲しくないΘ軸や走行軸の軸方向に変位して、ロボットのアームの位置は、たとえばPos21の座標(R軸,Θ軸,走行軸)=(100,90.5,99.5)に変位する場合がある。   For example, the coordinates of Pos1 are (R axis, Θ axis, travel axis) = (201, 89, 100) and are taught. After the servo is turned off, if the arm is moved by hand in the R-axis direction and direct teaching is performed, ideally, the coordinates of Pos2 (R-axis, Θ-axis, travel axis) = (100, 89, 100) Is preferred. However, in actuality, the robot arm is displaced in the axial direction of the Θ axis and the traveling axis that are not desired to move. , 99.5).

そこで、このような場合には、R軸はチェックせず、Θ軸と走行軸だけチェックすることによって(復帰移動させる対象となる軸を、Θ軸と走行軸だけにすることによって)、サーボをオンしたとき、図8及び図9を用いて説明したとおりRESUME処理が実行され、ロボット100を、本来目標としていたPos2の座標(R軸,Θ軸,走行軸)=(100,89,100)へと復帰移動させることができる。   Therefore, in such a case, the R axis is not checked, but only the Θ axis and the traveling axis are checked (by making only the Θ axis and the traveling axis as the axes to be returned), the servo is When turned on, the RESUME process is executed as described with reference to FIGS. 8 and 9, and the coordinates of Pos 2 (R axis, Θ axis, travel axis) originally intended for the robot 100 = (100, 89, 100) It can be moved back to.

[実施形態の効果]
以上説明したように、本実施形態に係るロボット教示システム、及びこれに使用するコントローラ、教示操作端末、並びにロボット教示方法によれば、たとえサーボをオフしてからロボット100(の可動部分)が微小変位した場合であっても、作業者は、教示操作端末300における復帰スイッチ3041を利用するだけで、ロボット100を現在位置座標B(Current Pos.)から、教示動作がサーボをオフすることにより停止する直前の所望の位置座標A(Resume Pos.)へと簡単に復帰移動させることができるので、教示動作を一からやり直すことなく、停止した教示動作を簡易に再開することができ、ひいてはティーチング作業を能率化することができる。また、教示動作がサーボをオフすることにより停止する直前の所望の位置座標A(Resume Pos.)が教示操作端末300の画面に表示されることで、ロボット100の復帰移動する移動量(或いは、現在位置と復帰位置が各軸でどれだけずれているか)を視覚的に確認することができる。
[Effect of the embodiment]
As described above, according to the robot teaching system, the controller used in the robot teaching system, the teaching operation terminal, and the robot teaching method according to the present embodiment, the robot 100 (movable part thereof) is minute after the servo is turned off. Even in the case of displacement, the operator simply uses the return switch 3041 in the teaching operation terminal 300 to stop the robot 100 from the current position coordinate B (Current Pos.) By turning off the servo. Since it can be easily returned to the desired position coordinate A (Resume Pos.) Just before starting, the stopped teaching operation can be easily resumed without re-starting the teaching operation from the beginning. Can be streamlined. Further, the desired position coordinate A (Resume Pos.) Immediately before the teaching operation is stopped by turning off the servo is displayed on the screen of the teaching operation terminal 300, so that the movement amount (or It is possible to visually check how much the current position and return position are deviated on each axis.

更には、教示操作端末300には、ロボット100を復帰移動させる対象となる軸を選択できる所定のキーが配置されているので、作業者は、そのキーを操作することによって、選択された軸についてのみロボット100を復帰移動させることができ、ひいてはダイレクトティーチを併用した教示作業を迅速かつ効率的に行うことができる(図10参照)。なお、デフォルトで全軸復帰が選択されるようにしてもよい。   Furthermore, since the teaching operation terminal 300 is provided with a predetermined key capable of selecting an axis to which the robot 100 is to be returned and moved, the operator operates the key to select the selected axis. Only the robot 100 can be moved back, and as a result, teaching work using direct teaching can be performed quickly and efficiently (see FIG. 10). Note that all-axis return may be selected by default.

[変形例]
上述した実施形態では、教示動作がサーボをオフすることにより停止する直前の所望の位置座標A(Resume Pos.)を、教示操作端末300のRAM303にも記憶することとしたが、本発明はこれに限られず、ロボットコントローラ200のメモリ(RAM103)のみに記憶することとしてもよい。
[Modification]
In the embodiment described above, the desired position coordinate A (Resume Pos.) Immediately before the teaching operation is stopped by turning off the servo is also stored in the RAM 303 of the teaching operation terminal 300. However, the data may be stored only in the memory (RAM 103) of the robot controller 200.

また、上述した実施形態では、ロボットコントローラ200のメモリ(RAM103)に、ロボットの教示動作がサーボをオフすることにより停止する直前1個の位置座標を記憶することとしたが(図6では、タイミング"5"の位置座標がメモリ2に記憶されている)、本発明はこれに限られず、例えばメモリ3個を用いて、ロボットの教示動作が停止する前2個の位置座標を記憶することとしてもよい。詳細については、図11及び図12を用いて説明する。   Further, in the above-described embodiment, one position coordinate immediately before the robot teaching operation stops by turning off the servo is stored in the memory (RAM 103) of the robot controller 200 (in FIG. The position coordinate of “5” is stored in the memory 2), and the present invention is not limited to this. For example, using three memories, the two position coordinates before the robot teaching operation stops are stored. Also good. Details will be described with reference to FIGS. 11 and 12.

図11は、本発明の他の実施の形態に係るロボット教示方法における情報処理の流れを示すフローチャートである。特に、図11は、ロボットコントローラ200における情報処理の流れに着目している。また、図11は、ロボットの目標位置座標を設定し、その目標位置座標へ向けてロボット100を移動させる移動工程の途中における情報処理の流れに着目している。   FIG. 11 is a flowchart showing a flow of information processing in a robot teaching method according to another embodiment of the present invention. In particular, FIG. 11 focuses on the flow of information processing in the robot controller 200. Further, FIG. 11 focuses on the flow of information processing in the middle of the moving process of setting the target position coordinates of the robot and moving the robot 100 toward the target position coordinates.

図11において、ロボットコントローラ200(のCPU101)は、まずは図5と同様に、ロボット100の現在の位置座標を読み込み(ステップS41)、サーボがオン状態であるか否かを判断し(ステップS42)、オン状態であれば読み出した位置座標をメモリ1に記憶する(ステップS43)。   In FIG. 11, the robot controller 200 (CPU 101) first reads the current position coordinates of the robot 100 (step S41) as in FIG. 5, and determines whether the servo is on (step S42). If it is on, the read position coordinates are stored in the memory 1 (step S43).

一方で、サーボがオン状態でない場合(ステップS42:NO)には、ロボットコントローラ200は、メモリ1に記憶されている位置座標と、メモリ2に記憶されている位置座標とが異なるか否かを判断する(ステップS44)。異なっている場合(ステップS44:YES)には、メモリ2に記憶されている位置座標をメモリ3に代入した後、メモリ1に記憶されている位置座標をメモリ2に代入する(ステップS45,ステップS46)。逆に、異なっていない場合(ステップS44:NO)には、メモリ2に記憶されている位置座標をメモリ3に代入することなく、メモリ1に記憶されている位置座標をメモリ2に代入する(ステップS46)。なお、ステップS41〜ステップS46の作業は周期的に実行される。   On the other hand, if the servo is not on (step S42: NO), the robot controller 200 determines whether or not the position coordinates stored in the memory 1 are different from the position coordinates stored in the memory 2. Judgment is made (step S44). If they are different (step S44: YES), the position coordinates stored in the memory 2 are substituted into the memory 3, and then the position coordinates stored in the memory 1 are substituted into the memory 2 (step S45, step S45). S46). Conversely, if they are not different (step S44: NO), the position coordinates stored in the memory 1 are substituted into the memory 2 without substituting the position coordinates stored in the memory 2 into the memory 3 ( Step S46). In addition, the operation | work of step S41-step S46 is performed periodically.

図11に示す情報処理の流れを、図12を用いて視覚的・概念的に説明する。   The flow of information processing shown in FIG. 11 will be described visually and conceptually with reference to FIG.

図12は、図11に示すフローチャートを視覚的・概念的に理解するための説明図である。   FIG. 12 is an explanatory diagram for visually and conceptually understanding the flowchart shown in FIG.

図12に示すように、ロボットコントローラ200(のCPU101)は、一定の周期(時間間隔)で、ロボット100の現在の位置座標を読み込んでいる(図12(a))。そして、サーボがオン状態である場合(図12(a)のタイミング"1"〜"5","9"〜"11","15"〜"18","21"〜"23"における図12(b))には、読み出した位置座標は、メモリ1に記憶(上書き保存)されている(図12(c))。   As shown in FIG. 12, the robot controller 200 (the CPU 101) reads the current position coordinates of the robot 100 at a constant cycle (time interval) (FIG. 12 (a)). Then, when the servo is in an ON state (in the timings “1” to “5”, “9” to “11”, “15” to “18”, “21” to “23” in FIG. 12A). 12 (b)), the read position coordinates are stored (overwritten and saved) in the memory 1 (FIG. 12 (c)).

ここで、たとえば、図12(a)のタイミング"12"では、サーボはオフ状態となってロボットの教示動作が停止している。このとき、サーボがオフする直前のメモリ1及びメモリ2には、それぞれタイミング"11"における位置座標及びタイミング"5"における位置座標が記憶されている。したがって、両者は異なることから(図11においてステップS44:YES)、メモリ2に記憶されているタイミング"5"における位置座標がメモリ3に代入された後(図12(e),図11においてステップS45)、メモリ1に記憶されているタイミング"11"における位置座標がメモリ2に代入されることになる(図12(d),図11においてステップS46)。   Here, for example, at timing “12” in FIG. 12A, the servo is turned off and the teaching operation of the robot is stopped. At this time, the position coordinates at the timing “11” and the position coordinates at the timing “5” are stored in the memory 1 and the memory 2 immediately before the servo is turned off. Therefore, since they are different (step S44: YES in FIG. 11), after the position coordinates at the timing “5” stored in the memory 2 are substituted into the memory 3 (FIG. 12 (e), step in FIG. 11). S45), the position coordinates at the timing "11" stored in the memory 1 are substituted into the memory 2 (FIG. 12 (d), step S46 in FIG. 11).

次に、図12(a)のタイミング"13"では、サーボは未だオフ状態であり、ロボットの教示動作は停止している。このとき、タイミング"13"直前の(タイミング"12"における)メモリ1及びメモリ2には、それぞれタイミング"11"における位置座標及びタイミング"11"における位置座標が記憶されている。したがって、両者は一致することから(図11においてステップS44:NO)、メモリ1に記憶されているタイミング"11"における位置座標がメモリ2に代入される一方(図12(d),図11においてステップS46)、メモリ3に記憶されているタイミング"5"における位置座標はそのままである。   Next, at timing “13” in FIG. 12A, the servo is still in an off state, and the teaching operation of the robot is stopped. At this time, in the memory 1 and the memory 2 immediately before the timing “13” (at the timing “12”), the position coordinates at the timing “11” and the position coordinates at the timing “11” are stored, respectively. Therefore, since both coincide (step S44: NO in FIG. 11), the position coordinate at the timing “11” stored in the memory 1 is substituted into the memory 2 (in FIG. 12D and FIG. 11). In step S46), the position coordinate stored at the timing "5" stored in the memory 3 remains unchanged.

そうすると、例えば図12(a)のタイミング"15"において、サーボがオンし、ロボット100を復帰移動させる際には、作業者は、教示操作端末300により最適な位置座標(メモリ2に記憶されているタイミング"11"における位置座標か、或いは、メモリ3に記憶されているタイミング"5"における位置座標)を選択して、ロボット100を復帰移動させることができる。   Then, for example, at the timing “15” in FIG. 12A, when the servo is turned on and the robot 100 is returned and moved, the operator uses the teaching operation terminal 300 to store the optimum position coordinates (stored in the memory 2). The position coordinates at the timing “11” or the position coordinates at the timing “5” stored in the memory 3) are selected, and the robot 100 can be moved back.

以上説明したように、サーボをオフする直前の位置座標が1回分しか用意されていないと、イネーブルスイッチ3044(図2参照)を2回以上連続してオン・オフした場合、本来必要となる1回目の値が表示されない場合が発生する。従って、上述したように2回分の位置座標(図12でいえば、メモリ2に記憶されているタイミング"11"における位置座標か、或いは、メモリ3に記憶されているタイミング"5"における位置座標)を用意しておき、教示操作端末300の画面上に表示するようにする。これにより、作業者は、自分が必要とする位置座標を選択して、RESUME動作を指令することができる。なお、図12では、過去2回分の位置座標しか考えていないが、例えば過去10回分の位置座標を記憶しておくなど、その数の如何は問わない。   As described above, if the position coordinates immediately before turning off the servo are prepared for only one time, when the enable switch 3044 (see FIG. 2) is continuously turned on and off twice or more, it is originally required 1 The value of the first time may not be displayed. Therefore, as described above, the position coordinates for two times (in FIG. 12, the position coordinates at the timing “11” stored in the memory 2 or the position coordinates at the timing “5” stored in the memory 3). ) Are prepared and displayed on the screen of the teaching operation terminal 300. Thereby, the worker can select a position coordinate that he / she needs and can instruct a RESUME operation. In FIG. 12, only the position coordinates for the past two times are considered, but the number of position coordinates is not limited, for example, the position coordinates for the past ten times are stored.

以上説明したように、本発明は、サーボをオフした後にロボットの可動部分が微小変位した場合であっても、その微小変位を簡易に修正して、サーボをオフすることにより停止した教示動作を再開し得るものとして有用である。   As described above, the present invention can provide a teaching operation that is stopped by turning off the servo by simply correcting the minute displacement even when the movable part of the robot is slightly displaced after the servo is turned off. It is useful as something that can be resumed.

本発明の実施の形態に係るロボット教示システムの構成図である。It is a block diagram of the robot teaching system which concerns on embodiment of this invention. 図1に示すロボット教示システムにおける教示操作端末の外観構成を示す外観図である。It is an external view which shows the external appearance structure of the teaching operation terminal in the robot teaching system shown in FIG. 本発明の実施の形態に係るロボット教示システムにおけるロボット及びロボットコントローラの電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of the robot and robot controller in the robot teaching system which concerns on embodiment of this invention. 本発明の実施の形態に係るロボット教示システムにおける教示操作端末の電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of the teaching operation terminal in the robot teaching system which concerns on embodiment of this invention. 本発明の実施の形態に係るロボット教示方法における情報処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the information processing in the robot teaching method which concerns on embodiment of this invention. 図5に示すフローチャートを概念的に理解するための説明図である。FIG. 6 is an explanatory diagram for conceptually understanding the flowchart shown in FIG. 5. 本発明の実施の形態に係るロボット教示方法における情報処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the information processing in the robot teaching method which concerns on embodiment of this invention. 図7に示すフローチャートにおける「RESUME処理」のサブルーチンを説明するためのフローチャートである。It is a flowchart for demonstrating the subroutine of "RESUME process" in the flowchart shown in FIG. 教示操作端末の出力部(LCDディスプレイ)の画面の表示内容の一例を示す図である。It is a figure which shows an example of the display content of the screen of the output part (LCD display) of a teaching operation terminal. 本実施形態に係るロボット教示システムにおいて、ダイレクトティーチを併用した作業を説明するための説明図である。It is explanatory drawing for demonstrating the operation | work which used the direct teaching together in the robot teaching system which concerns on this embodiment. 本発明の他の実施の形態に係るロボット教示方法における情報処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the information processing in the robot teaching method which concerns on other embodiment of this invention. 図11に示すフローチャートを視覚的・概念的に理解するための説明図である。FIG. 12 is an explanatory diagram for visually and conceptually understanding the flowchart shown in FIG. 11.

符号の説明Explanation of symbols

100 ロボット
200 ロボットコントローラ
300 教示操作端末
100 Robot 200 Robot Controller 300 Teaching Operation Terminal

Claims (8)

教示された位置情報に基づき動作するロボットと、
前記ロボットを所定のプログラムに基づいて作動させるコントローラと、
前記ロボットに前記位置情報を教示するための教示操作端末と、を有するロボット教示システムにおいて、
前記コントローラ又は前記教示操作端末のいずれか一方又は双方に設けられ、ティーチング作業中に前記ロボットの教示動作がサーボをオフすることにより停止した場合に、その直前の位置座標Aを記憶する記憶手段と、
前記教示操作端末に設けられ、停止した教示動作を再開する契機を与える復帰手段と、
前記教示動作を再開する際に、前記ロボットを、現在位置座標Bから前記位置座標Aへ復帰移動させる制御を行う復帰制御手段と、を備えることを特徴とするロボット教示システム。
A robot that operates based on the taught position information;
A controller for operating the robot based on a predetermined program;
In a robot teaching system having a teaching operation terminal for teaching the position information to the robot,
A storage unit that is provided in one or both of the controller and the teaching operation terminal, and stores the position coordinate A immediately before the teaching operation of the robot is stopped by turning off the servo during teaching work ; ,
A return means provided in the teaching operation terminal for giving an opportunity to resume the stopped teaching operation;
A robot teaching system comprising: return control means for performing control for returning the robot from the current position coordinate B to the position coordinate A when the teaching operation is resumed.
前記教示操作端末は、サーボをオフすることにより前記ロボットの教示動作を停止させるイネーブルスイッチを備えることを特徴とする請求項1記載のロボット教示システム。   The robot teaching system according to claim 1, wherein the teaching operation terminal includes an enable switch that stops the teaching operation of the robot by turning off a servo. 前記イネーブルスイッチは、又はこれとは別に設けられた非常停止ボタンによって、前記ロボットの教示動作を非常停止させることを特徴とする請求項2記載のロボット教示システム。   3. The robot teaching system according to claim 2, wherein the enable switch causes the robot to perform an emergency stop by an emergency stop button provided separately from the enable switch. 前記教示操作端末は、前記位置座標A及び前記現在位置座標Bを表示する表示手段を備えることを特徴とする請求項1から3のいずれか記載のロボット教示システム。   The robot teaching system according to any one of claims 1 to 3, wherein the teaching operation terminal includes display means for displaying the position coordinates A and the current position coordinates B. 前記教示操作端末は、前記位置座標A及び前記現在位置座標Bを構成する複数の軸のうち、いずれか1又は2以上の軸を選択する軸選択手段を備え、
前記復帰制御手段は、前記軸選択手段により選択された軸について前記ロボットを復帰移動させる制御を行うことを特徴とする請求項1から4のいずれか記載のロボット教示システム。
The teaching operation terminal includes an axis selection means for selecting any one or two or more axes among a plurality of axes constituting the position coordinates A and the current position coordinates B,
5. The robot teaching system according to claim 1, wherein the return control means performs control to return and move the robot about the axis selected by the axis selection means.
前記位置座標Aは、前記コントローラのサーボがオンになっている状態の最終位置の座標であることを特徴とする請求項1から5のいずれか記載のロボット教示システム。   The robot teaching system according to claim 1, wherein the position coordinate A is a coordinate of a final position in a state where the servo of the controller is on. 教示操作端末を用いてサーボ制御される駆動軸を有するロボットに対して動作を教示するロボット教示方法において、
前記ロボットの目標位置座標Cを設定する設定工程と、
前記目標位置座標Cへ向けて前記ロボットを移動させる移動工程と、
前記移動工程の途中、所定の時間間隔で前記ロボットの位置座標を記憶するロボット位置記憶工程と、
ティーチング作業中に前記ロボットの教示動作が、前記サーボ制御がオフされて停止した場合に、前記ロボット位置記憶工程で記憶した位置座標のうち、前記ロボットの教示動作が停止する直前の位置座標Aを記憶する停止位置記憶工程と、
前記サーボ制御がオフされた後の前記ロボットの現在位置座標Bを記憶する現在位置記憶工程と、
前記教示動作を再開する際に、前記現在位置座標Bから前記位置座標Aへ復帰移動させる制御を行う復帰制御工程と、を含むことを特徴とするロボット教示方法。
In a robot teaching method for teaching an operation to a robot having a drive axis that is servo-controlled using a teaching operation terminal,
A setting step for setting the target position coordinates C of the robot;
A moving step of moving the robot toward the target position coordinates C;
In the course of the movement step, a robot position storage step for storing the position coordinates of the robot at predetermined time intervals;
When the teaching operation of the robot stops during the teaching operation, the position coordinate A immediately before the stopping of the teaching operation of the robot among the position coordinates stored in the robot position storing step is obtained. A stop position storing step for storing;
Storing a current position coordinate B of the robot after the servo control is turned off;
A robot teaching method comprising: a return control step of performing a control of returning the current coordinate from the current position B to the position A when the teaching operation is resumed.
前記教示操作端末は、前記位置座標A及び前記現在位置座標Bを表示する表示手段と、
前記位置座標A及び前記現在位置座標Bを構成する複数の軸のうち、いずれか1又は2以上の軸を選択する軸選択手段と、を備えるとともに、
前記表示手段に、前記位置座標A及び前記現在位置座標Bを構成軸ごとに表示する座標表示工程と、
前記位置座標A及び前記現在位置座標Bを構成する複数の軸のうち、いずれか1又は2以上の軸を選択する軸選択工程と、を含み、
前記復帰制御工程は、前記軸選択工程により選択された軸について前記ロボットを復帰移動させる制御を行うことを特徴とする請求項記載のロボット教示方法。
The teaching operation terminal includes display means for displaying the position coordinates A and the current position coordinates B;
Axis selection means for selecting any one or two or more of the plurality of axes constituting the position coordinates A and the current position coordinates B, and
A coordinate display step of displaying the position coordinates A and the current position coordinates B for each constituent axis on the display means;
An axis selection step of selecting any one or two or more axes among the plurality of axes constituting the position coordinates A and the current position coordinates B;
The robot teaching method according to claim 7 , wherein the return control step performs a control to return the robot with respect to the axis selected in the axis selection step.
JP2006194292A 2006-07-14 2006-07-14 Robot teaching system and robot teaching method Expired - Fee Related JP4584877B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006194292A JP4584877B2 (en) 2006-07-14 2006-07-14 Robot teaching system and robot teaching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006194292A JP4584877B2 (en) 2006-07-14 2006-07-14 Robot teaching system and robot teaching method

Publications (2)

Publication Number Publication Date
JP2008021239A JP2008021239A (en) 2008-01-31
JP4584877B2 true JP4584877B2 (en) 2010-11-24

Family

ID=39077109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006194292A Expired - Fee Related JP4584877B2 (en) 2006-07-14 2006-07-14 Robot teaching system and robot teaching method

Country Status (1)

Country Link
JP (1) JP4584877B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5363860B2 (en) * 2009-03-31 2013-12-11 株式会社タダノ Control device for work equipment
JP5928921B2 (en) 2012-04-02 2016-06-01 株式会社安川電機 Robot system and robot controller
WO2013150599A1 (en) 2012-04-02 2013-10-10 株式会社安川電機 Robot system and work facility
JP6240422B2 (en) * 2013-07-16 2017-11-29 川崎重工業株式会社 Robot control system and robot control method
JP7154748B2 (en) * 2017-11-09 2022-10-18 キヤノン株式会社 ROBOT SYSTEM, PRODUCT MANUFACTURING METHOD, CONTROL METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005288581A (en) * 2004-03-31 2005-10-20 Fanuc Ltd Portable teaching operation panel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2633696B2 (en) * 1989-09-20 1997-07-23 本田技研工業株式会社 Robot control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005288581A (en) * 2004-03-31 2005-10-20 Fanuc Ltd Portable teaching operation panel

Also Published As

Publication number Publication date
JP2008021239A (en) 2008-01-31

Similar Documents

Publication Publication Date Title
JP4584877B2 (en) Robot teaching system and robot teaching method
US20210154826A1 (en) Robot system and method for operating same
JP2004265041A (en) Robot teaching device
EP1644782A2 (en) Multiple robot arm tracking and mirror jog
JP2010058202A (en) Robot teaching replaying device and teaching replaying method
JP2014176940A (en) Robot system, method for controlling robot and method for manufacturing workpiece
JP7339806B2 (en) Control system, robot system and control method
JP6904759B2 (en) Robot movement speed control device and method
CN114905487B (en) Teaching device, teaching method, and recording medium
JP2009028871A (en) Robot control device
US20190022859A1 (en) Robot apparatus, control method for the robot apparatus, assembly method using the robot apparatus, and recording medium
JP5011507B2 (en) Robot teaching system and robot teaching method
US10315305B2 (en) Robot control apparatus which displays operation program including state of additional axis
CN114055460B (en) Teaching method and robot system
WO2019026790A1 (en) Robot system and method for operating same
JP2013111684A (en) Robot arm control device and control method, robot, robot arm control program, and integrated electronic circuit for controlling robot arm
JPH03196981A (en) Additive shaft follow-up control system for robot
US10977958B2 (en) Guidance display method
JP2005246547A (en) Robot control system
JP7395990B2 (en) Teaching device, control method and teaching program
JP5961077B2 (en) Robot control apparatus and robot control method
JP4682907B2 (en) Motor control device
WO2022210412A1 (en) Robot system comprising robot equipped with display unit
CN111113373B (en) Control device, robot system, and control method
JP2005342891A (en) Hand held operation machine and robot control system for industrial robot

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100521

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100527

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100720

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100817

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100902

R150 Certificate of patent or registration of utility model

Ref document number: 4584877

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees