JPH03250305A - Robot controller - Google Patents

Robot controller

Info

Publication number
JPH03250305A
JPH03250305A JP4558090A JP4558090A JPH03250305A JP H03250305 A JPH03250305 A JP H03250305A JP 4558090 A JP4558090 A JP 4558090A JP 4558090 A JP4558090 A JP 4558090A JP H03250305 A JPH03250305 A JP H03250305A
Authority
JP
Japan
Prior art keywords
robot
movement
movable member
switch
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4558090A
Other languages
Japanese (ja)
Other versions
JP2760125B2 (en
Inventor
Mitsunori Kamisada
光憲 神定
Hiroshi Hamada
浜田 広
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

Abstract

PURPOSE:To side a robot from an emergency stop position with high efficiency by attaining such a constitution where the moved variable and the moving direction of a mobile member are displayed on a display means when a display request switch is turned on. CONSTITUTION:A storage means 20 is provided to store the movement start position of a mobile member together with a storage means 21 which stores the present position where the mobile member stops its movement, a motor control means 23 which calculates the moved variable of the mobile member obtained from its start through its stop based on the stored position and at the same time deciding the moving direction of the mobile member to control a drive motor 22 so that the mobile member is prevented from moving in its moving direction, and a display means 17 which displays the moved variable and the moving direction of the mobile member outputted from the means 23. If a robot touches an obstacle, etc., and an operator stops urgently the mobile member, for example, a display request switch 13 is turned on for display of both the moved variable and the moving direction of the robot. Thus the operator can recognize the moved variable and the moving direction of the mobile member which are necessary for the siding of the robot. Then the robot saving job efficiency is improved.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、例えば、ロボットのティーチング時に、ロボ
ットが障害物等に干渉して非常停止させた場合に、被害
を最小限度にしつつ迅速にロボットを辺避させることが
容易に行なえるロボットの制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention can be used to quickly stop the robot while minimizing damage, for example, when the robot interferes with an obstacle and has to make an emergency stop during robot teaching. The present invention relates to a robot control device that can easily avoid robots.

(従来の技術) 近年の自動化技術の進歩に伴って各種生産工場等では、
多種多用なロボットが使用されている。
(Conventional technology) With the advancement of automation technology in recent years, various production factories, etc.
A wide variety of robots are used.

−射的なロボットには、作業動作を予め教え込ませるい
わゆるティーチングと呼ばれる作業が必要であり、従来
、このティーチングは、第4図に示すように行なわれて
いる場合かある。
- Shooting robots require a so-called "teaching" operation in which work movements are taught in advance, and conventionally, this teaching has sometimes been carried out as shown in FIG. 4.

同図に示すロボット1は、いわゆる多関節型ロボットで
あり、主軸2.アーム3.ハンド4の8種可動部材を図
示省略する6つの駆動モータにより駆動するいわゆる6
軸ロボツトである。そして、このロボット1は、それら
の駆動モータをいわゆるフィードバック制御する制御装
置5によって動作が制御されるようになっており、この
制御装置5には、図示するようにオペレータがロボット
1の動作に関する情報を入力するティーチペダント(以
下に単にペンダントという。)6が接続されている。
A robot 1 shown in the figure is a so-called multi-jointed robot, with two main shafts. Arm 3. The so-called 6 drive motor which drives the 8 types of movable members of the hand 4 by 6 drive motors (not shown)
It is an axis robot. The operation of this robot 1 is controlled by a control device 5 that performs so-called feedback control of these drive motors, and as shown in the figure, an operator can receive information regarding the operation of the robot 1. A teach pedant (hereinafter simply referred to as a pendant) 6 for inputting is connected.

このペンダント6には、夫々の駆動モータを個別に駆動
させるスイッチや、このスイッチによって位置決めした
可動部材の位置を記憶させるスイッチ等が取付けられて
いる。又、このペンダント6には、上記のようにオペレ
ータが個別に駆動モータを動作させることができるJO
Gモードと、これにより記憶した動作通りにロボット1
を自動運転するプレイバックモード(以下に単にPBモ
モ−・という。)とを切換えるモードスイッチが画えら
れており、オペレータは、JOGモードで教示したロボ
ット1の動作をPBモードによって碇認することができ
るようになっている。そして、オペレータは、これらの
スイッチを操作することによって、ティーチング作業を
行なうことかでき、ロボット1に所望の作業動作を行な
わせることができるようになっている。
This pendant 6 is equipped with a switch for individually driving each drive motor, a switch for storing the position of the movable member determined by the switch, and the like. The pendant 6 also has a JO that allows the operator to operate the drive motor individually as described above.
G mode and robot 1 according to the memorized movements.
A mode switch is provided to switch between a playback mode (hereinafter simply referred to as PB momo) in which the robot 1 automatically operates the robot 1, and the operator can check the motion of the robot 1 taught in the JOG mode using the PB mode. is now possible. By operating these switches, the operator can perform teaching work and have the robot 1 perform a desired work operation.

ところが、このような従来のティーチング作業中にあっ
て、JOGモードでオペレータがペンダント6の操作を
ミスするとロボット1が他の生産設備等の障害物に接触
したり、動作を記憶させる際にロボット1の移動経路内
の障害物を考慮しなかったためにPBモードにおいてロ
ポ゛ット1を自動運転させた際に障害物に接触させてし
まうことがあった。従来これらの場合には、ロボット1
を非常停止させ、JOGモードでオペレータかロボット
1の動きを観察しながら、干渉した位置、つまり非常停
止した位置からロボット1を退避させている。
However, during such conventional teaching work, if the operator makes a mistake in operating the pendant 6 in JOG mode, the robot 1 may come into contact with an obstacle such as another production equipment, or the robot 1 may Because robot 1 did not take into account obstacles in its travel route, robot 1 sometimes came into contact with obstacles when it was operated automatically in PB mode. Conventionally, in these cases, robot 1
The robot 1 is brought to an emergency stop, and while the operator observes the movement of the robot 1 in JOG mode, the robot 1 is evacuated from the position where the interference occurred, that is, the position where the emergency stop was made.

このため、従来のロボット1には、図示するように夫々
の可動部材の移動り向が一口で判断することができるよ
うに、駆動モータの回転方向に応じた夫々の可動部材の
移動方向を示すマーカ7が取付けられている。これによ
って、オペレータは、ロボット1.の非常停止状態に応
じて退避させるための移動方向を判断し、ロボットの退
避作業を行なうようになっている。
For this reason, the conventional robot 1 has a system that indicates the moving direction of each movable member according to the rotational direction of the drive motor so that the moving direction of each movable member can be determined at a glance as shown in the figure. Marker 7 is attached. This allows the operator to control robot 1. The direction of movement for evacuation is determined according to the emergency stop state of the robot, and evacuation work of the robot is performed.

(発明が解決しようとする課題) しかしながら、このようにマーカを頼りにロボットを退
避させる作業を行なう際にも、オペレータがペンダント
の操作をミスし、これによってロボットが障害物に再度
接触し、被害が拡大されてしまうことがあった。
(Problem to be solved by the invention) However, even when the robot is evacuated by relying on the marker, the operator may make a mistake in operating the pendant, causing the robot to come into contact with the obstacle again, resulting in damage. was sometimes enlarged.

又、特に第4図に示すような多軸のロボットにあっては
、ロボットの動作が多数の可動部材の動作を合成して形
成されるので、ロボットを退避させるための個々の可動
部材の動作が複雑であり、オペレータが手動操作によっ
てロボットを退避させるまでの時間がかかり、能率が悪
かった。
In addition, especially in the case of a multi-axis robot as shown in Fig. 4, the movement of the robot is formed by combining the movements of a large number of movable members, so the movement of each movable member in order to evacuate the robot is necessary. The system was complicated, and it took time for the operator to manually evacuate the robot, resulting in inefficiency.

本発明は、このような従来の問題点を解決するために成
されたものであり、ロボットが障害物等に接触して非常
停止した場合等に、被害を最小限度にしつつ迅速にロボ
ットを退避させることか容易に行なえるロボットの制御
装置を提供することを目的とする。
The present invention has been made to solve these conventional problems, and is capable of quickly evacuating the robot while minimizing damage when the robot comes into contact with an obstacle and makes an emergency stop. The purpose of the present invention is to provide a control device for a robot that can be easily controlled.

(課題を解決するための手段) 前記目的を達成するために本発明は、ロボットの各種可
動部材を駆動する駆動モータと可動部材の現在位置を検
出する検出手段とを倫え、予め設定された可動部材の目
標位置データと検出手段が検出する現在位置とに基づい
て駆動モータを制御し、可動部材を位置決めすることに
よって、ロボットの動作を制御するロボットの制御装置
において、少なくとも前記ロボットか非常停止した際に
ONされる表示要求スイッチ及びインターロックスイッ
チと、前記可動部材か移動を開始する際の開始位置を記
憶する第1記憶手段と、前記可動部材が移動を停止した
際の前記現在位置を記憶する第2記憶手段と、前記第1
記憶手段に記憶された開始位置と前記第2記憶手段に記
憶された現在位置とに基づいて、前記可動部材が移動を
開始してから停止するまでの移動量を算出すると共に移
動方向を’I’11断し、前記表示要求スイッチかON
された場合に、該移動台及び移動方向を出力する一方、
前記インク、−ロックスイッチがONされた場合に、前
記移動方向に前記可動部材が移動することを阻止するよ
うに前記駆動モータを制御する制御手段と、該制御手段
が出力する前記移動量及び移動方向を表示する表示手段
とを有することを特徴とする。
(Means for Solving the Problems) In order to achieve the above object, the present invention includes a drive motor that drives various movable members of the robot and a detection means that detects the current position of the movable members, and In a robot control device that controls the operation of a robot by controlling a drive motor based on target position data of a movable member and a current position detected by a detection means and positioning the movable member, at least the robot can perform an emergency stop. a display request switch and an interlock switch that are turned on when the movable member starts moving; a first storage means that stores the starting position when the movable member starts moving; and a first storage means that stores the current position when the movable member stops moving. a second storage means for storing; and a second storage means for storing the first
Based on the starting position stored in the storage means and the current position stored in the second storage means, the amount of movement of the movable member from when it starts to when it stops is calculated, and the direction of movement is determined by 'I'. '11 Disconnect and turn on the display request switch
outputs the moving table and the moving direction when the moving table is moved,
a control means for controlling the drive motor so as to prevent the movable member from moving in the movement direction when the lock switch is turned on; and the amount of movement and the movement output by the control means. The present invention is characterized in that it has a display means for displaying the direction.

(作用) 上記のように構成された本発明は、以下のように作用す
る。
(Function) The present invention configured as described above functions as follows.

例えば、ロボットが動作中に何らかの原因により障害物
等に接触し、オペレータがロボットを非常停止させた際
に、表示要求スイッチがONされることによって、制御
手段は、第1記憶手段に記憶された開始位置と第2記憶
手段に記憶された現在位置とに基づいて求めた移動台及
び移動方向を出力する。すると、表示手段かこれらの移
動量及び移動方向を表示するので、オペレータは、これ
を見ることによってロボットを退避させるために必要な
可動部Hの移動量と移動方向を認識することができ、非
常停止位置からロボットを退避させる作業を能率良く行
なうことかできる。
For example, when the robot comes into contact with an obstacle or the like for some reason during operation and the operator brings the robot to an emergency stop, the display request switch is turned on and the control means is stored in the first storage means. The movable platform and the moving direction determined based on the starting position and the current position stored in the second storage means are output. Then, the display means displays the amount and direction of movement of these items, so the operator can see the amount and direction of movement of the movable part H required to evacuate the robot. The robot can be efficiently evacuated from the stopped position.

又、オペレータかロボットを非常停止させた際にインタ
ーロックスイッチをONすることによって、制御手段は
、求めた移動方向に基づいて、非常停止する直前の移動
方向に可動部材が移動することを阻止するように駆動モ
ータを制御する。これにより、オペレータが手動操作に
よってロボットを退避させる作業を行なう際に操作をミ
スしてもロボットが障害物等と再度接触するようなこと
がないので、被害を最小限度に止めることかできるよう
になる。
Furthermore, by turning on the interlock switch when the operator or the robot makes an emergency stop, the control means prevents the movable member from moving in the direction of movement immediately before the emergency stop, based on the determined movement direction. Control the drive motor as follows. As a result, even if the operator makes a mistake when manually evacuating the robot, the robot will not come into contact with an obstacle again, so damage can be kept to a minimum. Become.

したがって、ロボットが非常停止した際に、被害を最小
限度にしつつ迅速にロボットを退避させることが容易に
行なうことができるようになる。
Therefore, when the robot makes an emergency stop, it becomes easy to quickly evacuate the robot while minimizing damage.

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

第1図は、本発明に係るロボットの制御装置の概略構成
図であり、第2図は、第1図に示す表示装置に表示され
る内容の具体例を示した図である。
FIG. 1 is a schematic configuration diagram 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 shown in FIG. 1.

又、第3図、は、本発明に係るロボットの制御装置の動
作を示すフローチャートである。尚、ここで説明するロ
ボットの制御装置は、従来と同様の6軸ロボツトの動作
を制御するものであるが、夫々の駆動モータに対する制
御が同一であるので、ここでは、1つの駆動モータに対
する制御内容を説明し、その他の駆動モータの制御につ
いては説明を省略する。
Further, FIG. 3 is a flowchart showing the operation of the robot control device according to the present invention. The robot control device described here controls the operation of a 6-axis robot similar to the conventional one, but since the control for each drive motor is the same, here we will explain the control for one drive motor. The contents will be explained, and the explanation of the control of other drive motors will be omitted.

第1図に示すように、本発明に係るロボットの制御装置
には、従来のティーチペンダントと同様にオペレータが
テーチング作業を行なう際に操作するティーチペンダン
ト(以下に単にペンダントという。)10が備えられて
いる。
As shown in FIG. 1, the robot control device according to the present invention is equipped with a teach pendant (hereinafter simply referred to as a pendant) 10 that is operated by an operator when performing teaching work, similar to a conventional teach pendant. ing.

このペンダント10には、従来のものと同様に、JOG
モードとPBモードとを切換えるモートスインチや、J
OGモードにおいて個々の駆動モータを手動操作で作動
させるための手動スイッチ、又このスイッチにより可動
部材を位置決めした際の位置を記憶させるためのメモリ
スイッチ等によって構成されている操作スイッチ11と
、ロボットの動作に異常があった場合や、ロボットが他
の設(i′i機器等に接触したような場合等にロボット
を非常停止させるための非常停止スイッチ12が取付け
られている。
This pendant 10 includes a JOG pendant as well as the conventional one.
A mote switch that switches between mode and PB mode,
The operation switch 11 is composed of a manual switch for manually operating each drive motor in the OG mode, a memory switch for memorizing the position when the movable member is positioned by this switch, and the like. An emergency stop switch 12 is installed to bring the robot to an emergency stop when there is an abnormality in operation or when the robot comes into contact with other equipment (i'i equipment, etc.).

又、ペンダント10には、その非常停止スイッチ12に
よりロボットを非常停止させた場合等に、ロボットが停
止する直前の夫々の可動部材の移動量と移動方向とを表
示させる際にONされる表示要求スイッチ13と、この
表示を終了させる際にONされる表示終了スイッチ14
が取付けられている。
In addition, the pendant 10 has a display request that is turned on to display the amount and direction of movement of each movable member immediately before the robot stops, such as when the robot is brought to an emergency stop using the emergency stop switch 12. switch 13, and a display end switch 14 that is turned on to end this display.
is installed.

さらに、ペンダント10には、同様に非常停止スイッチ
12がONされ、ロボットを非常停止させた場合に、非
常停止する直前の移動方向に夫々の可動部材を移動させ
ないようにする隙にONされるインターロックスイッチ
15と、この制御を終了させる際にONされるリセット
スイッチ16が取付けられている。
Furthermore, the pendant 10 has an emergency stop switch 12 that is similarly turned on, and an interface that is turned on when the robot is brought to an emergency stop to prevent each movable member from moving in the movement direction immediately before the emergency stop. A lock switch 15 and a reset switch 16, which is turned on when ending this control, are installed.

さらには、ペンダント10には、これらのスイッチの他
に、表示要求スイッチ13がONされた際に夫々の、可
動部材の移動量及び移動方向を表示する表示装置17が
設けられており、このペンダント10は、表示制御部1
8に接続されている。
Furthermore, in addition to these switches, the pendant 10 is provided with a display device 17 that displays the amount and direction of movement of each movable member when the display request switch 13 is turned on. 10 is a display control unit 1
8 is connected.

表示制御部18は、表示装置17に表示させる可動部材
の移動量と移動方向を求めるようになっており、表示制
御部18には、その移動歯を算出するための第ルジスタ
19.前記第1記憶手段としての第2レジスタ20及び
前記第2記憶手段としての第3レジスタ21が夫々接続
されている。
The display control unit 18 is configured to obtain the movement amount and movement direction of the movable member to be displayed on the display device 17, and the display control unit 18 includes a Lujister 19. A second register 20 as the first storage means and a third register 21 as the second storage means are connected to each other.

又、表示制御部18は、その移動歯を算出するためのデ
ータをそれらのレジスタに出力するモータ制御部23に
接続されている。
Further, the display control section 18 is connected to a motor control section 23 that outputs data for calculating the moving teeth to these registers.

このモータ制御部23には、ペンダント10の操作スイ
ッチ11及び非常停止スイッチ12の作動状態が入力す
るようになっており、モータ制御部23は、従来と同様
にこれらのスイ・ノチの作動状態に応じてロボットのア
ームや主軸や/’%ンド等の可動部材を駆動する駆動モ
ータ22を制御するようになっている。
The operating states of the operation switch 11 and the emergency stop switch 12 of the pendant 10 are input to this motor control unit 23, and the motor control unit 23 inputs the operating states of these switches as in the past. Accordingly, the drive motor 22 that drives movable members such as the robot's arm, main shaft, and /'% hand is controlled.

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

この目標位置データは、可動部材の移動tEJ標位置、
すなわち駆動モータ22の目標回転角度に相当するデー
タであり、従来と同様にオペレータかペンダント10に
よりJOGモードにおいて操作スイッチ11を操作して
ティーチング作業を行なうことによって順次設定される
ようになっている。
This target position data includes the movement tEJ target position of the movable member,
That is, the data corresponds to the target rotation angle of the drive motor 22, and is sequentially set by an operator or the pendant 10 operating the operation switch 11 in the JOG mode to perform a teaching operation, as in the past.

又、モータ制御部23には、駆動モータ22の回転角度
を検出するだめのパルスジェネレータ(以下にPGとい
う。)25か接続されている。
Further, a pulse generator (hereinafter referred to as PG) 25 for detecting the rotation angle of the drive motor 22 is connected to the motor control section 23 .

このPG25は、駆動モータ22の主軸の回転に応じた
パルス信号を出力するようになっており、モータ制御部
23は、このパルス信号をカウントすることによって駆
動モータ22の回転角度を検出することができるように
なっている。
The PG 25 outputs a pulse signal corresponding to the rotation of the main shaft of the drive motor 22, and the motor control unit 23 can detect the rotation angle of the drive motor 22 by counting this pulse signal. It is now possible to do so.

そして、モータ制御部23は、操作スイッチ11のモー
ド切換えスイッチによりPBモードになっている場合に
は、メモリ24から目標位置データを順次人力し、PG
25によって検出した回転角度が、入力した目標位置デ
ータに一致するまで駆動モータ22を駆動する駆動信号
を出力するようになっている。すると、この駆動信号は
、D/A変換器26によって信号形態が変換され、アン
プ27によって増幅されて駆動電力となり、駆動モータ
22に供給されるようになっている。これによりモータ
制御部23は、入力した目標位置データに応じて駆動モ
ータ22を駆動することができる。つまり、モータ制御
部23は、駆動モータ22をPG25によっていわゆる
フィードバック制御し、メモリ24に設定されている目
標位置データに従って駆動モータ22を順次駆動させる
ことができ、これによって、可動部材をティーチングし
たとおりに動作させることができるようになっている。
Then, when the mode changeover switch of the operation switch 11 has set the PB mode, the motor control unit 23 manually inputs the target position data sequentially from the memory 24 and selects the PG mode.
A drive signal is output to drive the drive motor 22 until the rotation angle detected by the drive motor 25 matches the input target position data. Then, the signal form of this drive signal is converted by the D/A converter 26 and amplified by the amplifier 27 to become drive power, which is supplied to the drive motor 22. Thereby, the motor control unit 23 can drive the drive motor 22 according to the input target position data. In other words, the motor control unit 23 performs so-called feedback control on the drive motor 22 using the PG 25, and can sequentially drive the drive motor 22 according to the target position data set in the memory 24, thereby causing the movable member to move as taught. It is now possible to operate it.

又、モータ制御部23は、操作スイッチ11のモード切
換えスイッチによりJOGモードになっている場合には
、オペレータか操作スイッチ11の手動スイッチをON
Lでいる間は、駆動信号を出力して駆動モータ22を駆
動させ、その手動スイッチがOFFされると駆動信号の
出力を停止し、駆動モータ22を停止させるようになっ
ている。
Further, when the motor control unit 23 is set to JOG mode by the mode changeover switch of the operation switch 11, the operator turns on the manual switch of the operation switch 11.
While in L, a drive signal is output 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.

つまり、JOGモードにおいては、モータ制御部23は
、オペレータが操作した手動スイッチに対応する駆動モ
ータ22を、その手動スイッチがONされている間だけ
駆動するようになっており、これによりオペレータは、
夫々の可動部材を任意に位置決めすることができるよう
になっている。
That is, in the JOG mode, the motor control unit 23 drives the drive motor 22 corresponding to the manual switch operated by the operator only while the manual switch is turned on.
Each movable member can be positioned arbitrarily.

そして、このように駆動モータ22を制御するモータ制
御部23は、JOGモードにおいて、オペレータが手動
スイッチから手を放し、駆動モータ22を停止させた場
合には、これによって新たに位置決めされた現在の回転
角度(以下に現在回転角度という。)を、PG25によ
って検出し、この現在回転角度を第3レジスタ21に出
力する。
Then, in the JOG mode, when the operator releases the manual switch and stops the drive motor 22, the motor control unit 23 that controls the drive motor 22 controls the newly positioned current position. The rotation angle (hereinafter referred to as the current rotation angle) is detected by the PG 25, and this current rotation angle is output to the third register 21.

つまり、第3レジスタ21には、可動部材が移動を停止
した際の現在の位置に相当する現在回転角度が記憶され
る。そして、この後に、可動部材が停止して位置決めさ
れたことを示す位置決め完了信号を表示、制御部18に
出力するようになっている。
That is, the third register 21 stores the current rotation angle corresponding to the current position when the movable member stops moving. After this, a positioning completion signal indicating that the movable member has stopped and been positioned is displayed and output to the control unit 18.

又、モータ制御部23は、PBモードにおいて、PG2
5によって検出した駆動モータ22の回転角度がメモリ
24から入力した目標位置データに一致して駆動モータ
22を停止させた場合には、入力した目標位置データ、
つまり、今回、位置決めするために入力した目標位置デ
ータ(以下に今回目標位置データという。)を第ルジス
タ19に出力する。そして、この後に、可動部材が停止
して位置決めされたことを示す位置決め完了信号を表示
制御部18に出力するようになっている。
Further, the motor control unit 23 controls PG2 in the PB mode.
When the rotation angle of the drive motor 22 detected in step 5 matches the target position data input from the memory 24 and the drive motor 22 is stopped, the input target position data,
That is, the target position data input for current positioning (hereinafter referred to as current target position data) is output to the first register 19. After this, a positioning completion signal indicating that the movable member has stopped and been positioned is output to the display control section 18.

さらに、モータ制御部23は、非常停止スイッチ12が
ONされ、駆動モータ22を非常停止させた場合には、
PG25によって非常停止した状態の前記現在回転角度
を検出し、この現在回転((1度を第3レジスタ21に
出力する。そして、この後に、非常停止したことを示す
非常停止信号を表示制御部18に出力するようになって
いる。
Furthermore, when the emergency stop switch 12 is turned on and the drive motor 22 is brought to an emergency stop, the motor control unit 23
The current rotation angle in the emergency stop state is detected by the PG 25, and this current rotation ((1 degree) is output to the third register 21. Then, after this, an emergency stop signal indicating that the emergency stop has occurred is output to the display control unit 18. It is designed to output to .

そして、モータ制御部23からそれらの信号を人力する
表示制御部18は、JOGモードにおいては、その位置
決め完了信号が出力されていない間、つまり、位置決め
が完了しておらず、可動部材が移動中に、すでに第3レ
ジスタ21に記憶されている前に位置決めされた際の回
転角度(以下に前回転角度という。)を第2レジスタ2
oに記憶させるようになっている。つまり、表示制御部
18は、可動部材が移動を開始する際の開始位置に相当
する前回転角度を第2レジスタ20に記憶させる。そし
て、表示制御部18は、モータ制御部23から位置決め
完了信号を入力すると、新たに第3レジスタ21に出力
された現在回転角度を入力し、この現在回転角度から第
2レジスタ20に記憶させた前回転角度を減算して、前
に位置決めされた位置からの移動量、つまり可動部材の
移動量を算出する。
In the JOG mode, the display control unit 18 that manually inputs these signals from the motor control unit 23 displays the signals while the positioning completion signal is not output, that is, the positioning is not completed and the movable member is moving. Then, the rotation angle at the time of previous positioning (hereinafter referred to as the previous rotation angle), which is already stored in the third register 21, is stored in the second register 2.
It is designed to be stored in o. That is, the display control unit 18 causes the second register 20 to store the pre-rotation angle corresponding to the start position when the movable member starts moving. When the display control unit 18 receives the positioning completion signal from the motor control unit 23, it inputs the current rotation angle newly output to the third register 21, and stores the current rotation angle in the second register 20 from this current rotation angle. The amount of movement from the previously positioned position, that is, the amount of movement of the movable member, is calculated by subtracting the previous rotation angle.

さらに、表示制御部18は、これにより前回転角度から
現在回転角度か増加した場合には、移動方向が(十)で
あり、逆に減少した場合には、移動方向が(−)である
と判断する。
Further, the display control unit 18 determines that if the current rotation angle increases from the previous rotation angle, the movement direction is (10), and if the current rotation angle decreases, the movement direction is (-). to decide.

又、表示制御部18は、PBモードにおいては、同様に
位置決め完了信号が出力されていない可動部材の移動中
に、モータ制御部23が前回に位置決めする際に入力し
、すでに第ルジスタ19に記憶されている目標位置デー
タ(以下に前回目標位置データという。)を第2レジス
タ20に記憶させるようになっている。つまり、表示制
御部18は、可動部材が移動を開始する際の開始位置に
相当する前回目標位置データを第2レジスタ20に記憶
させる。
In addition, in the PB mode, the display control unit 18 also outputs a signal that was input when the motor control unit 23 performed previous positioning and has already been stored in the Lujistar 19 while the movable member is moving to which no positioning completion signal has been output. The target position data (hereinafter referred to as previous target position data) that has been set 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 when the movable member starts moving.

そして、表示制御部18は、モータ制御部23から位置
決め完了信号を入力すると、新たに第ルジスタ19に出
力された今回目標位置データを入力し、この今回目標位
置データから第2レジスタ20に記憶させた前回目標位
置データを減算し、前に位置決めされた位置からの移動
量、つまり可動部材の移動量を算出する。
When the display control unit 18 receives the positioning completion signal from the motor control unit 23, it inputs the current target position data newly output to the Lujistar 19, and stores the current target position data in the second register 20. The previous target position data is subtracted to calculate the amount of movement from the previously positioned position, that is, the amount of movement of the movable member.

さらに、これにより表示制御部18は、前回目標位置デ
ータから今回目標位置データか増加した場合には、移動
方向が(+)であり、逆に減少した場合には、移動方向
が(−)であると判断する。
Furthermore, as a result, the display control unit 18 determines that when the current target position data increases from the previous target position data, the moving direction is (+), and when the current target position data decreases, the moving direction is (-). I judge that there is.

又、表示制御部18は、PBモードにおいて非常停止信
号を人力した場合には、モータ制御部23が第3レジス
タ21に出力した現在回転角度を人力し、この現在回転
角度から第2レジスタ20に記憶させた前回目標位置デ
ータを減算し、前に位置決めされた位置から非常停止し
た位置までの移動量を算出する。又、これにより表示制
御部18は、上記と同様に非常停止する直前の可動部材
の移動方向を判断する。尚、JOGモードにおいては、
非常停止した場合には、オペレータか手動スイッチをO
FFするので、位置決め完了信号がモータ制御部23か
ら表示制御部18に出力されることによって、表示制御
部18は、前に位置決めされた位置から非常停止した位
置までの移動量及び移動方向を求められる。
In addition, when the emergency stop signal is input manually in the PB mode, the display control unit 18 inputs the current rotation angle that the motor control unit 23 outputs to the third register 21, and inputs the current rotation angle into the second register 20 from this current rotation angle. The previously stored target position data is subtracted to calculate the amount of movement from the previously positioned position to the emergency stop position. Further, the display control unit 18 thereby determines the moving direction of the movable member immediately before the emergency stop, similarly to the above. In addition, in JOG mode,
In the event of an emergency stop, the operator or manual switch should be turned OFF.
FF, the positioning completion signal is output from the motor control unit 23 to the display control unit 18, and the display control unit 18 calculates the amount of movement and direction of movement from the previously positioned position to the emergency stop position. It will be done.

そして、表示制御部18は、ペンダン)・10の表示要
求スイッチ13かONされた場合に、夫々のモードにお
いて算出した移動量と、同時に判断した移動方向とを、
表示終了スイッチがONされるまで第2図に示すように
表示装置17に表示させるようになっている。このとき
、表示制御部18は、夫々の可動部材に対して算出した
移動量の最大値を第2図に示すように点滅させるように
なっている。
Then, when the display request switch 13 of the pendant 10 is turned on, the display control unit 18 calculates the amount of movement calculated in each mode and the direction of movement determined at the same time.
The image is displayed on the display device 17 as shown in FIG. 2 until the display end switch is turned on. At this time, the display control unit 18 causes the maximum value of the movement amount calculated for each movable member to blink as shown in FIG. 2.

したがって、オペレータがロボットを非常停止させた際
に、表示要求スイッチ13をONすれば、前に位置決め
された位置から非常停止した位置までの移動量及び移動
方向が表示装置17に表示されるので、オペレータは、
ロボットを退避させるための夫々の可動部材の移動量と
移動方向が認識でき、ロボットを退避させるための手動
操作が行ない易くなる。又、表示要求スッチ13がON
されれば、可動部材の移動量及び移動方向が夫々のモー
ドにおけるロボットの動作に応じて表示装置17に表示
されるので、オペレータは、ロボットの動作を動作中に
羅認することができる。
Therefore, when the operator makes an emergency stop of the robot and turns on the display request switch 13, the amount and direction of movement from the previously positioned position to the emergency stop position will be displayed on the display device 17. The operator is
The amount and direction of movement of each movable member for evacuating the robot can be recognized, making manual operation for evacuating the robot easier. Also, the display request switch 13 is turned on.
Then, the amount and direction of movement of the movable member are displayed on the display device 17 according to the robot's motion in each mode, so the operator can see the robot's motion during the motion.

又、表示制御部18は、ペンダント10のインターロッ
クスイッチ15かONされた場合には、モータ制御部2
3にインターロック倍電を出力するようになっている。
Furthermore, when the interlock switch 15 of the pendant 10 is turned on, the display control section 18 controls the motor control section 2.
3, an interlock double voltage is output.

このインターロック倍電を人力したモータ制御部23は
、このインターロック信号を入力する直前の回転方向に
駆動モータ22を回転させないいわゆるインターロック
を行なうようになっている。
The motor control unit 23 that manually performs this interlock doubler performs a so-called interlock in which the drive motor 22 is not rotated in the rotation direction immediately before inputting this interlock signal.

これによりオペレータがロボットを非常停止させた際に
このインターロックスイッチ15をONすれば、可動部
材が非常停止する直前の移動方向に移動することがない
ので、オペレータがロボットを退避させるために手動操
作を行なった場合に、操作をミスしても再度障害物等に
ロボットか接触して被害が拡大するようなことがなくな
る。又、オペレータは、点滅している移動量に対応する
駆動モータ22を順に手動操作によって駆動し、移動m
の多い順に駆動モータ22を駆動させれば、ロボットを
効率良く退避させることかできる。
As a result, if the operator turns on the interlock switch 15 when the robot makes an emergency stop, the movable members will not move in the direction of movement immediately before the emergency stop, so the operator can manually evacuate the robot. If this is done, even if the robot makes a mistake in operation, the robot will not come into contact with an obstacle or the like again and cause further damage. Further, the operator manually drives the drive motors 22 corresponding to the flashing movement amounts in order, and moves m.
By driving the drive motors 22 in the order of the number of robots, the robot can be efficiently evacuated.

このように構成された本発明のロボット制御装置は、第
3図に示すフローチャートに基づいて動作する。尚、操
作スイッチ11及び非常停止スイッチ12がONされる
ことによってモータ制御部23が駆動、モータ22に対
して行なう制御は、従来の一般的なロボットの制御装置
と同様であるので、ここでは、その動作についての説明
を省略する。
The robot control device of the present invention configured as described above operates based on the flowchart shown in FIG. The motor control section 23 drives and controls the motor 22 when the operation switch 11 and the emergency stop switch 12 are turned on, as this is the same as that of a conventional general robot control device. A description of its operation will be omitted.

まず、表示制御部18は、操作スイッチ11のうちのモ
ード切換えスイッチの作動状態を入力し、現在のモード
がJOGモードであるか否か判断する(ステップ1)。
First, the display control unit 18 inputs the operating state of the mode changeover switch among the operation switches 11, and determines whether the current mode is the JOG mode (step 1).

表示制御部18は、現在のモードがJOGモードであっ
た場合には、位置決め完了信号が出力されない状態、つ
まり可動部材が移動中になるまで待機しくステップ2)
、移動中になると、すて第3レジスタ21に記憶されて
いる前回転角度を第2レジスタ20に記憶させるデータ
転送を行なう(ステップ3)。
If the current mode is the JOG mode, the display control unit 18 waits until the positioning completion signal is not output, that is, the movable member is moving (step 2).
During movement, data transfer is performed to store the previous rotation angle stored in the third register 21 in the second register 20 (step 3).

そして、表示制御部18は、モータ制御部23から位置
決め完了信号“か出力されるまで待機しくステップ4)
、位置決め完了信号を人力し、可動部材の位置決めか完
了したと判断すると、モータ制御部23が第3レジスタ
21に出力した現在回転角度を人力し、この現在回転角
度から第2レジスタ20に記憶した前回転角度を減算し
、可動部材の移動量を算出する。同時に表示制御部18
は、この減算によって前述したように可動部材の移動力
向を判断する(ステップ5)。
Then, the display control unit 18 waits until the motor control unit 23 outputs a positioning completion signal (step 4).
When it is determined that the positioning of the movable member is completed by manually inputting a positioning completion signal, the current rotation angle outputted by the motor control unit 23 to the third register 21 is manually input, and the current rotation angle is stored in the second register 20. The amount of movement of the movable member is calculated by subtracting the previous rotation angle. At the same time, the display control unit 18
By this subtraction, the direction of the moving force of the movable member is determined as described above (step 5).

次に、表示制御部18は、表示要求スイッチ13がON
されたことを記憶する内部メモリのフラグnが1になっ
ているか否か判断し、フラグnがすでに1になっている
場合には、ステップ9に進む(ステップ6)。一方、フ
ラグnが1でない場合には、表示要求スイッチ13がO
Nされ、移動量及び移動方向の表示を要求されているか
否か判断し、要求されていない場合には、ステップユ0
に進み、要求されている場合には、フラグnに1を代入
し、表示要求スイッチ13がONされたことを記憶させ
る(ステップ7.8)。
Next, the display control unit 18 turns on the display request switch 13.
It is determined whether the flag n in the internal memory that stores the fact that the process has been performed is set to 1, and if the flag n is already set to 1, the process proceeds to step 9 (step 6). On the other hand, if the flag n is not 1, the display request switch 13 is turned off.
It is determined whether display of the amount of movement and direction of movement is requested, and if it is not requested, the step unit 0 is
If the request has been made, 1 is assigned to the flag n, and the fact that the display request switch 13 has been turned on is stored (step 7.8).

そして、表示制御部18は、求めた移動量及び移動方向
を表示装置17に出力し、これらを表示装置17に表示
させる(ステップ9)。
Then, the display control unit 18 outputs the obtained movement amount and movement direction to the display device 17, and displays them on the display device 17 (step 9).

次に、表示制御部18は、インターロックスイッチ15
が、ONされたか否か判断しくステップ10)、インタ
ーロックスイッチ15がONされていない場合には、ス
テップ13に進み、ONされた場合には、モータ制御部
23にインターロック信号を出力し、求めた移動方向に
可動部材が移動しないように駆動モータ22をインター
ロックさせる(ステップ11)。
Next, the display control unit 18 controls the interlock switch 15
It is determined whether or not the interlock switch 15 is turned on (step 10). If the interlock switch 15 is not turned on, the process proceeds to step 13; if it is turned on, an interlock signal is output to the motor control section 23, The drive motor 22 is interlocked to prevent the movable member from moving in the determined movement direction (step 11).

そして、表示制御部18は、リセットスイッチ16がO
Nされるまでは、ステップ6に戻り、駆動モータ22を
インターロックさせ続け、リセットスイッチ16がON
されるとインターロック信号の出力を停止して駆動モー
タ22のインターロックを解除する(ステップ12)。
Then, the display control unit 18 determines that the reset switch 16 is turned off.
Until N is reached, return to step 6, continue interlocking the drive motor 22, and turn on the reset switch 16.
When this occurs, the output of the interlock signal is stopped and the interlock of the drive motor 22 is released (step 12).

次に、表示制御部18は、表示終了スイッチ14がON
され、移動量と移動方向との表示を終了する要求がなさ
れたか否か判断しくステップ13)、表示終了スイッチ
14がONされ、その表示を終了する要求かなされるま
では、フラグnを1のままにし、表示終了スイッチ14
がONされると、フラグnに0を代入して上記動作を繰
り返し行なう。(ステップ14)。
Next, the display control unit 18 turns on the display end switch 14.
In step 13), the display termination switch 14 is turned on and the flag n is set to 1 until a request is made to terminate the display of the amount of movement and direction of movement. Leave the display end switch 14
When turned on, 0 is assigned to flag n and the above operation is repeated. (Step 14).

一方、表示制御部18は、ステップ1において、現在の
モードがJOGモードでない場合には、PBモードであ
るか否か判断し、PBモードでない場合には、JOG又
はPBモードのいずれかになるまで待機する(ステップ
15)。
On the other hand, in step 1, if the current mode is not the JOG mode, the display control unit 18 determines whether the current mode is the PB mode. Wait (step 15).

そして、表示制御部18は、PBモードである場合には
、位置決め完了信号が出力されない状態、つまり可動部
材が移動中になるまで待機しくステップ16)、移動中
になると、すて第ルジスタ19に記憶されている前回目
標位置データを第2レジスタ20に記憶させるデータ転
送を行なう(ステップ17)。
When the display control unit 18 is in the PB mode, the display control unit 18 waits until the positioning completion signal is not output, that is, the movable member is moving (Step 16), and when the movable member is moving, the Data transfer is performed to store the previously stored target position data in the second register 20 (step 17).

さらに、表示制御部18は、モータ制御部23から位置
決め完了信号又は非常停止信号か出力されるまで待機す
る(ステップ18.19)。
Further, the display control section 18 waits until a positioning completion signal or an emergency stop signal is output from the motor control section 23 (step 18.19).

そして、表示制御部18は、位置決め完了信号を人力し
た場合には、可動部拐の位置決めか完了したと判断し、
モータ制御部23が第ルジスタ19に出力した今回目標
位置データを人力し、この今回目標、位置データから第
2レジスタ20に記憶した前回目標位置データを減算し
て可動部材の移動量を算出する。同時に、表示制御部1
8は、この減算によって前述したように可動部材の移動
方向を判断してステップ6に進み前述したように表示要
求スイッチ13がONされた場合にこれらを表示させる
(ステップ20)。
Then, when the positioning completion signal is manually input, the display control unit 18 determines that the positioning of the movable part has been completed,
The current target position data outputted by the motor control unit 23 to the first register 19 is manually input, and the previous target position data stored in the second register 20 is subtracted from the current target position data to calculate the amount of movement of the movable member. At the same time, display control unit 1
8 determines the moving direction of the movable member by this subtraction as described above, proceeds to step 6, and displays these when the display request switch 13 is turned on as described above (step 20).

一方、表示制御部18は、非常停止信号を入力した場合
には、ロボットがPBモードで自動運転中に非常停止し
たと判断してステップ5に進み、モータ制御部23が第
3レジスタ21に注力した現在回転角度を入力し、この
現在回転角度から第2レジスタ20に記憶した前回目標
位置データを減算して前に位置決めされた位置から非常
停止するまでの可動部材の移動量を算出する。同時に、
表示制御部18は、この減算によって非常停止する直前
の可動部材の移動方向を判断し、これらの移動量及び移
動方向を前述したように表示要求スイッチ13がONさ
れた場合に表示装置17に表示させる。
On the other hand, if an emergency stop signal is input, the display control unit 18 determines that the robot has made an emergency stop during automatic operation in the PB mode and proceeds to step 5, where the motor control unit 23 focuses on the third register 21. The current rotation angle is input, and the previous target position data stored in the second register 20 is subtracted from this current rotation angle to calculate the amount of movement of the movable member from the previously positioned position to the emergency stop. at the same time,
The display control unit 18 determines the moving direction of the movable member immediately before the emergency stop based on this subtraction, and displays these moving amounts and moving directions on the display device 17 when the display request switch 13 is turned on as described above. let

このようにJOGモードにおいては、オペレータが表示
要求スイッチ13をONすると、オペレータが手動スイ
ッチを操作して可動部材を手動操作により位置決めする
毎に、移動量及び移動り向か表示装置17に表示される
。そして、例えはオペレータか手動スイッチの操作をミ
スし、ロボットが障害物等に干渉して、非常停止をさせ
た場合に、インターロックスイッチ15をONすれは、
駆動モータ22が可動部材の非常停止する直前の移動方
向への可動部材の移動を阻止するので、障害物に干渉し
たことによる被害を拡大することがなくなる。しかも、
この非常停止した状態における可動部材の移動量及び移
動方向が表示装置17に表示されたままになるので、オ
ペレータは、この表示装置17を見ながら手動スイッチ
を操作すれは、ロボットを退避させることが容易になり
、ロボットを効率良く退避させることができる。
In the JOG mode, when the operator turns on the display request switch 13, the amount and direction of movement are displayed on the display device 17 each time the operator operates the manual switch to manually position the movable member. Ru. For example, if the operator makes a mistake in operating the manual switch and the robot interferes with an obstacle, causing an emergency stop, turning on the interlock switch 15 will
Since the drive motor 22 prevents the movable member from moving in the direction of movement immediately before the movable member makes an emergency stop, damage caused by interference with an obstacle will not be magnified. Moreover,
Since the amount and direction of movement of the movable member in this emergency stop state remain displayed on the display device 17, the operator cannot evacuate the robot by operating the manual switch while looking at the display device 17. This makes it easy to evacuate the robot efficiently.

又、PBモードにおいても、オペレータが表示要求スイ
ッチ13をONすると、モータ制御部23が可動部材を
自動的に位置決めする毎に、移動量及び移動、方向が表
示装置17に表示される。そして、例えばティーチング
ミス等の理由によりロボットが障害物等に干渉し、非常
停止をさせた場合に、オペレータがインターロックスイ
ッチ15をONすれば、JOGモードの場合と同様に、
駆動モータ22が可動部材の非常停止する直前の移動方
向への可動部材の移動を阻止するので、障害物に干渉し
たことによる被害を拡大することがなくなる。又、同様
にこの非常停止した状態における可動部材の移動量及び
移動方向か表示装置17に表示されたままになるので、
オペレータは、この表示装置17を見ながら手動スイッ
チを操作することによってロボットを効率良く退避させ
ることができる。
Also in the PB mode, when the operator turns on the display request switch 13, the amount of movement, movement, and direction are displayed on the display device 17 each time the motor control unit 23 automatically positions the movable member. For example, if the robot interferes with an obstacle or the like due to a teaching error and makes an emergency stop, if the operator turns on the interlock switch 15, the robot will be stopped in the same way as in the JOG mode.
Since the drive motor 22 prevents the movable member from moving in the direction of movement immediately before the movable member makes an emergency stop, damage caused by interference with an obstacle will not be magnified. Similarly, since the amount and direction of movement of the movable member in this emergency stopped state remain displayed on the display device 17,
The operator can efficiently evacuate the robot by operating the manual switch while looking at the display device 17.

(発明の効果) 以上の説明により明らかように、本発明にあっては以下
のような効果を奏す。
(Effects of the Invention) As is clear from the above description, the present invention has the following effects.

表示要求スイッチがONされることによって、制御手段
は、第1記憶手段に記憶された開始位置と第2記憶手段
に記憶された現在位置とに基ついて求めた可動部材の移
動量及び移動方向を表示手段に表示させるので、例えば
、ロボットが動作中に何らかの原因により障害物等に接
触し、オペレータがロボットを非常停止させた場合には
、オペレータは、表示要求スイッチかONL、、表示手
段を見ることによってロボットを退避させるために必要
な可動部材の移動量と移動方向を認識し、非常停止位置
からロボットを退避させる作業を能率良く行なうことが
でき、障害復旧時間を従来に比べて短縮することができ
る。さらに、非常停止させた状態の夫々の可動部材の移
動量及び移動方向が表示されるので、これらが、非常停
止させた原因を解明するためデータとなり、再発防止等
に役立つ。
When the display request switch is turned on, the control means calculates the movement amount and movement direction of the movable member based on the starting position stored in the first storage means and the current position stored in the second storage means. Since the information is displayed on the display means, for example, if the robot comes into contact with an obstacle or the like for some reason during operation and the operator brings the robot to an emergency stop, the operator can check the display request switch or ONL and the display means. This allows the robot to recognize the amount and direction of movement of the movable parts required to evacuate the robot, efficiently evacuating the robot from the emergency stop position, and shortens failure recovery time compared to conventional methods. I can do it. Furthermore, since the amount and direction of movement of each movable member in the state of emergency stop are displayed, these serve as data for elucidating the cause of emergency stop, and are useful for preventing recurrence.

又、オペレータがロボットを非常停止させた際にインタ
ーロックスイッチをONすることによって、制御手段は
、求めた移動方向に基づいて、非常停止する直前の移動
方向に可動部材が移動することを阻止するように駆動モ
ータを制御するので、上記のような場合にオペレータが
手動操作によってロボットを退避させる作業を行なう際
に、操作をミスしてもロボットが障害物等と再度接触す
るようなことがないので、被害を最小限度に止めること
ができるようになる。
Furthermore, by turning on the interlock switch when the operator brings the robot to an emergency stop, the control means prevents the movable member from moving in the direction of movement immediately before the emergency stop, based on the determined movement direction. Since the drive motor is controlled in this manner, when the operator manually evacuates the robot in the above case, even if the operator makes a mistake, the robot will not come into contact with an obstacle again. Therefore, damage can be kept to a minimum.

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

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

Claims (1)

【特許請求の範囲】[Claims] ロボットの各種可動部材を駆動する駆動モータと可動部
材の現在位置を検出する検出手段とを備え、予め設定さ
れた可動部材の目標位置データと検出手段が検出する現
在位置とに基づいて駆動モータを制御し、可動部材を位
置決めすることによって、ロボットの動作を制御するロ
ボットの制御装置において、少なくとも前記ロボットが
非常停止した際にONされる表示要求スイッチ及びイン
ターロックスイッチと、前記可動部材が移動を開始する
際の開始位置を記憶する第1記憶手段と、前記可動部材
が移動を停止した際の前記現在位置を記憶する第2記憶
手段と、前記第1記憶手段に記憶された開始位置と前記
第2記憶手段に記憶された現在位置とに基づいて、前記
可動部材が移動を開始してから停止するまでの移動量を
算出すると共に移動方向を判断し、前記表示要求スイッ
チがONされた場合に、該移動量及び移動方向を出力す
る一方、前記インターロックスイッチがONされた場合
に、前記移動方向に前記可動部材が移動することを阻止
するように前記駆動モータを制御する制御手段と、該制
御手段が出力する前記移動量及び移動方向を表示する表
示手段とを有することを特徴とするロボットの制御装置
The robot is equipped with a drive motor that drives various movable members of the robot and a detection means that detects the current position of the movable member, and the drive motor is operated based on preset target position data of the movable member and the current position detected by the detection means. A robot control device that controls the operation of a robot by controlling and positioning a movable member includes at least a display request switch and an interlock switch that are turned on when the robot makes an emergency stop, and a display request switch and an interlock switch that are turned on when the robot makes an emergency stop; a first storage means for storing the start position when the movable member stops moving; a second storage means for storing the current position when the movable member stops moving; and a first storage means for storing the current position when the movable member stops moving; The amount of movement of the movable member from when it starts moving until it stops is calculated based on the current position stored in the second storage means, and the direction of movement is determined, and the display request switch is turned on. a control means that outputs the amount of movement and the direction of movement, and controls the drive motor so as to prevent the movable member from moving in the movement direction when the interlock switch is turned on; A robot control device comprising: display means for displaying the movement amount and movement direction output by the control means.
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 true JPH03250305A (en) 1991-11-08
JP2760125B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08166814A (en) * 1994-12-15 1996-06-25 Fanuc Ltd Teaching console panel for robot
JP2000311002A (en) * 1999-03-11 2000-11-07 Eaton Corp Data interface module and display method for parameter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5311291A (en) * 1976-07-16 1978-02-01 Shin Meiwa Ind Co Ltd Method and device of positional control
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5311291A (en) * 1976-07-16 1978-02-01 Shin Meiwa Ind Co Ltd Method and device of positional control
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08166814A (en) * 1994-12-15 1996-06-25 Fanuc Ltd Teaching console panel for robot
JP2000311002A (en) * 1999-03-11 2000-11-07 Eaton Corp Data interface module and display method for parameter

Also Published As

Publication number Publication date
JP2760125B2 (en) 1998-05-28

Similar Documents

Publication Publication Date Title
JP4122652B2 (en) Robot control device
KR0126279B1 (en) Safety operating system for manipulator
US10856945B2 (en) Industrial robot and method of operating the same
JP2000024968A (en) Robot controller
JPH03254369A (en) Welding robot controller
JPH03250305A (en) Robot controller
JPH03218502A (en) Teaching device for robot
JP2838928B2 (en) Operation display of manipulator
JPS61131001A (en) Controller for robot
JPH01156804A (en) Teaching/reproducing method for industrial joint type robot
JPH0588720A (en) Method and device for return control of robot to original point
JPS6033608A (en) Remote control robot
JPS59229614A (en) Robot control device
JPS6213151B2 (en)
JP3174218B2 (en) Industrial robot control method
JPS6041361B2 (en) arc welding robot
JPH0749246A (en) Encoder system
JPS60173611A (en) Information monitor method of positioner for robot
JP3270936B2 (en) Robot controller
JPH01154206A (en) Teaching box
JP2007199936A (en) Robot controller
JPS6113309A (en) Robot teaching system
JP2005118968A (en) Robot system
JPH0596481A (en) Robot control device
JP2023131893A (en) Robot teaching control method, robot teaching device and robot system