JP2577003B2 - Robot control method - Google Patents

Robot control method

Info

Publication number
JP2577003B2
JP2577003B2 JP22312387A JP22312387A JP2577003B2 JP 2577003 B2 JP2577003 B2 JP 2577003B2 JP 22312387 A JP22312387 A JP 22312387A JP 22312387 A JP22312387 A JP 22312387A JP 2577003 B2 JP2577003 B2 JP 2577003B2
Authority
JP
Japan
Prior art keywords
robot
interlock
input
output
data
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
JP22312387A
Other languages
Japanese (ja)
Other versions
JPS6466704A (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 JP22312387A priority Critical patent/JP2577003B2/en
Publication of JPS6466704A publication Critical patent/JPS6466704A/en
Application granted granted Critical
Publication of JP2577003B2 publication Critical patent/JP2577003B2/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 relates to a robot which cooperates with a production machine or the like. The present invention relates to a robot control method capable of performing such operations.

(従来の技術) 一般的に、産業界においてはロボットを用いて各種製
品の加工,組立て等の作業を行なっているが、これらの
作業をロボットに行なわせるためには、あらかじめロボ
ットにこれらの作業を行なうためのデータを教示する必
要がある。
(Prior Art) In general, in the industry, robots perform operations such as processing and assembling of various products. In order for the robots to perform these operations, the robots need to perform these operations in advance. It is necessary to teach data for performing.

この教示は、ロボットの制御を行なうロボット制御装
置をマニュアル操作にし、このロボットを構成する各ア
ーム等を所定の位置に設定し、次に、この位置を前記ロ
ボット制御装置に記憶させるという操作を全作業点につ
いて行なうことによって成される。また、この教示と同
時に、このロボットの動作に同期して他の生産機械等を
制御する外部制御装置と前記ロボット制御装置との間の
インターロックに関するデータも前記外部制御装置及び
前記ロボット制御装置に記憶される。
This teaching involves a manual operation of a robot controller for controlling the robot, setting each arm and the like constituting the robot at a predetermined position, and then storing the position in the robot controller. This is done by working on the working points. Simultaneously with this teaching, data relating to an interlock between the robot controller and an external controller that controls another production machine or the like in synchronization with the operation of the robot is also transmitted to the external controller and the robot controller. It is memorized.

このようにして教示されたロボットは、第4図に示す
動作フローチャートに従ってプレイバック動作を行な
う。以下に、この動作フローチャートを説明する。
The robot taught in this manner performs a playback operation according to the operation flowchart shown in FIG. Hereinafter, the operation flowchart will be described.

プログラムがスタートすると、ロボット制御装置は、
前記した外部制御装置から次の作業点における入力イン
ターロックが入力されているかどうかの判断をし、入力
インターロックが入力されていなければロボットは運転
動作に入らず、入力されていればロボットは現在の位置
から次の教示されたポイントである作業点に移動する。
When the program starts, the robot controller will
It is determined whether or not the input interlock at the next work point has been input from the external control device.If the input interlock has not been input, the robot does not enter the driving operation. From the position to the work point which is the next taught point.

つまり、入力インターロックは外部制御装置によって
制御されている生産機械等が所定の作業を終了し、ロボ
ットが作動しても危険でない状態になった場合にロボッ
ト制御装置に出力され、この入力インターロックが出力
されて始めてロボットは作動可能状態になるようになっ
ている(ステップ1,2)。そして、ロボット制御装置は
前記した作業点に位置決めが完了したかどうかの判断を
し、位置決めが完了していなければ目標点に移動する処
理を続行し、一方、位置決めが完了していればロボット
制御装置は外部制御装置に現在の作業点における出力イ
ンターロックを出力する。この出力インターロックが出
力されると、前記した生産機械等が作動可能状態とな
り、所定の作業を行なうようになっている(ステップ3,
4)。そして、このプレイバック動作は教示した順序と
同順(以降、前進方向という。)に行なう場合も逆順
(以降、後退方向という。)に行なう場合も同様に処理
が成される。
In other words, the input interlock is output to the robot controller when the production machine or the like controlled by the external controller finishes the predetermined operation and the robot becomes in a non-dangerous state even when the robot is operated. The robot is ready for operation only after the is output (steps 1 and 2). Then, the robot controller determines whether or not the positioning at the working point has been completed. If the positioning has not been completed, the robot controller continues the process of moving to the target point. The device outputs the output interlock at the current working point to the external controller. When the output interlock is output, the above-described production machine or the like is in an operable state, and performs a predetermined operation (Step 3,
Four). This playback operation is performed in the same order as the teaching order (hereinafter referred to as the forward direction) or in the reverse order (hereinafter referred to as the backward direction).

さらにわかり易く説明すると、ロボット制御装置に教
示されているインターロックに関するデータ及び外部制
御装置に教示されているインターロックに関するデータ
は第5図(A)に示すようなものであり、外部制御装置
には、ロボットのティーチポイント毎にA,B,C,Dの入力
インターロックデータが記憶されており、ロボット制御
装置には、ロボットのティーチポイント毎にE,F,G,Hの
出力インターロックデータが記憶されている。
More specifically, data related to the interlock taught by the robot controller and data related to the interlock taught to the external controller are as shown in FIG. 5 (A). A, B, C, D input interlock data is stored for each robot teach point, and the E, F, G, H output interlock data is stored in the robot controller for each robot teach point. It is remembered.

そして、ロボットプレイバックを教示した順序で行な
うと、同図(B)に示すように、ポイント1からポイン
ト2の区間内においては外部制御装置にはFというイン
ターロックを出力し、生産機械等がロボットの移動中に
このロボットと干渉等しないように制御され、一方、ロ
ボット制御装置は、外部制御装置からCというインター
ロックが入力されていることを確認しつつロボットを次
のポイントに移動させる。したがって、ロボットと生産
機械等は、相互に作動可能状態であることを確認しつつ
動作することになる。
When the robot playback is performed in the teaching order, an interlock F is output to the external control device in the section from point 1 to point 2 as shown in FIG. During the movement of the robot, the robot is controlled so as not to interfere with the robot. On the other hand, the robot controller moves the robot to the next point while confirming that the interlock C is input from the external controller. Therefore, the robot and the production machine operate while confirming that they are operable with each other.

(発明が解決しようとする問題点) しかしながら、このような従来のロボット制御方法に
あっては、前進方向にロボットをプレイバックする場合
も後退方向にプレイバックする場合も、外部制御装置か
らロボット制御装置に入力される入力インターロックは
次の作業点のポイントのものであり、また、ロボット制
御装置から外部制御装置に出力される出力インターロッ
クは現在のポイントのものであったので、第5図(B)
と(C)とを比較すれば明らかなように、同一の区間を
ロボットが動作する場合でもプレイバックの方向によっ
て入力インターロックのデータと出力インターロックの
データとが異なってしまうという問題があった。
(Problems to be Solved by the Invention) However, in such a conventional robot control method, when the robot is played back in the forward direction or in the backward direction, the robot control from the external control device is performed. Since the input interlock input to the device was at the next working point, and the output interlock output from the robot controller to the external controller was at the current point, FIG. (B)
As is clear from the comparison between (C) and (C), there is a problem that the input interlock data and the output interlock data differ depending on the playback direction even when the robot operates in the same section. .

すなわち、前進方向にプレイバックした場合には、同
図(B)に示すように、ロボットがポイント1〜2間を
動作する場合には、入力インターロックがCで出力イン
ターロックがFであるが、後退方向にプレイバックした
場合には、同図(C)に示すように、ロボットが同区間
を動作する場合であっても入力インターロックがBで出
力インターロックがGとなってしまう。これでは生産機
械等とロボットとが完全なインターロックがとれなくな
り、後退方向のプレイバック動作が実質的にできないこ
とになる。
That is, when the robot performs playback between the points 1 and 2 when playing back in the forward direction, the input interlock is C and the output interlock is F, as shown in FIG. In the case of playback in the backward direction, the input interlock is B and the output interlock is G even when the robot operates in the same section as shown in FIG. This makes it impossible to completely interlock the production machine or the like with the robot, and the playback operation in the backward direction cannot be substantially performed.

本発明は、このような従来の問題点に鑑みて成された
ものであり、ロボットを前進方向、または、後退方向の
何れの方向にプレイバックした場合であっても、所定の
区間における入力インターロックと出力インターロック
とが同一になるようにし、後退方向のプレイバックを可
能にするロボットの制御方法を提供することを目的とす
る。
The present invention has been made in view of such a conventional problem, and an input interface in a predetermined section is provided regardless of whether the robot is played back in a forward direction or a backward direction. An object of the present invention is to provide a control method of a robot in which a lock and an output interlock are made the same and playback in a backward direction is enabled.

(問題点を解決するための手段) 前記目的を達成するための本発明は、経路上の有限個
の作業点を所定の順序で教示し、プレイバック時には、
この教示した順序あるいはこの教示した順序とは逆順に
前記作業点をたどって所定の作業を行なうロボットの制
御方法において、所定の作業点間を通過する場合には、
前記作業点をたどる順序にかかわらず夫々同一のインタ
ーロック信号を外部の装置に出力するとともに当該外部
の装置から入力するようにしたことを特徴とするもので
ある。
(Means for Solving the Problems) The present invention for achieving the above object teaches a finite number of working points on a path in a predetermined order, and at the time of playback,
In the robot control method of performing the predetermined work by following the work point in the order taught or in the reverse order of the taught order, when passing between predetermined work points,
The same interlock signal is output to an external device and input from the external device irrespective of the order in which the operation points are traced.

(作用) この方法によれば、ロボットが所定の作業区間を通過
する場合に、教示した順序あるいはこの順序と逆順にこ
の作業区間を通過しても、外部の装置に出力するインタ
ーロックのデータと外部の装置から入力するインターロ
ックのデータとが同一のものとなるので、ロボットが何
れの方向からもプレイバックさせることができることに
なる。
(Operation) According to this method, when the robot passes through a predetermined work section, even if the robot passes through the work section in the order taught or in the reverse order, the interlock data to be output to an external device and Since the interlock data input from the external device is the same, the robot can play back from any direction.

(実施例) 以下に本発明の実施例を図面に基づいて説明する。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図には、本発明のロボットの制御方法により動作
するロボット制御装置の概略構成図が示してある。
FIG. 1 is a schematic configuration diagram of a robot control device that operates according to the robot control method of the present invention.

同図に示すように、ロボット1の動作を制御するロボ
ット制御装置2は、このロボット1の動作に必要な信号
の演算を行なう中央処理装置(CPU)3と、この中央処
理装置3に接続され、ロボット1の動作に必要な基本的
プログラムを記憶しているROM4及びロボット1の動作に
必要な各種のデータを記憶するRAM5と、図示しない生産
ラインに配設されている生産機械等を総括制御する外部
の装置としての上位コンピュータにデータを出力し、あ
るいは入力するI/Oポート6と、I/Oポート6から出力さ
れた動作信号に基づいてロボット1を構成するアーム7
等を作動させる駆動回路8とで構成されている。なお、
RAM5には、第5図(A)に示したようなティーチポイン
ト毎の出力インターロックデータが記憶されている。
As shown in FIG. 1, a robot controller 2 for controlling the operation of the robot 1 is connected to a central processing unit (CPU) 3 for calculating signals required for the operation of the robot 1 and to the central processing unit 3. A ROM 4 storing a basic program necessary for the operation of the robot 1 and a RAM 5 storing various data necessary for the operation of the robot 1, and a general control of a production machine disposed on a production line (not shown). An I / O port 6 for outputting or inputting data to a host computer as an external device, and an arm 7 constituting the robot 1 based on an operation signal output from the I / O port 6
And a drive circuit 8 for operating the same. In addition,
The RAM 5 stores output interlock data for each teach point as shown in FIG. 5 (A).

次に、以上のように構成されたロボット制御装置は、
第2図に示す動作フローチャートに基づいて以下のよう
に動作する。
Next, the robot control device configured as described above,
The operation is performed as follows based on the operation flowchart shown in FIG.

まず、ロボット制御装置2の中央処理装置3は、ロボ
ット1の運転方向が前進方向であるか後退方向であるか
を判断し(ステップ10)、この運転方向が前進方向であ
れば、中央処理装置3は、I/Oポート2を介して上位コ
ンピュータから目標点の入力インターロックのデータを
入力するとともに、この入力インターロックのデータが
目標点のデータであることを確認し(ステップ11)、RO
M4に記憶されているロボット1の動作プログラムに基づ
いてアーム7等を目標点まで動作させる(ステップ1
2)。
First, the central processing unit 3 of the robot controller 2 determines whether the operation direction of the robot 1 is the forward direction or the backward direction (step 10). If the operation direction is the forward direction, the central processing unit 3 3 inputs the input point interlock data from the host computer via the I / O port 2 and confirms that the input interlock data is the target point data (step 11).
The arm 7 and the like are moved to the target point based on the operation program of the robot 1 stored in M4 (step 1).
2).

次に、中央処理装置3は、I/Oポート6を介してロボ
ット1に備えられている位置検出からのアーム7等の位
置信号を入力し、目標点に位置決めが完了したかどうか
の判断をし(ステップ13)位置決めが完了していれば、
中央処理装置3は、現在点における出力インターロック
のデータをRAM5から取出し、I/Oポート6を介して上位
コンピュータに出力する(ステップ14)。
Next, the central processing unit 3 inputs a position signal of the arm 7 or the like from the position detection provided in the robot 1 via the I / O port 6 and determines whether or not the positioning at the target point is completed. (Step 13) If positioning is completed,
The central processing unit 3 takes out the data of the output interlock at the current point from the RAM 5 and outputs it to the host computer via the I / O port 6 (step 14).

以上は、ロボット1を前進方向に動作させた場合であ
るので、ロボット制御装置2は、従来と同様に入力及び
出力のインターロックのデータを授受することになる。
Since the above is the case where the robot 1 is operated in the forward direction, the robot controller 2 exchanges input and output interlock data as in the conventional case.

一方、ステップ10において判断された運転方向が後退
方向である場合には、中央処理装置3は、上位コンピュ
ータから現在点における入力インターロックのデータを
入力し(ステップ15)、中央処理装置3は、目標点にお
ける出力インターロックのデータをRAM5から取出し、I/
Oポート6を介して上位コンピュータに出力する(ステ
ップ16)。
On the other hand, when the driving direction determined in step 10 is the reverse direction, the central processing unit 3 inputs the data of the input interlock at the current point from the host computer (step 15), and the central processing unit 3 The output interlock data at the target point is fetched from RAM5 and
The data is output to the host computer via the O port 6 (step 16).

次に、中央処理装置3は、ROM4に記憶されているロボ
ット1の動作プログラムに基づいてアーム7等を目標点
まで動作させ(ステップ17)、I/Oポート6を介してロ
ボット1に備えられている位置検出からのアーム7等の
位置信号を入力し、目標点に位置決めが完了したかどう
かの判断をする(ステップ18)。
Next, the central processing unit 3 operates the arm 7 and the like to the target point based on the operation program of the robot 1 stored in the ROM 4 (step 17), and is provided to the robot 1 via the I / O port 6. The position signal of the arm 7 or the like from the detected position is input, and it is determined whether or not the positioning at the target point is completed (step 18).

このように、ロボット1を後退方向に動作させた場合
には、入力インターロックは現在点のデータを入力し、
また、出力インターロックは目標点のデータを出力する
ことになる。
As described above, when the robot 1 is operated in the backward direction, the input interlock inputs data of the current point,
The output interlock outputs data of the target point.

したがって、第3図に示すように、ロボット1をティ
ーチポイント1とティーチポイント2との区間を前進方
向及び後退方向の何れの方向で動作させても入力インタ
ーロックはCのデータであり、また、出力インターロッ
クはFのデータであるので、動作の方向にかかわらず夫
々同一のインターロックのデータを上位コンピュータに
あるいは上位コンピュータから入出力されるようにな
る。
Therefore, as shown in FIG. 3, the input interlock is C data regardless of whether the robot 1 operates the section between the teach point 1 and the teach point 2 in any of the forward direction and the backward direction. Since the output interlock is F data, the same interlock data is input to and output from the host computer or from the host computer regardless of the operation direction.

(発明の効果) 以上の説明により明らかなように、本発明によれば、
所定の作業点間を通過する場合には、前記作業点をたど
る順序にかかわらず夫々同一のインターロック信号を外
部の装置に出力するとともに当該外部の装置から入力す
るようにしたので、同一の作業点間においては同一のイ
ンターロック信号が入出力されることになり、ロボット
を教示した方向の同一及びそれとは逆の方向のいずれの
方向にも動作させることができる。
(Effect of the Invention) As is clear from the above description, according to the present invention,
When passing between the predetermined work points, the same interlock signal is output to an external device and input from the external device regardless of the order of following the work points. The same interlock signal is input and output between the points, so that the robot can be operated in the same direction as the direction in which the robot was taught and in the opposite direction.

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

第1図は、本発明のロボットの制御方法により動作する
ロボット制御装置の概略構成図、第2図は、本発明のロ
ボットの制御方法を示すフローチャート、第3図は、本
発明のロボットの制御方法の説明に供する図、第4図
は、従来のロボットの制御方法を示すフローチャート、
第5図(A),(B),(C)は従来のロボットの制御
方法の説明に供する図である。 1……ロボット、2……ロボット制御装置。
FIG. 1 is a schematic configuration diagram of a robot control device that operates by the robot control method of the present invention, FIG. 2 is a flowchart showing the robot control method of the present invention, and FIG. FIG. 4 is a flowchart illustrating a conventional robot control method,
FIGS. 5A, 5B, and 5C are diagrams for explaining a conventional robot control method. 1 ... Robot, 2 ... Robot control device.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】経路上の有限個の作業点を所定の順序で教
示し、プレイバック時には、この教示した順序あるいは
この教示した順序とは逆順に前記作業点をたどって所定
の作業を行なうロボットの制御方法において、所定の作
業点間を通過する場合には、前記作業点をたどる順序に
かかわらず夫々同一のインターロック信号を外部の装置
に出力するとともに当該外部の装置から入力するように
したことを特徴とするロボットの制御方法。
1. A robot which teaches a finite number of work points on a path in a predetermined order, and performs a predetermined work by following the work points in playback order or in reverse order to the playback order during playback. In the control method, when passing between predetermined work points, the same interlock signal is output to an external device and input from the external device regardless of the order of following the work points. A method for controlling a robot, comprising:
JP22312387A 1987-09-08 1987-09-08 Robot control method Expired - Lifetime JP2577003B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22312387A JP2577003B2 (en) 1987-09-08 1987-09-08 Robot control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22312387A JP2577003B2 (en) 1987-09-08 1987-09-08 Robot control method

Publications (2)

Publication Number Publication Date
JPS6466704A JPS6466704A (en) 1989-03-13
JP2577003B2 true JP2577003B2 (en) 1997-01-29

Family

ID=16793175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22312387A Expired - Lifetime JP2577003B2 (en) 1987-09-08 1987-09-08 Robot control method

Country Status (1)

Country Link
JP (1) JP2577003B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5375323A (en) * 1991-10-30 1994-12-27 Nsk Ltd. Method for securing shaft of cam follower device for valve action mechanism
WO2008097463A1 (en) * 2007-02-02 2008-08-14 The Gillette Company Brush section for an electric toothbrush
JP5994511B2 (en) * 2012-09-19 2016-09-21 株式会社Ihi Multi-point work device and control method thereof

Also Published As

Publication number Publication date
JPS6466704A (en) 1989-03-13

Similar Documents

Publication Publication Date Title
US6124693A (en) Robot controller
EP0383944B1 (en) Action teaching method and control apparatus for a robot
JP2684359B2 (en) Robot work Cartesian coordinate system setting device
JP3207409B2 (en) Robot tool attitude control method
JPH06187023A (en) Safety operation system for manipulator and safety operation system for robot
JP2548027B2 (en) Arc vision sensor operation method
US4912383A (en) Method of controlling a robot
JP2577003B2 (en) Robot control method
JP2786874B2 (en) Movable position control device
JP2019171498A (en) Robot program execution device, robot program execution method and program
JPH05345291A (en) Working area limitation for robot
JPS62251901A (en) Course controller for multiaxis robot
JPH0639760A (en) Control device for robot
JP3191341B2 (en) Robot controller
KR102004228B1 (en) The universal high speed/precision controller for six axis manipulator
JPH08106320A (en) Automatic machine and control method for automatic machine
JPS60195616A (en) Industrial robot
WO1990000765A1 (en) Numerical controller
JPS60101606A (en) Automatic robot operation system
JPH0876827A (en) Acceleration and deceleration control system
JPH04279901A (en) Controller for industrial robot
JPH07205068A (en) Coordinate system setting method of robot
JP2953925B2 (en) Control device for driving parts
JP2637237B2 (en) Industrial robot controller
JPH03276208A (en) Robot controller

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term