JP2760125B2 - Robot controller - Google Patents

Robot controller

Info

Publication number
JP2760125B2
JP2760125B2 JP2045580A JP4558090A JP2760125B2 JP 2760125 B2 JP2760125 B2 JP 2760125B2 JP 2045580 A JP2045580 A JP 2045580A JP 4558090 A JP4558090 A JP 4558090A JP 2760125 B2 JP2760125 B2 JP 2760125B2
Authority
JP
Japan
Prior art keywords
robot
control unit
axis
switch
moving
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 - Lifetime
Application number
JP2045580A
Other languages
Japanese (ja)
Other versions
JPH03250305A (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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2045580A priority Critical patent/JP2760125B2/en
Publication of JPH03250305A publication Critical patent/JPH03250305A/en
Application granted granted Critical
Publication of JP2760125B2 publication Critical patent/JP2760125B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、例えば、ロボットを教示する際にロボット
が障害物と干渉したためロボットを非常停止させた場合
において、被害を最小限に抑えつつ迅速かつ容易にロボ
ットを手動操作により退避させることかできるロボット
の制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention provides a quick and minimal damage to a robot when the robot is stopped due to interference with an obstacle when teaching the robot. The present invention also relates to a robot control device that can easily retreat a robot by manual operation.

(従来の技術) 近年の自動化技術の進歩に伴って各種生産工場では多
種多様なロボットが使用されている。
(Prior Art) With the progress of automation technology in recent years, various types of robots are used in various production plants.

一般的なロボットの場合、あらかじめ所要の作業動作
をロボットに教え込ませるための教示(ティーチング)
と呼ばれる作業が必要である。従来の教示作業は、例え
ば、第4図に示すようにして行われている。
In the case of a general robot, teaching (teaching) to teach the required work operation to the robot in advance
An operation called is required. Conventional teaching work is performed, for example, as shown in FIG.

同図に示すロボット1は、いわゆる多関節型ロボット
であって、6つのロボット軸(以下単に「軸」とい
う。)を持ち、主軸2、アーム3、ハンド4といった各
種可動部を各軸に対応する図示しない6つの駆動モータ
によって駆動する6軸ロボットである。このロボット1
の動作は、それら駆動モータに対してフィードバック制
御を行う制御装置5によって制御される。この制御装置
5には、オペレータがロボット1の動作に関する情報を
入力するためのティーチペンダント(以下単に「ペンダ
ント」という。)6が接続されている。
The robot 1 shown in the figure is a so-called articulated robot, which has six robot axes (hereinafter simply referred to as "axes"), and various movable parts such as a spindle 2, an arm 3, and a hand 4 correspond to each axis. 6-axis robot driven by six drive motors (not shown). This robot 1
Are controlled by the control device 5 that performs feedback control on the drive motors. The controller 5 is connected to a teach pendant (hereinafter simply referred to as a “pendant”) 6 for an operator to input information relating to the operation of the robot 1.

このペンダント6には、各駆動モータを個別に動かす
ためのスイッチや、このスイッチによってロボット1
(各可動部)を位置決めした時の各軸の位置を記憶させ
るためのスイッチなどが設けられている。また、このペ
ンダント6は、上記のようにオペレータが個別に駆動モ
ータを動かすことができるJOGモードと、このモードで
記憶させた動作どおりにロボット1を自動運転させるプ
レイバックモード(以下単に「PBモード」という。)と
を切り換えるモード切換えスイッチを備えている。オペ
レータは、JOGモードで教示したロボット1の動作をPB
モードによって確認することができる。つまり、オペレ
ータは、これらのスイッチを操作することによって、教
示作業を行い、ロボット1に所望の作業を行わせること
ができる。
The pendant 6 includes a switch for individually moving each drive motor, and the switch 1
A switch or the like is provided for storing the position of each axis when the (each movable part) is positioned. The pendant 6 has a JOG mode in which the operator can individually drive the drive motor as described above, and a playback mode (hereinafter simply referred to as a “PB mode”) for automatically operating the robot 1 in accordance with the operation stored in this mode. ) Is provided. The operator performs the PB operation of the robot 1 taught in the JOG mode.
You can check by mode. That is, by operating these switches, the operator can perform a teaching operation and cause the robot 1 to perform a desired operation.

ところが、このような教示作業にあっては、その作業
中にJOGモードでオペレータがペンダント6の操作をミ
スするとロボット1が他の生産設備などの障害物と接触
したり、あるいは、動作を記憶させる際にロボット1の
移動経路内の障害物を考慮しなかったため、PBモードで
ロボット1を自動運転させたときにロボット1を障害物
と接触させてしまうことがある。従来、このような場合
には、まずロボット1を非常停止させ、その後、JOGモ
ードでオペレータがロボット1の動きを観察しながら、
干渉した位置、つまり非常停止した位置からロボット1
を退避させるようにしている。
However, in such a teaching operation, if the operator mistakes the operation of the pendant 6 in the JOG mode during the operation, the robot 1 makes contact with an obstacle such as another production facility or stores the operation. When the robot 1 is automatically operated in the PB mode, the robot 1 may come into contact with the obstacle, because the obstacle in the movement path of the robot 1 is not considered. Conventionally, in such a case, the robot 1 is first stopped in an emergency, and then the operator observes the movement of the robot 1 in the JOG mode,
Robot 1 from the position where it interfered, that is, the position where emergency stop
Is being evacuated.

このため、従来のロボット1には、ロボット1(各可
動部)の移動方向(または動作方向。以下同様)を一目
で判断できるように、各駆動モータの回転方向に対応し
た各軸の移動方向を示すマーカ7が取り付けられてい
る。このマーカ7によって、オペレータは、ロボット1
の非常停止状態に応じてロボット1を退避させる移動方
向を判断し、手動操作によりロボットの退避作業を行う
ようにしている。
For this reason, in the conventional robot 1, the moving direction of each axis corresponding to the rotation direction of each drive motor can be determined at a glance so that the moving direction (or operating direction; the same applies hereinafter) of the robot 1 (each movable part) can be determined at a glance. Is attached. With this marker 7, the operator can control the robot 1
The evacuation direction of the robot 1 is determined according to the emergency stop state, and the robot is evacuated by manual operation.

(発明が解決しようとする課題) しかしながら、このようにマーカ7を頼りにロボット
1を手動で退避させる場合には、オペレータがペンダン
ト6の操作をミスすると、これによって再度ロボット1
が障害物と接触し、被害を拡大してしまうことがある。
(Problems to be Solved by the Invention) However, in the case where the robot 1 is manually evacuated by relying on the marker 7 as described above, if the operator mistakes the operation of the pendant 6, the robot 1 is thereby re-established.
May come into contact with obstacles and spread the damage.

また、特に、第4図に示すような多軸のロボット1に
あっては、ロボット1の動作が多数の軸の動きを合成し
て形成されるため複雑であり、ロボット1を退避させる
ための動作も複雑になりがちであるため、オペレータが
手動操作によってロボットを退避させるまでに時間がか
かり、能率が悪かった。
Particularly, in the case of the multi-axis robot 1 as shown in FIG. 4, the operation of the robot 1 is complicated because it is formed by synthesizing the movements of many axes. Since the operation tends to be complicated, it takes time for the operator to retreat the robot by manual operation, which is inefficient.

本発明は、このような従来の問題点を解決するために
なされたものであり、ロボットが障害物などと接触した
ためロボットを非常停止させた場合などにおいて、被害
を最小限に抑えつつ迅速かつ容易にロボットを手動操作
により退避させることができるロボット制御装置を提供
することを目的とする。
The present invention has been made to solve such a conventional problem, and when the robot comes into contact with an obstacle or the like to stop the robot in an emergency manner, the damage can be quickly and easily minimized while minimizing damage. It is another object of the present invention to provide a robot control device capable of retreating a robot by manual operation.

(課題を解決するための手段) 前記目的を達成するため、本発明は、ロボットの可動
部を動かすためのロボット軸を駆動する駆動モータと、
前記ロボット軸の現在位置を検出する検出手段と、あら
かじめ設定された目標位置データと前記検出手段によっ
て検出される現在位置データとに基づいて前記駆動モー
タを制御するモータ制御手段とを備え、当該モータ制御
手段により前記駆動モータを制御して前記可動部を位置
決めすることによって前記ロボットの動作を制御するロ
ボット制御装置において、前記可動部が移動を開始した
時の前記ロボット軸の始動位置データを記憶する第1記
憶手段と、前記可動部が移動を停止した時の前記ロボッ
ト軸の停止位置データを記憶する第2記憶手段と、前記
第1記憶手段および前記第2記憶手段の内容に基づい
て、前記可動部が移動を開始してから停止するまでの前
記ロボット軸の移動量および移動方向を算出する算出手
段と、所定のスイッチがONされているとき、前記算出手
段によって算出された内容を表示する表示手段と、所定
のスイッチがONされているとき、前記算出手段によって
算出された移動方向に前記ロボット軸が動くのを阻止す
る信号を前記モータ制御手段に出力するインターロック
制御手段とを有することを特徴とする。
(Means for Solving the Problems) To achieve the above object, the present invention provides a drive motor for driving a robot axis for moving a movable part of a robot,
Detecting means for detecting the current position of the robot axis, and motor control means for controlling the drive motor based on preset target position data and current position data detected by the detecting means; In a robot control device for controlling the operation of the robot by controlling the drive motor by a control means and positioning the movable part, start position data of the robot axis when the movable part starts moving is stored. A first storage unit, a second storage unit that stores stop position data of the robot axis when the movable unit stops moving, and a second storage unit that stores the data based on the contents of the first storage unit and the second storage unit. Calculating means for calculating a moving amount and a moving direction of the robot axis from when the movable part starts moving to when the movable part stops, and a predetermined switch. A display means for displaying the contents calculated by the calculation means when the switch is ON, and preventing the robot axis from moving in the movement direction calculated by the calculation means when a predetermined switch is ON. And interlock control means for outputting a signal to the motor control means.

(作用) このように構成された本発明は、以下のように作用す
る。
(Operation) The present invention configured as above operates as follows.

第1記憶手段は、可動部(ロボット)が移動を開始し
た時のロボット軸の始動位置データを記憶し、第2記憶
手段は、可動部(ロボット)が移動を停止した時のロボ
ット軸の停止位置データを記憶している。算出手段は、
第1記憶手段および第2記憶手段の内容に基づいて、可
動部(ロボット)が移動を開始してから停止するまでの
ロボット軸の移動量と移動方向を算出する。より具体的
には、第2記憶手段に記憶されている停止位置データか
ら第1記憶手段に記憶されている始動位置データを減算
して、ロボット軸の移動量を算出し、また、その減算結
果(位置データの増減)によりロボット軸の移動方向を
算出する。
The first storage unit stores start position data of the robot axis when the movable unit (robot) starts moving, and the second storage unit stops the robot axis when the movable unit (robot) stops moving. The position data is stored. The calculation means is:
Based on the contents of the first storage means and the second storage means, the movement amount and the movement direction of the robot axis from when the movable part (robot) starts moving until it stops are calculated. More specifically, the start position data stored in the first storage means is subtracted from the stop position data stored in the second storage means to calculate the amount of movement of the robot axis. The movement direction of the robot axis is calculated by (increase / decrease of position data).

表示手段は、所定のスイッチがONされているとき、算
出手段によって算出された内容、つまり、ロボットが停
止する直前のロボット軸の移動量と移動方向を表示す
る。例えば、ロボットが動作中に何らかの原因で障害物
と接触したためオペレータがロボットを非常停止させた
場合において、オペレータがそのスイッチをONすると、
表示手段は、算出手段によって求められた非常停止直前
のロボット軸の移動量と移動方向を表示する。したがっ
て、オペレータは、これを見ることによって、ロボット
を退避させるために必要なロボット軸の移動量と移動方
向を認識することができる。
The display means, when the predetermined switch is turned on, displays the content calculated by the calculation means, that is, the movement amount and movement direction of the robot axis immediately before the robot stops. For example, if the operator makes an emergency stop of the robot due to contact with an obstacle for some reason during the operation of the robot, when the operator turns on the switch,
The display means displays the movement amount and the movement direction of the robot axis immediately before the emergency stop, which are obtained by the calculation means. Therefore, the operator can recognize the movement amount and the movement direction of the robot axis necessary for retracting the robot by looking at this.

また、インターロック制御手段は、所定のスイッチが
ONされているとき、算出手段によって算出された移動方
向にロボット軸が動くのを阻止する信号をモータ制御手
段に出力する。これにより、ロボット軸は、停止前の移
動方向への移動が阻止され、停止前の移動方向と逆の方
向へのみ移動可能となる。例えば、同じくロボットが動
作中に何らかの原因で障害物と接触したためオペレータ
がロボットを非常停止させた場合において、オペレータ
がそのスイッチをONすると、インターロック制御手段
は、算出手段によって求められた非常停止直前の移動方
向にロボット軸が動くのを阻止する信号をモータ制御手
段に出力する。したがって、オペレータが手動操作によ
りロボットを退避させる作業を行う際に操作をミスして
も、ロボットが障害物と再度接触するようなことはな
い。
Also, the interlock control means is provided when a predetermined switch is
When it is ON, a signal for preventing the robot axis from moving in the movement direction calculated by the calculation means is output to the motor control means. Thereby, the robot axis is prevented from moving in the movement direction before the stop, and can move only in the direction opposite to the movement direction before the stop. For example, if the operator turns the switch off when the operator makes an emergency stop because the robot comes into contact with an obstacle for some reason during the operation, the interlock control means will immediately turn off the emergency stop calculated by the calculation means. A signal for preventing the robot axis from moving in the moving direction is output to the motor control means. Therefore, even if the operator makes a mistake when performing an operation of retreating the robot by manual operation, the robot does not contact the obstacle again.

(実施例) 以下、本発明に係るロボット制御装置を図面に基づい
て詳細に説明する。
Hereinafter, a robot control device according to the present invention will be described in detail with reference to the drawings.

第1図は本発明に係るロボット制御装置の一実施例を
示す概略構成図であり、第2図は第1図の表示装置に表
示される内容の具体例を示す図である。また、第3図は
本実施例の動作を示すフローチャートである。なお、こ
こで説明するロボット制御装置は、従来のものと同様に
6軸ロボットの動作を制御するものであるが、各駆動モ
ータに対する制御の内容はすべて同一であるので、ここ
では、1つの駆動モータに対する制御のみを説明し、そ
の他の駆動モータの制御については説明を省略する。
FIG. 1 is a schematic configuration diagram showing one embodiment of a robot control device according to the present invention, and FIG. 2 is a diagram showing a specific example of contents displayed on the display device of FIG. FIG. 3 is a flowchart showing the operation of this embodiment. The robot controller described here controls the operation of the six-axis robot in the same manner as the conventional one. However, since the contents of control for each drive motor are all the same, one drive is used here. Only control of the motor will be described, and description of control of the other drive motors will be omitted.

第1図に示すように、このロボット制御装置は、従来
のものと同様に、オペレータが教示作業を行う際に操作
するティーチペンダント(ここでも以下単に「ペンダン
ト」という。)10を備えている。
As shown in FIG. 1, this robot control device includes a teach pendant (hereinafter also simply referred to as a “pendant”) 10 operated by an operator when performing a teaching operation, similarly to the conventional robot control device.

このペンダント10には、従来のものと同様に、JOGモ
ードとPBモードを切り換えるモード切換えスイッチやJO
Gモードにおいて手動操作で個々の駆動モータを作動さ
せるための手動スイッチ、この手動スイッチによりロボ
ット(各可動部)を位置決めした時の各軸の位置を記憶
させるためのメモリスイッチなどから構成された操作ス
イッチ11と、ロボットの動作に異常があった場合やロボ
ットが他の設備機器などと接触した場合などにロボット
を非常停止させるための非常停止スイッチ12とが設けら
れている。
The pendant 10 includes a mode changeover switch for switching between the JOG mode and the PB mode and a JO
Operation consisting of a manual switch for manually operating individual drive motors in the G mode, a memory switch for storing the position of each axis when the robot (each movable part) is positioned by this manual switch, etc. A switch 11 and an emergency stop switch 12 for performing an emergency stop of the robot when there is an abnormality in the operation of the robot or when the robot comes into contact with other equipment or the like are provided.

また、ペンダント10には、非常停止スイッチ12により
ロボットを非常停止させた場合などにおいて、ロボット
が停止する直前の各軸の移動量と移動方向を表示させる
ための表示要求スイッチ13と、この表示を終了させるた
めの表示終了スイッチ14とが設けられている。
Also, the pendant 10 has a display request switch 13 for displaying the moving amount and moving direction of each axis immediately before the robot stops when the emergency stop switch 12 causes the robot to make an emergency stop. A display end switch 14 for ending the display is provided.

さらに、ペンダント10には、非常停止スイッチ12をON
してロボットを非常停止させた場合において、ロボット
が非常停止する直前の移動方向にロボットを移動させな
いようにするためのインターロックスイッチ15と、この
制御を終了させるためのリセットスイッチ16とが設けら
れている。
Furthermore, the emergency stop switch 12 is turned on for the pendant 10.
When the robot is emergency-stopped, an interlock switch 15 for preventing the robot from moving in the moving direction immediately before the emergency stop of the robot and a reset switch 16 for ending this control are provided. ing.

また、このペンダント10には、前記各スイッチ11〜16
のほかに、表示要求スイッチ13がONされたときに各軸の
移動量と移動方向を表示するための表示装置17が設けら
れている。このように構成されたペンダント10は算出手
段およびインターロック制御手段としての表示制御部18
に接続されている。
The pendant 10 includes the switches 11 to 16 described above.
In addition to the above, a display device 17 for displaying the movement amount and movement direction of each axis when the display request switch 13 is turned on is provided. The pendant 10 configured as described above is provided with a display control unit 18 as a calculation unit and an interlock control unit.
It is connected to the.

この表示制御部18は、表示装置17に表示させる各軸の
移動量と移動方向を算出する機能を有している。この表
示制御部18には、これら移動量と移動方向を算出するた
めのデータを記憶する3つのレジスタ、つまり、第1レ
ジスタ19、第1記憶手段としての第2レジスタ20、およ
び第2記憶手段としての第3レジスタ21がそれぞれ接続
されている。
The display control unit 18 has a function of calculating the movement amount and movement direction of each axis to be displayed on the display device 17. The display control unit 18 has three registers for storing data for calculating the movement amount and the movement direction, that is, a first register 19, a second register 20 as a first storage unit, and a second storage unit. Are connected to each other.

また、表示制御部18はモータ制御手段としてのモータ
制御部23に接続されており、このモータ制御部23から
は、必要なデータが第1レジスタ19および第3レジスタ
21に出力されるようになっている。
The display control unit 18 is connected to a motor control unit 23 as a motor control unit, and necessary data is supplied from the motor control unit 23 to the first register 19 and the third register 19.
Output to 21.

モータ制御部23には、ペンダント10の操作スイッチ11
および非常停止スイッチ12の作動状態が入力され、モー
タ制御部23は、従来と同様に、これらスイッチ11、12の
作動状態に応じてロボットのアームや主軸、ハンドなど
の各種可動部を動かすためのロボット軸を駆動する駆動
モータ22を制御するようになっている。
The motor control unit 23 includes an operation switch 11 of the pendant 10.
The operation state of the emergency stop switch 12 is input, and the motor control unit 23 operates to move various movable parts such as a robot arm, a main shaft, and a hand in accordance with the operation state of the switches 11 and 12, as in the related art. The drive motor 22 that drives the robot axis is controlled.

また、モータ制御部23には、ロボットに所定の動作を
させるためにロボット(各可動部)を位置決めするため
の目標位置データを格納するメモリ24が接続されてい
る。
The motor control unit 23 is connected to a memory 24 that stores target position data for positioning the robot (each movable unit) in order to cause the robot to perform a predetermined operation.

目標位置データは、各軸の移動目標位置、つまり駆動
モータ22の目標回転角に関するデータであり、従来と同
様に、オペレータがペンダント10を使ってJOGモードで
操作スイッチ11を操作して教示作業を行うことによっ
て、順次設定されるようになっている。
The target position data is data relating to the movement target position of each axis, that is, the target rotation angle of the drive motor 22, and the operator operates the operation switch 11 in the JOG mode using the pendant 10 to perform the teaching work in the same manner as in the related art. By doing so, they are sequentially set.

また、モータ制御部23には、駆動モータ22の回転角を
検出するための、検出手段としてのパルスジェネレータ
(以下「PG」という。)25が接続されている。このPG25
からは駆動モータ22の主軸の回転に応じたパルス信号が
出力される。モータ制御部23は、このパルス信号をカウ
ントすることによって駆動モータ22の回転角を検出する
ことができる。
Further, a pulse generator (hereinafter, referred to as “PG”) 25 as a detecting means for detecting the rotation angle of the drive motor 22 is connected to the motor control unit 23. This PG25
Outputs a pulse signal corresponding to the rotation of the main shaft of the drive motor 22. The motor control unit 23 can detect the rotation angle of the drive motor 22 by counting the pulse signals.

また、モータ制御部23は、操作スイッチ11の中のモー
ド切換えスイッチがPBモードに設定されている場合に
は、メモリ24から目標位置データを順次入力し、PG25に
よって検出される回転角が入力した目標位置データと一
致するまで、駆動モータ22を駆動する駆動信号を出力す
る。この駆動信号は、D/A変換器26によって信号形態が
変換された後、アンプ27によって増幅されて駆動電力と
なり、駆動モータ22に供給される。このようにして、モ
ータ制御部23は、入力した目標位置データに応じて駆動
モータ22を駆動する。つまり、モータ制御部23は、駆動
モータ22をPG25によってフィードバック制御し、メモリ
24に設定されている目標位置データに従って駆動モータ
22を順次駆動させ、これによって、ロボット(各可動
部)を教示したとおりに動作させるようになっている。
Further, when the mode changeover switch among the operation switches 11 is set to the PB mode, the motor control unit 23 sequentially inputs the target position data from the memory 24, and inputs the rotation angle detected by the PG 25. A drive signal for driving the drive motor 22 is output until the drive signal matches the target position data. The drive signal is converted in signal form by the D / A converter 26, then amplified by the amplifier 27 to become drive power, and supplied to the drive motor 22. Thus, the motor control unit 23 drives the drive motor 22 according to the input target position data. That is, the motor control unit 23 performs feedback control of the drive motor 22 by the PG 25, and
Drive motor according to the target position data set in 24
The robots 22 are sequentially driven to operate the robot (each movable unit) as taught.

また、モータ制御部23は、操作スイッチ11の中のモー
ド切換えスイッチがJOGモードに設定されている場合に
は、オペレータが操作スイッチ11の中の手動スイッチを
ONしている間中駆動信号を出力して駆動モータ22を駆動
させ、その手動スイッチがOFFされると駆動信号の出力
を停止して駆動モータ22を停止させるようになってい
る。つまり、JOGモードにおいては、モータ制御部23
は、オペレータが操作した手動スイッチに対応する駆動
モータ22を、その手動スイッチがONされている間だけ駆
動するようになっている。これによって、オペレータ
は、ロボット(各可動部)を任意に位置決めすることが
できる。
Further, when the mode changeover switch among the operation switches 11 is set to the JOG mode, the motor control unit 23 operates the manual switch among the operation switches 11 by the operator.
The drive signal is output while the switch is ON to drive the drive motor 22, and when the manual switch is turned OFF, the output of the drive signal is stopped and the drive motor 22 is stopped. That is, in the JOG mode, the motor control unit 23
Is designed to drive the drive motor 22 corresponding to the manual switch operated by the operator only while the manual switch is ON. Thereby, the operator can arbitrarily position the robot (each movable part).

そして、このように駆動モータ22を制御するモータ制
御部23は、JOGモードにおいて、オペレータが手動スイ
ッチから手を放して駆動モータ22を停止させた場合に
は、これによって新たに位置決めされた現在の回転角
(以下「現在回転角」という。)をPG25によって検出
し、この現在回転角を第3レジスタ21に出力する。つま
り、第3レジスタ21には、ロボット(各可動部)が移動
を停止した時の各軸の現在位置に相当する現在回転角が
記憶される。その後、モータ制御部23は、ロボット(各
可動部)が停止して位置決めされたことを示す位置決め
完了信号を表示制御部18に出力する。
Then, in the JOG mode, when the operator releases the hand from the manual switch to stop the drive motor 22, the motor control unit 23 that controls the drive motor 22 in this way, the current position newly positioned thereby is The rotation angle (hereinafter referred to as “current rotation angle”) is detected by the PG 25, and the current rotation angle is output to the third register 21. That is, the third register 21 stores the current rotation angle corresponding to the current position of each axis when the robot (each movable unit) stops moving. Thereafter, the motor control unit 23 outputs to the display control unit 18 a positioning completion signal indicating that the robot (each movable unit) has stopped and positioned.

また、モータ制御部23は、PBモードにおいて、PG25に
よって検出された駆動モータ22の回転角がメモリ24から
入力した目標位置データと一致して駆動モータ22を停止
させた場合には、入力した目標位置データ、つまり、今
回位置決めするために入力した目標位置データ(以下
「今回目標位置データ」という。)を第1レジスタ19に
出力する。そして、その後、ロボット(各可動部)が停
止して位置決めされたことを示す位置決め完了信号を表
示制御部18に出力する。
Further, in the PB mode, when the rotation angle of the drive motor 22 detected by the PG 25 matches the target position data input from the memory 24 and stops the drive motor 22, the motor control unit 23 The position data, that is, target position data input for positioning this time (hereinafter, referred to as “current target position data”) is output to the first register 19. After that, a positioning completion signal indicating that the robot (each of the movable parts) has stopped and has been positioned is output to the display control unit 18.

さらに、モータ制御部23は、非常停止スイッチ12がON
され駆動モータ22が非常停止した場合には、PG25によっ
て非常停止時の現在回転角を検出し、この現在回転角を
第3レジスタ21に出力する。そして、その後、ロボット
が非常停止したことを示す非常停止信号を表示制御部18
に出力する。
Further, the motor control unit 23 sets the emergency stop switch 12 to ON.
When the drive motor 22 stops in an emergency, the current rotation angle at the time of the emergency stop is detected by the PG 25, and the current rotation angle is output to the third register 21. After that, an emergency stop signal indicating that the robot has come to an emergency stop is displayed on the display control unit 18.
Output to

モータ制御部23から上記信号を入力する表示制御部18
は、JOGモードの場合には、モータ制御部23から位置決
め完了信号が出力される前、つまり、ロボット(各可動
部)の位置決めが完了しておらずロボット(各可動部)
が移動している最中に、すでに第3レジスタ21に記憶さ
れている前回位置決めされた時の回転角(以下「前回回
転角」という。)を第2レジスタ20に記憶させる。つま
り、表示制御部18は、ロボット(各可動部)が移動を開
始した時の各軸の始動位置に相当する前回回転角を第2
レジスタ20に記憶させる。そして、表示制御部18は、モ
ータ制御部23から位置決め完了信号を入力すると、新た
に第3レジスタ21に出力された現在回転角を入力し、こ
の現在回転角から第2レジスタ20に記憶させた前回回転
角を減算して、前回位置決めされた位置からの各軸の移
動量を算出する。また、表示制御部18は、前回位置決め
された位置からの各軸の移動方向について、その減算結
果により、現在回転角が前回回転角から増加している場
合にはプラス(+)方向、逆に、減少している場合には
マイナス(−)方向であるとそれぞれ判断する。
Display control unit 18 for inputting the above signal from motor control unit 23
In the JOG mode, before the positioning completion signal is output from the motor control unit 23, that is, the positioning of the robot (each movable unit) is not completed and the robot (each movable unit)
While the is moving, the rotation angle at the previous positioning (hereinafter referred to as “previous rotation angle”) already stored in the third register 21 is stored in the second register 20. That is, the display control unit 18 determines the last rotation angle corresponding to the starting position of each axis when the robot (each movable unit) starts moving to the second rotation angle.
It is stored in the register 20. When the positioning control signal is input from the motor control unit 23, the display control unit 18 inputs the current rotation angle newly output to the third register 21 and stores the current rotation angle in the second register 20 based on the current rotation angle. The amount of movement of each axis from the previously positioned position is calculated by subtracting the previous rotation angle. In addition, the display control unit 18 determines whether the current rotation angle has increased from the previous rotation angle in the plus (+) direction, and vice versa, based on the result of subtraction of the movement direction of each axis from the previously positioned position. , When it is decreasing, it is determined to be in the minus (−) direction.

また、表示制御部18は、PBモードの場合には、JOGモ
ードの場合と同様に位置決め完了信号が出力される前の
ロボット(各可動部)の移動中に、前回位置決めする際
にモータ制御部23に入力されすでに第1レジスタ19に記
憶されている目標位置データ(以下「前回目標位置デー
タ」という。)を第2レジスタ20に記憶させる。つま
り、表示制御部18は、ロボット(各可動部)が移動を開
始した時の各軸の始動位置に相当する前回目標位置デー
タを第2レジスタ20に記憶させる。そして、表示制御部
18は、モータ制御部23から位置決め完了信号を入力する
と、新たに第1レジスタ19に出力された今回目標位置デ
ータを入力し、この今回目標位置データから第2レジス
タ20に記憶させた前回目標位置データを減算して、前回
位置決めされた位置からの各軸の移動量を算出する。ま
た、表示制御部18は、前回位置決めされた位置からの各
軸の移動方向について、その減算結果により、今回目標
位置データが前回目標位置データから増加している場合
にはプラス(+)方向、逆に、減少している場合にはマ
イナス(−)方向であるとそれぞれ判断する。
In addition, in the PB mode, the display control unit 18 controls the motor control unit when positioning the previous time during the movement of the robot (each movable unit) before the positioning completion signal is output as in the case of the JOG mode. The target position data (hereinafter, referred to as “previous target position data”) that has been input to 23 and already stored in the first register 19 is stored in the second register 20. That is, the display control unit 18 causes the second register 20 to store the previous target position data corresponding to the starting position of each axis when the robot (each movable unit) starts moving. And the display control unit
When a positioning completion signal is input from the motor controller 23, the current target position data newly output to the first register 19 is input, and the previous target position stored in the second register 20 from the current target position data is input. By subtracting the data, the movement amount of each axis from the position determined last time is calculated. In addition, the display control unit 18 determines whether the current target position data has increased from the previous target position data in the plus (+) direction based on the result of the subtraction of the movement direction of each axis from the previously positioned position. On the other hand, if it has decreased, it is determined to be in the minus (-) direction.

また、表示制御部18は、PBモードにおいて非常停止信
号を入力した場合には、モータ制御部23から第3レジス
タ21に出力された現在回転角を入力し、この現在回転角
から第2レジスタ20に記憶させた前回目標位置データを
減算して、前回位置決めされた位置から非常停止した位
置までの各軸の移動量を算出する。また、表示制御部18
は、上記の場合と同様にして、非常停止する直前の各軸
の移動方向を判断する。なお、JOGモードにおいては、
ロボットが非常停止するとオペレータが手動スイッチを
OFFするので、位置決め完了信号がモータ制御部23から
表示制御部18に出力され、これによって、表示制御部18
は、前回位置決めされた位置から非常停止した位置まで
の各軸の移動量と移動方向を求めることができる。
Further, when the emergency stop signal is input in the PB mode, the display control unit 18 inputs the current rotation angle output from the motor control unit 23 to the third register 21 and outputs the current rotation angle to the second register 20 based on the current rotation angle. Is subtracted from the previously stored target position data to calculate the movement amount of each axis from the previously positioned position to the emergency stop position. The display control unit 18
Determines the moving direction of each axis immediately before the emergency stop in the same manner as described above. In JOG mode,
When the robot comes to an emergency stop, the operator turns on the manual switch.
Since the signal is turned off, a positioning completion signal is output from the motor control unit 23 to the display control unit 18, whereby the display control unit 18
Can determine the movement amount and the movement direction of each axis from the previously positioned position to the emergency stop position.

また、表示制御部18は、ペンダント10の表示要求スイ
ッチ13がONされた場合には、各モードにおいて算出した
移動量と移動方向を、表示終了スイッチ14がONされるま
で、第2図に示すごとく表示装置17に表示させる。この
とき、表示制御部18は、第2図に示すように、移動量が
最も大きい軸のこれら情報(移動量・移動方向)を点滅
させる。
Further, when the display request switch 13 of the pendant 10 is turned on, the display control unit 18 displays the movement amount and the movement direction calculated in each mode until the display end switch 14 is turned on in FIG. As shown in FIG. At this time, as shown in FIG. 2, the display control unit 18 blinks such information (movement amount / movement direction) of the axis having the largest movement amount.

したがって、オペレータがロボットを非常停止させた
際に表示要求スイッチ13をONすれば、前回位置決めされ
た位置から非常停止した位置までの各軸の移動量と移動
方向が表示装置17に表示されるので、オペレータは、ロ
ボットを退避させるために必要な各軸の移動量と移動方
向を認識することができ、ロボットを退避させるための
手動操作を行い易くなる。また、表示要求スッチ13がON
されると、各軸の移動量と移動方向が各モードにおける
ロボットの動作に応じて表示装置17に表示されるので、
オペレータは、ロボットの動きを動作中に確認すること
ができるようになる。
Therefore, if the operator turns on the display request switch 13 when the robot makes an emergency stop, the movement amount and the movement direction of each axis from the previously positioned position to the emergency stop position are displayed on the display device 17. The operator can recognize the movement amount and the movement direction of each axis necessary for retreating the robot, and can easily perform a manual operation for retreating the robot. Display request switch 13 is ON.
Then, the movement amount and movement direction of each axis are displayed on the display device 17 according to the operation of the robot in each mode,
The operator can check the movement of the robot during operation.

また、表示制御部18は、ペンダント10のインターロッ
クスイッチ15がONされた場合には、モータ制御部23にイ
ンターロック信号を出力する。このインターロック信号
を入力したモータ制御部23は、駆動モータ22の回転方向
にインターロックをかけ、インターロック信号を入力す
る直前の回転方向に駆動モータ22を回転させないように
する。
Further, when the interlock switch 15 of the pendant 10 is turned on, the display control unit 18 outputs an interlock signal to the motor control unit 23. The motor control unit 23 that has received the interlock signal applies an interlock in the rotation direction of the drive motor 22, and prevents the drive motor 22 from rotating in the rotation direction immediately before the input of the interlock signal.

したがって、オペレータがロボットを非常停止させた
際にインターロックスイッチ15をONすれば、ロボットが
非常停止する直前の移動方向にロボット(各可動部)が
移動することがないので、オペレータがロボットを退避
させるための手動操作を行う際に操作をミスしても、再
度障害物などにロボットが接触して被害が拡大されるよ
うなことはなくなる。また、オペレータは、点滅してい
る移動量と移動方向に対応する軸の駆動モータ22を順次
手動操作によって駆動し、移動量の大きいものから順に
駆動モータ22を駆動することによって、ロボットを効率
良く迅速に退避させることができるようになる。
Therefore, if the interlock switch 15 is turned on when the operator makes an emergency stop of the robot, the robot (each movable part) does not move in the moving direction immediately before the robot stops, and the operator retreats the robot. Even if a mistake is made in performing the manual operation for causing the robot to operate again, it is possible to prevent the robot from coming into contact with an obstacle or the like again to increase the damage. In addition, the operator drives the drive motor 22 of the axis corresponding to the blinking movement amount and the movement direction sequentially by manual operation, and drives the drive motor 22 in order from the one with the largest movement amount to efficiently operate the robot. It can be evacuated quickly.

このように構成されたロボット制御装置は、第3図に
示すフローチャートに従って動作する。なお、このフロ
ーチャートに対応するプログラムは表示制御装置18によ
って実行される。また、操作スイッチ11および非常停止
スイッチ12がONされたときにモータ制御部23が駆動モー
タ22に対して行う制御は、従来の一般的なロボット制御
装置の場合と同様であるので、ここでは、その動作につ
いての説明は省略する。
The robot control device thus configured operates according to the flowchart shown in FIG. Note that a program corresponding to this flowchart is executed by the display control device 18. Further, the control performed by the motor control unit 23 on the drive motor 22 when the operation switch 11 and the emergency stop switch 12 are turned on is the same as in the case of a conventional general robot control device. The description of the operation is omitted.

まず、表示制御部18は、操作スイッチ11の中のモード
切換えスイッチの作動状態を入力し、現在のモードがJO
Gモードであるか否かを判断する(ステップ1)。
First, the display control unit 18 inputs the operation state of the mode change switch in the operation switch 11, and sets the current mode to JO.
It is determined whether or not the mode is the G mode (step 1).

この判断の結果として現在のモードがJOGモードであ
る場合には、表示制御部18は、モータ制御部23から位置
決め完了信号が出力されない状態、つまりロボット(各
可動部)が移動中の状態になるまで待機し(ステップ
2)、移動中の状態になると、すでに第3レジスタ21に
記憶されている前回回転角を第2レジスタ20に記憶させ
るためのデータ転送処理を行う(ステップ3)。
If the current mode is the JOG mode as a result of this determination, the display control unit 18 enters a state in which the positioning completion signal is not output from the motor control unit 23, that is, a state in which the robot (each movable unit) is moving. (Step 2), and when it is in a moving state, a data transfer process for storing the previous rotation angle already stored in the third register 21 in the second register 20 is performed (step 3).

その後、表示制御部18は、モータ制御部23から位置決
め完了信号が出力されるまで待機し(ステップ4)、モ
ータ制御部23から位置決め完了信号を入力すると、ロボ
ット(各可動部)の位置決めが完了したものと判断し
て、新たにモータ制御部23から第3レジスタ21に出力さ
れた現在回転角を入力し、この現在回転角からステップ
3で第2レジスタ20に記憶させた前回回転角を減算し
て、各軸の移動量を算出するとともに、この減算結果に
より、上記のとおりに各軸の移動方向を判断する(ステ
ップ5)。
Thereafter, the display control unit 18 waits until a positioning completion signal is output from the motor control unit 23 (step 4), and when the positioning completion signal is input from the motor control unit 23, the positioning of the robot (each movable unit) is completed. Then, the current rotation angle newly output from the motor control unit 23 to the third register 21 is input, and the previous rotation angle stored in the second register 20 in step 3 is subtracted from the current rotation angle. Then, the movement amount of each axis is calculated, and the movement direction of each axis is determined based on the subtraction result as described above (step 5).

その後、表示制御部18は、表示要求スイッチ13がONさ
れたことを記憶する内部メモリのフラグnが1になって
いるか否かを判断し(ステップ6)、フラグnがすでに
1になっている場合には、ただちにステップ9に進む。
これに対し、フラグnが1になっていない場合には、さ
らに、表示要求スイッチ13がONされて移動量と移動方向
の表示が要求されたか否かを判断し(ステップ7)、い
まだ要求されていない場合には、ただちにステップ10に
進むが、要求された場合には、フラグnに1を代入し
て、表示要求スイッチ13がONされたことを内部メモリに
記憶させ(ステップ8)、ステップ9に進む。
Thereafter, the display control unit 18 determines whether or not the flag n of the internal memory for storing that the display request switch 13 has been turned on is 1 (step 6), and the flag n is already 1 In this case, the process proceeds to step 9 immediately.
On the other hand, if the flag n has not become 1, the display request switch 13 is turned on to determine whether or not the display of the movement amount and the movement direction has been requested (step 7). If not, the process immediately proceeds to step 10. If requested, however, 1 is substituted for the flag n and the fact that the display request switch 13 has been turned on is stored in the internal memory (step 8). Go to 9.

ステップ9では、表示制御部18は、ステップ5で求め
た移動量と移動方向を表示装置17に出力し、これら情報
を表示装置17に表示させる(第2図参照)。
In step 9, the display control unit 18 outputs the movement amount and the movement direction obtained in step 5 to the display device 17, and causes the display device 17 to display the information (see FIG. 2).

それから、表示制御部18は、インターロックスイッチ
15がONされたか否かを判断し(ステップ10)、インター
ロックスイッチ15がONされていない場合には、ステップ
13に進み、ONされた場合には、モータ制御部23にインタ
ーロック信号を出力して、ステップ5で求めた移動方向
にロボット(各可動部)が移動しないように駆動モータ
22の回転方向にインターロックをかける(ステップ1
1)。
Then, the display control unit 18 sets the interlock switch
It is determined whether or not 15 has been turned on (step 10). If the interlock switch 15 has not been turned on, step
Proceed to 13 and if it is turned on, output an interlock signal to the motor control unit 23, and drive motor so that the robot (each movable unit) does not move in the movement direction obtained in step 5.
Apply an interlock in the 22 rotation directions (Step 1
1).

その後、リセットスイッチ16がONされたか否かを判断
し(ステップ12)、リセットスイッチ16がONされていな
い場合には、ステップ6に戻って、リセットスイッチ16
がONされるまで駆動モータ22の回転方向にインターロッ
クをかけ続け、リセットスイッチ16がONされた場合に
は、インターロック信号の出力を停止して、駆動モータ
22の回転方向に対するインターロックを解除する。
Thereafter, it is determined whether or not the reset switch 16 has been turned on (step 12). If the reset switch 16 has not been turned on, the process returns to step 6 and the reset switch 16 is turned on.
The interlock continues to be applied in the rotation direction of the drive motor 22 until is turned on, and when the reset switch 16 is turned on, the output of the interlock signal is stopped and the drive motor 22 is stopped.
Release the interlock for the 22 rotation direction.

その後、表示制御部18は、表示終了スイッチ14がONさ
れて移動量と移動方向の表示を終了すべき旨の要求がな
されたか否かを判断し(ステップ13)、表示終了スイッ
チ14がONされていない場合には、フラグnを1のままに
して、また、表示終了スイッチ14がONされた場合には、
フラグnに0を代入して(ステップ14)、以上の動作を
繰り返し行う。
Thereafter, the display control unit 18 determines whether or not the display end switch 14 is turned on and a request to end the display of the movement amount and the movement direction is made (step 13), and the display end switch 14 is turned on. If not, the flag n is kept at 1, and if the display end switch 14 is turned on,
By substituting 0 for the flag n (step 14), the above operation is repeated.

一方、ステップ1の判断の結果として現在のモードが
JOGモードでない場合には、さらに、PBモードであるか
否かを判断し(ステップ15)、PBモードでない場合に
は、JOGモードかPBモードのいずれかになるまで待機す
る。
On the other hand, the current mode is
If the mode is not the JOG mode, it is further determined whether or not the mode is the PB mode (step 15). If the mode is not the PB mode, the process waits until the mode becomes either the JOG mode or the PB mode.

これに対し、PBモードである場合には、モータ制御部
23から位置決め完了信号が出力されない状態、つまりロ
ボット(各可動部)が移動中の状態になるまで待機し
(ステップ16)、移動中の状態になると、すでに第1レ
ジスタ19に記憶されている前回目標位置データを第2レ
ジスタ20に記憶させるためのデータ転送を行う(ステッ
プ17)。
On the other hand, in the PB mode, the motor control unit
Wait until the positioning completion signal is not output from 23, that is, until the robot (each movable unit) is in a moving state (step 16). When the robot is in a moving state, the previous state already stored in the first register 19 is stored. Data transfer for storing the target position data in the second register 20 is performed (step 17).

その後、表示制御部18は、モータ制御部23から位置決
め完了信号または非常停止信号が出力されるまで待機す
る(ステップ18、ステップ19)。
Thereafter, the display control unit 18 waits until a positioning completion signal or an emergency stop signal is output from the motor control unit 23 (Steps 18 and 19).

表示制御部18は、モータ制御部23から位置決め完了信
号を入力した場合には(ステップ18)、ロボット(各可
動部)の位置決めが完了したものと判断して、モータ制
御部23から第1レジスタ19に出力された今回目標位置デ
ータを入力し、この今回目標位置データからステップ17
で第2レジスタ20に記憶させた前回目標位置データを減
算して、各軸の移動量を算出するとともに、この減算結
果により、上記のとおりに各軸の移動方向を判断して
(ステップ20)、ステップ6に進み、これら情報を表示
要求スイッチ13がONされている場合に表示装置17に表示
させる。
When the display control unit 18 receives the positioning completion signal from the motor control unit 23 (step 18), the display control unit 18 determines that the positioning of the robot (each movable unit) has been completed, and sends the first register from the motor control unit 23 to the first register. Input the current target position data output to step 19 and execute step 17 from this current target position data.
Then, the previous target position data stored in the second register 20 is subtracted to calculate the movement amount of each axis, and based on the subtraction result, the movement direction of each axis is determined as described above (step 20). Then, the process proceeds to step 6, where the information is displayed on the display device 17 when the display request switch 13 is turned on.

一方、モータ制御部23から非常停止信号を入力した場
合には(ステップ19)、PBモードで自動運転中にロボッ
トが非常停止したものと判断して、ステップ5に進み、
モータ制御部23から第3レジスタ21に出力された現在回
転角を入力し、この現在回転角からステップ17で第2レ
ジスタ20に記憶させた前回目標位置データを減算して、
前回位置決めされた位置から非常停止するまでの各軸の
移動量を算出するとともに、この減算結果により、非常
停止する直前の各軸の移動方向を判断し、これら情報を
表示要求スイッチ13がONされている場合に表示装置17に
表示させる。
On the other hand, when an emergency stop signal is input from the motor control unit 23 (step 19), it is determined that the robot has stopped emergency during the automatic operation in the PB mode, and the process proceeds to step 5.
The current rotation angle output from the motor control unit 23 to the third register 21 is input, and the previous target position data stored in the second register 20 in step 17 is subtracted from the current rotation angle,
The amount of movement of each axis from the previously positioned position to the emergency stop is calculated, and based on this subtraction result, the direction of movement of each axis immediately before the emergency stop is determined, and the information request display switch 13 is turned on. Is displayed on the display device 17 when it is displayed.

このように、本実施例によれば、JOGモードにおいて
は、オペレータが表示要求スイッチ13をONすると、オペ
レータが手動スイッチを操作してロボット(各可動部)
を手動操作により位置決めするごとに、各軸の移動量と
移動方向が表示装置17に表示される。そして、例えば、
オペレータが手動スイッチの操作をミスしてロボットが
障害物などと干渉したためロボットを非常停止をさせた
場合においてインターロックスイッチ15がONされると、
駆動モータ22の回転方向にインターロックがかけられ、
ロボットが非常停止する直前の移動方向への移動が阻止
されるので、ロボットが再度障害物などと干渉して被害
が拡大されるということがなくなる。しかも、この非常
停止した状態における各軸の移動量と移動方向が表示装
置17に表示されたままになるので、オペレータは、この
表示装置17を見ながら手動スイッチを操作すれば、ロボ
ットを容易に退避させることができるようになり、ロボ
ットを効率良く迅速に退避させることができる。
As described above, according to the present embodiment, in the JOG mode, when the operator turns on the display request switch 13, the operator operates the manual switch to operate the robot (each movable unit).
Each time is positioned by manual operation, the movement amount and movement direction of each axis are displayed on the display device 17. And, for example,
When the interlock switch 15 is turned ON when the operator mistakenly operates the manual switch and causes the robot to emergency stop because the robot interferes with an obstacle or the like,
Interlock is applied in the rotation direction of the drive motor 22,
Since the movement in the moving direction immediately before the emergency stop of the robot is prevented, the damage of the robot due to the interference with the obstacle or the like again does not occur. Moreover, since the movement amount and movement direction of each axis in the emergency stop state remain displayed on the display device 17, the operator can easily operate the robot by operating the manual switch while watching the display device 17. The robot can be evacuated, and the robot can be evacuated efficiently and quickly.

また、PBモードにおいても、オペレータが表示要求ス
イッチ13をONすると、モータ制御部23によってロボット
(各可動部)が自動的に位置決めされるごとに、各軸の
移動量と移動方向が表示装置17に表示される。そして、
例えば、教示ミスなどの理由でロボットが障害物などと
干渉したためロボットを非常停止させた場合においてオ
ペレータがインターロックスイッチ15をONすると、JOG
モードの場合と同様に、駆動モータ22の回転方向にイン
ターロックがかけられ、ロボットが非常停止する直前の
移動方向への移動が阻止されるので、ロボットが再度障
害物などと干渉して被害が拡大されるということがなく
なる。しかも、JOGモードの場合と同様に、この非常停
止した状態における各軸の移動量と移動方向が表示装置
17に表示されたままになるので、オペレータは、この表
示装置17を見ながら手動スイッチを操作することによっ
て、ロボットを容易に退避させることができるようにな
り、ロボットを効率良く迅速に退避させることができ
る。
Also, in the PB mode, when the operator turns on the display request switch 13, every time the robot (each movable unit) is automatically positioned by the motor control unit 23, the movement amount and the movement direction of each axis are displayed on the display device 17. Will be displayed. And
For example, if the operator turns off the interlock switch 15 when the robot stops emergency because the robot interferes with an obstacle etc.
As in the case of the mode, the interlock is applied in the rotation direction of the drive motor 22, and the robot is prevented from moving in the moving direction immediately before the emergency stop, so that the robot again interferes with an obstacle or the like and damages. It will not be enlarged. Moreover, as in the case of the JOG mode, the movement amount and movement direction of each axis in the emergency stop state are indicated on the display device.
Since the display remains at 17, the operator can easily retreat the robot by operating the manual switch while looking at the display device 17, and efficiently and quickly retreat the robot. Can be.

(発明の効果) 以上の説明から明らかように、本発明によれば、以下
のような効果を奏する。
(Effects of the Invention) As is apparent from the above description, the present invention has the following effects.

ロボットの可動部が位置決めされるたびにその可動部
が移動を開始してから停止するまでのロボット軸の移動
量と移動方向を算出し、所定のスイッチがONされると、
その算出されたロボット停止前のロボット軸の移動量と
移動方向を外部に表示するので、例えば、ロボットが動
作中に何らかの原因で障害物と接触したためオペレータ
がロボットを非常停止させた場合には、オペレータは、
そのスイッチをONし、表示された内容を見ることによっ
て、ロボットを退避させるために必要なロボット軸の移
動量と移動方向を認識することができ、非常停止位置か
らロボットを退避させる作業を容易に能率良く迅速に行
うことができ、障害復旧時間を従来に比べて短縮するこ
とができる。さらに、非常停止させた状態のロボット軸
の移動量と移動方向が表示されるので、これらが非常停
止の原因解明のためのデータとなり、再発防止に役立
つ。
Each time the movable part of the robot is positioned, the movement amount and the movement direction of the robot axis from the start of movement to the stop of the movable part are calculated, and when a predetermined switch is turned on,
Since the calculated movement amount and movement direction of the robot axis before stopping the robot are displayed on the outside, for example, when the operator makes an emergency stop of the robot due to contact with an obstacle for some reason during operation of the robot, The operator
By turning on the switch and looking at the displayed contents, it is possible to recognize the amount and direction of movement of the robot axis necessary for retreating the robot, making it easy to retreat the robot from the emergency stop position. This can be performed efficiently and quickly, and the failure recovery time can be shortened as compared with the conventional case. Further, since the movement amount and the movement direction of the robot axis in the state of the emergency stop are displayed, these become data for elucidating the cause of the emergency stop and are useful for preventing recurrence.

また、所定のスイッチがONされると、ロボット軸は停
止前の移動方向への移動が阻止されるので、上記のよう
な場合にオペレータが手動操作によりロボットを退避さ
せる作業を行う際に操作をミスしても、ロボットが障害
物と再度接触するようなことがなくなるので、被害を最
小限にとどめることができるようになる。
In addition, when the predetermined switch is turned on, the movement of the robot axis in the movement direction before the stop is prevented. Even if a mistake is made, the robot does not contact the obstacle again, so that damage can be minimized.

したがって、例えば、ロボットが非常停止した際に、
被害を最小限に抑えつつ迅速かつ容易にロボットを手動
操作により退避させることが可能となる。
Therefore, for example, when the robot stops in an emergency,
The robot can be quickly and easily evacuated by manual operation while minimizing damage.

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

第1図は本発明に係るロボット制御装置の一実施例を示
す概略構成図、第2図は第1図の表示装置に表示される
内容の具体例を示す図、第3図は本実施例の動作を示す
フローチャート、第4図は従来のロボット制御装置の説
明図である。 10……ティーチペンダント、13……表示要求スイッチ、
14……表示終了スイッチ、15……インターロックスイッ
チ、16……リセットスイッチ、17……表示装置(表示手
段)、18……表示制御部(算出手段、インターロック制
御手段)、19……第1レジスタ、20……第2レジスタ
(第1記憶手段)、21……第3レジスタ(第2記憶手
段)、22……駆動モータ、23……モータ制御部(モータ
制御手段)、24……メモリ、25……PG(検出手段)。
FIG. 1 is a schematic configuration diagram showing an embodiment of a robot control device according to the present invention, FIG. 2 is a diagram showing a specific example of contents displayed on the display device of FIG. 1, and FIG. FIG. 4 is an explanatory diagram of a conventional robot control device. 10 ... Teach pendant, 13 ... Display request switch,
14 ... display end switch, 15 ... interlock switch, 16 ... reset switch, 17 ... display device (display means), 18 ... display control unit (calculation means, interlock control means), 19 ... 1 register, 20 ... second register (first storage means), 21 ... third register (second storage means), 22 ... drive motor, 23 ... motor control unit (motor control means), 24 ... Memory, 25 ... PG (detection means).

フロントページの続き (56)参考文献 特開 昭63−236105(JP,A) 特開 昭62−15608(JP,A) 特開 昭53−11291(JP,A) 特開 昭58−70314(JP,A) 特公 平2−15986(JP,B2) 実公 昭62−30082(JP,Y2) (58)調査した分野(Int.Cl.6,DB名) G05B 19/42 - 19/427 G05B 19/406 - 19/4063 B25J 9/22Continuation of front page (56) References JP-A-63-236105 (JP, A) JP-A-62-15608 (JP, A) JP-A-53-11291 (JP, A) JP-A-58-70314 (JP) , A) Tokiko Hei 2-15986 (JP, B2) Jiko 62-30082 (JP, Y2) (58) Fields investigated (Int. Cl. 6 , DB name) G05B 19/42-19/427 G05B 19/406-19/4063 B25J 9/22

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ロボットの可動部を動かすためのロボット
軸を駆動する駆動モータと、前記ロボット軸の現在位置
を検出する検出手段と、あらかじめ設定された目標位置
データと前記検出手段によって検出される現在位置デー
タとに基づいて前記駆動モータを制御するモータ制御手
段とを備え、当該モータ制御手段により前記駆動モータ
を制御して前記可動部を位置決めすることによって前記
ロボットの動作を制御するロボット制御装置において、 前記可動部が移動を開始した時の前記ロボット軸の始動
位置データを記憶する第1記憶手段と、 前記可動部が移動を停止した時の前記ロボット軸の停止
位置データを記憶する第2記憶手段と、 前記第1記憶手段および前記第2記憶手段の内容に基づ
いて、前記可動部が移動を開始してから停止するまでの
前記ロボット軸の移動量および移動方向を算出する算出
手段と、 所定のスイッチがONされているとき、前記算出手段によ
って算出された内容を表示する表示手段と、 所定のスイッチがONされているとき、前記算出手段によ
って算出された移動方向に前記ロボット軸が動くのを阻
止する信号を前記モータ制御手段に出力するインターロ
ック制御手段と、 を有することを特徴とするロボット制御装置。
1. A drive motor for driving a robot axis for moving a movable portion of a robot, a detecting means for detecting a current position of the robot axis, target position data set in advance and detected by the detecting means. A motor control means for controlling the drive motor based on current position data; and a robot control device for controlling the operation of the robot by controlling the drive motor by the motor control means to position the movable part. A first storage unit that stores start position data of the robot axis when the movable unit starts moving; and a second storage unit that stores stop position data of the robot axis when the movable unit stops moving. Storage means, and based on the contents of the first storage means and the second storage means, stop after the movable part starts moving. Calculating means for calculating the movement amount and moving direction of the robot axis up to, display means for displaying the content calculated by the calculating means when a predetermined switch is turned on, and a predetermined switch being turned on And an interlock control unit that outputs to the motor control unit a signal for preventing the robot axis from moving in the movement direction calculated by the calculation unit.
JP2045580A 1990-02-28 1990-02-28 Robot controller Expired - Lifetime JP2760125B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2045580A JP2760125B2 (en) 1990-02-28 1990-02-28 Robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2045580A JP2760125B2 (en) 1990-02-28 1990-02-28 Robot controller

Publications (2)

Publication Number Publication Date
JPH03250305A JPH03250305A (en) 1991-11-08
JP2760125B2 true JP2760125B2 (en) 1998-05-28

Family

ID=12723287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2045580A Expired - Lifetime JP2760125B2 (en) 1990-02-28 1990-02-28 Robot controller

Country Status (1)

Country Link
JP (1) JP2760125B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2933305B2 (en) * 1994-12-15 1999-08-09 ファナック株式会社 Teaching operation panel for robot
US6445966B1 (en) * 1999-03-11 2002-09-03 Eaton Corporation Data interface module for motor control system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6052441B2 (en) * 1976-07-16 1985-11-19 新明和工業株式会社 Position control method and device
JPS6215608A (en) * 1985-07-15 1987-01-24 Hitachi Ltd Operation controller for robot
JPS63236105A (en) * 1987-03-24 1988-10-03 Toshiba Corp Position controller

Also Published As

Publication number Publication date
JPH03250305A (en) 1991-11-08

Similar Documents

Publication Publication Date Title
JP3215086B2 (en) Robot controller
JP2819367B2 (en) Manipulator safe operation system
JP4122652B2 (en) Robot control device
JP2760125B2 (en) Robot controller
JPH0871969A (en) Method of telling position of robot
JPH03218502A (en) Teaching device for robot
JP2838928B2 (en) Operation display of manipulator
CN108475051B (en) Method and system for aligning a tool during programming of an industrial robot
JP2004188594A (en) Robot controller
JPH1027022A (en) Positioning assistance arm
JPS61131001A (en) Controller for robot
JPS5857762B2 (en) Method and device for correcting movement speed in robots
JPS6033608A (en) Remote control robot
JP2577003B2 (en) Robot control method
JP3174218B2 (en) Industrial robot control method
JPS60173611A (en) Information monitor method of positioner for robot
US20230286142A1 (en) Robot teaching control method, robot teaching apparatus, and robot system
JP3191341B2 (en) Robot controller
JP3433817B2 (en) Feed control device
JPH0146271B2 (en)
JP2000141259A (en) Robot control device
JPH0749246A (en) Encoder system
JPH0668695B2 (en) Robot controller
JPS61147306A (en) Safety device of robot
JPS63102892A (en) Uncontrolled movement preventive method of robot