JP3204513B2 - Work robot work control method - Google Patents
Work robot work control methodInfo
- Publication number
- JP3204513B2 JP3204513B2 JP41848690A JP41848690A JP3204513B2 JP 3204513 B2 JP3204513 B2 JP 3204513B2 JP 41848690 A JP41848690 A JP 41848690A JP 41848690 A JP41848690 A JP 41848690A JP 3204513 B2 JP3204513 B2 JP 3204513B2
- Authority
- JP
- Japan
- Prior art keywords
- work
- signal
- robot
- stop
- stop position
- 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
Links
Landscapes
- Programmable Controllers (AREA)
- Numerical Control (AREA)
- Manipulator (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、作業用ロボットと被作
業物とを相対移動させて、作業用ロボット(以下、ロボ
ットという)が相対移動後の一部又は全部の停止位置で
同じ作業を繰返す繰返し被作業物とロボットとの相対移
動及びロボットの作業制御方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a work robot (hereinafter referred to as "robot") in which a work robot and a work are relatively moved to perform the same work at a part or all stop positions after the relative movement. The present invention relates to a method of controlling the relative movement between a workpiece and a robot, and a robot operation control method.
【0002】[0002]
【従来の技術】(図1の説明)図1は、従来技術及び本
発明の制御方法に適用する被作業物W1 乃至Wn と、ロ
ボットRBと、ロボット(又は被作業物)を移動させる
ための相対移動装置TRと(総括制御装置NCと)、ロ
ボット制御装置RCとを示す図である。同図は、ロボッ
ト(例えば、ア−ク溶接ロボット)RBが、被作業物
(例えば、被溶接物)の第1停止位置P1 で、1個所又
は複数個所の作業(例えば、水平隅肉溶接)をした後、
相対移動装置(例えば、Xスライダ及びYスライダ)T
Rが、ロボットRBと被作業物W1 乃至Wn とを相対移
動させ、ロボットが被作業物の第2停止位置P2 以後の
一部又は全部の停止位置で、第1停止位置の作業と同じ
作業を繰返すことを説明する図である。(Description of FIG. 1) FIG. 1 is a diagram showing a work W1 to Wn, a robot RB, and a robot (or a work) to be applied to the control method of the prior art and the present invention. It is a figure which shows the relative movement apparatus TR, (overall control apparatus NC), and the robot control apparatus RC. In the figure, a robot (for example, an arc welding robot) RB performs one or more work (for example, horizontal fillet welding) at a first stop position P1 of a work (for example, a work to be welded). After doing
Relative moving device (for example, X slider and Y slider) T
R moves the robot RB and the workpieces W1 to Wn relatively, and the robot performs the same operation as the operation at the first stop position at a part or all of the stop positions after the second stop position P2 of the workpiece. It is a figure explaining repetition.
【0003】(図2の説明)図2は、図1に示した被作
業物W1 乃至Wn を、ロボット制御装置RCから出力さ
れる相対移動信号S6 によって、相対移動装置TRが各
停止位置P1 乃至Pn に、ロボットRBを移動させて、
各停止位置でロボットRBが、1乃至複数個所の作業を
する従来の制御方法のフロ−チャ−トを示し、動作順序
はつぎのとおりである。 N1 作業を開始するために、例えば、図示していないロボッ
ト制御装置RCの開始押ボタンスイッチを押して、ロボ
ット作業開始信号S1rが出力されたときに、作業が開始
する。 RP1 信号S1rが入力されたときに、ロボットRBを、第1停
止位置P1 に、移動させる相対移動装置TR例えばXス
ライダ及びYスライダに、相対移動信号S6 を出力す
る。なお、TRとRBとは機械的に連動する。 RQ1 TRの第1停止位置P1 への移動が完了すると、ロボッ
トRBに、第1作業位置Q1 における作業指令をする。
RBはRCのプログラムによって作業を開始し、第1作
業位置Q1 の作業を完了すると作業完了信号Rf を出力
する。 N10 作業完了信号Rf がRCに入力されると、制御終了判別
をし、作業を継続するときは、制御継続信号S10を出力
する。 RP2 制御継続信号S10が入力されると、ロボットRBを第2
停止位置P2 に移動させる相対移動信号S6 を出力す
る。 RQ2 TRの第2停止位置P2 への移動が完了すると、ロボッ
トRBに、第2作業位置Q2 における作業指令をする。
RBはRCのプログラムによって作業を開始し、第2作
業位置Q2 の作業を完了すると作業完了信号Rf を出力
する。 N10及び以後の動作 作業完了信号Rf がRCに入力されると、制御終了判別
をし、作業を継続するときは、制御継続信号S10を出力
し、作業が終了すると、制御終了信号S10s を出力し、
RC、RB及びTRの動作をすべて終了する。(Explanation of FIG. 2) FIG. 2 shows that the relative movement device TR moves the workpieces W1 to Wn shown in FIG. 1 in accordance with a relative movement signal S6 output from the robot control device RC. Move the robot RB to Pn,
The flowchart of the conventional control method in which the robot RB performs work at one or a plurality of places at each stop position is shown, and the operation sequence is as follows. In order to start the N1 operation, for example, when a start push button switch of a robot control device RC (not shown) is pressed and a robot operation start signal S1r is output, the operation starts. When the RP1 signal S1r is input, a relative movement signal S6 is output to a relative movement device TR for moving the robot RB to the first stop position P1, for example, an X slider and a Y slider. Note that TR and RB are mechanically linked. When the movement of the RQ1 TR to the first stop position P1 is completed, a work command is issued to the robot RB at the first work position Q1.
The RB starts work according to the RC program, and outputs a work completion signal Rf when the work at the first work position Q1 is completed. N10 When the work completion signal Rf is input to RC, it is determined that control has been completed, and when work is to be continued, a control continuation signal S10 is output. When the RP2 control continuation signal S10 is input, the robot RB is switched to the second
A relative movement signal S6 for moving to the stop position P2 is output. When the movement of the RQ2 TR to the second stop position P2 is completed, a work command is issued to the robot RB at the second work position Q2.
The RB starts work according to the RC program, and outputs a work completion signal Rf when the work at the second work position Q2 is completed. N10 and subsequent operations When the work completion signal Rf is input to the RC, it is determined whether control has been completed. If the work is to be continued, a control continuation signal S10 is output. When the work is completed, a control end signal S10s is output. ,
The operations of RC, RB and TR are all ended.
【0004】[0004]
【発明が解決しようとする課題】従来のロボットの作業
制御方法は、図1に示した被作業物W1 乃至Wn を、図
2で示すロボット制御装置RCが、相対移動信号S6 を
相対移動装置TRに出力し、TRがロボットRB又は被
作業物を各停止位置P1 乃至Pn に移動させた後に、R
Bの各作業位置Q1 ,Q2 ,…で作業を行わせるため
に、RCに予め記憶させた各作業位置ごとのプログラム
を順次に実行して終了する。このような従来の制御方法
においては、図2に示すように作業開始指令後の第1停
止位置P1 への移動指令RP1,第1作業位置Q1 にお
ける作業指令RQ1,第2停止位置P2 への移動指令R
P2,第2作業位置Q2 における作業指令RQ2,以
下、作業終了までのすべての指令を出力するプログラム
を、すべてロボット制御装置RCにティ−ティングして
いた。このように、従来の制御方法は、各停止位置P1
,P2 ,…における繰返しの作業Q1 ,Q2 ,…の場
合であっても、各作業位置ごとに、すべてティ−ティン
グを繰返さなければならないために、各作業位置でのテ
ィ−ティングに、多大の時間を要していた。また、従来
の制御方法は、相対移動装置TRを各停止位置まで移動
させるプログラムと、各停止位置において各作業位置の
作業を行わせるプログラムとは、一体のプログラムであ
るために、停止位置の一部を変更したい場合又は作業位
置における作業内容の一部を変更したい場合でも、一体
のプログラムを変更しなければならないので、プログラ
ムの変更作業に多大の時間を要していた。In the conventional robot work control method, the work objects W1 to Wn shown in FIG. 1 are controlled by the robot controller RC shown in FIG. After the TR moves the robot RB or the work to each of the stop positions P1 to Pn,
In order to perform the work at each of the work positions Q1, Q2,... Of B, the program for each work position stored in advance in the RC is sequentially executed and the processing is terminated. In such a conventional control method, as shown in FIG. 2, a movement command RP1 to the first stop position P1 after the work start command, a work command RQ at the first work position Q1, and a movement to the second stop position P2. Command R
P2, a work command RQ2 at the second work position Q2, and a program for outputting all commands up to the end of the work, all of which have been taught to the robot controller RC. As described above, in the conventional control method, each stop position P1
, P2,..., P2,..., It is necessary to repeat the teaching at each work position. It took time. Further, in the conventional control method, the program for moving the relative movement device TR to each stop position and the program for performing the work at each work position at each stop position are integrated programs. Even if it is desired to change a part or to change a part of the work content at the work position, since the integrated program must be changed, it takes a lot of time to change the program.
【0005】[0005]
【課題を解決するための手段】請求項1の制御方法は、
図1に示すように、1台の作業用ロボットRBが移動し
なければ被作業物の作業をすることができない動作領域
を越える大きさの被作業物を、作業用ロボットRBを第
1停止位置P1で停止させて第1の動作領域内にある被
作業物W1の1個所又は複数個所の作業をした後、相対
移動装置TRが作業用ロボットRBを移動させ、第2停
止位置以後の一部又は全部の停止位置P2、…Pnで作
業用ロボットRBを停止させて第2以後の動作領域内に
ある被作業物W2、…Wnに順次に作業をする作業用ロ
ボットRBの作業制御方法において、図3に示すよう
に、作業用ロボットRBを制御するロボット制御装置R
Cに、作業用ロボットRBが上記各停止位置P1、…P
nで被作業物の1乃至複数の種類の作業をするプログラ
ムを予め記憶させると共に、総括制御装置NCに上記動
作領域を越えて次の動作領域まで作業用ロボットRBを
移動させる相対移動信号S6と作業用ロボットRBが各
停止位置P1、…Pnで作業をするプログラムを順次に
指定するプログラム指定信号S7とを予め記憶させて作
業開始前の準備を完了し、次に、総括制御装置NCに記
憶させた第1停止位置P1の相対移動信号S6によっ
て、相対移動装置TRが第1の停止位置P1に作業用ロ
ボットRBを移動させた後に、ロボット制御装置RCが
上記複数のプログラムの中から総括制御装置NCに記憶
させた第1の停止位置P1のプログラム指定信号S7に
よって指定された第1停止位置P1のプログラムを選ん
で実行して、作業用ロボットRBが被作業物W1の第1
停止位置P1で作業をして第1停止位置P1の作業を終
了し、次に、総括制御装置NCに記憶させた第2以後の
停止位置P2、…Pnの相対移動信号S6によって、相
対移動装置TRが第2以後の停止位置P2、…Pnに作
業用ロボットRBを順次に移動させた後に、ロボット制
御装置RCが第2以後のそれぞれの停止位置P2、…P
nで上記複数のプログラムの中から総括制御装置NCに
記憶させた第2以後の停止位置P2、…Pnのプログラ
ム指定信号S7によって指定された第2以後の停止位置
P2、…Pnのプログラムを順次に選んで 実行して、作
業用ロボットRBが被作業物の第2停止位置以後の一部
又は全部の停止位置P2、…Pnで先に実行した作業と
同じ作業を繰り返すか又は異なる作業をして第2停止位
置P2、…Pn以後の作業を終了する作業用ロボットの
作業制御方法である。請求項2の制御方法は、請求項1
の制御方法に、途中停止指令信号S22を発生させてから
作業完了信号Rf が出力されるまで途中停止指令信号S
22を一時保持して途中停止を行うとともに、作業完了信
号Rf を制御電源遮断後も保持し、再開始信号S31a を
発生させたとき、前記保持した作業完了信号によって作
業位置カウンタN2を、途中停止したときの次の作業位
置番号に設定して、途中停止後に完了した作業の次の作
業を開始する制御方法を追加した作業用ロボットの作業
制御方法である。請求項3の制御方法は、請求項2の制
御方法に、作業の開始及び再開始する開始・再開始信号
S1 を同一回路で発生させ、開始・再開始信号S1 を第
1の信号と第2の信号との2つの信号に分割し、作業完
了信号Rf が出力されるまでは、第1の信号を開始信号
S31b とし、前記完了信号Rf が出力されてから全作業
終了までは、第2の信号を再開始信号S31a とする作業
用ロボットの作業制御方法である。According to a first aspect of the present invention, there is provided a control method comprising:
As shown in FIG. 1, one working robot RB moves and
Operation area where work on the work piece cannot be performed without it
Workpieces larger than
1 Stop at the stop position P1 and stop
After working at one or more locations on the work W1, the relative
The moving device TR moves the work robot RB and stops at the second stop.
Work at some or all stop positions P2,... Pn after the stop position
Stop the industrial robot RB and move it into the second or later operation area.
A workbuffer for sequentially working on a certain work W2,.
In the work control method of the bot RB , as shown in FIG.
And a robot controller R for controlling the working robot RB
C, the work robot RB has the above-mentioned stop positions P1,.
n to perform one or more types of work on the work
And stores the above-mentioned operation in the general control unit NC.
Work robot RB beyond the work area to the next operation area
The relative movement signal S6 to be moved and the working robot RB are
The programs that work at the stop positions P1,.
The program specification signal S7 to be specified is stored in advance and
Preparations before the start of work are completed, and then written to the general control unit NC.
The relative movement signal S6 of the first stop position P1
Then, the relative moving device TR moves to the first stop position P1 to
After moving the bot RB, the robot controller RC
Stored in the general control unit NC from the above programs
The program designation signal S7 of the first stop position P1
Therefore, the program at the designated first stop position P1 is selected.
And the working robot RB is moved to the first position of the work W1.
Work at the stop position P1 and finish the work at the first stop position P1.
And then the second and subsequent data stored in the general control device NC.
By the relative movement signal S6 of the stop positions P2,.
The mobile device TR is moved to the second and subsequent stop positions P2,.
After sequentially moving the industrial robot RB, the robot control
When the control device RC is in the second or subsequent stop position P2,.
n to the general control unit NC from the above programs
The program of the stored second and subsequent stop positions P2,.
The second and subsequent stop positions specified by the system specification signal S7
P2,... Pn programs are sequentially selected and executed, and
Part of the industrial robot RB after the second stop position of the work
Or the work previously executed at all the stop positions P2,.
Repeat the same operation or perform a different operation to the second stop position
This is a work control method of the work robot for ending the work after P2,... Pn . The control method according to claim 2 is based on claim 1.
In the control method described above, the halfway stop command signal S22 is generated until the work completion signal Rf is output after the halfway stop command signal S22 is generated.
22 with the performing aborted and held temporarily held even after a power-down the work completion signal Rf, when that caused a re-start signal S31a, the working position counter N2 the work completion signal the holding, the middle stop This is a work control method for a work robot in which a control method for setting a work position number next to the work that has been performed and starting the work following the work completed after the halfway stop is added. A control method according to a third aspect of the present invention is the control method according to the second aspect, wherein the start / restart signal S1 for starting and restarting the work is generated by the same circuit, and the start / restart signal S1 is set to the first signal and the second signal. The first signal is used as a start signal S31b until the work completion signal Rf is output, and the second signal is used as the start signal S31b until the completion of the entire work after the completion signal Rf is output. Work to make the signal a restart signal S31a
Is a work control method for a robot .
【0006】[0006]
【実施例1】(図3の説明) 図3は、図1に示した被作業物W1 乃至Wn 又はロボッ
トRBを移動させる相対移動装置TRとロボットRBと
を制御する総括制御装置例えばNC(以下、NCとい
う)から出力される相対移動信号S6 によって相対移動
装置TRが各停止位置P1 乃至Pn に、例えばロボット
RBを移動させた後に、各停止位置でNCからロボット
制御装置RCに出力されたプログラム指定信号S7 によ
ってロボットRBが1乃至複数個所の作業を終了する毎
に出力される作業完了信号Rf によってNCが次の動作
を指令する本発明の制御方法のブロック図を示し、ロボ
ットの作業制御方法はつぎのとおりである。 N1(開始・再開始指令回路) 開始・再開始指令回路N1は、開始・再開始押ボタンス
イッチPB1を押して、NCの制御を開始する開始・再
開始信号S1 を出力する。 N2(作業位置カウンタ) 作業位置カウンタN2は、作業完了ごとに、作業位置カ
ウンタの完了作業位置番号nに「1」を加算して、カウ
ンタ信号S2 をNCに出力する。 N6(移動位置指令回路) 移動位置指令回路N6は、作業位置カウンタN2から入
力されたカウンタ信号S2 からNCのメモリのアドレス
に記憶されたロボットの停止位置デ−タから、相対移動
信号S6 を出力し、相対移動装置によってロボットを各
停止位置まで移動させる。 N7(プログラム番号指定回路) プログラム番号指定回路N7は、ロボットの作業位置か
ら定まるNCに記憶されたプログラム番号を読み出し、
ロボット制御装置RCに、プログラム指定信号S7 を出
力する。 N9(完了位置保持回路) 完了位置保持回路N9は、作業完了信号Rf を入力とし
て、完了作業位置番号nをメモリに保持して、完了位置
保持信号S9 を出力する。この回路N9は電源を遮断し
てもメモリ内容は保持される。 RC(ロボット制御装置) ロボット制御装置RCは、NCからのプログラム指定信
号S7 で指定されたプログラム番号であって、予めRC
に記憶されたプログラムによってロボットRBに、1又
は複数個所の作業を開始させる。 N10(制御終了判別回路) 制御終了判別回路N10は、ロボットの完了作業位置番
号nとNCのメモリに記憶された終了作業位置番号mと
を比較し、n<mのときは、後述するN23及び前述し
た作業位置カウンタN2を経由して前述したN6に戻
り、同じ順序でn=mになるまで作業を繰返し、n=m
になったときに作業を終了する。 N22(途中停止指令回路) 途中停止指令回路N22は、ロボットの繰返し作業を全
部終了させないで、途中停止をしたいときに、途中停止
指令信号S22を出力する。 FF1(途中停止保持回路) 途中停止保持回路FF1は、N22から出力された途中
停止指令信号S22を、N23から停止信号S23s が出力
されるまで保持して停止保持信号S51を出力する回路で
ある。 AND1(途中停止動作回路) 途中停止動作回路AND1は、停止保持信号S51と作業
完了信号Rf とが同時に入力されたときに途中停止動作
信号S41を後述するN23に出力する。 N23(継続・停止判別回路) 継続・停止判別回路N23は、N10から制御継続信号
S10が入力されたときに、AND1から途中停止動作信
号S41が入力されていないときは、カウンタアップ信号
S23を出力し、信号S41が入力されているときは、停止
信号S23s を出力する。 SW1(開始・再開始切換回路) 開始・再開始切換回路SW1は、開始・再開始信号S1
を入力とし、後述する開始・再開始切換信号S52が入力
されるまでは開始信号S31b を出力し、信号S52が入力
されたときは、再開始信号S31a を出力する。 FF2(開始・再開始切換指令回路) 開始・再開始切換指令回路FF2は、完了位置保持信号
S9 が入力されたときに開始・再開始切換信号S52を出
力し、N10から制御終了信号S10s が入力されたとき
に信号S52を停止する。この回路FF2は、途中停止に
よって電源を遮断した後に、再開始のために電源を再投
入したとき、完了位置保持信号S9 が出力されていると
きは、信号S52を出力する。 SW3(再開始動作回路) 再開始動作回路SW3は、SW1から再開始信号S31a
が入力されたときに、完了位置保持信号S9 を作業位置
カウンタN2に出力して、停止した完了作業位置番号に
「1」が加算された番号を設定する。First Embodiment (Explanation of FIG. 3) FIG. 3 shows a general control device for controlling a robot RB and a relative movement device TR for moving the work W1 to Wn or the robot RB shown in FIG. , NC) output from the NC to the robot controller RC at each stop position after the relative movement device TR moves the robot RB to each of the stop positions P1 to Pn by the relative movement signal S6. robot RB by the specified signal S7 shows a block diagram of a control method of the present invention that NC is commanding the following operations by the work completion signal Rf outputted every time to end the work 1 to a plurality of locations, Robo
Work control method of Tsu bet is as follows. N1 (start / restart command circuit) The start / restart command circuit N1 outputs a start / restart signal S1 for pressing the start / restart push button switch PB1 to start control of the NC. N2 (Work Position Counter) Each time the work is completed, the work position counter N2 adds "1" to the completed work position number n of the work position counter and outputs a counter signal S2 to the NC. N6 (moving position command circuit) The moving position command circuit N6 outputs a relative movement signal S6 from the stop position data of the robot stored at the address of the NC memory from the counter signal S2 input from the work position counter N2. Then, the robot is moved to each stop position by the relative movement device. N7 (Program number designating circuit) The program number designating circuit N7 reads out the program number stored in the NC determined from the work position of the robot,
A program designation signal S7 is output to the robot controller RC. N9 (Completion position holding circuit) The completion position holding circuit N9 receives the work completion signal Rf, holds the completion work position number n in the memory, and outputs the completion position holding signal S9. This circuit N9 retains the memory contents even if the power is cut off . RC (Robot Control Unit) The robot control unit RC has a program number designated by a program designation signal S7 from the NC,
Causes the robot RB to start work at one or a plurality of places according to the program stored in the. N10 (Control end determination circuit) The control end determination circuit N10 compares the completed work position number n of the robot with the end work position number m stored in the memory of the NC, and when n <m, N23 and Returning to N6 described above via the work position counter N2 described above, the work is repeated in the same order until n = m, and n = m
The work is terminated when it becomes. N22 (Intermediate stop instruction circuit) The intermediate stop instruction circuit N22 outputs an intermediate stop instruction signal S22 when the robot is to be stopped halfway without terminating all repetitive operations. FF1 (Intermediate Stop Hold Circuit) The intermediate stop hold circuit FF1 is a circuit that holds the intermediate stop command signal S22 output from N22 until the stop signal S23s is output from N23 and outputs a stop hold signal S51. AND1 (Intermediate Stop Operation Circuit) The intermediate stop operation circuit AND1 outputs the intermediate stop operation signal S41 to N23 described later when the stop hold signal S51 and the work completion signal Rf are input simultaneously. N23 (Continuation / Stop Determination Circuit) The continuation / stop determination circuit N23 outputs the counter-up signal S23 when the control continuation signal S10 is input from N10 and the halfway stop operation signal S41 is not input from AND1. When the signal S41 is being input, a stop signal S23s is output. SW1 (start / restart switching circuit) The start / restart switching circuit SW1 outputs a start / restart signal S1.
, And outputs a start signal S31b until a start / restart switching signal S52 described later is input, and outputs a restart signal S31a when the signal S52 is input. FF2 (start / restart switch command circuit) The start / restart switch command circuit FF2 outputs a start / restart switch signal S52 when the completion position holding signal S9 is input, and receives a control end signal S10s from N10. When this is done, the signal S52 is stopped. This circuit FF2 outputs a signal S52 when the power is turned on again for restarting after the power is cut off due to an intermediate stop, and when the completion position holding signal S9 is output. SW3 (restart operation circuit) The restart operation circuit SW3 outputs a restart signal S31a from SW1.
Is input to the work position counter N2, and a number obtained by adding "1" to the stopped completed work position number is set.
【0007】(図4の説明) 図4は、両端が半分の枠WS 及びWf と枠数20の枠組
み(W1 ,W2 ,…,W20)とから成る被作業物(以
下、被溶接物という)と、図示していないXスライダ及
びYスライダから成る相対移動装置TRによって移動す
るロボットRBの各停止位置(停止位置番号Pr ,Ps
,P1 乃至P4 ,P11乃至P14,…,P211 乃至P214
)と、停止位置における作業個所(Q1 乃至Q165 )
との作業の制御方法の実施例を説明する図である。同図
において各符号は次のとおりである。XはロボットをX
方向に移動するXスライダの移動方向、Yはロボットを
Y方向に移動するYスライダの移動方向である。まず最
初にロボットは、原点位置Prに退避している。作業準
備開始によって、ロボットはXスライダによって距離A
だけ移動して基準位置Ps に移動する。この位置Ps
で、例えば開始・再開始押ボタンスイッチPB1を押し
て開始・再開始信号S1 を発生させる。最初の半分の枠
Wsに対するロボットの作業制御方法について説明す
る。開始・再開始信号S1 によって、Yスライダはロボ
ットを距離B1 だけY方向に移動して第1移動停止位置
P1 で停止させる。この位置P1 で、NCはロボット起
動信号を含むプログラム指定信号S7 をロボット制御装
置RCに出力し、ロボットは、この停止位置P1 で、ロ
ボット制御装置RCに予めティーティングされた第1プ
ログラムを作業位置Q1 において実行して、例えば水平
隅肉溶接作業を行う。この溶接が終了するとロボット制
御装置RCは作業完了信号Rf をNCに出力する。NC
にこの信号Rf が入力されると、NC内の作業位置カウ
ンタN2を1から2に進めた後、再びYスライダはロボ
ットをマイナスY方向に距離B1 −C1 だけ移動して第
2停止位置P2 で停止させる。この位置P2 でNCはプ
ログラム指定信号S7 をロボット制御装置RCに出力
し、ロボットは、この停止位置P2 で、ロボット制御装
置RCに予めティーティングされた前述の同一の第1プ
ログラムを作業位置Q2 において実行して、水平隅肉溶
接作業を行う。この溶接作業終了によって前述したカウ
ンタを3に進めた後、Yスライダは、ロボットをマイナ
スY方向に距離C1 +C2 だけ移動させ、第3停止位置
P3 で停止させ、ロボット制御装置に予めティーティン
グされた第2プログラムを作業位置Q3 において実行す
る。次にYスライダは、ロボットをマイナスY方向に距
離B2 −C2だけ移動させ、第4停止位置P4 で停止さ
せ、同じ第2プログラムを作業位置Q4 において実行す
る。以上で半分の枠Ws の作業が完了する。次に、第1
枠組みW1に対するロボットの作業制御方法について説
明する。上記の作業位置Q4 の実行終了後、Xスライダ
は、ロボットをX方向に距離Dだけ移動させ、第1枠の
第4停止位置P14で停止させ、第3プログラムを作業位
置Q5 において実行する。次に、Yスライダはロボット
をY方向に距離B2 −C2 だけ移動させ、第1枠の第3
停止位置P13で停止させ同じ第3プログラムを作業位置
Q6 において実行する。続いて、Yスライダはロボット
をY方向に距離C2 +C1 だけ移動させ、第1枠の第2
停止位置P12で停止させ、第4プログラムを作業位置Q
7 において実行する。さらにYスライダはロボットをY
方向に距離B1−C1 だけ移動させ第1枠の第1停止位
置P11で停止させ、上記と同じ第4プログラムを作業位
置Q8 で実行する。以下、前述した半分の枠Ws におい
て説明した順序の制御方法で第1枠W1 の停止位置P11
において作業位置Q9 で作業を実行し、停止位置P12に
おいて作業位置Q10で作業を実行し、停止位置P13にお
いて作業位置Q11で作業を実行し、停止位置P14におい
て作業位置Q12で作業を実行して、第1枠組みW1 の作
業が完了する。第2枠組みW2 の各停止位置P21乃至P
24において作業位置Q13乃至Q20で作業を実行し、第3
枠組みW3 から第20枠組みW20についても同様に実行
する。最後に半分の枠Wf についても、第1枠組みの各
停止位置P14乃至P11において作業位置Q5 乃至Q8 と
同様に、停止位置P214 乃至P211 において作業位置Q
165 乃至Q168 で作業を実行し、繰返し被作業物Ws 及
びW1 乃至W20及びWfの作業を全部完了する。以上の
とおり、この実施例においては、作業個所Q1 における
第1プログラム、作業個所Q3 における第2プログラ
ム、作業個所Q5 における第3プログラム及び作業個所
Q7 における第4プログラムの4つのプログラムを予め
ティーティング又はオフラインで作成してロボット制御
装置に記憶させておくだけで、NCから、各作業個所に
応じてこの4つのいずれのプログラムを実行するかのプ
ログラム指令信号S7 を入力されるだけで各作業個所の
作業を行うことができるので、ロボット制御装置のプロ
グラム作成が非常に短時間に行うことができ、ロボット
の稼動率が極めて向上し、全作業の時間短縮となる。な
お、上記において、第1プログラムを実行する作業位置
は、Q1 ,Q2 ,Q9 ,Q10,Q17,Q18,…,Q161
,Q162 であり、第2プログラムを実行する作業位置
は、Q3 ,Q4 ,Q11,Q12,Q19,Q20,…,Q163
及びQ164 であり、第3プログラムを実行する作業位置
は、Q5 ,Q6 ,Q13,Q14,Q21,Q22,,…,Q16
5 及びQ166 であり、第4プログラムを実行する作業位
置は、Q7 ,Q8 ,Q15,Q16,Q23,Q24,…,Q16
7 及びQ168 である。(Explanation of FIG. 4) FIG. 4 shows a work (hereinafter, referred to as a work to be welded) composed of frames WS and Wf of which both ends are half and frames (W1, W2,..., W20) having 20 frames. And stop positions (stop position numbers Pr, Ps) of the robot RB moved by the relative movement device TR including an X slider and a Y slider (not shown).
, P1 to P4, P11 to P14,..., P211 to P214
) And the work location at the stop position (Q1 to Q165)
FIG. 4 is a diagram for explaining an embodiment of a method of controlling the operation with the above. In the figure, the respective symbols are as follows. X is a robot X
The moving direction of the X slider that moves in the direction, and Y is the moving direction of the Y slider that moves the robot in the Y direction. First, the robot has retreated to the origin position Pr. At the start of work preparation, the robot moves the distance A with the X slider.
And moves to the reference position Ps. This position Ps
Then, for example, the start / restart push button switch PB1 is pressed to generate the start / restart signal S1. A method of controlling the operation of the robot for the first half frame Ws will be described. In response to the start / restart signal S1, the Y slider moves the robot by the distance B1 in the Y direction and stops at the first movement stop position P1. At this position P1, the NC outputs a program designation signal S7 including a robot start signal to the robot controller RC. At this stop position P1, the robot executes the first program pre-teached by the robot controller RC at the work position. Executing in Q1, for example, a horizontal fillet welding operation is performed. When the welding is completed, the robot controller RC outputs a work completion signal Rf to the NC. NC
When the signal Rf is input to the NC, the work position counter N2 in the NC is advanced from 1 to 2, and then the Y slider moves the robot again in the minus Y direction by the distance B1 -C1 and at the second stop position P2. Stop. At this position P2, the NC outputs a program designation signal S7 to the robot controller RC. At this stop position P2, the robot executes the above-mentioned first program pre-teached by the robot controller RC at the work position Q2. To perform the horizontal fillet welding operation. After the welding operation is completed, the above-described counter is advanced to 3, and the Y-slider moves the robot by a distance C1 + C2 in the minus Y direction, stops at the third stop position P3, and is previously teated by the robot controller. The second program is executed at the work position Q3. Next, the Y slider moves the robot in the minus Y direction by a distance B2 -C2, stops at the fourth stop position P4, and executes the same second program at the work position Q4. Thus, the operation of the half frame Ws is completed. Next, the first
A method of controlling the work of the robot for the framework W1 will be described. After the execution of the work position Q4, the X slider moves the robot by the distance D in the X direction, stops the robot at the fourth stop position P14 of the first frame, and executes the third program at the work position Q5. Next, the Y slider moves the robot by a distance B2 -C2 in the Y direction, and the third slider of the first frame is moved.
The program is stopped at the stop position P13 and the same third program is executed at the work position Q6. Subsequently, the Y slider moves the robot in the Y direction by a distance C2 + C1,
Stop at the stop position P12 and execute the fourth program at the work position Q
Execute at 7. Furthermore, the Y slider moves the robot to Y
After moving in the direction by the distance B1-C1 and stopping at the first stop position P11 of the first frame, the same fourth program as described above is executed at the work position Q8. Hereinafter, the stop position P11 of the first frame W1 is controlled by the control method of the order described in the half frame Ws.
The work is performed at the work position Q9, the work is performed at the stop position P12 at the work position Q10, the work is performed at the stop position P13 at the work position Q11, and the work is performed at the stop position P14 at the work position Q12. The work of the first framework W1 is completed. Each stop position P21 to P of the second framework W2
At 24, work is performed at work positions Q13 to Q20,
The same applies to the frameworks W3 to W20. Finally, for the half frame Wf, the work position Q at the stop positions P214 to P211 is the same as the work positions Q5 to Q8 at the stop positions P14 to P11 of the first framework.
The work is executed in steps 165 to Q168, and the work on the workpieces Ws and W1 to W20 and Wf is repeatedly completed. As described above, in this embodiment, the four programs of the first program at the work place Q1, the second program at the work place Q3, the third program at the work place Q5, and the fourth program at the work place Q7 are pre-teached or Simply by making the program offline and storing it in the robot controller, the NC only receives a program command signal S7 for executing any of these four programs in accordance with each work location. Since the work can be performed, the program creation of the robot control device can be performed in a very short time, the operation rate of the robot is extremely improved, and the time of the entire work is reduced. In the above description, the work positions for executing the first program are Q1, Q2, Q9, Q10, Q17, Q18,.
, Q162, and the work positions for executing the second program are Q3, Q4, Q11, Q12, Q19, Q20,.
, And Q164, and the work positions for executing the third program are Q5, Q6, Q13, Q14, Q21, Q22,.
5 and Q166, and the work positions for executing the fourth program are Q7, Q8, Q15, Q16, Q23, Q24,.
7 and Q168.
【0008】(図5の説明) 図5は、半分の枠Ws 及びWf と枠数2の枠組み(W1
,W2 )とから成る被作業物と、Xスライダ及びYス
ライダによって移動するロボットRBの各停止位置Pr
,Ps 及びP1 乃至P4 ,P11乃至P14,P21乃至P2
4及びP31乃至P34と、作業個所Q1 乃至Q20との作業
の制御方法を説明する図である。同図において、符号の
説明は図4と同一である。また、同図においては、例え
ば、アーク溶接ロボットで、まずX方向の枠用立板とY
方向の枠用立板との交叉部分すなわち、作業位置Q1 乃
至Q12を内側から立向隅肉溶接を周辺方向に行い、次に
Y方向の枠用立板と補強板との交叉部分、すなわち、作
業位置Q13乃至Q20を千鳥形に水平隅肉溶接する場合の
作業の制御方法を示している。同図と図4との作業制御
方法の主な相違はつぎのとおりである。まず第1に、両
者は、XスライダとYスライダとの移動順序が異なり、
したがって、被作業物に対して実行する作業位置の順序
が異なっている。すなわち、図4においては、作業位置
Q1 乃至Q4 及びQ5 乃至Q8 等がすべて、Y方向の順
序になっているのに対して、図5においては、作業位置
Q1 乃至Q6 及びQ7 乃至Q12がX方向の順序になって
いる。第2に、両者はプログラムの数が異なっている。
すなわち図4においては、各作業位置では、例えばすべ
て水平隅肉溶接であったので、各隣接した作業位置Q1
とQ2 ,Q3 とQ4 等は、Y方向のスライダを移動させ
れば、ロボットの関節アームの動きが同一なので同一プ
ログラムを使用することができたため、第1乃至第4の
4つのプログラムがあればロボットの繰返し作業を行う
ことができた。しかし、図5においては、各隣接した作
業位置Q1 とQ14,Q12とQ13等であっても、Q1 乃至
Q12は立向隅肉溶接であり、Q13乃至Q20は水平隅肉溶
接であるので、ロボットの関節アームの動きが異なるの
で、第1乃至第8の8つのプログラムが必要となる。し
かし、図5においても、図4と同様に、図3に示すフロ
ーチャートで説明したとおり、NCの相対移動信号S6
によって被溶接物とロボットとの相対移動が行われると
ともに、NCからのロボット制御装置RCに出力された
プログラム指定信号S7 によってロボットが起動してロ
ボットの作業が制御されている。(Explanation of FIG. 5) FIG. 5 shows a half frame Ws and Wf and a frame (W1) having two frames.
, W2) and each stop position Pr of the robot RB moved by the X slider and the Y slider.
, Ps and P1 through P4, P11 through P14, P21 through P2
FIG. 4 is a diagram for explaining a method of controlling operations of P4 to P31 to P34 and work locations Q1 to Q20. In the figure, the description of the reference numerals is the same as in FIG. In the same figure, for example, an arc welding robot firstly sets up a frame standing plate in the X direction and Y
The vertical intersection of the frame standing plate in the direction, i.e., the working positions Q1 to Q12, is subjected to vertical fillet welding from the inside in the peripheral direction, and then the intersection of the Y direction frame standing plate and the reinforcing plate, This figure shows a method of controlling the operation in the case where horizontal fillet welding is performed at the positions Q13 to Q20 in a staggered manner. The main differences of the work control method between FIG. 4 and FIG. 4 are as follows. First, both differ in the order in which the X and Y sliders move.
Therefore, the order of the work positions executed on the work is different. That is, in FIG. 4, the work positions Q1 to Q4 and Q5 to Q8 are all in the order of the Y direction, whereas in FIG. 5, the work positions Q1 to Q6 and Q7 to Q12 are in the X direction. In order. Second, they differ in the number of programs.
That is, in FIG. 4, at each work position, for example, all horizontal fillet welding is performed, so that each adjacent work position Q1
Since the movement of the joint arm of the robot is the same if the slider in the Y direction is moved, the same program could be used for the first to fourth programs. The robot was able to perform repetitive tasks. However, in FIG. 5, even at the adjacent work positions Q1 and Q14, Q12 and Q13, etc., Q1 to Q12 are vertical fillet welds and Q13 to Q20 are horizontal fillet welds. Since the movements of the articulated arms are different, first to eighth eight programs are required. However, in FIG. 5, similarly to FIG. 4, as described in the flowchart shown in FIG.
Relative movement between the workpiece and the robot is performed, and the robot is started by the program designation signal S7 output from the NC to the robot control device RC to start the robot .
Bot work is controlled.
【0009】(図6の説明)図6は、図5の第1の枠組
みW1 の作業位置Q2 ,Q3 ,Q10,Q11,Q15乃至Q
18の8個所と、各作業位置に対応して、プログラム番号
001 乃至008の8つのプログラムを適用した場合を示す
説明図である。さらに、同図においては、第1の枠組み
W1 以外の各作業位置(例えばQ4 及びQ6)と各プロ
グラム番号(例えば002 )との対応関係をも示してい
る。このように作業位置がきまれば、それに対応させて
プログラム番号を1対1に決定することができる。(Explanation of FIG. 6) FIG. 6 shows the work positions Q2, Q3, Q10, Q11, Q15 to Q15 of the first framework W1 of FIG.
Eighteen locations and program numbers corresponding to each work position
It is an explanatory view showing a case where eight programs 001 to 008 are applied. Further, FIG. 5 also shows the correspondence between each work position (for example, Q4 and Q6) other than the first framework W1 and each program number (for example, 002). When the work position is determined in this way, the program number can be determined one-to-one correspondingly.
【0010】(図7及び図8の説明)図7及び図8は、
図5に示す被作業物の作業個所を、図5に示す順序で作
業を実行したとき、各作業個所において図6で説明した
プログラム番号のプログラムを指令するメモリの設定を
示す図である。図7及び図8において、枠外の左の#00
0 乃至#047 は、メモリのアドレス番号を示し、枠内
は、枠外の右に記載した各項目に対するデータ又はデー
タの番号である。アドレス番号#000 乃至#005 は、図
5に示す相対移動装置TRの移動距離(単位[mm]A=
5000,B1 =1400,B2 =900 ,C1 =900 ,C2 =50
0 及びD1 =0である。アドレス#006 は、作業を開始
する位置番号で、作業位置Q1 から開始するので、1で
あり、アドレス#007 は、作業を終了する位置番号で、
作業位置Q20で終了するので、20である。アドレス番
号#008 及び#009は、それぞれ作業位置Q1 における
ロボットの停止位置Pの番号及びプログラム番号であ
る。ロボットの停止位置Pの番号は、図5の作業位置Q
1 の作業を実行するときのロボットの停止位置はP1 な
ので、1となる。またプログラム番号は、作業位置Q1
の作業を実行するときのロボットの関節アームの動き
は、図6の作業位置Q3 と同じなので、そのプログラム
番号001 と同じになる。同様にして、アドレス#010 及
び011 は、それぞれ、作業位置Q2 におけるロボット停
止位置が図5よりP11であるので「11」となり、プログ
ラム番号が図6より002 となる。以下同様にして、作業
位置Q3 乃至Q20のロボット停止位置とプログラム番号
とが、図5及び図6から定まる。(Description of FIGS. 7 and 8) FIGS. 7 and 8
FIG. 7 is a diagram showing settings of a memory for instructing a program of a program number described in FIG. 6 in each work place when work is performed in the work place of the work shown in FIG. 5 in the order shown in FIG. 5. In FIGS. 7 and 8, the left # 00 outside the frame
0 to # 047 indicate the address numbers of the memory, and the inside of the frame is the data or data number for each item described on the right outside the frame. The address numbers # 000 to # 005 are the moving distances of the relative moving device TR shown in FIG.
5000, B1 = 1400, B2 = 900, C1 = 900, C2 = 50
0 and D1 = 0. The address # 006 is a position number at which the work is started and is 1 since the work is started from the work position Q1, and the address # 007 is a position number at which the work is ended.
Since it ends at the work position Q20, it is 20. The address numbers # 008 and # 009 are the number of the stop position P of the robot at the work position Q1 and the program number, respectively. The number of the stop position P of the robot corresponds to the work position Q in FIG.
Since the stop position of the robot when performing the operation 1 is P1, it is 1. The program number is the work position Q1
The movement of the articulated arm of the robot when executing the above operation is the same as the operation position Q3 in FIG. Similarly, the addresses # 010 and 011 are "11" because the robot stop position at the work position Q2 is P11 in FIG. 5, and the program number is 002 in FIG. Similarly, the robot stop positions of the work positions Q3 to Q20 and the program numbers are determined from FIGS.
【0011】(図9の説明)ブロックの機能説明 図9は、図5乃至図8の実施例において説明したロボッ
トの作業制御方法のブロック図であり、各ブロックの符
号と機能はつぎのとおりである。 N1(開始・再開始指令回路) 相対移動装置及び作業用ロボットを制御する総括制御装
置、例えばNCの開始・再開始押ボタンスイッチPB1
を押して、NCの制御を開始する開始・再開始信号S1
を出力する。 SW1(開始・再開始切換回路) 開始・再開始信号S1 を入力とし、後述する開始・再開
始切換信号S52が入力されるまでは、b 接点から開始信
号S31b を出力し、信号S52が入力されたときは、a接
点から再開始信号S31a を出力する。 N2(作業位置カウンタ) 開始信号S31b が入力されたときは、カウンタ番号n を
1に設定し、また後述するカウンタ設定信号S33が入力
されたときは、カウンタ番号nを前回の完了作業位置番
号に「1」を加算した番号に設定してカウンタ信号S2
を出力する。また、後述するN23からカウンタアップ信
号S23が入力されたときは、「1」を加算したカウンタ
信号S2 を出力する。 N3(基準位置移動指令回路) ロボットRBを基準位置Ps に移動させるために、NC
から相対移動装置TRに基準位置移動信号S3 を出力す
る。TRは、例えばロボットをX方向に距離A=5000
[mm]移動させる。 N4(作業開始位置指令回路) NCのメモリから、作業を開始する作業位置(例えばQ
1 )の番号(以下、作業開始位置番号という)の「1」
を、(例えばメモリのアドレス#006 から)読み出し、
作業開始位置信号S4 を出力する。 N5(作業位置指令回路) N4からの作業開始位置信号S4 及び作業位置カウンタ
N2 からのカウンタ信号S2 が入力されたとき、NCの
メモリから、 アドレス番号=作業開始位置番号×2 ×(n-1) +8 のロボットの停止位置番号(以下、停止位置番号とい
う)を読み出して、停止位置信号S5 を出力する。 (例)作業開始位置信号S4 の作業開始位置番号が1
で、カウンタ信号S2 がn=1のとき、アドレス番号=
1 ×2 ×(1-1) +8 =8 なので、図7のアドレス#008
から停止位置番号「1」を読み出して、停止位置番号
「1」の停止位置信号S5を出力する。カウンタ信号S2
がn=2のときは、アドレス番号=1 ×2(2-1)+8 =1
0なので#010 の停止位置番号「11」を読み出し、停止
位置信号S5 を出力する。 N6(移動位置指令回路) NCのメモリの停止位置番号の下1桁の数を読み出し、 1のときは、YスライダをX軸に対して、1400[mm] 2のときは、YスライダをX軸に対して、 900[mm] 3のときは、YスライダをX軸に対して、-500[mm] 4のときは、YスライダをX軸に対して、-900[mm] 移動させるY方向相対移動信号S6 (y)を出力する。 (例)停止位置がP1 のとき、停止位置番号「1」の下
1桁は「1」なので、上記1が実行される。停止位置が
P14のとき、停止位置番号「14」の下1桁は「4」なの
で、上記4が実行される。次にNCのメモリの停止位置
番号の上位2桁の数を読み、Xスライダを(停止位置番
号の上位2桁の値)×800 [mm]移動させるX方向相対
移動信号S6(x)を出力する。 (例)停止位置がP1 のとき、停止位置番号「1」の上
位2桁は「0」なのでXスライダは移動しない。停止位
置がP24のとき、停止位置番号「24」の上位で2桁は
「02」なので、Xスライダを 2×800 =1600[mm]移動
させるX方向相対移動信号S6(x)を出力する。 TR(相対移動装置) NCから出力されたX及びYスライダのX及びY方向相
対移動信号S6(x,y)によって、相対移動装置TRがロボ
ットを信号S6 で定まる停止位置まで移動させる。 N7(プログラム番号指定回路) 前述したN5の作業位置番号を読み出した次のアドレス
番号に記憶されたプログラム番号を読み出し、ロボット
制御装置RCに、プログラム指定信号S7 を出力する。 (例)N5の停止位置番号を読み出したアドレス#008
のときは、次のアドレス#009 のプログラム番号001 を
読み出す。N5の停止位置番号を読み出したアドレスが
#010 のときは、次のアドレス#011 のプログラム番号
002 を読み出す。 RC(ロボット制御装置) ロボット制御装置RCは、NCからのプログラム指定信
号S7 で指定されたプログラム番号であって、RCに予
め記憶されたプログラムによってロボットRBに作業を
開始させる。 (例)N5の#008 の停止位置P1 では、プログラム信
号S7 で指示された#009 のプログラム番号001 の作業
を実行する。N5の#010 の停止位置P17では、プログ
ラム信号S7 で指示された#011のプログラム番号002
の作業を実行する。ロボットRBが作業を終了すると、
RCは作業完了信号Rf をNCに出力する。 SW2(完了作業位置出力回路) 作業完了信号Rf が入力されたとき、作業位置カウンタ
N2 のカウンタ信号S2 を完了位置信号S32として出力
する。 N9(完了位置保持回路) 完了位置信号S32を入力として、完了作業位置番号をメ
モリに保持して、完了位置保持信号S9 を出力する。こ
のメモリは不揮発性で、電源を遮断してもメモリ内容は
保存される。 N10(制御終了判別回路) 完了位置保持信号S9 の完了作業位置番号n とNCのア
ドレス#007 に記憶された終了作業位置番号m=20とを
比較し、一致しないときは制御継続信号S10を出力し、
番号が一致したときは制御終了信号S10s を出力する。 N21(作業終了回路) 制御終了信号S10s により、NC及びRCはすべての動
作を終了する。 N22(途中停止指令回路)ロボット の繰返し作業を全部終了させないで、溶接ワイ
ヤの交換、昼食時、明日への持越し等のために途中停止
をしたいときは、途中停止押ボタンスイッチPB2を押
して途中停止指令信号S22を出力する。 FF1(途中停止保持回路) N22から出力された途中停止指令信号S22をN23か
ら停止信号S23s が出力されるまで保持して停止保持信
号S51を出力するフリップフロップ回路であって、信号
S22によってセットされ停止信号S23s によってリセッ
トされる。 AND1(途中停止動作回路) 停止保持信号S51と作業完了信号Rf とが同時に入力さ
れたときに途中停止動作信号S41を後述するN23に出
力する。 N23(継続・停止判別回路) N10から制御継続信号S10が入力されたとき、AND
1から途中停止動作信号S41が入力されていないとき
は、カウンタアップ信号S23を出力し、信号S41が入力
されているときは、停止信号S23s を出力する。 N24(途中停止回路) N23から停止信号S23s が入力されたとき、ロボット
の作業終了の途中の作業完了で停止する。 AD(加算回路) N9の完了位置保持信号S9 が入力された時に、「1」
を加算して加算信号S61を出力する。 FF2(開始・再開始切換指令回路) 完了位置保持信号S9 が入力された時にセットされて開
始・再開始切換信号S52を出力して、開始・再開始切換
回路SW1 を接点a 側に切換える。また、N10から制
御終了信号S10s が入力されたとき、リセットされて信
号S52を停止するので、開始・再開始切換回路SW1 は
接点b 側に復帰する。なお、このFF2は、電源を遮断
して再投入したとき、完了位置保持信号S9 が出力され
ているときは、セットされて信号S52を出力する。 SW3(再開始動作回路) SW1がa接点に切換っているときに、開始・再開始押
ボタンスイッチPB1を押すと、SW1から再開始信号
S31a がSW3に入力されて、ADの加算信号S61が作
業位置カウンタN2に入力されて停止した完了作業番号
に「1」が加算された番号が設定され、作業位置カウン
タN2に設定され、N2からカウンタ信号S2 が出力さ
れる。( Explanation of FIG. 9) Functional explanation of the block FIG. 9 shows the robot described in the embodiment of FIGS.
Is a block diagram of a working method of controlling bets, code and function of each block is as follows. N1 (start / restart command circuit) A general control device for controlling the relative movement device and the working robot, for example, a start / restart pushbutton switch PB1 of NC
To start the NC control, a start / restart signal S1
Is output. SW1 (start / restart switching circuit) The start / restart signal S1 is input, and until the start / restart switching signal S52 described later is input, the start signal S31b is output from the contact b, and the signal S52 is input. , A restart signal S31a is output from the contact a. N2 (work position counter) When the start signal S31b is input, the counter number n is set to 1, and when the counter setting signal S33 described later is input, the counter number n is set to the previous completed work position number. Set the number to which "1" is added and set the counter signal S2
Is output. When a counter-up signal S23 is input from N23 to be described later, a counter signal S2 to which "1" is added is output. N3 (reference position movement command circuit) In order to move the robot RB to the reference position Ps, NC
Outputs a reference position movement signal S3 to the relative movement device TR. TR is, for example, a distance A = 5000 in the X direction of the robot.
[Mm] Move. N4 (work start position command circuit) A work position (for example, Q
"1" of the number 1) (hereinafter referred to as the work start position number)
(For example, from memory address # 006),
The work start position signal S4 is output. N5 (work position command circuit) When the work start position signal S4 from N4 and the counter signal S2 from the work position counter N2 are input, the address number = work start position number × 2 × (n-1) ) Read out the stop position number of the +8 robot (hereinafter referred to as stop position number) and output the stop position signal S5. (Example) The work start position number of the work start position signal S4 is 1
When the counter signal S2 is n = 1, the address number =
Since 1 × 2 × (1-1) + 8 = 8, address # 008 in FIG.
, The stop position number "1" is read out, and the stop position signal S5 of the stop position number "1" is output. Counter signal S2
Is n = 2, the address number = 1 × 2 (2-1) + 8 = 1
Since it is 0, the stop position number "11" of # 010 is read, and the stop position signal S5 is output. N6 (moving position command circuit) Reads the last one digit of the stop position number in the NC memory. When 1, the Y slider is set to 1400 [mm] with respect to the X axis. When the distance is 900 [mm] 3 with respect to the axis, the Y slider is moved by -900 [mm] with respect to the X axis, and when the distance is -500 [mm] 4, the Y slider is moved by -900 [mm]. The direction relative movement signal S6 (y) is output. (Example) When the stop position is P1, the last digit of the stop position number "1" is "1", so the above 1 is executed. When the stop position is P14, the last digit of the stop position number "14" is "4", so the above 4 is executed. Next, the upper two digits of the stop position number in the NC memory are read, and an X direction relative movement signal S6 (x) for moving the X slider (the upper two digits of the stop position number) × 800 [mm] is output. I do. (Example) When the stop position is P1, the upper two digits of the stop position number "1" are "0", so that the X slider does not move. When the stop position is P24, since the upper two digits of the stop position number "24" are "02", an X-direction relative movement signal S6 (x) for moving the X slider by 2 * 800 = 1600 [mm] is output. TR (relative moving device) The relative moving device TR moves the robot to a stop position determined by the signal S6 based on the X and Y relative relative movement signals S6 (x, y) of the X and Y sliders output from the NC. N7 (program number designating circuit) The program number stored at the address number following the readout of the work position number of N5 is read out, and a program designating signal S7 is outputted to the robot controller RC. (Example) Address # 008 from which the stop position number of N5 is read
In the case of, the program number 001 at the next address # 009 is read. If the address from which the stop position number of N5 was read is # 010, the program number of the next address # 011
Read 002. RC (Robot Control Device) The robot control device RC causes the robot RB to start work according to a program number designated by the program designation signal S7 from the NC and stored in the RC in advance. (Example) At the stop position P1 of # 008 of N5, the work of the program number 001 of # 009 specified by the program signal S7 is executed. At the stop position P17 of # 010 of N5, the program number 002 of # 011 specified by the program signal S7.
Perform the work of. When the robot RB finishes the work,
The RC outputs a work completion signal Rf to the NC. SW2 (Completion work position output circuit) When the work completion signal Rf is inputted, the counter signal S2 of the work position counter N2 is output as the completion position signal S32. N9 (Completion position holding circuit) The completion position signal S32 is input, the completion work position number is stored in the memory, and the completion position holding signal S9 is output. This memory is non-volatile, and its contents are preserved even when the power is turned off. N10 (control end determination circuit) Compares the completed work position number n of the completed position holding signal S9 with the finished work position number m = 20 stored in the address # 007 of the NC, and outputs a control continuation signal S10 when they do not match. And
If the numbers match, a control end signal S10s is output. N21 (work end circuit) The NC and RC end all operations in response to the control end signal S10s. N22 (Intermediate stop command circuit) If you do not want to end the repetitive work of the robot and want to stop it halfway for replacing the welding wire, at lunch, or to carry over to tomorrow, press the halfway stop push button switch PB2 to stop halfway. The command signal S22 is output. FF1 (intermediate stop holding circuit) A flip-flop circuit which holds the intermediate stop command signal S22 output from N22 until a stop signal S23s is output from N23 and outputs a stop holding signal S51, and is set by the signal S22. It is reset by the stop signal S23s. AND1 (intermediate stop operation circuit) When the stop holding signal S51 and the work completion signal Rf are simultaneously inputted, the stop operation signal S41 is output to N23 described later. N23 (continuation / stop determination circuit) When the control continuation signal S10 is input from N10, AND
When the intermediate stop operation signal S41 is not inputted from 1, the counter up signal S23 is outputted, and when the signal S41 is inputted, the stop signal S23s is outputted. N24 (Intermediate stop circuit) When the stop signal S23s is input from N23, the robot stops at the completion of the work in the middle of the work end. AD (addition circuit) "1" when the completion position holding signal S9 of N9 is input.
And outputs an addition signal S61. FF2 (start / restart switching command circuit) This is set when the completion position holding signal S9 is input, outputs the start / restart switching signal S52, and switches the start / restart switching circuit SW1 to the contact a side. When the control end signal S10s is input from N10, the signal is reset and the signal S52 is stopped, so that the start / restart switching circuit SW1 returns to the contact b side. The FF 2 is set to output the signal S52 when the power is turned off and then turned on again, and when the completion position holding signal S9 is output. SW3 (restart operation circuit) When the start / restart push button switch PB1 is pressed while the switch SW1 is switched to the contact a, the restart signal S31a is input from the switch SW1 to the switch SW3, and the addition signal S61 of the AD is output. A number obtained by adding "1" to the completed work number input to the work position counter N2 and stopped is set, the work position counter N2 is set, and a counter signal S2 is output from N2.
【0012】第1停止位置P1の動作説明 NCの開始・再開始押ボタンスイッチPB1を押して、
NCの制御を開始する開始・再開始信号S1を出力す
る。開始・再開始切換回路SW1はb接点に接続されて
いるので、SW1から開始信号S31bが出力される。
信号S31bは、作業位置カウンタN2のカウンタ番号
を1に設定する。また信号S31bは、基準位置移動指
令回路N3に出力され、ロボットRBを図5に示す原点
位置Prから基準位置Psに移動させるために、相対移
動装置TRに、基準位置移動信号S3を出力する。ロボ
ットの移動中又は移動後に、NCのメモリから作業を開
始する作業位置(Q1)番号の「1」を読み出し、作業
開始位置信号S4を、作業位置指令回路N5に出力す
る。回路N5は、この信号S4の「1」と作業位置カウ
ンタN2からのカウンタ信号S2のn=1とが入力され
ると、アドレス番号=作業開始位置番号×2×(n−
1)+8=8なので、図7に示すアドレス#008か
ら、ロボットの停止位置番号「1」を読み出して、停止
位置信号S5を移動位置指令回路N6に出力する。移動
位置指令回路N6は、上記停止位置番号「1」の下1桁
の「1」を読み出して、予め定めたとおり、Yスライダ
をX軸に対して距離B1=1400[mm]移動させる
相対移動信号S6を、相対移動装置TRに出力する。ロ
ボットは、相対移動装置TRによって図5の第1停止位
置P1に移動する。ロボットの移動後に、NCのプログ
ラム番号指定回路N7は、図7に示すアドレス#008
の次のアドレス#009に記憶されたプログラム番号
「001」を読み出し、RCにプログラム指定信号S7
を出力する。RCは、プログラム指定信号S7で指定さ
れたプログラム番号「001」であって、RCに予めテ
ィーティング又はオフラインで記憶されたプログラムに
よってロボットRBに作業を開始させる。ロボットRB
が作業位置Q1の作業を完了すると、RCは作業完了信
号RfをNCに出力する。NCの完了作業位置出力回路
SW2は、作業完了信号Rfが入力されたとき、作業位
置カウンタN2のカウンタ番号S2を、完了位置信号S
32として出力する。信号S32が完了位置保持回路N
9に入力されると、この回路のメモリに、完了作業位置
番号「1」を保持して、完了位置保持信号S9を出力す
る。制御終了判別回路N10は、この完了位置保持信号
S9の完了作業位置番号n=1とNCのアドレス#00
7に記憶された終了作業位置番号m=20とを比較し
て、n<mなので、制御継続信号S10を出力する。継
続・停止判別回路N23に、途中停止動作信号S41が
入力されていないときは、この回路N23は、作業位置
カウンタN2に、カウンタアップ信号S23を出力す
る。作業位置カウンタN2は、カウンタ番号1に1を加
算してカウンタ番号2のカウンタ信号S2を、再び作業
位置指令回路N5に出力する。 Description of the operation of the first stop position P1 Pressing the start / restart pushbutton switch PB1 of the NC,
A start / restart signal S1 for starting control of the NC is output. Since the start / restart switching circuit SW1 is connected to the contact b, the start signal S31b is output from the switch SW1.
The signal S31b sets the counter number of the work position counter N2 to 1. The signal S31b is output to the reference position movement command circuit N3, and outputs a reference position movement signal S3 to the relative movement device TR in order to move the robot RB from the origin position Pr shown in FIG. 5 to the reference position Ps. During or after the movement of the robot, the work position (Q1) number “1” at which work is started is read from the memory of the NC, and a work start position signal S4 is output to the work position command circuit N5. When "1" of this signal S4 and n = 1 of the counter signal S2 from the work position counter N2 are inputted, the circuit N5 receives the address number = work start position number × 2 × (n−
1) Since + 8 = 8, the stop position number "1" of the robot is read from the address # 008 shown in FIG. 7, and the stop position signal S5 is output to the movement position command circuit N6. The movement position command circuit N6 reads the last one digit "1" of the stop position number "1", and moves the Y slider a distance B1 = 1400 [mm] with respect to the X axis as predetermined. The signal S6 is output to the relative movement device TR. The robot moves to the first stop position P1 in FIG. 5 by the relative movement device TR. After the movement of the robot, the NC program number designating circuit N7 outputs the address # 008 shown in FIG.
The program number “001” stored at the next address # 009 is read out, and the program designation signal S7 is sent to the RC.
Is output. RC is a program number “001” designated by the program designation signal S7, and causes the robot RB to start work by a program stored in advance in the RC by teaching or offline. Robot RB
Completes the work at the work position Q1, the RC outputs a work completion signal Rf to the NC. When the work completion signal Rf is input, the completed work position output circuit SW2 of the NC outputs the counter number S2 of the work position counter N2 to the completion position signal S2.
Output as 32. The signal S32 indicates the completion position holding circuit N
When the input is input to the circuit 9, the completed work position number "1" is held in the memory of this circuit, and the completed position holding signal S9 is output. The control end determination circuit N10 determines the completion work position number n = 1 of the completion position holding signal S9 and the address # 00 of the NC.
7 is compared with the end work position number m = 20, and since n <m, the control continuation signal S10 is output. When the halfway stop operation signal S41 is not input to the continuation / stop determination circuit N23, the circuit N23 outputs a counter up signal S23 to the work position counter N2. The work position counter N2 adds 1 to the counter number 1 and outputs the counter signal S2 of the counter number 2 to the work position command circuit N5 again.
【0013】第2停止位置P2 以後の動作説明 作業位置指令回路N5は、前述した作業開始位置信号
S4 と作業開始位置信号S4 の「1」と作業位置カウン
タN2のカウンタ信号S2 のn=2とが入力されると、
アドレス番号=作業開始位置番号×2 ×(n-1) +8 =10
なので、図7に示すアドレス#010 から、停止位置番号
「11」を読み出して、停止位置信号S5 を移動位置指令
回路N6に出力する。この回路N6は、上記停止位置番
号「11」の下1桁の「1」を読み出して、予め定めたと
おり、YスライダをX軸に対して距離B1 =1400[mm]
移動させる相対移動信号S6 を、相対移動装置TRに出
力する。このB1 は、Y方向に対して第1停止位置P1
の位置と同じなので、TRはY方向には移動しない。し
かし、停止位置番号「11」の2桁目は「1」なので、X
スライダを1 ×800 =800 [mm]移動させる相対移動信
号S6 を、相対移動装置TRに出力する。ロボットは、
相対移動装置TRによって図5の第2停止位置P2 に移
動する。ロボットの移動後に、NCのプログラム番号指
定回路N7は、図7に示すアドレス#010 の次のアドレ
ス#011 に記憶されたプログラム番号002 を読み出し、
RCにプログラム指定信号S7 を出力する。以下、第1
停止位置P1 の動作説明と同様にして、作業位置カウン
タN2は、カウンタ番号2に1を加算してカウンタ番号
3のカウンタ信号S2 を、再び作業位置指令回路N5に
出力する。以下、第3停止位置P3 の動作説明は、第2
停止位置P2 の動作説明と同様である。[0013]Description of operation after second stop position P2 The work position command circuit N5 receives the work start position signal described above.
S4 and "1" of work start position signal S4 and work position count
When n = 2 of the counter signal S2 of the data N2 is input,
Address number = work start position number x 2 x (n-1) + 8 = 10
Therefore, from the address # 010 shown in FIG.
Read "11" and send stop position signal S5 to move position command
Output to the circuit N6. This circuit N6 is provided with the stop position number.
Read the last digit “1” of the number “11” and determine
And the distance between the Y slider and the X axis is B1 = 1400 [mm].
The relative movement signal S6 to be moved is output to the relative movement device TR.
Power. This B1 is the first stop position P1 in the Y direction.
, The TR does not move in the Y direction. I
However, since the second digit of the stop position number “11” is “1”, X
Relative movement signal that moves the slider 1 × 800 = 800 [mm]
The signal S6 is output to the relative movement device TR. The robot is
The position is moved to the second stop position P2 in FIG. 5 by the relative movement device TR.
Move. After the robot moves, the NC program number
The constant circuit N7 has the address next to the address # 010 shown in FIG.
Program number 002 stored in
A program designation signal S7 is output to RC. Hereinafter, the first
In the same manner as the description of the operation at the stop position P1,
N2 is the counter number obtained by adding 1 to the counter number 2.
3 to the working position command circuit N5 again.
Output. Hereinafter, the operation of the third stop position P3 will be described in the second stop position P3.
The operation is the same as that at the stop position P2.
【0014】途中停止の動作説明 ロボット の繰返し作業を全部終了させないで、途中停止
指令回路N22の途中停止押ボタンスイッチPB2を押
して途中停止指令信号S22を出力する。PB2を押すと
同時に作業を中断すると被作業物に欠陥を発生させるお
それがあるので、ロボットの1つの停止位置の作業を完
了させてから途中停止をさせる必要がある。途中停止信
号保持回路FF1は、PB1を離しても信号S22を保持
させる回路で、信号S22がセット端子Sに入力される
と、Q端子から停止保持信号S51が出力される。PB1
を押した時に継続中の作業位置の作業が完了して作業完
了信号Rf が完了作業位置出力回路SW2に入力する。
以下、第1停止位置P1 の動作説明と同様にして、継続
・停止判別回路N23に、制御継続信号S10が入力され
る。この時、前述したFF1の停止保持信号S51と作業
完了信号Rf とが途中停止動作回路AND1に入力され
るので、このAND1は、途中停止動作信号S41を継続
・停止判別回路N23に出力している。したがって、こ
の回路N23は停止信号S23s を途中停止回路N24に
出力して、NC及びRCは途中停止をする。この状態
で、制御電源を遮断してもよい。 Description of the halfway stop operation The halfway stop pushbutton switch PB2 of the halfway stop command circuit N22 is pressed to output a halfway stop command signal S22 without terminating all the repetitive operations of the robot . If the work is interrupted at the same time as pressing the PB2, there is a possibility that a defect will be generated in the work. Therefore, it is necessary to stop the robot halfway after completing the work at one stop position. The halfway stop signal holding circuit FF1 is a circuit for holding the signal S22 even when PB1 is released. When the signal S22 is input to the set terminal S, the stop holding signal S51 is output from the Q terminal. PB1
When the button is pressed, the work at the work position being continued is completed, and the work completion signal Rf is input to the completed work position output circuit SW2.
Hereinafter, the control continuation signal S10 is input to the continuation / stop determination circuit N23 in the same manner as the description of the operation at the first stop position P1. At this time, since the stop holding signal S51 of the FF1 and the work completion signal Rf are input to the halfway stop operation circuit AND1, the AND1 outputs the halfway stop operation signal S41 to the continuation / stop determination circuit N23. . Therefore, the circuit N23 outputs the stop signal S23s to the halfway stop circuit N24, and the NC and RC stop halfway. In this state, the control power may be cut off .
【0015】再開始動作の説明 前述したように、ロボットの繰返し作業の途中で、途中
停止指令信号回路N22の途中停止押ボタンスイッチP
B2を押して途中停止指令信号S22を出力し、1つの停
止位置作業を完了させて作業完了信号Rf が出力され、
継続・停止判別回路N23から、途中停止回路N24
に、停止信号S23s が入力されてから、制御電源を遮断
した状態にあるときから、再開始動作を説明する。制御
電源を投入した後、開始・再開始指令回路N1の開始・
再開始押ボタンスイッチPB1を押して、NCの制御を
開始する開始・再開始信号S1 を出力する。この状態で
は、開始・再開始切換指令回路FF2は、前述したよう
に、最初の完了位置保持信号S9 がセット端子Sに入力
されたときに、出力端子Qに、開始・再開始切換信号S
52を出力している。この状態で、制御電源を遮断して
も、この状態を保持しているため、信号S52が開始・再
開始切換回路SW1は接点a側に切換わっている。した
がって、信号S52がこの回路SW1に入力されると、こ
の回路SW1は再開始信号S31a を、再開始動作回路S
W3に出力する。他方、完了位置保持回路N9の完了位
置保持信号S9 が加算回路ADに入力され、ADは、再
開始動作回路SW3に制御電源遮断前の完了作業位置番
号に「1」を加算した番号の加算信号S61を出力する。
この回路SW3は、作業位置カウンタN2に、加算信号
S61の作業位置番号を設定するカウンタ設定信号S33を
出力する。作業位置カウンタN2は、カウンタ信号S2
を作業位置指令回路N5に出力して、制御電源の遮断直
前の状態の作業から再開する。 Description of restart operation As described above, during the repetitive operation of the robot , the halfway stop push button switch P22 of the halfway stop command signal circuit N22
B2, the halfway stop command signal S22 is output, one stop position operation is completed, and the operation completion signal Rf is output.
From the continuation / stop determination circuit N23 to the halfway stop circuit N24
Next, the restart operation from the time when the control power supply is cut off after the stop signal S23s is input will be described. After turning on the control power, start / restart command circuit N1
By pressing the restart button switch PB1, a start / restart signal S1 for starting the control of the NC is output. In this state, the start / restart switching command circuit FF2 outputs the start / restart switching signal S to the output terminal Q when the first completion position holding signal S9 is input to the set terminal S, as described above.
52 is output. In this state, even if the control power supply is cut off , since this state is maintained, the signal S52 switches the start / restart switching circuit SW1 to the contact a side. Accordingly, when the signal S52 is input to the circuit SW1, the circuit SW1 outputs the restart signal S31a to the restart operation circuit S1.
Output to W3. On the other hand, the completion position holding signal S9 of the completion position holding circuit N9 is input to the addition circuit AD, and the addition signal AD is added to the restart operation circuit SW3 by adding "1" to the completion work position number before the control power is turned off. S61 is output.
This circuit SW3 outputs a counter setting signal S33 for setting the work position number of the addition signal S61 to the work position counter N2. The work position counter N2 has a counter signal S2
Is output to the work position command circuit N5, and the work is resumed from the work in the state immediately before the control power supply was cut off .
【0016】作業終了動作の説明 ロボット の繰返し作業を全部終了させたときの終了時の
動作はつぎのとおりである。制御終了判別回路N10
に、完了位置保持信号S9 が入力されたとき、この回路
N10は、この完了位置保持信号S9 の完了作業位置番
号n=20とNCのアドレス#007 に記憶された終了作業
位置番号m=20とを比較して、n=mになっているの
で、制御終了信号S10s を、作業終了回路N21及び開
始・再開始切換指令回路FF2に出力する。作業終了回
路N21は、NC及びRCを終了状態を維持させるか、
開始直前の状態に復帰させる。また、開始・再開始切換
指令回路FF2は、リセット端子Rに制御終了信号S10
s が入力されるので、リセットされて出力端子Qの出力
信号すなわち開始・再開始切換信号S52を停止する。し
たがって、開始・再開始切換回路SW1は、接点b に復
帰して、次の被作業物に対する作業開始が可能となる。 Description of Operation Ending Operation The operation at the time of ending when all the repeated operations of the robot are ended is as follows. Control end determination circuit N10
When the completion position holding signal S9 is input to the circuit N10, the circuit N10 determines that the completion work position number n = 20 of the completion position holding signal S9 and the end work position number m = 20 stored in the address # 007 of the NC. Since n = m, the control end signal S10s is output to the work end circuit N21 and the start / restart switching instruction circuit FF2. The work end circuit N21 keeps the NC and RC in the end state,
Return to the state just before starting. The start / restart switching command circuit FF2 outputs a control end signal S10 to the reset terminal R.
Since s is input, the signal is reset and the output signal of the output terminal Q, that is, the start / restart switching signal S52 is stopped. Therefore, the start / restart switching circuit SW1 returns to the contact point b, and the work on the next work can be started.
【0017】[0017]
【本発明の効果】請求項1の制御方法は、繰返し被作業
物の各停止位置まで、作業用ロボットRB又は被作業物
を移動させる相対移動装置TRの移動を制御するプログ
ラムと、作業用ロボットの作業を開始させて予め定めた
プログラムを繰返して実行させるプログラムの指定と
を、総括制御装置で行い、作業用ロボットが第2停止位
置以後の一部又は全部の停止位置で、繰返される1又は
複数の作業位置における実際の作業内容の実行は、作業
用ロボットを制御するロボット制御装置にティ−ティン
グ又はオフラインで入力させることによって、相対移動
のプログラムと作業内容のプログラムとを分離して別々
にしたので、従来の制御方法のように、繰返し作業が含
まれているにもかかわらず、各作業位置ごとに、ティ−
ティング又はオフラインでプログラムの作成を繰返す必
要がなく、さらに、従来の制御方法のように、相対移動
のプログラムと各作業位置の作業内容のプログラムとが
一体でないために、いずれかの一部を変更したい場合に
おいても、一体のプログラムを変更する必要がないの
で、プログラム時間の短縮とプログラムのバグの発生防
止とに有利である。請求項2の制御方法は、請求項1の
制御方法の機能に加えて、大形の被作業物を作業すると
きに、全部の作業が終了するまでに、途中停止の指令を
したとき、先の繰返し作業が完了して次の繰返し作業に
入る前に途中停止をさせ、さらに再開始を次の繰返し作
業から行うようにしたことによって、請求項1の効果に
加えて、途中停止による被作業物の作業内容の欠陥の発
生を防止したり、再開始後の煩雑なマニュアル操作を回
避することができる。請求項3の制御方法は、請求項1
及び請求項2の制御方法の機能に加えて、作業者が開始
であるか再開始であるかの判断をしていずれかの押ボタ
ンスイッチを押す必要がなく、開始でも、再開始でも、
同じ押ボタンスイッチを押すことによって、ロボットの
作業を開始又は再開始することができ、操作の誤りが発
生することがない。According to the control method of the present invention, there is provided a program for controlling the movement of a work robot RB or a relative movement device TR for moving a work to a stop position of the work repeatedly. And the designation of a program to start the work and to repeatedly execute the predetermined program is performed by the general control device, and the working robot is repeated at one or all of the stop positions after the second stop position. The execution of the actual work content at a plurality of work positions can be performed by separately or separately separating the relative movement program and the work content program by inputting the data to the robot controller for controlling the work robot through teaching or off-line. Therefore, despite the repetitive work being included as in the conventional control method, the tee is required for each work position.
It is not necessary to repeat the program creation on the off-line or off-line, and since the relative movement program and the work content program at each work position are not integrated as in the conventional control method, any Even when it is desired to change the program, it is not necessary to change the integrated program, which is advantageous for shortening the program time and preventing the occurrence of a program bug. According to the control method of claim 2, in addition to the function of the control method of claim 1, when a large workpiece is to be worked, if a stop command is given before the whole work is completed, 2. In addition to the effect of claim 1, work is stopped due to the stoppage in the middle of the operation, in which the intermediate operation is stopped before the next operation is completed after the repetition operation is completed, and the restart is performed from the next operation. It is possible to prevent the occurrence of a defect in the work content of the object and to avoid a complicated manual operation after the restart. The control method according to claim 3 is based on claim 1.
In addition to the functions of the control method of claim 2, it is not necessary for the operator to determine whether to start or restart and to press any of the pushbutton switches.
By pressing the same push button switch, the operation of the robot can be started or restarted, and no erroneous operation occurs.
【図1】従来及び本発明の制御方法を適用する被作業物
W1 乃至Wn と、ロボットRBと、被作業物とロボット
との相対移動装置TRと、(NCと、)ロボット制御装
置RCとを示す図である。FIG. 1 shows work objects W1 to Wn to which the control methods of the present invention and the present invention are applied, a robot RB, a relative movement device TR between the work object and the robot, and a (NC) robot control device RC. FIG.
【図2】従来のロボットの作業制御方法のフロ−チャ−
トである。FIG. 2 is a flowchart of a conventional robot work control method.
It is.
【図3】従来のロボットの作業制御方法のブロック図で
ある。FIG. 3 is a block diagram of a conventional robot work control method.
【図4】両端が半分の枠及び枠数20の枠から成る被作
業物と、X及びYスライダから成る相対移動装置によっ
て移動するロボットの停止位置と、各停止位置における
作業位置の作業との制御方法の実施例を説明する図であ
る。FIG. 4 is a diagram showing a work to be worked comprising a frame having half a frame and 20 frames at both ends, a stop position of a robot which is moved by a relative moving device comprising X and Y sliders, and work at a work position at each stop position. It is a figure explaining an example of a control method.
【図5】両端が半分の枠及び枠数2の枠から成る被作業
物と、X及びYスライダから成る相対移動装置によって
移動するロボットの停止位置と、各停止位置における作
業個所の作業との制御方法の実施例を説明する図であ
る。FIG. 5 is a diagram showing a work to be worked consisting of a half frame and two frames at both ends, a stop position of a robot moved by a relative moving device consisting of X and Y sliders, and work at a work place at each stop position. It is a figure explaining an example of a control method.
【図6】図6は、図5の第1の枠組みW1 の作業位置
(Q2 ,Q3 ,…)の8個所と、各作業位置に対応し
て、プログラム番号001 乃至008 の8つのプログラムを
適用との関係を示す説明図である。FIG. 6 shows the application of eight programs of program numbers 001 to 008 corresponding to eight work positions (Q2, Q3,...) Of the first framework W1 in FIG. FIG. 4 is an explanatory diagram showing a relationship with the above.
【図7】図5に示す被作業物の作業個所を、図5に示す
順序で作業を実行したとき、各作業個所において図6で
説明したプログラム番号のプログラムを指令するメモリ
の設定を示す図である。FIG. 7 is a diagram showing a setting of a memory for instructing a program of a program number described in FIG. 6 in each work place when work is performed in the work place of the work shown in FIG. 5 in the order shown in FIG. 5; It is.
【図8】図7の続きを示す図である。FIG. 8 is a view showing a continuation of FIG. 7;
【図9】図5乃至図8の実施例において説明したロボッ
トの作業制御方法のブロック図である。FIG. 9 shows the robot described in the embodiment of FIGS. 5 to 8;
It is a block diagram of a working method of controlling the bets.
NC…総括制御装置 RB…(作業用)ロボット TR…相対移動装置(例えばXスライダ,Yスライダ) RC…ロボット制御装置 Ws,W1乃至Wn,Wf…被作業物 Pr…原点位置 Ps…基準位置 P1乃至P4,P11乃至P14,…P211 乃至P
214…停止位置Q1乃至Q165…作業位置 PB1…開始・再開始押ボタンスイッチ PB2…途中停止押ボタンスイッチ N1…開始・再開始指令回路 SW1…開始・再開始切換回路 N2…作業位置カウンタ N3…基準位置移動指令回路 N4…作業開始位置指令回路 N5…作業位置指令回路 N6…移動(ロボット停止)位置指令回路 N7…プログラム番号指定回路 SW2…完了作業位置出力回路 N9…完了位置保持回路 N10…制御終了判別回路 FF1…途中停止保持回路 AND1…途中停止動作回路 N21…作業終了回路 N22…途中停止指令回路 N23…継続・停止判別回路 AD…加算回路 FF2…開始・再開始切換指令回路 SW3…再開始動作回路 N24…途中停止回路 S1…開始・再開始信号 S31b…開始信号 S31a…再開始信号 S2…カウンタ信号 S3…基準位置移動信号 S4…作業開始位置信号 S5…停止位置信号 S6…相対移動信号 S6(x)…X方向相対移動信号 S6(y)…Y方向相対移動信号 S6(x,y)…X及びY方向相対移動信号 S7…プログラム指定信号 Rf…作業完了信号 S32…完了位置信号 S9…完了位置保持信号 S10…制御継続信号 S10s…制御終了信号 S22…途中停止指令信号 S51…停止保持信号 S41…途中停止動作信号 S23…カウンタアップ信号 S23s…停止信号 S61…加算信号 S52…開始・再開始切換信号 S33…カウンタ設定信号NC: general control device RB: (working) robot TR: relative movement device (for example, X slider, Y slider) RC: robot control device Ws, W1 to Wn, Wf: work piece Pr: origin position Ps: reference position P1 P4, P11 to P14,... P211 to P
214 ... Stop positions Q1 to Q165 ... Work position PB1 ... Start / restart push button switch PB2 ... Middle stop push button switch N1 ... Start / restart command circuit SW1 ... Start / restart switching circuit N2 ... Work position counter N3 ... Reference Position move command circuit N4 Work start position command circuit N5 Work position command circuit N6 Move (robot stop) position command circuit N7 Program number designating circuit SW2 Complete work position output circuit N9 Complete position holding circuit N10 Control end Determination circuit FF1 halfway stop holding circuit AND1 halfway stop operation circuit N21 work end circuit N22 halfway stop instruction circuit N23 continuation / stop determination circuit AD addition circuit FF2 start / restart switching instruction circuit SW3 restart operation circuit N24 ... the middle stop circuit S1 ... start and re-start signal S31b ... start signal S31a ... re-start Symbol S2: Counter signal S3: Reference position movement signal S4: Work start position signal S5: Stop position signal S6: Relative movement signal S6 (x): X direction relative movement signal S6 (y): Y direction relative movement signal S6 (x , Y) ... X and Y direction relative movement signal S7 ... program designation signal Rf ... work completion signal S32 ... completion position signal S9 ... completion position holding signal S10 ... control continuation signal S10 s ... control end signal S22 ... halfway stop instruction signal S51 ... Stop hold signal S41: Halfway stop operation signal S23: Counter up signal S23s: Stop signal S61: Addition signal S52: Start / restart switching signal S33: Counter setting signal
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−172707(JP,A) 特開 昭58−137588(JP,A) 特開 昭60−201857(JP,A) 特開 平1−103709(JP,A) 特開 平1−105600(JP,A) 技術動向調査報告書 特許からみた工 作機械技術 昭和50年3月 特許庁刊 (58)調査した分野(Int.Cl.7,DB名) G05B 19/18 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-58-172707 (JP, A) JP-A-58-137588 (JP, A) JP-A-60-201857 (JP, A) JP-A-1- 103709 (JP, A) JP-A-1-105600 (JP, A) Technical trend survey report Machine technology in view of patents March 1975 Published by the Japan Patent Office (58) Fields investigated (Int. Cl. 7 , (DB name) G05B 19/18
Claims (3)
被作業物の作業をすることができない動作領域を越える
大きさの被作業物を、前記作業用ロボットを第1停止位
置で停止させて第1の動作領域内にある被作業物の1個
所又は複数個所の作業をした後、相対移動装置が作業用
ロボットを移動させ、第2停止位置以後の一部又は全部
の停止位置で前記作業用ロボットを停止させて第2以後
の動作領域内にある被作業物に順次に作業をする作業用
ロボットの作業制御方法において、 前記作業用ロボットを制御するロボット制御装置に、前
記作業用ロボットが前記各停止位置で被作業物の1乃至
複数の種類の作業をするプログラムを予め記憶させると
共に、 総括制御装置に前記動作領域を越えて次の動作領域まで
前記作業用ロボットを移動させる相対移動信号と前記作
業用ロボットが前記各停止位置で作業をするプログラム
を順次に指定するプログラム指定信号とを予め記憶させ
て作業開始前の準備を完了し、 次に、前記総括制御装置に記憶させた第1停止位置の相
対移動信号によって、前記相対移動装置が第1の停止位
置に作業用ロボットを移動させた後に、前記ロボット制
御装置が前記複数のプログラムの中から前記総括制御装
置に記憶させた第1の停止位置のプログラム指定信号に
よって指定された第1停止位置のプログラムを選んで実
行して、作業用ロボットが被作業物の第1停止位置で作
業をして第1停止位置の作業を終了し、 次に、前記総括制御装置に記憶させた第2以後の停止位
置の相対移動信号によって、前記相対移動装置が第2以
後の停止位置に作業用ロボットを順次に移動させた後
に、前記ロボット制御装置が第2以後のそれぞれの停止
位置で前記複数のプログラムの中から前記総括制御装置
に記憶させた第2以後の停止位置のプログラム指定信号
によって指定された第2以後の停止位置のプログラムを
順次に選んで実行して、作業用ロボットが被作業物の第
2停止位置以後の一部又は全部の停止位置で先に実行し
た作業と同じ作業を繰り返すか又は異なる作業をして第
2停止位置以後の作業を終了する作業用ロボットの作業
制御方法。 1. If one working robot does not move
Exceeds the operating area where the work cannot be performed
After the work robot having the size is stopped at the first stop position and the work is performed at one or a plurality of places in the first operation area , the relative movement device is used for the work.
Moving the robot and stopping the working robot at a part or all of the stop positions after the second stop position,
Working to sequentially work on the work object located in the operating area
The work robot control method, the robot controller that controls the working robot, 1 of the work object the working robot is said at each stop position
A program for performing a plurality of types of work is stored in advance, and the general control device extends from the operation area to the next operation area.
Preparing a relative movement signal for moving the work robot and a program designating signal for sequentially designating a program in which the work robot performs work at each of the stop positions to complete preparation before starting work, After the relative movement device moves the work robot to the first stop position by the relative movement signal of the first stop position stored in the general control device, the robot control device And selects and executes the first stop position program designated by the first stop position program designation signal stored in the general control device, and the work robot performs work at the first stop position of the work. Then, the work at the first stop position is completed. Next, the relative movement device stores the second and subsequent stop positions according to the relative movement signal of the second and subsequent stop positions stored in the general control device. Of the after moving the working robot sequentially in the stop position, the second after the stop position has been stored in the overall controller from the robot control apparatus of the plurality of programs at each stop position of the second subsequent and pick a second after the stop position program designated by the program designation signal sequentially, perform working robot is first in the second stop position after the part or the whole of the stop position of the work object I
A work control method for a work robot that repeats the same work as the work performed or performs a different work and ends the work after the second stop position.
指令信号を発生させてから作業完了信号が出力されるま
で前記途中停止指令信号を一時保持して途中停止を行う
とともに、前記作業完了信号を制御電源遮断後も保持
し、再開始信号を発生させたとき、前記保持した作業完
了信号によって作業位置カウンタを、途中停止したとき
の次の作業位置番号に設定して、途中停止後に完了した
作業の次の作業を開始する作業用ロボットの作業制御方
法。2. The control method according to claim 1, wherein the intermediate stop command signal is temporarily held until a work completion signal is output after a halfway stop instruction signal is generated, and the work completion signal is output. even retained after a power-down, when that caused a re-start signal, the working position counter by work completion signal the holding, by setting the next work position number when the aborted, completed after the middle stop An operation control method for an operation robot that starts the operation following the operation.
始及び再開始する開始・再開始信号を同一回路で発生さ
せ、開始・再開始信号を第1の信号と第2の信号との2
つの信号に分割し、作業完了信号が出力されるまでは、
前記第1の信号を開始信号とし、前記完了信号が出力さ
れてから全作業終了までは、前記第2の信号を再開始信
号とする作業用ロボットの作業制御方法。3. The control method according to claim 2, wherein a start / restart signal for starting and restarting the work is generated by the same circuit, and the start / restart signal is a signal of the first signal and the second signal.
Until the work completion signal is output.
A work control method for a working robot , wherein the first signal is used as a start signal, and the second signal is used as a restart signal from when the completion signal is output until all work is completed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP41848690A JP3204513B2 (en) | 1990-12-28 | 1990-12-28 | Work robot work control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP41848690A JP3204513B2 (en) | 1990-12-28 | 1990-12-28 | Work robot work control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04242802A JPH04242802A (en) | 1992-08-31 |
| JP3204513B2 true JP3204513B2 (en) | 2001-09-04 |
Family
ID=18526322
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP41848690A Expired - Lifetime JP3204513B2 (en) | 1990-12-28 | 1990-12-28 | Work robot work control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3204513B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02139826A (en) * | 1988-11-17 | 1990-05-29 | Matsushita Electric Ind Co Ltd | Cold cathode manufacturing method |
| JPH05127735A (en) * | 1991-11-07 | 1993-05-25 | Matsushita Electric Ind Co Ltd | Industrial robot control method |
| US8583326B2 (en) * | 2010-02-09 | 2013-11-12 | Agjunction Llc | GNSS contour guidance path selection |
| JP5713779B2 (en) * | 2011-04-19 | 2015-05-07 | 株式会社神戸製鋼所 | Teaching data creation method for robot system and welding method for robot system |
-
1990
- 1990-12-28 JP JP41848690A patent/JP3204513B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 技術動向調査報告書 特許からみた工作機械技術 昭和50年3月 特許庁刊 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04242802A (en) | 1992-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20190030715A1 (en) | Robot controller and production system | |
| JP4505295B2 (en) | NC machining simulation method and NC machining simulation apparatus | |
| JP3204513B2 (en) | Work robot work control method | |
| JPS5882310A (en) | Numerical controlling with position display function | |
| JPS58225406A (en) | Industrial robot | |
| EP0060039B1 (en) | Numerically controlled machine tool system | |
| JPH053001B2 (en) | ||
| JPH06202724A (en) | Numerical controller | |
| TWI899558B (en) | Robot control device, numerical control system and numerical control method | |
| JPS649154B2 (en) | ||
| JPH02151908A (en) | Numerical controller with simulation function | |
| JP2009223779A (en) | Control system | |
| JPS6333168B2 (en) | ||
| JPH07230312A (en) | Cnc system | |
| JPS60175111A (en) | Robot control device | |
| JP2963286B2 (en) | Numerical control unit | |
| JP3040263B2 (en) | Numerical control device and numerical control method | |
| JP3049485B2 (en) | Control device for program operation machine and conversion device for control program | |
| JP2895685B2 (en) | Numerical control unit | |
| JP3263146B2 (en) | Numerical control unit | |
| JP4208600B2 (en) | NC machine tool | |
| JP2760125B2 (en) | Robot controller | |
| WO1994009418A1 (en) | Numerically controlled apparatus and numerical control method | |
| JPS60101606A (en) | Robot self-driving system | |
| WO1990000765A1 (en) | Numerical controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090629 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100629 Year of fee payment: 9 |