1CD PDF
1CD PDF
1CD PDF
Upon receipt of the product and prior to initial operation, read these instructions thoroughly, and retain
for future reference.
MOTOMAN INSTRUCTIONS
MOTOMAN-INSTRUCTIONS
OPERATOR’S MANUAL
MAINTENANCE MANUAL
The operator’s manual above corresponds to specific usage.
Be sure to use the appropriate manual.
MANUAL NO.
166153-1CD 0 1/105
166153-1CD
TouchSense and
AccuFast w/ Macro Jobs
MANDATORY
• This manual explains the starting point detecting function of the
NX100/DX100 system. Read this manual carefully and be sure to
understand its contents before handling the NX100/DX100.
• General items related to safety are listed in Section 1 of the NX100/
DX100 instructions. To ensure correct and safe operation, carefully
read the section before reading this manual.
CAUTION
• Some drawings in this manual are shown with the protective covers
or shields removed for clarity. Be sure all covers and shields are
replaced before operating this product.
• The drawings and photos in this manual are representative
examples and differences may exist between them and the
delivered product.
• YASKAWA may modify this model without notice when necessary
due to product improvements, modifications, or changes in
specifications.
• If such modification is made, the manual number will also be
revised.
• If your copy of the manual is damaged or lost, contact a YASKAWA
representative to order a new copy. The representatives are listed
on the back cover. Be sure to tell the representative the manual
number listed on the front cover.
• YASKAWA is not responsible for incidents arising from unauthorized
modification of its products. Unauthorized modification voids your
product's warranty.
ii
166153-1CD 2/105
166153-1CD
TouchSense and
AccuFast w/ Macro Jobs
iii
166153-1CD 3/105
166153-1CD
TouchSense and
AccuFast w/ Macro Jobs
WARNING
• Before operating the manipulator, check that servo power is turned
OFF by pressing the emergency stop button on the programming
pendant.
When the servo power is turned OFF, the SERVO ON LED on the
programming pendant is OFF.
Injury or damage to machinery may result if the emergency stop circuit
cannot stop the manipulator during an emergency. The manipulator
should not be used if the emergency stop button does not function.
Figure 1: Emergency Stop Button
• Once the emergency stop button is released, clear the cell of all
items which could interfere with the operation of the manipulator.
Then turn the servo power ON.
Injury may result from unintentional or unexpected manipulator motion.
Figure 2: Release of Emergency Stop
TURN
iv
166153-1CD 4/105
166153-1CD
TouchSense and
AccuFast w/ Macro Jobs
WARNING
• Since detected voltage (200V), welding current, and welding
voltage are applied to the starting point detecting unit, install the unit
securely so that it does not fall.
• Failure to observe this warning may result in an electric shock or
damage to the unit.
• Before connecting the inter-unit cables and the welding cables, be
sure to turn OFF the power supply to the controller and the welder.
• Failure to observe this warning may result in an electric shock.
• Special attention should be paid during starting point detection,
since 200 VDC is applied across the wire and the workpiece
(welding jig).
• Failure to observe this warning may result in an electric shock.
• Do not place any object directly on the cable of the starting point
detecting unit.
• Failure to observe this warning may result in an injury or damage
caused by the disconnection of the cable.
• Attach the cable of the starting point detecting unit for the wire
feeder with the wire stand, to protect it from robot movement. If
interference between the cable and the peripheral devices are
unavoidable, cover the cable with a rubber plate or spiral tube, etc.
• Failure to observe this warning may result in an electric shock, an
injury, or damage to the cable.
• Do not lay the cable of the starting point detecting unit directly on
the floor, but install them in a pit or duct or shield the cable with a
protective cover.
• Failure to observe this warning may result in an injury or damage to
the cable.
• Since a high current flows through the welding cable, separate it
from the cables of the control circuit system. If the cables cannot be
separated, take preventative measures such as using metallic ducts
or tubes on the cables of the control circuit system.
166153-1CD 5/105
166153-1CD
TouchSense and
AccuFast w/ Macro Jobs
CAUTION
• Perform the following inspection procedures prior to conducting
manipulator teaching. If problems are found, repair them
immediately, and be sure that all other necessary processing has
been performed.
– Check for problems in manipulator movement.
– Check for damage to insulation and sheathing of external wires.
• Always return the programming pendant to the hook on the cabinet
of the controller after use.
• The programming pendant can be damaged if it is left in the
manipulator's work area, on the floor, or near fixtures.
• Read and understand the Explanation of Warning Labels in the
NX100/DX100 Instructions before operating the manipulator.
vi
166153-1CD 6/105
166153-1CD
TouchSense and
AccuFast w/ Macro Jobs
Registered Trademark
In this manual, names of companies, corporations, or products are
trademarks, registered trademarks, or bland names for each company or
corporation. The indications of (R) and TM are omitted.
vii
166153-1CD 7/105
166153-1CD
TouchSense and
AccuFast w/ Macro Jobs Table of Contents
viii
166153-1CD 8/105
166153-1CD
TouchSense and
AccuFast w/ Macro Jobs Table of Contents
ix
166153-1CD 9/105
166153-1CD
TouchSense and
AccuFast w/ Macro Jobs Table of Contents
9.6.2 Set and Program the AccuFast - TCP - UPDATER Robot Job ............................ 9-6
9.7 Run the Robot Job in Train Mode .................................................................................... 9-11
166153-1CD 10/105
166153-1CD
TouchSense and 1 Introduction
AccuFast w/ Macro Jobs 1.1 Overview
1 Introduction
1.1 Overview
A macro job is a job that runs in the background of the robot controller.
Seam finding macro jobs are used to locate deviated weld seams, gaps,
and edges. These macro jobs work for most work piece sizes, dispersion,
and setting positions. There may be some issues on materials that have
high reflectivity with the AccuFast laser system. The seam finding macro
jobs use the Search function to create calculated offsets that can later be
used to shift programmed job points from the original programmed points
to new deviated part points.
These shift amounts are calculated by programming robot positions on a
master part. The robot positions are programmed so that the sensing
device detects/touches the surface of the master part. As new parts are
presented for work, the robot searches as it moves toward the previously
programmed robot positions and stops when it detects the surface of the
new part.
Fig. 1-1: Master Robot Positions
Robot Position 1
Robot Positon 2
rt
ift
Am
ou
nt
De Detected Point
via
ted
Pa
rt
Detected Point
When the surface of the new part is detected and the robot stops its
search motion, the robot records the newly detected position and
compares it to the location of the robot position. A shift amount is then
calculated based on the distance between these two positions (original
robot position and detected robot position).
Once the seam finding macro routine successfully detects the part's
surface, calculates the shift amount, and saves the shift amount to a
variable, the robot job executes a Shift On instruction or Sytem Shift
instruction and shifts the weld path.
To prevent gross errors in part placement, a search window is defined. A
start robot position (Robot Position 1) is programmed to define the
beginning of the search motion. The distance between the start position
(Robot Position 1) and the surface 1 position (Robot Position 2), plus a
“maximum shift amount parameter,” defines the search window.
1-1
166153-1CD 11/105
166153-1CD
TouchSense and 1 Introduction
AccuFast w/ Macro Jobs 1.1 Overview
Robot Position 3
Ori
gin
al P
rog
ram Lap Offset
me
dM
ast
er
Pa Robot Positon 2
rt
Searching Motion
Non-Searching Motion
Robot Positon 1
Located
Surface
Locacted
Surface
Lap Offset
Ori De
gin via
al P ted
Pa
nt
rog rt
ou
ram
m
A
me
ift
Sh
dM
ast
er
Pa
rt
Robot Position 1
Located Surface
Ori
gin
al P
ro g
ram
me
d Ma
ste
De rP
via art
ted
unt
Pa
Amo
rt
Shift
Located Surface
1-2
166153-1CD 12/105
166153-1CD
TouchSense and 1 Introduction
AccuFast w/ Macro Jobs 1.1 Overview
Touch Sense
For most welding applications, seam finding is performed using touch
sense. With this technique, electrical power is provided by a welding
power supply or an external touch sense box to either the welding
electrode (welding wire) or the gas nozzle. As the robot moves from the
start robot position towards the next programmed robot position(s), high
voltage is supplied to the welding torch (power is limited to provide only
low current levels). When the electrode or gas nozzle contacts the
weldment, current flows and a signal is immediately sent to the robot. The
robot quickly stops its search motion and captures the new position.
Fig. 1-3: Touch Sense
Robot Position1
Robot Position 3
Robot Position 2
AccuFast
Another technology used for part detection uses a 1D laser sensor
(AccuFast). The laser sensor is used in a similar manner as the welding
wire with voltage. Seam finding can be performed with the end of the laser
beam (just like the end of the welding wire) or the side of the laser beam
(just like the side of the welding wire).
Fig. 1-4: Laser Sensing
Robot Position 1
Robot Position 3
Robot Position 2
1-3
166153-1CD 13/105
166153-1CD
TouchSense and 1 Introduction
AccuFast w/ Macro Jobs 1.2 Features
Robot motion during seam finding can vary from simple to complex
depending on the features of the macro routine. The TCH macro job
provides either a single, straight line search routine or a two-touch routine
that can be used to locate a T-joint or lap joint. In contrast, the EDGE
macro can touch the surface of a part 10 or more times during a single
macro event.
Seam finding using touch sense is most often used in welding
applications. However, seam finding can be used in a variety of other
applications as well, including those using non-contact detection devices
such as laser sensors, ultrasonic sensors, or vision systems. Depending
on the sensor, routines similar to the macros described in this manual can
be created for these applications.
1.2 Features
The benefits of transitioning to macro jobs include:
• AutoTeach mode
• Increased level of control
• Reduced length of robot program code
• Reduced programming time
• Increased programming accuracy
1-4
166153-1CD 14/105
166153-1CD
TouchSense and 1 Introduction
AccuFast w/ Macro Jobs 1.4 System Requirements
1-5
166153-1CD 15/105
166153-1CD
TouchSense and 2 Setup and Operation
AccuFast w/ Macro Jobs 2.1 Touch Sense
2.2 AccuFast
The SICK laser sensor uses a user-specified set point value to determine
the detection position for the sensor. The sensor measures the distance
the sensor is from the surface.
When the measured distance becomes equal to or greater than the set
point value, the sensor sends an output to the robot controller. This digital
output from the SICK sensor is wired to a Rapid Input signal in the robot
controller (for each seam finding macro instruction deployment, the robot
programmer must set the rapid input number to be used). For the SICK
sensor, there are two set point values that can be configured, each tied to
their own digital output signal and connected to two rapid input signals.
Setting of the SICK sensor set point(s) must be done prior to programming
the first seam finding routine.
The standard Yaskawa mounting location places the laser beam at an
angle relative to the welding torch so that the laser passes within 30 mm of
the tip of the welding wire (30 mm from the TCP of the welding torch).
2-1
166153-1CD 16/105
166153-1CD
TouchSense and 2 Setup and Operation
AccuFast w/ Macro Jobs 2.2 AccuFast
Laser perpendicular to
part & contact p
touching surface
7. With the contact tip touching the part, note the robot's “Current
Position” in base frame.
8. Jog the robot away from the part in world coordinates Z-DIRECTION
ONLY until a 30 mm change in the Z direction is noted. (This will result
in a 30 mm separation between the part contact tip).
Z = -236.541
30mm separaon
2-2
166153-1CD 17/105
166153-1CD
TouchSense and 2 Setup and Operation
AccuFast w/ Macro Jobs 2.2 AccuFast
2-3
166153-1CD 18/105
166153-1CD
TouchSense and 2 Setup and Operation
AccuFast w/ Macro Jobs 2.3 Job Setup
2-4
166153-1CD 19/105
166153-1CD
TouchSense and 2 Setup and Operation
AccuFast w/ Macro Jobs 2.3 Job Setup
Instruction Explanation
' LB7 = userframe number Value of user frame to be created
SET LB007 0
'
'-----------------------------------------
'- Setup Section ... complete ---
'----------------------------------------
'---Do not modify below here---
2-5
166153-1CD 20/105
166153-1CD
TouchSense and 2 Setup and Operation
AccuFast w/ Macro Jobs 2.4 AutoTeach
Pressing ENTER only one time does not save the data. For
NOTE data to be saved, ENTER must be pressed twice. Pressing
ENTER a third or forth time, etc. affects nothing.
2.4 AutoTeach
The AutoTeach feature is used to define the robot positions at the exact
location of the part. During initial teaching, the Robot Position 1 is
programmed near the surface desired to detect. The macro job is then ran
in AutoTeach mode. The robot searches, detects the part surface, and
prompts the user to modify the Robot Pos2 in the TCH macros argument
setting screen.
If the robot is not programmed exactly to the master part during initial
teaching, or if the seam finding paths are not taught in specific directions,
inaccuracies are fed directly to the weld path leading to reduced weld
quality.
Additional problems can arise during seam finding operations at high
speeds where robot “overshoot” can occur. When teaching the master
part, the programmer teaches the robot position with the weld wire lightly
touching the surface of the part. During high speed playback
(e.g. 500 cm/min), when the robot controller detects the surface of the new
part and sends the signal to stop robot motion, inertia can cause the robot
to continue moving for a small distance before stopping. This small
continuation of motion drives the welding electrode firmly into the surface
of the part and may even slightly bend the electrode. This deviation
amount and possible wire bend introduces error which can lead to
reduced weld quality.
To eliminate these problems associated with robot overshoot, the
AutoTeach macro mode defines the teaching contact position(s)
automatically using playback search motion speed. Any wire bend or
overshoot deviation condition that would occur during Playback will occur
during AutoTeach as well, thus minimizing this error.
2-6
166153-1CD 21/105
166153-1CD
TouchSense and 3 TCH Macro, One Touch (1TCH) Routine
AccuFast w/ Macro Jobs 3.1 Features
3.1 Features
This section describes the TCH macro using One Touch (1TCH) routine.
When using the One Touch routine, the robot moves from Robot Position
1 towards a Robot Position 2, stopping when the surface of the part is
detected.
Fig. 3-1: TCH Macro, 1TCH Routine
Programmed
Programmed
Robot Position 2
Robot Position 1
Actual
Robot Position 2
Two different AutoTeach modes are available for the 1TCH macro.
• A-to-B search routine (Search Type is set to 1).
The robot starts at Robot Position 1, moves toward Robot Position 2
and stops when contact is detected.
• Perpendicular search routine (Search Type is set to 2)
The robot touches the part’s surface and defines a perpendicular
search direction and the exact location of Robot Position 2.
After the macro has been ran in AutoTeach mode and the programmed
Robot Position 2 has been modified, the TCH macro in 1TCH routine is
ready for playback.
3-1
166153-1CD 22/105
166153-1CD
TouchSense and 3 TCH Macro, One Touch (1TCH) Routine
AccuFast w/ Macro Jobs 3.2 AutoTeach Mode
3.1.1 Limitations
The AutoTeach perpendicular mode (Search Type is set to 2) defines a
search motion that is perpendicular to a surface, but for some applications
there may not be enough room to use this detection mode (ie. detecting
the edge of a 6 mm steel plate). During playback of the AutoTeach
perpendicular mode, the robot senses the surface four times, moving an
offset distance between each search. If the size of the surface area is too
small, there may not be enough room for the robot to move the offset
distance between searches. In this case, use the AutoTeach A-to-B mode
(Search Type is set to 1).
The R1-TCH macro provides X, Y, and Z (translational) shift amounts. It
does not provide RX, RY, and RZ (rotational) shift amounts.
Robot Position 1
Robot Position 2
(Initial)
Note: Poistions not programmed
correctly for the sake of AutoTeach Mode =1
illustration. Positions should be
programmed so that search
motion is perpendicular to
the surface of the part Detected Point AutoTeach
(After AutoTeach) Offset
AutoTeach Mode = 2
When AutoTeach mode is set to 2, the mode touches the surface of the
part four times, developing a search motion that is perpendicular to the
surface of the part from the Robot Position 1. The AutoTeach Offset
parameter is used to set the distance between the first three touches.
3-2
166153-1CD 23/105
166153-1CD
TouchSense and 3 TCH Macro, One Touch (1TCH) Routine
AccuFast w/ Macro Jobs 3.3 Macro Job Setup
3-3
166153-1CD 24/105
166153-1CD
TouchSense and 3 TCH Macro, One Touch (1TCH) Routine
AccuFast w/ Macro Jobs 3.3 Macro Job Setup
Instruction Explanation
' LB7 = userframe number Value of user frame to be created
SET LB007 0
'
'-----------------------------------------
'- Setup Section ... complete ---
'----------------------------------------
'---Do not modify below here---
3-4
166153-1CD 25/105
166153-1CD
TouchSense and 3 TCH Macro, One Touch (1TCH) Routine
AccuFast w/ Macro Jobs 3.4 Interface
3.4 Interface
The 1TCH macro instruction argument setting screen contains the
following controls.
Fig. 3-4: Argument Settings R1-TCH (1 Dimension Search)
3-5
166153-1CD 26/105
166153-1CD
TouchSense and 3 TCH Macro, One Touch (1TCH) Routine
AccuFast w/ Macro Jobs 3.5 Programming Instructions
2. Insert the TCH macro instruction into the job ([ENTER] or [INSERT] >
[ENTER]).
3. Edit argument data:
a) Cursor to the Instruction side of the robot job.
b) Cursor to the R1-TCH macro instruction.
c) Press [SELECT] > [SELECT]. The Argument Setting screen
appears.
Fig. 3-6: Argument Settings
3-6
166153-1CD 27/105
166153-1CD
TouchSense and 3 TCH Macro, One Touch (1TCH) Routine
AccuFast w/ Macro Jobs 3.5 Programming Instructions
3-7
166153-1CD 28/105
166153-1CD
TouchSense and 4 TCH Macro, Two Touch (2TCH) Routine
AccuFast w/ Macro Jobs 4.1 Features
4.1 Features
This section describes the TCH macro when using Two Touch routine.
The two touch (Search Type = 2) routine of the TCH macro is used to
detect the location of a weld joint using two contact positions. It moves
from a starting Robot Position 1 towards the Robot Positions 2,
momentarily stopping when it detects the surface of the part. It then
moves a short Lap Offset distance (specified in millimeters) back towards
Robot Position 1. Finally, it moves toward the lap leg / adjacent surface,
stopping when it detects the surface of the part (Robot Position 3).
Fig. 4-1: TCH Macro, Weld Joint Location
Robot Position1
Robot Position3
Ori
gin
al P
rog
ram Lap Offset
me
dM
ast
er
Pa Robot Positon 2
rt
Searching Motion
Non-Searching Motion
The AutoTeach feature of this macro job defines the exact location of
Robot Position 2 and Robot Position 3. During initial teaching, the Robot
Position 2 and Robot Position 3 are programmed close to the surfaces to
detect. The macro job is then placed into either of two teach routine and
executed. The robot searches to detect the proper location of either the
First Detection or Lap Detection positions and then prompts the user to
modify ([MODIFY] > [ENTER]) these points in the R1-TCH macros
argument setting screen.
4-1
166153-1CD 29/105
166153-1CD
TouchSense and 4 TCH Macro, Two Touch (2TCH) Routine
AccuFast w/ Macro Jobs 4.2 AutoTeach Mode
The AutoTeach mode has two sequential modes: 1- First Detection and
2- Lap Detection. After teaching the exact location for Robot Position 1
and the approximate locations of Robot Position 2 and Robot Position 3,
the R1-TCH macro instruction is placed into First Detection mode (Auto
Teach 1). In this position the robot touches the surface four times to define
a perpendicular search direction and the exact location of Robot Position
2. The programmer then re-teaches the Robot Position 2 argument in the
R1-TCH macro instruction. Next, the R1-TCH macro is placed into Lap
Detection (Auto Teach = 2). In this routine the robot touches the surface of
the lap leg three times, developing the exact location of Robot Position 3
as perpendicular to the Robot Position 2 search direction. Finally, the
programmer re-teaches the Robot Position 3. After this stage the R1-TCH
macro instruction is ready for routine Playback.
4.1.1 Limitations
The R1-TCH macro provides X, Y, and Z (translational) shift amounts. It
does not provide RX, RY and RZ (rotational) shift amounts.
4-2
166153-1CD 30/105
166153-1CD
TouchSense and 4 TCH Macro, Two Touch (2TCH) Routine
AccuFast w/ Macro Jobs 4.2 AutoTeach Mode
Ori
gin Robot Position 2
al P
rog (Initial)
ram
me
dM
ast
er
Pa
rt
Searching Motion
Robot Position 2
Non-Searching Motion (After AutoTeach)
AutoTeach Mode = 1
Robot Position1
Robot Position 3
(After AutoTeach)
Robot Position 3
(Initial) Lap Offset
AutoTeach
Offset
Robot Position 2
(After AutoTeach)
AutoTeach Mode = 2
4-3
166153-1CD 31/105
166153-1CD
TouchSense and 4 TCH Macro, Two Touch (2TCH) Routine
AccuFast w/ Macro Jobs 4.2 AutoTeach Mode
Playback of the Search Type =2 routine uses simpler motion than that of
the AutoTeach modes. The robot moves to the Robot Position 1, then
moves while searching for the Robot Position 2 position, next moves up
the Robot Position 3, and then moves toward the lap surface while
searching. This motion is shown in the figure below.
Fig. 4-4: TCH macro, Search Type = 2
Robot Position 1
Located
Surface
Locacted
Surface
Lap Offset
Ori De
gin via
al P ted
Pa
nt
rog rt
ou
ram
Am
me
ift
Sh
dM
ast
er
Pa
rt
4-4
166153-1CD 32/105
166153-1CD
TouchSense and 4 TCH Macro, Two Touch (2TCH) Routine
AccuFast w/ Macro Jobs 4.3 Macro Job Setup
4-5
166153-1CD 33/105
166153-1CD
TouchSense and 4 TCH Macro, Two Touch (2TCH) Routine
AccuFast w/ Macro Jobs 4.3 Macro Job Setup
Instruction Explanation
' LB7 = userframe number Value of user frame to be created
SET LB007 0
'
'-----------------------------------------
'- Setup Section ... complete ---
'----------------------------------------
'---Do not modify below here---
4-6
166153-1CD 34/105
166153-1CD
TouchSense and 4 TCH Macro, Two Touch (2TCH) Routine
AccuFast w/ Macro Jobs 4.4 Interface
4.4 Interface
The R1-TCH macro instruction has the following controls in the argument
setting screen.
Fig. 4-5: Argument Settings R1-TCH (2 Dimension Search)
4-7
166153-1CD 35/105
166153-1CD
TouchSense and 4 TCH Macro, Two Touch (2TCH) Routine
AccuFast w/ Macro Jobs 4.5 Programming Instructions
4-8
166153-1CD 36/105
166153-1CD
TouchSense and 4 TCH Macro, Two Touch (2TCH) Routine
AccuFast w/ Macro Jobs 4.5 Programming Instructions
6. When the part surface is detected, the robot stops and a message is
displayed at the bottom of the teach pendant screen prompting the
user to Modify Robot Pos 2, set TEACH to 2.
a) Re-open the Argument Setting Screen
• Cursor to R1-TCH macro instruction on instruction side of
robot job.
• Press [ENTER] > [ENTER].
b) Cursor to the Robot Position 2 argument, press [MODIFY] >
[ENTER].
c) Set AutoTeach mode (Auto Teach) to a value.
7. Save argument data into robot job. From the Argument Setting screen
press [ENTER] > [ENTER].
8. Execute R1-TCH macro in Auto Teach: press [INTER LOCK] + [TEST
START].
9. When the part surface is detected, the robot stops and a message is
displayed at the bottom of the teach pendant screen prompting the
user to Modify Robot Pos3, set TEACH to 0.
a) Re-open the Argument Setting Screen.
• Cursor to R1-TCH macro instruction on instruction side of
robot job.
• Press [ENTER] > [ENTER].
b) Cursor to the Robot Position 3 argument, press [MODIFY] >
[ENTER].
c) Set AutoTeach mode to a value of 0.
d) Set Shift Variable to the Position Variable (P variable)
number to save the shift data.
e) From the Argument Setting screen press [ENTER] >
[ENTER].
The R1-TCH macro is now ready for playback mode.
Program the weld path using a Shift On instruction. Use the P variable
number set above by the Shift Variable argument.
4-9
166153-1CD 37/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.1 Features
5.1 Features
The EDGE macro is used to detect the location of an edge on a flat
surface. Several different pattern types are available to assist in the
detection of the surface’s edge. Some of the pattern types offer the ability
to detect the orientation of the flat surface before scanning across to
locate the edge. Some pattern types use a step motion to locate the edge,
others use a drag motion (for use with a laser sensor). There are pattern
types that measure the width of the weld joint gap and others that detect
and react to the orientation of the part’s surface.
Regardless of the pattern type, the EDGE macro always uses three taught
robot positions. These three positions are used to develop search
directions and calculate the edge deviation amount based on a previously
taught robot position. The edge deviation amount is used as a shift offset.
The searching motion begins at Robot Position 1 and moves toward
Robot Position 2 while searching for the surface. Then, if enabled by the
user, the macro searches three more times for the orientation of the
surface of the part.
Once the location (and optionally the orientation of the surface) is
detected, the robot moves parallel to the surface (using either step or drag
motion) and the edge of the surface is located. Another optional function
can be executed to locate the width of the weld joint gap (in the case of a
groove weld). Finally, the detected edge (or detected middle of the joint
gap) is compared to the original programmed position and an edge-
deviation-amount is calculated and placed into a user-specified P variable.
This P variable can then be used to shift the weld path or used in other
weld path calculations.
Fig. 5-1: EDGE Detection Mode
De
viate
Or dP
igi art
na
t
l Pr
oun
og
t Am
ram
Shif
me Detected
dP
art
Taught
5-1
166153-1CD 38/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.2 Limitations
Taught Location
Ori
gin
al P
rog
ram
me
dP
art
Middle of Gap
Sh
De
via ift
ted Amo
Pa un
rt t
Detected
Location
The EDGE macros AutoTeach mode re-defines the location of both the
Robot Position 2 and Robot Position 3. Detection of Robot Position 2
always incorporates a routine to ensures the search direction between
Robot Position 1 and Robot Position 2 is perpendicular to the part’s
surface.
5.2 Limitations
The EDGE macro provides X, Y, and Z (translational) shift amounts. It
does not provide RX, RY, and RZ (rotational) shift amounts.
5-2
166153-1CD 39/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.3 Macro Job Setup
5-3
166153-1CD 40/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.3 Macro Job Setup
Instruction Explanation
'
' LI0 = non search speed Speed value for robot to use during
SET LI000 3000 air moves. Units mm/sec.
max= 3000 of user frame to be
' created.
' LB7 = userframe number Value of user frame to be created.
SET LB007 0
'
‘
LD22 = gap adjustment (microns) Enter the value of gap adjustment in
SET LD022 1500 microns.
'-----------------------------------------
'- Setup Section ... complete ---
'----------------------------------------
'---Do not modify below here---
'----------------------------------------
5-4
166153-1CD 41/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.4 Interface
5.4 Interface
The EDGE macro instruction has the following controls inside the
argument setting screen.
Fig. 5-3: Argument Settings R1-Edge
5-5
166153-1CD 42/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.4 Interface
Each of the arguments for the EDGE routine are described below.
Place the EDGE macro instruction into a robot job, teach the exact
location desired to use for the Robot Position 1 and the approximate
positions needed for Robot Position 2 and Robot Position 3, and select
the type of pattern that is needed for the application. Available pattern
types are shown below.
5-6
166153-1CD 43/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.4 Interface
When using Pattern Type 2 or Pattern Type 3, the EDGE mode uses three
contact positions to detect the location and orientation of the part's
surface, followed by a fourth touch to execute search motion
perpendicular to the part surface. From this position, the robot calculates a
trajectory towards the edge of the surface, using a drag motion or a series
of step movements. When step motion is selected, the size of these steps
are based on the search offset distance parameter. The robot executes
step motion to search for the edge of the surface. Once the search motion
moves off the edge of the part's surface, the robot searches towards the
surface edge. Once the edge is detected, this new location is compared to
the location of the originally programmed Robot Position 3. The distance
between these positions become the calculated shift amount, which is
then placed into the P-variable number referenced by the Output P#
parameter. An example of a typical playback mode is shown below.
Fig. 5-4: Playback mode for Pattern Type = 2 or 3
Robot Postion 1
2
4
De
via Robot Position 2
ted
Orig Pa
rt
inal
t
oun
Pro
gra
t Am
mm
Shif
ed P Robot Position 3
art (Detected)
Robot Position 3
(Taught)
5-7
166153-1CD 44/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.5 Programming
5.5 Programming
Programming consists of three elements: (1) insert macro instruction into
robot job and set arguments, (2) teach exact position of Robot Positions
(this is typically done semi-automatically using AutoTeach mode) and (3)
setting the macro instruction to playback mode and deploying shift
amounts for the weld path.
For systems with multiple robots or with external or base axes, select the
relevant EDGE routine (ie. R2-EDGE).
Insert EDGE macro instruction:
1. While in Teach Mode, from a robot job select: [INFORM LIST] >
{MACRO} > {R1-EDGE}.
Fig. 5-5: EDGE Macro
5-8
166153-1CD 45/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.5 Programming
5-9
166153-1CD 46/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
5.6 AutoTeach
As stated previously, the AutoTeach feature defines the exact location of
the Robot Position 2 and Robot Position 3. When AutoTeach is set to
mode 1, the robot detects the exact position for Robot Position 2. When
AutoTeach is set to mode 2, the robot detects the exact position for Robot
Position 3. AutoTeach for EDGE Macro; Pattern Type = 1; Teach mode = 1
is shown in Fig.5-6 AutoTeach for EDGE Macro
Fig. 5-6: AutoTeach for EDGE Macro
Robot Position1
Robot Position 2
Robot Position2 (Initial)
(After AutoTeach1)
Robot Position 3
(After AutoTeach2)
Robot Position 3
(Initial)
Once the initial reference position are taught, the robot detects a new
location for the Robot Position 2 and Robot Position 3 points using
AutoTeach. The location of these positions are displayed in the drawings
below. The exact location of these positions are dependent on the
selected Pattern Type and Step Offset parameters. In general, the
AutoTeach argument will:
• Develop a search direction from Robot Position 1 to the surface of
the part, while ensuring this motion is perpendicular to this surface.
• Develop a search direction from Robot Position 2 to Robot Position 3
that is perpendicular to the first search and perpendicular to the
edge.
5-10
166153-1CD 47/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
Search Offset
Robot Position 1
Robot Position 2
4th
Touch
1st 2nd
Touch Touch
3rd
Touch
5-11
166153-1CD 48/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
Examples
The following diagrams show the AutoTeach function with each pattern
type available:
3 1
Robot Position 2
(Initial)
Robot Position 2
(After AutoTeach1)
Robot Position 3
3 2
4
Robot Position 3
5-12
166153-1CD 49/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
Robot Position 1
3 1
Robot Position 2
(Initial)
Robot Position 2
(After AutoTeach1)
Robot Position 3
3 1
Robot Position 2
(Initial)
Robot Position 2
(After AutoTeach1)
Robot Position 3
5-13
166153-1CD 50/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
3 1
Robot Position 2
(Initial)
Robot Positon 2
(After AutoTeach1)
Robot Position 3
3 2
4
Robot Postion 2
(After AutoTeach1)
Robot Position 2
(Initial)
Robot Position 3
Programming
To define a new Robot Position 2 using AutoTeach 1, proceed as follows:
1. Place the cursor on the EDGE macro instruction and press and hold
the [INTER LOCK] + [TEST START] buttons.
2. After the robot has successfully located the new position, it stops its
motion and the following instruction is displayed at the bottom of the
teach pendant screen prompting the user to: Modify Robot Pos 2; set
TEACH to 1.
3. Follow the displayed instructions.
a) Re-open the EDGE macro instruction by pressing
[SELECT] > [SELECT] from the instruction side of the
macro instruction.
b) Cursor to the Robot Position 2 parameter and press
[MODIFY] > [ENTER].
c) Cursor to the Auto Teach mode parameter and type
[SELECT] > 2 > [ENTER].
5-14
166153-1CD 51/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
4. Save the above data to the robot job by pressing [ENTER] > [ENTER].
Depth
Searching - Edge
3. Robot will touch or drag the edge surface two times to define the
orientation of the edge surface.
4. Robot will then touch or drag a third time with a perpendicular search
direction.
Fig. 5-15: Reference Position 3Detection
Robot Position 3
Robot Position 1 (Initial)
nth
Original Programmed Part Touch
nth +2
Robot Position 3 nth +1 Touch
(After AutoTeach) Touch
Depth
Final
Touch
5-15
166153-1CD 52/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
Parameters
The Search Distance argument defines the allowable distance of the
calculated shift amount. The robot develops search motion so it does not
search excessively beyond the Search Distance amount. The exact
definition of the Search Distance amount is shown in the following three
figures:
Fig. 5-16: Maximum Search Distance: OK
Robot Position 1
Maximum Search
Distance
Robot Position 2
Robot Position 3
Maximum Search
Distance
Robot Position 2
Robot Position 3
Maximum Search
Distance
Robot Positon 2
Robot Position 3
5-16
166153-1CD 53/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
Robot Position 2
Detected Gap
Robot Position 3
Examples
The following diagrams show the AutoTeach function with each pattern
type available:
Fig. 5-20: Pattern Type 0, AutoTeach 2
Robot Position 1
Robot Positon 3
Robot Position 2 (After AutoTeach2)
3
2
1 Robot Position 3
(Initial)
5-17
166153-1CD 54/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
Depth
Robot Position 2
Robot Position 3
(After AutoTeach2)
Robot Position 3
(Initial)
Depth
Robot Position 2
Robot Position 3
(After AutoTeach2)
2
1 Robot Position 3
(Initial)
5-18
166153-1CD 55/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
4 5
3
2
1
Robot Position 3
(Initial)
Depth
Robot Position 2
Robot Position 3
(After AutoTeach)
Robot Position 3
(Initial)
5-19
166153-1CD 56/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
Depth
Robot Position 2
Middle of Gap
3 4 5
2
1
Robot Position 3
(Initial)
Robot Positon 3
Robot Position 2 (After AutoTeach 2)
3
2
1
Robot Position 3
(Initial)
5-20
166153-1CD 57/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
Depth
Robot Postion 2
Robot Positon 3
(After AutoTeach2)
Robot Positon 3
(Initial)
Depth
Robot Positon 2
Robot Positon 3
(After AutoTeach2)
2
1 Robot Position 3
(Initial)
Programming
1. Define a new Robot Position 3 by holding down [INTER LOCK] +
[TEST START] while the cursor is on the EDGE macro instruction.
2. After the robot has successfully located the new position it stops
motion and displays the following instructions on the bottom of the
teach pendant screen: Modify Robot Pos 3; set TEACH to 0.
5-21
166153-1CD 58/105
166153-1CD
TouchSense and 5 EDGE: Edge Finding Routine
AccuFast w/ Macro Jobs 5.6 AutoTeach
5-22
166153-1CD 59/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.1 Features
6.1 Features
The R1CIRCLE macro detects positional deviations for curved (constant
radius) surfaces. A part’s center of curvature (i.e. the center of a circle) is
calculated using three detected positions along the surface of the curved
part. These positions are then compared with that of a master part and a
shift amount is calculated. This shift amount is based on the distance
between the center of the master part and the center of the deviated part.
This shift amount is then used to shift all positions programmed to the
surface of the part (i.e. MOVCs).
The R1CIRCLE macro also detects the diameter of the curved surface
and calculates a radial shift amount by comparing this diameter to the
diameter of the master part. This shift amount can be used to shift all
position ss programmed to the surface of the part (i.e. MOVCs) to account
for a change in diameter of the part's surface.
6-1
166153-1CD 60/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.2 Programming Requirements
6.1.4 Limitations
The CIRCLE routine works only on circles that lie perpendicular to either
the XY, YZ, or XZ plane. Cylinders / cylindrical surfaces where the axis of
the cylinder is not perpendicular to the X, Y or Z axis of Base Frame are
not supported by the macro.
6-2
166153-1CD 61/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.3 Job Setup
Instruction Explanation
‘If using a laser sensor instead Value of Rapid input number
‘ of touch sense, LI13 = rapid AccuFast is wired to. Set to “0” if
using touch sense.
' input # for laser sensor. Set
' LI13 to 0 if touch sensing is
' used
SET LI013 0
'
' output door is wired to Output number laser is wired to set
SET LI014 21 to amount of offset desired for Auto
Teach units = mm.
'
' LI6 = auto teach offset
SET LI006 10
SET LD000 LI006
'
' LI0 = non search speed Speed value for robot to use during
SET LI000 3000 air moves. Units mm/sec.
max= 3000 mm/sec of user frame to
' be created.
‘ LR4=AllowShiftAmnt as a Allowable shift amount in a
‘ % of Taught circle dia. percentage of the taught circle.
Set LR004 10
JUMP *ngDiachk IF LR004<1
JUMP *ngDiachk IF LR004>20
DIV LR004 100
‘
‘ Dvar Output for Diameter Diameter measurement of circle out
‘ Measurement put number
Set LB003 99
'-----------------------------------------
'- Setup Section ... complete ---
'----------------------------------------
'---Do not modify below here---
'----------------------------------------
6-3
166153-1CD 62/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.4 Interface
6.4 Interface
The R1CIRCLE macro instruction includes the following controls inside
the argument setting screen.
Fig. 6-2: Argument Settings R1Circle
6-4
166153-1CD 63/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.4 Interface
6-5
166153-1CD 64/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.5 Programming
6.5 Programming
6-6
166153-1CD 65/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.5 Programming
Robot Position 1
Robot Position 3
6-7
166153-1CD 66/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.5 Programming
INCORRECT CORRECT
6-8
166153-1CD 67/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.5 Programming
Robot Position 2
Robot Position 1
Target Position of
Search Motion
Start Position of
Search Motion
Robot Position 3
Search Offset
In the event the robot detects a tack or flat spot, the calcu-
lated center or the circle will not match the actual circles
NOTE center location. To reduce the magnitude of this error, the
distance between Robot Position 1, Robot Position 2, and
Robot Position 3 should be as large as possible.
6-9
166153-1CD 68/105
166153-1CD
TouchSense and 6 R1 CIRCLE: Circle Touch Routine
AccuFast w/ Macro Jobs 6.5 Programming
6-10
166153-1CD 69/105
166153-1CD
TouchSense and 7 Application Examples
AccuFast w/ Macro Jobs 7.1 T-Joint
7 Application Examples
7.1 T-Joint
In order to account for variations at the end of a part, a 1TCH routine in
tandem with a 2TCH routine can account for three dimensional variation.
This process uses the 1TCH routine to detect the edge of the plate. The
2TCH routine is then shifted by the amount developed by the 1TCH
routine Finally, the 2TCH routine is used to detect variations perpendicular
to the 1TCH routines search direction.
7-1
166153-1CD 70/105
166153-1CD
TouchSense and 7 Application Examples
AccuFast w/ Macro Jobs 7.1 T-Joint
The 1TCH routine, in this example, detects variations in the Part Variation
direction shown in the figure. Results of 1TCH routine are saved to P
variable P000. This shift amount is then used to shift the 2TCH routine.
Fig. 7-2: 2TCH
The 2TCH routine detects variations in part location described in the Part
Variation directions shown in this figure. The 2TCH routine detects the
shift amount, and places this shift amount plus the shift amount in P000
into the P variable P001. Because the 2TCH routine is shifted by the
amount detected with the 1TCH routine, the calculated shift amount of the
2TCH routine is based on the amount in P000 added to the amount in
P001.
7-2
166153-1CD 71/105
166153-1CD
TouchSense and 7 Application Examples
AccuFast w/ Macro Jobs 7.2 Cylinder to Plate
7-3
166153-1CD 72/105
166153-1CD
TouchSense and 7 Application Examples
AccuFast w/ Macro Jobs 7.2 Cylinder to Plate
The 1TCH routine, in this example, detects variations in the Part Variation
direction shown in the figure. Results of 1TCH routine are saved to P
variable P000. This shift amount is then used to shift the 2TCH routine.
Fig. 7-4: Part Variation R1CIRCLE
7-4
166153-1CD 73/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs
8 Programming Suggestions
Fig. 8-1: AccuFast Orientation (Lap Weld)
OK Better
8-1
166153-1CD 74/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.1 Perpendicular Search Paths
Total Shift
Amount Deviated Part
Shifted Weld
Start Point
CORRECT PROGRAMMING
Shifted Weld
Start Point Original
Programmed Part
Deviated Part
Total Shift
Amount
Shifted Weld
Start Point
INCORRECT PROGRAMMING
8-2
166153-1CD 75/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.1 Perpendicular Search Paths
Original
Programmed Part
Shifted Weld
Shifted Weld Start Position
End Position Shift Amount
Deviated Part
Located Surface
CORRECT PROGRAMMING
Robot Position 1
Taught Weld
Taught Weld Start Position
End Position
Original
Programmed Part
Deviated Part
Located Surface
INCORRECT PROGRAMMING
The seam finding macros discussed in this manual all contain routines
where the previously mentioned errors are dramatically reduced, while at
the same time realizing a reduction in teaching time. In summary, the
AutoTeach routines offer the following benefits:
• Reduced programming time.
• Improved ease of programming.
• Automatic detection of shift motion perpendicular to the part surface.
• Accurate programming of the detecting positions during teaching via
the AutoTeach routine.
• Reduced error associated with robot overshoot.
8-3
166153-1CD 76/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
8.2.1.1 AutoTeach 1
AutoTeach 1 is used to redefine Robot Position 2.
Fig. 8-6: Pattern Type 0, AutoTeach 1
Robot Position1
3 1
Robot Position 2
(Initial)
Robot Position 2
(After AutoTeach1)
Robot Position 3
8.2.1.2 AutoTeach 2
AutoTeach 2 is used to redefine Robot Position 3.
Fig. 8-7: Pattern Type 0, AutoTeach 2
Robot Position 1
Robot Positon 3
Robot Position 2 (After AutoTeach2)
3
2
1 Robot Position 3
(Initial)
8-4
166153-1CD 77/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
8.2.1.3 AutoTeach 0
Fig. 8-8: Pattern Type 0, AutoTeach = 0 (Playback)
Robot Position 1
8.2.2.1 AutoTeach 1
AutoTeach 1 is used to redefine Robot Position 2.
Fig. 8-9: Pattern Type 1, AutoTeach 1
Robot Position 1
3 2
4
Robot Position 3
8-5
166153-1CD 78/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
8.2.2.2 AutoTeach 2
AutoTeach 2 is used to redefine Robot Position 3.
Fig. 8-10: Pattern Type 1, AutoTeach 2
Robot Position 1
Depth
Robot Position 2
Robot Position 3
(After AutoTeach2)
2
1 Robot Position 3
(Initial)
8.2.2.3 AutoTeach 0
Fig. 8-11: Pattern Type 1, AutoTeach = 0 (Playback)
Robot Position 1
Robot Position 2
Ori
gin
al P
rog
ram
me
dP
art
Sh
ift
Am
ou
nt
De
via
ted
Pa
rt
8-6
166153-1CD 79/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
8.2.3.1 AutoTeach 1
AutoTeach 1 is used to redefine Robot Position 2.
Fig. 8-12: Pattern Type 2, AutoTeach 1
Robot Position 1
3 1
Robot Position 2
(Initial)
Robot Position 2
(After AutoTeach1)
Robot Position 3
8.2.3.2 AutoTeach 2
AutoTeach 2 is used to redefine Robot Position 3.
Fig. 8-13: Pattern Type 2, AutoTeach 2
Robot Position 1
4 5
3
2
1
Robot Position 3
(Initial)
8-7
166153-1CD 80/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
8.2.3.3 AutoTeach 0
Fig. 8-14: Pattern Type 2, AutoTeach = 0 (Playback)
Robot Position 1
Robot Position 2
Ori
gin
al P
rog
ram
me
dP
art
Sh
ift
Am
ou
De
nt
via
ted
Pa
rt
8.2.4.1 AutoTeach 1
AutoTeach 1 is used to redefine Robot Position 2.
Fig. 8-15: Pattern Type 3, AutoTeach 1
Robot Position 1
3 1
Robot Position 2
(Initial)
Robot Position 2
(After AutoTeach1)
Robot Position 3
8-8
166153-1CD 81/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
8.2.4.2 AutoTeach 2
AutoTeach 2 is used to redefine Robot Position 3.
Fig. 8-16: Pattern Type 3, AutoTeach 2
Robot Position 1
Depth
Robot Position 2
Middle of Gap
3 4 5
2
1
Robot Position 3
(Initial)
8.2.4.3 AutoTeach 0
Fig. 8-17: Pattern Type 3, AutoTeach = 0 (Playback)
Robot Position 1
Depth
Robot Position 2
Middle of Gap
3 4 5
2
1
Robot Position 3
(Initial)
8-9
166153-1CD 82/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
8.2.5.1 AutoTeach 1
AutoTeach 1 is used to redefine Robot Position 2.
Fig. 8-18: Pattern Type 4, AutoTeach 1
Robot Positon 1
3 1
Robot Position 2
(Initial)
Robot Positon 2
(After AutoTeach1)
Robot Position 3
8.2.5.2 AutoTeach 2
AutoTeach 2 is used to redefine Robot Position 3.
Fig. 8-19: Pattern Type 4, AutoTeach 2
Robot Position 1
Robot Positon 3
Robot Position 2 (After AutoTeach 2)
3
2
1
Robot Position 3
(Initial)
8-10
166153-1CD 83/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
8.2.5.3 AutoTeach 0
Fig. 8-20: Pattern Type 4, AutoTeach = 0 (Playback)
Robot Position 1
2
4
De
via Robot Position 2
ted
Pa
rt
t
oun
Amt
8.2.6 Pattern Type 5 Shif
8.2.6.1 AutoTeach 1
AutoTeach 1 is used to redefine Robot Position 2.
Fig. 8-21: Pattern Type 5, AutoTeach 1
Robot Position 1
3 2
4
Robot Postion 2
(After AutoTeach1)
Robot Position 2
(Initial)
Robot Position 3
8-11
166153-1CD 84/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
Depth
Robot Postion 2
Robot Positon 3
(After AutoTeach2)
Robot Positon 3
(Initial)
Depth
Robot Positon 2
Robot Positon 3
(After AutoTeach2)
2
1 Robot Position 3
(Initial)
8-12
166153-1CD 85/105
166153-1CD
TouchSense and 8 Programming Suggestions
AccuFast w/ Macro Jobs 8.2 Pattern Type and AutoTeach Descriptions
8.2.6.4 AutoTeach 0
Fig. 8-24: Pattern Type 5, AutoTeach = 0 (Playback)
Robot Position 1
2
4
Depth
3
De
via
ted
Pa
rt
t
oun
Amt
Shif
8-13
166153-1CD 86/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.1 Requirements
9.1 Requirements
It is under the assumption that the user has knowledge of Yaskawa
Motoman “Touch Sense and AccuFast Macro Jobs” function; mostly the
R1-EDGE macro instructions including its uses, programming procedure,
and association parameter settings.
User is required to have knowledge on how to program an accurate User
Frame onto the supplied detection block.
9.3 Overview
In the event that AccuFast needs to be re-mounted or replaced, (it is
impossible to get the exact location of the original sensor), measurements
using the sensor would have an error in shift measurements due to the
sensor not being in the expected location.
One of the following would have to take place to correct the above issue.
Manual
Manually reprogram all of the seam finding macro instructions the
controller after AccuFast has been remounted. Robot positions before the
ARCON/ARCOF instruction would probably need to be touched up also.
9-1
166153-1CD 87/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.4 Breakdown of Procedure
Semi-Automatic
User needs to create a TCP (i.e Tool#1) for AccuFast while it is mounted
in its original location. This could be done using the traditional 5 point
method. The sensor would then be replaced. The user would then be
required to create a second TCP (i.e. Tool#2) for the sensor in its new
location. Lastly, Macro Manager would need to be ran and the two Tool
Files would be referenced for updating the robot jobs containing seam
finding macro instructions.
Automatic
A target is used with AccuFast where a TCP is calculated and stored into
a Tool File. This is done twice - once before the sensor is taken off and
once after the sensor is remounted. The tool files are then updated (i.e.
Tool #1 and Tool #2... the exact Tool File numbers are user defined). The
macro manager is then ran and the two Tool Files are referenced for
updating of the robot jobs' seam finding macro instructions.
9-2
166153-1CD 88/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.5 Detailed Usage
9-3
166153-1CD 89/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.6 Adjust Settings of ACCUFAST - TCP - UPDATER robot job
9-4
166153-1CD 90/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.6 Adjust Settings of ACCUFAST - TCP - UPDATER robot job
WARNING
The P variable set by the parameters LI001, LI002, LI003, and LI006
will be overwritten during successful execution of this robot job. Any
data that was in these P variables will be lost. It is important to note
which P variables these parameters are referencing as other jobs are
being programmed into the robot controller.
9.6.1 Program the user Frame to be used by the Macro Manager Function's
Robot Job
To program an accurate User Frame, a tool is required (i.e Welding wire of
a welding torch) with a good accurate Tool Center Point (TCP). If TCP is
bad, (doesn't stay in same spot when moved in the round about motions in
World Coordinates), program a new TCP using the 5 point method.
1. Program the ORG of the User Frame at the corner of the block (as
shown in figure below). This corner of the detection block should be
smooth and flat, with adjacent surfaces that are as close to 90
degrees from each other as possible.
9-5
166153-1CD 91/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.6 Adjust Settings of ACCUFAST - TCP - UPDATER robot job
9.6.2 Set and Program the AccuFast - TCP - UPDATER Robot Job
1. Open the Robot Job named ACCUFAST - TCP - UPDATER.
2. Cursor to the variable setting section at the top of the job and confirm
the set values.
3. Cursor to the top section of the robot job. The bottom of this section is
noted by the comment “---Setup Complete”.
9-6
166153-1CD 92/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.6 Adjust Settings of ACCUFAST - TCP - UPDATER robot job
9-7
166153-1CD 93/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.6 Adjust Settings of ACCUFAST - TCP - UPDATER robot job
5. Set the User Frame number used above in the first section of the
instructions.
6. Program the three areas where the search motion will take place on
the block. User will program an approach point and the three Robot
Positions of the R1-EDGE macro instruction for each of the three
areas.
9-8
166153-1CD 94/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.6 Adjust Settings of ACCUFAST - TCP - UPDATER robot job
7. Program the MOVJ positions labeled Program Position and the first
R1-EDGE macro instruction labeled “Block, UF XX - Far.” It is
recommended to program the MOVJ position in the same area that the
Robot Position 1 or the R1-EDGE macro is programmed.
Fig. 9-3: Location of Robot Position 2, Block UF XX - Far
9-9
166153-1CD 95/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.6 Adjust Settings of ACCUFAST - TCP - UPDATER robot job
9-10
166153-1CD 96/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.7 Run the Robot Job in Train Mode
9-11
166153-1CD 97/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.7 Run the Robot Job in Train Mode
9-12
166153-1CD 98/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.7 Run the Robot Job in Train Mode
9-13
166153-1CD 99/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.8 Run the Robot Job in Calc Mode
9-14
166153-1CD 100/105
166153-1CD
TouchSense and 9 Target for TCP Update for AccuFast
AccuFast w/ Macro Jobs 9.10 TCP Detection Mode (Optional)
The first Argument (JOB ARGUMENT > ARG. 1) of the robot job
ACCUFAST - TCP - UPDATER sets the operating mode of this function.
The various modes are listed in the table below.
9-15
166153-1CD 101/105
166153-1CD
TouchSense and Appendix A ARG Target Values
AccuFast w/ Macro Jobs
A-1
166153-1CD 102/105
166153-1CD
TouchSense and Appendix B Value B Variables
AccuFast w/ Macro Jobs
The second argument (JOB ARGUMENT > ARG 2) of the robot job
ACCUFAST - TCP - UPDATER sets the address of a B Variable.
This B variable is given a value on the success / failure state of the
robot job. The possible values for this B variable are listed in the
table below.
B-1
166153-1CD 103/105
166153-1CD
TouchSense and Appendix C AccuFast Verify Routine (Optional Function)
AccuFast w/ Macro Jobs C.1 Overview
C.1 Overview
This a robot job that was written for the user to be able to see AccuFast is
experiencing a “drift” in measurement accuracy. Daily temperature
changes can make the sensor drift up to 8 mm. The robot moves the laser
sensor toward a pre - programmed distance - the “focal length” - and
checks to see that the sensor is turning off/on at the expected distance. If
the sensor is not turning off/on at the expected distance, the routine will
stop and prompts the user to: Check that sensor lens is clean. Once the
user clears the alarm and presses start, the routine will automatically
reprogram AccuFast to compensate for the drift amount in the sensor
measurement. This will occur for a total of five times. After five
recalibrations, the next attempt to update will cause the robot to stop and
an alarm will be displayed telling the user to: “Clean sensor lens, press
START” before recalibration will continue.
C-1
166153-1CD 104/105
TOUCHSENSE AND ACCUFAST
WITH MACRO JOBS
INSTRUCTIONS
MANUAL NO.
166153-1CD 0 105/105