
18-16
18-8-2. Application example 2
A system to weld stiffening ribs to a pipe shape work.
Deviation of the rib is measured using the touch
sensor and then adjusted by shifting the angle of the
positioner.
< Notes >
- Only the positioner is shifted while sensing the
position of the rib. The robot maintains its position
and orientation.
- The difference between the measured position of the
rib (TOUCH position) and the correct rib position will
be treated as deviation and applied as shift amount
to the positioner.
- As robot does not move in this touch sensing
operation, unlike normal touch sensor, the touch
sensor stops sensing operation at the farthest at the
sensing end point. Therefore, it is necessary to
teach the sensing end point at the point after the
correct rib position (P3).
(No sensing end point causes an error.)
P1
P2
P3
P1: Sensing start position
P2: Sensing end position
P3: Correct rib position
Torch
Rib
G2
<Sample program>
Preconditions:
Processing program:
EAXSSFT-WORK01.prg
(
Mechanism: Robot
+
G1
+
G2
)
Production program:
EAXSSFT-SAMPLE00.prg
(
Mechanism: Robot
+
G1
+
G2
)
Program
Description
TOOL = 1:TOOL01
○
MOVEP P1 3.00m/min
Move to the sensing start position (P1)
TCHSNS SPD=1.00
Start touch sensing.
○
MOVEP P2 2.00m/min
Sensing end position (P2)
GETPOS GP001
Assign the TOUCH position data to GP001.
JUMP LABL0001
Jump to the specified address without moving to P3.
○
MOVEP P3 2.00m/min
The correct rib position is the TOUCH position.
■
:LABL0001 Jump
address
CNVSET LR001 = GP.G2#(GP001)
Get the position data of the positioner at the TOUCH position.
CNVSET LR002 = P.G2#(P3)
Get the position data of the positioner at P3.
SUB LR001 LR002
Find deviation value by calculating the difference between LR001
and LR002.
EAXS_SFT-ON G2 = LR001
Start the shift of the external axis.
[
C
]
CALL EAXSSFT-WORK01.prg
Execute the rib welding program
EAXS_SFT-OFF G2
Terminate the shift of the external axis.