Академический Документы
Профессиональный Документы
Культура Документы
MotoCal 3.0.1
Users Manual
Motoman, Incorporated
805 Liberty Lane
West Carrollton, OH 45449
TEL: (937) 847-6200
FAX: (937) 847-6277
24-Hour Service Hotline: (937) 847-3200
COMPLETE OUR ONLINE SURVEY
Motoman is committed to total customer satisfaction! Please give us your feedback on the technical manuals you
received with your Motoman robotic solution.
To participate, go to the following website:
http://www.motoman.com/forms/techpubs.asp
The information contained within this document is the proprietary property of Motoman, Inc., and may not be
copied, reproduced or transmitted to other parties without the expressed written authorization of Motoman,
Inc.
2007 by MOTOMAN
All Rights Reserved
Because we are constantly improving our products, we reserve the right to change specifications without
notice. MOTOMAN is a registered trademark of YASKAWA Electric Manufacturing.
Contents
Contents
About this Manual............................................................................. 1-1
Overview........................................................................................... 1-1
Safety Chapter 2:
General Safeguarding Tips ............................................................... 2-2
Mechanical Safety Devices ................................................................ 2-2
Installation Safety ............................................................................. 2-2
Programming Safety.......................................................................... 2-3
Operation Safety ............................................................................... 2-3
Maintenance Safety........................................................................... 2-4
Hardware Setup................................................................................ 3-1
Encoder Shipping Protection ........................................................... 3-1
Installation Chapter 3:
Selecting Encoder Location.............................................................. 3-2
Mounting the Encoder ..................................................................... 3-2
Connecting the Cables ..................................................................... 3-3
Connecting to the Robot Controller ................................................ 3-4
Software Installation......................................................................... 3-4
Updating Your .CLB File ................................................................... 3-5
Introduction ..................................................................................... 4-1
Encoder Location and Orientation................................................... 4-1
Procedures Chapter 4:
Special case: Positioners ...................................................................4-2
Robot and Tool Calibration...............................................................4-3
Using Taught Alignment to Clone Jobs from Real to Real ................4-9
Using Taught Alignment to Clone Jobs from CAD to Real..............4-15
Cloning Jobs from Real to Real using Automatic Alignment ..........4-21
Cloning Jobs from CAD to Real using Automatic Alignment ..........4-28
Cloning (General)...........................................................................4-35
Cloning Between Real Robot/Positioner Cells Using Automatic Align-
ment ................................................................................................4-37
Cloning from CAD to Real Robot/Positioner Cells Using Automatic
Alignment........................................................................................4-45
External TCP Calibration for Real to Real Robot Cloning ..............4-52
External TCP Calibration for CAD to Real Robot Cloning ..............4-59
Six Degrees of Freedom TCP Calibration........................................4-66
Creating a New Project......................................................................5-1
Operation Chapter 5:
Using an Existing Project ..................................................................5-3
Master Robot Project Organization ...................................................5-3
Measuring Calibration Points............................................................5-4
Selecting Calibration Points..............................................................5-5
Attaching the Measurement Adapter.................................................5-6
Measuring Calibration Points with the MotoCal Encoder ................5-6
Measuring calibration points with other measurement systems ......5-8
Calibration ........................................................................................5-9
Robot Calibration............................................................................5-11
End-Effector Calibration .................................................................5-12
Fixture Calibration ..........................................................................5-14
Calibration Results ..........................................................................5-19
Calibration with the Robot..............................................................5-21
Fixture Calibration ..........................................................................5-25
Filters ..............................................................................................5-26
Clone...............................................................................................5-26
Creating Alignment Files.................................................................5-26
Avoid Large Alignment Adjustments ...............................................5-27
Do not clone jobs between Masters................................................5-27
Appendix F: Troubleshooting
Glossary
Index
NOTES
The most basic robotic cell consists of three items: a The Calibration phase consists of three steps:
robot, end effector, and fixture. Each of these items 1. Strategically determining static positions within
can be represented mathematically using Computer the robot cell.
Aided Design (CAD). These models can then be 2. Physically measuring positions with appropriate
manipulated using OLP techniques to create and measurement system.
transfer robot programs: from one robot to another 3. Mathematically determining relevant actual
(cloning), from a robot (before maintenance) back to parameters.
itself (after maintenance), from a master robot to
In the Filtering phase, MotoCal mathematically alters
all new robots (setup), and from simulation software
the robot path using a filter algorithm, taking into
(MotoSim) to a physical cell.
consideration the difference between the nominal
The computer models of the robot cell used for OLP parameters of the model robot cell and those of the
manipulation are based on nominal dimensions (i.e. actual physical cell.
design intended dimensions). When compared with
actual dimensions (i.e. real production dimensions),
deviations are apparent. These deviations occur due Equipment Description
to inherent manufacturing tolerances. Because of The MotoCal robot calibration package includes the
these deviations, the computer model may not be an following major components:
accurate representation of the physical cell. This can
cause unpredictable results when performing the Software
Calculates calibration values and allows upload and
following functions: download of data to and from the robot controller.
Positioning of the Tool Center Point (TCP) Encoder
Shift functions Takes position measurements of the robot using a
PMT functions thin metal cable.
Parallel Shift Data cables
Relative Job transformations Enables communication between the encoder and
PC and between the PC and robot controller.
Robot-to-robot transfer
CMM-calibrated measurement tool
Teaching Off-Line Programs via MotoSim, etc. Calibrates the robot T-axis (optional).
Transferred robot programs may not follow intended
paths, resulting in potential collisions and/or poor
accuracy and robot performance. MotoCal Components
Motocal compares the actual dimensions of the robot Standard items
cell with the nominal dimensions of the robot model
to correct the downloaded robot programs. This is The following items are included with the MotoCal
accomplished in two phases: the Calibration phase package:
followed by the Filtering phase. MotoCal Users Manual
Motoman Software CD
FDEWin Version 2.6
Hardware Security Key for MotoCal and FDEWin
NOTES
Be sure that only qualified personnel familiar with The concurrent I/O (Input and Output) function
national codes, local codes, and ANSI/RIA R15.06 allows the customer to modify the internal ladder 2
safety standards are permitted to install the inputs and outputs for maximum robot
equipment. performance. Great care must be taken when
Identify the work envelope of each robot with making these modifications. Double-check all
floor markings, signs, and barriers. modifications under every mode of robot
Position all controllers outside the robot work operation to ensure that you have not created
envelope. hazards or dangerous situations that may damage
the robot or other parts of the system.
Whenever possible, install safety fences to protect
against unauthorized entry into the work Improper operation can result in personal injury
envelope. and/or damage to the equipment. Only trained
personnel familiar with the operation, manuals,
Eliminate areas where personnel might get electrical design, and equipment interconnections
trapped between a moving robot and other of this robot should be permitted to operate the
equipment (pinch points). system.
Provide sufficient room inside the workcell to Inspect the robot and work envelope to be sure no
permit safe teaching and maintenance procedures. potentially hazardous conditions exist. Be sure the
area is clean and free of water, oil, debris, etc.
Programming Safety Be sure that all safeguards are in place.
Check the E-STOP button on the teach pendant for
All operators, programmers, plant and tooling proper operation before programming.
engineers, maintenance personnel, supervisors, and
Carry the teach pendant with you when you enter
anyone working near the robot must become familiar the workcell.
with the operation of this equipment. All personnel
Be sure that only the person holding the teach
involved with the operation of the equipment must pendant enters the workcell.
understand potential dangers of operation.
Test any new or modified program at low speed for
Programming tips are as follows: at least one full cycle.
Any modifications to PART 1 of the controller PLC Incorrect use of MotoCal for robot calibration may
can cause severe personal injury or death, as well cause incorrect robot calibration resulting in robot
as damage to the robot! Do not make any crash and /or rpersonal injury or death.
modifications to PART 1. Making any changes Incorrect use of MotoCal for job Filtering or
without the written permission of Motoman will Downloading, may cause robot crash and/or
VOID YOUR WARRANT Y! personal injury or death.
Some operations require standard passwords and
some require special passwords. Special passwords
are for Motoman use only. YOUR WARRANT Y Operation Safety
WILL BE VOID if you use these special
passwords. All operators, programmers, plant and tooling
engineers, maintenance personnel, supervisors, and
Back up all programs and jobs onto a floppy disk
whenever program changes are made. To avoid anyone working near the robot must become familiar
loss of information, programs, or jobs, a backup with the operation of this equipment. All personnel
must always be made before any service involved with the operation of the equipment must
procedures are done and before any changes are understand potential dangers of operation.
made to options, accessories, or equipment. Operation tips are as follows:
2
Be sure that only trained personnel familiar with
the operation of this robot, the operator's
Maintenance Safety
manuals, the system equipment, and options and All operators, programmers, plant and tooling
accessories are permitted to operate this robot engineers, maintenance personnel, supervisors, and
system. anyone working near the robot must become familiar
Check all safety equipment for proper operation. with the operation of this equipment. All personnel
Repair or replace any non-functioning safety involved with the operation of the equipment must
equipment immediately. understand potential dangers of operation.
Inspect the robot and work envelope to ensure no Maintenance tips are as follows:
potentially hazardous conditions exist. Be sure the
area is clean and free of water, oil, debris, etc. Do not perform any maintenance procedures
before reading and understanding the proper
Ensure that all safeguards are in place. procedures in the appropriate manual.
Improper operation can result in personal injury Check all safety equipment for proper operation.
and/or damage to the equipment. Only trained Repair or replace any non-functioning safety
personnel familiar with the operation, manuals, equipment immediately.
electrical design, and equipment interconnections
of this robot should be permitted to operate the Improper operation can result in personal injury
system. and/or damage to the equipment. Only trained
personnel familiar with the operation, manuals,
Do not enter the robot cell while it is in automatic electrical design, and equipment interconnections
operation. Programmers must have the teach of this robot should be permitted to operate the
pendant when they enter the cell. system.
The robot must be placed in Emergency Stop (E- Back up all your programs and jobs onto a floppy
STOP) mode whenever it is not in use. disk whenever program changes are made. A
This equipment has multiple sources of electrical backup must always be made before any servicing
supply. Electrical interconnections are made or changes are made to options, accessories, or
between the controller, external servo box, and equipment to avoid loss of information, programs,
other equipment. Disconnect and lockout/tagout or jobs.
all electrical circuits before making any Do not enter the robot cell while it is in automatic
modifications or connections. operation. Programmers must have the teach
All modifications made to the controller will pendant when they enter the cell.
change the way the robot operates and can cause The robot must be placed in Emergency Stop (E-
severe personal injury or death, as well as damage STOP) mode whenever it is not in use.
the robot. This includes controller parameters,
ladder parts 1 and 2, and I/O (Input and Output) Be sure all safeguards are in place.
modifications. Check and test all changes at slow Use proper replacement parts.
speed. This equipment has multiple sources of electrical
supply. Electrical interconnections are made
between the controller, external servo box, and
other equipment. Disconnect and lockout/tagout
all electrical circuits before making any
modifications or connections.
2 NOTES
25.4 mm
RIGHT WRONG (1.0 in.)
ENCODER MOUNTED ENCODER NOT MOUNTED
SECURELY - NO MOVEMENT SECURELY - ENCODER MOVES
WHILE ROBOT IS IN MOTION WHILE ROBOT IS IN MOTION 50.8 mm
(2.0 in.)
WARNING! 9-PIN
If anchoring the encoder using a clamp
DATA
or weight, avoid putting pressure near ACQUISITION 9-PIN
UNIT
the top center of the encoder as this 9-PIN 25-PIN
To load the encoder calibration file (.clb) on 3. Modify this file by deleting the seventh line 0.0,
your PC, proceed as follows: and adding two additional lines to the bottom of
the file; -17.000, and 2500.
1. Insert encoder calibration Disk into disk drive. 101.473
2. Copy calibration file (.clb) to MotoCal Templates 0.020915638
folder, C:\Program Files\Motoman\MotoCal 0
3
Templates. -0.0026915521
1.09558e-006
To Start MotoCal: 9.525
From Windows, click on the START button. Select 0.0
Programs and then select MotoCal from the list of 0.000
0.000
programs. To start MotoCal from a shortcut on the 0.000
desktop, simply double click the MotoCal software -17.000
icon. A screen with the software name and version 2500
number appears.Press the space bar to proceed. 4. Be sure there are no extra spaces or empty lines
and save the file.
5. The calibration file must now be copied from
Updating Your .CLB File the old MotoCal directory to MotoCal 3.0. Copy
Encoder calibration files shipped before MotoCal the modified .clb file and paste into the MotoCal
version 3.0 must be updated for use with MotoCal 3.0 Templates directory (i.e. C:\Program
3.0. To update your calibration file, proceed as Files\Motoman\MotoCal\Templates).
follows:
1. Locate and open your calibration file. The
encoder calibration file is named [serial
number].clb (i.e. 335.clb) and is located in the
MotoCal directory (i.e. C:\Program
Files\Motoman\MotoCal). The serial number
must match the number physically stamped on
the encoder you are using.
2. Your .clb file should look similar to this:
101.473
0.020915638
0
-0.0026915521
1.09558e-006
9.525
0.0
0.000
0.000
0.000
NOTES
The orientation of the encoder is entered in the The Left model is used when the Positioner is to
Fixture screen found in the Calibration window right the left of the robot with its axis parallel to the X-axis
before you click Start Calibration. In the fixture of the robots world frame. The model assumes a
window, there is a section called Measurement base. rotation of 90 degrees about Z. So when you start
The R1, R2, and R3 boxes in the MB1 (Measurement the procedure above, begin by matching the robots
Base 1) section hold the Rx, Ry, and Rz values world frame. Rotate about Z by 90 degrees, and then
required to translate from the robots world frame to determine the angles that need to be in R1, and R2
the encoders mounted orientation. In cases where (Rx and Ry). R3 will still typically be 0.
more than one encoder location is used, you will also The Right model is used when the Positioner is to
have MB2, MB3, and MB4, which correspond to the the right of the robot with its axis parallel to the X-
second, third and fourth mounting positions of the axis of the robots world frame. The model assumes a
4 encoder. rotation of -90 degrees about Z. So when you start
To determine the values required for the orientation, the procedure above, begin by matching the robots
use the right hand rule, with your thumb as the z- world frame. Rotate about Z by -90 degrees, and then
axis, your index finger as the x-axis, and your middle determine the angles that need to be in R1, and R2
finger as the y-axis. Align your hand with the robots (Rx and Ry). R3 will still typically be 0.
world frame. The goal is to align your thumb with the
Main Swiveling Axis of the Encoder.. Begin by rotating
about x if necessary, then about y if necessary.
Typically Rz will remain 0. The degree amounts you
had to move about X and about Y (forefinger and
middle finger) are the degree amounts you need to
enter in R1, and R2. The more accurate the angular
measurements the better the results of the
calibration will be. It may help to use a digital level.
Accuracy to +/- 1 degree is close enough.
Special case: Positioners
First, run the Positioner to its home position, where
its pulse position is zero.
There are three different Positioner model types,
Left, Front, and Right, for each supported
Positioner.
The Front model is used when the Positioner is in
front of the robot with its axis parallel to the Y-axis of
the robots world frame. Determine the alignment
angles for the encoder as described above.
Calibration
SERVO ON MODE EMERGENCY STOP
READY
PLAY TEACH
EDIT LOCK
(OFF) ALARM
(ON) REMOTE HOLD START
ON
TRIP
OFF
ESET
N/ R
PE
O
9. Set Measurement Adapter Offset to 31.75 mm if d) If this test indicates the accuracy of the arm
using the Universal Adapter. If using the welding is good enough, then the calibration
tip adapter, set this field to 12.7 mm. procedure can be stopped at this point.
10. Base Adapter Offset is not used for mastering 17. If there is not already a measurement job on the
projects. Therefore, do not change this field. robot controller, load one or teach one to the
11. Click OK on the Measurement System window controller. To send a job from the MotoCal
and again on the New Project window. project, select Project File Transfer and use
12. Click Save. MotoCal saves your new project. FDEWin. You can also use a Flash card to
transfer jobs. To teach a measurement job,
13. Attach the measurement adapter to the tool on proceed as follows:
the robot arm so the TCP of the adapter is the
same as that of the tool. a) Attach the measurement cable to the
Measurement Adapter.
14. Mount the Encoder so it is stable relative to
4 robot base. b) Consider the work area of the robot and
imagine a rectangular solid approximately
15. Connect the Data Acquisition box to one of the filling this volume. Program a job with four
COM ports on your PC. Connect the encoder points at each of the eight corners of this
and power supply cables to the Data Acquisition shape. After teaching the first point at a
box. Connect the FDE cable if there is an corner, teach three more by making large
available com port. changes in the orientation of the TCP. Be
16. Test the robot and tool calibration before sure the measurement adapter does not
performing a new calibration. bind and the measurement cable does not
a) Select Project Verify Calibration. touch anything while the job is running.
b) Place the controller in Cartesian coordinate c) Use FDEWin to copy the job to the MotoCal
mode. Use the Rx, Ry, and Rz keys on the project. Start FDEWin by selecting Project
programming pendant to roll the tool File Transfer from the menu. Use the
around the TCP, ideally without moving the programming pendant to complete the
TCP. Take measurements at the different save procedure.
tool orientations. Only take measurements 18. You should now have a good measurement job
when the robot at a complete stop. on the controller and the same job in the
However, be sure to keep servo power ON. MotoCal project. If the job does not appear in
The Verify screen displays the total change the Robot Files window of the project, right click
in cable length that occurs during this test. in that window and select Add Files to Project
If you want to repeat this test precisely, and select the job.
create a Cartesian position variable job with
points for each of the orientations 19. Click Measure . The message Make sure
measured. The X, Y and Z coordinates of that the measurement attachment is at the
the position variables of this job should all reference position appears. Be sure the
remain the same. Only the Rx, Ry and Rz measurement cable is attached to the metal post
values should change. on the encoder and click OK.
c) When you have recorded enough
measurements, click OK. The Verify
measurements are recorded under
Measurement files. The generated file
name indicates the test results
Note: If the message Couldnt find ANY Data 22. When all measurements have been taken, click
Acquisition Card appears, check the OK. The measurements are recorded in the .msr
connections between the PC COM port and Data file shown in the Measurement Files window.
Acquisition box. Also check power supply Place the measurement cable back in the
connections and try Measure again. Be sure reference position on the encoder.
FDEWin, or some other application, is not 23. Select the Measurement Job in the Robot files
holding the port the Encoder is attached to. When window, the Measurement file in its window,
the Data Acquisition box is fully connected the
and the default filter and alignment files in their
windows. With these files selected click the
Measurement Screen appears. A blue rectangle is
displayed at the bottom of the measurement
Default Calibration Button . The Choose
indicator. A red rectangle indicates a problem
Calibration System window appears with the
with the .clb file (see Updating Your .CLB File, selected files. 4
page 3-5). If there is an LED on the encoder, it
should be lighted. Note: If any of these screens is skipped, change the
Projects settings by selecting "Projects->Select
Screens->Preferences". Set checks in all the
boxes to prevent screens from being skipped.
24. Be sure the correct files are selected and click
OK.
ON ON
TRIP TRIP
OFF
OFF
SET
SET
/RE
/RE
N
N
PE
PE
O O
Note: Make sure displayed .clb file matches the serial c) Teach several other points varying the
number on your encoder. If it does not, copy file from orientation until you have approximately
Encoder Calibration disk to MotoCal Templates folder. fifty points.
7. Set Type to Manual. Note: Use FDEWin to move a job between PC and robot
8. Set Measurement Adapter Offset to 31.75 mm if controller. Start FDEWin by selecting Project PC<-->
using the Universal Adapter. If using the welding Controller File Transfer from the main menu.
tip adapter, set this field to 12.7 mm. 16. Add the measurement job to the Robot Files
9. The Base Adapter Offset can be set to zero. It is menu. Right click in the Robot Files window,
not used for this calibration. select Add Files to Project and select the job.
10. Click OK on the Measurement System window 17. Click the Measure button. MotoCal prompts you
and click OK on the New Project window. to place the measurement cable in the reference
4 11. Allow MotoCal to save your new project. position. Click OK
12. Attach the measurement adapter to the robot Note: If the message Couldnt find ANY Data
arm tool so the adapter TCP and robot tool TCP Acquisition Card... appears, check the cable connections
are the same. If using a CMM T-axis calibration
tool, this step is complete. If calibrating with between the PC COM port and the Data Acquisition box.
weld torch and Universal Measurement Adapter, Check the power supply cable to the Data Acquisition box
be sure to align the interior point of the Adapter also. When all cable connections are properly made, the
with the TCP of the torch. If the production job Measurement screen appears. The measurement
will run with a mass that is a significant fraction indicator should be blue, a red measurement indicator
of the arms capacity, this mass should be indicates a problem with the .clb file (see Updating Your
present while measurements are taken. .CLB File, page 3-5).
13. Mount the MotoCal Encoder so that it is stable
relative to the robot base.
14. Connect the Data Acquisition box to one of the
COM ports on your PC. Connect the encoder
and power supply to the Data Acquisition box.
15. If you do not have a measurement job currently
loaded on your robot controller, load or teach a
new measurement job. To create a new
measurement job, proceed as follows:
a) Attach measurement cable to Measurement
Adapter.
b) Consider the work area of the robot and
imagine a rectangular solid approximately
filling this area. Program a job that has four
points at each of the eight corners of the
shape. After teaching the first point at a
corner, teach three more by making large
changes in the orientation of the TCP. Be
sure the measurement adapter does not
bind and the measurement cable does not
touch anything during the job.
18. Attach the measurement cable to the 22. Click OK. If the Cannot find any TCP...
measurement adapter. Run robot to first point in message appears, click OK. The Parameters for
measurement job. The measurement screen the measurement job screen appears. Enter the
indicates the length the cable changed. When tool XYZ values from the robot controller,
the robot is stabilized at the first point, press the regardless of the validity of this data. Click OK.
Measure button. The Measurement screen
indicates the point has been recorded.
19. Continue to record measurements for each
point in the measurement job.
20. When all measurements have been taken, click
OK. Measurements are recorded in the .msr file
shown in the Measurement Files window. Place
the measurement cable back in the reference 4
position on the encoder.
21. Select the Measurement job in the Robot files
window, the Measurement file in its window,
and the correct filter and alignment files in their
windows. Then click the Default Calibration
Button. This button has the robot icon. When
the Choose Calibration System window appears,
check that the correct files are displayed. You
may correct any of the fields by typing
corrections directly, or by using the More... 23. The Calibration screen is displayed with green
buttons to the right of each field. checks on Robot and/or End-Effector. The
Note: If any of these screens is skipped, change the checks indicate what will be included in the
Projects settings by selecting "Projects->Select calibration. Click End-effector and set Calibrate
end-effector to Yes.
Screens->Preferences". Set checks in all the
boxes to prevent screens from being skipped.
If the TCP will carry mass that is a significant fraction 26. Click Start Calibration. If the resulting errors and
of the arms capacity and this mass was present while standard deviations are small enough, click Save
measurements were taken, enter information about Calibration and Close. If these values are not
this mass in the Tool Center of Gravity and Mass box small enough (see the close: heading at the
near the center of the screen, within the End- end of the Calibration Results section in the
effector parameters box. Enter the XYZ coordinates next chapter.) you have not saved the All.prm
file from the controller to the PC. With FDEWin
in millimeters of the center of gravity using the tool started, use the teach pendant to save All.prm to
flange coordinates. Enter the mass attached to the your project. If using an XRC controller, this will
tool flange in kilograms. This data is most important take several minutes. After All.prm has been
when jobs taught in CAD will be run on heavily saved to the PC, enter a name for the Filter file
loaded arms. to be created. By default, it will be written over
4 24. Click the Robot window. If necessary, turn off the Motoman_[rbt].prm file that holds nominal
tt6. If you entered Tool Center of Gravity and values. Choose another name that is meaningful
Mass data in the End Effector window you may to you.
want to turn on more of the k parameters in 27. From the main menu, select Project->Create
the Robot window. The parameters k1 Directory -> Clone. You can change the name
through k6 correct for sag in the robot arm of the project to be created by changing the
joints SLURBT respectively. By default, k2 and k3 Project Name field. Click OK. The clone project
are turned ON. You may want to turn ON k4 and is created with many of the same files that are in
k5 also. You should only turn ON k6 if the mass the Master project you started with.
on the TCP is not symmetric around the Z-axis. 28. You must have an accurate copy of the Master
You should only turn ON k1 if the robot is fixture for each Clone Cell. Set up the Clone Cell
mounted on a wall. so that it is as similar to the Master Cell as
25. The base of the Encoder has small screw holes possible. This will decrease the likelihood of
and alignment pin holes in one of its quarters. unreachable points in the cloned job.
The Z-axis of the Encoder points up when the
Encoder sits flat on its base. If the Encoder Z axis
is not parallel to the robot base Z axis, this
information must be entered in the Fixture
window. To do this, click the Fixture button. In
the R1 field(s) enter the roll around the Robot
Base X axis that is required to make the Robot
Base Z axis parallel to the Encoder Z axis. In the
R2 field(s) enter the roll around the Robot Base
Y axis that is required to make the Robot Base Z
axis parallel to the Encoder Z axis. For more
information, refer to the Encoder Location and
Orientation section at the beginning of this
chapter.
31. When you have made all the settings, select Start 33. Perform a Calibration to create an Alignment file
Calibration. When the reported values are for the difference in the alignment between the
satisfactory, select Save Calibration and Close. As two real robot cells. In the original project,
for the Master Cell, you must use FDEWin to select the Filter file you created. In the Clone
load All.prm from the Clone robot controller project, select the Filter file created from the
into the Clone Project. Be sure that you have Clone cell. From the Clone project, drag the
only one instance of FDEWin running and that it Clone alignment job onto the Master alignment
is directed to the Clone project. job. This will bring up the TCP and Alignment
32. On the Clone robot teach the same four Dialog. ( You can also bring up this dialog from
alignment points in the same order that you the menu by selecting Calibration Calibrate.
taught on the Master robot. Save this job into Select the Robot tab. Make sure the files
the Clone project with FDEWin. mentioned above are used.) This Calibration is
only to make an Alignment of the Fixture, so you
cannot change any settings.
34. Select Start Calibration. You are prompted to
enter a name to save the Alignment file. It will be
given an ".aln" extension to indicate alignment.
35. Enter correct TCP information for the two real
cells. These TCP values must be the ones used
when the alignment jobs were taught.
two cells.
2
JOB FOR REAL ROBOT 2, ALIGNED
FOR REAL FIXTURE 2, REAL2.JBI
38. If a Master job is not ready to download, add 40. After you finish with the second Parameters For
one to the Master project now. In the Master screen, the Successful Filter message appears
project, select the job and filter to be and the adjusted job appears in the Robot files
downloaded. In the Clone project, select the window of the Clone project. If there are points
Filter and Alignment files created above. Select that could not be adjusted, a Points not
Reachable message appears before the
the Clone Project Default Filter button. The Successful Filter message. Be careful the first
Setup to filter Jobs screen appears. Make sure time you run the downloaded job on the clone
the correct files are selected. To avoid robot, especially if the Points not Reachable
confusion, change the name of the Destination message appeared.
robot file to remind you that it has been 41. Use FDEWin to transfer the new job to the clone
adjusted for the real robot. This is the name of controller. Run it carefully. Once the filter and
the downloaded job that will be created in the alignment files are created, it will be easy to
Clone project. Make sure the other fields are create and download the next Master job.
filled in correctly. Select OK.
39. In the Parameters For screens, enter the correct
TCP values. The first screen is for the TCP values
you set in the Master robot when you taught the
job. The second screen is for the TCP values to
be set on the Clone robot when you run the job.
EDIT LOCK
(OFF)
(ON)
PLAY
MODE
REMOTE
TEACH
ALARM
EMERGENCY STOP
HOLD START
OFF
ESET
N/R
PE
O
Note: Make sure the displayed .clb file matches the b) Consider the work area of the robot and
serial number on your encoder. If it does not, imagine a rectangular solid approximately
copy the file from the Encoder Calibration disk to filling this volume. Program a job with four
the MotoCal Templates folder C:\Program points at each of the eight corners of this
Files\Motoman\MotoCal Templates. shape. After teaching the first point at a
corner, teach three more by making large
7. Select the Manual radio button under Type. changes in the orientation of the TCP. Be
8. Set Measurement Adapter Offset to 31.75 mm if sure the measurement adapter does not
using the Universal Adapter. If using the welding bind and the measurement cable does not
tip adapter, set this field to 12.7 mm. touch anything while the job is running.
9. You can set the Base Adapter Offset to zero. c) Teach several other points, varying the
However, it is not used for this calibration. orientation, until you have approximately
4 10. Click OK on the Measurement System window fifty points.
and again on the New Project window. d) Use FDEWin to copy the job to the MotoCal
11. Click Save. MotoCal saves your new project. project. Start FDEWin by selecting Project
12. Attach the measurement adapter to the tool on File Transfer from the menu. Use the
the robot arm so the TCP of the adapter is the programming pendant to complete the
same as that of the tool. If using a CMM T-axis save procedure.
calibration tool, this is done. If calibrating with 16. You should now have a good measurement job
weld torch and Universal Measurement Adapter, on the controller and the same job in the
be sure to align the interior point of the Adapter MotoCal project. If the job does not appear in
with the TCP of the torch. the Robot Files window of the project, right click
If the production job will run with mass that is a in that window and select Add Files to Project
significant fraction of the arms capacity, this and select the job.
mass should be present while measurements are 17. Click the Measure button. MotoCal prompts you
taken. to place the measurement cable in the reference
13. Mount the Encoder so it is stable relative to the position. Click OK
robot base. Note: If the message Couldnt find ANY Data
14. Connect the Data Acquisition box to one of the Acquisition Card appears, check the
COM ports on your PC. Connect the encoder connections between the PC COM port and Data
and power supply cables to the Data Acquisition Acquisition box. Also check power supply
box. Connect the FDE cable. connections and try Measure again. Be sure
15. If there is not already a measurement job on the FDEWin, or some other application, is not
robot controller, load or teach one to the holding the port the Encoder is attached to. When
controller. To teach a measurement job, proceed
as follows: the Data Acquisition box is fully connected the
Measurement Screen appears. A blue rectangle is
a) Attach measurement cable to Measurement
Adapter. displayed at the bottom of the measurement
indicator. A red rectangle indicates a problem
with the .clb file (see Updating Your .CLB File,
page 3-5). If there is an LED on the encoder, it
should be lighted.
30. You also need to create the CAD job to 32. Click Start Calibration. You are prompted to
download. If the CAD job is for a test, rather enter a name to save the Alignment file. An
than a real production job, it should go to points ".aln" extension is attached to indicate
and edges so the accuracy of the download can alignment.
be judged. Do not program points at the limits 33. Enter the correct TCP information for the CAD
of the envelope. This can result in points that system and the real system. These TCP values
cannot be reached by the real robot due to must be the ones used in the CAD system and
differences in the alignment of the fixture. When on the real system when the alignment jobs
you have created this CAD job, add it to the CAD were taught.
project. 34. The Successful Filter message appears
31. Perform a Calibration to create an Alignment file followed by the Alignment Results. Smaller error
for the difference in the alignment between the values are better. This method relies on accurate
real robot and CAD robot. In the original teaching and is not expected to provide the
project, select the Filter file you created earlier. same accuracy as methods that do not. The
With the Shift key held down, drag the CAD Alignment button shows the calculated X value
alignment job from the CAD project to the real for the alignment difference. Click this button to
alignment job. The TCP and Alignment dialog see the calculated X, Y, and Z displacements and
appears. This Calibration is only to make an standard deviation associated with each.
Alignment of the Fixture, so you cannot change 35. Clicking OK and Close creates the new
any settings. Alignment file. You can now download the CAD
jobs.
EDIT LOCK
(OFF)
(ON)
PLAY
MODE
REMOTE
TEACH
ALARM
EMERGENCY STOP
HOLD START
ON
YASNAC XRC SK16X
SERVO ON
READY
EDIT LOCK
(OFF)
(ON)
PLAY
MODE
REMOTE
TEACH
ALARM
EMERGENCY STOP
HOLD START
accurate mounting
TRIP TRIP
MASTER CLONE
OFF
OFF
SET
SET
/RE
/RE
N
N
PE
PE
O O
bushing adapter.
The encoder is mounted
FILTER FILE FOR MASTER, *.PRM
with an adapter plate FILTER FILE FOR CLONE, *.PRM
ALIGNMENT FILE FOR MASTER TO CLONE, *.ALN
that attaches to its
bottom corner with two
alignment pins and two screws. The pin on this plate fits the bushings at the mounting points. The axis of this
pin is the same as the vertical axis around which the orientation of the external pulley can change. This means
that when the encoder is mounted by means of the plate with the pin in a bushing, the orientation of the
encoder around the pin does not matter. Thus the encoder can be positioned to minimize interference with the
cable.
The Base Adapter Offset is the distance that the mounting bracket holds the base of the encoder above the
surface of the fixture. The base adapter Offset thickness must be provided so MotoCal can determine the
correct elevation (Z) difference for the alignment. See step 9 below.
19. Attach the measurement cable to the If the TCP will carry mass that is a significant fraction
measurement adapter. Jog the robot to the first of the arms capacity and this mass was present while
point of the measurement job. The measurements were taken, enter information about
measurement screen shows cable length this mass in the Tool Center of Gravity and Mass box
changes. When the robot is stabilized at the first near the center of the screen, within the End-
point, select Measure. The Measurement screen effector parameters: box. Enter the XYZ coordinates
shows the point has been recorded.
in millimeters of the center of gravity using the tool
20. Continue to record measurements for each flange coordinates. Enter the mass attached to the
point in the measurement job.
tool flange in kilograms. This data is most important
21. When all measurements have been taken, click when jobs taught in CAD will be run on heavily
OK. The measurements are recorded in the .msr
file shown in the Measurement Files window. loaded arms.
4 Place the measurement cable back in the 26. Click the Robot window. If necessary, turn off
reference position on the encoder. tt6. If you entered Tool Center of Gravity and
22. Move the Encoder to the next location on the Mass data in the End Effector window you may
fixture and repeat steps 19 through 22 until you want to turn on more of the k parameters in
have four measurement files recorded, one for the Robot window. The parameters k1
each encoder location. through k6 correct for sag in the robot arm
23. Select the Measurement jobs in the Robot files joints SLURBT respectively. By default, k2 and k3
window, the Measurement files in their window, are turned ON. You may want to turn on k4 and
and the correct filter and alignment files in their k5 also. You should only turn on k6 if the mass
windows. Then click the Default Calibration on the TCP is not symmetric around the Z-axis.
You should only turn on k1 if the robot is
button . When the Choose Calibration mounted on a wall.
System window appears, be sure the correct
files are displayed in the correct order. You may
correct any of the fields by typing corrections
directly or by using the browse buttons to the
right of the fields
Note: If any of these screens is skipped, change the
Projects settings by selecting "Projects->Select
Screens->Preferences". Set checks in all the
boxes to prevent screens from being skipped.
24. If this is a new project you will be prompted to
enter TCP values. Next, a Parameters for the
measurement job screen is displayed. Enter the
tool XYZ values from the controller, regardless 27. Click Fixture and set Calibrate fixture to NO. In
of their accuracy. Click OK. the Measurement Base Box, select Unknown.
25. The Calibration screen is displayed with green
checks on Robot and End-Effector. The checks
indicate what will be included in the calibration.
Click End-effector and set Calibrate end-effector
to Yes.
28. The Encoder base has several mounting and b) The clone project will be created with many
alignment holes in one of its quarters.The Z-axis of the same files that are in the project you
of the Encoder points up when the Encoder sits started with, the Master project.
flat on its base. If the Encoder Z axis is not 35. Measurement of the Clone cell.
parallel to the robot base Z axis this information a) Make the position of the fixture for the
must be entered in the Fixture window. In the Clone cell as similar to the master cell as
R1 field(s) enter the roll around the Robot Base you can without much trouble. This will
X axis that is required to make the Robot Base Z decrease the likelihood of unreachable
axis parallel to the Encoder Z axis. In the R2 points in the cloned job.
field(s) enter the roll around the Robot Base Y
axis that is required to make the Robot Base Z b) Take measurements for the Clone robot as
axis parallel to the Encoder Z axis. For more you did for the Master robot. Use the same
information, refer to the Encoder Location and jobs that came from the Master project, if
Orientation section at the beginning of this possible. Be careful that these jobs do not 4
chapter. cause the Clone robot to crash, or cause
interference with the measurement cable.
29. Click Start Calibration. If you need to change the measurement
30. If errors and standard deviations are small jobs, you must replace the originals in the
enough, click Save Calibration and Close. If clone project with the new versions from
these values are not small enough see the the controller.
close: heading at the end of the Calibration
Results section in the next chapter. Create the Filter and Alignment files for the
31. MotoCal asks if you want to rezero the robot. Clone Cell
Select No. 1. After you have taken all the measurements for
32. Save the All.prm from the controller to the PC to the four Encoder locations you can create a
make a filter. Use FDEWin to save All.prm to Filter for the Clone robot, and an alignment file
your project. If you are using an XRC controller, for the adjustment between the Master and this
this will take several minutes. After All.prm has Clone project. The procedure for the clone
been saved to the PC, MotoCal informs you if a project differs from the procedure you used for
filter has not been purchased for this robot. the Master Project.
Otherwise, enter a name for the Filter file to be a) As starting Filter file use
created. By default, MotoCal overwrites the NameYouMadeUp.prm that was copied into
Motoman_[rbt].prm file that holds nominal the new Clone project when it was created,
values. Select another name that is meaningful instead of the Motoman_[rbt].prm.
to you. No alignment file is created. However, b) You do use Motoman_[rbt].aln file because
the fixture location information is recorded. as explained above, no alignment file was
This information is used in the Clone project. created in the Master project.
33. From the Main Menu select Project-Create 2. Set up the Robot and End-effector windows as
DirectoryClone. Click OK. you did for the Master project. If you did not use
34. Create a Sub Project for the Second (Clone) the same measurement jobs in the Clone
Robot and its Positioner. project that you used in the Master project, you
a) From the Main Menu select Project- must click the Robot button and turn Off Use
>Create Directory->Clone. You can error files in the Robot Calibration window.
change the name of the project to be
created by changing the Project Name field.
Select OK.
3. Set Calibrate Fixture to Yes, and select CAD .frm Use the Filter and Alignment Files
file. From the Open window select the 1. You are now ready to Clone jobs between the
NameYouMadeUp.frm file. This .frm file is of the Master and Clone cells. For the following
same name as the .prm file that you choose at discussion it is assumed that the job will be
the start of this calibration, in sub step i above. taught on the Master cell and transferred
MotoCal will determine the difference between (Cloned) to the Clone cell. The reverse is also
the fixture positions for the Master and Clone possible. The Master job should not go to the
systems. limits of the robots work envelope. Otherwise it
Note: In the Master project because Calibrate Fixture is likely that some points cannot be reached by
was set to No, information about the Encoder the destination robot because of differences in
locations was stored in the the alignment of the Fixture. When you have
[NameYouMadeUp].frm file. Now with Calibrate created this source job, save it to the MotoCal
4 Fixture set to Yes, the difference in the location of project with FDEWin and add it to the project.
the fixture between the Master and Clone projects 2. In the Master project Select the Filter you
will be recorded in the created above, the nominal Motoman_[rbt].aln
[NameYouWillMakeUp].aln file to be produced.
file. And the job to be cloned. In the Clone
project select the Filter and Alignment files you
4. Select OK. Click Start Calibration. If the errors created above, [CloneNameYouMadeUp.prm
and standard deviations are all small enough, and CloneNameYouMadeUp.aln respectively.
click Save Calibration and Close. (If these values
are not small enough see the close: heading at Select the Default Filter button in the
the end of the Calibration Results section in Clone project. The Setup to Filter Jobs screen
the next chapter.) appears. To avoid confusion, change the name
5. You are asked whether you want to rezero the of the Destination robot file (.jbi file) to remind
robot. Select No. you that it has been adjusted for the Clone
6. You have not saved All.prm from the controller robot. Limit the name to eight characters. This is
to the PC and it is needed to make a filter. the name of the downloaded job that will be
Therefore let FDEWin start and then use the created in the Clone project. Make sure the
teach pendant to save All.prm to your project. If other fields are filled in correctly. Select OK.
you are using an XRC controller All.prm is a 3. In the Parameters For screens, enter the TCP
large file and will take several minutes to be values. The first screen is for the TCP values that
saved. After All.prm has been saved to the PC, were in use in the Master robot when you taught
MotoCal will inform you if a filter has not been the job. The second screen is for the TCP values
purchased for this robot. Otherwise, enter a that you will have set on the Clone robot when
name for the Filter file that will be created. By you run the job.
default it will be written over the 4. After you finish with the second Parameters For
Motoman_[rbt].prm file that holds nominal screen, you will get the Successful Filter
values. You should choose another name that is message and the adjusted job will appear in the
meaningful to you. An alignment file (.aln) with Robot files window of the real project. If there
the same name as the Filter file will also be are points that could not be adjusted you will
created. Notice that by using the Encoder in the get a Points not Reachable message before the
four mounting locations the necessity to teach Successful Filter message. Of course you will be
an alignment job is eliminated. careful the first time you run the downloaded
job on the Clone robot. Be especially careful if
you get the Points not Reachable message.
ON
TRIP
OFF
KNOWN LOCATIONS ON THE FIXTURE,
SET
/RE N
PE
O
a) Mount the encoder in the first, or next, Note: If the message Couldnt find ANY Data
location on the fixture. Acquisition Card appears, check the
b) Attach the measurement cable to the connections between the PC COM port and Data
Measurement Adapter. Acquisition box. Also check power supply
c) Consider the work area of the robot and connections and try Measure again. Be sure
imagine a rectangular solid approximately FDEWin, or some other application, is not
filling this area. Program a job that has two holding the port the Encoder is attached to. When
points at each of the eight corners of the the Data Acquisition box is fully connected the
shape. After teaching the first point at a Measurement Screen appears. A blue rectangle is
corner, teach one more by making a big displayed at the bottom of the measurement
change in the orientation of the TCP. Be
sure that the measurement adapter never indicator. A red rectangle indicates a problem
4 binds and the measurement cable does not with the .clb file (see Updating Your .CLB File,
touch anything as the job runs. page 3-5). If there is an LED on the encoder, it
d) It is not necessary to teach the job exactly should be lighted.
this way. Create a job with about 12 points.
This is assuming that you will teach four
jobs with a total of about 50 points.
e) Repeat the preceding four steps until you
have a measurement job for each of the
four encoder positions.
f ) Use FDEWin to copy the job to the MotoCal
project. Start FDEWin by selecting Project
File Transfer from the menu. Use the
programming pendant to complete the
save procedure.
17. You should now have four measurement jobs on
the controller, one for each encoder location on
the fixture, and the same jobs in the MotoCal
project. If the job does not appear in the Robot
Files window of the project, right click in that
window and select Add Files to Project and
select the job
18. Place the encoder in its first mounting location. 20. Attach the measurement cable to the
measurement adapter. Jog the robot to the first
19. Click the Measure button . The message point of the measurement job. The
Make sure that the measurement attachment is measurement screen shows cable length
at the reference position appears. Be sure that changes. When the robot is stabilized at the first
the Encoder measurement cable is attached to point, select Measure. The Measurement screen
the metal post on the encoder and click OK. shows the point has been recorded.
21. Continue to record measurements for each
point in the measurement job.
22. When all measurements have been taken, click tool flange in kilograms. This data is most important
OK. The measurements are recorded in the .msr when jobs taught in CAD will be run on heavily
file shown in the Measurement Files window. loaded arms.
Place the measurement cable back in the
reference position on the encoder.
23. Move the Encoder to the next location on the
fixture and repeat steps 19 through 22 until you
have four measurement files recorded, one for
each encoder location.
24. Select the Measurement jobs in the Robot files
window, the Measurement files in their window,
and the correct filter and alignment files in their
windows. Then click the Default Calibration 4
button . When the Choose Calibration
System window appears, be sure the correct
files are displayed in the correct order. You may
correct any of the fields by typing corrections
directly or by using the browse buttons to the
right of the fields
Note: If any of these screens is skipped, change the
Projects settings by selecting "Projects->Select
Screens->Preferences". Set checks in all the
boxes to prevent screens from being skipped.
25. If this is a new project you will be prompted to
enter TCP values. Next, a Parameters for the
measurement job screen is displayed. Enter the
tool XYZ values from the controller, regardless
of their accuracy. Click OK.
26. The Calibration screen is displayed with green
checks on Robot and End-Effector. The checks
indicate what will be included in the calibration.
Click End-effector and set Calibrate end-effector
to Yes.
If the TCP will carry mass that is a significant fraction
of the arms capacity and this mass was present while
measurements were taken, enter information about
this mass in the Tool Center of Gravity and Mass box
near the center of the screen, within the End-
effector parameters: box. Enter the XYZ coordinates
in millimeters of the center of gravity using the tool
flange coordinates. Enter the mass attached to the
27. Click the Robot window. If necessary, turn off b) Next, in the top half of the screen in the
tt6. If you entered Tool Center of Gravity and Measurement Base section, select Enter
Mass data in the End Effector window you may Values. Fill in the four measurement base
want to turn on more of the k parameters in locations using the User Frame you defined
the Robot window. The parameters k1 in step a above. The first location for the
through k6 correct for sag in the robot arm encoder is the origin of the User Frame for
joints SLURBT respectively. By default, k2 and k3 the fixture, so it must be left as zeroes.
are turned ON. You may want to turn on k4 and Enter the location of each of the other
k5 also. You should only turn on k6 if the mass three measurement base mounting
on the TCP is not symmetric around the Z-axis. locations relative to the first mounting
You should only turn on k1 if the robot is location. Remember to enter values from
mounted on a wall. the CAD system. Remember to let the X,Y,
4 and Z axes for the fixture frame be parallel
to the corresponding axes for the robot
base frame. The values you enter in MB1
must correspond to the encoder position
for the first measurement job listed in the
Choose Calibration System in step 23.
Similarly for MB2 through MB4.
c) The Encoder Z-axis is parallel to the axis of
the internal drum on which the cable
winds. This axis points up when the
Encoder rests flat on its base. If the
Encoder Z axis is not parallel to the Robot
Z-axis its orientation must be specified in
fields R1 and/or R2. Enter in R1 the roll
28. Click Fixture and set Calibrate fixture to YES. around Robot X which is required to make
a) On the bottom half of the screen in the Robot Z parallel to Encoder Z. Enter in R2
User Frame section, select Enter Values. the roll around Robot Y which is required
The values you need to enter are from the to make Robot Z parallel to Encoder Z. For
CAD model. Enter the location of the first more information, refer to the Encoder
encoder mounting point on the fixture Location and Orientation section at the
relative to the robot base. In the CAD beginning of this chapter.
system, make the fixture X, Y, and Z axes d) To enter the above values correctly you
parallel to the corresponding axes of the need to think clearly about the robot base
robot frame so the orientations in the user frame and the fixture frame. Be careful not
frame for the fixture are all zero. to confuse X and Y, or get the sign of the
values incorrect. All values must be entered
in millimeters. After you are satisfied with
the values you entered, click OK. MotoCal
saves the values to file.
29. Click Start Calibration.
Cloning (General)
You must have projects for CLONE 1
two different robots of the MASTER
same type. For each of these CLONE 2
robots that is real you must FILTER FILE FOR CLONE 1,*.PRM
ALIGNMENT FILE BETWEEN MASTER CELL
have a filter and an alignment FILTER FILE FOR MASTER ROBOT,*.PRM & CLONE 1 WITH FIXTURE 1, *.ALN
FILTER FILE FOR CLONE 2,*.PRM
file. From this it follows that ALIGNMENT FILE BETWEEN MASTER CELL
each robot must be provided & CLONE 2 WITH FIXTURE 2, *.ALN
If two different cells each have a Filter and an Alignment file, jobs can only be cloned between them if the
alignment files both refer to the same third cell. This may arranged with the third cell as a Master cell and the
two cells to be cloned between both clones of the Master. This situation is shown in the flow diagram on this
page. If a job is were cloned from Cell 1 to Cell 2, the alignment would work correctly. It would also work
correctly between any two of the 1 through N clones of the Master. This is because the alignment file in each
clone cell is relative to the same Master cell. When a job is cloned from the Master to a Clone cell, or visa versa,
only one alignment file is used because it represents the difference between these two cells.
As further explanation, when a job is cloned from Cell 2 to Cell 1, it is aligned for the Master in an intermediate
step which the user does not see. Therefore it is not possible to clone jobs directly between two clone cells that
have two different masters. If an alignment were made between the two Masters, the job could be cloned from
one clone to its master, then to the other master and then to its clone.
A Filter file describes an individual robot arm. (A Filter file has an extension .prm.)
For purposes of the steps below, designate one project as Source and the other as Destination. If one of the
projects is a CAD project, filter and alignment files are not needed. The following steps assume that projects for
the two robots have been made and filter and appropriate alignment files created.
Create a New Project for Calibration of the 9. Set Measurement Adapter Offset to 31.75 mm if
Master Robot and Positioner. using the Universal Adapter. If using the welding
tip adapter, set this field to 12.7 mm.
1. From the toolbar, click New Project . The 10. Enter the thickness of the adapter used to attach
New Project window appears the Measurement Encoder to the fixture. See
2. Enter a Project name of your choice. the note at the beginning of this procedure for
further explanation.
3. Leave Location as is.
11. Click OK on the Measurement System window
4. Select Robot type matching the arm you are and then OK on the New Project window.
calibrating. Be careful to distinguish ERC, MRC
XRC, and NX100 versions of similar arms. 12. Allow MotoCal to save your new project.
5. Select Robot application type closest to your Prepare to Take Measurements
4 application. Do not select Mastering.
1. Fasten the measurement adapter to the tool on
6. Select Positioner type. For the RM2-500 this is the arm so the TCP of the adapter is the same as
"MRM_2-500Front.tbl". the TCP of the tool. If you are calibrating with a
Note: Each positioner type provides Left, Front, and weld torch, attach the Universal Measurement
Right versions. Select according to the the Adapter to the welding tip so its interior point is
robots point of view. at the weld TCP of the torch. Adjust the
setscrews to make this as accurate as possible.
7. Click Measurement options(MotoCal). and Proceed similarly for calibration with other
select the MotoCal tab. tools.
Note: When removing the swivel, only loosen the set
screws on one side. This will greatly simplify
repositioning the swivel on a similar type of tool.
Simply hold the swivel with the four unloosened
screws pressed against the new tool while the
opposite four are tightened.
2. Mount the MotoCal Encoder in the first
mounting location on the fixture. It is important
to keep track of which job and measurement go
with each mounting location. Number the
mounting locations and name the measurement
jobs to correspond.
3. Remember, the positioner is in motion when
Note: Make sure the displayed .clb file matches the taking measurements. Make certain the Encoder
serial number on your encoder. If it does not, is attached securely to the fixture.
copy the file from the Encoder Calibration disk to 4. Connect Data Acquisition box to COM port on
the MotoCal Templates folder C:\Program PC. Also connect the encoder and power supply
Files\Motoman\MotoCal Templates. to the Data Acquisition box.
8. Set Type: to Manual. You may also use the Auto
or Digital Input setting if you are familiar with
these procedures.
5. This procedure requires measurement jobs to >PC<--> Controller File Transfer from the menu.
be used with the encoder in each of the four
mounting locations on the fixture. Teach four You should now have four measurement jobs on the
different jobs with positioner movement (i.e. R1 controller, one for each encoder location on the
+ S1 jobs). Name the jobs sequentially (i.e.1.jbi, fixture, and the same jobs in the MotoCal project. To
2.jbi 3.jbi and 4.jbi) corresponding to the make the jobs show in the Robot Files window of the
numbered mounting locations. project, right click in that window, select Add Files to
Project and select the jobs.
Create measurement job
Take Measurements
2. The Choose Calibration System screen appears. 4. The Calibration screen is displayed with green
You need to have four measurement files and checks on Robot and End-Effector. The checks
four job files selected. If the correct files are not indicate what is included in the calibration. If
displayed, click the More button on the Robot there is not a green check on End-effector, click
files line. Select all the measurement jobs by End-effector and set Calibrate end-effector to
clicking behind the last one and then holding Yes. Select Nominal and OK. If necessary, click
the mouse button down while you stretch the Robot and set tt6 to off.
selection up to the first measurement job. When
they are all selected, click OK. Similarly select
the four .msr files. Be sure the jobs and
measurement files are listed in the same order
so they are correctly paired. Click OK.
Note: After you have selected the measurement jobs 4
and files once you will not need to do it again to
run the calibration again. Instead select the
correct Parameter and Positioner files and then
select the Default Calibration button. The same
measurement jobs and files will be selected
automatically.
3. If this is a new project, you are prompted to 5. Click Fixture and set Calibrate Fixture to No.
enter TCP values. A Parameters for the Select Unknown values for the Measurement
measurement job screen is displayed. Enter the Base. All the values in the grayed fields must be
tool XYZ values from the controller, regardless zero. If they are not, select Unknown values
of their validity. These are the tool values that again to clear them.
were used when the measurement job was
measured. Click OK. Supply Encoder Location and Orientation
Information.
It is necessary to give MotoCal information about the
Encoder Location and Orientation on the Positioner
so that the amount of cable wrapped around the
external pulley can be calculated. The following
procedure is appropriate for Positioners with a single
axis that is horizontal. The Positioners included in
MotoCal 3.0 meet this condition. For more
information, refer to the Encoder Location and
Orientation section at the beginning of this chapter.
First, establish the Orient coordinate system with
which to provide this orientation information.
1. Start from the Robot Base coordinates and
achieve required orientation.
If the fixture is in front of the robot and
parallel to the robot Y-axis:
a) You (should) have chosen [MRM/HT/
Use the Filter and Positioner Alignment Files. 5. Use FDEWin to transfer the Cloned job to the
You are now ready to clone jobs between the Master controller. Run it carefully. Once these steps are
performed, it is easy to Clone jobs between the
and Clone cells. For the following discussion it is Master and the Clone robot because the filter
assumed that the job will be taught on the Master cell and the alignment files already exist for both
and transferred (cloned) to the Clone cell. To avoid cells. If you want to Clone a job from the Clone
creating points that cannot be reached by the to the Master, select the source job in the clone
destination robot, due to differences in the project and the Default Filter button in the
alignment of the fixture, the Master job should not Master project.
contain points at the limits of the robots work You now have one Master project and one Clone sub
envelope. When you have created this source job, project. Using the methods presented, you may
save it to the MotoCal Master project with FDEWin make more Clone sub projects (Clone2, Clone3, .
4 and add it to the project. CloneN) and then transfer jobs taught on the Master
1. In the Master and Clone projects, select the to all the Clones.
Positioner alignment (.tbl) and filter (.prm) files Note: For Cloning Relative Jobs (positions in X, Y, Z,
you created in each project respectively. In the
Master project, select the job to be cloned. Rx, Ry, Rz format), tool data is very important.
The robot controller uses the specified tool to
Select the Default Filter button in the calculate how to reach the specified points.
clone project. The Setup to Filter Jobs screen Therefore you must provide MotoCal with the
appears. same tool data that the controller will use.
2. To avoid confusion, change the name of the Note: After you have a project set up with the Filter and
Destination robot file (.jbi file) to remind you
that it has been adjusted for the Clone robot. Alignment files that give the results you need,
Limit the name to eight characters. This is the delete the other filter and alignment files in each
name of the downloaded job to be created in project. This reduces the chance for errors when
the Clone project. Make sure the other fields are downloading jobs.
filled in correctly and click OK.
3. In the Parameters For screens, enter the TCP
values. The first screen must contain TCP values
that were in use in the Master robot when you
taught the job. The second screen must contain
TCP values that will be set on the Clone robot
when you run the job.
4. After you finish with the second Parameters For
screen, the Successful Filter message appears
and the adjusted job appears in the Robot files
window of the real project. If there are points
that could not be adjusted a Points not
Reachable message appears before the
Successful Filter message. Be careful the first
time you run the downloaded job on the Clone
robot. Be especially careful if the Points not
Reachable message appeared.
The Base Adapter Offset thickness is the distance that the mounting bracket holds the base of the Encoder
above the surface of the Fixture. The center of the bushing at its top surface is the point to be calculated by the
Calibration. The base adapter Offset thickness must be provided to allow MotoCal to calculate this position
accurately and thus determine the correct elevation (Z) difference for the alignment. This offset must be
accounted for when transferring data from CAD to MotoCal. Refer to Appendix G for more information on
editing positioner files.
Before starting to work with the Real cell, set 3. In MotoCal, with no projects open, select
up the CAD cell. After you have the CAD cell, Setup->Kinematic Modeler Positioner.
data from this cell will be entered in MotoCal. Then select Load an existing .kin file. Select
the file for your positioner with the appropriate
You will choose the correct Positioner .tbl file orientation, Left, Front or Right. Select Next
4 corresponding to your CAD cell, and your real cell. twice. The window will be titled Kinematic
You will modify two distance parameters in this file to Position Modeler. Page 3 of 3. (The Nominal
match the values in your CAD cell. These values Parameters). The parameters you must set are
should also be close to the values in your real cell. d0 and a0. For d0 enter the Z-coordinate of the
The values that must be transferred from you CAD Positioner origin relative to the Robot Base
coordinates in the CAD system. For a0 enter the
cell to the correct Positioner .tbl file are the non-zero one of the X and Y coordinates of the
coordinates of the Positioner origin as explained Positioner origin relative to the Robot Base
below. coordinates in the CAD system.
1. Determine the Positioner origin in Robot Base 4. When you have entered these two values
coordinates in the CAD cell. according to your CAD model, select Finish.
a) If the positioner axis is parallel to the robot When you make the MotoCal project for your
Y-axis, then the Positioner Origin is at the Real Cell, be sure to select the same positioner
intersection of the positioner axis and the file that you just initialized to match the values
robot X-Z plane. in your CAD Cell. This will allow MotoCal to
b) If the Positioner axis is parallel to the robot calculate the difference between the CAD Cell
X-axis, then the Positioner Origin is at the and the Real Cell.
intersection of the positioner axis and the Create a New Project for Calibration of the
Robot Y-Z plane. Master Robot and Positioner
2. Use the CAD system to report the coordinates of
the Positioner Origin relative to the Robot Base
coordinates. The values reported by CAD will be 1. From the MotoCal tool bar select the icon
zero for the Y coordinate if the positioner is in to create a new project.
front of the robot, and zero for the X coordinate 2. Enter a Project name of your choice.
if the positioner is to either side of the robot. 3. Leave Location as it is.
4. Select the Robot type matching the arm you will
calibrate from the dropdown menu. Be careful
to distinguish ERC, MRC and XRC versions of
similar arms.
5. Select the Robot application type most similar to
your application from the dropdown menu. Do
not select mastering.
6. Select the correct Positioner kin file adjusted 3. Because the positioner will move while taking
above. measurements with the Encoder, make certain
7. Click Measurement Options and select the the Encoder is attached securely to the Fixture
MotoCal tab. so that it will not move or fall of while the
8. Make sure the displayed .clb file matches the Positioner rotates the Fixture.
serial number on your Encoder. If it does not, 4. Connect the Data Acquisition box to one of the
click the button and select the needed file. COM ports on your PC. Also connect the
If the necessary file does not appear, copy the Encoder and power supply to cables.
file from the diskette into the Templates 5. This procedure requires measurement jobs to
directory of your MotoCal directory. There be used with the Encoder in each of the four
should only be one .clb file in your Templates mounting locations on the Fixture. Teach four
directory to avoid selecting a file that does not different jobs. Name the jobs sequentially (i.e.
match your encoder. 1.jbi, 2.jbi 3.jbi and 4.jbi) corresponding to the 4
9. Set Type to Manual. Auto or Digital Input numbered mounting locations. This makes it
settings can also be used if you know how. easier to correctly pair the measurement jobs
10. Set Measurement Adapter Offset to 31.75 mm if and measurement files for calibration
you have the Universal Adapter. This is the calculations.
distance in millimeters from the TCP of the To create a measurement job:
measurement adapter to where the
measurement cable attaches to it. 1. On the Teach Pendant create a new job for the
11. Enter the thickness of the adapter used to attach Robot and the Positioner
the Measurement Encoder to the Fixture. Refer 2. Mount the Encoder in the first, or next, location
to the beginning of this procedure for further on the Fixture, which is mounted on the
explanation. Positioner.
12. Click OK on the Measurement System window 3. Attach the measurement cable to the
and again on the New Project window. Measurement Adapter.
13. Allow MotoCal to save your new project. 4. Consider the work area of the robot and
imagine a rectangular solid approximately filling
Prepare to Take Measurements this area. Program a job that has two points at six
1. Attach the measurement adapter to the tool on of the eight corners of the rectangle. Leave out
the arm so the TCP of the adapter is the same as the two corners near the Encoder. After
the TCP of the tool. If calibrating with a welding teaching the first point at a corner, teach one
torch, attach the Universal Measurement more by making a large change in the
Adapter to the welding tip and wire so the orientation of the TCP. Be sure the
interior point is at the TCP of the torch. Adjust measurement adapter never binds and the
the setscrews to make this accurate. Proceed measurement cable does not touch anything as
similarly for calibration with other tools. the job runs.
2. Mount the MotoCal Encoder in the first 5. Include Positioner movement for most of the
mounting location on the Fixture. It is important Measurement job steps.
to keep track of which job and measurement go 6. You dont need to teach the job exactly this way.
with each mounting location. Number the You should make a job with about 12 points.
mounting locations 1 through 4 and name the This is assuming that you will teach four jobs
measurement jobs to correspond. with a total of about 50 points.
7. Be careful to teach each of the jobs so that the 2. Attach the measurement cable to the
robot will not crash into the Encoder, or the measurement adapter. Run the robot and
clamp holding it, even if the Encoder is in one of positioner to the first point of the measurement
the wrong positions when the job is run. job. The measurement screen shows that the
8. Repeat the preceding steps until you have a length of the cable changes. When the robot is
measurement job for each of the four Encoder stabilized at the first point, click Measure. The
positions. Program each job with one more Measurement screen indicates that a point has
point than the previous job. This will prevent been recorded.
mismatching of the jobs and measurement files. 3. Continue to record a measurement for each
9. Use FDEWin to move jobs between the PC and point in the measurement job.
the controller. Start FDEWin by selecting 4. When all measurements are taken, click OK.
Project->PC<-->Controller File Transfer from Note: To check the Encoder reference reading, put the
4 the MotoCal menu.
measurement cable back in the reference position
You should now have four measurement jobs on the on the Encoder before selecting OK. It is good
controller, one for each Encoder location on the practice to check the reference reading
Fixture, and the same jobs in the MotoCal project. To occasionally. The reading you get after parking
make the jobs show in the Robot Files window of the the cable on its reference post should be within
project, right click in that window, select Add Files to 0.4 mm of the reading when you started the
Project and select the jobs. measurement.
Take Measurements 5. The measurements are recorded in the .msr file
shown in the Measurement Files window. You
1. Click the Measure button . The Make sure can type in a different name for the
that the measurement attachment is at the measurement file before you save it if you want
reference position dialog appears. Be sure the to. If you havent done so already, put the
Encoder measurement cable is connected to the measurement cable back in the reference
metal post on the Encoder and click OK. position on the Encoder.
6. Move the Encoder to the next location on the
Note: If the message Couldnt find ANY Data Fixture and repeat the measurement steps until
Acquisition Card appears, check the you have four measurement files, one for each
connections between the PC COM port and Data Encoder location.
Acquisition box. Also check power supply
connections and try Measure again. Be sure Use MotoCal to create the Filter and Positioner
FDEWin, or some other application, is not Alignment files.
holding the port the Encoder is attached to. When 1. Click the nominal .tbl file you selected earlier
the Data Acquisition box is fully connected the and then click the Motoman_[rbt].prm. Select
Measurement Screen appears. A blue rectangle is the four .msr files and corresponding .jbi files
displayed at the bottom of the measurement
indicator. A red rectangle indicates a problem and click the Default Calibration button.
with the .clb file (see Updating Your .CLB File, Note: If any of these screens is skipped, change the
page 3-5). If there is an LED on the encoder, it Projects settings by selecting "Projects->Select
should be lighted. Screens->Preferences". Set checks in all the
boxes to prevent screens from being skipped.
2. The Choose Calibration System screen 1. Start from the CAD Robot Base coordinates and
appears. You must have four measurement files achieve required orientation.
and four job files selected. Be sure the jobs and If the fixture is in front of the robot and
measurement files are listed in the same order parallel to the robot Y-axis:
so that they are correctly paired. Click OK. a) You (should) have chosen [MRM/HT/
Note: After you have selected all these files correctly ]_(Model)(Front).tbl.
once, you will not need to do it again for this b) Do not rotate the robot base axes.
project. Instead, if you want to run the calibration If the fixture is to the left of the robot and
again, make sure that the correct .prm and .tbl parallel to the robot X-axis:
files and no other files are selected. Then select a) You (should) have chosen [MRM/HT/
the Default Calibration button. The same set of ]_(Model)(Left).tbl.
job and measurement files is selected b) Rotate the robot base axes 90 degrees 4
automatically. around Z.
3. If this is a new project, you must enter TCP If the fixture is to the right of the robot
values. A Parameters for the measurement job and parallel to the robot X-axis:
screen appears. Enter the tool XYZ values that a) You (should) have chosen [MRM/HT/
are on the controller, regardless of whether they ]_(Model)(Right).tbl.
are correct. Click OK. b) Rotate the robot base axes negative 90
4. The Calibration screen is displayed with green degrees around Z.
checks on Robot and End-Effector. The checks 2. Translate the coordinate system from step 1
indicate what will be included in the calibration. horizontally and/or vertically until the Y-axis is
If there is not a green check on End-effector, coincident with the positioner axis. The Z axis
click End-effector and set Calibrate end-effector will still be vertical and the X-axis will be
to Yes. Select Nominal and OK. If necessary, directed away from the robot. This is the Orient
click Robot and set tt6 to off. coordinate system.
Supply CAD Encoder Location and Orientation a) If the fixture is in front of the Robot, only
Information translate the Orient coordinate horizontally
along the robot base Xaxis, not along the
The location and orientation of the Encoder robot base Y-axis.
mounting points in the CAD system must be b) If the fixture is to the left or right of the
transferred to the Measurement base fields in the Robot, only translate the Orient coordinate
MotoCal Fixture window. The following procedure is horizontally along the robot base Yaxis,
appropriate for Positioners with a single horizontal not along the robot base X-axis.
axis. The Positioners included in MotoCal 3.0 meet 3. Place the CAD Positioner in its zero position.
this condition. First, establish the CAD Orient 4. In MotoCal, click Fixture. Set Calibrate Fixture to
coordinate system with which to provide the CAD Yes. The XYZ positions of the Measurement base
Encoder information. For more information, refer to fields in MotoCals Fixture window can be
the Encoder Location and Orientation section at copied from CAD. Be sure that the positions you
the beginning of this chapter. copy are relative to the just established Orient
coordinate system.
5. To determine the values for the R1, R2, and R3 Create a New Project for the CAD cell
fields of the Measurement base data, rotate the 1. From the Main Menu select Project->Create
Orient coordinate system around the X-axis, Directory->CAD. Select OK.
and/or the the Y-axis, the positioner axis, until
the Orient Z-axis is parallel to the (imagined) 2. The CAD project is created without any files
Encoder Z-axis. The required rotations around X added to it. This is because CAD cells are perfect
and/or Y are entered in the R1 and R2 fields and do not need any calibration.
respectively. Repeat this process for each of the Use the Filter and Positioner Alignment Files
Encoder locations to determine the R1/R2
values for each of the Measurement base fields. You are now ready to Clone jobs between the Master
Verify that the numbering of the Encoder and CAD cells. For the following discussion, it is
mounting point, the Measurement Base fields assumed that the jobs will be created in the CAD
4 and measurement files in the MotoCal project all system, added to the CAD MotoCal project, and
agree. transferred (Cloned) to the Master cell. The reverse
6. This calibration must determine where the real is also possible. The CAD job should not go to the
work frame is on the real positioner, and where limits of the robots work envelope. Otherwise it is
the positioner is relative to the real robot. Make likely that some points cannot be reached by the
sure the Positioner Parameters tt0, a0, d0, aa0, destination robot due to differences in the alignment
tt1, a1, d1, aa1, tt2 and d2 are all on. of the Fixture. When you have created this source
7. Click OK. Enter the file name you want the job, add it to the MotoCal CAD project. To add jobs to
values you entered saved to. the CAD MotoCal project, right click in the CAD
8. Click Start Calibration. If the errors and standard Robot files window and select Add Files to Project.
deviations are all small enough, click Save
Calibration and Close. (If these values are not 1. In the CAD project, select a job you want to
small enough see the close: heading at the end transfer to the real cell. In the Master project
of the Calibration Results section in the next select the Positioner alignment (.tbl) and filter
chapter.) (.prm) files you created earlier. Click the Default
9. You are asked whether you want to re-zero the Filter button in the Master project. The
robot. Click No. Setup to Filter Jobs screen appears. To avoid
Note: If you know the robot is poorly calibrated you confusion, change the name of the Destination
may prefer to select Yes. This is a valid approach. robot file (.jbi file) to remind you it has been
It is presented in another procedure. adjusted from CAD for the real robot. This is the
name of the downloaded job to be created in
10. Let FDEWin start and use the teach pendant to the Master project. Make sure the other fields
save All.prm to your project. If you are using an are filled in correctly and click OK.
XRC controller All.prm is a large file and takes a 2. In the Parameters For screens, enter the TCP
few minutes to be saved. After All.prm has been values. The first screen is for the TCP values
saved to the PC, MotoCal informs you if a filter used in the CAD robot when you taught the job.
has not been purchased for this robot. The second screen is for the TCP values you will
Otherwise, enter a name for the Filter file to be set on the real robot when you run the job.
created. By default it will be written over the
Motoman_[rbt].prm file that holds nominal
values. You should choose another name that is
meaningful to you. A positioner alignment file
(.tbl) with the same name as the Filter file is also
created.
EDIT LOCK
(OFF) ALARM
(ON) REMOTE HOLD START
4
ON
TRIP
OFF
SET
/RE N
PE
O
External TCP Calibration for Real to Real robot d) Create a job with about 16 points. This is
cloning. assuming you will teach four jobs with a
total of about 60 points. Be sure to provide
1. Click the New Project icon . Fill in the good triangulation with the encoder TCP.
project name and select your robot type. Select e) Repeat the preceding four steps until you
one of the External TCP application types. have a measurement job for each of the
2. Mount the encoder at the External TCP. Position four Measurement Adapter locations.
the vertical axis that allows the external pulley Note: To move a job between the PC and the controller
on the Encoder to change orientation, directly use FDEWin, start FDEWin by selecting Project-
above the external TCP. If a bracket is used to >File Transfer from the main menu.
mount the encoder, and the thickness of the
bracket elevates the encoder above the external 5. You should now have four measurement jobs on
TCP, record this thickness. If it is necessary to the controller, one for each Measurement 4
mount the Encoder offset from the External Adapter location on the Gripper, and the same
TCP, this offset must be accurately reported. Be jobs in the MotoCal project. To make the jobs
sure to maintain the horizontal orientation of show in the Robot Files window of the project,
the encoder. right click in that window, select Add Files to
3. Four accurate mounting points are needed for Project and select the jobs.
the measurement swivel to be attached to the 6. Select Measure. The message Make sure that
Gripper. Number these mounting points 1 the measurement attachment is at the reference
through 4. If the production job will run with position appears. Be sure the measurement
mass that is a significant fraction of the arms cable is connected to the metal post on the
capacity, this mass should be present while encoder and click OK.
measurements are taken.
Note: If the message Couldnt find ANY Data
4. Teach four different measurement jobs, one for Acquisition Card... appears, check the cable
each of the swivel mounting locations. Name the
jobs 1.jbi, 2.jbi 3.jbi and 4.jbi corresponding to connections between the PC COM port and the
the numbered mounting locations. Create a Data Acquisition box. Check whether FDEWin or
measurement job as follows: some other application is holding the port the
a) Mount the Measurement Adapter on first, Encoder is plugged in to. Check the power supply
or next, location on the Gripper. cable to the Data Acquisition box also. When all
b) Attach measurement cable to Measurement cable connections are properly made, the
Adapter. Measurement screen appears. The measurement
c) Consider the work area of the robot and indicator should be blue. A red measurement
imagine a rectangular solid approximately indicator indicates a problem with the .clb file.
filling this area. Program the job with two
points at each of the eight corners of this
rectangle. After teaching a point at a corner,
make large changes in the orientation of
the TCP and record the second point. Be
sure the measurement adapter doesnt
bind and the measurement cable does not
touch anything as the job runs.
14. If this is a new project, enter TCP values. The 16. Click End-effector. Set Calibrate end-effector to
Parameters for the measurement job screen NO and Measurement Points to unknown. Zero
appears. Enter the tool XYZ values from the all other values.
controller, regardless of validity. Later, when you
enter the positions of the Measurement Adapter
Swivel Attachment Points they will be
interpreted relative to this TCP. This TCP does
not need to be precise because the calibration
will correct it. Click OK.
If the TCP will carry mass that is a significant fraction section at the beginning of this chapter.
of the arms capacity and this mass was present while
measurements were taken, enter information about
this mass in the Tool Center of Gravity and Mass box
near the center of the screen, within the End-
effector parameters: box. Enter the XYZ coordinates
in millimeters of the center of gravity using the tool
flange coordinates. Enter the mass attached to the
tool flange in kilograms. This data is most important
when jobs taught in CAD will be run on heavily
loaded arms.
4 17. Click the Robot window. If necessary, turn off
tt6. If you entered Tool Center of Gravity and
Mass data in the End Effector window you may
want to turn on more of the k parameters in
the Robot window. The parameters k1
through k6 correct for sag in the robot arm
joints SLURBT respectively. By default, k2 and k3
are turned ON. You may want to turn on k4 and
k5 also. You should only turn on k6 if the mass
on the TCP is not symmetric around the Z-axis.
You should only turn on k1 if the robot is
mounted on a wall.
18. Click Fixture and set Calibrate fixture to No. Set
Measurement Base and External TCP to
Unknown. (Note: compared to Automatic
Alignment, lower section entitled User Frame is
now titled External TCP.)
a) Encoder Location and Orientation
The base of the Encoder has small screw
holes and alignment pin holes in one of its
quarters.The Z-axis of the Encoder points
up when the Encoder sits flat on its base. If
the Encoder Z axis is not parallel to the
robot base Z axis this information must be
entered in the Fixture window. In the R1
field(s) enter the roll around the Robot
Base X axis that is required to make the
Robot Base Z axis parallel to the Encoder Z
axis. In the R2 field(s) enter the roll around
the Robot Base Y axis that is required to
make the Robot Base Z axis parallel to the
Encoder Z axis. For more information, refer
to the Encoder Location and Orientation
b) The Encoder was mounted in the same 24. Teach a job on the Master system. Do not
place for all four measurements. Therefore program points at the limits of the robot work
be sure to check the "Same location as envelope. This is likely to result in points that
previous" boxes for MB2, MB3 and MB4. cannot be reached by the clone robot due to
c) Enter the External TCP tlx, tly, and tlz differences in the alignment of the External TCP.
values. These give the location and After creating the master job, add it to the
orientation of the External TCP relative to MotoCal Master project. Start FDEWin from the
the robot base. Enter the approximate Project menu and use the Teach Pendant to save
external TCP location. the job to the PC. Right click in the Robot files
d) Click OK. The values are saved to file. window of the Master project and use the Open
Files dialog to add it to your Master project
19. Click Start Calibration. After calibration directory.
converges if the errors and standard deviations
are all small enough, click Save Calibration and 25. Take measurements for the clone system as you 4
Close. If these values are not small enough see did for the master project earlier.
the close: heading at the end of the 26. Select the nominal alignment file and the Filter
Calibration Results section in the next chapter. file that was created in the Master project and
20. You are asked whether you want to rezero the copied into the Clone project. Select the Default
robot. Select No.
Calibration button .
21. To make a filter, it is necessary to save the
All.prm file from the controller to the PC. Allow 27. In the End Effector window, select Previous
FDEWin to start and use the teach pendant to Calibration. The measurement points on the
save All.prm to your project. This takes several Master end effector must be the same as those
minutes if using an XRC controller. After All.prm on the Clone project.
has been saved to the PC, MotoCal informs you 28. In the Fixture window, set Calibrate to Yes and
if a filter has not been purchased for this robot. select the CAD radio button. Select the CAD file
Otherwise, enter a name for the Filter file to be with the same name as the .prm file you
created. By default it is written over the selected earlier.
Motoman_[rbt].prm file that holds nominal 29. Click Start Calibration. Click Save Calibration
values. Select another name meaningful to you. and Close. The .aln file will contain the
An alignment file with the same name as the difference between the Master and clone
measurement file is also created. external TCP.
22. From the Main Menu select Project Create 30. In the Master project, select the job to be cloned
Directory Clone. Click OK. and the Filter you created for the Master project.
23. The procedure works better if the alignment of 31. In the Clone project, select the Filter you
the External TCP to the robot in the clone created for the Clone and the Alignment file of
system is close to the alignment in the master the same name.
system. If this is not done, the likelihood of 32. In the Clone project, click the Default Filter
unreachable points is increased. Close enough
can be accomplished using a tape measure and button . The Setup to Filter Jobs screen
visual inspection. appears. Be sure all the fields are filled in
correctly. To avoid confusion, change the name
of the Destination Robot File to indicate that it
has been adjusted for the clone cell. Click OK.
EDIT LOCK
(OFF)
(ON)
PLAY
MODE
REMOTE
TEACH
ALARM
EMERGENCY STOP
HOLD START
OFF
SET
/RE N
PE
O
External TCP Calibration for CAD to Real robot c) Consider the work area of the robot and
cloning. imagine a rectangular solid approximately
filling this area. Program a job that has two
1. Click the New Project icon on the left end of the points at each of the eight corners of the
tool bar. Fill in the project name and select your shape. After teaching the first point at a
robot type. Select one of the External TCP corner, teach one more by making large
application types. changes in the orientation of the TCP. Be
2. Mount the encoder at the External TCP. sure the measurement adapter never binds
Consider the vertical axis that allows the and the measurement cable does not touch
external pulley on the encoder to change anything as the job runs.
orientation. Position this axis directly above the d) You dont need to teach the job exactly this
external TCP. If a bracket is used to mount the way. Create a job with about 13 points. This
encoder and the thickness of the bracket is assuming that you will teach four jobs
4 elevates the encoder above the external TCP, with a total of about 50 points.
this thickness must be known. If it is necessary
to mount the Encoder offset from the External e) Repeat the preceding four steps until you
TCP, this offset must be accurately reported. The have a measurement job for each of the
horizontal orientation of the encoder should four Measurement Adapter locations.
also be maintained. Note: To move a job between the PC and the controller
3. There must be four accurate mounting points use FDEWin. Start FDEWin by selecting Project->File
for the measurement swivel to be attached to Transfer from the menu.
the Gripper. Number these mounting points 1
through 4. The position of the mounting points 5. You should now have four measurement jobs on
relative to the TCP of the Gripper must be the controller, one for each Measurement
known. If the production job will run with mass Adapter location on the Gripper, and the same
that is a significant fraction of the arms capacity, jobs in the MotoCal project. To make the jobs
this mass should be present while show in the Robot Files window of the project,
measurements are taken. right click in that window, select Add Files to
4. There must be a measurement job for each of Project and select the jobs.
the four swivel mounting locations on the 6. Select Measure. The message Make sure that
Gripper. Teach four different jobs. Name the the measurement attachment is at the reference
jobs 1.jbi, 2.jbi 3.jbi and 4.jbi corresponding to position appears. Be sure the MotoCal Encoder
the numbered mounting locations. To create a measurement cable is connected to the metal
measurement job, proceed as follows: post on the encoder and select OK.
a) Mount the Measurement Adapter on the Note: If the message Couldnt find ANY Data
first, or next, location on the Gripper. Acquisition Card... appears, check the cable connections
b) Attach the measurement cable to the between the PC COM port and the Data Acquisition box.
Measurement Adapter. Check whether FDEWin or some other application is
holding on to the port the Encoder is plugged in to. Check
the power supply cable to the Data Acquisition box also.
When all cable connections are properly made, the
Measurement screen appears. The measurement
indicator should be blue, a red measurement indicator
indicates a problem with the .clb file.
14. If this is a new project, you are prompted to 16. Click End-effector. Set Calibrate end-effector to
enter TCP values. Next, a Parameters for the Yes. At the bottom of the screen fill in the
measurement job screen is displayed. Enter the Measurement Point fields. These are the
tool XYZ values from the controller, regardless positions of the Measurement Adapter Swivel
of validity. These are the tool values used when attachment points on the Gripper. These
the downloaded job is run. Later when you positions are relative to the defined TCP of the
enter the positions of the Measurement Adapter Gripper. These must be the same values that are
Swivel Attachment Points they will be used in the CAD project. As mentioned above in
interpreted relative to this TCP. This TCP does step 3, these points must be measured
not need to be precise because the calibration accurately, and those values entered here. The
will correct it. Select OK. order of the Measurement Point fields in this
screen must correspond to the order of the
4 measurement jobs entered in step 12.
If the TCP will carry mass that is a significant fraction
of the arms capacity and this mass was present while
measurements were taken, enter information about
this mass in the Tool Center of Gravity and Mass box
near the center of the screen, within the End-
effector parameters: box. Enter the XYZ coordinates
in millimeters of the center of gravity using the tool
flange coordinates. Enter the mass attached to the
tool flange in kilograms. This data is most important
when jobs taught in CAD will be run on heavily
loaded arms.
17. Click the Robot window. If necessary, turn off
tt6. If you entered Tool Center of Gravity and
Mass data in the End Effector window you may
15. The Calibration screen is displayed with green want to turn on more of the k parameters in
checks. The checks indicate what will be the Robot window. The parameters k1
included in the calibration. through k6 correct for sag in the robot arm
joints SLURBT respectively. By default, k2 and k3
are turned ON. You may want to turn on k4 and
k5 also. You should only turn on k6 if the mass
on the TCP is not symmetric around the Z-axis.
You should only turn on k1 if the robot is
mounted on a wall.
18. Click Fixture and set Calibrate fixture to yes. Set 19. Click Start Calibration. After calibration
Measurement Base and External TCP to Enter converges, click End-effector to view calibrated
Values. (Note: compared to Automatic TCP values. Click Fixture to view the calibrated
Alignment, lower section entitled User Frame is External TCP values. Enter these values in the
now titled External TCP.) controller. If the errors and standard deviations
a) In the four Measurement Base Fields, enter are all small enough, click Save Calibration and
the position of the Encoder base relative to Close. (If these values are not small enough see
the External TCP. The values are the same the close: heading at the end of the
for each of the measurement bases because Calibration Results section in the next
the encoder remains stationary as you chapter.)
change the swivel attachment point. 20. You are asked whether you want to rezero the
Therefore, the same values must be robot. Select No.
entered four times. Use the Same location 21. To make a filter, it is necessary to save the 4
as previous check boxes to accomplish All.prm file from the controller to the PC. Allow
this. If you use a mounting adapter that FDEWin to start and use the teach pendant to
offsets the encoder from the external TCP, save All.prm to your project. This will take
include this offset in these values. If you several minutes if using an XRC controller. After
entered a Base Adapter offset in the All.prm has been saved to the PC, MotoCal will
Measurement Settings screen, do not enter inform you if a filter has not been purchased for
the same data here. this robot. Otherwise, enter a name for the Filter
b) Encoder Location and Orientation file that will be created. By default it will write
The base of the Encoder has small screw over the Motoman_[rbt].prm file that holds
holes and alignment pin holes in one of its nominal values. You should choose another
quarters.The Z-axis of the Encoder points name meaningful to you. An alignment file with
up when the Encoder sits flat on its base. If the same name as the measurement file will also
the Encoder Z axis is not parallel to the be created.
robot base Z axis this information must be 22. From the Main Menu select Project Create
entered in the Fixture window. In the R1 Directory CAD. Select OK.
field(s) enter the roll around the Robot 23. The procedure works better if the alignment of
Base X axis that is required to make the the External TCP to the robot in the CAD system
Robot Base Z axis parallel to the Encoder Z is close to the alignment in the real system. If
axis. In the R2 field(s) enter the roll around this is not done, the likelihood of unreachable
the Robot Base Y axis that is required to points is increased. Close enough can be
make the Robot Base Z axis parallel to the accomplished using a tape measure and visual
Encoder Z axis. For more information, refer inspection.
to the Encoder Location and Orientation
section at the beginning of this chapter.
c) Enter the External TCP tlx, tly, and tlz values
from the CAD cell. These must give the
location of the External TCP relative to the
robot base in the CAD cell. MotoCal will
determine the difference between the CAD
and Real external TCP.
d) Select OK. Let the values be saved in a file.
24. You need to make the CAD job to download. If work it will be easy to make the next CAD job
the CAD job is for a test, rather than a real and download it because you already have the
production job, place the TCP at the External filter file and the alignment file.
TCP using various orientations that can easily be
checked. Do not program points at the limits of
the robot work envelope. This is likely to result
in points that cannot be reached by the real
robot due to differences in the alignment of the
External TCP. After creating this CAD job, add it
to the MotoCal CAD project. Right click in the
Robot files window of the CAD project and use
the Open Files dialog to copy it to your CAD
4 project directory.
25. You are now ready to download the job from the
Master to the Clone. In the Master project, select
the job to be cloned, the Filter file you created,
and the nominal alignment file. In the Clone
project, select the Filter and Alignment files you
created here and click the Default Filter button
.
a) The Setup to Filter Jobs screen appears.
b) To avoid confusion, change the name of the
Destination robot file to remind you that it
has been adjusted for the real robot. This is
the name of the downloaded job to be
created in the real project. Limit the name
to eight characters. Be sure the other fields
are filled in correctly and select OK.
26. In the Parameters For screens, enter the correct
TCP values. The first screen is for the TCP values
you set in the CAD robot when you taught the
job. The second screen is for the TCP values you
will set on the real robot when you run the job.
27. After finishing with the second Parameters For
screen, the Successful Filter message appears
and the adjusted job appears in the Robot files
window of the real project. If there are points
that could not be adjusted, a Points not
Reachable message appears before the
Successful Filter message. Be careful the first
time you run the downloaded job on the real
robot, especially if the Points not Reachable
message appeared.
28. Use FDEWin to transfer the new job to the
controller. Run it carefully. Once you get this to
OLP (MotoSim)
1
FILTER FILE FOR REAL ROBOT 1 *.PRM
ALIGNMENT FILE FOR IDEAL TO REAL EXTERNAL TCP 1 2
FILTER FILE FOR REAL ROBOT 2 *.PRM
ALIGNMENT FILE FOR IDEAL
TO REAL EXTERNAL TCP 2
N
FILTER FILE FOR REAL ROBOT N *.PRM
MotoCal ALIGNMENT FILE FOR IDEAL
TO REAL EXTERNAL TCP N
1 N
JOB FOR REAL ROBOT 1, ALIGNED JOB FOR REAL ROBOT N, ALIGNED
R REAL EXTERNAL TCP 1, REAL[1,2,N].JBI FOR REAL EXTERNAL TCP N, REAL[1,2,N].JBI
2
JOB FOR REAL ROBOT 2, ALIGNED
FOR REAL EXTERNAL TCP 2, REAL[1,2,N].JBI
EDIT LOCK
(OFF)
(ON)
PLAY
MODE
REMOTE
TEACH
ALARM
EMERGENCY STOP
HOLD START
OFF
ESET
N/R
PE
O
1. Choose Project New from main menu. The 4. Select Robot type: matching the robot arm you
New Project window appears containing four are calibrating.
variable fields. 5. Select the appropriate Robot application type.
6. Mount the MotoCal Encoder so that it is stable
relative to the robot base.
7. There must be four accurate mounting points
for the measurement swivel to be attached
relative to the tool TCP being calibrated. This
will require machining and CMM measurement.
The mounting points should not be co-linear.
Number these mounting points 1 through 4.
The position of the mounting points relative to
the TCP must be known.
8. Create a measurement job for each of the four
swivel mounting locations. Name the jobs
sequentially (i.e. 1.jbi, 2.jbi 3.jbi and 4.jbi)
corresponding to the numbered mounting
locations. To create a measurement job, proceed
2. Enter a Project name: (e.g. the robots serial as follows:
number, type, location, or job). a) Mount the Measurement Adapter in the
3. Leave Location: as is. first, or next, location relative to the TCP.
b) Attach the measurement cable to the 11. Be sure the measurement adapter swivel is at
Measurement Adapter. the [first/next] mounting location relative to the
c) Consider the work area of the robot and TCP. Attach the measurement cable to the
imagine a rectangular solid approximately measurement adapter swivel. Run the robot to
filling this area. Program a job that has four the first point of the measurement job for the
points at each of the eight corners of the current swivel location. The measurement
shape. After teaching the first point at a screen shows that the length of the cable
corner, teach three more by making large changed. When the robot is stabilized at the first
changes in the orientation of the TCP. Be point, select Measure. The Measurement screen
sure the measurement adapter does not indicates that a point has been recorded.
bind and the measurement cable does not 12. Continue to record a measurement for each
touch anything during the job. point in the measurement job.
d) Create a job with about 13 points, assuming 13. When all measurements have been taken, select 4
you are teaching four jobs with a total of OK. (place the measurement cable back in the
about 50 points. reference position on the encoder before
e) Repeat the preceding four steps until you selecting OK if you want to check the reference
have a measurement job for each of the reading. Reference readings should be
four Measurement Adapter locations. consistent within a few tenths of a millimeter.)
The measurements are recorded in the .msr file
Note: To move a job between the PC and the controller shown in the Measurement Files window. You
use FDEWin. Start FDEWin by selecting Project- can type in a different name for the
>File Transfer from the menu. measurement file if desired.
9. You now have four measurement jobs on the 14. Move the Measurement Adapter to the next
controller, one for each Measurement Adapter location relative to the TCP and repeat steps 10
location relative to the TCP, and the same jobs in through 13 until all four measurement files are
the MotoCal project. To make the jobs show in recorded, one for each Measurement Adapter
the Robot Files window of the project, right click location.
in that window, select Add Files to Project and 15. Bring up the Choose Calibration screen by
select the jobs. selecting the four measurement files and
10. Select Measure. The message "Make sure that corresponding jobs and selecting the Default
the measurement attachment is at the reference Calibration button.
position." is displayed Be sure that the MotoCal
Encoder measurement cable is attached to the
metal post on the encoder and select OK.
Note: If the message Couldnt find ANY Data
Acquisition Card... appears, check the cable
connections between the PC COM port and the
Data Acquisition box. Check the power supply
cable to the Data Acquisition box also. When all
cable connections are properly made, the
Measurement screen appears. The measurement
indicator should be blue, a red measurement
indicator indicates a problem with the .clb file.
4
16. You must have four measurement files and four
job files selected in the correct order. Be sure
that the jobs and measurement files are listed in
the same order so that they are correctly paired.
Also be sure the order of these files is the same
as the order of the measurement adapter
locations on the tool. This is also the order in
which you will enter the adapter locations in the
End Effector window in step 19. Select OK.
17. If this is a new project you are prompted to
enter TCP values. Next, a Parameters for the
measurement job screen is displayed. Enter the
tool XYZ values from the controller, regardless
of their validity.
NOTES
7. Configuration file name: Be sure the 9. Enter Measurement Adapter Offset (mm).
correct .CLB file for your encoder is selected. If This is the distance between the cable
not, use the ... button to select the correct attachment point and the TCP of the adapter
file. (If the correct file is not available, it may (31.75 mm for the universal adapter).
need to be copied from the diskette to the 10. Enter Base Adapter Offset (mm). This
MotoCal\ Templates directory. offset is only used for automatic alignment
8. Select the measurement system Type: projects. It is the distance between the Encoder
Manual: This is the most common selection. and work frame surface.
After clicking on the Measure icon, the space bar 11. Once the measurement system information has
is used to record measurements. been entered correctly, click OK. Click OK again
5 Auto: In Auto mode, measurements are taken to return to the Project window.
automatically when the robot is not in motion as 12. Once all four fields on the New Project window
determined by the Delay and Bound Limit have been completed, click OK. The Master
parameters. Robot Project (.PRJ) window appears and
a) Enter the maximum Bound limit(mm): MotoCal asks if you wish to save the new master
in which the robot must stay for a certain project file. Click OK and select the location of
Delay time to be considered not in motion. new file.
This value must be equal to or greater than
0 mm.
b) Enter the Delay(s): (in seconds) during
which the robot must remain still (as
defined by the Bound Limit above) to be
considered not in motion. This value must
be equal to or greater than 1.
Digital Input: (optional hardware
required) This selection enables you to control
the measurement process from the robot
controller. I/O commands inserted in the
robot calibration job enable MotoCal to
automatically take measurements at each
calibration point. Before starting the robot
calibration job, set the robot output to LOW. We
suggest inserting a Wait command of a couple
of seconds after each calibration point, to allow
the robot to settle before taking a measurement.
To take a measurement, toggle the selected
robot output to HIGH (e.g. .02 second) before
going back to LOW. Then move to the next
calibration point.
Master Project Window
Open Window
Measurement files: displays the measurement Default Calibration button: After the
files (.msr). Measurement files are generated by calibration calculation has been preformed once in
the MotoCal Encoder (or compatible a project, the icons displayed in front of the
measurement device). Measurements obtained by measurement job names in the Robot Files
devices other than MotoCal must be performed window will be a C. This allows use of the Default
with their proprietary software. Calibration button. Measurement job names must
Parameter files: displays the Parameter files be similar and end with sequential digits similar to
(.prm). These files contain the actual parameters those generated for measurement files. If multiple
of the robot and end-effector, as obtained through filter (.prm) and alignment (.aln or .tbl) file names
the calibration process. When a New Project is are displayed it is best to select the desired filter
created, a default parameter file is created using and alignment files first. Then the Default
5 the nominal parameters for the robot. calibration button can be selected. This eliminates
the need to repeatedly select the measurement
Alignment Files: displays the alignment files files and jobs while working with calibration
(.aln) containing the 6 DOF (Degrees of Freedom) calculations.
transformation matrix of the user frame associated
with the fixture. These files express the location of Default Filter button: To use the Default
the nominal robot base frame relative to the actual, Filter button, first use the mouse to select the
as obtained through the calibration process. When destination filter and alignment files, and the
a New Project is created, a default alignment file source filter and alignment files and the source
is created containing a zero transformation matrix. job. Then use the Default Calibration button to
bring up the Setup to Filter Jobs screen with the
Positioner files: displays the Positioner files selected files filled in.
(.tbl). This window is displayed in place of the
Alignment Files window when the project includes
a Positioner. These files contain the 6 DOF Measuring Calibration
transformation matrix of the robot origin to the
positioner origin, and of the positioner origin to Points
the reference frame of the encoder locations given The calibration points are a set of static positions
in MB1, MB2, MB3 and MB4. The second column visited by the robot and stored in a robot calibration
gives the transformation for the source project. job. At each position the robot stops, a measurement
This may be the real master project, or the CAD
values that are in the starting *.tbl file. The third is taken with the MotoCal Encoder (or compatible
column in the table gives the calculated measurement device). The resulting measurement
transformation for the real system of the project. data is then stored in a corresponding calibration
measurement file. The robot calibration job and
Related Subprojects: displays the links
between this project and other projects the robot calibration measurement file are then used to
is involved with (e.g. CAD projects, cloning calculate the calibration parameters for the robot cell
projects, etc.). - i.e. robot, end-effector, and/or fixture/positioner.
Measure button: starts the measurement
process.
RIGHT WRONG
NO INTERFERENCE WITH MEASUREMENT CABLE
MEASUREMENT CABLE TOUCHING ROBOT ARM
5
5. Choose the appropriate file and click Open. The
file(s) now appear in the Measurement file field.
Note: In the case of multiple measurement files, be sure
to select their order consistent with the order of the robot
job files. TCP Information: contains the x,y,z values and
6. Click (Parameter file) button. The Select orientation for the Tool Center Point (TCP). The
parameter file(s) for calibration screen appears. TCP values can be anything the user wishes to
teach, or run the robot calibration job with, but
Note: Parameter files are also referred to as filters. must match the values used in the robot
controller. These TCP values do not need to be
close to the actual TCP to be calculated.
User Frame Information: contains the x,y,z
values and orientation for the user frame (with
particular robot model convention). These user
frame values can be anything the user wishes to
teach or run the robot calibration job with, but
must match the values used in the robot
controller. These user frame values do not need to
be close to the actual user frame to be calculated.
Nominal:is located in both the TCP Information
and the User Frame Information areas. The
7. Choose the appropriate file and click Open. The values for the TCP and the User Frame will either
file now appears in the Parameter file field. be zeros, or (depending on the robot type and
8. When all fields have been completed, click OK. language interface) will be read directly from the
The Parameters for: robot file name screen robot program. The default value for this field is
appears. Nominal. However, this field also allows the
entered TCP and/or User Frame values to be saved
as a separate file. When these same TCP and/or
User Frame values are needed later, select the
saved file rather than manually entering the values.
To save entered TCP and/or User Frame values,
type a new file name
Alignment point relative to MotoCal measurement Alignment points relative to download area
frame
2. Easy reachability of alignment points:
The 6 DOF location of these alignment points should Locate the alignment points taking care to avoid
be known and expressed in one common coordinate interference with the measurement cable. The
frame (typically the User Frame) associated with the robot cell should be designed with calibration
fixture. Move the MotoCal Encoder to each of these (and OLP) in mind so selected alignment points
are easy to reach. The alignment points can then
different alignment points in between the be located at NC-Blocks that have been precisely
measurement of the calibration points. For example, measured together with the rest of the fixture,
with 40 calibration points and 4 alignment points, the as part of the regular Tool Certification process.
first 10 calibration points are measured at the first The NC-blocks may be fixed or removable.
alignment point, the following 10 calibration points If calibration and OLP were not considered
at the second, etc. The following guidelines should during the design phase of the robot cell, special
be used during the selection and design of the alignment risers can be designed and built
alignment points. within the fixture to position the measurement
encoder sufficiently clear of the fixture. The
1. Alignment points encompass download area: alignment risers can be made removable as long
Select alignment points that encompass the as their position in the fixture can be precisely
work area of downloaded robot programs. repeated. This allows the risers to be removed
Alignment points should not be too close before the actual job is run Only one riser needs
together compared to the downloaded points. to be built.
They should not be co-linear, nor close to co- The x,y,z, position for the alignment risers can
linear. Choose alignment points at the four base be measured together with the rest of the
corners of a rectangular prism that encloses the fixture, as part of the regular tool certification
downloaded job points. The height of the prism process. To measure the appropriate x,y,z
is equal to the short side of the base rectangle as alignment point on the riser coinciding with the
illustrated below. A similar concept can be origin of the MotoCal measurement frame, an
applied to other alignment points not forming a x,y,z measurement adapter can be used to
rectangle. accept the measurement target of the system
5 MotoCal Base
Adaptor
When calibrating a pedestal or external TCP Whatever external TCP values are entered here, the
application, locate the MotoCal Encoder at a point exact values need to be used later in the filter since
close to the external TCP using an appropriate base the obtained alignment matrix represents the
adapter. Because only one alignment point is used, difference between the calibrated actual external TCP
only the x,y,z position of the external TCP can be and the one entered here.
calibrated, not its orientation. If the MotoCal Encoder
is offset from the external TCP point to be calculated,
it is critical that the physical orientation of the
MotoCal Encoder relative to the external TCP point
match as closely as possible the orientation values
entered here, since the offset x,y,z values for the 5
MotoCal Encoder entered below are related to this
orientation. If the encoder is offset from the external
TCP, Its base should be maintained in the horizontal
plane, as shown below.
Motoman Inc.
MotoCal
Because the orientation of the external TCP is not Pedestal Offset Base Adaptor
calibrated, it is important to enter an estimated value
(normally within 5 degrees) for the external TCP.
Because these values are used for other robot
configurations later on in the filter, it is critical to
enter values for the user frame that are close to the
actual values to be calculated. With OLP, use the
external TCP obtained from the simulation model;
otherwise, this can be any approximation obtained
through tape measurement.
To calibrate the Fixture, proceed as follows: Three options are available to enter these values:
1. Click Fixture. The Fixture calibration screen Previous calibration: This selection
appears. allows the user to directly use the 6 DOF
location of the encoders measurement frame
relative to the robot base frame (instead of the
user frame or external TCP) as calculated
previously with the selected parameter file. This
is convenient, for example, when re-calibrating a
sub-set of the calibration parameters (e.g.
specific joint offset) while leaving all other
5 parameters at their previously calibrated values.
If Calibrate Fixture is set to Yes, MotoCal
will calculate the actual 6DOF transformation
matrix of this previous robot base frame relative
to the new one.
Unknown values: This selection is valid only if
Calibrate Fixture is set to No. In that case
the user is not trying to calibrate the fixture, and
therefore does not need to know the location of
Fixture Calibration Screen the measurement base(s) relative to the TCP
frame. In case more than one measurement
Calibrate fixture Yes/No: Select base is used, the user can indicate whether or
whether or not the Fixture will be calibrated. not these measurement bases are physically at
Measurement base: Enter the 6 DOF location the same point by turning on the Same Point
(x,y,z and orientation) of the measurement frame as Previous option.
of the MotoCal Encoder relative to the user frame Enter values: This selection is valid only
associated with the fixture for each one of the when Calibrate Fixture is set to Yes. It
alignment points, or relative to the external TCP allows the user to enter the 6 DOF location of
(see below). Each measurement base corresponds the encoders measurement frame for each one
with one specific robot job file and measurement of the alignment points relative to the user
file. Therefore, make sure the order of the frame or external TCP to be calibrated.
measurement bases matches the order in which CAD File: This selection is valid only when
the robot and measurement files were selected. Calibrate Fixture is set to Yes. This allows
the user to choose an existing CAD .FRM file
containing the 6 DOF location of the
measurement frame for all the alignment points
relative to the user frame or external TCP to be
calibrated.
To arrive at meaningful results, we recommend that Once the calibration process has converged, you
there be at least twice as many calibration points as have four options: Save Calibration and
calibration parameters. MotoCal calculates the Close, Remove Worst Point and
standard deviation of each of the corrected recalibrate, Select a different set of calibration
parameter values. The smaller the standard deviation parameters and re-Start Calibration, or
of a calculated parameter the more reliable the Close.
calculated parameter value is. The standard deviation Save calibration and Close:
is not a function of the actual measurements, but a Select Save calibration and close when
function of the number and kind of selected you have achieved satisfactory calibration results,
calibration points, as well as the selected calibration as explained above. After clicking the button,
5 parameters. As a rule of thumb, for a good MotoCal asks Would you like to Re-zero
calibration, we recommend the standard deviation the Robot? (see below). You are then asked
for all angular parameters to be around 0.010 degrees whether a filter will be made. If a filter is to be
or less, and for all linear parameters around 0.100 made, you are prompted to save the parameter file
mm or less (see Appendix B for more information needed to make the filter from the controller to
about Calibration Parameters). the PC. FDEWin may be started for this purpose. If
a filter is not going to be made, only the rezeroing
To check the calibrated values and their associated job, finesync. jbi will be generated. If a filter is to
standard deviation for the selected calibration be made you are prompted to save the calibrated
parameters, click the Robot, End-Effector, and/or parameters as a .prm file. Choose an appropriate
the Fixture button of the Calibration window filename and click Save. The new .prm file and
after calibration. The standard deviation will appear .aln file (if applicable) appear under the Parameter
on the right of the calibrated values of each one of file field and the Alignment file field, respectively.
the selected parameters. Rezero: If you choose to Re-zero the robot, a
finesync.jbi job file is created and stored in the
To summarize, a calibration should be considered Robot Files field of the Master Robot
good only if both the average/maximum errors, and Project after calibration is complete. The
all standard deviations are small enough. More than finesync job jogs the robot to the actual zero joint
with standard deviations (see above), a good average offset position as determined by the MotoCal
and maximum error is very application dependent. In software. Load the finesync job into the controller,
the case of spot welding for example, an average and run the finesync job, and then re-set the robot
maximum error of less than 0.5 mm and 1 mm Home position.
respectively is typically considered good. In arc
welding, these errors should be closer to 0.25 mm
and 0.5mm respectively. In general, to achieve better
CAUTION!
results, the calibration programs need to contain If the Robot Home position is not set
more calibration points, allowing the user to select correctly, the arm will not be
more calibration parameters while still maintaining calibrated, and the MotoCal filtering
good standard deviations. function will not work properly.
After the robot has been run to its newly calibrated
home position, maintain servo power on until the
new position has been recorded.
Calibration of the fixture involves calculating the 6 To initiate calibration with the robot:
DOF alignment transformation matrix representing 1. Select Calibration from the main menu and
the difference in position of the fixture relative to the click Calibrate. A window titled Choose
robot between two different robot cells. For example, Calibration System appears.
in the case of off-line programming, one robot cell 2. Select the Robot tab.
exists in simulation and a similar robot cell exists on
the plant floor. In the case of cloning both similar but
different robot cells are on the plant floor. In the case
of moving, the same robot cell is on two different
plant floors. In any event, two projects are a always
5 required to use this calibration feature.
Calibration of the fixture requires at least three
(preferably four) alignment points to be taught with
the TCP of the calibrated robot. If the TCPs x,y,z
values also need to be determined, teaching the
robots TCP using two points per each alignment
point with widely different end-effector orientations
is recommended. It is important to select alignment Calibration with robot
points that are not co-linear, and encompass the full
working area of the robot in the cell, (similar to the Robot file 1: Enter robot file to be used for
Alignment points encompass download area the calibration from the project that is currently
guidelines). Also, the selected alignment points must not active (see above). To choose a file, click the
button. A screen titled Select First Robot File
be reachable by the robots TCP, or special risers may for Calibration appears. Select the appropriate file
need to be built. and click Open.
In the case of OLP, only the x,y,z positions of the This is normally the robot program containing all the
alignment points need to be accurately known locations that were taught with the robots TCP at the
relative to one common user frame associated with different alignment points. For CAD projects, this
the fixture. These values can be obtained from the robot file contains the x,y,z position for the
simulation model used for the CAD project. The user alignment points expressed in the user frame (see
frame from the simulation model also needs to be below), as obtained from the simulation model (in
known because assuming it will be close to the actual turn obtained from CAD or some tool certification
user frame to be calculated, it is required for internal process). Since the orientation of these positions is
software calculations of the robot configurations (see not relevant in this case, the robot file entered can be
user frame information below). a regular robot program with dummy orientations at
Finally, in cases where no CAD Project is involved, the alignment points, or a standard .XYZ file.
knowing the accurate x,y,z location of the alignment .PRM File for robot 1: Select the parameter file to
points is not required. All thats required is the be used from the project that is not currently
relative position of these alignment points is the active. To choose a file, click the button. A
same between the actual fixture(s) to be aligned. screen titled Select Parameter File for First Robot
This requirement is satisfied when accurately appears. Select the appropriate file and click
manufactured "identical" fixtures are used in both. Open.
Finally, for TCP Information, the user can also select Once the information has been entered, click OK.
in this field the MotoCal_PRM file which contains The same window will then appear for the parameter
the calibrated actual end-effector values stored in the information for the project that is currently active.
selected Source .PRM file and Destination .PRM Follow the instructions above to complete the
file respectively (see above). Similarly, for User information and click OK.
Frame Information, the user can select the A window titled Calibration then appears. The user
MotoCal_ALN file which contains the calculated now has the option to select the End-Effector
actual fixture values stored in the selected Source button and/or the Fixture button for calibration
Alignment file and the Destination Alignment file of the TCP x,y,z and/or the alignment matrix
respectively. respectively. When the user clicks the Fixture
5 Points Used for Calibration: Two choices button, a screen titled Fixture Calibration appears.
are available in this area: The same applies in this window as was explained in
All: This selection allows the user to do the the equivalent window for Calibration with the
calibration based on all the points in the measurement device Fixture with respect to the
calibration robot file. values to be entered for the user frame.
Enter points: This option allows the user to
choose specific calibration points from the
calibration robot file, and to exclude other Calibration with the robot can also be initiated
points such as via points, old or otherwise by a convenient drag-and-drop feature. In the
incorrect calibration points, etc. This selection is project window that is active, select the desired
used mostly when calibrating the fixture with a .PRM file. Then select the desired alignment robot
robot. The calibration points to be used are program (in the Robot files field), and while
indicated by the number of the MOV command holding the SHIFT key and the left mouse button
in the robot calibration job. These numbers to drag that alignment robot program file onto the
should be separated by commas, spaces, or appropriate robot calibration job (in the Robot files
dashes (a dash indicates fromto). For field) of the project that is not active. Drop the
example: 2, 4, 6-8 10 12-34. file by releasing the mouse button, before releasing
the SHIFT key. Then the Choose Calibration
System window appears. Proceed with the
calibration process as described above (and use the
more option in case of multiple files).
The Automatic alignment method determines the Small alignment adjustments are also important to
position of the encoder at four known locations on aviod undesired axis flips. If MotoCal shifts a job over
the fixture. When MotoCal performs a calibration, it a large distance, undesired axis flips may be added to
determines the location of the Encoder relative to the job because MotoCal cannot determine the best
the robot. posture for the arm to use. MotoCal is designed to
When cloning jobs between real robot cells with shift jobs correctly over small distances of a few
Automatic Alignment, set up one cell as the Master, centimeters. It works well when transferring jobs
and the other as the clone. (Further explanation of among similar cells.
this point is made in the following section.) When The Quick Start procedures for transferring jobs
the Master cell is calibrated, no alignment file is between a Master Project and one of its Sub projects
created. However, the positions of the Encoder are (Clone, Move, etc) allow the software to use data on 5
recorded by the software. When the Clone project is the fixture location in both cells and take advantage
created, the Encoder locations determined for the of the fact that the alignment adjustments are small.
Master are copied into the new Clone cell. When Do not clone jobs between Masters
Calibration is performed in the Clone cell, the Master
Encoder locations are used to create an Alignment If it is necessary to clone a job between two Master
file containing the difference between Master and projects, do not transfer the job directly between the
Clone fixtures. two Master projects. Instead, create a Clone sub
project for one of the Master projects. Then add the
When cloning jobs between a real robot cell and a measurement jobs and measurement files from the
CAD model with Automatic Alignment, MotoCal second Master project to this new Clone project.
determines the difference between the position of Create the Filter and alignment file for the new Clone
the CAD fixture and the real fixture. In the real project using the standard method for Clone
Master project, enter the position of the work fixture projects. The job can then be transferred between
from the CAD model. MotoCal determines the the Master project and the new Clone project rather
position of the real project fixture and produces an than between the two Master projects.
alignment file containing the difference between the
CAD fixture and the real fixture. When MotoCal uses an alignment file (.aln or .tbl) to
adjust a job, it shifts the job by the amount specified
Avoid Large Alignment Adjustments in the file.
When a job taught on one robot cell is cloned to When a job is cloned between a Master project and a
other robot cells it is necessary to adjust the job to sub project (i.e. Clone project), do not turn ON
compensate for differences in the work position of Fixture Alignment in the Master project. This
each cell. The size of this adjustment is normally prevents a alignment file from being created in the
small due to similarities in cell design. Similarly, Master project. When the Master Filter is made,
when a robot cell is modeled in CAD, the CAD cell is information about the location of the fixture is
created to match the original as closely as possible. If written in a .frm file of the same name as the Filter.
the position of the robot relative to its work is not When the sub project is created, the .frm file is
held reasonably constant, job points created in one copied into the sub project, along with the Filter file
cell may be unreachable in other cells due to and other files that are shown in the windows. The
limitations on the reach and posture of the robots. .frm file name is not displayed.
When the Filter is created in the (Clone) sub project, Project name: Enter the name of the clone
turn ON Fixture Alignment. In the Fixture window, subproject.
select the CAD radio button and select the .frm file Location: The name of the directory where this
corresponding to the Master Filter. This loads the clone subproject is to be stored is indicated in this
encoder positions calculated in the Master project. field. Typically you should not change this field.
When you save this calibration, an alignment file is 2. Once the information has been entered, click
created. This file holds the difference between the OK. A window very similar to the Master
Master project alignment and that of the sub project. Project will appear; however the Window will
The numbers created in this file are small, typically be titled Clone Project (*.prj). The Clone
not more than a few centimeters. Project window acts the same as the Master
5 If an alignment file is created in the Master project,
Project window except that some specific files
have automatically been copied from the master
the alignment file specifies where the fixture is project to the clone project and some
relative to the robot base. The dimensions in the calibration defaults have been set specifically for
alignment file will be large, perhaps a few meters. If the purpose of cloning.
MotoCal transfers a job between two Master projects,
each with its own alignment file, the job is first
shifted to run centered on the base of the first robot.
It is then shifted to run on the work of the second
robot. Both of these are large shifts. As mentioned
above, MotoCal cannot determine robot postures for
large shifts. Although the final job will reach the
correct points, axis flips may be added to the job.
This, of course, is not acceptable. Therefore, avoid
using alignment files that require jobs to be shifted
over large distances by always cloning between a
Master project and one of its sub projects.
Clone Project
To start a Clone Project:
1. With the Master Project open, choose All calibration robot programs, parameter files, and
Project > Create Directory > Clone. A associated files are copied from the Master Project
window titled Create a new Clone Subproject to the Clone Project. The robot calibration jobs are
appears. copied using the same name, while the copies of the
parameter files all start with Copy Of to remind
you that these .prm files come from a different
project, instead of being created in the current
project. These copied files serve as a template and
set certain values to ones previously calculated in the
Master Project.
Because the master and clone robot cells are similar Calibration with the measurement device at
in terms of the robot, end-effector, and fixture we unknown alignment points
strongly recommend using the exact same robot This procedure varies from that above only
calibration job and parameter files for calibration of because this time you do not know the relative
the clone project as were used in the master project. location of the alignment points. All you know is
Selecting different robot calibration jobs (i.e. that the fixtures in both robot cells are identical in
that the relative location of these alignment points
different number of points, or changes in robot although unknown is the same (or close
position for example) and/or different parameter enough) on both of these fixtures.
files (i.e. a different selection of calibration
parameters), will not cause MotoCal to perform the What needs to be calculated is the difference in the
calibration and resulting clone incorrectly. However, location of the fixture relative to the robot base 5
MotoCal will not be able to take advantage of some of frame between both robot cells. First, perform the
the higher accuracy features used when dealing with calibration in the master project of the robot and
identical robot calibration programs and parameter end-effector, but not the fixture by selecting
files between different robot cells. Unknown Values. Then repeat the calibration in
the clone project, but this time for the robot, end-
Some of the inputs (see below) to this clone function effector and fixture by selecting Previous
are different, depending on the type of calibration Calibration. This determines the difference in
process executed. location relative to the robot base frame of the
Calibration with the measurement device at known fixture in both robot cells. As a result, .prm files
alignment points. appear in both projects respectively, but only an
This is the standard calibration procedure with a .aln file appears in the clone project. Use these
measurement device referenced to different files as input to the cloning process (see below), as
alignment points on the fixture that are all well as the nominal .aln file (set to zero) for the
accurately known relative to the user frame master project.
associated with that fixture. First, perform the Calibration with the Robot
calibration in the master project of the robot, end- First, the robot and end-effector should be
effector, and fixture simultaneously, while entering calibrated in both robot cells using the
the known locations of the alignment points. Next, measurement device, resulting in .prm files in
repeat the same calibration process on the clone both projects. Then, the now-calibrated robots
project. As a result, .prm and .aln files appear in TCP should be used to teach the same alignment
both projects respectively and will be the input to points, on the fixture in both robot cells, (i.e. same
the cloning process (see below). location of alignment points relative to both
identical fixtures). Execute the Calibration
with the Robot resulting in the .aln file
appearing in the clone project. Use the two .prm
files and this .aln file together with the nominal
.aln file (set to zero) for the master project as input
to the cloning process (see below).
2. Once the information has been entered, click file (i.e. a different selection of Calibration
OK. The Move Project (*.prj). window Parameters), MotoCal will still perform the
appears. calibration and resulting Move correctly, but will not
The Move Project window acts the same as the be able to take advantage of some of the higher
Master Project window except that some specific accuracy features used when dealing with identical
files have automatically been copied from the master Calibration Robot Programs and Parameter files
project to the move project and some calibration between different Robot Cells.
defaults have been set specifically for the purpose of All robot and end-effector parameters selected for
Moving. calibration in these .prm files copied to the Move
Project have been automatically turned off, since
typically although not always the previously 5
calibrated actual parameters (in the Master Project)
will not have changed when Moving the same robot
and end-effector from one location or facility to the
other. The same three options for calibration
including External TCP Applications as described in
the Clone section apply also for a Move, affecting
similarly some of the inputs (see below) to this Move
function. The major difference with a Clone is that a
Move typically does not require calibration of the
Move Project robot and end-effector, only the Fixture. However, if
for whatever reason the robot and/or end-effector
All robot calibration jobs, parameter files and has changed, you have the option to re-calibrate any
associated files are copied from the Master Project to of the parameters.
the Move Project. The robot calibration jobs are Finally, understand that the Moving procedure
copied under the same name, while the names of the described here can be executed between any two
copies of the parameter files all start with Copy Actual Robot Cell Projects (i.e. not a CAD Project),
Of to remind the user that these .prm files come and not just between a Master and a Move Project
from a different Project instead of being calibrated in (e.g. between Move and Move, or Master and
the current Project. These copied .prm files and Maintenance, etc.). The only advantage in executing
associated files serve for the purpose of calibration as Moving from a Move Project is that several files
a template and set certain values to previously have been copied automatically and specific defaults
calculated ones in the Master Project. have been set to facilitate your work (as explained
Because the robot, end-effector, and fixtures are very above).
similar between the Master and Move Robot Cells, Make the Project you want to Move to (see below)
use the EXACT SAME Calibration Robot Programs active (i.e. normally the Move Project), and then
and Parameters file for calibration in the Move Select Calibration from the main menu, and Click
Project as were used for the Master Project. If you Filter. A screen titled Setup to Filter Jobs
select a different Calibration Robot Program (i.e. appears.
different number of points, changes in Robot
Position for example) and/or a different Parameter
5
Setup to Filter Jobs
External TCP: This selection is ONLY possible Before the Successful filter message appears, the
with External TCP Applications. This area of the Points [Numbers] Not Reachable in
Window is where the user enters the x,y,z values of [Filename] for the Source Robot file and/or the
the External TCP as well as the orientation (with Destination robot job files may be displayed. This
the particular convention of the selected Robot indicates which points were no longer reachable
Model), EXACTLY as used by the Robot Program to kinematically due to the difference between the
be Filtered. This information can be found on the Calibrated and Nominal parameters.
Teach Pendant of the Robot Controller. As
explained before, these External TCP values need If the Non-Reachable Points message is
to be the EXACT SAME ones as entered for the displayed, Be extra careful when executing the
External TCP as part of the fixture calibration. resulting Moved Robot Program.
Nominal: This field is located in both the TCP
5
Information and the User Frame Information
areas. Whenever this Window Parameters for: Move can also be initiated by a convenient
appears, the values for the TCP and the User Frame Drag-and-Drop feature. In the Project Window to
will either be zeros, or (depending on the Robot be Moved to, the user needs to highlight the desired
Type and Language Interface) they will be read .PRM file and .ALN file to be used as input. In the
directly from the Robot Program (see above), or Project Window to be Moved from, the user needs to
they may be some previously entered default highlight the desired .PRM and .ALN files to be used
values. At that time, this field always appears as as input. With all of the desired files highlighted in
Nominal. However, this field also allows the user both Project Windows, select the Production Robot
to save the entered TCP and/or User Frame values Program to be Moved (in the Robot files field of the
as a different name (type in the desired name). So, source project), and while holding the SHIFT key
when needing these same TCP and/or User Frame and the left mouse button Drag that Production
values later in the software (see other sections), Robot Program file into the Robot files field of the
you can select that name instead of manually destination project. Drop the file by releasing the
entering the values again. mouse button, BEFORE releasing the SHIFT key. The
Filter Dialog Window appears. Proceed with the
TCP Information: the user can also select in Moving Process as described above (and use the
this field the MotoCal_PRM file which contains more option in case of multiple files).
the calibrated actual end-effector values stored in
the selected Source .PRM file and Destination
.PRM file respectively (see above). Similarly, for
User Frame Information, the user can select the
MotoCal_ALN file, which contains the calibrated
actual fixture values, stored in the selected Source
Alignment file and the Destination Alignment
file respectively (see above).
Once the information has been entered, click OK.
When the Moving Process has been executed
successfully, the Successful Filter message appears.
As a result of the Moving Process, the Destination
Robot file now appears in the Robot files field of
the target robot.
Maintenance Project
Indeed, all Calibration Robot Programs as well as all However, you can also apply the Filter: either in
Parameter files and all associated files are copied combination with updating the Robot Controller
from the Master Project to the Maintenance directly, or not. If using the filter, the same three
Project. The Calibration Robot Programs are copied options for calibration including External TCP
under the same name, while the names of the copied Applications as described in the Clone section also
Parameter files all start with Copy Of to remind apply for a Maintenance project. Some of the
the user that these .PRM files come from a different parameters selected for calibration might be different
Project instead of being calibrated in the current as dictated by the particular Maintenance case (i.e.
Project. These copied .PRM and associated files act as what did change?).
a template and set certain values to previously Finally, understand that the Maintenance procedure
calculated ones in the Master Project. described here can be executed between any two 5
In a Maintenance project, if you start with Previous Actual robot Cell Projects but not CAD Projects.
Calibration, the home positions of the axes and the The only advantage of executing Maintenance from a
TCP x,y,z values are set to be calibrated. These are Maintenance Project is that several files have been
the parameters most often changed by maintenance copied automatically and specific defaults have been
and crashes. It is assumed that the fixture has not set in order to facilitate the users work as explained
been changed and therefore it is not set to be above.
calibrated. As always, you may change the selection Make the Project you want to do the Maintenance in
of parameters to be calibrated. If Fixture Calibration (see below) active (i.e. normally the Maintenance
is turned on, calibration of the first robot axis, S-axis, Project), and then select Calibration from the
must be off because these parameters are main menu, and click Filter. A screen titled Setup
mathematically redundant. When Fixture calibration to Filter Jobs appears.
is turned on, you may choose Previous Calibration
if the fixture is the same but may have moved relative
to the robot. If the fixture itself has changed,
Unknown Values may be chosen in the Fixture
screen.
After calibration of only these Parameters (or a subset
thereof ), as described in the previous paragraph, it is
recommended that you select Re-zero the Robot
and manually enter the calculated TCP values and/or
the calculated User Frame values right on the Robot
Controller, instead of using the filter. In case of
Maintenance, Re-zeroing the Robot actually
means resetting the Robot to the zero offsets
previously calibrated in the Reference Master Setup to Filter Jobs
Project.
Source robot file: Enter the file name of the
Robot Program from the Robot Cell to be used as a
Reference.
Source .prm file: Select the Parameter file TCP information: Enter the x,y,z values and
containing the previously calibrated parameters of orientation of the Tool Center Point, exactly as
the Robot Cell to be used as a Reference. used by the Robot Program to be Filtered. This
Source alignment file: Select the information can be found on the Teach Pendant of
Alignment file containing the previously the Robot Controller.
calibrated Alignment Matrix of the Robot Cell to be User frame information: This selection is
used as a Reference (see above). not possible with External TCP applications. Enter
Destination robot file: Select the Robot the x,y,z values and orientation of the User Frame
Program in the Robot Cell to do Maintenance in. exactly as used by the Robot Program to be
By default the MotoCal software selects the same Filtered. This information can be found on the
5 name as the Source Robot file, but the user may robot controller teach pendant. As explained
choose any other file name. before, these values need to be exactly the same as
those entered for the User Frame Information as
Destination .prm file: Select the part of the fixture calibration.
Parameter file containing the previously
calibrated parameters of the Robot to do External TCP: This selection is ONLY possible
Maintenance in. with External TCP Applications. This area of the
Window is where the user enters the x,y,z values of
Destination alignment file: Select the the External TCP as well as the orientation, exactly
Alignment file containing the previously as used by the Robot Program to be Filtered. This
calibrated Alignment Matrix of the Robot Cell to do information can be found on the Teach Pendant of
Maintenance in (see above). the Robot Controller. As explained before, these
Once the information is entered, click OK. A screen External TCP values must be exactly the same as
titled Parameters for: appears for both the Source those entered for the External TCP as part of the
and Destination robot job files respectively. fixture calibration.
Nominal: This field is located in both the TCP
Information and the User Frame Information
areas. Whenever the Parameters for: window
appears, the values for the TCP and the User Frame
will either be zeros, some previously entered
default values, or (depending on the robot type
and language interface) they will be read directly
from the Robot Program. At that time, this field
always appears as Nominal. However, this field
also allows the user to save the entered TCP and/or
User Frame values as a different name. Simply type
in the desired name. When these same TCP and/or
User Frame values are needed later, select the
name instead of manually entering the values.
Finally, for TCP Information, select in this field
the MotoCal_PRM file that contains the
calibrated Actual End-Effector values stored in the
Parameters for: selected Source .PRM file and Destination .PRM
file respectively. Similarly, for User Frame
Information, select the MotoCal_ALN file, that
Project name: This is the field where the user Some of the inputs to this CAD function are different
enters the name of the CAD Subproject. depending on the kind of calibration process that
Location: The name of the directory where this was executed.
CAD Subproject is to be stored is indicated in this Calibration with the measurement device at
field. To change the directory the user can type in Known Alignment Points.
the desired name or Click the button to This is the standard calibration procedure with the
select from existing directories. measurement device referenced to different
Once the information has been entered, click OK. A Alignment Points on the Fixture that are all
Window very similar to the Master Project will accurately known relative to the User Frame, as
appear, however the Window will be titled CAD obtained from the Simulation Model used for the
5 Project (*.prj) (see Figure 58). The CAD Project CAD Project associated with that Fixture. In that
Window acts almost in the same manner as the case, the user will only perform the calibration
process in the Master Project of the Robot, the
Master Project Window. The difference is that in the End-Effector, and the Fixture simultaneously, while
CAD Project Window, the user will notice that the entering the known locations of the Alignment
fields for Parameter files and Measurement files Points. As a result, one .PRM and one .ALN file will
are not active. The Parameter files field is not active appear in the Master Project. Use these as input to
because the Robots in the CAD environment have the CAD process (see below), as well as the
Nominal or Perfect Geometry. As a result, the Nominal .ALN file (set to zero) for the CAD Project.
Measurement files field is not active since there is Calibration with the Robot
no reason to measure and calibrate a Perfect Robot! First, the Robot and End-Effector should be
calibrated in the Master Project using the
measurement device, resulting in one .PRM file in
the Master Project. Then the now-calibrated
Robots TCP should be used to teach the
Alignment Points in an Alignment Robot Program
to appear in the Master Project. The x,y,z locations
of these Alignment Points are obtained from the
Simulation Model and are entered as a
corresponding Alignment Robot Program in the
CAD Project.
Next, execute the Calibration with the Robot
resulting in the new .ALN file appearing in the CAD
CAD Project Project. Use the .PRM file and the Nominal .ALN
file (set to zero) for the Master Project together
with this .ALN file for input to the CAD Project (see
below).
Finally, understand that the CAD procedure
described here can be executed between a CAD
Project and any Actual Project (i.e. Master, Clone,
Move, or Maintenance).
Make the Project you want to Download to, or Destination alignment file: Select the
Upload to active (i.e. normally the CAD Project for Alignment file containing the previously
Upload to, or any Actual Project to Download to) and calibrated Alignment Matrix of the Robot Cell to be
then select Calibration from the main menu, and Downloaded or Uploaded to.
Click Filter. A screen titled Setup to Filter Once the information is entered, click OK. A screen
Jobs appears. titled "Parameters for:" appears first for the source
job and then for the destination job.
External TCP: This selection is ONLY possible Before the Successful filter message appears, the
with External TCP Applications. This area of the Points [Numbers] Not Reachable in
Window is where the user enters the x,y,z values of [Filename] for the Source Robot file and/or the
the External TCP as well as the orientation exactly Destination robot job files may be displayed. This
as used by the Robot Program to be Filtered. This indicates which points were no longer reachable
information can be found on the Teach Pendant of kinematically due to the difference between the
the Robot Controller or in the Simulation Model.
As explained before, these External TCP values calibrated and nominal parameters.
need to be the EXACT SAME ones as entered for If the Non-Reachable Points message is
the External TCP as part of the Fixture displayed, Be extra careful when executing the
calibration. resulting Maintenance Robot Program.
5 Nominal: This field is located in both the TCP
Information and the User Frame Information
areas. Whenever the window Parameters for: CAD can also be initiated by a convenient
appears, the values for the TCP and the User Frame Drag-and-Drop feature. In the Project Window to
will either be zeros, read directly from the Robot be downloaded or uploaded to, the user needs to
Program, or some previously entered default highlight the desired .PRM file and .ALN file to be
values. At that time, this field always appears as used as input. In the Project Window to be to be
Nominal. However, MotoCal allows you to save Downloaded or Uploaded from, the user needs to
the entered TCP and/or User Frame values as a highlight the desired .PRM and .ALN files to be used
different name (simply type it in). When these as input. With all of the desired files highlighted in
same TCP and/or User Frame values are needed both Project Windows, select the Production Robot
later, simply select that name instead of manually Program to use to Download or Upload (in the
entering the values. Robot files field of the Source Project), and while
holding the SHIFT key and the left mouse button
Finally, for TCP Information, the user can also Drag that Production Robot Program file into the
select in this field the MotoCal_PRM file which Robot files field of the Destination Project. Drop
contains the calibrated Actual End-Effector values the file by releasing the mouse button, BEFORE
stored in the selected Source .PRM file and releasing the SHIFT key. The Filter Dialog Window
Destination .PRM file respectively (see above). appears. Proceed with the CAD Process as described
Similarly, for User Frame Information, the user above (and use the more option in case of
can select the MotoCal_ALN file, which contains multiple files).
the calculated Actual Fixture values, stored in the
selected Source Alignment file and the
Destination Alignment file respectively (see
above).
Once the information has been entered, click OK.
When the Maintenance Process has been executed
successfully, the Successful Filter message will
appear. As a result of the Maintenance Process, the
Destination Robot file will now appear in the
Robot files field of the target robot.
NOTES
NOTES
AXIS 3
e2
AXIS 2
L5
AXIS 2 MOTOR L1
L4
e1
L3
AXIS 3 MOTOR
B
Redundancy in Calibration Parameters
Parallelogram Robot Structure
Non-Denavit-Hartenberg Geometric Parameters:
Depending on the mechanical structure of the Mechanical Compliance Parameters: Mechanical
robot (i.e. type of robot), certain geometric Compliance Parameters are non-geometric
dimensions not considered in the D-H convention parameters. These parameters can greatly affect
also affect accuracy of the robot. This is the case robot accuracy, and are a function of the payload.
for a parallelogram structure, or an axis joint Mechanical Compliance is modeled as torsion
driven by a ball-screw motor structure, etc. flexibility around the joint axes. Depending on the
robot type, there might be some additional
For a parallelogram Robot type, there are five Compliance Parameters in the robots structure,
additional geometric Parameters:
for example, flexibility of the l 4 link in the case
1. the length l 3 or l 5 (should not be calibrated). of a Parallelogram robot. For a detailed
2. the difference in length between l 4 and l 1. description, please contact Motoman.
Additionally, three more dummy axes each
3. the difference in length between l 5 and l 3. with torsional flexibility - can be located relative to
4. the horizontal offset e1 between axis 2 and the robots flange. This additional compliance is
motor axis 3. very useful when using a flexible end-effector (e.g.
a spring-loaded spot weld gun). When using a
5. the vertical offset e2 between axis 2 and motor standard rigid end-effector, the line labeled cgm1
axis 3. in the Parameter file contains the center of gravity
relative to the Flange-frame (x, y, z in mm), and
the mass (in kg); the following two lines remain at
zero. When using a flexible end-effector, the line
labeled cgm2 in the Parameter file contains the
End-Effector Flexibility
NOTES
Retraction of Measurement
Cable
When the measurement cable needs to be replaced,
the existing measurement cable must first be
removed from the encoder (i.e. wound off the
measurement drum) if it is not already off. Inside MotoCal Measurement Device
To unwind and remove the measurement cable:
1. Loosen two screws and remove side cover plate. Once the cable has been pulled out, the Encoder
latch mechanism locks on the measurement housing.
This latch mechanism serves two purposes. First, if C
the measurement cable exceeds its measurement
range, it simply comes off the drum without
breaking. Secondly, when the cable comes off, it
prevents the measurement drum from winding back
due to the tensioners torque.
C
Measurement cable secured to metal eyelet using set
screws Latch locked against measurement housing
2. Totally remove both set screws from metal 1. With the swiveling pulley on bottom, insert
eyelet (it will help you when inserting the cable (small loop end) through the main
measurement cable in the next step), but do not swiveling axis shaft from the swiveling pulley
discard them. side. Then pass it over the inner fixed pulley.
3. Insert open end of measurement cable into the 2. Using a small screwdriver (or similar tool), push
small center hole of the metal eyelet. Make sure the latch holder (and measurement drum) away
the cable goes through this small center hold from the measurement housing, and push the
(i.e. on both sides of the set screw threaded latch back towards the center of the
holes), but does not obstruct the larger eyelets measurement drum.
opening.
4. Reinsert both set screws, and hand tighten them
(not too much) symmetrically around the center
hole (i.e. both screws should be inserted equally
deep into the metal eyelet).
NOTES
NOTES
NOTES
NOTES
T-Axis calibration Determination of the accurate External TCP Calibration MotoCal 3.0 can
Motor Encoder home position pulse count for the T- determine the location of an External TCP relative to
Axis, Axis 6. It is almost always best to calibrate the the robot base. Four Measurement Adapter locations
End-Effector and not the Axis 6. Calibration of the are required as specified above for the Six Degrees of
End-Effector, or Tool, is always important and Freedom End-Effector calibration. Also, the Encoder
calibration of the End-Effector makes calibration of must be mounted at the External TCP, or at a known
Axis 6 meaningless. offset from it.
End-effector calibration The robot tool is typically Filter File A .prm file that holds information about
bolted to the tool flange without alignment pins. how a real robot arm and tool differ from the ideal
Robot tools are subject to bending. There is an model of these. Each Filter is for a particular arm and
endless variety of end effectors, many being made for tool. It may be appropriate to make multiple Filters
special applications. For all of these reasons the TCP for an arm because of differences in workload and
of the End-Effector must be measured. End-Effector TCP. Parameters that may be evaluated are:
Calibration is an excellent way to make the Motor Encoder home position pulse counts,
measurements. The Measurement Adapter Swivel usually tt2 through tt5 (LURB). Home positions are
must be attached to the End-Effector so that the TCP often significant sources of error and should be
is matched. When the End-Effector is calibrated Axis included in the Filter.
6 cannot be calibrated. End Effector XYZ values and optionally RxRyRz
values. These parameters should always be
included in the Filter.
Six Degrees of Freedom End-Effector Twists in robot links (aa1 aa6 and bb1 bb6).
Calibration MotoCal 3.0 can be used to calibrate These are often useful to include.
the orientation of the TCP in addition to its location. Variation in robot link lengths (a1 a6 and d1
A single Measurement Adapter attachment point at d6). It is usually not useful to include these.
the TCP of the End-Effector cannot yield information Sagging of links due to load (k1 k6, and kw, kp
about the TCP orientation. Four different and kr). This error could result from gear
Measurement Adapter attachment points are compliance and link bending. It is useful to include
required. The position of these attachment points these parameters in the Filter if the robot will be
relative to the TCP must be known accurately and working near its weight capacity.
Filtering a Job To use a Filter File to adjust a .jbi file Fixture A structure made to hold work for the robot.
so that it will run accurately on the robot and tool for The fixture is important for MotoCal because it is
which the Filter File was made. The process of used to make Alignment files. For Automatic
filtering can also be done in reverse so that a job Alignment the Fixture must include four accurate
running on a real arm and tool can be adjusted to run mounting points for the Encoder. Also for Automatic
accurately on an ideal arm and tool. Forward and Alignment, Fixture calibration must be turned on and
Reverse Filtering are also called Downloading and the user must enter the locations of the Encoder
Uploading respectively. mounting points.
Alignment The position of a work fixture relative to Cloning a Job The transfer of a job taught on one
the robot base. MotoCal keeps this information in robot and its fixture so that it can be run on another
.aln files. Each alignment file represents one robot robot and its fixture. This is done using information
base and fixture. (Note the exception for manual from both .prm Filter Files and .aln Alignment files.
alignment specified below.) If multiple fixtures are Information in the Filter files is used to adjust the
used in a cell it will be necessary to make multiple points in the job to compensate for differences
alignment files. MotoCal 3.0 can produce Alignment between the two robots and their respective TCPs.
Files by two different methods. The information in the Alignment files is used to
adjust the job to compensate for differences in where
Manual Alignment There must be four accurate the work fixture is relative to the robot base.
points on the fixture. On Robot 1 a job must be
taught that touches the TCP to the four points in
order on Fixture 1. The same job must be taught on OLP, Off Line Programming Using a software
Robot 2 for Fixture 2. See the Manual Alignment system (such as MotoSim) to simulate a robot and
diagram above. An Alignment file created by this work cell. Jobs can be created easily off line and then
method provides the difference in the alignment of cloned to run on real arms. This is also called
the two fixtures to the two robot bases in two Downloading.
different robot cells. Thus realignment of a job
between the two cells will use only one alignment Maintenance After an arm has been changed due
file. A nominal alignment file holding zero values is to a crash or a motor replacement, the jobs it used to
used as the second alignment file. run need adjustment before they can be run again.
MotoCal Maintenance allows this adjustment to be
Automatic Alignment There must be four accurate done automatically. A Filter file must be made before
mounting points for the Encoder on the fixture. the change to the arm occurs. After the change
MotoCal determines the location of these points occurs another Filter is made. MotoCal uses these
relative to the robot base, and thus the alignment of two filters to adjust the existing jobs so they run
the fixture to the robot base. See the Automatic accurately after the change. If the position of the
Alignment diagram above. When a job is to be Fixture relative to the robot is changed, it is also
aligned between two cells two alignment files will be necessary to use Alignment files.
used, one for each cell. This method of alignment
typically yields superior results because it does not
rely on operator skill in teaching points.
M N 37, 5-39
Main Swiveling Axis 5-14, C-2 Nominal 5-4, 5-10, 5-11, 5-19, Robotic Industries Association
Maintenance 5-30, 5-33, 5-36, 5-23, 5-25, 5-31, 5-35, 5-38, 2-1
5-37, 5-38, 5-39, 5-40, A-1 5-40, 5-42, B-1 S
Maintenance Safety 2-4 O Save 5-43
Master Robot Project Off-Line Programming 5-22, 5- Selecting Calibration Points 5-5
Organization 5-3 32, 5-39 Selecting Encoder Location 3-2
Measurement Adaptor 5-8, 5- OLP 5-17, 5-22, 5-25, 5-39 Setting Robot Home Position
12, 5-30
Operation 5-1 (MRC) 4-7
Measurement Cable 3-1, 5-5, 5-
Operation Safety 2-3 Setting Robot Home Position
7, 5-8, C-1, C-2, C-3
Optional Items 1-3 (XRC) 4-7
Measurement Device 5-9, 5-11,
Side Cover Plate 3-1
5-14, 5-15, 5-18, 5-21, 5-24, P
5-29, 5-30, 5-40 Simulation 5-3, 5-5, 5-16, 5-
Pedestal 5-12 17, 5-22, 5-23, 5-25, 5-26, 5-
Measurement Drum 3-1, 3-2, C- Positioner 5-9 39, 5-40, 5-41, 5-42
1, C-2, C-3
Programming Safety 2-3 Simulation Model 5-16, 5-17, 5-
Measurement Housing C-1, C-2
22, 5-23, 5-40, 5-41, 5-42
Measurement Origin 5-14 R
Software Installation 3-4
Measuring Calibration Points 5- Reference Position 5-6, 5-7, C-3
Special Functions 5-43
4 Reference to Other
Standard Conventions 2-1
Measuring calibration points Documentation 1-3
Standards Items 1-2
with other measurement systems Reverse Filter 5-26, 5-39
5-8 Swiveling Pulley C-2, C-3
Re-zero 5-20, 5-37
Measuring Calibration Points System Requirements 1-3
Robot 5-2, 5-4, 5-5, 5-7, 5-8,
with the MotoCal Encoder 5-6 5-9, 5-10, 5-11, 5-12, 5-13, 5- T
Mechanical Safety Devices 2-2 14, 5-15, 5-16, 5-18, 5-19, 5- TCP 5-10, 5-11, 5-12, 5-13, 5-
Metal Hook 3-1, 3-2 20, 5-21, 5-22, 5-23, 5-24, 5- 14, 5-17, 5-18, 5-19, 5-21, 5-
Metal Loop C-2 25, 5-26, 5-28, 5-29, 5-30, 5- 22, 5-23, 5-24, 5-25, 5-29, 5-
Model Robot Cell 5-39 31, 5-32, 5-33, 5-34, 5-35, 5- 30, 5-31, 5-33, 5-34, 5-35, 5-
36, 5-37, 5-38, 5-39, 5-40, 5- 36, 5-37, 5-38, 5-40, 5-41, 5-
MotoCal Components 1-2
41, 5-42, 5-43, B-1, B-2, B-3 42, B-3
MotoCal Overview 1-2
Robot Base Frame B-3 Tensioner C-1, C-2
Mounting the Encoder 3-2
Robot Calibration 4-3, 5-11 Tool Center Point 5-10, 5-31, 5-
Move 5-11, 5-21, 5-22, 5-24,
Robot Cells 5-29, 5-33 34, 5-38, 5-41
5-28, 5-32, 5-33, 5-35, 5-40,
5-43 Robot Programs 5-33, 5-36, 5-