JPS63134186A - Industrial robot - Google Patents

Industrial robot

Info

Publication number
JPS63134186A
JPS63134186A JP27705386A JP27705386A JPS63134186A JP S63134186 A JPS63134186 A JP S63134186A JP 27705386 A JP27705386 A JP 27705386A JP 27705386 A JP27705386 A JP 27705386A JP S63134186 A JPS63134186 A JP S63134186A
Authority
JP
Japan
Prior art keywords
workpiece
work
signal
robot
abnormality
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
JP27705386A
Other languages
Japanese (ja)
Inventor
若杉 光代志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tokico Ltd
Original Assignee
Tokico 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 Tokico Ltd filed Critical Tokico Ltd
Priority to JP27705386A priority Critical patent/JPS63134186A/en
Publication of JPS63134186A publication Critical patent/JPS63134186A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は工業用ロボットに係り、特に外部からの異常
信号入力に基く停止後の再起動を容易にした工業用ロボ
ットに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an industrial robot, and more particularly to an industrial robot that can be easily restarted after being stopped based on an abnormal signal input from the outside.

「従来の技術」 従来、たとえばワークの塗装を行う工業用ロボットには
ワーク供給装置と一体となっているものがある。このよ
うなワーク供給装置を伴った工業用ロボットにおいては
、ロボット、ワーク供給装置の異常の場合は勿論、ロボ
ットの動作と直接関係しないロボットに接続された塗装
機制御盤等のより静電異常(帯電による電位異常)や塗
装の吐き出し異常等による異常信号が入力されると、該
異常信号の発生したタイミングでロボットおよびワーク
供給装置を即座に停止していた。
"Prior Art" Conventionally, some industrial robots that paint workpieces, for example, are integrated with a workpiece supply device. In an industrial robot with such a workpiece supply device, not only an abnormality in the robot or the workpiece supply device, but also an electrostatic abnormality ( When an abnormality signal is input due to an abnormality in electric potential due to charging, an abnormality in paint discharge, etc., the robot and work supply device are immediately stopped at the timing when the abnormality signal is generated.

「発明が解決しようとする問題点」 上述したように、従来のワーク供給装置を伴った工業用
ロボットでは、外部機器からロボット動作に直接関係の
ない上述した異常信号が入力されるこ゛とによってロボ
ット、ワーク供給装置が停止してしまう。すなわち、ロ
ボット再生動作中に上記ロボットの動作に直接関係の無
い異常信号が入力されると塗装中の当該ワークについて
はそれ以上ロボットによる塗装作業をおこなうことが不
可能となるとともに、ロボットは異常信号が入力された
ときの塗装作業中の状態のまま停止してしまう。
"Problems to be Solved by the Invention" As mentioned above, in industrial robots equipped with conventional workpiece feeding devices, the above-mentioned abnormal signals that are not directly related to robot operation are input from external equipment, which causes the robot to The workpiece supply device stops. In other words, if an abnormal signal that is not directly related to the robot's operation is input during robot replay operation, the robot will no longer be able to perform painting work on the work being painted, and the robot will not be able to receive the abnormal signal. The painting operation stops in the state it was in when it was input.

このため、異常信号によりロボット、ワーク供給装置が
停止した後の再起動の際においては、ただ単に起動する
だけではなく、小面にロボットおよびワーク供給装置に
ついて初期状態の設定操作等を別途再び行わなければな
らないという問題がある。このワーク供給装置の初期状
態の設定とは、ロボット、ワーク供給装置の再起動にあ
って、まずワークを移送する走行台車をワーク脱骨位置
に戻し、またロボットを作業開始前の初期状態に戻した
後、再度走行台車を走行台車操作スイツチによりワーク
塗装位置に送りだす作業である。
Therefore, when restarting the robot or workpiece supply device after it has stopped due to an abnormal signal, the robot and workpiece supply device will not only be restarted, but also the initial state settings of the robot and workpiece supply device will be separately set again. The problem is that it has to be done. Setting the initial state of the workpiece supply device means that when restarting the robot and workpiece supply device, first return the traveling cart that transfers the workpiece to the workpiece deboning position, and then return the robot to the initial state before starting work. After that, the traveling trolley is again sent to the workpiece painting position using the traveling trolley operation switch.

この発明は上述した事情に鑑みてなされたもので、本発
明の目的は異常信号により停止したロボット、ワーク供
給装置を容易に再起動することかできるとともに異常信
号が入力された際に行っていたワークに対する作業を無
駄にすることのない工業用ロボットを提供することにあ
る。
This invention was made in view of the above-mentioned circumstances, and an object of the present invention is to easily restart a robot or work supply device that has stopped due to an abnormal signal, and to restart the robot or workpiece supply device when the abnormal signal is input. The objective is to provide an industrial robot that does not waste work on a workpiece.

「問題点を解決するための手段」 この発明は、作業位置にワークが到着したことを検出す
るワーク検出手段を有し、ワークが作業位置と他の所定
位置との間を移動するワーク供給手段と、前記ワーク検
出手段からのワーク検出信号の入力によりワークに対す
る作業を行い、作業終了時作業終了信号を出力するロボ
ット装置と、該ロボット装置からの上記作業終了信号の
入力により作業位置にある一方のワークを所定位置まで
移動させるとともに、他の所定位置にある他方のワーク
を作業位置まで移動させるように前記ワーク供給装置を
駆動制御する供給制御手段とを備えてなる工業用ロボッ
トにおいて、外部より入力される異常信号を検出する異
常検出手段と、該異常検出手段により異常信号の入力を
検出したときは、作業待ちで他の所定位置にあるワーク
の作業位置への前記供給装置による移動を中止するとと
もに、当該移動中止のワークを記憶手段に記憶する異常
処理手段と、上記異常検出手段により上記信号の消失を
検出したときには、上記記憶手段から当該移動中止のワ
ークを読みだし、該ワークを作業位置まで移動させるべ
く前記供給装置を駆動制御する異常復帰処理手段とを具
備したことを特徴とする工業用ロボットにより上記問題
点を解決する。
"Means for Solving the Problem" The present invention has a workpiece detection means for detecting the arrival of a workpiece at a working position, and a workpiece supplying means for moving the workpiece between the working position and another predetermined position. a robot device that performs work on the workpiece in response to input of a workpiece detection signal from the workpiece detection means and outputs a work end signal when the work is completed; In an industrial robot, the industrial robot is provided with a supply control means for driving and controlling the work supply device so as to move one workpiece to a predetermined position and to move another workpiece located at another predetermined position to a working position. an abnormality detection means for detecting an input abnormality signal; and when the abnormality detection means detects the input of the abnormality signal, stopping the movement of the workpiece, which is waiting for work and is at another predetermined position, to the work position by the feeding device. At the same time, an abnormality processing means stores the work whose movement has been stopped in a storage means, and when the disappearance of the signal is detected by the abnormality detection means, reads out the work whose movement has been stopped from the storage means and puts the work into operation. The above-mentioned problem is solved by an industrial robot characterized by comprising an abnormality recovery processing means for driving and controlling the supply device to move the supply device to the specified position.

「作用」 異常信号を監視して、異常信号が入力された場合、作業
中のワークに対しては作業を途中で停止することなく、
当該ワークに対する作業を完了させる一方、これから作
業が行なわれるワークに対しては作業位置に供給するこ
となく供給装置上の所定位置に待機さ什、上記異常信号
が入力されな(なった場合に上記所定位置において待機
させておいたワークを作業位置まで移動させ、作業を続
行する。
"Function" Monitors the abnormal signal, and when an abnormal signal is input, the work is processed without stopping the work in progress.
While the work on the workpiece is completed, the workpiece to be worked on from now on is not supplied to the work position but is kept waiting at a predetermined position on the supply device. The workpiece, which has been kept waiting at a predetermined position, is moved to the working position and the work is continued.

「実施例」 以下、図面を参照し、この発明の実施例について説明す
る。
"Embodiments" Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図はこの発明の一実施例に係る工業用ロボットの構
成を示す平面図、第2図は同ロボットの制御回路の構成
を示すブロックhW成図である。 これらの図において
、1はロボットの基台を示している。2はロボットアー
ムであり、伸縮運動、回転運動、屈曲運動等を行うこと
ができるような構造となっている。3はアーム2の先端
に取り付けられたスプレーガンである。4はロボットの
基台lの左側に設置されている左側ワーク供給装置であ
る。ワーク供給装置は左側および右側ワーク供給装置か
らなり、4aはワーク供給装置4の上平面に構成されて
いる台車走行路、5は台車走行路4a上を走行用車輪お
よび駆動用車輪あるいはリニアインダクション推進機溝
により移動する左走行台車、6は台車走行路4aのほぼ
中間位置に取り付けられた左中間停止リミットスイッチ
である。
FIG. 1 is a plan view showing the configuration of an industrial robot according to an embodiment of the present invention, and FIG. 2 is a block hW diagram showing the configuration of the control circuit of the robot. In these figures, 1 indicates the base of the robot. Reference numeral 2 denotes a robot arm, which has a structure that allows it to perform telescopic movements, rotational movements, bending movements, etc. 3 is a spray gun attached to the tip of arm 2. Reference numeral 4 denotes a left-hand work supply device installed on the left side of the robot base l. The workpiece supply device consists of left and right side workpiece supply devices, 4a is a bogie running path configured on the upper plane of the workpiece feeding device 4, and 5 is a running wheel and a driving wheel or linear induction propulsion on the bogie running path 4a. The left traveling bogie moves by the machine groove, and 6 is a left intermediate stop limit switch attached at approximately the middle position of the bogie running path 4a.

そして、該リミットスイッチ6のスイッチレバーの先端
部は上記左走行台車5の底部に軽く接触するように構成
されており、これによりリミットスイッチ6はオン/オ
フするようになっている。7は左前端リミットスイッチ
であり、上記左側ワーク供給装置の上平面前端部4rに
上記リミットスイッチ6と同様な構成で取り付けられて
いる。従って、左走行台車5が前記台車走行路4a上を
前端部位置まで走行すると、走行台車5の底部がスイッ
チ7のスイッチレバー7aに軽く触れてリミットスイッ
チ7をオンとし、後述のワークが作業位置にあるのを検
出する。LWは走行台車5上に載置されたワークである
。8は、上記左側ワーク供給装置4の後方に設置された
左スイッチスタンドである。該左スイッチスタンド8の
上面には作業者が主動により台車5の前進及び後退を指
令するための前進指令スイッチ8a及び後退指令スイッ
チ8bが取り付けられている。
The tip of the switch lever of the limit switch 6 is configured to lightly touch the bottom of the left traveling truck 5, thereby turning the limit switch 6 on and off. Reference numeral 7 denotes a left front end limit switch, which is attached to the upper plane front end portion 4r of the left work supply device in a similar configuration to the limit switch 6. Therefore, when the left running cart 5 travels on the cart running path 4a to the front end position, the bottom of the running cart 5 lightly touches the switch lever 7a of the switch 7, turning on the limit switch 7, and the workpiece (described later) is placed in the working position. Detect what is in the . LW is a workpiece placed on the traveling carriage 5. Reference numeral 8 denotes a left switch stand installed behind the left work supply device 4. A forward command switch 8a and a backward command switch 8b are attached to the upper surface of the left switch stand 8 for the operator to actively command the forward and backward movement of the trolley 5.

9はロボット制御盤であり、ロボットへ与える各種の動
作指令を入力するための操作パネル等を備えている。そ
してこのロボット操作盤9はロボット本体から離れた位
置に設置されており、ロボット本体とロボット操作盤9
とは多芯ケーブルにより接続されている。
Reference numeral 9 denotes a robot control panel, which includes an operation panel and the like for inputting various operation commands to be given to the robot. The robot operation panel 9 is installed at a location away from the robot body, and the robot operation panel 9 is connected to the robot body.
is connected by a multicore cable.

10は前記ロボットの基台1の右側に設置された右側ワ
ーク供給装置、10aは該供給装置lOの上平面に構成
されている台車走行路、11は上平面10a上を走行す
る右走行台車、12は台車走行路10aのほぼ中間に位
置する中間停止位置に取り付けられた右中間停止リミッ
トスイッチ、!3は上平面10aの前端部に取り付けら
れた右前端リミットスイッチ、14はスイッチスタンド
、RWは走行台車1!上に載置されたワークである。
10 is a right work supply device installed on the right side of the base 1 of the robot, 10a is a trolley running path configured on the upper plane of the supply device IO, 11 is a right running trolley that runs on the upper plane 10a, 12 is a right intermediate stop limit switch installed at an intermediate stop position located approximately in the middle of the bogie running path 10a. 3 is a right front end limit switch attached to the front end of the upper plane 10a, 14 is a switch stand, and RW is a traveling trolley 1! This is the workpiece placed on top.

そして、これらワ、−り供給装置10、走行台車111
リミツトスイツチ!2.13、スイッチスタンド!4の
各々の構成、および相互の関係は前述した左側ワーク供
給装置4、左走行台車5、リミットスイッチ6.7、ス
イッチスタンド8において述べたのと同様である。次に
、第2図における15はCPU(中央処理装置)、16
はROM、RAM等より構成されているメモリユニット
であり、 ・教示データおよびロボット動作プログラム
等の情報が格納記憶されており、更に、第3図に示す左
右待ちフラグ16a1右待ちフラグ16b1左待ちフラ
グ16c等が設定されるレジスタが設けられている。こ
こで、左右待ちフラグ16aは外部から静電異常信号が
入力された場合に上記左走行台車5が上記中間停止位置
において、中間停止リミットスイッチ6をオンしている
場合にCPU15にrLJがセットされ、一方右走行台
車11が中間停止リミットスイッチ12をオンしている
場合rRJの状態にCPU15によりセットされるフラ
グである。いずれでもない場合には「0」の状態にリセ
ットされる。また、左待ちフラッグ16c、右待ちフラ
グ16bは左右の走行台車5.11が中間停止にあり中
間停止リミットスイッチ6.12を各オンした場合であ
り、かつ、他方の走行台車が作業位置にある状態でrF
’FJの状態にセットされ、これ以外の場合は「0」の
状態にリセットされる。
These wire supply devices 10 and traveling carts 111
Limit switch! 2.13, Switch stand! 4 and their mutual relationships are the same as those described above for the left work supply device 4, left traveling carriage 5, limit switch 6, 7, and switch stand 8. Next, 15 in FIG. 2 is a CPU (central processing unit), 16
is a memory unit composed of ROM, RAM, etc., in which information such as teaching data and robot operation programs is stored; A register in which 16c and the like are set is provided. Here, the left/right waiting flag 16a is set to rLJ in the CPU 15 when the left traveling bogie 5 is at the intermediate stop position and the intermediate stop limit switch 6 is turned on when an electrostatic abnormality signal is input from the outside. , On the other hand, when the right traveling bogie 11 turns on the intermediate stop limit switch 12, this flag is set to the rRJ state by the CPU 15. If neither is the case, it is reset to the state of "0". Furthermore, the left waiting flag 16c and the right waiting flag 16b are set when the left and right traveling vehicles 5.11 are at an intermediate stop and the intermediate stop limit switch 6.12 is turned on, and the other traveling vehicle is at the work position. rF in state
'FJ' state, otherwise reset to '0' state.

さらに、このメモリには左右の走行台車が上記中間停止
位置よりワーク供給装置前端部に向って走行中に「オン
」となり、この前端リミットスイッチがオンとなったの
を確認して、このオンとなった側のワークに対し教示デ
ータに基づきロボット動作プログラムを実行してロボッ
トの作業が完了したとき「オフ」となるワークセット信
号を格納するレジスタが設定されている。17はインタ
ーフェース、19は同様にロボット本体、21はインタ
ーフ・エース17によりCPU15に接続される外部機
器である。
Furthermore, this memory contains the information that the left and right traveling carts are turned on while they are traveling from the intermediate stop position to the front end of the workpiece supply device, and that the front end limit switch is turned on. A register is set to store a work set signal that turns ``off'' when the robot operation program is executed for the work on the side that has been turned on based on the teaching data and the robot completes its work. 17 is an interface, 19 is a robot body, and 21 is an external device connected to the CPU 15 by the interface 17.

次に同実施例の動作について、第4図〜第11図に示す
インターラブド ルーチンを参照して説明する。
Next, the operation of this embodiment will be explained with reference to the interwoven routines shown in FIGS. 4 to 11.

第1図に示すように右走行台車11は右側ワーク供給装
置lOの上平面10aの後端部10bに位置している。
As shown in FIG. 1, the right traveling carriage 11 is located at the rear end 10b of the upper plane 10a of the right work supply device 1O.

そして、右走行台車11には塗装が行なわれるワークR
Wが作業者により載置される。
The right traveling truck 11 has a workpiece R to be painted.
W is placed by the worker.

一方圧走行台車5は左側ワーク供給装置4の上平面4a
における後端部4bに位置しており、該台車5に対して
も右走行台車+1上様、塗装が行なイつれるワークLW
が作業者により載置される。また、ロボットは図の位置
に停止している。
The one-pressure traveling cart 5 is the upper plane 4a of the left work supply device 4.
The workpiece LW to be painted is located at the rear end 4b of the carriage 5, and the right traveling carriage +1 is located at the rear end 4b of the carriage 5.
is placed by the worker. Also, the robot is stopped at the position shown in the figure.

ロボット操作盤9のメモリ16にはすでに教示データが
入力されており、ロボットはスタート指令信号が入力さ
れると、この教示データに従って動作するようになって
いる。
Teaching data has already been input into the memory 16 of the robot operating panel 9, and the robot operates in accordance with this teaching data when a start command signal is input.

作業者はすでにワークRW、LWを右走行台車11、左
走行台車5に載置する作業を完了している。まず右スイ
ッチスタンド14の前進指令スイッチ14aが押される
。スイッチ14aが押されると割り込みにより第4図に
示すインターラブドルーチンが実行される。すなはち、
ステップSalにおいて右前進信号が出力され、右走行
台車11は右側ワーク供給装置IOの台車走行路10a
上を中間停止位置に向って走行を開始する。続くステッ
プSa2、Sa3において他の出力信号、右待ちフラグ
がリセットされる。台車11が中間停止位置まで走行し
中間停止リミットスイッチ12をオンすると、これによ
り第5図にしめずインターラブドルーチンが実行される
。すなわち、ステップSclにおいて左側のワークLW
のワークセット信号がrオン」か否かが判断される。こ
の場合圧ワークLWのワークセット信号が出力されてい
ない状態「オフ」(すなわちrNOJ)であるのでCP
Uはわりこみの際に実行していたメインプログラムの戻
り番地に戻る。右走行台車11はワーク供給装置10の
台車走行路前端部torまで而進し右面端リミットスイ
ッチ13をオンする。
The operator has already completed the work of placing the works RW and LW on the right traveling trolley 11 and the left traveling trolley 5. First, the forward command switch 14a on the right switch stand 14 is pressed. When the switch 14a is pressed, an interwoven routine shown in FIG. 4 is executed by an interrupt. Sunahachi,
In step Sal, a right advance signal is output, and the right traveling truck 11 is moved to the truck traveling path 10a of the right work supply device IO.
Start traveling on the top toward the intermediate stop position. In subsequent steps Sa2 and Sa3, other output signals and the right wait flag are reset. When the trolley 11 travels to the intermediate stop position and the intermediate stop limit switch 12 is turned on, the interlaced routine shown in FIG. 5 is executed. That is, in step Scl, the left work LW
It is determined whether or not the work set signal is "on". In this case, the work set signal of the pressure work LW is in the "off" state where it is not output (i.e. rNOJ), so the CP
U returns to the return address of the main program that was being executed at the time of the interrupt. The right traveling cart 11 advances to the front end tor of the truck traveling path of the work supply device 10, and the right side end limit switch 13 is turned on.

右面端リミットスイッチ13がオンされると、このオン
されたタイミングにおいてスタート指令信号がインター
フェース16を介してCPU14に取り込まれる。CP
U14はこのスタート指令信号を確認するとメモリI5
にあらかじめ記憶しである教示データと動作プログラム
とに従ってロボットをスタートさせる。
When the right side end limit switch 13 is turned on, a start command signal is taken into the CPU 14 via the interface 16 at the timing when the right side end limit switch 13 is turned on. C.P.
When U14 confirms this start command signal, memory I5
The robot is started according to the teaching data and operation program stored in advance.

今、このようにして作業を開始したロボットが右走行台
車+1上に載置されたワークRWを塗装作業中に、左ス
イッチスタンド8の前進指令スイッチ8aが押されると
、CPUl5には割り込みがかかり、CPU15は第6
図にしめずインターラブドルーチンを実行する。
Now, while the robot that has started work in this way is painting the workpiece RW placed on the right traveling trolley +1, when the forward command switch 8a of the left switch stand 8 is pressed, an interrupt is sent to the CPU15. , the CPU 15 is the sixth
Execute the interwoven routine without drawing.

すなわち、左スイッチスタンドの前進指令スイッチが押
されると、続ステップSblでは左側ワーク供給装置4
に左走行台車前進指令信号を出力し、左走行台車5を前
進させる。続くステップSb2では、後退信号等が出力
されているばあいに、これら他の出力信号をリセットす
る。次のステップSb3に進むと左待ちフラッグ16c
がセットされている場合は左待ちフラッグをリセットす
る。これらの動作が完了するとCPU15は割り込みが
発生した際実行していたメインプログラム上の番地に戻
る。
That is, when the forward command switch on the left switch stand is pressed, the left work supply device 4 is moved in the subsequent step Sbl.
A left traveling bogie forward command signal is output to move the left traveling bogie 5 forward. In the following step Sb2, if a backward signal or the like is being output, these other output signals are reset. When proceeding to the next step Sb3, the left waiting flag 16c
If is set, reset the left wait flag. When these operations are completed, the CPU 15 returns to the address on the main program that was being executed when the interrupt occurred.

ステップSblにおいて出力された前進信号出力により
左走行台車が前進して左中間停止リミットスイッチ6を
オンすると、このリミットスイッチ6がオンされたタイ
ミングで再度CPUl5に割り込みがかかり、CPU 
l 5は第7図に示すインターラブドルーチンを実行す
る。
When the left traveling bogie moves forward in response to the forward movement signal output in step Sbl and the left intermediate stop limit switch 6 is turned on, the CPU15 is again interrupted at the timing when the limit switch 6 is turned on.
l5 executes the interlaced routine shown in FIG.

すなわち、左走行台車5、により左中間停止リミットス
イッチ6がオンされると、続くステップSdlでは、右
ワークRWのワークセット信号が「オン」か否かが判断
される。右走行台車は右側ワーク供給装置10の面端部
10fに到着してロボットは塗装作業実行中であるので
、右ワークr工Wのワークセット信号は「オン」則ちr
Y E S JであるのでステップSd2に進み左待ち
フラッグに「FF」をセットする。続くステップSd3
において、上述した第6図のステップSblにおいて出
力された左走行台車5の前進指令信号をオフにする。従
って左走行台車5は左中間停止リミットスイッチ6がオ
ンしたタイミングで中間停止位置において停止待機した
状態となる。
That is, when the left intermediate stop limit switch 6 is turned on by the left traveling truck 5, in the following step Sdl, it is determined whether the work set signal for the right work RW is "on". Since the right traveling cart has arrived at the surface end 10f of the right work supply device 10 and the robot is performing the painting work, the work set signal of the right work R is "on", that is, r
Since it is Y E S J, the process proceeds to step Sd2 and sets the left wait flag to "FF". Subsequent step Sd3
At this point, the forward command signal for the left traveling bogie 5 outputted at step Sbl in FIG. 6 described above is turned off. Therefore, the left traveling truck 5 comes to a standby state at the intermediate stop position at the timing when the left intermediate stop limit switch 6 is turned on.

続くステップSd4では外部からの異常信号(静電異常
を示す信号)が台車5が中間停止位置に停止するまでに
出力されたか否かが判断される。「NO」であるとCP
U15は割り込みがかかった際に実行していたメインプ
ログラム番地に戻り当該プログラムを遂行する。一方r
YESJであるとステップSd5に進む。2ステツプS
d5では左右待ちフラッグ16aにrLJをセットし、
続くステップSd6において左待ちフラッグ16cをr
OJにリセットする。
In the following step Sd4, it is determined whether or not an external abnormality signal (signal indicating electrostatic abnormality) has been output before the trolley 5 stops at the intermediate stop position. CP if “NO”
U15 returns to the main program address that was being executed when the interrupt occurred and executes the program. On the other hand r
If YESJ, the process advances to step Sd5. 2 step S
At d5, set rLJ to the left/right wait flag 16a,
In the following step Sd6, the left waiting flag 16c is set to r.
Reset to OJ.

また、左走行台車5が中間停止位置で停止している間に
異常信号が出力されると、この異常信号が出力されたタ
イミングでcputsに割り込みがかかる。この割り込
みにおいて行なわれるインターラブドフーヂンを第8図
jこ示す。すなわち、上記異常信号による割り込みがか
かると、ステップSetにおいて右待ちフラッグ16b
がリセットされているか否かが判断される。rNOJで
あるとステップSe2に進む。そして、左右待ち待ちフ
ラグ16aをrRWJの状態にセットし、続くステップ
Se3では右待ちフラグが「0」にリセットされる。一
方ステップSetにおいてrNOJであると、ステップ
Sc4にジャンプする。ステップSe4では左待ちフラ
グ16cがリセットされているか否かが判断され「NO
」であるとステップSe5において左右待ちフラグ16
aにrLJをセットし、続くステップSe6では左待ち
フラグがリセットされろ。
Further, if an abnormal signal is output while the left traveling trolley 5 is stopped at the intermediate stop position, an interrupt is generated in cputs at the timing when this abnormal signal is output. FIG. 8J shows the interlaced fuden that takes place during this interrupt. That is, when an interrupt occurs due to the abnormal signal, the right wait flag 16b is set in step Set.
It is determined whether or not the has been reset. If rNOJ, the process proceeds to step Se2. Then, the left/right wait flag 16a is set to the rRWJ state, and in the subsequent step Se3, the right wait flag is reset to "0". On the other hand, if rNOJ is determined in step Set, the process jumps to step Sc4. In step Se4, it is determined whether or not the left wait flag 16c has been reset.
”, the left/right wait flag 16 is set in step Se5.
rLJ is set in a, and the left wait flag is reset in the following step Se6.

この場合、台車5は中間停止位置で停止しているので左
待ちフラッグがセットされ、−左右待ちフラグ16bは
「0」にリセットされているため、ステップSe5にお
いて左右待ちフラッグにrLJがセットされる、続くス
テップSe6で左待ちフラグがクリアされる。そして、
CPUl5は静電異常の割り込みが発生した際に実行し
ていたメインプログラムの戻り番地に戻る。
In this case, since the trolley 5 is stopped at the intermediate stop position, the left waiting flag is set, and the left/right waiting flag 16b is reset to "0", so rLJ is set in the left/right waiting flag in step Se5. , the left wait flag is cleared in the following step Se6. and,
The CPU 15 returns to the return address of the main program that was being executed when the electrostatic abnormality interrupt occurred.

インターバルタイマにより割り込みかかかった場合のイ
ンターラブドフローを第9図に示す。すなわち、インタ
ーバルタイマーにより0 、2 sec毎に割り込みが
かかると、この割り込みルーチンではまず、続くステッ
プSglにおいて、左のワークLWのワークセット信号
が「オフ」か否かが判断される。「YES」の場合はス
テップSg2に進み右待ちフラッグがリセット′されて
いるか否かが判断される。「NO」であるとステップS
g3に進み右待ちフラッグをリセットし、続くステップ
Sg4では右前進信号出力を出力する。ステップSg5
に進むと他の出力信号をリセットする。一方、上記ステ
ップSglにおいてrNOJの場合、およびステップS
g2において右待ちフラグ16bがリセットされている
場合はステップSg6にジャンプする。
FIG. 9 shows an interwoven flow when an interrupt is triggered by an interval timer. That is, when an interrupt is generated by the interval timer every 0.2 seconds, in this interrupt routine, first, in the following step Sgl, it is determined whether or not the work set signal of the left work LW is "off". If ``YES'', the process advances to step Sg2 and it is determined whether the right wait flag has been reset. If “NO”, step S
Proceeding to g3, the right wait flag is reset, and in the following step Sg4, a right advance signal is output. Step Sg5
Proceeding to resets other output signals. On the other hand, in the case of rNOJ in step Sgl, and step S
If the right wait flag 16b is reset at g2, the process jumps to step Sg6.

ステップSg6に進むと右のワークRWのワークセット
信号が「オフ」か否かが判断され、rYEsJであると
ステップSg7に進む。ステップSg7では左待ちフラ
ッグが「0」であるか否かが判断され「NO」のばあい
はステップSg8、ステップSg9、ステップ5g1O
と進み左待ちフラッグ16cのリセット、左走行台車の
前進信号の出力、他の出力信号のリセット等が行なわれ
る。
When the process proceeds to step Sg6, it is determined whether or not the work set signal of the right work RW is "off", and if it is rYEsJ, the process proceeds to step Sg7. In step Sg7, it is determined whether or not the left wait flag is "0", and if "NO", step Sg8, step Sg9, step 5g1O
Then, the left waiting flag 16c is reset, a forward signal for the left traveling truck is output, and other output signals are reset.

右ワーク塗装動作中に静電異常が起きてから先の状態で
は、左ワークLWのワークセット信号はオフであり、右
待ちフラッグはセットされておらず「0」のままであり
、右ワークRWのワークセット信号はオンであるので、
左供給台車5は中間停止位置で停止している。
In the state after the electrostatic abnormality occurs during the right work painting operation, the work set signal of the left work LW is off, the right wait flag is not set and remains "0", and the right work RW The workset signal of is on, so
The left supply cart 5 is stopped at an intermediate stop position.

なお、仮に静電異常が起きなかった場合でも、右ワーク
塗装動作中は、ワークLWのワークセット信号はオフで
あり、右待ちフラグはセットされておらずrOJのまま
であり、ワークセット信号はオンであるので、左供給台
車5は中間停止位置で停止している。この場合、左供給
台車5の台車走行路前端部1(B、ワーク塗装位置への
移動は、後述する右ワーク塗装動作の終了後においてお
こなわれ、このときはワークLWのワークセット信号は
オフであり、みご待ちフラグはセットされていないが、
ワークRWのワークセット信号は塗装動作終了に因りオ
ンからオフに切替わっており、左待ちフラグにrFFJ
がたっているので、これにより左待ちフラグがリセット
されるとともに左前進信号が出力されて左供給台車5は
ワーク塗装車torまで移動する。
Even if an electrostatic abnormality does not occur, the work set signal of the work LW is off while the right work is being painted, the right wait flag is not set and remains at rOJ, and the work set signal is Since it is on, the left supply truck 5 is stopped at the intermediate stop position. In this case, the movement of the left supply cart 5 to the front end 1 of the cart running path (B) to the workpiece painting position is performed after the right workpiece painting operation, which will be described later, is completed, and at this time, the workpiece set signal of the workpiece LW is turned off. Yes, the waiting list flag is not set, but
The work set signal of work RW has been switched from on to off due to the completion of the painting operation, and rFFJ is displayed in the left waiting flag.
As a result, the left waiting flag is reset and a left advance signal is output, so that the left supply truck 5 moves to the workpiece painting vehicle tor.

次に右あるいは左ワークの塗装動作が終了した場合のイ
ンターラブドフローを第1O図に示す。
Next, Fig. 1O shows the interlaid flow when the painting operation for the right or left workpiece is completed.

即ち塗装が終了したことを確認すると、続くステップs
htでは塗装が終了したワークを供給した台車が右側の
供給台車か左側の供給台車かが判断される。右側の供給
台車である場合はステップsh2において右供給台車の
後退信号を出力する。一方圧側の供給台車である場合は
ステップSh3において左供給台車の後退信号を出力す
る。そして、この際先に判断された供給台車についての
ワークセット信号はオンからオフに切り換えられる。従
って右ワークの塗装動作が終了すると、CPU15は右
供給台車の後退信号を出力し、右供給台車を後退さU゛
るとともに、右ワークについてのワークセット信号を「
オン」から「オフ」に切り換える。
That is, after confirming that the painting is completed, the next step s
At ht, it is determined whether the cart that has supplied the workpiece that has been painted is the right supply cart or the left supply cart. If it is the right supply vehicle, a backward signal for the right supply vehicle is output in step sh2. If the feed cart is on the one pressure side, a backward signal for the left feed cart is output in step Sh3. Then, at this time, the work set signal for the previously determined supply truck is switched from on to off. Therefore, when the painting operation for the right workpiece is completed, the CPU 15 outputs a retraction signal for the right supply cart, causes the right supply cart to move backward, and also outputs a work set signal for the right workpiece.
Switch from "On" to "Off".

静電異常信号がオンの状態からオフの状態になった場合
におけるインターラブドフローを第11図に示す。即ち
インターバルタイマーにより0.02 sec毎に割り
込みがかかる。続くステップSf1に進むと静電異常信
号がオンからオフになったか否かが判断される。rYE
sjであるとステップSr2において左右待ちフラッグ
が「0」であるか否かが判断される。さらにステップ5
f31こおいて左右待ちフラッグが「R」であるか否か
が判断される。rNOJであるとステップSr6に進む
。ステップSr6においては左右待ちフラッグが「0」
であるか否かが判断される。「NO」であるとステップ
Sr7に進む。ステップSl’7では左右待ちフラッグ
がrLJであるか否かが判断される。
FIG. 11 shows an interwoven flow when the electrostatic abnormality signal changes from an on state to an off state. That is, an interrupt is generated every 0.02 seconds by the interval timer. Proceeding to the subsequent step Sf1, it is determined whether the electrostatic abnormality signal has changed from on to off. rYE
If sj, it is determined in step Sr2 whether the left/right wait flag is "0". Further step 5
At f31, it is determined whether the left/right wait flag is "R". If rNOJ, the process advances to step Sr6. In step Sr6, the left/right wait flag is "0"
It is determined whether or not. If "NO", the process advances to step Sr7. In step Sl'7, it is determined whether the left/right wait flag is rLJ.

rY E S jの場合は続くステップSf8において
左待ちフラッグにrr;’r;’」がセットされる。そ
してステップSf9において左右待ちフラッグがクリア
される。「左待ちフラッグ」にrFFJがセットされて
いるため、第9図に示すインクラブドフローにより、前
述したごとく左供給台車がワーク塗装位置にセットされ
る。
In the case of rY E S j, rr;'r;' is set in the left wait flag in the subsequent step Sf8. Then, in step Sf9, the left and right wait flags are cleared. Since rFFJ is set in the "left waiting flag", the left supply cart is set to the workpiece painting position as described above by the ink flow shown in FIG. 9.

本実施例では以上述べたように静電異常信号が外部より
入力された場合においても即座にロボット、ワーク供給
装置を停止させるものではないのでワークの塗装が途中
でストップしてしまうことがない。また静電異常信号に
より供給台車を塗装位置で停止さ仕、制御部分の機能を
ストップさせることがないので、再起動のための煩わし
い操作が不要となる。
In this embodiment, as described above, even when an electrostatic abnormality signal is input from the outside, the robot and workpiece supply device are not immediately stopped, so painting of the workpiece does not stop midway. Furthermore, since the supply cart is stopped at the coating position by the electrostatic abnormality signal and the function of the control section is not stopped, there is no need for troublesome operations for restarting.

「発明の効果」 この発明によれば、外部からの異常信号が入力された場
合、そのタイミングでロボットを停止し、制御回路をス
トップさせることなく、当該ワークに対する作業の完了
後ロボットを一時停止するだけであるので、異常信号が
入力された場合ワークに対する作業が中途で停止される
ことがなく、再起動のための煩わしい操作が不要となる
効果がある。
"Effects of the Invention" According to this invention, when an abnormal signal is input from the outside, the robot is stopped at that timing, and the robot is temporarily stopped after completing work on the work without stopping the control circuit. Therefore, when an abnormal signal is input, the work on the workpiece will not be stopped midway, and there is no need for a troublesome operation for restarting the workpiece.

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

第1図はこの発明の一実施例の構成を示す平面図、第2
図は制御部の構成を示すブロック図、第3図はメモリ1
6に設定されたフラグを示す図、第4図は右スイッヂス
タンドの前進指令スイッチをオンにした場合のインター
ラブドルーチンを示す図、第5図は右中間停止リミット
スイッチがオンとなった場合のインターラブドルーチン
を示す図、第6図は左スイッチスタンドの前進司令スイ
ッチをオンにした場合のインターラブドフローを示す図
、第7図は左中間停止すミットスイッヂがオンとなった
場合のインターラブドルーチンをしめず図、第8図は静
電異常により割り込みがかかった場合のインターラブド
フローを示す図、第9図はインターバルタイマ(Q 、
 Q 25ec)により割り込みがかかった場合のイン
ターラブドフローを示す図、第1θ図は塗装9j作が終
了した場合のフローを示す図、第1+図はインターバル
タイマ(0,025ec)により割り込みがかかった場
合のインターラブドフローを示す図である。
FIG. 1 is a plan view showing the configuration of an embodiment of the present invention, and FIG.
The figure is a block diagram showing the configuration of the control unit, and Figure 3 is the memory 1.
Figure 4 is a diagram showing the interlaced routine when the forward command switch on the right switch stand is turned on. Figure 5 is a diagram showing the flag set to 6. Figure 5 is a diagram when the right intermediate stop limit switch is turned on. Figure 6 shows the interwoven flow when the forward command switch on the left switch stand is turned on. Figure 7 shows the interwoven flow when the left intermediate stop switch is turned on. Figure 8 is a diagram showing the interwoven flow when an interrupt occurs due to an electrostatic abnormality, and Figure 9 is a diagram showing the interval timer (Q,
Figure 1Theta is a diagram showing the flow when painting 9j is completed, Figure 1+ is an interrupt caused by interval timer (0,025ec). It is a figure which shows the interlaced flow in case.

Claims (1)

【特許請求の範囲】[Claims] 作業位置にワークが到着したことを検出するワーク検出
手段を有し、ワークが作業位置と他の所定位置との間を
移動するワーク供給手段と、前記ワーク検出手段からの
ワーク検出信号の入力によりワークに対する作業を行い
、作業終了時作業終了信号を出力するロボット装置と、
該ロボット装置からの上記作業終了信号の入力により作
業位置にある一方のワークを所定位置まで移動させると
ともに、他の所定位置にある他方のワークを作業位置ま
で移動させるように前記ワーク供給装置を駆動制御する
供給制御手段とを備えてなる工業用ロボットにおいて、
外部より入力される異常信号を検出する異常検出手段と
、該異常検出手段により異常信号の入力を検出したとき
は、作業待ちで他の所定位置にあるワークの作業位置へ
の前記供給装置による移動を中止するとともに、当該移
動中止のワークを記憶手段に記憶する異常処理手段と、
上記異常検出手段により上記信号の消失を検出したとき
には、上記記憶手段から当該移動中止のワークを読みだ
し、該ワークを作業位置まで移動させるべく前記供給装
置を駆動制御する異常復帰処理手段とを具備したことを
特徴とする工業用ロボット。
The method includes a workpiece detection means for detecting that the workpiece has arrived at the workpiece position, a workpiece supply means for moving the workpiece between the workpiece position and another predetermined position, and a workpiece detection signal inputted from the workpiece detection means. a robot device that performs work on a workpiece and outputs a work end signal when the work is completed;
Upon input of the work completion signal from the robot device, the workpiece feeding device is driven to move one workpiece at a working position to a predetermined position and move the other workpiece at another predetermined position to the working position. In an industrial robot comprising a supply control means for controlling,
an abnormality detection means for detecting an abnormal signal inputted from the outside; and when the abnormality detection means detects the input of the abnormal signal, the supply device moves a workpiece that is waiting for work and is at another predetermined position to a work position; an abnormality processing means for stopping the movement and storing the work whose movement has been stopped in a storage means;
Abnormality recovery processing means reads out the work whose movement has been stopped from the storage means and drives and controls the supply device to move the workpiece to a working position when the abnormality detection means detects disappearance of the signal. An industrial robot that is characterized by:
JP27705386A 1986-11-20 1986-11-20 Industrial robot Pending JPS63134186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27705386A JPS63134186A (en) 1986-11-20 1986-11-20 Industrial robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27705386A JPS63134186A (en) 1986-11-20 1986-11-20 Industrial robot

Publications (1)

Publication Number Publication Date
JPS63134186A true JPS63134186A (en) 1988-06-06

Family

ID=17578128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27705386A Pending JPS63134186A (en) 1986-11-20 1986-11-20 Industrial robot

Country Status (1)

Country Link
JP (1) JPS63134186A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016064448A (en) * 2014-09-22 2016-04-28 ファナック株式会社 Robot controller for preventing failure related to robot at emergency stop

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57189760A (en) * 1981-05-20 1982-11-22 Hitachi Ltd Restarting method of tracking system
JPS604418A (en) * 1983-06-24 1985-01-10 Nissan Motor Co Ltd Sliding-type roof construction for vehicle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57189760A (en) * 1981-05-20 1982-11-22 Hitachi Ltd Restarting method of tracking system
JPS604418A (en) * 1983-06-24 1985-01-10 Nissan Motor Co Ltd Sliding-type roof construction for vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016064448A (en) * 2014-09-22 2016-04-28 ファナック株式会社 Robot controller for preventing failure related to robot at emergency stop
US9782898B2 (en) 2014-09-22 2017-10-10 Fanuc Corporation Robot controller for avoiding problem regarding robot at the time of emergency stop

Similar Documents

Publication Publication Date Title
WO1995035187A1 (en) Control device for robot
JP2007148527A (en) Method for avoiding interference of robot and robot
JP2001225288A (en) Method of correcting teaching position of welding robot
JPH09285874A (en) Spot welding system
JPS63134186A (en) Industrial robot
JPH0440506A (en) Teaching device for robot
JP2786874B2 (en) Movable position control device
JPH0871969A (en) Method of telling position of robot
KR20020034036A (en) Autonomous mobile carriage system for welding
JPH07237106A (en) Remote control flaw repairing method and device therefor
JP2019171538A (en) Controller and control method of cooperation robot
JPS61131001A (en) Controller for robot
JP2972478B2 (en) Snow melting equipment for railway vehicles
CN115515760A (en) Robot control device
JP3036337B2 (en) Wire electric discharge machine
JP5382419B2 (en) Origin search support device and program
JPH02152748A (en) Checking device for stroke end of machine tool for numerical control
JPH09267282A (en) Work object position detector of multiarticulated robot
JPS62102959A (en) Control unit for machine tool facility using mobile robot device
JP3174218B2 (en) Industrial robot control method
US20240024996A1 (en) Screw fastening system
JPH06335883A (en) Robot controller
JP3515796B2 (en) Manipulator operating range control device
JP2000343255A (en) Laser beam machining method and its device
JPH0459072B2 (en)