JPH01320504A - Robot control method - Google Patents

Robot control method

Info

Publication number
JPH01320504A
JPH01320504A JP15587188A JP15587188A JPH01320504A JP H01320504 A JPH01320504 A JP H01320504A JP 15587188 A JP15587188 A JP 15587188A JP 15587188 A JP15587188 A JP 15587188A JP H01320504 A JPH01320504 A JP H01320504A
Authority
JP
Japan
Prior art keywords
robot
data
program
control
control method
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.)
Pending
Application number
JP15587188A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Imanishi
今西 嘉幸
Akira Fukuda
晃 福田
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries 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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP15587188A priority Critical patent/JPH01320504A/en
Publication of JPH01320504A publication Critical patent/JPH01320504A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily attain the synchronism of a robot operation with the control of a peripheral equipment, etc., without making a program into a large scale by performing a processing in which the program is set in advance based on a condition where the control coincides with a prescribed robot operating state designated in advance. CONSTITUTION:The data of the robot operating state is supplied to an interpreter 1 as a processor periodically while a robot operation control means 2 performs the control of a robot main body 8. The interpreter 1 to which the data of the robot operating state is supplied performs a processing set by the program in advance based on the condition where the control coincides with the prescribed robot operating state designated in advance. In such a way, it is possible to perform the processing of the peripheral equipment 9 synchronizing with the robot operation.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明はロボット制御方法に関し、さらに詳細にいえ
ば、ロボット制御のための各種処理を行なわせるプログ
ラムに基づいてきめ細かいロボット動作指令データを生
成してロボット本体を動作させるとともに、周辺機器を
も動作させるようにしたロボット制御方法に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a robot control method, and more specifically, a method for generating detailed robot motion command data based on a program that performs various processes for robot control. The present invention relates to a robot control method for operating a robot body and also operating peripheral devices.

〈従来の技術、および発明が解決しようとする課題〉 従来から産業ロボットに代表される各種ロボットが提供
されており、当初においては、単に予め設定されたプロ
グラムに基づく一連のロボット動作を行なうことができ
るものが主流であったが、最近では、高機能化の要請が
強く、単なるロボット動作のみならず、周辺機器の制御
、入出力処理等をも行なわせることができるロボットの
開発が行なわれている。
<Prior art and problems to be solved by the invention> Various types of robots, including industrial robots, have been provided for a long time, and at the beginning, they were designed to simply perform a series of robot movements based on a preset program. However, recently there has been a strong demand for higher functionality, and robots have been developed that can not only perform simple robot movements but also control peripheral devices, input/output processing, etc. There is.

第5図は後者のロボットに対応する制御装置の構成を示
すブロック図であり、メインプロセッサとしてのインタ
プリタ(21)によりプログラムを遂行し、ロボット動
作を行なわせるためのプログラムに対応させて必要なデ
ータを軌道計画データ生成部(22)に供給し、軌道計
画データ生成部(22)において生成された軌道計画デ
ータに基づいて補間演算部(23)においてきめ細かい
ロボット動作指令データを生成し、座標変換部(24)
においてロボット動作指令データに座標変換処理を施し
てロボット動作部(25)に供給することにより、プロ
グラムで設定された通りのロボット動作を行なわせるよ
うにしている。また、上記インタプリタ(21)との間
で必要なデータの授受が行なわれる周辺機器処理部(2
6)を有している。
FIG. 5 is a block diagram showing the configuration of a control device corresponding to the latter robot, in which an interpreter (21) serving as a main processor executes a program, and necessary data is required in correspondence with the program to cause the robot to operate. is supplied to the trajectory planning data generation unit (22), and based on the trajectory planning data generated in the trajectory planning data generation unit (22), fine-grained robot movement command data is generated in the interpolation calculation unit (23), and the coordinate transformation unit (24)
In this step, the robot operation command data is subjected to coordinate transformation processing and supplied to the robot operation section (25), thereby causing the robot to perform the robot operation as set in the program. Additionally, the peripheral device processing unit (2) exchanges necessary data with the interpreter (21).
6).

上記の構成のロボット制御装置において、例えば、第3
図に示すようにターンテーブル(11)の凹所(12)
にワーク(工3)が収容されており、このワーク(13
)をロボット本体により持上げる途中においてワーク(
13)とターンテーブル(11)とが干渉し合わなくな
った時点でターンテーブル(11)を回転させるために
、インタプリタ(21)において下記のBAS I C
プログラムが設・定されていると仮定する。
In the robot control device having the above configuration, for example, the third
Recess (12) in turntable (11) as shown
A workpiece (work 3) is stored in the , and this workpiece (13
) while the robot body is lifting the workpiece (
13) and the turntable (11) no longer interfere with each other, in order to rotate the turntable (11), the following BASIC
Assuming the program is configured.

この場合には、先ずmove P3のインストラクショ
ンに基づいて、ワーク(13)とターンテーブル(11
)とが干渉し合わない点P3までのロボット動作を行な
わせ、所定のタイミングにおいてout −1のインス
トラクションに基いて周辺機器処理部(2B)によりタ
ーンテーブル(11)の回転を行なわせ、次いで5ov
e P2のインストラクションに基づいて点P2までの
ロボット動作を行なわせ、以下、表記されていないイン
ストラクションに基くロボット動作を行なわせ、所期の
処理結果を得ることができる。
In this case, first move the workpiece (13) and turntable (11) based on the move P3 instruction.
), the robot moves to a point P3 where the two do not interfere with each other, and at a predetermined timing, the peripheral device processing unit (2B) rotates the turntable (11) based on the out -1 instruction.
e The robot is made to move up to point P2 based on the instruction at P2, and thereafter the robot is made to move based on unwritten instructions to obtain the desired processing result.

記 10  move  P3 20  out  =  1 30  move  P2 尚、上記のプログラムはロボット制御を行なうための一
例を示すものであり、実際には、必要な順序でロボット
動作、周辺機器の制御および入出力処理等を行なわせる
ために最も適したプログラムを作成することにより、か
なり複雑なロボット制御に対処することができる。
Note 10 move P3 20 out = 1 30 move P2 The above program shows an example for controlling the robot, and in reality, robot operations, peripheral device control, input/output processing, etc. are executed in the necessary order. By creating the most suitable program to perform this, it is possible to handle fairly complex robot control.

しかし、上記の構成のロボット制御装置においては、ロ
ボット制御のために必要な多数のインストラクションを
一連のプログラムとして作成している関係上、ロボット
動作以外に、周辺機器を制御するためのインストラクシ
ョンの実行タイミングをユーザが簡単に設定することが
できないという問題がある。
However, in the robot control device with the above configuration, a large number of instructions necessary for robot control are created as a series of programs, so in addition to the robot operation, the execution timing of instructions for controlling peripheral devices is There is a problem that the user cannot easily set the .

さらに詳細に説明すると、例えば、上記プログラムに基
くロボット制御を行なわせる場合には、ワーク(13)
とターンテーブル(11)とが干渉し合わない位置P3
を予め教示しておくか、または上記位置P3を計算して
おくことが必要になるのであるから、周辺機器処理部(
2B)によりターンテーブル(11)を回転させ始める
タイミングを正確に設定することが困難になってしまう
のである。実際には、ターンテーブル(11)を回転さ
せ始めるタイミングのみならず停止させるタイミングも
必要になり、さらに他の周辺機器の制御、入出力処理等
をも行なおうとすれば、ロボット動作を制御するための
インストラクションをきめ細かく設定し、しかもきめ細
かく設定されたインストラクション列中に条件分岐イン
ストラクション、周辺機器制御インストラクション、デ
ータ入出力インストラクションを設定するために、教示
し、または算出すべき点の数が著しく増加するので、プ
ログラムが大型化し、プログラミングが困難になってし
まい、またはプログラム容量が著しく増加してしまうと
いう問題がある。
To explain in more detail, for example, when controlling the robot based on the above program, the workpiece (13)
Position P3 where the and turntable (11) do not interfere with each other
Since it is necessary to teach the above-mentioned position P3 in advance or calculate the above-mentioned position P3, the peripheral device processing section (
2B) makes it difficult to accurately set the timing to start rotating the turntable (11). In reality, you need not only the timing to start rotating the turntable (11), but also the timing to stop it, and if you also want to control other peripheral devices, input/output processing, etc., you will need to control the robot movement. The number of points that must be taught or calculated increases significantly in order to set detailed instructions for processing, and to set conditional branch instructions, peripheral device control instructions, and data input/output instructions in the finely set instruction string. Therefore, there are problems in that the program becomes large, programming becomes difficult, or the program capacity increases significantly.

〈発明の目的〉 この発明は上記の問題点に鑑みてなされたものであり、
プログラムの大型化を伴なうことなく、ロボット動作と
周辺機器の制御等との同期を簡単に達成することができ
るロボット制御方法を提供することを目的としている。
<Object of the invention> This invention was made in view of the above problems,
It is an object of the present invention to provide a robot control method that can easily achieve synchronization between robot motion and control of peripheral devices, etc., without increasing the size of the program.

〈課題を解決するための手段〉 上記の目的を達成するための、この発明のロボット制御
方法は、ロボット動作制御手段がロボット本体の制御を
行なっている間、定期的にロボット動作状態データをプ
ロセッサに供給し、ロボット動作状態データが供給され
たプロセッサにおいて、予め指示されている所定のロボ
ット動作状態と一致したことを条件として予めプログラ
ムで設定されている処理を行なう方法である。
<Means for Solving the Problems> In order to achieve the above object, the robot control method of the present invention includes periodically processing robot operation state data into a processor while the robot operation control means is controlling the robot body. In this method, the processor to which the robot operating state data is supplied performs processing preset in a program on the condition that the robot operating state matches a predetermined robot operating state instructed in advance.

但し、動作指令データにおいて予め指示されている特定
のロボット動作状態が、ロボット本体の動作が所定割合
まで進んだ状態であってもよく、また、データが供給き
れたことを条件として開始すべくプロセッサに予め設定
されている処理が、周辺機器を動作させることにより行
なわれる処理であってもよい。
However, the specific robot operation state specified in advance in the operation command data may be a state in which the operation of the robot body has progressed to a predetermined rate, and the processor The preset process may be a process performed by operating a peripheral device.

く作用〉 以上のロボット制御方法であれば、ロボット制御のため
の各種処理を行なわせるプログラムが設定されているプ
ロセッサからの動作指令データに基づいて、ロボット動
作制御手段によりきめ細かいロボット動作指令データを
生成してロボット本体を動作させる場合において、ロボ
ット動作制御手段がロボット本体の制御を行なっている
間、定期的にロボット動作状態データをプロセッサに供
給し、ロボット動作状態データが供給されたプロセッサ
において、予め指示されている所定のロボット動作状態
と一致したことを条件として予めプログラムで設定され
ている処理を行なうようにしているので、一連のロボッ
ト動作を必要最小限のインストラクションで指令するこ
とができる。そして、インストラクションにより指令さ
れたロボット動作を行なっている間に予め設定された所
定のロボット動作状態が出現するのであるから、定期的
に供給されるロボット動作状態データに基づいてプロセ
ッサにおいてプログラムで予め設定された所定のロボッ
ト動作状態が出現したことを識別することができ、識別
結果に基づいて予め設定されている処理を開始させるこ
とにより、ロボット動作と同期した状態での周辺機器の
処理を行なわせることができる。即ち、一連のロボット
動作を開始させた後における周辺機器との間でのデータ
授受タイミングをロボット動作と関連させて設定するこ
とができるので、タクトタイムを短縮することができる
With the robot control method described above, detailed robot motion command data is generated by the robot motion control means based on motion command data from a processor in which programs for performing various processes for robot control are set. In the case where the robot body is operated by the robot operation control means, the robot operation state data is periodically supplied to the processor while the robot operation control means is controlling the robot body, and the processor to which the robot operation state data has been supplied is Since the process set in advance in the program is performed on the condition that the robot operation state matches the specified predetermined robot operation state, a series of robot operations can be commanded with a minimum number of instructions. Since a predetermined robot operation state appears while the robot is performing the robot operation commanded by the instructions, the preset robot operation state can be set in advance by a program in the processor based on the robot operation state data that is periodically supplied. It is possible to identify that a predetermined robot operation state has appeared, and by starting preset processing based on the identification result, peripheral equipment processing is performed in synchronization with the robot operation. be able to. That is, since the timing of data exchange with peripheral devices after starting a series of robot operations can be set in relation to the robot operations, the takt time can be shortened.

そして、動作指令データにおいて予め指示されている特
定のロボット動作状態が、ロボット本体の動作が所定割
合まで進んだ状態である場合には、ロボット動作軌跡上
における座標データを算出する必要がなくなるので、ロ
ボット動作軌跡を正確に考慮することなく所定のロボッ
ト動作状態を規定するインストラクションを記述するこ
とができ、プログラミングを簡素化することができる。
If the specific robot operation state specified in advance in the operation command data is a state in which the movement of the robot body has progressed to a predetermined rate, there is no need to calculate coordinate data on the robot operation trajectory. It is possible to write instructions that define a predetermined robot operation state without accurately considering the robot operation trajectory, and programming can be simplified.

・また、データが供給されたことを条件として開始すべ
くプロセッサに予め設定されている処理が、周辺機器を
動作させることにより行なわれる処理である場合には、
ロボット動作と密接な関連を有している他の周辺機器の
動作を正確なタイミングで行なわせることができ、著し
く高精度のロボット制御を達成することができる。
・Also, if the process that is preset in the processor to start on the condition that data is supplied is a process that is performed by operating a peripheral device,
Other peripheral devices that are closely related to the robot operation can be operated at accurate timing, and extremely highly accurate robot control can be achieved.

〈実施例〉 以下、実施例を示す添付図面によって詳細に説明する。<Example> Hereinafter, embodiments will be described in detail with reference to the accompanying drawings showing examples.

第2図はこの発明のロボット制御方法を実施するための
ロボット制御装置の概略構成を示すブロック図であり、
ロボット制御のためのBAS X Cプログラムを実行
するインタプリタ(1)と、インタプリタ(1)から出
力されるデータを入力としてきめ細かいロボット動作指
令データを生成し、ロボット本体(8)を動作させると
ともに、ロボット本体(8)を動作させている間、定期
的にロボット動作状態を示すデータをインタプリタ(1
)に供給するロボット動作制御部(2)とを有している
。そして、上記インタプリタ(1)により制御される周
辺機器(9)を有している。
FIG. 2 is a block diagram showing a schematic configuration of a robot control device for implementing the robot control method of the present invention.
An interpreter (1) executes a BAS While the main body (8) is operating, data indicating the robot operating status is periodically sent to the interpreter (1).
). It also has peripheral equipment (9) controlled by the interpreter (1).

上記ロボット動作制御部(2)は、インタプリタ(1)
から出力されるデータを入力としてロボット動作パター
ンデータを生成する軌道計画データ生成部(3)と、軌
道計画データ生成部(3)から出力されるデータを格納
するメモリ(4)と、メモリ(4)から必要なデータを
読出して、ロボット動作パターンデータに基づく捕間演
算を行なうとともに、所定時間毎に演算結果に基づくロ
ボット動作状態データをプロセッサ(1)に供給する動
作指令データ生成部(5)と、捕間演算結果データを入
力として座標変換を施す座標変換部(6)と、座標変換
部(6)において座標変換が施されたデータを入力とし
て必要なロボット動作を行なわせるロボット動作部のと
から構成されている。
The robot motion control section (2) is configured by an interpreter (1).
a trajectory planning data generation section (3) that generates robot motion pattern data by inputting data output from the trajectory planning data generation section (3); a memory (4) that stores data output from the trajectory planning data generation section (3); ), performs interpolation calculations based on the robot movement pattern data, and supplies robot movement status data based on the calculation results to the processor (1) at predetermined time intervals. , a coordinate transformation section (6) that performs coordinate transformation by inputting interpolation calculation result data, and a robot movement section that performs necessary robot motions by inputting data that has been subjected to coordinate transformation in coordinate transformation section (6). It is composed of.

さらに詳細に説明すると、上記インタプリタ(1)はB
AS I Cプログラムを順次実行するものであり、ロ
ボット制御のための各種処理を行なわせるBAS I 
Cプログラムが設定されているとともに、周辺機器処理
、データ入出力処理の如き特定の処理を開始するための
条件が設定されている。そして、上記ロボット動作制御
部0から所定のロボット動作状態データが供給されたこ
とを条件として上記特定の処理を開始するようにしてい
る。
To explain in more detail, the above interpreter (1) is B
It is a BAS I C program that executes ASIC programs sequentially and performs various processes for robot control.
A C program is set, and conditions for starting specific processes such as peripheral device processing and data input/output processing are also set. Then, the above-mentioned specific processing is started on condition that predetermined robot movement state data is supplied from the robot movement control section 0.

上記軌道計画データ生成部(3)は、インタプリタ(1
)から出力されるロボット動作コマンドを入力としてロ
ボット動作パターンデータ(動作速度データ等)を生成
してメモリ(4)に格納するとともに、現在位置データ
と目標位置データとに基づいて得られる全移動距離デー
タを算出してメモリ(4)に格納する。
The above-mentioned trajectory planning data generation unit (3) uses an interpreter (1
) Generates robot movement pattern data (operation speed data, etc.) by inputting robot movement commands output from the controller and stores it in the memory (4), as well as the total movement distance obtained based on the current position data and target position data. Data is calculated and stored in memory (4).

上記動作指令データ生成部(5)は、上記メモリ(4)
からロボット動作パターンデータを読出して捕間演算を
施すことにより、きめ細かいロボット動作データを生成
し、また、捕間演算を行なうことにより得られた中間位
置までの累積移動距離データを算出して上記全移動距離
データに対する比率を算出し、インタプリタ(1)に供
給する。さらに、目標位置まで移動したか否かをも判別
する。
The operation command data generation section (5) includes the memory (4).
By reading out the robot movement pattern data from , and performing the interpolation calculation, detailed robot movement data is generated. Also, by calculating the cumulative movement distance data to the intermediate position obtained by performing the interpolation calculation, all of the above can be performed. The ratio to the travel distance data is calculated and supplied to the interpreter (1). Furthermore, it is also determined whether or not it has moved to the target position.

上記の構成のロボット制御装置の動作は第1図に示すフ
ローチャートのとおりである。
The operation of the robot control device having the above configuration is as shown in the flowchart shown in FIG.

インタープリタ(1)は、ステップ■において、ロボッ
ト制御を行なわせるためのRAS I Cプログラムを
実行し、必要なロボット動作データを動作指令データと
してロボット動作制御部(2)に供給し、ステップ■に
おいて所定のロボット動作状態が発生するまで、即ち、
ロボット動作制御部(2)において算出された全移動距
離に対する移動距離累積値が所定割合いに達するまで待
機し、ステップ■において、所定のロボット動作状態が
発生したことを条件として周辺機器(9)の制御を行な
う。
In step (2), the interpreter (1) executes the RAS IC program for controlling the robot, supplies necessary robot motion data as motion command data to the robot motion control unit (2), and executes a predetermined robot motion control unit (2) in step (2). until the robot operating state occurs, i.e.
The robot motion control unit (2) waits until the cumulative value of the travel distance to the total travel distance reaches a predetermined ratio, and in step (2), the peripheral device (9) is activated on condition that a predetermined robot motion state has occurred. control.

また、ロボット動作制御部■においては、インタプリタ
(1)から供給された動作指令データとし、ての目標位
置データと現在位置データとに基づいてステップ■にお
いて軌道計画データ生成部(3)により全移動距離を算
出し、メモリ(4)に格納する。そして、ステップ■に
おいて動作指令データとしての目標位置データ、速度デ
ータ、加速度データと現在位置データ、現在速度データ
とに基づいて動作指令データ生成部(5)により所定時
間後における位置データおよび速度データを算出し、座
標変換部(6)により座標変換を施してロボット動作部
(7)によりロボット本体(8)を動作させる。
In addition, in the robot motion control unit (2), the robot motion control unit (2) uses the motion command data supplied from the interpreter (1), and in step (3), the trajectory planning data generation unit (3) performs the entire movement based on the target position data and current position data. The distance is calculated and stored in the memory (4). Then, in step (2), the operation command data generation section (5) generates position data and speed data after a predetermined time based on the target position data, velocity data, acceleration data, current position data, and current speed data as operation command data. The coordinate transformation unit (6) performs coordinate transformation, and the robot operation unit (7) operates the robot body (8).

その後は、ステップ■において動作指令データ生成部(
5)により移動距離の累計値を全移動距離値で除算し、
除算値をインタープリタ(1)に供給し、次いでステッ
プ■において一連のロボット動作が行なわれたか否か、
即ち、目標位置に到達したか否かが判別され、目標位置
に到達したと判別された場合には、次の一連のロボット
動作を行なわせるべく必要な処理が行なわれる。但し、
目標位置に到達していないと判別された場合には、その
ままステップ■以下の処理を行なう。
After that, in step ■, the operation command data generation unit (
5), divide the cumulative value of the moving distance by the total moving distance value,
Supply the divided value to the interpreter (1), and then determine whether or not a series of robot movements was performed in step (2).
That is, it is determined whether or not the target position has been reached, and if it is determined that the target position has been reached, necessary processing is performed to perform the next series of robot operations. however,
If it is determined that the target position has not been reached, the process from step (2) onwards is performed.

第3図に示す具体例に基づいてさらに詳細に説明する。This will be explained in more detail based on the specific example shown in FIG.

第3図はターンテーブル(11)の上面に形成された凹
所(12)にワーク(13)が収容された状態を示して
おり、凹所(12) (点Plの位置)からワーク(1
3)を持上げて点P2まで移動させるとともに、ワーク
(13)がターンテーブル(11)と干渉し合わない点
P3  (点P1から点P2までの移動距離の30%だ
け移動した点)まで移動させられた時点でターンテーブ
ル(11)を回転させるものである。
FIG. 3 shows a state in which a workpiece (13) is accommodated in a recess (12) formed on the upper surface of the turntable (11), and the workpiece (13) is accommodated in the recess (12) (position of point Pl).
3) and move it to point P2, and also move it to point P3 (a point moved by 30% of the moving distance from point P1 to point P2) where the workpiece (13) does not interfere with the turntable (11). The turntable (11) is rotated when the turntable is turned.

この具体例の場合には、下記のBASICプログラムを
作成してインタプリタ(1)に供給しておくことにより
、所期のロボット動作および周辺機器の制御を行なうこ
とができる。
In this specific example, by creating the following BASIC program and supplying it to the interpreter (1), the desired robot movement and peripheral equipment control can be performed.

記 in  move  P2 20  wait  30% 30  outl  =  1 即ち、インタプリタ(1)から5ave P2のインス
トワクシ3ンがロボット動作制御部(りに供給した後、
インタプリタ(1)は、目標位置P2までの移動距離の
30%だけ移動するまで待つ。
In move P2 20 wait 30% 30 outl = 1 In other words, after the interpreter (1) supplies the 5ave P2 installer to the robot motion control unit,
Interpreter (1) waits until the target position P2 has been moved by 30% of the moving distance.

また、ロボット動作制御部(2)においては軌道計画デ
ータ生成部(3)において軌道計画データを生成すると
ともに、現在位置P1から目標位置P2までの全移動距
M D aを算出する。そして、上記軌道計画データに
基づいて動作指令データ生成部(5)により所定時間後
における位置および速度を算出し、座標変換部(6)に
より座標変換を施してロボット動作部(7)に供給する
ことによりロボット本体を動作させ、ワーク(13)を
持上げる。また、上記動作指令データ生成部(5)にお
いては、移動距離の累積値Dsを算出するとともに、D
s/Daの値をも算出し、算出されたDs/Daをイン
タプリタ(1)に供給する。そして、上記所定時間後に
おける位置が目標位置と等しいか否か、または累積値D
sが全移動距離Daに等しいか否かに基づいてロボット
動作が終了したか否かを判別する。
Further, in the robot motion control unit (2), the trajectory planning data generation unit (3) generates trajectory planning data, and also calculates the total moving distance M Da from the current position P1 to the target position P2. Then, based on the trajectory planning data, the motion command data generation section (5) calculates the position and velocity after a predetermined time, and the coordinate transformation section (6) performs coordinate transformation and supplies the result to the robot motion section (7). This causes the robot body to operate and lift the workpiece (13). Further, the operation command data generating section (5) calculates the cumulative value Ds of the moving distance, and also calculates the cumulative value Ds of the moving distance.
The value of s/Da is also calculated and the calculated Ds/Da is supplied to the interpreter (1). Then, it is determined whether the position after the predetermined time is equal to the target position or the cumulative value D
Based on whether or not s is equal to the total moving distance Da, it is determined whether or not the robot operation is completed.

したがって、ロボット動作制御部(2)による制御下で
点PLから点P2までのロボット動作を行なわせること
ができるとともに、所定時間毎に移動距離の累積値Ds
の割合いを算出してインタプリタ(1)に供給すること
ができるので、インタプリタ(1)においては、当初m
ove P2のインストラクションがロボット動作制御
部0に供給し、その後、上記割合いが30%に達するま
で待って、ターンテーブル(11)を回転させるべく周
辺機器(9)を動作さればよく、ロボット動作と周辺機
器の動作とを同期させて行なわせることができる。
Therefore, the robot can be operated from point PL to point P2 under the control of the robot operation control unit (2), and the cumulative value Ds of the moving distance can be made at predetermined intervals.
Since the ratio of m can be calculated and supplied to interpreter (1), interpreter (1) initially calculates m
The instruction of ove P2 is supplied to the robot motion control unit 0, and then the peripheral device (9) is operated to rotate the turntable (11) after waiting until the above ratio reaches 30%. The operation of the peripheral device can be synchronized with the operation of the peripheral device.

第4図は他の具体例を示す概略図であり、塗装用のスプ
レーガンを点P1から点P2まで移動させる途中におい
て、点Q1から点Q2までの間で塗装動作を行なわせる
ようにしている。内点P1から点Q1までの距離および
点Q2から点P2までの距離はそれぞれ全移動距離の1
0%に設定されている。
FIG. 4 is a schematic diagram showing another specific example, in which the painting operation is performed between point Q1 and point Q2 while the spray gun for painting is moved from point P1 to point P2. . The distance from interior point P1 to point Q1 and the distance from point Q2 to point P2 are each 1 of the total moving distance.
It is set to 0%.

この具体例に対応するBASICプログラムは次のとお
りである。
The BASIC program corresponding to this specific example is as follows.

10  move P2 20  walt 10% 30  outl = 1 40  walt  90% 50   ouLl  −0 上記のRAS I Cプログラムに基づいてインタプリ
タ(1)はmove P2のインストラクションをロボ
ット動作制御部(りに供給することにより図示しないス
プレーガンを点ptから点P2に向かって移動させるこ
とができる。
10 move P2 20 walt 10% 30 outl = 1 40 walt 90% 50 ouLl -0 Based on the above RAS IC program, the interpreter (1) supplies the move P2 instruction to the robot motion control unit (as shown in the figure). The spray gun that does not move can be moved from point pt toward point P2.

そして、ロボット動作が行なわれて移動距離の累積値が
10%に達した時点でインタプリタ(1)によりスプレ
ーガンが駆動され、ワーク(13)の塗装を開始させる
。即ち、塗装動作を行ないながらロボット動作を行なわ
せることができる。
Then, when the robot operation is performed and the cumulative value of the moving distance reaches 10%, the interpreter (1) drives the spray gun to start painting the workpiece (13). That is, the robot can be operated while performing the painting operation.

また、移動距離の累積値が90%に達した時点でインタ
プリタ(1)によりスプレーガンの動作が停止させられ
、ワーク(13)の塗装を終了させられるので、その後
は点P2までロボット動作のみを行なわせることができ
る。
Also, when the cumulative value of the moving distance reaches 90%, the interpreter (1) stops the spray gun operation and finishes painting the workpiece (13), so the robot only moves up to point P2. I can make you do it.

この具体例を従来のロボット制御方法により実施する場
合には、例えば 10  move P2 20  delay ’rt 30  outl = 1 40  delay T2 50  outl = 0 のように点P1から点Qlまでの移動距離に対応する遅
延時間T1および点Qlから点Q2までの移動距離に対
応する遅延時間T2を設定することになるのであるが、
単に遅延時間を設定すると、負荷変動等によりロボット
動作速度、加速度が変動した場合に実際の塗装範囲が所
期の範囲から大巾にずれてしまう可能性があるとともに
、ロボット動作速度を変化させる場合には加速度も変化
するので遅延時間を正確に設定することが著しく困難に
なるのであるが、上記具体例の場合には、移動距離の割
合いに基づいてスプレーガンの動作を制御するようにし
ているので、プログラミングが著しく簡単であるととも
に、塗装範囲を正確に制御することができる。
When this specific example is implemented using a conventional robot control method, for example, 10 move P2 20 delay 'rt 30 outl = 1 40 delay T2 50 outl = 0, which corresponds to the moving distance from point P1 to point Ql. The delay time T1 and the delay time T2 corresponding to the moving distance from point Ql to point Q2 are set.
If you simply set a delay time, the actual painting range may deviate significantly from the intended range if the robot's operating speed or acceleration changes due to load fluctuations, etc., and if the robot's operating speed changes. However, in the above example, the operation of the spray gun is controlled based on the ratio of the moving distance. This makes programming extremely easy and allows for precise control of the coating area.

また、上記の具体例においてスプレーガンの移動方向が
何れかの座標軸と平行に設定されている場合には点Ql
 、Q2の座標値を簡単に得ることができるのであるが
、−膜内には座標軸と平行ではないから上記点の座標値
を算出することが困難であるから、上記具体例と比較し
てプログラミングが困難になってしまうとともに、プロ
グラムが複雑化してしまう。したがって、上記具体例に
おいてはプログラミングの手間を著しく簡素化すること
ができとともに、プログラム自体をも簡素化することが
できる。
In addition, in the above specific example, if the moving direction of the spray gun is set parallel to any coordinate axis, the point Ql
, it is possible to easily obtain the coordinate values of Q2, but it is difficult to calculate the coordinate values of the above points because they are not parallel to the coordinate axes within the membrane. This makes the program difficult and the program complicated. Therefore, in the above specific example, the effort of programming can be significantly simplified, and the program itself can also be simplified.

尚、この発明は上記の実施例に限定されるものではなく
、例えば所定のロボット動作状態で入出力処理を行なわ
せることが可能であるほか、複数のロボット制御装置同
士の間における同期を達成することが可能であり、さら
に、BASICプログラム以外のプログラム言語を使用
することが可能であるほか、ターンテーブル、スプレー
ガン以外の周辺機器をロボット動作と同期させて制御す
ることが可能であり、その他、この発明の要旨を変更し
ない範囲内において種々の設計変更を施すことが可能で
ある。
It should be noted that the present invention is not limited to the above-described embodiments; for example, it is possible to perform input/output processing in a predetermined robot operating state, and also to achieve synchronization between a plurality of robot control devices. Furthermore, it is possible to use programming languages other than BASIC programs, and it is also possible to control peripheral devices other than turntables and spray guns in synchronization with robot movements. Various design changes can be made without departing from the gist of the invention.

〈発明の効果〉 以上のように第1の発明は、一連のロボット動作を必要
最少限のインストラクションで指令することができると
ともに、プログラミングを簡素化することができ、しか
も一連のロボット動作を開始させた後における周辺機器
との間でのデータ授受タイミングをロボット動作と関連
させて設定することにより、タクトタイムを短縮するこ
とができるという特有の効果を奏する。
<Effects of the Invention> As described above, the first invention enables a series of robot movements to be commanded with the minimum number of instructions necessary, and also simplifies programming. By setting the timing of data exchange with the peripheral equipment after the robot moves in relation to the robot operation, a unique effect is achieved in that the takt time can be shortened.

第2の発明は、ロボット動作軌跡上における座標データ
を算出する必要がなくなるので、ロボット動作軌跡を正
確に考慮することなく所定のロボット動作状態を規定す
るインストラクションを記述することができ、プログラ
ミングを簡素化することができるという特有の効果を奏
する。
The second invention eliminates the need to calculate coordinate data on the robot motion trajectory, so it is possible to write instructions that define a predetermined robot motion state without accurately considering the robot motion trajectory, simplifying programming. It has the unique effect of being able to transform into

第3の発明は、ロボット動作と密接な関連を有している
他の周辺機器の動作を正確なタイミングで行なわせるこ
とができ、著しく高精度のロボット制御を達成すること
ができるという特有の効果を奏する。
The third invention has the unique effect that the operations of other peripheral devices that are closely related to the robot operation can be performed at accurate timing, and that extremely high-precision robot control can be achieved. play.

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

第1図はこの発明のロボット制御方法の一実施例を示す
フローチャート、 第2図はこの発明のロボット制御方法を実施するための
ロボット制御装置の概略構成を示すブロック図、 第3図および第4図は、それぞれこの発明のロボット制
御方法を説明するための具体例を示す概略図、 第5図は従来のロボット制御装置の構成を示すブロック
図。 (1)・・・インタプリタ、■・・・ロボット動作制御
部、(8)・・・ロボット本体
FIG. 1 is a flowchart showing an embodiment of the robot control method of the present invention, FIG. 2 is a block diagram showing a schematic configuration of a robot control device for carrying out the robot control method of the present invention, and FIGS. The figures are schematic diagrams showing specific examples for explaining the robot control method of the present invention, and FIG. 5 is a block diagram showing the configuration of a conventional robot control device. (1)... Interpreter, ■... Robot motion control section, (8)... Robot body

Claims (1)

【特許請求の範囲】 1、ロボット制御のための各種処理を行な わせるプログラムが設定されているプロ セッサ(1)からの動作指令データに基づいて、ロボッ
ト動作制御手段(2)によりきめ細かいロボット動作指
令データを生成し てロボット本体(8)を動作させるロボット制御方法に
おいて、ロボット動作制御手 段(2)がロボット本体(8)の制御を行なっている間
、定期的にロボット動作状態デー タをプロセッサ(1)に供給し、ロボット動作状態デー
タが供給されたプロセッサ(1)において、予め指示さ
れている所定のロ ボット動作状態と一致したことを条件と して予めプログラムで設定されている処 理を行なうことを特徴とするロボット制 御方法。 2、動作指令データにおいて予め指示され ている特定のロボット動作状態が、ロボ ット本体(8)の動作が所定割合まで進んだ状態である
上記特許請求の範囲第1項記 載のロボット制御方法。 3、データが供給されたことを条件として 開始すべくプロセッサ(1)に予め設定されている処理
が、周辺機器(9)を動作させることにより行なわれる
処理である上記特 許請求の範囲第1項記載のロボット制御 方法。
[Claims] 1. Detailed robot motion command data is generated by the robot motion control means (2) based on motion command data from the processor (1) in which programs for performing various processes for robot control are set. In the robot control method, the robot operation state data is periodically transmitted to the processor (1) while the robot operation control means (2) is controlling the robot body (8). The processor (1) to which the robot operation state data is supplied performs processing preset in a program on the condition that the robot operation state data matches a predetermined robot operation state instructed in advance. Robot control method. 2. The robot control method according to claim 1, wherein the specific robot operation state specified in advance in the operation command data is a state in which the operation of the robot body (8) has progressed to a predetermined rate. 3. The process set in advance in the processor (1) to be started on the condition that data is supplied is a process performed by operating a peripheral device (9). The robot control method described.
JP15587188A 1988-06-22 1988-06-22 Robot control method Pending JPH01320504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15587188A JPH01320504A (en) 1988-06-22 1988-06-22 Robot control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15587188A JPH01320504A (en) 1988-06-22 1988-06-22 Robot control method

Publications (1)

Publication Number Publication Date
JPH01320504A true JPH01320504A (en) 1989-12-26

Family

ID=15615326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15587188A Pending JPH01320504A (en) 1988-06-22 1988-06-22 Robot control method

Country Status (1)

Country Link
JP (1) JPH01320504A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992009018A1 (en) * 1990-11-08 1992-05-29 Fanuc Ltd Method for executing auxiliary function in numerical control equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992009018A1 (en) * 1990-11-08 1992-05-29 Fanuc Ltd Method for executing auxiliary function in numerical control equipment

Similar Documents

Publication Publication Date Title
JP6580602B2 (en) Method and system for programming a robot
EP3482886A1 (en) Programming assistance apparatus, robot system, and method for generating program
CN103085072A (en) Method for achieving industrial robot off-line programming based on three-dimensional modeling software
US4685067A (en) Control system for program controlled manipulator having multiple triggered functions between programmed points
JP3168682B2 (en) Numerical control unit
JP2759380B2 (en) Control method of machine or process using computer
JPH01320504A (en) Robot control method
JPH0322106A (en) Robot teaching device
JPH10143218A (en) Cycle time prediction device for robot
JPH0341825Y2 (en)
JP2006343975A (en) Robot instruction device
JPS5857762B2 (en) Method and device for correcting movement speed in robots
CN113459103B (en) Corner track control method and device during automatic operation of manipulator
JPH09244729A (en) Control method for work robot device
JP2004029989A (en) Method of off-line instruction to robot
JPS63239511A (en) Robot system
Kohno et al. Intelligent assembly robot
JPH0275005A (en) Robot controller
JPH02311296A (en) Control of industrial robot and device therefor
JPS61123906A (en) System for preventing and processing robot&#39;s intervention
JPH10329068A (en) Teaching device for robot
JP2993708B2 (en) Industrial robot and its trajectory correction method
JPH07114408A (en) Controller for robot
JPH01114910A (en) Robot controller
JPH09114511A (en) Robot control method