JPS61141952A - Painting robot and control thereof - Google Patents
Painting robot and control thereofInfo
- Publication number
- JPS61141952A JPS61141952A JP26514884A JP26514884A JPS61141952A JP S61141952 A JPS61141952 A JP S61141952A JP 26514884 A JP26514884 A JP 26514884A JP 26514884 A JP26514884 A JP 26514884A JP S61141952 A JPS61141952 A JP S61141952A
- Authority
- JP
- Japan
- Prior art keywords
- axis
- gun
- memory
- painting
- switch
- 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
Links
Landscapes
- Application Of Or Painting With Fluid Materials (AREA)
- Spray Control Apparatus (AREA)
Abstract
Description
【発明の詳細な説明】
[R葉上の利用分野]
本発明は、塗装ガンを被塗装物の而に応じて移動させて
塗装を行う自動塗装機、特に、塗装]]ボット及びその
制御方法に関するものである。[Detailed Description of the Invention] [Field of Application on R] The present invention relates to an automatic coating machine that performs coating by moving a coating gun according to the condition of the object to be coated, particularly a coating bot and its control method. It is related to.
rtt来の技(イlil
この種の、自動塗装機の従来例として、油圧制御による
塗装ロボツl−を挙げることができる。従来の塗装ロボ
ットはその駆動源としてオイルシリンダ、オイルモータ
等の油圧サーボ系により多関節アームを駆動していた。As a conventional example of this type of automatic painting machine, there is a painting robot l- that uses hydraulic control.The driving source of the conventional painting robot is a hydraulic servo such as an oil cylinder or an oil motor. The multi-joint arm was driven by the system.
[発明が解決しようとする問題点]
前記油圧サーボ系による制御は、自動制御という制御面
からすれば、浦を媒体として制御をするものであるから
、伝達関数が略一定であり、その制御系の安定性を高め
ることができる。反面、装首面からすれば、各油圧アク
チュエータ及び制御弁、油圧ポンプ等の油圧機構が高価
になるため、塗装ロボットのコストが高くなるという問
題点を有している。[Problems to be Solved by the Invention] From the viewpoint of automatic control, the control by the hydraulic servo system uses the ura as a medium, so the transfer function is approximately constant, and the control system can increase the stability of On the other hand, from a neck mounting point of view, each hydraulic actuator, a control valve, a hydraulic mechanism such as a hydraulic pump are expensive, and therefore the cost of the painting robot is high.
そこで、本発明は、上記問題点を解消すべく、孕装ガン
の特性を効果的に用いて、構成部品が比較的安価な空気
圧機構を用いて塗装ロボットを構成し、廉価な塗装ロボ
ットの提供をその課題とするものである。Therefore, in order to solve the above-mentioned problems, the present invention effectively utilizes the characteristics of a loading gun to configure a painting robot using a pneumatic mechanism whose components are relatively inexpensive, thereby providing an inexpensive painting robot. The challenge is to
F問題点を解決するための手段]
本発明の塗装ロボットは、塗装ガンの位置を変動させる
エアーモータによって構成したものである。Means for Solving Problem F] The painting robot of the present invention is configured with an air motor that changes the position of a painting gun.
また、本発明の塗装ロボットは、塗装ガンを移動させる
各軸移動用エアーモータによって三次元空間を移動させ
、任意の位dに停止させて位置決めを行う位置設定手段
と、前記塗装ガンを水平に旋回させる水平旋回手段及び
前記塗装ガンを垂直に角変位する垂直角変位手段からな
るガン姿勢制御手段と、塗装ガンの吹付【プを制御する
ガン作動制御手段からなるものである。The painting robot of the present invention also includes a position setting means for moving the painting gun in a three-dimensional space using an air motor for moving each axis and stopping at an arbitrary position d for positioning, and a positioning means for positioning the painting gun horizontally. The gun position control means includes a horizontal rotation means for turning the paint gun, a vertical angular displacement means for vertically angularly displacing the paint gun, and a gun operation control means for controlling the spraying of the paint gun.
[作用コ
斯くの如く構成することにより、塗装ガンの位置をエア
ーモータで駆動し、エアーブレーキによりブレーキ状態
にするエアーモータの回転の停止Fを行うものである。[Operation] With this configuration, the position of the coating gun is driven by the air motor, and the air brake is used to bring the air motor into a braking state, thereby stopping the rotation of the air motor.
また、本発明の塗装ロボットは、各軸移動用エアーモー
タによって塗装ガンを三次元空間を移動させ、任意の位
置に停止させて位置決めを行う位置設定手段と、前記塗
装ガンを必要に応じて水平に旋回する水平旋回手段及び
垂直に角変位する垂直角変位手段からなるガン姿勢制御
手段と、塗装ガンの吹付けを制御するガン作動制御手段
からなり、被塗装物の形状及び塗装箇所の形状によって
、設定された位置でガン姿勢制御手段及びガン作動制御
手段を制御するものである。The painting robot of the present invention also includes a position setting means for moving the painting gun in a three-dimensional space using an air motor for moving each axis and positioning the painting gun by stopping it at an arbitrary position, and a position setting means for positioning the painting gun by moving the painting gun in a three-dimensional space using an air motor for moving each axis, and a position setting means for positioning the painting gun by moving the painting gun in a three-dimensional space using an air motor for moving each axis. The gun attitude control means consists of a horizontal rotation means that rotates vertically and a vertical angular displacement means that makes an angular displacement vertically, and a gun operation control means that controls the spraying of the painting gun. , the gun attitude control means and the gun operation control means are controlled at the set position.
そして、本発明の塗装ロボットの制御方法は、各ステッ
プ毎に塗装ガンの位置及び姿勢をメモリに記録するティ
ーチング工程と、前記ティーチング工程で百だデータを
丁勤送り操作によって順次メモリからリード寸ろ]稈と
、W記ティーヂング工程で百だデータを自動送り操作に
よって順次メモリからリードし?12塗装物に塗装する
工程、または、各ステップ毎に9装ガンのイel r及
び姿勢をメモリに記録するティーチング工程と、前記テ
ィーチング工程で(9たデータを手vj送り操作によっ
て順次メモリからリードする工程と、前記手動送り工程
において特定ステップのデータを修正する修正工程と、
前記ティーチング工程で得たデータを自動送り操作によ
って順次メモリがらリードし、イのデータによってi!
!!m装物に塗装する工程と、前記特定ステップのデー
タにおけるガン姿勢を確認するための吹付は状態確認工
程からなるものである。The coating robot control method of the present invention includes a teaching process in which the position and orientation of the coating gun are recorded in the memory for each step, and in the teaching process, the lead size is sequentially transferred from the memory by a constant feeding operation. ] In the culm and W teaching process, the data is sequentially read from the memory by automatic feeding operation? 12 The process of painting the object to be coated, or the teaching process of recording the el r and posture of the 9 guns in the memory for each step, and the teaching process (9 data is sequentially read from the memory by manual feed operation). a correction step of correcting data of a specific step in the manual feeding step;
The data obtained in the teaching process is sequentially read from the memory by an automatic feed operation, and the i!
! ! The process of painting the m-equipment and the spraying to confirm the gun posture based on the data of the specific step consist of a status confirmation process.
[実施例コ
第1図及び第2図は、本発明の実施例の塗装【]ポボッ
の塗装ガンのX軸位置設定手段の駆動部、Y軸位置設定
手段の駆動部、Z軸位置設定手段の駆動部を示す要部の
正面図及び側面図である。[Example 1] Figures 1 and 2 show the painting of an embodiment of the present invention [] The drive section of the X-axis position setting means, the drive section of the Y-axis position setting means, and the Z-axis position setting means of Pobo's painting gun. FIG. 2 is a front view and a side view of main parts of the drive unit of FIG.
×軸アーム×1は本体ベース1に垂直に配置、9された
支打2に対して直角に設けろ。叩も、本体ベース1と平
行して×軸アーム×1が’If’ K)される。The x-axis arm x1 is arranged perpendicularly to the main body base 1, and provided at right angles to the supported support 2. Also, when hitting, the x-axis arm x 1 is parallel to the main body base 1 'If' K).
また、X帖アーム×1に対して直角に交わる7帖アーム
71を、×軸アーム×1の×軸ボールネジX2と螺合し
た×軸送り台×3に取り付ける。即ち、醋記7軸アーム
71は支材2に対して平行となり、そして、X帖アーム
×1に対して直角に交わる。Y軸アームY1を7軸アー
ム71に取り付ける。即ち、Y軸アームY1はXl11
11アーム×1及び7軸アーム71に対して直角に配設
されることになる。Furthermore, a 7-book arm 71 that intersects at right angles to the 1 x-book arm is attached to the 3 x-axis feed bases screwed together with the 1 x-axis ball screw X2 of the 1 x-axis arm. That is, the seven-axis arm 71 is parallel to the support 2, and intersects at right angles to the x1 arm. Attach the Y-axis arm Y1 to the 7-axis arm 71. That is, the Y-axis arm Y1 is Xl11
It will be arranged at right angles to the 11-arm x 1 and 7-axis arm 71.
前記各軸アームの基本的な位置9Q定手段の構成は、X
軸アーム×1及びY軸アームY1及びZ軸アーム71の
3者が共通しているから、第3図のY軸アームY1の位
置設定手段の構成により、その要部の構成を説明する。The configuration of the basic position 9Q determining means of each axis arm is
Since the axis arm x1, the Y-axis arm Y1, and the Z-axis arm 71 are common, the configuration of the main parts will be explained based on the configuration of the position setting means of the Y-axis arm Y1 shown in FIG.
Y軸エアーモータYAMの回転はモータ軸Y9からY軸
カップリングY8を介して、ディスクタイプのY軸エア
ーブレーギYABの軸に伝達されるように接続され、そ
して、Y軸エアーブレーキYA[”3を介してY軸ボー
ルネジY2を回動させる。The rotation of the Y-axis air motor YAM is connected to be transmitted from the motor shaft Y9 to the shaft of the disc-type Y-axis air brake YAB via the Y-axis coupling Y8, and the Y-axis air brake YA[''3 The Y-axis ball screw Y2 is rotated through the Y-axis ball screw Y2.
前記YIk11カップリングY8には多数のスリットを
穿設した回転板Y5が固着されていて、角度検出部Y6
によって磁気的に回転及び角度検出を行うべく回転・角
度センサYSEを構成している。なお、前記回転・角度
センサYSEのパルス数と送り台Y3との移動距離は、
任意に設定される。前記回転板Y5と角度検出部Y6は
、一般に角度センサ或いは回転センサと呼称されており
、公知であるので、その説明は省略する。また、Y軸エ
アーモータYAM及びY軸エアーブレーキYABについ
ても、同様に公知であるので、その説明は省略する。前
記Y軸エアーモータYAMと取付部材YIOとY軸エア
ーブレーキYABは駆動源支持部材Y11に固着されて
おり、更に、取付部材Y10と駆!′lI源支持部材Y
11間も固着される。或いは、取付部材Y10と駆動源
支持部材Y11を一体に形成する。これら、取付部材Y
10と駆動源支持部材Y11は、Y軸アームY1に取り
付けられる。また、前−つ −
記駆動源支持部月Y11には2木のY軸ガイドレールY
13の端部が取り付けられており、また、前記Y軸ガイ
ドレールY13の他端はY軸アームY1に取り付けられ
たレール支)6部材Y12に取り付けられることにより
、Y軸ガイドレールY13はYl111アームY1に並
設される。Y軸ガイドレールY13を摺動する摺動部及
びY軸ボールネジY2と螺合するネジ部を有する送り台
Y3は、Y軸エアーモータYAMによって回転するY軸
ボールネジY2により、Y軸ガイドレールY13上をr
f!動じ、Y軸ガイドレールY13に従って直線運動を
行う。これらの各構成は、X軸アーム×1及びY軸アー
ムY1及びZ軸アーム71が共通するものである。A rotating plate Y5 having a large number of slits is fixed to the YIk11 coupling Y8, and an angle detecting portion Y6 is fixed to the YIk11 coupling Y8.
The rotation/angle sensor YSE is configured to magnetically detect rotation and angle. In addition, the number of pulses of the rotation/angle sensor YSE and the moving distance with the feed table Y3 are as follows:
Set arbitrarily. The rotating plate Y5 and the angle detecting section Y6 are generally called an angle sensor or a rotation sensor and are well known, so a description thereof will be omitted. Further, since the Y-axis air motor YAM and the Y-axis air brake YAB are similarly known, their explanations will be omitted. The Y-axis air motor YAM, the mounting member YIO, and the Y-axis air brake YAB are fixed to the drive source support member Y11, and are further connected to the mounting member Y10! 'lI source support member Y
It was fixed for 11 minutes. Alternatively, the mounting member Y10 and the drive source support member Y11 are formed integrally. These, mounting member Y
10 and the drive source support member Y11 are attached to the Y-axis arm Y1. In addition, there are two Y-axis guide rails Y on the drive source support part Y11 mentioned above.
The other end of the Y-axis guide rail Y13 is attached to the rail support (6) member Y12 attached to the Y-axis arm Y1, so that the Y-axis guide rail Y13 is attached to the Yl111 arm. They are installed in parallel to Y1. The feed table Y3, which has a sliding part that slides on the Y-axis guide rail Y13 and a threaded part that engages with the Y-axis ball screw Y2, is moved on the Y-axis guide rail Y13 by the Y-axis ball screw Y2 rotated by the Y-axis air motor YAM. r
f! The robot moves in a straight line according to the Y-axis guide rail Y13. Each of these configurations has one X-axis arm, a Y-axis arm Y1, and a Z-axis arm 71 in common.
そして、X軸アーム×1の送り台×3は2軸アーム71
の送り台Z3が相互に取り付けられており、7軸アーム
Z1の下部には、Y軸アームY1が取り付けられている
。前記Y軸アームY1の送り台Y3は、塗装ガン及びそ
の取付手段を具備している。And, the feed base x 3 of the X-axis arm x 1 is the 2-axis arm 71.
The feed tables Z3 are attached to each other, and the Y-axis arm Y1 is attached to the lower part of the 7-axis arm Z1. The feed base Y3 of the Y-axis arm Y1 is equipped with a coating gun and its attachment means.
前記塗装ガン及びその取付手段について第3図及び第4
図の要部拡大間を用いて説明でる。Figures 3 and 4 regarding the painting gun and its mounting means.
Explanations can be made using enlarged views of the main parts of the figure.
送り台Y3には塗装ガン支持メタルG1が固着されてお
り、前記塗装ガン支持メタルG1には可動部材G2が軸
支されている。前記可動部材G2には塗装ガン旋回用ア
クチュエータAC1の固定側が取り付けられており、そ
の可動側には、旋回部材G3が取り付けられている。更
に、前記旋回部材G3には、第1塗装ガンGUN1及び
第2塗装ガンGUN2が取り付けられている。A coating gun support metal G1 is fixed to the feed base Y3, and a movable member G2 is pivotally supported on the coating gun support metal G1. The fixed side of the painting gun rotating actuator AC1 is attached to the movable member G2, and the rotating member G3 is attached to the movable side. Further, a first painting gun GUN1 and a second painting gun GUN2 are attached to the rotating member G3.
第4図の塗装ガン及び取付手段の要部を示す正面図によ
り、更に、送り台Y3に取り付けられた塗装ガン及びそ
の取付手段並びにガン姿勢制御について説明する。The painting gun attached to the feed base Y3, its attachment means, and gun attitude control will be further explained with reference to a front view showing the main parts of the painting gun and attachment means in FIG.
複動シリンダCLIはピストンロッドCL11の移動に
よって、塗装ガン旋回用アクチュエータAC1の固定側
が固着されている可動部材G2を、前記塗装ガン旋回用
アクチュエータAC1の軸を中心に90度水平回動する
。即ち、ピストンロッドCL11がヘッド側にあるとき
、第4図に示す位置にピストンロッドCL11と可動部
材G2との支持点G4があり、前記ピストンロッドC1
11がキャップ側に位置すると、可動部材G2が前記f
?装ガン旋回用アクチュエータ△C1の軸を中心に90
度水平回動する。したがって、塗装ガン旋回用アクチュ
エータ△C1の固定側の90度の水平方向の回動に伴い
可動側も90度回動し、旋回部材G3を90度水平回動
させるから、図示の状態にある第2塗装ガンGUN2を
手前に位置させる。The double-acting cylinder CLI horizontally rotates the movable member G2, to which the fixed side of the painting gun turning actuator AC1 is fixed, by 90 degrees around the axis of the painting gun turning actuator AC1, by the movement of the piston rod CL11. That is, when the piston rod CL11 is on the head side, there is a support point G4 between the piston rod CL11 and the movable member G2 at the position shown in FIG.
11 is located on the cap side, the movable member G2
? 90 around the axis of gun rotation actuator △C1
Rotate horizontally. Therefore, as the fixed side of the painting gun turning actuator ΔC1 rotates by 90 degrees in the horizontal direction, the movable side also rotates by 90 degrees, causing the turning member G3 to horizontally rotate by 90 degrees. 2 Position the painting gun GUN2 in front of you.
また、塗装ガン旋回用アクチュエータへ01は可動側を
180度水平回動させる。即ち、第4図の旋回部材G3
は塗装ガン旋回用アクチュエータACIの軸の対称旬買
にくる。旋回部材G3には第1塗装ガンGtJN1が第
1塗装ガン取付部材G5を介して取り付けられ、前記¥
S1塗装ガンGUN1の噴射方向の中心を11ガン旋回
用アクチュエータACIの軸線上に設定している。した
がって、第1塗装ガンGUN1は旋回部材G3の回動に
関係なく常に真下の噴射方向となる。Further, the actuator for rotating the painting gun 01 horizontally rotates the movable side by 180 degrees. That is, the rotating member G3 in FIG.
The symmetrical axis of the paint gun rotation actuator ACI is now available. The first painting gun GtJN1 is attached to the rotating member G3 via the first painting gun mounting member G5, and the
The center of the spray direction of the S1 paint gun GUN1 is set on the axis of the 11 gun rotation actuator ACI. Therefore, the first coating gun GUN1 always sprays directly downward regardless of the rotation of the rotating member G3.
更に、旋回部材G3には第2塗装ガンGLJN2が取り
付けられる。前記第2塗装ガンGUN2は旋回部材G3
に固定側を固着した塗装ガン旋回用アクチュエータへ0
2の可動側の軸線上に、その噴射方向を設定しており、
第2塗装ガンの噴射方向は前記第1塗装ガンの噴射方向
との間に45度の噴射方面のズレ角を有する。前記第2
塗装ガンGUN2の噴射角度は複動シリンダCL2によ
って角変位が行われる。即ち、複動シリンダCL2は塗
装ガン旋回用アクチュエータAC2の可動側の軸に、シ
リンダ保持部材G7を介して取り付けられており、複動
シリンダCL2のピストンロッドCL21がヘッド側に
あるとき、第4図に示すように、第2塗装ガンの噴射方
向は第1塗装ガンに対してθ=45度の噴射角度を持つ
ように、第2塗装ガン取付部材G6によって設定する。Further, a second painting gun GLJN2 is attached to the rotating member G3. The second painting gun GUN2 is a rotating member G3.
0 to the painting gun rotation actuator whose fixed side is fixed to
The injection direction is set on the axis of the movable side of 2,
The spraying direction of the second coating gun has a deviation angle of 45 degrees from the spraying direction of the first coating gun. Said second
The spray angle of the coating gun GUN2 is angularly displaced by a double-acting cylinder CL2. That is, the double-acting cylinder CL2 is attached to the movable shaft of the actuator AC2 for rotating the paint gun via the cylinder holding member G7, and when the piston rod CL21 of the double-acting cylinder CL2 is on the head side, as shown in FIG. As shown in FIG. 2, the spraying direction of the second coating gun is set by the second coating gun mounting member G6 so as to have a spraying angle of θ=45 degrees with respect to the first coating gun.
複動シリンダCL2のピストンロッドCL21がキャッ
プ側にあるとき、第4図の一点!II2で示すように、
第2塗装ガンの噴射方向は01度だけ角変位し、θ−0
1=45−61度となる。前記角度θ1は望ましくは2
2.5(資)に設定するとよい。複動シリンダCL2が
キャップ側にあるとぎ、ISiガン旋回用アクチュエー
タの可動側を180度回動させると、第2塗装ガンGU
N2の噴射角度は45十01度となる。When the piston rod CL21 of the double-acting cylinder CL2 is on the cap side, one point in Fig. 4! As shown in II2,
The spray direction of the second paint gun is angularly displaced by 01 degrees, and θ-0
1=45-61 degrees. The angle θ1 is preferably 2
It is recommended to set it to 2.5 (capital). When the double-acting cylinder CL2 is on the cap side, when the movable side of the ISi gun rotation actuator is rotated 180 degrees, the second painting gun GU
The injection angle of N2 is 45101 degrees.
したがって、複動シリンダCL1で90度の水平回動を
、及び塗装ガン旋回用アクチュエータAC1で180度
の水平回動を行うことで、第2を装ガンGUN2の水平
角度を0度、90度、180度、270度と変化させる
ことができる。そして、複動シリンダCL2で90度の
回動を、及び塗装ガン旋回用アクチュエータAC2で1
80度の回動を行うことで、第2塗装ガンの垂直噴射角
度を、45−01度、45度、45+01度と角変位す
ることができる。また、塗装ガン旋回用アクチュエータ
AC1及びAC2と複動シリンダCL2により、第2塗
装ガンGIJN2の垂直噴射角度はθ1−22.5度と
すると1、垂直方向を中心に−67,5度、−45度、
−22,5度、+22.5度、+45度、+67.5度
と変位することができる。Therefore, by performing horizontal rotation of 90 degrees with the double-acting cylinder CL1 and horizontal rotation of 180 degrees with the painting gun rotation actuator AC1, the horizontal angle of the second gun GUN2 can be adjusted to 0 degrees, 90 degrees, It can be changed to 180 degrees or 270 degrees. Then, the double-acting cylinder CL2 rotates 90 degrees, and the painting gun rotation actuator AC2 rotates 1 degree.
By rotating by 80 degrees, the vertical spray angle of the second coating gun can be angularly displaced to 45-01 degrees, 45 degrees, and 45+01 degrees. In addition, the vertical spray angle of the second painting gun GIJN2 is 1, -67.5 degrees centered on the vertical direction, -45 degrees, based on the painting gun rotation actuators AC1 and AC2, and the double-acting cylinder CL2, assuming θ1-22.5 degrees. Every time,
It can be displaced by -22.5 degrees, +22.5 degrees, +45 degrees, and +67.5 degrees.
次に、第1図から第4図に示された機構を駆動する空気
圧回路について第5図から第8図を用いて説明する。Next, a pneumatic circuit for driving the mechanism shown in FIGS. 1 to 4 will be explained using FIGS. 5 to 8.
第5図は、第1塗装ガンG U N 1及び第2塗装ガ
ンGUN2のガン姿勢制御系用及びガン作動制御系用空
気圧回路である。FIG. 5 shows pneumatic circuits for the gun attitude control system and gun operation control system of the first painting gun GUN 1 and the second painting gun GUN2.
エアーポンプ等の空気圧用圧力源から供給された空気圧
は、自動ドレイン排出器付きフィルタでゴミや水分を除
去し、減圧弁で圧力を調整し、ルブリグータで潤滑油を
供給する公知の空気圧調整ユニットAUによって所定の
空気圧を得て、各バルブにその空気圧を供給する。Air pressure supplied from a pneumatic pressure source such as an air pump is removed by a filter with an automatic drain discharger to remove dust and water, the pressure is adjusted by a pressure reducing valve, and a lubricant is supplied by a lubricator using a known air pressure adjustment unit AU. A predetermined air pressure is obtained by using this method, and that air pressure is supplied to each valve.
ソレノイドG21によって開閉制御される5ボート2ポ
ジシヨンバルブからなるガン水平90度旋回用バルブR
790に導かれた空気圧は、複動シリンダC[1をヘッ
ド側或いはキャップ側にピストンロッドCL11を変位
することにより、第2塗装ガンGUN2の位置を水平方
向に90度回勅させる。また、ソレノイドG22によっ
て開閉制御される5ボート2ポジシヨンバルブからなる
ガン水平180度旋回用バルブRZ180に導かれた空
気圧は、塗装ガン旋回円アクチコT−タ△C1を18o
rtx回動させ、塗装ガンa U N 2の(D、 N
を水平方向に180度変化させる。Gun horizontal 90 degree rotation valve R consisting of 5 boat 2 position valves controlled to open and close by solenoid G21
The air pressure guided by 790 moves the piston rod CL11 of the double-acting cylinder C[1 toward the head side or the cap side, thereby rotating the position of the second coating gun GUN2 by 90 degrees in the horizontal direction. In addition, the air pressure guided to the gun horizontal 180 degree rotation valve RZ180, which is a 5-boat 2-position valve whose opening and closing are controlled by the solenoid G22, moves the painting gun rotation circle acticota ΔC1 by 18 degrees.
Rotate the rtx and turn the paint gun a U N 2 (D, N
change horizontally by 180 degrees.
同様に、ソレノイドG23によって開閉制御される5ボ
ート2ボジシ]ンバルブからなる角度01設定用バルブ
HO1に導かれた空気圧は、複動シリンダCL 2のピ
ストンロッドC1−21をヘッド側或いはキャップ側に
変荀さけ、第2塗装ガンGLJN2の垂直方向の角度を
01だけ変化させる。そして、ソレノイドG24によっ
て開閉制御される5ボート2ポジシヨンバルブからなる
角度θ2設定用バルブHθ2に導かれた空気圧は、塗装
ガン旋回用アクチュエータΔC2を180度回動させ、
第2塗装ガンGUN2の垂直方向の角度を45±81度
だけ変化させる。なお、前記複動シリンダCLI及びC
10並びに塗装ガン旋回用アクチュエータACI及びA
C2の各ボートと各バルブRZ90、RZ180、ト(
θ1、HO2のボートとの間には、逆止め弁と可変絞り
弁とを並列接続したスピードコントローラが挿入されて
おり、ピストンロッドの移動速度及びアクチュエータの
旋回速度を任意に設定している。Similarly, the air pressure guided to the angle 01 setting valve HO1, which is a 5-boat 2-position valve controlled to open and close by the solenoid G23, changes the piston rod C1-21 of the double-acting cylinder CL2 to the head side or cap side. Change the vertical angle of the second paint gun GLJN2 by 01. Then, the air pressure guided to the angle θ2 setting valve Hθ2, which is a 5-boat 2-position valve controlled to open and close by the solenoid G24, rotates the paint gun rotation actuator ΔC2 by 180 degrees.
The vertical angle of the second coating gun GUN2 is changed by 45±81 degrees. Note that the double acting cylinders CLI and C
10 and painting gun rotation actuators ACI and A
Each boat of C2 and each valve RZ90, RZ180,
A speed controller in which a check valve and a variable throttle valve are connected in parallel is inserted between the boats θ1 and HO2, and the moving speed of the piston rod and the turning speed of the actuator are arbitrarily set.
また、空気圧調整ユニットAUからの空気圧は、ソレノ
イドG26で開閉制御される3ボート2ポジシヨンバル
ブからなるエアー供給用バルブGUN11及び3ボート
2ポジシヨンバルブからなるエアー供給用バルブGUN
21に導かれ、第1塗装ガンGUN1 、第2塗装ガン
G’1JN2の吹付用エアーとして使用する。更に、第
1塗装ガンGLJNI及び第2塗装ガンGUN2には、
ソレノイドG25、ソレノイド028によって開閉制御
する2ボート2ポジシヨンバルブからなる塗料供給制御
用バルブGtJN10及びG U N 20によって、
圧力源からの空気圧を自動ドレイン排出器付きフィルタ
及び逆止め弁と可変絞り弁からなるスピードコントロー
ラを介して導き、第1塗装ガンGUN1及び第2!ff
i装ガンGLINZ内のシリンダ(図示せず)を制御し
、第1塗装ガンGUN1 、第2塗装ガンGIJN2か
ら噴射する吹付塗料の制御を行う。In addition, the air pressure from the air pressure adjustment unit AU is controlled by the air supply valve GUN11, which is a 3-boat 2-position valve, and the air supply valve GUN, which is a 3-boat 2-position valve, which is controlled to open and close by a solenoid G26.
21 and used as spraying air for the first painting gun GUN1 and the second painting gun G'1JN2. Furthermore, the first paint gun GLJNI and the second paint gun GUN2 include:
By means of paint supply control valves GtJN10 and GUN20, which are two-boat two-position valves that are controlled to open and close by solenoid G25 and solenoid 028.
The air pressure from the pressure source is guided through a filter with an automatic drain ejector and a speed controller consisting of a check valve and a variable throttle valve, and the air pressure is applied to the first painting gun GUN1 and the second painting gun GUN1. ff
The cylinder (not shown) in the i-equipped gun GLINZ is controlled to control the spray paint sprayed from the first paint gun GUN1 and the second paint gun GIJN2.
空気圧調整ユニットAUから供給される空気圧は、各軸
位置設定系へ導かれる。Air pressure supplied from the air pressure adjustment unit AU is guided to each axis position setting system.
第6図はX軸位置設定系の空気圧回路である。FIG. 6 shows the pneumatic circuit of the X-axis position setting system.
X軸アーム×1側の駆動系に供給された空気圧はソレノ
イドX21F及びソレノイドX21Rによって開閉制御
される5ボート3ポジシヨンバルブからなるX軸エアー
モータ用バルブXFflに供給される。X軸エアーモー
タXAMは前記ソレノイドX21Fが駆動されたとき、
正回転を行い、前記ソレノイドX21Rが励磁されたと
き逆回転を行う。The air pressure supplied to the drive system on the X-axis arm x1 side is supplied to the X-axis air motor valve XFfl, which is composed of a 5-boat 3-position valve whose opening and closing are controlled by solenoid X21F and solenoid X21R. When the solenoid X21F is driven, the X-axis air motor XAM
It performs forward rotation, and performs reverse rotation when the solenoid X21R is energized.
前記X軸エアーモータXΔMの回転速度は、X@エアー
モータXAMの排気ボート側の絞り弁X26によって決
定されるが、ソレノイドX22で開閉制御される2ボー
ト2ポジシヨンバルブからなる高速設定バルブXSを開
閉することによって、前記絞り弁X26の回路をバイパ
スさせることができる。The rotational speed of the X-axis air motor XΔM is determined by the throttle valve X26 on the exhaust boat side of the X@air motor XAM. By opening and closing, the circuit of the throttle valve X26 can be bypassed.
したがって、前記ソレノイドX22の励磁により、X軸
エアーモータXAMは高速回転することになる。Therefore, the excitation of the solenoid X22 causes the X-axis air motor XAM to rotate at high speed.
一方、X@僚冒設定系の空気圧回路に導かれた空気圧は
、減圧弁X25で減圧された空気圧としてソレノイドX
23及び手動押ボタンスイツヂで開閉制御を行う3ボー
ト2ポジシヨンバルブからなるX〜エアーブレーキ用バ
ルブ×Bを通して、X軸エアーブレーキXABに導かれ
る。通常、減圧された空気圧は×軸エアーブレーキ用バ
ルブXBによって×軸エアーブレーV×ΔBに導かれて
おりブレーキ状態となるから、X軸エアーモータXΔM
の回転を拘束する。前記X軸エアーブレーキ用バルブX
Bが閉じると、X軸エアーブレーキXABの空気圧が急
速排気弁X24によって排出され、×軸エアーブレーキ
XABのブレーキ状態を解除する。なお、このときのブ
レーキ速度は、逆止め弁及び絞り弁からなるスピードコ
ントローラによって決定される。On the other hand, the air pressure led to the pneumatic circuit of the X @ staff setting system is reduced by the pressure reducing valve
23 and a 3-boat 2-position valve whose opening/closing is controlled by a manual push button switch. Normally, the reduced air pressure is guided to the x-axis air brake V x ΔB by the x-axis air brake valve XB and enters the braking state, so the
Constrains the rotation of. Said X-axis air brake valve X
When B is closed, the air pressure of the X-axis air brake XAB is discharged by the quick exhaust valve X24, and the brake state of the X-axis air brake XAB is released. Note that the brake speed at this time is determined by a speed controller consisting of a check valve and a throttle valve.
この様にして、X軸アーム×1側の位置設定系の空気圧
回路が作動するが、第7図のY軸位置設定系及び第8図
の7軸位置設定系の空気圧回路においても同様に作動す
るので、その動作説明を簡略化する。In this way, the pneumatic circuit for the position setting system on the X-axis arm x 1 side operates, but the pneumatic circuits for the Y-axis position setting system in Fig. 7 and the 7-axis position setting system in Fig. 8 also operate in the same way. Therefore, the explanation of its operation will be simplified.
Y軸エアーモータ用バルブVFRはソレノイド= 19
−
Y21[及びソレノイドY 21Rで開閉制御される。Y-axis air motor valve VFR is solenoid = 19
- Opening/closing is controlled by Y21 and solenoid Y21R.
Y軸エアーモークYAMはソレノイドY22で開閉制御
される2ボート2ポジシヨンバルブからなる高速設定用
バルブYSによって高速回転制t!!′lが行われる。The Y-axis air mortar YAM is controlled at high speed by a high-speed setting valve YS consisting of a 2-boat 2-position valve whose opening and closing are controlled by a solenoid Y22. ! 'l is performed.
Y軸エアーブレーキY A Rf1減圧弁Y25で減圧
された空気圧を2ボー1−2ポジシヨンバルブからなる
エアーブレーキ用バルブYRによって制御される。なお
、絞り弁”y’26はY軸JアーモータYAMの回転速
度tl:ll m用であり、急速排気弁Y24はY軸エ
アーブレーキYABの制御に用いるものである。Y-axis air brake YA Rf1 The air pressure reduced by the pressure reducing valve Y25 is controlled by an air brake valve YR consisting of a 2-bow 1-2 position valve. Note that the throttle valve "y'26 is used for the rotational speed tl:llm of the Y-axis J arm motor YAM, and the rapid exhaust valve Y24 is used for controlling the Y-axis air brake YAB.
そして、第8図の7軸アーム71側の位置t2定系に供
給された空気圧は、ソレノイド727で開閉f’tll
IIIする3ボート2ポジシヨンバルブからなる前進
用バルブ7F及びソレノイド728で開閉制御する3ボ
ート2ポジシヨンバルブからなるII退用バルブZRψ
びにそれらのバルブによって開閉制御される5ボート3
ポジシヨンバルブからなる7@エアーモータ用バルブZ
FRによってZ軸エアーモータZAMが正・逆転制御さ
れる。前記7軸工アーモータZAMの回転速度は、排気
ボート側の絞り弁Y26によって決定されるが、ソレノ
イド722で開閉制御する2ボート2ポジシヨンバルブ
からなる高速設定用バルブZSを開くことで、Z@エア
ーモータ7AMを高速回転させることができる。The air pressure supplied to the position t2 constant system on the 7-axis arm 71 side in FIG.
A forward valve 7F consisting of a 3-boat 2-position valve, and a II-retreat valve ZRψ consisting of a 3-boat 2-position valve whose opening/closing is controlled by a solenoid 728.
5 boats 3 whose opening and closing are controlled by the valves
7@Air motor valve Z consisting of a position valve
The Z-axis air motor ZAM is controlled in forward and reverse directions by FR. The rotational speed of the 7-axis arm motor ZAM is determined by the throttle valve Y26 on the exhaust boat side, and by opening the high-speed setting valve ZS, which is a 2-boat 2-position valve whose opening and closing is controlled by a solenoid 722, Z@ Air motor 7AM can be rotated at high speed.
一方、Z軸アームZ1側の位置設定系に供給された空気
圧は、減圧弁Z25にも導かれ、そこで、所定の圧力に
減圧され、手動押ボタン及びソレノイドZ23で開閉制
御される3ボート2ポジシヨンバルブからなるエアーブ
レーキ用バルブZBを通して、2軸エアーブレーキZA
F3c導かれる。通常、減圧された空気圧がエアーブレ
ーキ用バルブ7Bによって7軸エアーブレーキZABに
導かれておりブレーキ状態となるから、7軸工アーモー
タZAMの回転を拘束することになる。前記バルブZB
が閉じると、Z軸エアーブレーキZABの空気圧が急速
排気弁Z24によって排出され、Z軸エアーブレーキZ
ABのブレーキ状態を解除する。On the other hand, the air pressure supplied to the position setting system on the Z-axis arm Z1 side is also guided to the pressure reducing valve Z25, where it is reduced to a predetermined pressure, and the air pressure is reduced to a predetermined pressure. 2-axis air brake ZA through the air brake valve ZB consisting of a syon valve.
F3c is guided. Normally, the reduced air pressure is guided to the 7-axis air brake ZAB by the air brake valve 7B, resulting in a braking state, thereby restricting the rotation of the 7-axis arm motor ZAM. Said valve ZB
When the Z-axis air brake ZAB is closed, the air pressure of the Z-axis air brake ZAB is discharged by the quick exhaust valve Z24, and the Z-axis air brake Z
Release the brake state of AB.
以上の各軸位置設定系及び塗装ガン姿勢制御系及びガン
作動制御系は、マイクロコンピュータCPUで制御され
るが、マイクロコンピュータCPUとの接続は、第9図
から第13図に示す制御回路図の如く行われる。The above-mentioned axis position setting system, coating gun attitude control system, and gun operation control system are controlled by the microcomputer CPU, and the connection with the microcomputer CPU is as shown in the control circuit diagrams shown in FIGS. 9 to 13. It is done as follows.
第9図は本塗装ロボットを制御する信号処理回路を示す
ものである。FIG. 9 shows a signal processing circuit that controls the painting robot.
本信号処理回路はマイクロコンピュータCPLJ。This signal processing circuit is a microcomputer CPLJ.
メモリROM/RAM、及び4個の入出力ボートP 1
0−1、P 10−2、PIO−3、PIO−4をマザ
ーボードを介してシステムバスに接続している。前記マ
イクロコンピュータCPLJ (STD8000)は、
通常マイクロプロセッサと呼称されるものを含むもので
ある。メモリROM/RAMは本塗装ロボットの制御に
必要なプログラムを配憶するROMと、位買データを記
憶するRAMを右するものである。入出力ボートのpr
o−1及びPIO−2は入出力用として、入出力ボート
のPIO−3及びPIO−4は入力用として用いている
。、前記入出力ボートのPIO−1にはその出力用リレ
ーR1〜R16、入出力ボートのPl0−2にはその出
力用リレーR17〜R23が接続されている。なお、接
点「1〜r23は前記リレーR1〜R23の接点である
。入出力ボートPIO−1の入カポ−1〜へ及びBには
第10図に示す各スイッチ入力要素の如くなる。即ち、
第10図から第12図はバリヤリレーBR1〜BR5及
びフ11−カブラを用いて、各スイッチ入力要素を入出
カポ−1−PIO−1〜PIO−4+7)入力ボートに
各スイッチング情報を導く回路である。Memory ROM/RAM and 4 input/output ports P1
0-1, P10-2, PIO-3, and PIO-4 are connected to the system bus via the motherboard. The microcomputer CPLJ (STD8000) is
It includes what is commonly called a microprocessor. The memory ROM/RAM serves as a ROM that stores programs necessary for controlling the painting robot and a RAM that stores order data. input/output boat pr
o-1 and PIO-2 are used for input/output, and PIO-3 and PIO-4 of the input/output boat are used for input. , output relays R1 to R16 are connected to PIO-1 of the input/output boat, and output relays R17 to R23 are connected to P10-2 of the input/output boat. Note that the contacts "1 to r23 are the contacts of the relays R1 to R23. The input ports 1 to B of the input/output boat PIO-1 are connected to each switch input element shown in FIG. 10. That is,
Figures 10 to 12 are circuits that use barrier relays BR1 to BR5 and F11-coupler to guide each switching information from each switch input element to the input/output capo-1-PIO-1-PIO-4+7) input port. .
第10図において、手動・自動切替スイッチS1は本塗
装ロボットを手動、例えば、ティーチング、手動送り動
作、或いは自動で使用する場合の切替えを行うものであ
り、メモリスイッチS2は各軸の状態及び塗装ガンの姿
勢を記憶させるためのスイッチである。手動送りスイッ
チS3は前記メモリスイッチS2でメモリされた各ステ
ップを順送りするスイッチである。原位置復帰スイッチ
S4は、各軸の状態が如何なる位置にあろうとも、X軸
、Y軸、Y軸とも原位置に復帰させるスイッチである。In Fig. 10, a manual/automatic changeover switch S1 is used to switch between manual, teaching, manual feed operation, or automatic operation of the painting robot, and a memory switch S2 is used to change the status of each axis and paint. This is a switch to memorize the gun's posture. The manual feed switch S3 is a switch that sequentially feeds each step memorized by the memory switch S2. The original position return switch S4 is a switch for returning the X-axis, Y-axis, and Y-axis to their original positions, no matter what position the respective axes are in.
スタートスイッチS5はプログラムの開始を行うもので
あり、プログラムスイッチ86は本塗装ロボツ1−の1
作をプロゲラ1199定寸ろ場合に使用するスイッチで
ある。速度スイッチS7はエアーモータの回転速度を高
速成いは低速にづるもので、高速設定用バルブX8或い
はYS或いは7Sの開閉を行うソレノイド×22、Y2
2.722を開閉制御するものである。The start switch S5 starts the program, and the program switch 86 starts the main painting robot 1-1.
This switch is used when you want to adjust the size of the Progera 1199 work. The speed switch S7 sets the rotational speed of the air motor to high or low speed, and the solenoid x22, Y2 opens and closes the high speed setting valve X8, YS or 7S.
2.722 is used to control opening and closing.
X軸移動切替スイッチ88はX軸エアーモータXΔMの
回転方向の正転・逆転を決定するスイッチで、X軸エア
ーモータ用バルブXFRのソレノイドX21F或いは×
21Rを励磁するものである。The X-axis movement selector switch 88 is a switch that determines whether the rotation direction of the X-axis air motor XΔM is normal or reverse.
21R is excited.
これらの各スイッチの情報はバリヤリレー13R1を介
して入出力ボートPIO−1のボートΔ0〜A7及びボ
ートBO〜B1に入力される。また、Y軸移動切替スイ
ッチS9はY軸エアーモータYAMの回転方向の正転・
逆転を決定するスイッチで、Y軸エアーモータ用バルブ
VFRのソレノイド727或いはY21Rを励磁するも
のであり、同様に、7軸移動切替スイツチS10も7軸
工アーモータZAMの回転方向を決定するもので、前進
用バルブZF或いはIJ用バルブ7Rのソレノイド72
7或いは228を励磁するものである。180度旋ロス
イッチ811は塗装ガン旋回用アクチュエータAC1を
作動させるガン水平180ロス回用バルブR,7180
のソレノイドQ 22Q励磁するもので、90度旋回ス
イッチ312はW動シリンダCL1を作動させるガン水
平90ロス回用バルブRZ90のソレノイド(321を
励磁するものである。ガン角度θ1設定用スイッチ31
3は第2塗装ガンGtJN2を角度01度だけ変化させ
る複動シリンダCL2を作動させる角度θ1設定用バル
ブHθ1のソレノイドG23を励磁するもので、ガン角
度02設定用スイツチ814は第2塗装ガンGUN2を
180度旋ロスせる角度θ2設定用バルブHθ2のソレ
ノイドG24を励磁するものである。第1塗装ガンスイ
ツチS15及び第2塗装ガンスイツチ816は、塗装ガ
ンを作動させるスイッチである。これらの各スイッチの
情報はバリヤリレーBR2を介して入出力ボートPro
−1のボート82〜B7に、及び入出力ボートPro−
2のボートAO〜A3に入力される。Information on each of these switches is input to boats Δ0 to A7 and boats BO to B1 of input/output boat PIO-1 via barrier relay 13R1. In addition, the Y-axis movement selector switch S9 is used to switch the rotation direction of the Y-axis air motor YAM to normal rotation or
This switch determines the reverse rotation, and excites the solenoid 727 or Y21R of the Y-axis air motor valve VFR.Similarly, the 7-axis movement selector switch S10 also determines the rotation direction of the 7-axis arm motor ZAM. Solenoid 72 of forward valve ZF or IJ valve 7R
7 or 228. The 180 degree rotation switch 811 is a gun horizontal 180 loss rotation valve R, 7180 that operates the painting gun rotation actuator AC1.
The 90 degree rotation switch 312 is used to energize the solenoid (321) of the gun horizontal 90 loss circulation valve RZ90 that operates the W-movement cylinder CL1.The gun angle θ1 setting switch 31
3 energizes the solenoid G23 of the angle θ1 setting valve Hθ1 that operates the double-acting cylinder CL2 that changes the second painting gun GtJN2 by an angle of 01 degrees, and the gun angle 02 setting switch 814 operates the second painting gun GUN2. This is to energize the solenoid G24 of the valve Hθ2 for setting the angle θ2 for a 180-degree turning loss. The first painting gun switch S15 and the second painting gun switch 816 are switches that operate the painting guns. Information on each of these switches is sent to the input/output boat Pro via barrier relay BR2.
-1 boats 82 to B7, and the input/output boat Pro-
2 boats AO to A3.
X原位置リミットスイッチLSI及びYIi?i位行リ
ミットすイッチLS2 、Z原位置リミットスイッチし
S3は各X軸、Y軸、Y軸の原位置の検出用スイッチで
あり、第1図及び第2図に図示されていないが、X軸、
Y軸、Y軸の8動限界を検出する接触式或いは非接触式
のスイッチからなるものである。非常停止スイッチS1
7は、本塗装【コボットの異常或いは危険防止のために
制御を停止させるものである。したがって、マイクロコ
ンピュータCPUに副面されることなく、バリヤリレー
BR3の出力端子04からリレーR19を制御できる構
成になっており、非常停止スイッチ817が押圧される
と、リレーR19が非励磁となり、その接点r19(第
13図参照)を開き、リレーR30を非励磁とするから
、リレーR30の接点によって、本実施例の塗装ロボッ
トの全バルブのソレノイドを非励磁とし、その機能を停
止させることができる。X original position limit switch LSI and YIi? The i-position row limit switch LS2 and the Z home position limit switch S3 are switches for detecting the home positions of each X-axis, Y-axis, and Y-axis. shaft,
It consists of a contact type or non-contact type switch that detects the eight motion limits of the Y-axis and the Y-axis. Emergency stop switch S1
7 is for main painting (control is stopped to prevent cobot abnormality or danger). Therefore, the configuration is such that relay R19 can be controlled from output terminal 04 of barrier relay BR3 without being subdirected by the microcomputer CPU, and when emergency stop switch 817 is pressed, relay R19 is de-energized and its contacts Since r19 (see FIG. 13) is opened and relay R30 is de-energized, the contacts of relay R30 can de-energize all valve solenoids of the painting robot of this embodiment and stop their functions.
プログラム選択スイッチD1はディジタルスイッチで構
成され、本塗装ロボットを駆動する被塗装物に応じてぞ
の塗装プログラムを選択するものである。なお、本実施
例の説明の便宜上、特定のプログラムが選択されている
こととする。反転スイッチ318は被塗装物に応じて被
塗装物を反転させてその大面のIRを行うためのスイッ
チである。The program selection switch D1 is composed of a digital switch, and is used to select the respective painting program according to the object to be painted that drives the main painting robot. Note that for convenience of explanation of this embodiment, it is assumed that a specific program is selected. The reversing switch 318 is a switch for reversing the object to be coated depending on the object to be coated and performing IR on the large surface thereof.
この構成については、図示していないが、被塗装物を搬
送機構が搬送すると共に、塗料吹付は位置で搬送機構に
組み込まれた反転機構が被塗装物を反転可能な構成を有
している公知の搬送機構及び反転機構からなるものであ
る。これらのリミットスイッチ及び各種スイッチの入力
要素はバリヤリレーBR3を介して入出力ボートPIO
−2のボートA4〜A6及びボートB3〜B7に入力さ
れる。なお、前述したように、非常停止スイッチS17
の出力は、バリヤリレーの出力を入出力ボートに導くこ
となく信号処理を行うため、リレーR19に導いている
。そして、X軸位置検出用の回転・角度検出センサXS
Eの出力はX軸に取り付けられた回転板Y5の回転から
、X軸の位置を算出するもので、センサの出力はフォト
カブラ等のバラファを介在させて、入出力ボートPIO
−2のボー 1−130に入力される。同様に、Y I
ttb (◇門構出用の回転・角度検出センサYSHの
出力、及び、7軸位置検出用の回転・角度検出センサ7
SEの出力も入力ボートPIO−2のボート81 、B
2に入力される。Although not shown in the drawings, this configuration is known in the art, in which a conveying mechanism conveys the object to be painted, and a reversing mechanism built into the conveying mechanism can reverse the object at the paint spraying position. It consists of a transport mechanism and a reversing mechanism. The input elements of these limit switches and various switches are connected to the input/output boat PIO via barrier relay BR3.
-2's boats A4 to A6 and boats B3 to B7. In addition, as mentioned above, the emergency stop switch S17
The output of the barrier relay is led to relay R19 in order to perform signal processing without leading the output to the input/output boat. And rotation/angle detection sensor XS for X-axis position detection
The output of E is to calculate the position of the X-axis from the rotation of the rotary plate Y5 attached to the X-axis.
-2 baud input to 1-130. Similarly, Y I
ttb (◇Output of rotation/angle detection sensor YSH for gate opening and rotation/angle detection sensor 7 for 7-axis position detection
The output of SE is also the input port PIO-2 boat 81, B
2 is input.
×軸前進端すミットスイッチLS4 、Y軸前進端すミ
ットスイッチLS51.lt’fi前進端リミットすイ
ッヂLS6は、各X軸、Y軸、Z軸の前進端部の検出用
のリミットスイッチであり、第1図及び第2図に図示さ
れていないが、X軸、Y軸、Z軸の前進移動限界を検出
する接触式或いは非接触式のスイッチからなるものであ
る。X軸・Y軸・Z軸セレクi〜スイッチ819は、本
塗装ロボットの位置修正をディジタルスイッチで行う場
合、各軸筒に行うことから、その軸の選択を行うもので
ある。正・逆転スイッチ320は各軸のエアーモータを
手動送りで正回転成いは逆回転させるスイッチである。X-axis forward end mitt switch LS4, Y-axis forward end mitt switch LS51. The lt'fi forward end limit switch LS6 is a limit switch for detecting the forward end of each of the X, Y, and Z axes, and although not shown in FIGS. It consists of a contact type or non-contact type switch that detects the forward movement limits of the Y-axis and Z-axis. The X-axis, Y-axis, and Z-axis select switch 819 is used to select the axis because when the position of the painting robot is corrected using a digital switch, it is performed for each shaft cylinder. The forward/reverse switch 320 is a switch that manually rotates the air motor of each axis in the forward or reverse direction.
これらのリミットスイッチ及びスイッチの出力はバリヤ
リレーBR4を介して入出力ボートPIO−4のボート
Δ0〜A5及び入出力ボートPIO−3のボートB7に
入力される。また、ディジタル入力スイッチ821は塗
装ガンの位置を1パルス数当りの距離から算出して設定
するスイッチで、極性スイッチS22は現在位置から更
に前進させる場合にはパルス数を加算(+)、後退させ
る場合にはパルス数を減算(−)するための、加n(+
)、減算(−)の選択スイッチである。ディジタルスイ
ッチD3及びD4はX軸、Y軸、Z軸の移動をパルス数
によって行うもので、ディジタルスイッチD2は最下位
の1位の値、ディジタルスイッチD3は10位の値の設
定用である。The outputs of these limit switches and switches are input to boats Δ0 to A5 of input/output boat PIO-4 and boat B7 of input/output boat PIO-3 via barrier relay BR4. In addition, the digital input switch 821 is a switch that calculates and sets the position of the painting gun from the distance per number of pulses, and the polarity switch S22 adds (+) the number of pulses when moving it further forward from the current position, and sets it backward. In this case, add n(+) to subtract (-) the number of pulses.
), subtraction (-) selection switch. The digital switches D3 and D4 move the X, Y, and Z axes by the number of pulses, and the digital switch D2 is for setting the lowest 1st value, and the digital switch D3 is for setting the 10th value.
これらのスイッチの出力はバリヤリレー8R5を介して
入出力ボートPIO−4のボート八〇〜A7及び入出力
ボートPIO−3のボートAO〜A7に入力される。ま
た、バリヤリレーBR1〜BR5の出力Gは、各入出力
ボートPro−1〜Pro−4のボートGに入力され、
かつ共通接続され、アースに落される。一方、入出力ボ
ートP10−1及びPTO−2の出力ボートのリレーR
1〜R23は、その接点が直列にパルプ開閉用ソレノイ
ドが第13図で示す如く接続されている。The outputs of these switches are input to boats 80 to A7 of input/output boat PIO-4 and boats AO to A7 of input/output boat PIO-3 via barrier relay 8R5. In addition, the output G of the barrier relays BR1 to BR5 is input to the boat G of each input/output boat Pro-1 to Pro-4,
and are commonly connected and grounded. On the other hand, relay R of the output boat of input/output boat P10-1 and PTO-2
1 to R23, their contacts are connected in series to a pulp opening/closing solenoid as shown in FIG.
次に、マイクロコンビコータCPUで前記バルブ開閉用
ソレノイドを制御する場合について、第14図から第4
7図のフローチャートを用いてその動作を述べる。Next, regarding the case where the micro combi coater CPU controls the valve opening/closing solenoid, FIGS.
The operation will be described using the flowchart shown in FIG.
第13図の電源スィッチPB2を押圧すると、リレー接
点R30、電源オンスイッチPB2を介してリレーR3
1が励磁され自己保持する。この状態でマイクロコンピ
ュータCPU及び各種センサ、メ’t−IJROM/R
AM、 入出力ボ−トPIO−1〜PIO−4等に電源
を供給し、第14図のメインフローチャートのステップ
10として木ILLロボットの制御をスタートする。な
お、′Ii源オフスイッチPRIを押圧するまで、前記
自己保持は維持される。ステップ11で入出力ボートを
イニシャライズし、ステップ12でX軸、Y軸、Z軸を
ブレーキ状態とする。ステップ13で各軸の位置及び塗
装ガン姿勢制御データ及び塗装ガン作動制御データを収
納したアドレス指定に使用するステップカウンタMST
Pをクリアする。ステップ14で本塗装ロボットの使用
が、手動・自動切替スイッチS1で自動が選択されてい
るか、手動が選択されているかを判断でる。When power switch PB2 in Fig. 13 is pressed, relay R3 is activated via relay contact R30 and power on switch PB2.
1 is excited and self-holds. In this state, the microcomputer CPU, various sensors, and memory
AM, power is supplied to the input/output boats PIO-1 to PIO-4, etc., and control of the tree ILL robot is started in step 10 of the main flowchart of FIG. Note that the self-holding is maintained until the 'Ii source off switch PRI is pressed. In step 11, the input/output board is initialized, and in step 12, the X-axis, Y-axis, and Z-axis are placed in a brake state. Step counter MST used for address designation that stores the position of each axis, painting gun posture control data, and painting gun operation control data in step 13
Clear P. In step 14, it is determined whether the actual painting robot is to be used as automatic or manual using the manual/automatic changeover switch S1.
まず、最初に、本塗装ロボットのティーチングから説明
する。First, we will explain the teaching of the main painting robot.
このとき、自動・手動切替スイッチS1は手動側にあり
、ステップ14から結合子によって第17図のステップ
15に入る。ステップ15では、X軸、Y軸、Z軸が全
て原位rにあるか判断し、それらのリミットスイッチL
SI〜LS3が動作していないとき、ステップ16で原
位置スイッチS4を動作させて、ステップ17の「原位
置復帰サブルーチンJの処理を経ない限り、その状態で
停止する。At this time, the automatic/manual changeover switch S1 is on the manual side, and the process enters step 15 in FIG. 17 from step 14 via the connector. In step 15, it is determined whether the X, Y, and Z axes are all at the original position r, and their limit switches L are
When SI to LS3 are not operating, the home position switch S4 is operated in step 16, and the system stops in that state unless the process of ``home position return subroutine J'' in step 17 is performed.
ステップ17で「原位置復帰サブルーチン」に入ると、
第33図のステップL1でX軸、Y (tb、Z軸の全
原位行のリミットスイッチLSI 、LS2 、LS3
、がオン状態にあるか判断して、オン状態にtrいと
き、ステップ1−2でX軸の原位置のりミツ1〜スイッ
チ1−81がオン状態にあるか判断して、オン状態にあ
るときステップL3でX軸のエアーブレーキXABをブ
レーキ状態とし、オン状態にないときステップ!−4で
X軸エアーモータXAMを逆回転させX軸を後退させる
。X軸の原位置リミットスイッチLSIが作動状態にあ
るとき、ステップ[5でY軸の原位置のリミットスイッ
チLS2がオン状態にあるか判断して、オン状態にある
とき、ステップし6でY軸のエアーブレーキYAI3を
ブレーキ状態とし、オン状態にないとき、ステップ[7
でエアーモータYAMを逆回転させY軸を後退させる。When the "home position return subroutine" is entered in step 17,
In step L1 of FIG. 33, limit switches LSI, LS2, LS3 for all original positions of the
, is in the on state, and when it is in the on state, in step 1-2, it is determined whether the original position of the X axis 1 to switch 1-81 is in the on state, and it is in the on state. When step L3 sets the X-axis air brake XAB to the braking state, and when it is not in the on state, step! At -4, rotate the X-axis air motor XAM in the opposite direction to move the X-axis backward. When the X-axis original position limit switch LSI is in the operating state, step [5 determines whether the Y-axis original position limit switch LS2 is in the on state, and if it is in the on state, in step 6 the Y-axis When the air brake YAI3 is in the brake state and not in the on state, step [7
to reversely rotate the air motor YAM and move the Y-axis backward.
同様に、X@及びY軸のリミットスイッチLSI及びし
S2がオン状態にあると、ステップL8で7軸の原位置
のリミットスイッチLS3がオン状態にあるか判断して
、オン状態にあるとき、ステップしっで7軸のエアーブ
レーキZARをブレーキ状態とし、オン状態にないとき
、ステップL9でエアーモータZAMを逆回転させてZ
軸を後)!させる。仝原情置すミットスイッチLSI
、LS2 、LS3がオン状態にあるとき、ステップL
11でX軸、Y軸、Z軸のエアーブレーキXAB、YA
B、ZABをブレーキ状態とし、ステップL12で、こ
のサブルーチンを終了する。Similarly, when the X@ and Y-axis limit switches LSI and S2 are in the on state, it is determined in step L8 whether the limit switch LS3 at the original position of the 7th axis is in the on state, and when it is in the on state, Step 1 sets the 7-axis air brake ZAR to the braking state, and when it is not in the on state, the air motor ZAM is reversely rotated in step L9 to set the ZAR.
(after the axis)! let Mitswitch LSI located at Yuhara Information
, LS2 and LS3 are in the on state, step L
11: X-axis, Y-axis, Z-axis air brake XAB, YA
B and ZAB are brought into the braking state, and this subroutine is ended in step L12.
ステップ17の「原位置復帰サブルーチンJを終了する
と、ステップ18で位置設定に使用する全メモリをクリ
アし、再びステップ13からステップ14、ステップ1
5に入り、そこで、X軸、Y軸、Z軸が原位置にあるこ
とをi認し、ステップ19で手動・自動切替スイッチS
1が手動側にオンになるのを待機する。前記手動・自動
切替スイッチS1にトグルスイッチを用いた場合には、
ステップ19は![動作となる。そして、ステップ20
で再度、原位置復帰スイッチS4の状態をみて、原位置
に戻して出直しをする必要があるか判断する。特に、こ
の判断は各軸の手動送り動作の途中で出直しをする必要
が生じたとき必要となる。このときは、ステップ21で
「原位置復帰サブルーチン」に入り、このサブルーチン
が終了するとステップ22で位Ff KQ定に使用する
全メモリをクリアし、ステップ13を介してステップ2
0に戻る。ステップ20で原位置復帰スイッチS4がオ
ンとなっていないとき、ステップ23で手動送りスイッ
チS3の状態を判断する。手動送りスイッチS3がオン
状態であるとき、手動送り動作に入る。手動送りスイッ
チS3がオン状態でないとき、ティーチングのルーチン
に入る。When the "return to original position subroutine J" in step 17 is completed, all memories used for position setting are cleared in step 18, and steps 13 to 14 are performed again to step 1.
5, and there, it is recognized that the X, Y, and Z axes are in their original positions, and in step 19, the manual/automatic changeover switch S is turned on.
Wait for 1 to turn on to the manual side. When a toggle switch is used as the manual/automatic changeover switch S1,
Step 19 is! [Becomes action.] And step 20
Then, check the state of the home position return switch S4 again to determine whether it is necessary to return to the home position and start again. Particularly, this judgment is necessary when it becomes necessary to restart the manual feed operation of each axis. In this case, the "home position return subroutine" is entered in step 21, and when this subroutine is completed, all memories used for determining the position Ff, KQ are cleared in step 22, and the process proceeds to step 13.
Return to 0. When the home position return switch S4 is not turned on in step 20, the state of the manual feed switch S3 is determined in step 23. When the manual feed switch S3 is in the on state, a manual feed operation is entered. When the manual feed switch S3 is not in the on state, a teaching routine is entered.
第20図のティーチングルーチンのステップ30に入る
と、X軸移11+切替スイッチS8の状態を判断し、オ
フのとき、ステップ48でX軸エアーブレーキXABを
ブレーキ状態とする。X@移動切替スイッチS8が前進
側にオンのとき、ステップ31でX軸前進端すミットス
イッチLS4の状態をみて、オンであるとき、X軸前進
限界にあることを怠味するから、ステップ48でX軸エ
アーブレーキXARをブレーキ状態とする。X軸前進端
すミットスイッチLS4がオフのとき、ステップ32で
X軸エアーモータXAMを低速正回転させ、X軸前進を
行う。X軸エアーモータXAMの回転開始が、×+ll
原イ◇胃リミッす〜スイッチ1−81のオフ状態からで
あり、通常、リミッl−スイッチにヒステリシスを右す
るから、それを脱出させろために、ステップ33でX輔
原装置リミットスイッチLSIがオン状態であるか判断
し、オン状態であるとき、ステップ34でX吋前進端す
ミットスイッチL S 4をみて、X軸前進端リミット
スイッチしS4とX清涼(ff置リすッ]へスイッチL
SIとが共にオンのとき、巽常としてステップ48でX
軸をブレーキ状態とする。X軸前進端リミットスイッチ
1−84がオン状態でないとき、ステップ35でX軸移
動切替スイッチS8が前進側である限り、たとえ、X清
涼位置すミットスイッチLS1がオンであっても、X軸
エアーモータXAMを回転させる。ステップ33でX戦
歴位置リミットスイッチLSIがオン状態の範囲を脱す
ると、ステップ36でX軸回転・角度センサXSEの信
号をみる。ちなみに、回転・角度センサXSEの出力波
形は、H(ハイレベル)”と“L(ローレベル)″の繰
り返しの方形波である。同転・角度はン4t X S
Fの“’Ll”のとき旬に、イの!l八へを力ラン1〜
して移fJI吊を胴側する。即ち、回転・角度センサの
出力が’ H”でないどき、ステップ37で×軸前進端
のリミットスイッチLS4のオン・オフ状態をみてオン
のとき、ステップ/lでX@をブレーキ状態とする。オ
フのとき、ステップ38でX軸移動切替スイッチS8が
前進側、に継続してオン状態になっているか判断して、
継続されているとき再びステップ36に入る。X軸移動
切替スイッチS8がオフになったとき、ステップ45で
X軸エアーモータ×ΔMを一定時間逆転させ、X軸エア
ーモータXΔM及び駆りj系の慣性によるオーバーラン
を防止する。そして、ステップ46でX軸エアーブレー
キXABを作動させ、ステップ47でX軸エアーブレー
キXABの作動を確実化するための時間待ち(例えば、
0.3ms程度)を行った後、ステップ30に入る。回
転・角度センサXSEの出力がH″のとき、ステップ3
9でX軸前進カウンタMPXFを1カウントアツプする
。このX軸前進カウンタMPXFはX戦前〕イLスイツ
ヂS8によって前進させられたX軸の移動距阿1データ
を19るものである。そして、ステップ40でx軸の回
転・角度センサXSEの出力が“L″に反転したかをみ
て、反転していないとき、かつ、ステップ43でX軸前
進端リミットスイッチし$4がオフで、ステップ44で
X軸移動切替スイッチS8が継続して前進側にオン状態
にあるとき、X軸の回転・角度センサXSEの出力II
HIIが反転するのを持つ。X軸の回転・角度センサ
XSEの出力が“し”になると、ステップ40から、ス
テップ41、ステップ42を通り、ステップ36に入る
。即ち、X軸の回転・角度センサXSEの出力がl H
N、“し”であっても、X軸前進端すミットスイッチL
S4がオンとなると、ステップ37、ステップ43、或
いは、ステップ41によってX@のブレーキ動作に入る
。そして、X fdl移動切替スイッチ$8が前進側に
オンである限りは、回転・角度センサXSEの出力の°
゛トビ′II L 11をステップ36で判断し、ii
H”となる毎にX軸前進カウンタMPXFを1カウン
トアツプする。When entering step 30 of the teaching routine in FIG. 20, the state of the X-axis shifter 11+changeover switch S8 is determined, and if it is off, the X-axis air brake XAB is set to the braking state in step 48. When the X@movement selector switch S8 is turned on to the forward side, the state of the mitt switch LS4, which sets the X-axis forward end, is checked in step 31, and if it is on, it is ignored that the X-axis forward limit is reached, so step 48 Set the X-axis air brake XAR to the braking state. When the X-axis forward end switch LS4 is off, in step 32 the X-axis air motor XAM is rotated forward at low speed to perform X-axis forward movement. The rotation of the X-axis air motor XAM starts at ×+ll
Original ◇ Stomach limit - This is from the OFF state of switch 1-81, and normally there is hysteresis in the limit switch, so in order to escape it, the X limit switch LSI is turned on in step 33. If it is in the ON state, check the X-axis forward end limit switch L S4 in step 34, and switch the X-axis forward end limit switch to S4 and the X refreshing (FF position reset) switch L.
When both SI and
Put the axis in the brake state. When the X-axis forward end limit switch 1-84 is not on, as long as the X-axis movement selector switch S8 is on the forward side in step 35, even if the X-cooling position limit switch LS1 is on, the X-axis air Rotate motor XAM. When the X-position limit switch LSI exits the on-state range in step 33, the signal from the X-axis rotation/angle sensor XSE is checked in step 36. By the way, the output waveform of the rotation/angle sensor XSE is a square wave that repeats H (high level) and L (low level).
At the time of F's "'Ll", I's! Power run to l8 1~
Then move the fJI suspension to the body side. That is, when the output of the rotation/angle sensor is not 'H', check the on/off state of the limit switch LS4 at the forward end of the At this time, in step 38, it is determined whether the X-axis movement selector switch S8 is continuously on the forward side, and
If the process continues, step 36 is entered again. When the X-axis movement selector switch S8 is turned off, the X-axis air motor xΔM is reversed for a certain period of time in step 45 to prevent overrun due to the inertia of the X-axis air motor XΔM and the drive j system. Then, in step 46, the X-axis air brake XAB is activated, and in step 47, a time wait is performed to ensure the operation of the X-axis air brake XAB (for example,
0.3 ms), then step 30 is entered. When the output of rotation/angle sensor XSE is H'', step 3
At step 9, the X-axis advance counter MPXF is counted up by one. This X-axis advance counter MPXF is used to calculate the X-axis movement distance 1 data that was advanced by the L switch S8 before the war. Then, in step 40, it is checked whether the output of the x-axis rotation/angle sensor When the X-axis movement selector switch S8 continues to be on the forward side in step 44, the output II of the X-axis rotation/angle sensor XSE
Have HII inverted. When the output of the X-axis rotation/angle sensor XSE becomes "off", the process passes through step 40, step 41, and step 42, and then enters step 36. That is, the output of the X-axis rotation/angle sensor XSE is lH
N, even if it is "on", the mitt switch L is at the X-axis forward end.
When S4 is turned on, the brake operation of X@ is entered in step 37, step 43, or step 41. As long as the X fdl movement selector switch $8 is on the forward side, the output of the rotation/angle sensor
゛Tobi'II L 11 is determined in step 36, ii
Each time it becomes "H", the X-axis advance counter MPXF is incremented by one count.
ステップ38或いはステップ42、或いはステップ44
でX軸移動切替スイッチS8がオフされたことを判断す
ると、ステップ45でX@エアーモータXAMを一定時
間逆転させるべく空気圧を供給した後、ステップ46で
×軸エアーブレーキXABをブレーキ状態とする。X軸
エアーブレーキXABをブレーキ状態とした後、ステッ
プ47でそのエアーブレーキXABの作動が確実に効果
を示すまでの時間持ち(約0.3ms程度)を行い、再
び、ステップ30に戻り、X軸の前進の必要性を判断す
る。X軸移動切替スイッチS8が前進側にオンにならな
いとき、ステップ48でX軸エアーブレーキX/lをブ
レーキ状態とする。Step 38 or Step 42 or Step 44
When it is determined that the X-axis movement selector switch S8 is turned off, in step 45 air pressure is supplied to reverse the X@air motor XAM for a certain period of time, and then in step 46 the x-axis air brake XAB is brought into the braking state. After setting the X-axis air brake XAB to the braking state, in step 47 there is a period of time (approximately 0.3 ms) until the operation of the air brake determine the need for advancement. When the X-axis movement selector switch S8 is not turned on to the forward direction, the X-axis air brake X/l is brought into the braking state in step 48.
次に、第21図のステップ50でX@を後退する必要性
を判断する。ステップ50でX軸移動切替スイッチS8
が4% 3[i側にオンされていないとき、ステップ6
5でX軸エアーブレーキ×ΔBをブレーキ状態とし、第
22図のY軸のティーチングに入る。X軸移動切替スイ
ッチS8が1!退側にオンされると、ステップ51でX
清涼位置すミットスイップ1−81の状態を判断し、オ
ン状態にあろどき、ステップ65でX軸エアーブレーキ
XA13をブレーキ状態とし、Y軸のティーチングに入
る。Next, in step 50 of FIG. 21, it is determined whether it is necessary to retreat X@. In step 50, the X-axis movement selector switch S8
is 4% 3 [If the i side is not turned on, step 6
5, the X-axis air brake x ΔB is set to the brake state, and the Y-axis teaching shown in FIG. 22 begins. X-axis movement selector switch S8 is 1! When turned on to the exit side, in step 51
The state of the mitt switch 1-81 in the cooling position is determined, and it is turned on. In step 65, the X-axis air brake XA13 is set to the braking state, and Y-axis teaching begins.
X ITh原イイ!胃リミす]・スイッチLSiがオン
状態に(2いとき、後退が可能であるから、ステップ5
2で、X帖Jアーモータ×△Mを逆回転させて、送り台
×3を(u 5f!させる。そして、X軸の回転を回転
・角度セ:/すのXSEの方形波出力として、その゛)
−1”、” L ”をステップ53で判断する。ステッ
プ54、ステップ58、ステップ6oで×軸回転・角度
センサXSEの信号にかかわりなく、×清涼位置すミッ
]・スイッチLSIがオンすると、ステップ65でX
111エアーブレーキXΔBをブレーキ状態とし、Y
1jqhのティーチングに入る。そして、ステップ55
或いはステップ59或いはステップ61でX (O移動
切替スイッチS8が継続して!112退側にオンされて
いるか否かを判断し、オンされている限りX軸Tアーモ
ータXAMを逆回転させ、X軸移動切替スイッチS8が
オフされたとき、ステップ62で、X軸エアーモータX
AMを一定 39一
時間前者とは逆の方向に回転、即ち、任回転さぜろべく
空気圧を供給し、その(す、ステップ63で×軸エアー
ブレーキ×へBをかけ、ステップ64でX軸エアーブレ
ーキ×へBのブレーキ効宋の生ずるまで時間侍ら(約0
.3m5P? +!りを行い、再酊、Xl1lll移動
切替スイツヂS8が後j辺側にオンになるかステップ5
0で判Ifl′iでる。なお、×軸回転・角度センサX
SEの’++”がステップ53で検出される毎に、ステ
ップ57で×戦後5■カリンクMPXRを1カウントア
ツプし、X軸移動切替スイッチS8がオンされて、X軸
に沿って塗装ガンが移動した距離を計測する。X ITh Hara is good!・When the switch LSi is on (2, it is possible to move backwards, so step 5
2, reversely rotate the X-cho J armotor゛)
-1", "L" is determined in step 53. In steps 54, 58, and 6o, regardless of the signal of the x-axis rotation/angle sensor X at 65
111 Air brake XΔB is in the braking state, Y
Start teaching 1jqh. And step 55
Alternatively, in step 59 or step 61, it is determined whether or not the X (O movement changeover switch S8 continues to be turned on! When the movement selector switch S8 is turned off, in step 62, the X-axis air motor
Keep AM constant. 39. Rotate in the opposite direction to the former for one hour, that is, supply air pressure as much as possible to rotate freely, then apply B to the x-axis air brake x in step 63, and Air brake x to B brake effect until the time Samurai (approximately 0
.. 3m5P? +! Step 5
The value Ifl'i is 0. In addition, the x-axis rotation/angle sensor
Every time SE's '++' is detected in step 53, in step 57, × postwar 5 ■ Karinku MPXR is counted up by 1, the X-axis movement changeover switch S8 is turned on, and the painting gun is moved along the X-axis. Measure the distance traveled.
ステップ50でX軸移動切替スイッチS8が後退側にオ
ンされていないとき、ステップ65でX軸エアーブレー
キ×ΔBをブレーキ状態とし、第22図のY軸のティー
チングに入る。Y軸においても同様に、ステップ70か
らステップ88でX軸移動切替スイッチS9が前進側に
オンした場合を、そして、ステップ90からステップ1
05でX軸移動切替スイッチS9が前進側にオンした揚
合を、前記X@移動切替スイッチS8の前進側にオンの
ステップ30からステップ48と、X軸移動にスイッチ
S8の後退側にオンのステップ50からステップ65と
同様に信号処理を行う。When the X-axis movement selector switch S8 is not turned on to the backward side in step 50, the X-axis air brake x ΔB is set to the brake state in step 65, and the Y-axis teaching shown in FIG. 22 is started. Similarly, for the Y-axis, the case where the X-axis movement selector switch S9 is turned on to the forward side from step 70 to step 88, and the case where the X-axis movement selector switch S9 is turned on to the forward side from step 90 to step 1
When the X-axis movement selector switch S9 is turned on to the forward side in step 05, the X@movement selector switch S8 is turned on to the forward side from step 30 to step 48, and the switch S8 is turned on to the backward side for X-axis movement. Signal processing is performed in the same manner as steps 50 to 65.
また、X@移動切替スイッチS8及びX軸移動切替スイ
ッチS9がオフのとき、ステップ110で7軸のティー
チングに入る。ここでも、ステップ110からステップ
128でZ (d移動切替スイッチ810が前進側にオ
ンされているとき、X軸移動切替スイッチS8が前進側
にオンされている場合のステップ30からステップ48
と同様な信号処理を、また、ステップ130からステッ
プ145でZ軸移動切替スイッチS10が後退側にオン
されているとき、X軸移動切替スイッチS8をIQ i
fi側にオンされている場合のステップ50からステッ
プ65と同様な処理を行い、Y軸前進カウンタMPYF
及びY%後退カウンタMPYR並びにZ軸前進カウンタ
MPZF及びZ軸後退カウンタMPZRに各位置データ
をセットする。Furthermore, when the X@ movement changeover switch S8 and the X-axis movement changeover switch S9 are off, teaching of the 7 axes begins in step 110. Here again, from step 110 to step 128, Z (when the d movement changeover switch 810 is turned on to the forward side, and from step 30 to step 48 when the X-axis movement changeover switch S8 is turned on to the forward side)
In addition, when the Z-axis movement changeover switch S10 is turned on to the backward side in steps 130 to 145, the X-axis movement changeover switch S8 is
Processing similar to steps 50 to 65 when the fi side is turned on is performed, and the Y-axis advance counter MPYF is
and sets each position data in the Y% backward counter MPYR, the Z-axis forward counter MPZF, and the Z-axis backward counter MPZR.
X軸及びY軸及びZ軸の位置が定まると、スデツブ15
0でプログラムスイッチS6のオン状態を判断する。プ
ログラムスイッチS6のオンはX軸、Y軸、Z軸の位置
を決定するためのデータを収納するRAMを用意するも
のである。¥5源スイッチをオンにした初期には、第1
塗装ガンGUN1または第2@装ガンGUN2のガン作
動データ、即ち、吹付tノデータはそのメモリがイニシ
ャライズされているから、ステップ151でみる第1塗
装ガンのメモリMGUN1及びステップ155でみる第
2塗装ガンのメモリMGUN2の内容に゛1パがセット
されていないから、ステップ159で「ガン姿勢制御サ
ブルーチン」に入る。なお、ステップ151及びステッ
プ155で第1塗装ガン及び第2塗装ガンのメモリMG
UN1及びMGtJN2のメモリがセットされていたと
き、即ち、塗装ガン位置及びガン姿勢データを修正する
場合には、第1塗装ガン及び第2塗装ガンの仲買決定時
に塗料を吹付けると、膜厚が停止時間差により異なるこ
とになり、被塗装物が製品としての価値がなくなる。ま
た、不経演であり、位置設定を行う操作者にとっても塗
t”lが付着したりしてりYましくない。したがって、
jイーチング時及びそのデータの修正時には、通常ガン
の作動を停止させて行う。ちなみに、ステップ151で
メモリMGtJN1がセットされていた場合は、ステッ
プ152で第1塗装ガンGUN1及び第2塗装ガンGU
N2の塗料供給路を連断すべく、塗11供給制御用バル
ブG U N 10及びG U N 20を閉じ、ステ
ップ153でその効果が生ずるまでの時間(例えば、0
.38ec程度)待った後、ステップ154で吹付は用
のエアーの供給を行うエアー供給用バルブGUN11及
びGUN21を閉じる。また、メモリMGUN2のみが
オンとなっているとき、ステップ155から、ステップ
156に移り、第2塗装ガンGUN2の塗料供給路を遮
断し、ステップ157で時間持ちを行った後、そのエア
ー供給用バルブGUN21を閉じてステップ159の「
ガン姿勢制御サブルーチン」に入る。Once the positions of the X, Y, and Z axes are determined, the slider 15
0, it is determined whether the program switch S6 is on. Turning on the program switch S6 prepares a RAM that stores data for determining the positions of the X, Y, and Z axes. ¥5 At the beginning when the source switch is turned on, the first
Since the memory of the gun operation data of the painting gun GUN1 or the second @ installed gun GUN2, that is, the spray t data, has been initialized, the memory MGUN1 of the first painting gun seen in step 151 and the second painting gun seen in step 155 are Since "1" is not set in the contents of the memory MGUN2, the "gun attitude control subroutine" is entered in step 159. Note that in step 151 and step 155, the memory MG of the first painting gun and the second painting gun is
When the memories of UN1 and MGtJN2 are set, that is, when modifying the painting gun position and gun posture data, when spraying paint at the time of purchasing the first and second painting guns, the film thickness will change. This will vary depending on the difference in stopping time, and the object to be coated will lose its value as a product. In addition, it is an inconvenient operation, and it is not good for the operator who sets the position because the paint may adhere to it.
jWhen eating and modifying the data, the operation of the gun is usually stopped. By the way, if the memory MGtJN1 is set in step 151, the first painting gun GUN1 and the second painting gun GU are set in step 152.
In order to disconnect the N2 paint supply path, the coating 11 supply control valves GUN 10 and GUN 20 are closed, and in step 153 the time until the effect occurs (for example, 0
.. After waiting for about 38 ec), in step 154, the air supply valves GUN11 and GUN21, which supply air for spraying, are closed. Further, when only the memory MGUN2 is on, the process moves from step 155 to step 156, where the paint supply path of the second painting gun GUN2 is shut off, and after a time period has elapsed in step 157, the air supply valve is Close GUN21 and proceed to step 159 “
Enter the gun attitude control subroutine.
ステップ159で第34図の「ガン姿勢制御サブルーチ
ン」に入ると、ステップU1でZ軸エア−ブレーキ7Δ
Bをブレー11大態とし、ステップU2でガン角度θ1
スイッヂS13の状態を判断して、オンのとき、ステッ
プU3で?Q動シリンダCし2をキャップ側にすべく角
度011定用パルプl」G1のソレノイドG23をオン
とする。スイッチ813がオンでないとき、ステップU
4で複動シリンダCL2をヘッド側にすべくソレノイド
G23の励■を断つ。更に、ステップU5でガン角度θ
2スイッチS14の状態を判断して、オンのときステッ
プU6で旋回用アクチュエータAC2を180度回動す
べくガン角度θ2設定用バルブHθ2のソレノイドG2
4をオンとする。スイッチ814がオンでないとき、ス
テップU7でソレノイドG24の励磁を断つ。そして、
ステップU8で、180度旋ロスイッヂ811の状態を
判断して、オンのとき、ステップUっでガン水平180
ロス回用バルブRZ180のソレノイドG22を励磁し
てアクチュエータAC1によって第2塗装ガンGUN2
を180度旋ロスせる。スイッチ311がオフのとき、
ステップU10でソレノイドR7180の励磁を断つ。When the "gun posture control subroutine" shown in FIG. 34 is entered in step 159, the Z-axis air brake 7Δ is activated in step U1.
B is set to brake 11, and gun angle θ1 is set in step U2.
Determine the state of switch S13, and if it is on, in step U3? Turn on the solenoid G23 of the fixed pulp l''G1 at an angle of 011 in order to move the Q-movement cylinder C and 2 to the cap side. When switch 813 is not on, step U
At step 4, excitation of solenoid G23 is cut off in order to move double-acting cylinder CL2 to the head side. Furthermore, in step U5, the gun angle θ
2 judge the state of the switch S14, and when it is on, in step U6, the solenoid G2 of the gun angle θ2 setting valve Hθ2 is activated to rotate the swing actuator AC2 by 180 degrees.
Turn on 4. When switch 814 is not on, excitation of solenoid G24 is cut off in step U7. and,
In step U8, the state of the 180 degree rotation switch 811 is determined, and when it is on, the gun is horizontally 180 degrees in step U8.
The solenoid G22 of the loss circulation valve RZ180 is energized and the second painting gun GUN2 is activated by the actuator AC1.
Make a 180 degree turn loss. When switch 311 is off,
At step U10, the excitation of solenoid R7180 is cut off.
更に、ステップtJ11で、90度旋回スイッチS12
の状態を判断して、オンのとき、ステップU12でガン
水平90ロス回用バルブR790のソレノイl−”G2
1を励磁して複動シリンダCL1をキャップ側にして、
第2塗装ガンGLIN2を90度旋回させる。スイッチ
812がオフのときステップU13でソレノイドG21
の励磁を断つ。第1塗装ガンGUN1及び第2塗装ガン
GUN2の姿勢制御を終了するとステップU14で「ガ
ン姿勢制御サブルーチン」を脱し、ステップ160に移
る。Furthermore, in step tJ11, the 90 degree rotation switch S12
If it is on, in step U12, the solenoid l-"G2 of the gun horizontal 90 loss circulation valve R790 is turned on.
1 is excited and the double-acting cylinder CL1 is placed on the cap side,
Rotate the second painting gun GLIN2 by 90 degrees. When switch 812 is off, solenoid G21 is activated in step U13.
cut off the excitation. When the attitude control of the first painting gun GUN1 and the second painting gun GUN2 is completed, the process exits from the "gun attitude control subroutine" in step U14 and moves to step 160.
ステップ160でメモリスイッチS2がオンされないと
、今まで位置決めしたX軸、Y軸、2軸データと、「ガ
ン姿勢制御サブルーチン」によって決定されたガン姿勢
データはステップ1つに移り、再度変更されることにな
る。If the memory switch S2 is not turned on in step 160, the X-axis, Y-axis, and 2-axis data that has been positioned so far and the gun posture data determined by the "gun posture control subroutine" are changed again in step 1. It turns out.
メモリスイッチS2がオンとなると、位置データとガン
姿勢データをメモリに収納するための、各軸の位置及び
ガン姿勢データの作成及びメモリに収納するルーチンに
入る。When the memory switch S2 is turned on, a routine for creating position and gun posture data for each axis and storing them in the memory is entered in order to store the position data and gun posture data in the memory.
ステップ170で補正入力スイッチS21のオン状態を
みる。即ち、これまでに位置決めしたX軸、Y軸、Z@
の位置データを各軸の前進カウンタ及び後退カウンタに
nいた値を補正する必要性がある場合に、補正入力スイ
ッチ821をオンとし、位匠補正用ディジタルスイッチ
D2及びD3でその補正値を人為的に入力するものであ
る。また、後述するように、本実施例では自動送りの場
合は、X軸の移動が回転・角度センサXSEの出力パル
スで「10」パルス数未満のとき、Y軸及びZ軸の移動
が回転・角度センサYSE及びZSEの出力パルスで「
4」パルス数未満のとき、各軸をブレーキ状態とするか
ら、ディジタルスイッチD2によって位置を訂正する必
要がある。In step 170, the ON state of the correction input switch S21 is checked. In other words, the X-axis, Y-axis, and Z@ that have been positioned so far
When it is necessary to correct the position data of the forward and backward counters of each axis, the correction input switch 821 is turned on, and the correction values are artificially changed using the position correction digital switches D2 and D3. This is what you input. In addition, as will be described later, in the case of automatic feeding in this embodiment, when the X-axis movement is less than 10 pulses in the output pulse of the rotation/angle sensor XSE, the Y-axis and Z-axis movements are rotation/angle sensor With the output pulses of angle sensors YSE and ZSE,
When the number of pulses is less than 4, each axis is placed in a brake state, so it is necessary to correct the position using the digital switch D2.
まず、ステップ170で補正入力スイッチ821がオン
状態にあるとき、ステップ171で位置補正用ディジタ
ルスイッチの−の位のディジタルスイッチD2及び+の
位のディジタルスイッチD3に入力された10進法の値
を用いて補正値を指示し、ステップ172でそれを10
進−16進コード変換してリードする。ステップ173
で前記像行補正入力がどの軸のデータであるかを判断す
る。First, when the correction input switch 821 is in the ON state in step 170, the decimal value inputted to the negative digital switch D2 and the positive digital switch D3 of the position correction digital switch is inputted in step 171. is used to indicate the correction value, and in step 172 it is set to 10
Convert decimal to hexadecimal code and read. Step 173
Then, it is determined which axis data the image line correction input corresponds to.
即ち、セレクトスイッチS19で選択された軸データが
X@データであるとき、ステップ174で極性スイッチ
S22が(+)側にあるか否かを判断して、(+)側に
あるとき、ステップ177で、X軸前進カウンタMPX
Fの値に位置補正値を加算し、(−)側にあるとき、ス
テップ176で、XIIqh後退カウンタMPXRの値
に位置補正値を加算する。ステップ173でセレクトス
イッチ819がX@を選択していないとき、ステップ1
75に移る。セレクトスイッチS19がY軸を選択して
いるとき、ステップ178で極性スイッチ822が(+
)側にあるか否かを判断し、(+)側にあるときステッ
プ179でY軸前進カウンタMPYFに位置補正値を加
算し、(−)側にあるとき、ステップ180で、Y戦後
退カウンタMPYRの値に位置補正を加算する。ステッ
プ173及びステップ175でセレクトスイッチS19
でX軸、Y軸が選択されていないと判断されたとき、ス
テップ181でZ軸の選択であるか判断される。Z軸が
選択されでいるときステップ183で、%MスイッチS
22が(+)側にあるか711断して、(+)側にある
とき、ステップ184で7軸前進力ウンタMP7Fに位
置補正値を加算し、(−)側にあるとき、ステップ18
5で7軸1す′JロカウンタMP711に位置補正値を
力■算する。ステップ173及びステップ175及びス
テップ181でセレクトスイッチ819がX軸、Y軸、
Z@のいずれも選択していないとき、本来あるべき処理
ではないので異常有りとして、ステップ182でマイク
ロコンピュータCPUの信号処理を停止させる。That is, when the axis data selected by the select switch S19 is X@data, it is determined in step 174 whether or not the polarity switch S22 is on the (+) side. So, the X-axis advance counter MPX
The position correction value is added to the value of F, and when it is on the (-) side, in step 176, the position correction value is added to the value of the XIIqh backward counter MPXR. If the select switch 819 does not select X@ in step 173, step 1
Move on to 75. When the select switch S19 selects the Y axis, the polarity switch 822 is set to (+) in step 178.
) side, and if it is on the (+) side, a position correction value is added to the Y-axis advance counter MPYF in step 179, and if it is on the (-) side, in step 180, the position correction value is added to the Y-axis advance counter MPYF. Add the position correction to the value of MPYR. In step 173 and step 175, select switch S19
When it is determined in step 181 that neither the X-axis nor the Y-axis is selected, it is determined in step 181 whether the Z-axis has been selected. When the Z-axis is selected, in step 183, the %M switch S
22 is on the (+) side. When it is on the (+) side, a position correction value is added to the 7-axis forward force counter MP7F in step 184, and when it is on the (-) side, step 18
In step 5, the position correction value is calculated on the 7-axis 1'J lo counter MP711. In step 173, step 175, and step 181, the select switch 819 is
If none of Z@ is selected, the signal processing of the microcomputer CPU is stopped at step 182, since this is not the processing that should be performed.
このように、X軸の補正、Y軸の補正、Z軸の補正はそ
の補正値を操作者が算出して、算出した値をステップ数
に換算することで位置補正を行うことができる。したが
って、パルス数と各軸の移動距離との関係を算出し易い
単位のボールネジのピッチとすると効果的である。この
位置補正を終了すると、塗装ガンの設定位置データを得
ることができる。なお、ステップ170で補正入力スイ
ッチ821がオンされていないときは、ステップ170
からステップ190に、及び、前記塗装ガンの位置デー
タを得た後はステップ190に移る。In this way, position correction can be performed by having the operator calculate the correction values for the X-axis correction, Y-axis correction, and Z-axis correction, and converting the calculated values into the number of steps. Therefore, it is effective to set the pitch of the ball screw as a unit that makes it easy to calculate the relationship between the number of pulses and the moving distance of each axis. When this position correction is completed, the set position data of the painting gun can be obtained. Note that if the correction input switch 821 is not turned on in step 170, step 170
Then, the process moves to step 190, and after obtaining the position data of the painting gun, the process moves to step 190.
ステップ190はX軸の塗装ガンの設定位置を算出する
ステップである。即ち、X軸前進カウンタMPXFの値
から×戦後返カウンタMPXRの値を減算し、ステップ
191でX軸前進カウンタMPXFの値がX戦後退カウ
ンタMPXRの値より小さいとき、前記ステップ190
の計算が負になるので、ステップ192で極性反転を行
う。そして、ステップ193で、メモリMDATAにス
テップ192で(9た値を収納する。ステップ194で
手動送りのルーチンワーク中であるか判断し、メモリM
STPONに“1”がセットされているとき、そのデー
タは修正用であることを意味し、ティーチングのときは
、メモリMSTPONがクリアされているから、ステッ
プ197でメモリMXYZにX軸のデータであるデータ
区別としてrOJをセットし、ステップ198でデータ
収納アドレスを指定し、指定したアドレスへメモリMD
ATΔの内容を入れる。このとき、X軸エアーモータ×
△Mの逆回転データであることのマーキングとして指定
したアドレスのメモリの最上位ビットを“1”として、
次のビットから7ビツトのX軸移動距離データを入れる
。そして、ステップ199で前ステップ198でアドレ
ス指定した次のアドレスに16進数のデータ゛FF”を
入れる。Step 190 is a step of calculating the set position of the painting gun on the X axis. That is, the value of the x-war return counter MPXR is subtracted from the value of the X-axis advance counter MPXF, and when the value of the X-axis advance counter MPXF is smaller than the value of the X-war retreat counter MPXR in step 191, the step 190
Since the calculation of is negative, the polarity is inverted in step 192. Then, in step 193, the value obtained in step 192 (9) is stored in the memory MDATA.In step 194, it is determined whether manual feed routine work is in progress, and the memory M
When "1" is set in STPON, it means that the data is for correction, and since the memory MSTPON is cleared during teaching, the X-axis data is stored in the memory MXYZ in step 197. Set rOJ as a data distinction, specify the data storage address in step 198, and transfer the memory MD to the specified address.
Enter the contents of ATΔ. At this time, the X-axis air motor
The most significant bit of the memory at the specified address is set to “1” to mark that it is reverse rotation data of △M,
Enter 7-bit X-axis movement distance data from the next bit. Then, in step 199, hexadecimal data "FF" is entered into the next address designated in the previous step 198.
即ち、8ビット全部を“1″とする。ステップ191で
X軸前進カウンタMPXFの値がX軸復退カウンタMP
XRの値より大きいとき、ステップ200で手動送りの
ルーチンワークであるか否か判断して、メモリMSTP
ONがクリアされていることは、手動送りのルーチンで
はないことを意味するからステップ203で、メモリM
DATAに現在位置のデータを収納する。ステップ20
4でメモリMXY、7に「0」をセットし、ステップ2
05でデータ収納アドレスを指定し、指定したアドレス
へメモリMr)ATAのデータ内容を収納する。このと
き、X軸エアーモータXΔMの正転データとして、前記
アドレス指定したメモリの最上位ビットにO″を入れる
。ステップ206で前ステップ205でアドレス指定し
た次のアドレスに16進数の“’ F F ”を入れる
。That is, all 8 bits are set to "1". In step 191, the value of the X-axis forward counter MPXF is changed to the value of the X-axis backward counter MP
When it is larger than the value of
If ON is cleared, it means that this is not a manual feed routine, so in step 203, the memory M
Store current position data in DATA. Step 20
Set "0" to memory MXY and 7 in step 4, and proceed to step 2.
A data storage address is specified in step 05, and the data contents of the memory Mr) ATA are stored in the specified address. At this time, as the normal rotation data of the X-axis air motor ”.
次に、ステップ210からステップ226のルーチンで
Y軸線fjj切替データをメモリに収納し、ステップ2
30からステップ246のルーチンでZ軸移動切Hデー
タをメモリに収納する。これらの動作はX軸の場合と同
様であるので、その説明を省略する。Next, in the routine from step 210 to step 226, Y-axis line fjj switching data is stored in the memory, and step 2
In the routine from step 30 to step 246, the Z-axis movement off H data is stored in the memory. These operations are the same as those for the X-axis, so their explanation will be omitted.
X軸、Y軸、Z@の位置が定まったところでステップ3
50で、手動送りのルー・チンワーク中であるか判断し
て、ティーチングのときはメモリMSTOPONに1′
”がセットされていないから、ステップ355で、ステ
ップカウンタMSTPの値をアドレス指定に用いて、第
1塗装ガンGUN1及び第2塗装ガンGUN2の姿勢制
御データ及びエアーモータ速度データをリードし、特定
アドレスのメモリに収納する。そして、ステップ356
にステップアップするが、手動送りではないのでメモリ
MSTOPONがセットされていないから、ステップ3
59でステップカウンタMSTPを1ステツプアツプし
、ステップ360でメモリスイッチS2がオフになるの
を時機し、メモリスイッチS2がオフになると、ステッ
プ361で各軸前進hウンク及び4す退カウンタをクリ
アし、ステップ19に戻る。Once the X-axis, Y-axis, and Z@ positions are determined, proceed to step 3.
At step 50, it is determined whether manual feed routine work is in progress, and when teaching, 1' is stored in the memory MSTOPON.
” is not set, in step 355, the value of the step counter MSTP is used for address specification, the attitude control data and air motor speed data of the first painting gun GUN1 and the second painting gun GUN2 are read, and the specific address is read. Then, step 356
However, since it is not a manual feed, the memory MSTOPON is not set, so step 3
The step counter MSTP is incremented by one step at step 59, and when the memory switch S2 is turned off at step 360, when the memory switch S2 is turned off, the forward and backward counters for each axis are cleared at step 361. Return to step 19.
これらの動作の繰り返しで、各ステップ毎に第 ・1
塗装ガンGUNI及び第2塗装ガンG U N 2の俯
賀及び姿勢及び作動状態の設定を行う。By repeating these actions, the first
The angle, posture, and operating status of the painting gun GUNI and the second painting gun GUN 2 are set.
なお、前記ステップ151からステップ158では第1
塗装ガンGUNI及び第2塗装ガンGUN2の作動を停
止させた状態、即ち、塗料の吹出しを停止させた状態で
ティーチングを行ったが、時として、被塗装物に実際に
塗料の吹付けを行わないと、その塗装状態が判断できな
いときがある。Note that in steps 151 to 158, the first
Teaching was performed with the paint gun GUNI and the second paint gun GUN2 stopped, that is, the spraying of paint was stopped, but sometimes the paint was not actually sprayed onto the object to be painted. There are times when it is not possible to judge the condition of the paint.
この様な場合には、プログラムスイッチS6をオンにし
ない状態で、ガン姿勢制御を行うことにより、実際に被
塗装物に塗料を吹付けることができる。In such a case, by controlling the gun attitude without turning on the program switch S6, paint can actually be sprayed onto the object to be painted.
即ち、ステップ150でプログラムスイッチS6がオン
になっていないとき、第32図のステラブ370でメモ
リMSTPONが“1″にセットされているかを判断す
る。メモリMSTPONは手動送り動作を行った場合に
ステップ431でセットされるものであり、ティーチン
グの状態ではイニシャライズされた状態であるから、ス
テップ371の「ガン姿勢制御サブルーチン」に入る。That is, when the program switch S6 is not turned on in step 150, it is determined whether the memory MSTPON is set to "1" in the Stellar Lab 370 of FIG. The memory MSTPON is set in step 431 when a manual feed operation is performed, and since it is in an initialized state in the teaching state, the process enters the "gun posture control subroutine" in step 371.
rガン姿勢制御サブルーチン」でガン姿勢を設定した後
、ステップ372で第1WPiガンスイツチS15をオ
ンにすると、それまで、第1塗装ガンスイツチS15が
オフ状態であればメモリMGIJN1の内容に関係なく
、即ち、メモリMGLJNIに“1″がセットされてい
ても、ステップ374で第1塗装ガンGUNIの塗料供
給制御用バルブGUN10のソレノイドG25をオフと
し、ステップ375でその効果がでてくるまでの時間持
ちの後、ステップ376で第1塗装ガンGUNIのエア
ーの供給を断つべく、エアー供給用バルブG U N
ilのソレノイドG29をオフとする。そして、ステッ
プ378で第1塗装ガンGUN1のメモリMGUN1を
クリアし、第1塗装ガンGUNIの作動を停止状態とす
る。第1塗装スイツチ815がオフのとき、ステップ3
78で第1塗装ガンGtJN1のメモリMGUNIがク
リヤされているから、第11にスイッチ815がオンと
なると、ステップ379により、ステップ380が選択
され、第1塗装ガンGtJN1のエアー供給バルブがオ
ンとなり、その効果がでてくるまでの時間持ちをステッ
プ381で行い、続いて、ステップ382で第1塗装ガ
ンGLJN1の塗料供給制御用バルブG U N 10
をオンとして、第1塗装ガンGUN1から塗料の吹付け
を行う。そして、ステップ383でメモリMGIJN1
に“1”をセットする。After setting the gun attitude in the ``r gun attitude control subroutine'' and turning on the first WPi gun switch S15 in step 372, if the first painting gun switch S15 is in the off state until then, regardless of the contents of the memory MGIJN1, that is, Even if the memory MGLJNI is set to "1", the solenoid G25 of the paint supply control valve GUN10 of the first paint gun GUNI is turned off in step 374, and after waiting for the time to take effect in step 375. , In order to cut off the air supply to the first painting gun GUNI in step 376, the air supply valve GUN is activated.
il solenoid G29 is turned off. Then, in step 378, the memory MGUN1 of the first painting gun GUN1 is cleared, and the operation of the first painting gun GUNI is stopped. When the first painting switch 815 is off, step 3
Since the memory MGUNI of the first painting gun GtJN1 has been cleared in step 78, when the switch 815 is turned on in step 11, step 380 is selected in step 379, and the air supply valve of the first painting gun GtJN1 is turned on. In step 381, the time until the effect appears is determined, and then in step 382, the paint supply control valve GU N 10 of the first painting gun GLJN1 is turned on.
is turned on, and paint is sprayed from the first paint gun GUN1. Then, in step 383, the memory MGIJN1
Set “1” to “1”.
したがって、第1塗装スイツチS15がオンになってい
る間、第1塗装ガンGUNIから塗料を吹付けることが
できる。そして、第1塗装スイツチ815をオフにする
ことにより、ステップ372からステップ373に移行
し、ステップ374からステップ376で第1塗装ガン
GUNIの作動を停止させると共に、ステップ378で
次に第1塗装ガンG UN 10作動が可能な状態に第
1塗装ガンのメモリM G U N 1をクリアする。Therefore, while the first painting switch S15 is on, paint can be sprayed from the first painting gun GUNI. Then, by turning off the first painting switch 815, the process moves from step 372 to step 373, and in steps 374 to 376, the operation of the first painting gun GUNI is stopped, and in step 378, the operation of the first painting gun GUNI is stopped. Clear the memory MGUN 1 of the first painting gun so that it can operate.
同様に、第2塗装ガンGUN2についても、第2塗装ス
イツチ816によって、ステップ384からステップ3
94によって、第1塗装ガンGUN1と同一の吹付は動
作に入ることができる。Similarly, for the second painting gun GUN2, the second painting switch 816 controls the operation from step 384 to step 3.
94, the same spray gun as the first paint gun GUN1 can be put into operation.
この様に、第1塗装ガンGIJN1 、第2塗装ガンG
IJN2を使用して、吹付は動作によって塗装状態を確
認した状態で、プログラムスイッチS6をオンするとス
テップ150から、ステップ151にステップアップし
、第1塗装ガンGUN1及び第2塗装ガンGUN2をオ
フとし、ステップ159で「ガン姿勢制御サブルーチン
」に入ることができ、前記吹付は状態の第1塗装ガンG
LJN1及び第2塗装ガンGUN2の姿勢の変更の必要
がないとき、ステップ160でメモリスイッチS2をオ
ンにすることで、ティーチング動作のステップ170か
らステップ361によって、ガン姿勢データをメモリに
収納することができる。In this way, the first painting gun GIJN1, the second painting gun G
Using IJN2, the spraying operation is performed with the coating state confirmed by operation, and when the program switch S6 is turned on, the process steps up from step 150 to step 151, and the first painting gun GUN1 and the second painting gun GUN2 are turned off. In step 159, the "gun attitude control subroutine" can be entered, and the spraying is performed with the first painting gun G in the state.
When there is no need to change the postures of LJN1 and second painting gun GUN2, by turning on the memory switch S2 in step 160, the gun posture data can be stored in the memory in steps 170 to 361 of the teaching operation. can.
次に、ティーチングを終了した本実施例の塗装ロボット
を¥切込りで移動させる場合について述べる。Next, a case will be described in which the painting robot of this embodiment, which has completed teaching, is moved by cutting.
メインフローブヤートにおいて、ステップ14で手動・
自V)切替スイッチS1を手動側にオンすると、ステッ
プ15及びステップ16で、ttgガンが原位置に復帰
した状態になるまで待機し、原位置スイッチS4のオン
により「原位置復帰サブルーチンjを選択して、原位置
にm9.i%させることにより、ステップ19、ステッ
プ20を経て、ステップ23で手動送りスイッチS3の
オンが検出されると、ステップ400で正・逆転スイッ
チS20の状態をみて、逆回転側のとき、ステップ40
1でステップカウンタMSTPの値がrlであるか判断
して、rOJのとき、後30限界にあるから、ステップ
400で正・逆転スイッチが正回転側となるのを待機す
る。rOJでないとき、ステップ402でステップカウ
ンタMSTPの値を1カウントダウンする。即ち、「エ
アーモータt+I制御サブルーチン」の終了によって、
次のアドレス指定を行うためにステップカウンタの値を
1ステツプアツプしているから、後退のときには、それ
を補償してやる必要がある。正・逆転スイッチが正回転
オンしているときは、その必要がないから、ステップ4
00からステップ403に移る。そして、ステップ40
3で、ステップカウンタMSTPでアドレス指定された
メモリのデータをリードする「ステップ データ リー
ド サブルーチン」に入る。At the main flow yard, in step 14 manually
AutoV) When the selector switch S1 is turned on to the manual side, the process waits until the ttg gun returns to its original position in steps 15 and 16, and then turns on the original position switch S4 to select the ``home position return subroutine j''. Then, by returning m9.i% to the original position, through steps 19 and 20, when it is detected in step 23 that the manual feed switch S3 is on, in step 400, the state of the forward/reverse switch S20 is checked, If it is on the reverse rotation side, step 40
At step 1, it is determined whether the value of the step counter MSTP is rl, and if it is rOJ, the remaining 30 limit is reached, so at step 400, the routine waits for the forward/reverse rotation switch to turn to the forward rotation side. If it is not rOJ, the value of step counter MSTP is counted down by 1 in step 402. That is, upon completion of the "air motor t+I control subroutine",
Since the value of the step counter is incremented by one step in order to specify the next address, it is necessary to compensate for this when going backward. If the forward/reverse switch is turned on, there is no need to do so, so proceed to step 4.
The process moves from step 00 to step 403. And step 40
At step 3, the step data read subroutine is entered to read the data in the memory addressed by the step counter MSTP.
ステップ403で第35図から第39図の「ステップ
データ リード サブルーチンJに入るとまず、ステッ
プM1でこのサブルーチンで使用するメモリをイニシャ
ライズし、ステップM2でステップカウンタMSTPの
値をアドレス指定に用いて所定のデータをリードし、ス
テップM3でリードしたX軸移動距離データをBCレジ
スタへ収納する。ステップM4でそのB0レジスタのデ
ータが最終データであるか判断する。即ち、ステップカ
ウンタでアドレス指定した次のアドレスの内容をリード
し、それがティーチングのデータ収納のステップ19つ
、ステップ206、ステップ219、ステップ226、
ステップ239、ステツブ246で行った16進数のF
F”データであるかをみることにより判断する。そして
、ステップM5でそのデータがガン位置及びガン姿勢デ
ータとして最終ステップのデータであると判断されたと
き、そのデータがX軸の最終データであることを記憶す
るメモリMFFXの全ビットを1′。In step 403, the steps shown in FIGS. 35 to 39 are
When entering data read subroutine J, first, in step M1, the memory used in this subroutine is initialized, in step M2, the value of the step counter MSTP is used to specify the address and predetermined data is read, and in step M3, the read X-axis Store the moving distance data in the BC register. In step M4, it is determined whether the data in the B0 register is the final data. That is, the content of the next address specified by the step counter is read, and it is the 19 steps of teaching data storage, step 206, step 219, step 226,
Hexadecimal F performed in step 239 and step 246
F" data. When it is determined in step M5 that the data is the final step data as gun position and gun posture data, that data is the final data of the X axis. All bits of the memory MFFX that store this are set to 1'.
にする16進数の“FF”を入れる。Enter the hexadecimal number “FF” to
ステップM6でRCレジスタの内容をr)Eレジスタに
移す。ステップM7で正・逆転スイッチS20が逆回転
であるか、正回転であるかを判断し、逆回転のとき、X
軸エアーモータXΔMを逆回転させる必要があるから、
ステップM8で8レジスタの最上ビットの極性判断ビッ
トを反転させる。In step M6, the contents of the RC register are transferred to the r)E register. In step M7, it is determined whether the forward/reverse rotation switch S20 is rotating in the reverse direction or in the forward direction.
Since it is necessary to reversely rotate the shaft air motor XΔM,
In step M8, the polarity judgment bit of the uppermost bit of the 8th register is inverted.
ステップM9でDレジスタの罷上ビットをクリアし、ス
テップM10で極性データを除去した移動距離データの
みをメモリMXSTPにセットする。In step M9, the discard bit of the D register is cleared, and in step M10, only the moving distance data from which the polarity data has been removed is set in the memory MXSTP.
ステップM11でメモリMXSTPの値が「65」パル
ス数より、ステップM12で「40」パルス数より、ス
テップM13で「コ0」パルス数より大きいか判断し、
「10」パルス数以下のとき、ステップM1/lでメt
すMXSTPをクリア寸ろ。It is determined whether the value of the memory MXSTP is greater than "65" pulse number in step M11, greater than "40" pulse number in step M12, and greater than "0" pulse number in step M13,
When the number of pulses is "10" or less, step M1/l is used.
Clear the MXSTP.
「10」パルス数J、り大ぎ<r401パルス数以下の
範囲にあるとき、ステップM15でメモリMXXPに「
4」をセラ1へし、ステップM16でメモリM X 3
0に1゛′をセットする。同様に「40」パルス数より
大きく r65Jパルス以下の範囲にあるとき、ステッ
プM17でメモリMXXPに「7」を、ステップM18
でメモリMX30に“1”をセットする。メモリMXX
Pが「65jより大ぎ< r200Jパルス数以下のと
き、ステップM20でメモリMX50に“1″をセット
する。"10" When the number of pulses J is in the range less than r401, the memory MXXP is stored in the memory MXXP in step M15.
4" to cellar 1, and in step M16 the memory M
Set 0 to 1'. Similarly, when the number of pulses is greater than "40" and less than r65J pulses, "7" is written to the memory MXXP in step M17, and "7" is written in the memory MXXP in step M18.
Set "1" in memory MX30. Memory MXX
When P is "greater than 65j<r200J pulse number or less", "1" is set in the memory MX50 in step M20.
r200Jパルス数より大きいとき、ステップM21で
メモリMX100に1″をセットし、X軸エアーモータ
XAMの回転を高速から低速に減速する処理を行うため
、ステップM22でX軸エアーモータXAMの高速セッ
トメモリMXHに“1”をセットする。このように、メ
モリMXSTPの値によってX軸エアーモータXAMの
速度制郭用のグループ分け、即ち、エアーブレーキの条
件設定を行う。When the number of pulses is larger than r200J, step M21 sets memory MX100 to 1", and in order to perform processing to decelerate the rotation of X-axis air motor XAM from high speed to low speed, step M22 sets memory MX100 to 1". MXH is set to "1". In this way, the values in the memory MXSTP are used to group the X-axis air motors XAM for speed restriction, that is, to set the air brake conditions.
ステップM23でBレジスタの最−1−旬ビットの極性
判断ビットが1′′にセラ1〜されているが711断し
、ステップM24、ステップM25で、×軸エアーモー
タXAMを前進の場合、メモリMXFに“1゛′を、或
いは(ね退の場合、メモリMXRに” 1 ”をセラ1
〜する。そして、ステップM26でBレジスタの最上ビ
ットM26をクリアする。ステップM27でメモリMX
STPが[0,1のとき、ステップM28でX軸■アー
プレーキXA8をかけるべく、メモリMXAI3に1°
′をセットする。In step M23, the polarity judgment bit of the most recent bit of the B register is set to 1'', but 711 is disconnected, and in step M24 and step M25, if the x-axis air motor Set "1" to MXF, or (in case of withdrawal, set "1" to memory MXR)
~do. Then, in step M26, the highest bit M26 of the B register is cleared. Memory MX in step M27
When STP is [0, 1, in step M28, 1° is set in memory MXAI3 in order to apply the X axis
’.
このようにして、X軸エアーモータXAMの移動距離を
出力用の各メモリに書き込む。In this way, the moving distance of the X-axis air motor XAM is written into each memory for output.
次に、Y軸移動距離データのリードに入る。Next, read the Y-axis movement distance data.
なお、X軸移動距11111データのリードと基本的に
は同一であるので、その説明を簡略化する。Note that this is basically the same as reading the X-axis movement distance 11111 data, so the explanation thereof will be simplified.
まず、ステップM30でメモリMXYZにY軸指定の「
1」をセットし、Y軸データのリードを行う。First, in step M30, the Y-axis specified “
1" and read the Y-axis data.
ステップM31でステップカウンタで指定したアドレス
からY軸のデータをリードし、ステップM32でリード
したデータを80レジスタへ収納し、ステップM33で
リードしたステップカウンタMSTPの値のアドレスの
次のアドレスのデータが最終データのFF″であるか判
断し、最終データであるとき、ステップM34でメモリ
MFFYに16進数の’ r F ”をセットする。ス
テップM35でF3CレジスタのデータをDEレジスタ
に移し、正・逆転スイッチの状態によってBし・ジスタ
の最上位ビットのデータを反転し、Dレジスタの最上位
ビットをクリアしてY軸移動距離データのみとし、ステ
ップM39でDEレジスタのデータをメモリMYSTP
に移す。ステップM40゜ステップM41、ステップM
42でメモリMYSTPの値が「12」パルス数より大
きいか、「4」パルス数より大きいかを判断して、「4
」パルス数以下のとき、ステップM42でメモリMYS
TPをクリアする。メモリMYSTPのパルス数が4<
MYSTP≦12の範囲のどき、ステップM43でメモ
リMYYPに「3」をセットし、ステップM44でメモ
リMY20に1”をセットする。メモリMYSTPのパ
ルス数が12<MYSTP≦126のときステップM4
6でメモリMY35に“1”をセットする。そして、メ
モリMYSTPがr126Jパルス数を越えた場合には
ステップM47でメモリMY70に“1”をセットし、
ステップM48でYNエアーモータYAMを高速に回転
させるメモリM Y Hに1″をセットする。ステップ
M50で前進用データであるか後退用データであるか判
断し、ステップM50、ステップM51でY軸エアーモ
ータYAMの回転方向をメモリMYF或いはメモリMY
Rにセットする。ステップM52で不要になったBレジ
スタの最上位ビットの回転方向のデータをクリアする。In step M31, the Y-axis data is read from the address specified by the step counter, and in step M32, the data read is stored in the 80 register, and the data at the address next to the address of the value of the step counter MSTP read in step M33 is It is determined whether it is the final data FF'', and if it is the final data, a hexadecimal number 'rF'' is set in the memory MFFY in step M34. In step M35, the data in the F3C register is transferred to the DE register, and the data in the most significant bit of the register is inverted depending on the state of the forward/reverse switch, and the most significant bit of the D register is cleared, leaving only the Y-axis movement distance data. Then, in step M39, the data in the DE register is stored in the memory MYSTP.
Move to. Step M40゜Step M41, Step M
At step 42, it is determined whether the value of the memory MYSTP is greater than the number of pulses "12" or "4", and the value is set to "4".
”, the memory MYS is stored in step M42.
Clear TP. The number of pulses in memory MYSTP is 4<
When MYSTP≦12, the memory MYYP is set to “3” in step M43, and the memory MY20 is set to 1” in step M44. When the number of pulses in the memory MYSTP is 12<MYSTP≦126, step M4
At step 6, "1" is set in the memory MY35. If the memory MYSTP exceeds the r126J pulse number, the memory MY70 is set to "1" in step M47,
In step M48, 1" is set in the memory M Y H that rotates the YN air motor YAM at high speed. In step M50, it is determined whether the data is for forward movement or for backward movement, and in step M50 and step M51, the Y-axis air Store the rotation direction of motor YAM in memory MYF or memory MY.
Set to R. In step M52, the rotation direction data of the most significant bit of the B register that is no longer needed is cleared.
ステップM53でメモリMYSTPが「Olのとき、Y
軸エアーブレーキYARでY軸にブレーキをかけるべく
、そのメモリMYABに′1″をセットする。In step M53, when the memory MYSTP is “Ol, Y
In order to brake the Y-axis using the axis air brake YAR, set the memory MYAB to '1'.
このようにして、Y@エアーモータYAMの移動岱を速
度制御のタイミングにグループ分けした模、それを出力
用の各メモリに書き込む。In this way, the movement of the Y@air motor YAM is divided into groups according to the speed control timing, and the groups are written into each memory for output.
次に、7軸移flj’in nデータのリードに入る。Next, reading of the 7-axis movement flj'inn data begins.
ステップM60でメモリMXYZに7@指定の「2」を
セラ1〜し、7軸移動距前データのリードを行う。In step M60, "2" specified by 7@ is written to the memory MXYZ, and the data before the 7-axis movement distance is read.
なお、XIV+ll及び’lデータリードと基本的には
同一であるので、ステップM70からステップM78の
711II+−IアーモータZAMの速磨制御について
のみ説明寸ろ。Incidentally, since it is basically the same as the XIV+ll and 'l data read, only the quick control of the 711II+-I arm motor ZAM from step M70 to step M78 will be explained.
ステップM70、ステップM71、ステップM72で、
Z l111移動距離データをセットしたメモリMZS
TPの値と所定の値とを比較し、メモリM7:STPに
3己憶されているパルス数がMZSTP〉4でないとき
、ステップM72でメモリM7STPをクリアする。メ
モリMZSTPが4〈M7STP≦9のとき、ステップ
M73でメモリMZ7Pに「3」をセラ1〜、ステップ
M74でメモリM720に1″をセットする。メモリM
7STPが9<MZZP≦119のとき、メモリMZ3
5に“1″をセットし、MZSTP>119のとき、ス
テップM77でメモリM770に1″をセットし、ステ
ップM78でZ軸エアーモータ7ΔMのii速メモリM
71−1に°“1゛′をセットする。In step M70, step M71, and step M72,
Z l111 Memory MZS in which travel distance data is set
The value of TP is compared with a predetermined value, and if the number of pulses stored in the memory M7:STP is not MZSTP>4, the memory M7STP is cleared in step M72. When the memory MZSTP is 4<M7STP≦9, “3” is set in the memory MZ7P in step M73, and 1″ is set in the memory M720 in step M74.Memory M
When 7STP is 9<MZZP≦119, memory MZ3
5 is set to "1", and when MZSTP>119, 1" is set to memory M770 in step M77, and ii speed memory M of Z-axis air motor 7ΔM is set in step M78.
Set ``1'' to 71-1.
以降ステップM79からステップM8/IはY軸及びY
111移動汁圓データのリードと基本的には同一であ
るので、イの説明を省略する。From step M79 to step M8/I, the Y axis and Y
Since this is basically the same as reading the moving soup circle data under No. 111, the explanation of step (a) will be omitted.
次に、ステップM90から第1塗装ガンGUN1及び第
2塗装ガンG U N 2の姿勢制御データリードに入
る。Next, from step M90, the attitude control data read for the first painting gun GUN1 and the second painting gun GUN2 is started.
まず、ステップM90で第1塗装ガンGUN1及び第2
塗装ガンG U N 2の姿勢制御データのリードをス
テップカウンタの値でアドレス指定したメモリの各ビッ
トから行う。ステップM91で第1塗装ガンGUN1の
割当ビットが“1″であるとき、ステップM92で第1
塗装ガンGUN1のメモリM G U N 1に“1″
をセットし、ステップM93で第2塗装ガンGUN2の
割当ビットが“1°′であるとき、ステップM94で第
2塗装ガンGUN2のメモリMGUN2に“1″をセッ
トする。ステップM95で第1塗装ガンのガン角度θ1
の1illlIlメモリが“1”のとき、ステップM9
6でメモリM/)1に“1”をセットし、ステップM9
7で第2塗装ガンのガン角度θ2の制御メモリが“°1
”のとき、ステップM98でメモリMθ2に“1″をセ
ットする。更に、ステップM99で180度旋回訓御メ
モリが“1″のとぎ、ステップM100でメモリM R
Z 180に“1″をセットし、ステップM101で9
0度旋回制御メモリが“1″のとき、ステップM102
でメモリMRZ90に1”をセットする。そして、ステ
ップM103で被塗装物搬送機横動作用の反転メモリが
゛1”のとき、メモリMHANTに1″をセットする。First, in step M90, the first painting gun GUN1 and the second painting gun
The attitude control data of the painting gun GUN 2 is read from each bit of the memory addressed by the value of the step counter. When the assigned bit of the first painting gun GUN1 is "1" in step M91, the first
“1” in memory MGUN1 of paint gun GUN1
is set, and when the assigned bit of the second painting gun GUN2 is "1°" in step M93, "1" is set in the memory MGUN2 of the second painting gun GUN2 in step M94. gun angle θ1
When the 1illllIl memory of is “1”, step M9
6, set "1" in the memory M/)1, and proceed to step M9.
7, the control memory for the gun angle θ2 of the second painting gun is “°1”.
”, the memory Mθ2 is set to “1” in step M98. Furthermore, the 180 degree turning instruction memory is set to “1” in step M99, and the memory M R is set to “1” in step M100.
Set "1" in Z180 and set 9 in step M101.
When the 0 degree turning control memory is “1”, step M102
1" is set in the memory MRZ90. Then, in step M103, when the reversal memory for lateral movement of the object conveyor is "1", 1" is set in the memory MHANT.
ステップ105でエアーモータの速成メモリのデータが
低速にあるとき、ステップM106でX@、Y軸、Z軸
エアーモータの高速メモリMXH,MYH,MZHをリ
セットする。ステップM107でリターンし、ステップ
カウンタMSTPが指定するアドレスに収納されている
データをそれぞれの出力用メモリに移し、1ステツプの
データリードを終了する。When the data in the air motor quick generation memory is at a low speed in step 105, the high speed memories MXH, MYH, and MZH of the X@, Y-axis, and Z-axis air motors are reset in step M106. The program returns to step M107, moves the data stored in the address designated by the step counter MSTP to each output memory, and completes one step of data reading.
ステップ403で「ステップ データ リードサブルー
チン」を終了して、ステップ403からステップ410
に移る。反転メモリM l−I A N Tは通常、塗
装を開始した初期ではセット状態にないことから、ステ
ップ420に移る。At step 403, the "step data read subroutine" is finished, and from step 403 to step 410
Move to. Since the reversal memory M1-IANT is usually not in the set state at the beginning of painting, the process moves to step 420.
なお、前記ステップ410で被塗装物搬送機構の反転メ
モリM I−I A N Tが0”から“1″のセット
状態になると、ステップ411でメモリM HANTl
が1″にセットされているか判断する。In addition, when the reversal memory MI-I AN T of the object conveying mechanism to be coated is set from 0 to "1" in step 410, the memory M HANTl is set in step 411.
is set to 1''.
メモリMHANT1は「原位置復帰サブルーチン」の後
に位置設定用メモリとしてクリアされているから、ステ
ップ412でメモリMHANT1に1”をセットし、ス
テップ413で被塗装物搬送機構の反転出力をオンとす
る。それによって被塗装物搬送機構の反転機構が反転を
開始すると、反転を完了するまでマイクロスイッチ等の
検出器がオンとなり、ステップ414でそれが検出され
ると、前記被塗装物搬送機構の反転出力をステップ41
5でオフとする。そして、ステップ416で前記検出器
がオフとなると、ステップ417で、被Fti装物の移
動が安定化するまでの僅かの開時間持ちを行い、ステッ
プ420に移る。このように、本実施例で使用した被塗
装物搬送機構は、反転メモリM HA N Tの信号に
より反転した後自己保持さける反転は横を用いているが
、本発明を実施Mろには、これに限定されるもので(ま
なく、公知の種々の搬送装置の使用が可能である。Since the memory MHANT1 is cleared as a position setting memory after the "home position return subroutine", 1" is set in the memory MHANT1 in step 412, and the reverse output of the object conveying mechanism is turned on in step 413. As a result, when the reversing mechanism of the object conveying mechanism starts reversing, a detector such as a microswitch is turned on until the reversing is completed, and when it is detected in step 414, an inversion output of the object conveying mechanism is output. Step 41
Set to 5 to turn off. Then, when the detector is turned off in step 416, in step 417 there is a short opening period until the movement of the Fti loaded object is stabilized, and then the process moves to step 420. As described above, the object conveying mechanism used in this embodiment uses the horizontal side for self-holding after being reversed by the signal of the reversing memory M HANT, but when the present invention is implemented, Although the present invention is not limited to this, it is possible to use various known conveyance devices.
ステップ420で第1塗装ガンGUN1及び第2塗装ガ
ンGUN2のメモリMGUN1及びMGUN2のデータ
でLED (発光ダイオード)を発光させ、手動送り時
の第1塗装ガンG U N 1及び第2塗装ガンGUN
2の塗11の噴射の代用として、その動作をLFDで表
示でる。ステップ421でガン姿勢のデータが前のステ
ップで設定されたデータと同一であるか、前のステップ
のデータ内容と比較し、同一であるときステップ424
で「エアーモータ制御サブルーチン」に入る。前のステ
ップのデータ内容と異なるとき、ステップ422で第2
塗装ガンGUN2の18G喰旋回、90度旋回、ガン角
度θ1、ガン角度02等のガン姿勢を設定する。このと
き、ガン姿勢設定に要する空気圧制tlD系の作動遅れ
をステップ423で時間待1うを行う。そして、ガン姿
勢が設定されろと、ステップ424で「エアー七−タ制
御サブルーチンjに入る。In step 420, the LEDs (light emitting diodes) are made to emit light based on the data in the memories MGUN1 and MGUN2 of the first painting gun GUN1 and the second painting gun GUN2, and the first painting gun GUN 1 and the second painting gun GUN during manual feeding are caused to emit light.
As a substitute for the injection of color 11 of 2, the operation can be displayed on the LFD. In step 421, whether the gun posture data is the same as the data set in the previous step or compared with the data contents of the previous step, and if it is the same, step 424
Enter the "air motor control subroutine". When the data content differs from the previous step, the second
Set the gun posture of the painting gun GUN2, such as 18G rotation, 90 degree rotation, gun angle θ1, gun angle 02, etc. At this time, a time delay is performed in step 423 to account for the delay in the operation of the pneumatic control tLD system required to set the gun attitude. Then, when the gun attitude is set, the program enters the air controller control subroutine j in step 424.
第40図から第45図に示寸rエアーモータ制御サブル
ーチンU【まX軸、Y軸、7軸エアーモータを駆動して
、塗装ガンを所定の位置に停止させるルーチンである。The air motor control subroutine U shown in FIGS. 40 to 45 is a routine for driving the X-axis, Y-axis, and 7-axis air motors to stop the coating gun at a predetermined position.
まず、ステップ△1で7軸の4% >fiにセットされ
ているか判断する。即ち、Z@の後退とは重力に対して
反対方向の移動であり、7軸Jア一モータ7AMの11
荷が大と1.するから、Z軸の後退の場合は、ステップ
Δ2で7軸工アーモータ高速メモリM Z Nに1°′
をセットし、逆に、Z軸の後退でないときは、重力方向
の移動であり、7軸工アーモータZAMの0荷が小とな
るから、ステップA3でZ軸エアーモータ高速メモリM
Z Hをリセットする。First, in step Δ1, it is determined whether 4% of the 7 axes is set to >fi. In other words, the retreat of Z@ is a movement in the opposite direction to gravity, and the 11 of 7-axis JA motor 7AM
If the load is large, 1. Therefore, in the case of backward movement of the Z axis, in step Δ2, 1°' is input to the 7-axis arm motor high speed memory M Z N
On the other hand, if the Z-axis is not retreating, it is moving in the direction of gravity, and the 0 load of the 7-axis air motor ZAM is small, so in step A3, the Z-axis air motor high-speed memory M is
Reset ZH.
ステップΔ4でX軸エアーモータXAMの回転がX戦後
退にセットされているか判断して、X戦後退にセットさ
れているとき、ステップ八〇で既にX清涼位置リミット
スイッチLSIがオン状態にあるか判断し、リミットス
イッチLSIがオンしているとき、ステップA7でメモ
リMXSTPをクリアする。また、ステップA5でX軸
エアーモータXAMの回転方向がX@前進にセットされ
ているか判断して、X軸前進にセットされているとき、
ステップ八8で既にX軸前進端すミットスイッヂLS4
がオン状態にあるか判断し、リミットスイッチLS4が
オンしているとき、ステップΔ9でメモリMXSTPを
クリアする。In step Δ4, it is determined whether the rotation of the X-axis air motor If the limit switch LSI is on, the memory MXSTP is cleared in step A7. Also, in step A5, it is determined whether the rotation direction of the X-axis air motor XAM is set to X@forward, and when it is set to X-axis forward,
At step 88, the mitt switch LS4 has already reached the X-axis forward end.
If the limit switch LS4 is on, the memory MXSTP is cleared in step Δ9.
X軸の位置が、いずれの端部にもないとき、ステップA
10でリードしたメモリMXSTPの値、即ち、パルス
数が「0」であるか判断し、「0」のとき、ステップΔ
21でX軸エアープレー艷のメモリMXΔBを“1?′
にセットする。メモリMXSTPの値がrOJでないと
ぎ、ステップA11でメモリMX30が“1”にセット
されているか判断覆る。即ち、メモリMX30が°゛1
″にセットされているときは、「ステップ データ リ
ード サブルーチン」のステップM17またはM19で
“1°°をセットしたことを意味するから、リードした
メモIJ M X S T Pが10<MXSTP≦6
5の範囲内のパルス数であるか判断する。10<MXS
TP≦65の範囲内の値でないとき、ステップA12で
メモリMX50に“1”がセットされているか判断する
。即ち、メモリMX30に“1”がセットれているとき
は、「ステップデータ リード サブルーチンJのステ
ップM21でセットしたことを意味するから、リードし
たメモリMXSTPが200≧MXSTP>65の範囲
内のパルス数であるか判断する。200≧MXSTP>
65の範囲内にないとき、ステップA13で、メモリM
X100が“1”にセットされているか判断する。即ち
、メモリMX100が“1”にセットされているときは
、ステップM21で“1”をセットしたことを意味し、
リードしたメモリMXSTPが200>MXSTPであ
るか判断する。そして、「ステップ データ リード
サブルーチンJでリードしたメモリの値が、メモリMX
30、メモリMX50、メモリMX100の範囲内及び
メ干りMXSTPがro−1!ス外の伯のとさスフツブ
△1/Iで、マイクロコンビコークCPUを停]1さゼ
る。When the X-axis position is not at either end, step A
It is determined whether the value of the memory MXSTP read in step 10, that is, the number of pulses, is "0", and if it is "0", the step Δ
21, set the memory MXΔB of the X-axis air play board to “1?”
Set to . If the value of the memory MXSTP is not rOJ, it is determined in step A11 whether the memory MX30 is set to "1" or not. That is, the memory MX30 is
” means that “1°°” was set in step M17 or M19 of the “step data read subroutine”, so the read memo IJ M X S T P is 10<MXSTP≦6
It is determined whether the number of pulses is within the range of 5. 10<MXS
If the value is not within the range of TP≦65, it is determined in step A12 whether "1" is set in the memory MX50. In other words, when "1" is set in the memory MX30, it means that it was set in step M21 of the step data read subroutine J, so the number of pulses in the read memory MXSTP is within the range of 200≧MXSTP>65. Determine whether 200≧MXSTP>
65, in step A13, the memory M
Determine whether X100 is set to "1". That is, when the memory MX100 is set to "1", it means that "1" was set in step M21,
It is determined whether the read memory MXSTP is 200>MXSTP. and "Step Data Read
The memory value read in subroutine J is memory MX.
30, MXSTP within the range of memory MX50 and memory MX100 is ro-1! Shut down the Micro Combi Coke CPU with the shortcut △1/I outside the station] 1.
メモリMX100が1″にセットされているとき、X軸
エアーモータXAMがr200Jパルス以上の移動を行
うものであるから、ステップへ15で、メモリMXST
Pの値が残パルス数がr200J以下になるまで、×軸
エアーモータXAMを高速に回転させ、r200J以下
になるとステップA16でX軸エアーモータXAMを低
速に回転させるべくメモリMXHをリセットする。When the memory MX100 is set to 1'', the X-axis air motor
The x-axis air motor XAM is rotated at a high speed until the value of P becomes the number of remaining pulses r200J or less, and when it becomes less than r200J, the memory MXH is reset in step A16 to rotate the X-axis air motor XAM at a low speed.
そして、ステップA17で、残パルス数が「55」未満
になったとき、×軸ブレーキXARをブレーキ状態とす
るべくメモリMXABに1”をセットする。Then, in step A17, when the number of remaining pulses becomes less than "55", 1" is set in the memory MXAB to bring the x-axis brake XAR into the braking state.
ステップA12でメモリMX50に“1”がセットされ
ているときはステップA17で「55」パルス数未満に
なったときX@エアーブレーキXABをかけるべくメモ
リMXABに“1″をセットする。また、メモリMX3
0が“1″のとき、ステップ△19でメtすMXXPの
値が減0されてro、++こなったことが判断されろと
、ステップ△20で、×輔エアーブレーキ×ΔBをか(
JろメモリMXABに“1″をセットする。即ち、ステ
ップΔ10からステップ△21では、ステップデータリ
ードサブルーチンでX軸エアーモータXAMの速度のグ
ループ分【)に従ってブレーキのタイミングを設定する
。When "1" is set in the memory MX50 in step A12, "1" is set in the memory MXAB in order to apply the X@air brake XAB when the number of pulses becomes less than "55" in step A17. Also, memory MX3
When 0 is "1", in step △19 it is determined that the value of met MXXP has been decreased to 0 and ro,++ has been achieved, and in step △20, × air brake × ΔB is calculated (
Set "1" in JRO memory MXAB. That is, in steps Δ10 to Δ21, the brake timing is set according to the speed group [) of the X-axis air motor XAM in the step data read subroutine.
Tアーモータ制御のサブルーチンによれば、続いてY軸
及び7 fllのTアーモータ制御に入るが、更に、前
記X軸エアーモータXΔMの制御について詳述する。According to the T-ar motor control subroutine, control of the Y-axis and 7 fll T-ar motors is then entered, and the control of the X-axis air motor XΔM will be further described in detail.
エアーモータ出力及びエアーブレーキの出力はそれらの
メモリMXAM、MYAM、MZAM及びMXAB、M
YA[3,MZAI3により、「エアーモータ制御サブ
ルーチンJのステップ△70で各軸のエアーモータ及び
エアーブレーキを出力する。そして、ステップA71で
メモリMXSTP及びメモリMYSTr’及びメモリM
7STPが「0」であるか判断する。rOJであれば、
ステツブA72でステップカウンタを1ステツプアツプ
する。ぞして、メモリMSTP1にステップカウンタM
STPの値を移し、rエアーモータ制御サブルーチンJ
を終了する。Air motor output and air brake output are stored in their memories MXAM, MYAM, MZAM and MXAB, M
YA[3, MZAI3 causes the air motor and air brake of each axis to be output in step △70 of the air motor control subroutine J. Then, in step A71, the memory MXSTP, the memory MYSTr', and the memory M
7 Determine whether STP is "0". If rOJ,
At step A72, the step counter is incremented by one step. Then, the step counter M is stored in the memory MSTP1.
Transfer the STP value and execute r air motor control subroutine J.
end.
しかし、この「エアーモータ制御サブルーチン」に入っ
た初期には、メモリMXSTP及びメモリMYSTP及
びメモリMZSTPは、通常rOJでないから、ステッ
プA80でX清涼位置または前進端リミットスイッチL
SIまたはLS4がオンであるかをみて、リミットスイ
ッチLSIまたはLS4がオンでないとき、ステップA
81でメモリMSTARIがO″であるか判断する。メ
モリMSTAR1は「ステップ データ リードサブル
ーチン」でイニシャライズされており、110”である
から、ステップA83で回転・角度センサXSEの出力
が“H”であるか判断する。However, at the beginning of this "air motor control subroutine", the memory MXSTP, memory MYSTP, and memory MZSTP are normally not rOJ, so in step A80, the X cooling position or the forward end limit switch L is
Check whether SI or LS4 is on, and if limit switch LSI or LS4 is not on, step A
In step A81, it is determined whether the memory MSTARI is O". Since the memory MSTAR1 has been initialized in the "step data read subroutine" and is 110", the output of the rotation/angle sensor XSE is "H" in step A83. to judge.
“H”でないとき、ステップA89の回転・角度センサ
XSEの出力がL”と判断され、ステップA90でメモ
リMKIN1及びステップΔ91でメモリMSTAR1
に“1″をセットする。そして、X軸エアーモータXA
Mが回動し、X軸の回転・角度センサXSEの出力が“
1−”から°“トビ′に変化するとき、ステップΔ81
でメモリMSTARIが′1”にセットされており、か
つ、ステップΔ82でメモリMKIN1が“1″にセッ
トされているから、ステップA83に入り、そこで“H
″と判断されると、ステップ△84でメモリMXSTP
が「0」であるか判断し、「01でないとき、ステップ
A85でメモリMXSTPを「1」減算する。ステップ
△86でメモリMXXPが「0」でないとき、ステップ
A87でメモリMXXPを[1」減算し、ステップA8
BでメモリMKTN1をリセットする。ステップA89
でX軸の回転・角度センサXSEの出力が1−”と判断
されないとき、ステップA91に移る。更に、X軸エア
ーモータXAMが回動して、回転・角度センサXSEの
出力が“L”となるとステップへ8orX清涼位置また
は前進端リミットスイッチLS1またはLS4がオンで
ないとき、ステップA81からステップ八82に移り、
ステップ八89、ステップ八90、ステップA91と)
Vむ。ぞして、スーテップ△80がX清涼像画または前
)イ(端リミットスイッヂ1−81またはLS2がオン
、或いは、メモリMXSTPが「0」となると、ステッ
プ△91の後、この「モータ制御サブルーチン」の×軸
エアーモータXAMの制御を終了する。When it is not "H", the output of the rotation/angle sensor
Set “1” to “1”. And the X-axis air motor
M rotates, and the output of the X-axis rotation/angle sensor XSE becomes “
When changing from 1-" to °"Tobi', step Δ81
Since the memory MSTARI is set to '1' at step Δ82 and the memory MKIN1 is set to '1' at step Δ82, the process goes to step A83, where it is set to 'H'.
”, in step △84 the memory MXSTP is
If it is not "01", "1" is subtracted from the memory MXSTP in step A85. When the memory MXXP is not "0" in step △86, the memory MXXP is subtracted by [1] in step A87, and in step A8
B resets the memory MKTN1. Step A89
If the output of the X-axis rotation/angle sensor Then, go to step 8 or
Step 889, Step 890, Step A91)
Vmu. Then, if step △80 is set to The control of the x-axis air motor XAM in "subroutine" ends.
即ち、ステップ八80からステップA91は、x帖エア
ーモータXAMが回転するとき、回転・角度はンサXS
Eの出力が゛H”のとき、メモリMXSTP及びMXX
Pを「1」減算し、メモリMXSTPが「0」になるま
で繰り返しこの減算が行われる。回転・角度センサXS
Eの出力が“L”のときには、この減算処理をステップ
八83で回避する。また、×軸エアーモータXAMの回
転初期に、回転・角度センサXSEの出力が“HIIの
とき、メモリMKTN1が“1”にセットされていない
から、メモリMXSTP及びメモリMXXPは減算され
ない。つまり、ステップ八80からステップ△91では
、回転・角度センサXSEが“L”から°H″に立ち上
った初期にメモリM X S T 11及びメモリMX
XPを減T′?でろ回転検出を行うものである。そして
、スラップ△10のメモリM X S 1’ Pの萌及
びステップ△19のメモリMXXPの揃に使用する。That is, from step 880 to step A91, when the air motor XAM rotates, the rotation and angle are
When the output of E is “H”, memories MXSTP and MXX
P is subtracted by "1", and this subtraction is repeated until the memory MXSTP becomes "0". Rotation/angle sensor XS
When the output of E is "L", this subtraction process is avoided in step 883. In addition, when the output of the rotation/angle sensor XSE is "HII" at the beginning of the rotation of the x-axis air motor In steps △91 from 880, the memory M
Reduce XP T'? This is to detect rotary rotation. Then, it is used for aligning the memory M X S 1' P of slap Δ10 and the memory MXXP of step Δ19.
ステップ△100からステップ△111では、y ff
qhエアーモータYAMの回転を検出し、メモリMYS
TP及びメモリMYYPの値を減f3する。From step △100 to step △111, y ff
qh Detects the rotation of air motor YAM and stores memory MYS.
Decrease the values of TP and memory MYYP by f3.
そして、ステップΔ120からステップA131では、
7軸工アーモータ7AMの回転を検出し、メモリMZS
TP及びメモリM7ZPの値を減算する。Then, from step Δ120 to step A131,
Detects the rotation of the 7-axis arm motor 7AM and stores the memory MZS.
The values of TP and memory M7ZP are subtracted.
次に上記減算を含み、ステップA30からステップA4
7のY軸エアーモータYAMの制御について詳述する。Next, including the above subtraction, from step A30 to step A4
The control of the Y-axis air motor YAM in No. 7 will be described in detail.
ステップA30.ステップΔ31でY軸エアーモータY
AMが後退方向の回転か、前進方向の回転か判断し、ス
テップΔ32で、Y清涼位行すミットスイッチLS2が
オンしているか判断し、オンしているとき、ステップ△
33でメモリMYSTPをクリアする。ステップA34
でY帖前進端リミットスイッヂLS5がオンしているが
判断し、オンしているとき、ステップΔ35でメモリM
YSTPをクリアする。前記Y清涼位置リミットスイッ
チしS2及びY軸前進端すミットスイッチLS5が動い
てないとき、ステップA36でメモリM Y S T
Pがrlか判断して、rOJのとぎ、即ち、Y軸移動距
離が「4」パルス数以下のとき、ステップA37で直ち
に、Y f(lエアーブレーキYABをかけるべくメモ
リMYABに“1”をセットする。ステップA3Bでメ
モリMY20が1″にセットされているとき、即ち、メ
モリMYSTPが「12」パルス数以下で「4」パルス
数より大のパルス数の範囲で、ステップM45でメモリ
MY20に°゛11パットされているとき、ステップ4
6でメモリMYYPがrOJであるが判断される。前記
パルス数がr 12 Jパルス数以下で「4」パルスよ
り大のとき、メモリMYYPには「3」がセットされて
いるから、ステップΔ5゜からステップA68を経てス
テップ7oに至り、そこで、Y@エアーモータYAMを
回転させる。Step A30. At step Δ31, the Y-axis air motor Y
It is determined whether AM is rotating in the backward direction or in the forward direction, and in step Δ32, it is determined whether the mitt switch LS2 for moving to the Y cool position is on. If it is on, step △
33 clears the memory MYSTP. Step A34
It is determined that the Y-book forward end limit switch LS5 is on, and when it is on, the memory M is set in step Δ35.
Clear YSTP. When the Y-cooling position limit switch S2 and the Y-axis forward end limit switch LS5 are not moving, the memory M Y S T is set in step A36.
When it is determined that P is rl, and when rOJ is stopped, that is, the Y-axis movement distance is less than "4" pulse number, "1" is written to memory MYAB in order to apply Yf(l air brake YAB) immediately in step A37. When the memory MY20 is set to 1'' in step A3B, that is, when the memory MYSTP is in the range of pulse number less than "12" pulse number and greater than "4" pulse number, memory MY20 is set in step M45. °゛11 When putted, step 4
At step 6, it is determined whether the memory MYYP is rOJ. When the number of pulses is less than or equal to r 12 J pulses and greater than "4" pulses, "3" is set in the memory MYYP, so from step Δ5°, step A68 is reached and step 7o is reached, where Y @ Rotate the air motor YAM.
−77一
回転が開始されると、ステップA100からステップA
111で、メモリMYSTP及びメモリMYYPの値を
減算し、メモリMYYPがrOJになったとき、ステッ
プA47でY軸エアーブレーキYABをかけるべくメモ
リMYΔBに“1″をセットする。また、ステップA3
9でメモリMY35が1”にセットされていると判断さ
れたとき、即ち、Y軸エアーモータYAMの回転をパル
ス数で「12」パルスより大きくr126Jパルス以下
の範囲にあるとき、ステップA39からステップA44
に移り、メモリMYSTPが「10」パルス数以下にな
るまで、Y帖エアーモータYAMを回転させ、ステップ
A44でメモリMYSTPが「101パルス数以下にな
るとステップA45でY軸エアーブレーキYABをかけ
るべくメモリMYΔBに′1”をセットする。-77 When one revolution is started, step A100 to step A
In step 111, the values in the memory MYSTP and the memory MYYP are subtracted, and when the memory MYYP becomes rOJ, in step A47, the memory MYΔB is set to "1" in order to apply the Y-axis air brake YAB. Also, step A3
When it is determined that the memory MY35 is set to 1" in step A39, that is, when the rotation of the Y-axis air motor YAM is within the range of pulses greater than "12" pulses and less than r126J pulses, the steps from step A39 A44
Then, in step A44, the Y-axis air motor YAM is rotated until the memory MYSTP becomes 101 pulses or less, and in step A45 the memory is rotated to apply the Y-axis air brake YAB. Set MYΔB to '1'.
ステップA40でメモリMY70に“1″がセットされ
たとき、即ち、メモリMYSTPがステップM46でN
26Jパルス数より大と判断されたとき、ステップA
42でメモリMYSTPが残り[12C+ 、lパルス
詐以下になるのをみて、残つr126.lパルス数以下
に!蒙ったとき、Y他11エアー[−タYAMを低速回
転させるべくメモリMYHをリセッl−し、低速回転に
入ってから更に残りパルス数が「10」以下になるのを
ステップ△/I4で判断し、残りパルス数が「10」以
下になったとき、ステップΔ45でY@エアーブレーキ
YABをかけるべくメモリMYAr3に1°′をセラ1
へする。なお、ステップΔ36、ステップΔ38、ステ
ップA39、ステップA40の範囲内でないとき、ステ
ップΔ41でマイクロコンピュータCPUを停止させる
。When “1” is set in the memory MY70 in step A40, that is, when the memory MYSTP is set to “1” in step M46,
When it is determined that the number of pulses is greater than 26J, step A
At 42, the remaining memory MYSTP becomes less than [12C+, l pulse false], and the remaining r126. Less than l pulse number! When this happens, reset the memory MYH to rotate the Y and other 11 air [-ta YAM at low speed, and after starting the low speed rotation, determine in step △/I4 that the number of remaining pulses becomes ``10'' or less. When the remaining number of pulses becomes 10 or less, 1°' is set in memory MYAr3 to apply Y@air brake YAB at step Δ45.
to. It should be noted that when it is not within the range of step Δ36, step Δ38, step A39, and step A40, the microcomputer CPU is stopped in step Δ41.
このように、Y軸エアーモータYAMの速度制御の設定
を行った後に、ステップA50からステップ八68の7
軸工アーモータZAMの速度制御に入る。After setting the speed control of the Y-axis air motor YAM in this way, step A50 to step 868-7
Enter speed control of shaft arm motor ZAM.
ステップΔ50からステップA55でX軸及びY@の速
度制御のステップA4からA9及びステップへ30から
ステップA35と同様の7軸の原荀冒或いは前進端リミ
ットスイッチしS3或いは1−86がオンしてい17い
か判断でろ。ステップΔ56でメモリM7STPが「0
」と判断されたとき、即ち、7@Tアー1−り7△Mの
回転が「/I」パルス以下のとき、直ちに7軸エアープ
レーll−7ARをか【づるべくステップA57でメモ
リM7ΔBに“1′°をセット寸ろ。ステップA58で
メモリM720が1′°と判断されたとき、即ち、7軸
工アーモータ7△Mの回転が「4」パルスより大きく「
9」パルス以下のパルス数のとき、ステップA67でメ
モリM7ZPが「3」から「0」になるまで、Z軸エア
ーモータ7ΔMを回転させ、メモリM、7ZPが「0」
になったとき、即ち、残りパルス数が「1」より大きく
「5」以下になったとき、ステップ八68で7軸エアー
ブレーキ7ΔBをかけるべく、メモリMZΔBに1”を
セットする。ステップA59でメモリM735が”1”
にセットされていることが判断されると、メモリMZS
TPの内容が「91パルス数より大きく、M19Jパル
ス数以下の範囲内にあることを意味するから、車力方向
の移動であるZ軸の前進の場合には、ステップΔ65で
メモリM Z・S TPの値が「7」パルス数以下か否
か判断して、「7」パルス数以下になったとき、ステッ
プ八66でZ軸エアーブレーキZΔBをかけるべく、メ
モリM7ABに“1”をセットする。反重力方向の移動
であるZ軸の後退の場合には、ステップΔ63でメモリ
MZSOPの値が「4」パルス数以下か否か判断して、
「4」パルス数以下になったとき、ステップ八64でZ
軸エアーブレーキZABをかけるべくメモリMZABに
1″をセットする。From step Δ50 to step A55, from step A4 to A9 of speed control of the X-axis and Y@, and from step 30 to step A35, the 7-axis original movement or forward end limit switch is switched on, and S3 or 1-86 is turned on. 17 or whatever. At step Δ56, memory M7STP is set to “0”.
", that is, when the rotation of 7@TA1-ri7ΔM is less than the "/I" pulse, the 7-axis air play 11-7AR is immediately stored in the memory M7ΔB in step A57. "Set 1'°. When the memory M720 is determined to be 1'° in step A58, that is, the rotation of the 7-axis machining armor 7ΔM is greater than the "4" pulse.
When the number of pulses is less than 9'' pulses, in step A67, the Z-axis air motor 7ΔM is rotated until memory M7ZP changes from ``3'' to ``0'', and memory M and 7ZP change to ``0''.
In other words, when the number of remaining pulses is greater than "1" and less than "5", the memory MZΔB is set to 1" in order to apply the 7-axis air brake 7ΔB in step 868. In step A59 Memory M735 is “1”
When it is determined that the memory MZS is set to
This means that the content of TP is greater than 91 pulses and less than or equal to M19J pulses, so in the case of forward movement on the Z axis, which is movement in the direction of vehicle force, the memory MZ・S is stored in step Δ65. It is determined whether the value of TP is less than or equal to the number of pulses "7", and when it is less than or equal to the number of pulses "7", "1" is set in the memory M7AB in order to apply the Z-axis air brake ZΔB in step 866. . In the case of retreat on the Z axis, which is movement in the anti-gravity direction, it is determined in step Δ63 whether the value of the memory MZSOP is less than or equal to the number of pulses "4",
When the number of pulses is less than "4", in step 864 Z
Set memory MZAB to 1'' to apply shaft air brake ZAB.
即ち、Z軸前進の場合には重力の影響で軽負荷となるの
に対して、後退する場合には重力の影響で重負荷となる
から、Z@優退の場合との差を「3」パルス数に設定す
るものである。そして、ステップA56、ステップA5
8、ステップΔ59、ステップA60で、いずれの範囲
にも該当しないと判断されたときは、「ステップ デー
タリード サブルーチン」で得た範囲のデータに該当し
ないエラー信号であるから、ステップA61でマイクロ
コンピュータCPUを停止させる。In other words, when moving forward on the Z axis, the load is light due to the influence of gravity, while when moving backward, the load is heavy due to the influence of gravity, so the difference from the case of Z@exit and retreat is "3". This is set to the number of pulses. Then, step A56, step A5
8. If it is determined in step Δ59 and step A60 that the data does not fall within any of the ranges, this is an error signal that does not fall within the range of data obtained in the "step data read subroutine", so in step A61 the microcomputer CPU to stop.
このように、「エアーモータ制御サブルーチン7jでは
、各軸エアーモータの高速または低速速度設定と、各軸
エアーブレーキをかけるタイミングを各メモリにセット
し、その各メモリのセット状態によって各軸エアーモー
タ及び各軸エアーブレーキをI!III Illするも
のである。In this way, "in the air motor control subroutine 7j, the high or low speed setting of each axis air motor and the timing for applying each axis air brake are set in each memory, and the each axis air motor and This is to control the air brakes for each axis.
ここで、再び、手動送り動作の説明に戻る。Here, we return to the explanation of the manual feeding operation.
ステップ424のrエアーモータ制御サブルーチンJを
終了すると、ステップ425で、正・逆転スイッチ82
0が正回転側にオンであるか判断し、正転側にオンして
いるときは、ステップ432でメモリMSTPONに1
°゛をセットし、ステップ433で指定されたアドレス
が最終か判断し、最終でないとき、ステップ+134で
、手動送りスイッチS3がオフになるのを待って■びス
テップ23で手動送りスイッチS3がオンになるのを持
つ。即ち、−回の手動送りスイッチS3のオンにより、
1ステツプだけ前進する。そして、ステップ433でデ
ータ収納アドレスが最終であると判断されたとき、ステ
ップ435で搬送機横制御系をオンし、次の?I!iI
v装物との入れ台えを行い、ステップ7136で手動送
りに必要4fメモリをクリアする。When the r air motor control subroutine J in step 424 is finished, in step 425, the forward/reverse switch 82 is
0 is on for the forward rotation side, and if it is on for the forward rotation side, 1 is stored in the memory MSTPON in step 432.
° is set, and in step 433 it is determined whether the specified address is the final address. If it is not the final address, in step +134, wait until the manual feed switch S3 is turned off, and in step 23, the manual feed switch S3 is turned on. have become. That is, by turning on the manual feed switch S3 - times,
Move forward by one step. Then, when it is determined in step 433 that the data storage address is the final one, the transport machine lateral control system is turned on in step 435, and the next? I! iI
The 4f memory necessary for manual feeding is cleared in step 7136.
1、rお、ステップ425で正・逆転スイッチS20が
逆回転側にあるとき、ステップ426でステップカウン
タMSTPがrOJであるか判断し、rOJのとき、ス
テップ431でガン角度をリセットし、初期状態に戻す
。また、逆回転側にあり、かつ、ステップカウンタMS
TPが[01にないとき、ステップ427でステップカ
ウンタMSTPの値を「1」減算する。そして、ステッ
プ428で「ステップ データ リード サブルーチン
。1により、1ステツプ前のデータにより、ステップ4
2っでガンの姿勢設定を行う。そして、ステップ430
でステップカウンタMSTPに「1−1を加専して、ス
テップカウンタMSTPを前の状態に戻す。即ち、1ス
テツプ前の状態に戻す場合には、ガンの状態を2ステツ
プ前の状態に戻しておいて、ステップ421でガン姿勢
の比較を行うものである。1. When the forward/reverse rotation switch S20 is on the reverse rotation side in step 425, it is determined in step 426 whether the step counter MSTP is rOJ, and when it is rOJ, the gun angle is reset in step 431 to return to the initial state. Return to Also, it is on the reverse rotation side and the step counter MS
When TP is not at [01, the value of step counter MSTP is decremented by "1" in step 427. Then, in step 428, the step data read subroutine.
Set the gun's posture with 2 steps. And step 430
Then apply "1-1" to the step counter MSTP and return the step counter MSTP to the previous state. In other words, to return to the state one step ago, return the gun state to the state two steps ago. Then, in step 421, the gun postures are compared.
このようにして、手動でX刊1、Y@、7@の丁fjI
iZり動作を行うことができろ。In this way, you can manually set the
Be able to perform IZ movement.
しかし、手動送り等の動作中に、特定のステップ(特定
のステップカウンタの!iri )でデータを9%正す
る必要がノ[ヂる場合がある。このとき、必要となるの
が、修正ルーチンである。次にこの修正ルーチンについ
て説明する。However, during operations such as manual feeding, it may be necessary to correct the data by 9% at a specific step (!iri of a specific step counter). At this time, a modification routine is required. Next, this correction routine will be explained.
まず、手動1χリスイツチS3によって特定のステップ
まで手動送りし、プログラムスイッチS6をオンとする
ことにより、そのステップのデータ修正に入ることがで
きる。そこで、必要に応じて、ティーチングのステップ
30からステップ64でX軸の修正位置を、ステップ7
0からステップ104でY軸の修正位置を、ステップ1
10からステップ1/34で7@の修正位置を設定する
。そして、ステップ150を経て、ステップ151から
ステップ15Bで第1塗装ガンGUN1及び第2塗装ガ
ンGUN2の作動を停止させた状態でステップ159の
「ガン姿勢制御サブルーチン」に入リ、必要に応じてガ
ン姿勢を修正する。次に、メモリスイッチS2のオンに
より、ステップ160からステップ170に移りステッ
プ170で補正入力スイッチS21をオンとすることで
、スう−ツブ171からステップ185のX軸の修正位
置、Y!1thの修正位置、7@の修正位置を装置補正
用ディジタルスイッチ入力により修正することができる
。First, by manually advancing to a specific step using the manual 1χ reset switch S3 and turning on the program switch S6, data correction for that step can be started. Therefore, if necessary, the correction position of the X axis can be adjusted in steps 30 to 64 of teaching, and in step 7.
0 to step 104, change the Y-axis correction position to step 1
From step 10, set the correction position of 7@ in step 1/34. Then, after passing through step 150, the operation of the first painting gun GUN1 and the second painting gun GUN2 is stopped in steps 151 to 15B, and then the "gun attitude control subroutine" of step 159 is entered, and the gun position control subroutine is entered as necessary. Correct your posture. Next, by turning on the memory switch S2, the process moves from step 160 to step 170, and by turning on the correction input switch S21 in step 170, the correction position of the X axis from the slide 171 to step 185, Y! The 1th correction position and the 7@ correction position can be corrected by inputting a device correction digital switch.
これらのサブルーチンによって得られたX軸前進カウン
タMPXFとX @4e 選カウンタMPXRとの値か
ら、X軸上の現在位置を算出する。即ち、ステップ19
0でX軸前進カウンタMPXFの値から、X @4G
3U力ウンタMPXRの値を減算した後、ステップ19
1でその値により、X軸前進データか、X戦後退データ
かを判断する。前進データのときステップ200でメモ
リMSTPONが手動送りに入っており、。1”にセッ
トされているから、ステップ201でメモリMXYZで
X@指定のrOJを設定し、ステップ202で「前進修
正サブルーチン」に入る。The current position on the X-axis is calculated from the values of the X-axis advance counter MPXF and the X@4e selection counter MPXR obtained by these subroutines. That is, step 19
From the value of the X-axis advance counter MPXF at 0, X @4G
After subtracting the value of the 3U power counter MPXR, step 19
1, and depending on the value, determine whether it is the X-axis advance data or the X-axis retreat data. For forward data, the memory MSTPON is in manual feed at step 200. 1", in step 201 the rOJ specified by X@ is set in the memory MXYZ, and in step 202 the "forward correction subroutine" is entered.
次に、第46図に示す「前進修正サブルーチン」を説明
する。Next, the "forward correction subroutine" shown in FIG. 46 will be explained.
ステップF1でメモリMFにX軸前進カウンタM P
X F h”l X @後i1 カラ> ’j M P
X Rを減算した値を入れる。ステップF2でrステ
ップ データ リード サブル−チン、jに入り、ステ
ップカウンタMSTPの値でアドレス指定してデータリ
ードを行い、ステップF3で修正しようとするメモリM
r)ATAの最上位ビットをみて、そのメモリMDAT
Aが前進データであるか、後退データであるか判断する
。前進データのとき、ステップ「4でメモリMDATA
に、メモリM「の値を加算し、メモリMDATAの修正
後の値とする。後退データのとぎ、ステップF5でメモ
リMl)ATへの値がメモリMFの値より大きいか判断
して、大きいとき、ステップF6でメモリMDATAの
値からメモリM「の値を減算し、メモリMDATAの修
正後の値とする。メモリMr)ATAの値がメモリMF
の値より小さいとき、ステップF7でメモリM「の値か
らメモリMl’)ATA@減口して、その修正値を得る
と共に、最−L位ビットの“1”を0゛°に艮転させて
、X帖前進データとし、メTE IJ M nΔT△の
修iT 4f2の値とJろ。そして、スフツブ[8で、
ステップカウンタM S T Pの(nににリアドレス
指定をし、修正(りのメモリMDAT△の値をメモリに
収納する。更に、ステップ[9でステップカウンタMS
TPを1カウン1〜アツプし、ステップF10で修正し
ようとするアドレスの次のアドレスを指定し、ステップ
「11で、次のステップのデータが前進か後退かを判断
し、後退のとき、ステップF12で次のステップのメモ
リMDへTΔの値にメモリMFの値を加算した値を、修
正後のメモリMr)ATAの値とする。前進のとき、ス
テップF13でメモリMFの値と次のステップのメモリ
Mr)ATへの値と比較して、次のステップのメモリM
r)ATAの値がメモリMFの値より大きいとき、ステ
ップF14でメモリM1’)ATAの値からメモリMF
の値を減算した値を、修正1uのメモりMr)ATへの
値とする。次のステップのメモリMDATAの値がメモ
リMFの値より小さいとき、ステップF15でメモリM
Fの値からメ1すMr)△丁への伯を減Qした(白を、
修正((のメモリM11ΔT△の伯とでる。イして、こ
のようにして19られたメモリMDAT△の伯を、ステ
ップ「16でステップカウンタMSTPにJ、リアドレ
ス指定し、指定したアドレスへメモリMr)八TΔの値
を収納し、ステップ「17でステップカウンタMSTP
の値を1カウントダウンして、もとの状態に戻し、ステ
ップF18で「前進修正サブルーチン」を終了する。In step F1, the X-axis advance counter M P is stored in the memory MF.
X F h”l X @back i1 Kara>'j M P
Enter the value obtained by subtracting X R. Step F2 enters the r step data read subroutine j, reads data by specifying the address with the value of the step counter MSTP, and in step F3 the memory M to be modified is
r) Look at the most significant bit of ATA and read its memory MDAT.
Determine whether A is forward data or backward data. For forward data, the memory MDATA is
The value of the memory M is added to the value of the memory MDATA to obtain the corrected value of the memory MDATA.After the backward data, it is determined in step F5 whether the value to the memory Ml)AT is larger than the value of the memory MF. , in step F6, the value of memory M is subtracted from the value of memory MDATA to obtain the corrected value of memory MDATA.
When it is smaller than the value of , in step F7, the memory Ml')ATA@ is decremented from the value of the memory M to obtain the corrected value, and at the same time, the L-most bit "1" is changed to 0°. Then, set it as the forward data of the
Re-address step counter M S T P (n) and store the value of memory MDAT△ in the corrected memory in memory.
TP is increased by one count from 1 to 1, and in step F10, the next address of the address to be corrected is specified.In step 11, it is determined whether the data of the next step is forward or backward, and if it is backward, step F12 The value obtained by adding the value of memory MF to the value of TΔ to the memory MD of the next step is set as the value of the corrected memory Mr)ATA.When moving forward, the value of memory MF and the value of the next step are set in step F13. Memory M of the next step compared with the value to AT
r) When the value of ATA is larger than the value of memory MF, in step F14 memory M1') is transferred from the value of ATA to memory MF.
The value obtained by subtracting the value of is set as the value to the modified 1u memory Mr)AT. When the value of the memory MDATA in the next step is smaller than the value of the memory MF, the memory M
From the value of F to Mr.
Modify the memory M11ΔT△ of memory M11 ((). Then, the memory MDAT△, which is 19 in this way, is specified as J to the step counter MSTP in step 16, and the rear address is specified, and the memory is transferred to the specified address. Mr) Stores the value of 8TΔ, and at step ``17'' sets the step counter MSTP.
The value of is counted down by 1 and returned to the original state, and the "forward correction subroutine" is ended in step F18.
また、ステップ191で後退データであると判断された
ときは、ステップ195を経て、第47図に示すステッ
プ196のF qa 3ri修正サブルーチンJに入る
。If it is determined in step 191 that the data is backward data, the process goes through step 195 and enters the F qa 3ri correction subroutine J in step 196 shown in FIG.
ステップB1でメモリMr3にX N II ;mカウ
ンタMPXRから×戦前3瓢カウンタMPXFを減算し
た値を入れる。ステップB2で「ステップ データ リ
ード サブル−チン」に入り、ステップカウンタMST
Pの値でアドレス指定するデータリードを行い、ステッ
プ83 F if正しようとするメモリMDATAの最
上位ビットをみて、そのメモリMDΔT△が前進データ
であるか、後退データであるか判断する。後退データの
とき、ステップB4でメモリMDATAに、メモリMI
’3の値を加算し、メモリMDATAの修正1uの値と
する。後退データでないとき、ステップB5でメモリM
DATAの値がメモリMBの値より大きいか判断して、
大きいとき、ステップB6でメモリMDATAの値から
メモリMBの値を減算し、メモリMDATAの修正後の
値とする。メモリMDATAの値がメモリMBの値より
小さいとき、ステップB7でメモリMF3の値からメモ
リMDATΔを減算して、その修正値を得ると共に、最
上位ビットに“1″をセットしてX @ 後退データと
し、メモリMDATAの修正後の値とする。そして、ス
テップB8で、ステップカウンタMSTPによってアド
レス指定を行い、修正後のメモリMDMAの値を呼び出
したメモリに収納する。更に、ステップBっでステップ
カウンタMSTPを1カウントアツプし、ステップB1
0で修正しようとするアドレスの次のアドレスを指定し
、ステップ811で、次のステップのデータが前進か後
退かを判断し、1ワ退のとき、ステップR12で次のス
テップのメモリMr)ATAの値にメモリMllの値を
加算した値を、修正後のメモリMDATAの値とする。In step B1, a value obtained by subtracting x pre-war 3 gourd counter MPXF from X N II ;m counter MPXR is input into memory Mr3 in step B1. In step B2, the "step data read subroutine" is entered, and the step counter MST
A data read is performed by specifying the address using the value of P, and in step 83 F if the most significant bit of the memory MDATA to be corrected is looked at, it is determined whether the memory MDΔTΔ is forward data or backward data. When it is backward data, the memory MDATA is stored in the memory MI in step B4.
Add the value '3 and set it as the modified value 1u of the memory MDATA. If it is not backward data, the memory M is stored in step B5.
Determine whether the value of DATA is greater than the value of memory MB,
If it is larger, the value of memory MB is subtracted from the value of memory MDATA in step B6, and the value is set as the corrected value of memory MDATA. When the value of the memory MDATA is smaller than the value of the memory MB, in step B7, the memory MDATΔ is subtracted from the value of the memory MF3 to obtain its corrected value, and the most significant bit is set to "1", so that X @ backward data is obtained. This is the corrected value of the memory MDATA. Then, in step B8, addressing is performed using the step counter MSTP, and the corrected value of the memory MDMA is stored in the called memory. Furthermore, step B1 counts up the step counter MSTP by 1.
0 specifies the next address of the address to be corrected, and in step 811 it is determined whether the data of the next step is forward or backward, and when it is backward by 1, the next step's memory Mr) ATA is specified in step R12. The value obtained by adding the value of the memory Mll to the value of is set as the value of the memory MDATA after correction.
前進のとき、ステップB13でメモリMBの値と次のス
テップのメモリMDATAの値と比較して、次のステッ
プのメモリMDATAの値がメモリMBの値より大きい
とき、ステップ814でメモリMDATAの値からメモ
リMBの値を減算した値を、修正後のメモリMr)八T
△の値とする。次のステップのメモリMDATΔの値が
メモリMBの値より小さいとき、ステップ815でメモ
リMBの値からメモリMr)ATAの値を減算した値を
、修正(すのメモリMr)ATAの値とする。そして、
このようにして(9られたメモリMr)ATAの値を、
ステップB16でステップカウンタMSTPによりアド
レス指定し、指定したアドレスへメモリMr)ATAの
値を収納し、ステップB17でステップカウンタMST
Pの値を1カウントダウンして、もとの状態に戻し、ス
テップB18で「(春退肖11ノブルーブン、′、を咋
?了づろ。When moving forward, the value of the memory MB is compared with the value of the memory MDATA of the next step in step B13, and if the value of the memory MDATA of the next step is larger than the value of the memory MB, the value of the memory MDATA is determined in step 814. The value obtained by subtracting the value of memory MB is the corrected memory Mr) 8T
The value is △. When the value of the memory MDATΔ in the next step is smaller than the value of the memory MB, in step 815, the value obtained by subtracting the value of the memory Mr)ATA from the value of the memory MB is set as the value of the corrected (memory Mr)ATA. and,
In this way, the value of (memory Mr) ATA is
In step B16, an address is designated by the step counter MSTP, the value of the memory Mr)ATA is stored in the designated address, and in step B17, the step counter MST is stored.
Count down the value of P by 1, return it to the original state, and in step B18, ``(Spring retirement 11th November, ', 对?' is completed.
1714m +、m L、 T、Y l!qllni+
進t’i iT’: ヲ/’、 7 ツ7221、ステ
ップ222で、Y軸(わ’rU修正をステップ215、
ステップ216で、7軸1iii進修iFをスラップ2
41、ステップ2/I2で、7軸(話)R修正をステッ
プ235、ステップ236で行うことができろ。1714m +, m L, T, Y l! qllni+
Shin t'i iT': wo/', 7 tsu 7221, step 222, Y axis (wa'rU correction step 215,
At step 216, slap 2 on the 7th axis 1iii Shinshu iF.
41. In step 2/I2, 7-axis (talk) R correction can be performed in steps 235 and 236.
そして、ステップ350に移る。メモリMSTPONは
丁切込つに入ると、スう一ツブ431で1″がセットさ
れているから、ステップ350からステップ351にス
テップアップし、メモリMSTP2にステップカウンタ
M S T Pの値を移す。ステップ352でスフツブ
カウンタMSTPの(直が「0」か判断して、rOJの
とき、ステップ3540減算が不可能となるから、「エ
アーモータ制御サブルーチン」のステップA73でメモ
リMSTPIにステップカウンタMSTPの値を移した
値をステップ353でステップカウンタMSTPに移す
。即ち、ステップカウンタMSTPがrOJとは、ステ
ップカウンタMSTPが最大値に達した後の、次のステ
ップでクリアされた状態であるから、スフツブノ」ウン
タM8丁[)の「根太iif+ 11.!の伯をメモり
MSTriのlf+として、スラップ354でステップ
カウンタMSTPの(il’+ h目’) I’ 1−
l減のしてn M mと46゜イしてステップ355に
にってステップ354で得たステップカウンタMSTP
の蛸でアドレス指定し、そのメモリに各り一カの修正デ
ータを収納でる。ステップ35GではメモリMSTPO
Nに“1′′がセットされているから、ステップ357
でメモリMSTP2がrOJか判断される。ステップ3
57でメモリMSTP2が「0」のとき、rモータ制御
サブルーチン、lにより次のステップにステップカウン
タMSTPがカウントアツプされて最終ステップがクリ
アされた状態であるから、それをもどに戻すためにステ
ップカウンタMSTPがrOJのときのみメモリM S
T P 1を使用して算出しているから、ステップカ
ウンタMSTPをもとに戻す場合には、ステップ351
でステップカウンタMSTPが「0」のとき、再び、「
0」にする必要があり、ステップ358でステップカウ
ンタMSTPに[OJを設定し、メモリMSTρ2がr
OJでないとき、ステップカウンタMSTPの値を1カ
ウントアツプしてもとに戻す。そして、ステップ360
でメモリスイッチS2がオフになるのを待って、オフに
なると、ステップ361で各軸前進・後退カウンタをク
リアする。Then, the process moves to step 350. When the memory MSTPON enters the first incision, since 1'' is set in the step 431, the process steps up from step 350 to step 351 and transfers the value of the step counter M S T P to the memory MSTP2. In step 352, it is determined whether the step counter MSTP (direction) is "0", and if it is rOJ, step 3540 subtraction is impossible, so in step A73 of the "air motor control subroutine" the step counter MSTP is stored in the memory MSTPI The transferred value is transferred to the step counter MSTP in step 353.In other words, the step counter MSTP is in the state of rOJ, which is cleared in the next step after the step counter MSTP reaches the maximum value. Memorize the count of ``joist iif+ 11.!'' of counter M8 [) as lf+ of MSTri, and with slap 354, step counter MSTP's (il' + hth') I' 1-
The step counter MSTP obtained in step 354 is obtained by subtracting l and increasing n M m by 46 degrees and going to step 355.
You can specify an address using the octopus, and store each piece of modified data in that memory. In step 35G, the memory MSTPO
Since "1'' is set in N, step 357
It is determined whether the memory MSTP2 is rOJ. Step 3
When the memory MSTP2 is "0" in step 57, the step counter MSTP is incremented at the next step by the r motor control subroutine l, and the final step is cleared. Memory MS only when MSTP is rOJ
Since the calculation is performed using T P 1, if you want to return the step counter MSTP to its original value, step 351
When the step counter MSTP is "0", again, "
0", and in step 358 the step counter MSTP is set to "OJ", and the memory MSTρ2 is r
When it is not OJ, the value of the step counter MSTP is incremented by 1 and returned to the original value. and step 360
Wait until the memory switch S2 is turned off, and when it is turned off, the forward/reverse counters for each axis are cleared in step 361.
このようにして、ステップカウンタMSTPでアドレス
指定したアドレスに修正データを入れることができる。In this way, modification data can be placed at the address specified by the step counter MSTP.
しかし、特定のアドレスに入れた修正データに誤りがあ
り、そのステップで再び修正を行う必要が生ずる場合が
ある。しかし、ステップカウンタMSTPには、「エア
ーモータ制御サブルーチン」のステップA72で既にカ
ウントアツプされているから、再度同じアドレスを指定
し、データリードしてガン姿勢を設定する必要がある。However, there may be an error in the correction data entered at a specific address, and it may be necessary to perform correction again at that step. However, since the step counter MSTP has already been counted up in step A72 of the "air motor control subroutine", it is necessary to designate the same address again, read the data, and set the gun posture.
この場合は、プログラムスイッチS6をオフとすればよ
い。In this case, the program switch S6 may be turned off.
即ち、ステップ150でプログラムスイッチS6がオフ
となると、ステップ370でメモリMSTr”ONに“
1″がレットされているか判断される。手切込りに入る
とメモリMSTPONにII 1 IIがセットされて
いるから、ステップ370からステップ450に移る。That is, when the program switch S6 is turned off in step 150, the memory MSTr is turned on in step 370.
It is determined whether or not 1'' has been let. When entering manual cutting, since II 1 II is set in the memory MSTPON, the process moves from step 370 to step 450.
ステップ450ではメモリMSTP2にステップカウン
タMSTPの値を移し、ステップ11I51でステップ
カウンタMSTPの値がrOJか判断する。。rOJの
とき、rエアーモータ制御サブルーチン」のステップA
73でセラ1−されたメモリMSTP1の値をステップ
カウンタMSTPに移した後、ステップ453でステッ
プカウンタMSTPから1カウントダウンさせて、その
カウントダウンさせたステップカウンタMSTPにより
、ステップ454で「ステップデータ リード リブル
ーチン」を行い、ステップ455でリードしたデータを
出力する。そして、ステップ456及びステップ457
でステップカウンタMSTPの値をもとに戻す。In step 450, the value of the step counter MSTP is transferred to the memory MSTP2, and in step 11I51, it is determined whether the value of the step counter MSTP is rOJ. . Step A of ``When rOJ, r air motor control subroutine''
After transferring the value of the memory MSTP1, which is set to 1 in step 73, to the step counter MSTP, the step counter MSTP is counted down by 1 in step 453, and the step data read lib routine is executed in step 454 using the counted down step counter MSTP. '' and outputs the data read in step 455. Then, step 456 and step 457
The step counter MSTP is returned to its original value.
この1し、プログラムスイッチS6をオンすれば、前記
修正ステップの値を再度修正することができる。If the program switch S6 is then turned on, the value of the correction step can be corrected again.
ティーチングを完了すると、自動で木180ボー旧− ッ]〜を千力負さぜろことができる。After completing the teaching, it will automatically change to 180 baud. ] can be carried out with a thousand powers.
次に自動で被塗装物の4ルーを行う場合のルーチンにつ
いて説明する。Next, a routine for automatically carrying out 4-routing of the object to be painted will be explained.
第14図から第16図のメインルーチンにd5いて、ス
テップ1/lでT1・自チ14切替スイッ−7S1が自
動側に入っているどき、ステップ13でステップカウン
タM S T ))がクリアされ、ステップ14で自動
運転に入る。まず、ステップ500でガン姿勢をリセッ
トし、原イ◇「1のガン姿勢に設定でる。ステップ50
1で、原位置にあるか判断し、原イ◇胃にないとき、原
位F?復帰スイツブS4がオンになるのをステップ50
2で待つ。ステップ502で原位置復帰スイッチS4が
オンとなると、スラップ503で「原位置復帰りブルー
チン」に入り、前記「原イ◇胃復帰サブルーチン」を終
了すると、ステップ504でスタートスイッチS5がオ
ンになるのを待機する。スタートスイッチS5がステッ
プ504でガンになり、ステップ506でオフとなると
、ステップ507でメモリMS丁ΔRに1″をセットし
、スタートスイッチS5がオフどなっても、ステップ5
05でメモリMSTARが“1′°となるから、−づL
スタートスイッチS5がオンになるとステップ504、
ステップ506、ステップ507、ステップ505で自
己保持されることに17る。そして、ステップ508で
第1塗装ガンGUN1及び第2q装ガンGUN2のエア
ー供給用バルブGUN11及びGUN21のソレノイド
Q26及びG29をオンして塗装用エアーを各塗装ガン
に供給する。ステップ509でrステップ データ リ
ード サブルーチン」に入り、まず、ステップカウンタ
MSTPの(直により、アドレス指定を行い、移動距頭
データをリードする。ステップε)10でリードしたデ
ータにより、メモリMHANTがクリアされ°“O″に
なっているか、或いは“′1パにセットされているか判
断をする。d5 in the main routine of FIGS. 14 to 16, and when the T1/self 14 changeover switch 7S1 is set to the automatic side in step 1/l, the step counter M S T )) is cleared in step 13. , enters automatic operation in step 14. First, in step 500, the gun posture is reset and the original gun posture is set to ◇1.Step 50
In step 1, determine whether it is in the original position, original A◇If it is not in the stomach, is it in the original position F? Wait until the return switch S4 is turned on in step 50.
Wait at 2. When the home position return switch S4 is turned on at step 502, the "home position return blue routine" is entered at slap 503, and when the "home position return subroutine" is completed, the start switch S5 is turned on at step 504. wait. When the start switch S5 is turned on in step 504 and turned off in step 506, 1'' is set in the memory MS ΔR in step 507, and even if the start switch S5 is turned off, the operation in step 5 is
Since the memory MSTAR becomes "1'° at 05, -zuL
When the start switch S5 is turned on, step 504;
It is self-held in steps 506, 507, and 505. Then, in step 508, the solenoids Q26 and G29 of the air supply valves GUN11 and GUN21 of the first painting gun GUN1 and the second q-equipped gun GUN2 are turned on to supply painting air to each painting gun. Step 509 enters the "r step data read subroutine", and first, the memory MHANT is cleared by the data read in step 10 of the step counter MSTP. ° Determine whether it is set to "O" or "'1".
メモリMHANTはステップ11でイニシャライズされ
ているから、ステップ520の処即に入る。特定のステ
ップまでステップカウンタMSTPがカラン1−アップ
すると、メモリMHΔNTは“′1′°となる。このと
き、ステップ510からスーテップ511に移り、メモ
リM HA N Tが“′1゛′にセットされているか
判断する。メモリMHANT1はメモリMHANTと同
様ステップ11でイニシャライズされているから、ステ
ップ512に入る。ステップ512で第1塗装ガンGU
N1及び第2塗装ガンGUN2の塗オ′!1供給回路が
問いているか判断し、塗料供給制御用バルブG U N
10及びG U N 20のソレノイドG25及び0
28が励磁されているとき、ステップ513で前記ソレ
ノイドG25及びG28をオフとし、一旦第1塗装ガン
GUN1及び第2塗装ガンG U N 2からの塗料の
吹き出しを停止させる。ステップ514でメモリMHA
NT1を1″にセットし、ステップ515で被塗装物搬
送機構の反転は構をオンとする。ステップ514でメモ
リM HA N T 1が1″にセットされると、ステ
ップ511で継続するメモリMH△NTの1″に対して
その状態を保持することができる。Since the memory MHANT has been initialized in step 11, the process immediately enters step 520. When the step counter MSTP increases by 1 to a specific step, the memory MHΔNT becomes "'1". At this time, the process moves from step 510 to step 511, and the memory MHANT is set to "'1". determine whether Since the memory MHANT1 has been initialized in step 11 like the memory MHANT, step 512 is entered. In step 512, the first painting gun GU
Painting with N1 and second paint gun GUN2! 1 Determine whether the supply circuit is in question, and apply the paint supply control valve G U N
10 and GUN 20 solenoid G25 and 0
28 is energized, the solenoids G25 and G28 are turned off in step 513, and the spraying of paint from the first paint gun GUN1 and the second paint gun GUN2 is temporarily stopped. In step 514, the memory MHA
NT1 is set to 1'', and in step 515, the reversal mechanism of the object conveying mechanism is turned on.When the memory MHANT1 is set to 1'' in step 514, the continuing memory MH is set in step 511. The state can be maintained for 1″ of ΔNT.
前記反転機構が作動を開始すると、ステップ516で反
転は構側のマイクロスイッチ等が自己保持し、反転機構
が作動状態となり、ステップ517で反転出力をオフと
する。反転Ill tFiが反転を完了すると、ステッ
プ518で反転門構の自己保持が解除され、反転lf!
I椙が?!!+ゆ装物の反転を完了させる。When the reversing mechanism starts operating, in step 516 the reversing is self-maintained by a microswitch or the like on the construction side, the reversing mechanism becomes operational, and in step 517 the reversing output is turned off. When the inversion Ill tFi completes inversion, the self-holding of the inversion gate structure is released in step 518, and the inversion lf!
What about Isugi? ! ! +Complete the reversal of the clothing.
そして、ステップ520でガン姿勢が前のステップの状
態と同一かY+1断し、同一でないとき、一旦、塗料の
噴射を停止させてガン姿勢を設定するために、ステップ
512で塗料供給制御用バルブG U N 10及びG
UN20のソレノイドG25及び028がオンしている
か判断して、塗料供給制御用バルブが問いているとき、
ステップ522で前記塗料の供給を制御する塗料供給制
御用バルブG U N 10及びG U N 20のソ
レノイドの励磁を断つ。ステップ523で、メモリMG
UN1 、MGUN2 、MR1、MR2、MR718
0、MR790の設定内容によりガン姿勢設定を行う。Then, in step 520, it is determined whether the gun posture is the same as the state in the previous step by Y+1, and if it is not the same, in order to temporarily stop the paint injection and set the gun posture, in step 512, the paint supply control valve G is determined. U N 10 and G
When it is determined whether solenoid G25 and 028 of UN20 are on and the paint supply control valve is inquiring,
In step 522, the excitation of the solenoids of the paint supply control valves GUN 10 and GUN 20, which control the supply of the paint, is cut off. In step 523, the memory MG
UN1, MGUN2, MR1, MR2, MR718
0. Set the gun posture according to the settings of MR790.
ステップ524でガン姿勢設定に要する時間だけ時間持
ちを行った後、ステップ525で、第1塗装ガンGUN
1及び第2塗装ガンr、 IJ N 2の塗fl供給用
バルブGll□\(10及びGUN2[’)のソレノイ
ド(’、25或い1.t(’d8をIl+長1して、m
V’l ヲnrI DI サt!、ステラフ526r
l’−Tフーモー9111御す−ブル−丁−ン、11に
入る。After waiting for the time required to set the gun posture in step 524, in step 525, the first painting gun GUN
Solenoid (', 25 or 1.t (', d8 = Il + length 1, m
V'l OnrI DI Sat! , Stellaf 526r
Enter l'-T Fumo 9111 Blue Room, 11.
前記「エアーモータ制御→ノブルーチン、1が終了づろ
ど、次のステップ527でステップカウンタMSTPの
アドレス指定が最符アドレスであることが判断されない
限り、ステップ504からステップ507で自己保持し
ているスタートスイッチS5を介して、再び「ステップ
データ リードサブルーチン」に入り、この動作を繰
り返し行ら。When the above-mentioned "air motor control→knob routine 1" is completed, it is self-held in steps 504 to 507 unless it is determined in the next step 527 that the address specification of the step counter MSTP is the highest address. Via the start switch S5, enter the "step data read subroutine" again and repeat this operation.
ステップ527でステップカウンタMSTPのアドレス
指定が最終アドレスであることが判断されると、ステッ
プ528でff4’l供給制御用バルブG IJ N
10及びGUN20のソレノイドG25及びG28が励
磁されているか判断して、励磁されているとき、ステッ
プ529でその励m電流を断ち、ステップ530でその
効果が戻われる時間持ちを行った1す、ステップ531
で第1塗装ガンG U N 1及び第2苧装ガン(:i
L、’ N 2にllj給4ろ丁アーイj1給用バル
ブG 1.J N 11及びGLJN21のソレノイド
G2G及びG29の励(イ1を断ち、ステップ532で
、この白Φ)I i’+りに使用した各メモりをツノリ
アし、ステップ533で「原イひ直□弊すブルーブン、
1により原位置に戻し、次の指示を時機1ろ。When it is determined in step 527 that the address specified by the step counter MSTP is the final address, in step 528 the ff4'l supply control valve G IJ N
It is determined whether the solenoids G25 and G28 of GUN 10 and GUN 20 are energized, and if they are energized, the energizing current is cut off in step 529, and a time period for the effect to be restored is performed in step 530. 531
The first painting gun GUN 1 and the second coating gun (:i
L, ' N 2 to llj supply 4 filter Ai j1 supply valve G 1. Energize the solenoids G2G and G29 of JN 11 and GLJN21 (cut off A1, and in step 532, energize each memory used for I Blue Bun,
Return to the original position by 1 and give the next instruction at 1.
このJ:うにして、自動送りを完了する。This J: completes the automatic feed.
本実施例は、各ステップ伯に塗装ガンの仲買及び姿勢を
メモリに記録するティーチングT程と、前記ティーチン
グ工程で(ワだデータを手e送り操作によって順次メモ
リからリードする工程と、前記千Cj送り工程において
特定ステップのデータを修正する修正工程と、前記ティ
ーチング工程で得たデータを自動送り操作によって順次
メモリからリードし被塗装物に塗装する工程と、前記特
定ステップのデータにおけるガン姿勢を確認するための
吹付は状態確認工程からなることを特徴とするζ装ロボ
ットであるが、本発明においては前記吹付は確認工程は
必ずしも必要な工程ではなく、選択的な要件である。This embodiment includes a teaching step in which the handling and posture of the painting gun are recorded in the memory at each step, a step in which the data is sequentially read from the memory by manual e-feeding, and A correction process in which the data of a specific step is corrected in the feeding process, a process in which the data obtained in the teaching process is sequentially read from memory by an automatic feed operation and coated on the object to be coated, and a gun posture is confirmed in the data of the specific step. Although the ζ-equipped robot is characterized in that the spraying for the purpose of the present invention includes a status confirmation process, in the present invention, the spraying and confirmation process is not necessarily a necessary process, but is an optional requirement.
−1(’)0 −
前記吹付は確HI稈を有するものは、自動運転の際の塗
11の吹付(j状態が確認でき、イの修正が間中である
。そして、前記修正工程ど共に、類似被塗装物の場合の
運転が昨正によってプログラミングできる。-1 (') 0 - The above spraying is sure to be HI, and the coating 11 is sprayed during automatic operation (state J can be confirmed, and correction of A is in progress. , operation for similar objects to be coated can be programmed by Saisho.
また、本実施例においては、前記位置設定手段の駆t)
3手段としてエアーモータを、移動手段としてボールネ
ジを、制動手段としてエアーブレーキを具備するもので
ある。しかし、本発明を実施するに際して、移動手段及
び制動手段は、前記ボールネジ、エアーブレーキに限定
されるものではない。しかし、移動手段にボールネジを
用いたものは、その遊びが少なく、移動距離がボールネ
ジのピッチから算出できるから、回転数及び回転角度か
らその移動rl’i 1!111を決定することができ
る。また、制動手段にエアーブレーキを用いたものは、
駆動手段としてエアーモータを、塗装ガンにエアーを使
用していることから、駆動及び制動を同一のエアー制御
で行うのは、制ffI′l媒体を統一でき効果的である
。In addition, in this embodiment, the position setting means (t)
It is equipped with an air motor as three means, a ball screw as a moving means, and an air brake as a braking means. However, when carrying out the present invention, the moving means and braking means are not limited to the ball screw and air brake. However, when a ball screw is used as the moving means, there is little play and the distance of movement can be calculated from the pitch of the ball screw, so the movement rl'i 1!111 can be determined from the rotation speed and rotation angle. In addition, those that use air brakes as a braking means,
Since an air motor is used as the driving means and air is used for the coating gun, it is effective to perform driving and braking using the same air control because the control ffI'l medium can be unified.
−101一
本実施例においては、塗装ガンをX@、Y軸、Z軸上を
移動させて三次元空間における位置決めを行う位置もΩ
定手段と、前記塗装ガンを90度及び180度回勅する
手段にJ一つて、水平角度において、0度、90度、1
80度、270度の旋回可能とし、更に、垂直角度にお
いて、45−01度、45度、45+θ1度の角変位を
可能とするガン姿勢制御手段と、塗装ガンの吹付は状態
を制御するガン作動制御手段からなる塗装ロボットに関
するものであり、一般に必要とされる塗Fl噴(ト)角
度を1ワることができる。-101 In this embodiment, the position at which the painting gun is positioned in three-dimensional space by moving on the X@, Y-axis, and Z-axis is also Ω.
and means for rotating the paint gun by 90 degrees and 180 degrees.
A gun posture control means that enables rotation of 80 degrees and 270 degrees, and further enables angular displacement of 45-01 degrees, 45 degrees, and 45 + θ1 degrees in the vertical angle, and a gun operation that controls the spraying state of the paint gun. This invention relates to a painting robot consisting of a control means, and is capable of increasing the spraying angle by one degree, which is generally required.
ぞして、本実施例においては、前記塗装ガンとして第1
塗装ガン及び第2塗装ガンを有し、しかも、第1塗装ガ
ンを垂直下向きに固定とし、第2塗装ガンを90rfi
及び180度回動する手段によって、水平角度において
、0度、90度、180度、270度の旋回可能とし、
更に、垂直角度において、45−01度、45度、45
+(71度の01を、01=±22.5度とすることに
よって、22.5i、45咲、67.5度の角変位を可
能とし、第141−ガンどJl、に使用?iることに」
一つC0度、22.5麿、/15町、fi7.5IQの
角変イQを可fiFど11ろt)のて゛あり、塗装ガン
の哨用の広がり角]グからしで、吹付1J e 0度か
ら略90■まで均一・に(jうことができろ。Therefore, in this embodiment, the first painting gun is
It has a painting gun and a second painting gun, and the first painting gun is fixed vertically downward, and the second painting gun is fixed at 90rfi.
and a means for rotating 180 degrees, allowing rotation of 0 degrees, 90 degrees, 180 degrees, and 270 degrees in the horizontal angle,
Furthermore, in the vertical angle, 45-01 degrees, 45 degrees, 45
+ (By setting 01 of 71 degrees to 01 = ±22.5 degrees, angular displacement of 22.5i, 45 degrees, 67.5 degrees is possible, and it is used for the 141st gun Jl. Especially”
One C0 degree, 22.5 degrees, /15 town, fi 7.5 IQ angle change is possible, fiF 11 rot), the spread angle of the paint gun] mustard, spraying 1J e It should be possible to do it uniformly from 0 degrees to about 90 degrees.
[発明の11
以上の様に本発明は、塗装ガンの(<liFを変動さゼ
る駆φ力源としてTアーモータを用いIこものであるか
ら、比較的安価<1空気ff機構を用いて塗装ロボッ1
−を構成でろことができ、塗装ロボットを廉価にづろこ
とができる。[Invention 11 As described above, the present invention uses a T-ar motor as a driving force source that changes the (<liF) of the painting gun. Robot 1
- It is possible to configure a painting robot at a low cost.
ぞして、本発明の塗装ロボットは、W Zガンを移動さ
せる×軸移動用エアーモータと、Y軸移動用エアーモー
タと、Z軸移動用エアーモータによって三次元空間を移
動させるか動手段及び移動手段及びWlllll回動ら
2rる情胃決めを行う位置設定手段と、前記塗装ガンを
水平に旋回する水平旋回手段及び前記塗装ガンを垂直に
角変位で−る垂直角変位手段からなるガン姿勢制御手段
と、塗装ガンの吹付けを制tIlするガン作動制御手段
からなるもの了゛あろから、イの制御媒体として空気■
のみを使用づればよいから、比較的安価な空気f1機(
1−1を用いて# Rnボッ1〜を+M成づろことがで
さ、塗装ロボッ1へを1旺価にηろことができる。また
、電気す(柁を発!1′1ろ制tlp要素をγグ装ガン
のイ」近に^i! :Qづろ必要が7丁いから、塗¥;
1及び溶剤の種類によって塗装ロボットの使用が限定さ
れるものでなく、かつ、安全である。Therefore, the painting robot of the present invention moves the WZ gun in a three-dimensional space using an x-axis moving air motor, a Y-axis moving air motor, and a Z-axis moving air motor. A gun posture consisting of a moving means, a position setting means for determining the position by rotating the paint gun horizontally, a horizontal turning means for horizontally turning the painting gun, and a vertical angular displacement means for vertically angularly displacing the painting gun. Since it consists of a control means and a gun operation control means for controlling the spraying of the paint gun, air is used as the control medium.
Since you only need to use a relatively cheap air f1 machine (
Using 1-1, #Rnbot1~ can be made +M, and Painting Robot 1 can be transferred to 1-value. Also, the electricity is near! 1'1 tlp element is γ-equipped gun's ^i!: Qzuro is 7 pieces, so paint ¥;
1. The use of the painting robot is not limited by the type of solvent and is safe.
また、本発明の塗装ロボットは、各ステップ毎に塗装ガ
ンのイひ買及び姿勢及び作動をメモリに記録するティー
チング工程と、前記ティーチングT程でI+′?たデー
タを手動送り操作によって順次メモリからリードする工
程と、前記手動送り工程において特定ステップのデータ
を修i′E”Jる修正T程と、前記ティーチング工稈及
び修正工程で(9たデータを自動送り操作によって順次
メモリからリードし被塗装物に塗装する工程からなるも
のであるから、自動Rt制御する前に手動送りによって
塗装ロボットを運転することができる。Furthermore, the painting robot of the present invention has a teaching process in which the position, posture, and operation of the painting gun are recorded in a memory for each step, and I+'? a step of sequentially reading the data from the memory by a manual feed operation; a correction step of modifying the data of a specific step in the manual feed step; and a correction step of modifying the data of a specific step in the teaching process Since the process consists of sequentially reading data from the memory using an automatic feed operation and painting the object to be coated, the painting robot can be operated by manual feed before automatic Rt control is performed.
−10/I −
第1図は本発明の実施例の塗装ロボットの正面図、第2
図は第1図で示した塗装ロボットの側面図、第3図は位
置設定手段の要部の構成図、第4図は塗装ガン及びその
取付手段の要部拡大正面図、第5図はガン姿勢制御系用
及びガン作動制御系用空気圧回路図、第6図はX軸イひ
置設足糸の空気圧回路図、第7図はY軸位冒設定系の空
気圧回路図、第8図は7軸位置設定系の空気圧回路図、
第9図から第13図は本実施例の塗装ロボットの電気制
御回路図、第14図から第47図は本実施例の塗装ロボ
ットのフローチャートである。
図において、
G U N 1・・・第1!?装ガン、GUN2・・・
第2塗装ガン、
XAM・・・×軸エアーモータ、
YAM・・・Y軸エアーモータ、
7AM・・・7軸エアーモータ、
XAB・・・X帖エアーブレーキ、
Y/M’(・・・Y軸エアーブレーキ、ZAB・・・Z
軸エアーブレーキ、
×2・・・ボールネジ、
Y2・・・ボールネジ、
72・・・ボールネジ、
である。
なお、図中、同−符号及び同一記号は、同一または相当
部分を示す。-10/I- Fig. 1 is a front view of a painting robot according to an embodiment of the present invention, Fig. 2 is a front view of a painting robot according to an embodiment of the present invention;
The figure is a side view of the painting robot shown in Figure 1, Figure 3 is a configuration diagram of the main parts of the position setting means, Figure 4 is an enlarged front view of the main parts of the painting gun and its attachment means, and Figure 5 is the gun Pneumatic circuit diagram for posture control system and gun operation control system, Figure 6 is a pneumatic circuit diagram for the X-axis position setting system, Figure 7 is a pneumatic circuit diagram for the Y-axis position setting system, and Figure 8 is a pneumatic circuit diagram for the Y-axis position setting system. Pneumatic circuit diagram of 7-axis position setting system,
9 to 13 are electrical control circuit diagrams of the painting robot of this embodiment, and FIGS. 14 to 47 are flowcharts of the painting robot of this embodiment. In the figure, GUN 1...1st! ? Loaded gun, GUN2...
2nd painting gun, XAM...X-axis air motor, YAM...Y-axis air motor, 7AM...7-axis air motor, XAB...X-book air brake, Y/M' (...Y Axial air brake, ZAB...Z
Shaft air brake, ×2...Ball screw, Y2...Ball screw, 72...Ball screw. In addition, in the figures, the same reference numerals and the same symbols indicate the same or equivalent parts.
Claims (9)
モータを用いたことを特徴とする塗装ロボット。(1) A painting robot characterized by using an air motor as a drive source for moving the position of a painting gun.
、Y軸移動用エアーモータと、Z軸移動用エアーモータ
とによって三次元空間を移動させる駆動手段及び移動手
段及び制動手段からなる位置決めを行う位置設定制御手
段と、前記塗装ガンを水平に旋回する水平旋回手段及び
前記塗装ガンを垂直に角変位する垂直角変位手段からな
るガン姿勢制御手段と、塗装ガンの吹付けを制御するガ
ン作動制御手段と、それらの手段を制御する制御回路か
らなることを特徴とする塗装ロボット。(2) Positioning consisting of a driving means, a moving means, and a braking means for moving the painting gun in a three-dimensional space using an air motor for moving the X-axis, an air motor for moving the Y-axis, and an air motor for moving the Z-axis. a gun attitude control means comprising a horizontal rotation means for horizontally rotating the painting gun, a vertical angular displacement means for vertically angularly displacing the painting gun, and a gun operation for controlling the spraying of the painting gun. A painting robot characterized by comprising control means and a control circuit for controlling those means.
、Y軸移動用エアーモータと、Z軸移動用エアーモータ
とによって三次元空間を移動させる駆動手段及び移動手
段及び制動手段からなる位置決めを行う位置設定制御手
段と、前記塗装ガンを水平に旋回する水平旋回手段及び
前記塗装ガンを垂直に角変位する垂直角変位手段からな
るガン姿勢制御手段と、塗装ガンの吹付けを制御するガ
ン作動制御手段と、被塗装物搬送及び旋回手段と、それ
らの手段を制御する制御回路からなることを特徴とする
塗装ロボット。(3) Positioning consisting of a driving means, a moving means, and a braking means for moving the painting gun in a three-dimensional space using an air motor for moving the X-axis, an air motor for moving the Y-axis, and an air motor for moving the Z-axis. a gun attitude control means comprising a horizontal rotation means for horizontally rotating the painting gun, a vertical angular displacement means for vertically angularly displacing the painting gun, and a gun operation for controlling the spraying of the painting gun. A painting robot comprising a control means, a means for conveying and rotating an object to be painted, and a control circuit for controlling these means.
をメモリに記録するティーチング工程と、前記ティーチ
ング工程で得たデータを手動送り操作によって順次メモ
リからリードする工程と、前記手動送り操作によって特
定ステップのティーチング工程で得たデータを修正する
修正工程と、前記ティーチング工程及び修正工程で得た
データを自動送り操作によって順次メモリからリードし
、そのデータによって被塗装物に塗装する工程からなる
ことを特徴とする塗装ロボットの制御方法。(4) A teaching step in which the position, orientation, and operation of the coating gun are recorded in memory for each step, a step in which the data obtained in the teaching step is sequentially read from the memory by a manual feed operation, and a step in which the data is specified by the manual feed operation. The process consists of a correction process of correcting the data obtained in the teaching process of the step, and a process of sequentially reading the data obtained in the teaching process and correction process from the memory by automatic feed operation, and painting the object to be coated using the data. Characteristic painting robot control method.
をメモリに記録するティーチング工程と、前記ティーチ
ング工程で得たデータを手動送り操作によって順次メモ
リからリードする工程と、前記手動送り工程において特
定ステップのデータを修正する修正工程と、前記特定ス
テップのデータにおけるガン姿勢を確認するための吹付
け状態確認工程と、前記ティーチング工程で得たデータ
を自動送り操作によって順次メモリからリードし、その
データによって被塗装物に塗装する工程からなることを
特徴とする塗装ロボットの制御方法。(5) A teaching process in which the position, orientation, and operation of the coating gun are recorded in memory for each step; a process in which the data obtained in the teaching process is sequentially read from the memory by a manual feed operation; and a process in which the data specified in the manual feed process is A correction process for correcting step data, a spraying status confirmation process for confirming the gun posture based on the data for the specific step, and the data obtained in the teaching process are sequentially read from the memory by an automatic feed operation, and the data is 1. A method of controlling a painting robot, comprising the step of painting an object to be painted by using a method of controlling a painting robot.
モータを、移動手段としてボールネジを、制動手段とし
てエアーブレーキからなることを特徴とする特許請求の
範囲第2項及び第3項に記載の塗装ロボット。(6) The coating according to claims 2 and 3, wherein the position setting control means comprises an air motor as a driving means, a ball screw as a moving means, and an air brake as a braking means. robot.
270度の旋回としたことを特徴とする特許請求の範囲
第2項及び第3項に記載の塗装ロボット。(7) The horizontal turning means is 0 degrees, 90 degrees, 180 degrees,
The painting robot according to claims 2 and 3, characterized in that the robot rotates 270 degrees.
−θ1度、45度、45+θ1度としたことを特徴とす
る特許請求の範囲第2項及び第3項に記載の塗装ロボッ
ト。(8) The vertical angle displacement means has a vertical angle of 45
The painting robot according to claims 2 and 3, characterized in that -θ1 degree, 45 degrees, and 45+θ1 degree.
特許請求の範囲第8項に記載の塗装ロボット。(9) The painting robot according to claim 8, wherein the θ1 is 22.5 degrees.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26514884A JPS61141952A (en) | 1984-12-15 | 1984-12-15 | Painting robot and control thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26514884A JPS61141952A (en) | 1984-12-15 | 1984-12-15 | Painting robot and control thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61141952A true JPS61141952A (en) | 1986-06-28 |
Family
ID=17413298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26514884A Pending JPS61141952A (en) | 1984-12-15 | 1984-12-15 | Painting robot and control thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61141952A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6343669U (en) * | 1986-09-05 | 1988-03-23 | ||
JPS6452570U (en) * | 1987-09-24 | 1989-03-31 | ||
WO1991000151A1 (en) * | 1989-06-29 | 1991-01-10 | Fanuc Ltd | Method of depositing material on rotary member using robot |
US5314722A (en) * | 1989-06-29 | 1994-05-24 | Fanuc Ltd | Method of applying a material to a rotating object by using a robot |
US8242646B2 (en) | 2007-11-09 | 2012-08-14 | Toyota Jidosha Kabushiki Kaisha | Rotating electric machine and drive device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS4847928A (en) * | 1971-10-21 | 1973-07-07 | ||
JPS5411945A (en) * | 1977-06-29 | 1979-01-29 | Ransburg Japan Ltd | Electrostatic coating method |
JPS5756072A (en) * | 1980-09-24 | 1982-04-03 | Toyota Motor Corp | Coating method by robot |
JPS57140670A (en) * | 1981-02-26 | 1982-08-31 | Kawasaki Steel Corp | Applicator for inside surface of pipe |
JPS58109288A (en) * | 1981-09-14 | 1983-06-29 | ユニヴア−シテイ・オブ・サリ− | Device for moving member |
JPS5995608A (en) * | 1982-11-24 | 1984-06-01 | Fanuc Ltd | Taught position correcting method of industrial robot |
-
1984
- 1984-12-15 JP JP26514884A patent/JPS61141952A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS4847928A (en) * | 1971-10-21 | 1973-07-07 | ||
JPS5411945A (en) * | 1977-06-29 | 1979-01-29 | Ransburg Japan Ltd | Electrostatic coating method |
JPS5756072A (en) * | 1980-09-24 | 1982-04-03 | Toyota Motor Corp | Coating method by robot |
JPS57140670A (en) * | 1981-02-26 | 1982-08-31 | Kawasaki Steel Corp | Applicator for inside surface of pipe |
JPS58109288A (en) * | 1981-09-14 | 1983-06-29 | ユニヴア−シテイ・オブ・サリ− | Device for moving member |
JPS5995608A (en) * | 1982-11-24 | 1984-06-01 | Fanuc Ltd | Taught position correcting method of industrial robot |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6343669U (en) * | 1986-09-05 | 1988-03-23 | ||
JPS6452570U (en) * | 1987-09-24 | 1989-03-31 | ||
WO1991000151A1 (en) * | 1989-06-29 | 1991-01-10 | Fanuc Ltd | Method of depositing material on rotary member using robot |
US5314722A (en) * | 1989-06-29 | 1994-05-24 | Fanuc Ltd | Method of applying a material to a rotating object by using a robot |
US8242646B2 (en) | 2007-11-09 | 2012-08-14 | Toyota Jidosha Kabushiki Kaisha | Rotating electric machine and drive device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11794489B2 (en) | Facility for printing or coating surfaces of three-dimensional parts | |
JPS6174668A (en) | Paint supply device for rotary coating machine | |
US8034191B2 (en) | Cleaning plant | |
US20050066890A1 (en) | Device for treating the surface of workpieces, in particular of vehicle bodies | |
GB2177324A (en) | Automatic coating of a workpiece | |
JPS61141952A (en) | Painting robot and control thereof | |
JPS58163006A (en) | Switch command position transducer for controller | |
JPH0798171B2 (en) | Industrial robot equipment | |
WO1987004968A1 (en) | Method and robot installation for programmed control of a working tool | |
IT8323055A1 (en) | Automatic plant for assembling and welding of vehicle bodies, suitable for very high productions | |
DE3635265A1 (en) | INDUSTRIAL ROBOT | |
GB2413295A (en) | Coating system for protective layer forming material | |
US20040180136A1 (en) | Application system and application method for protective layer forming material | |
JPS61141964A (en) | Method for stopping pneumatic motor for painting robot | |
TWI243075B (en) | Protective layer forming material application system, object to be treated, strippable protective layer and method for protecting surface of object to be treated | |
JPS61141965A (en) | Method for stopping pneumatic motor for painting robot | |
JPH02303779A (en) | How to control industrial robots | |
JP3041427B2 (en) | Painting robot | |
JP4041059B2 (en) | Method and system for applying protective layer forming material | |
JPH0418788Y2 (en) | ||
JPS60110365A (en) | Painting robot equipped with plural coating guns | |
JPS62196405A (en) | Controller of air motor | |
JPS5850005A (en) | Instructing method | |
Miller | Spray Painting | |
Appleton et al. | Spray painting applications |