29 - Using Multiple Arm Mode
29 - Using Multiple Arm Mode
i
Table of Contents
ii
Using Multiple Arm Mode
Later versions of PC-DMIS enable you to drive up to four machine arms from one
version of PC-DMIS, using any combination of one to four computers.
While the measurement process for multiple arms is comparable to single arm units,
PC-DMIS must be able to distinguish the arm that is taking the measurement when
using a multiple arm system. The topics in this chapter explain how to do this.
The main topics in this chapter describe how to setup a multiple arm CMM, create
measurement routines using multiple arms, and share the measurement routine among
the participating arms. These topics are:
1
Using Multiple Arm Mode
PC-DMIS must be installed on all systems prior to running in Multiple Arm mode.
In addition, your LMS license or the portlock's World Axis value on each machine must
be configured to properly run in Multiple Arm mode as follows:
• The primary computer's LMS license or portlock setting should detail how many
secondary arms that will be driven by the primary computer. So, a primary
computer driving three secondary arms would need to specify a value of 3.
• Each secondary computer's LMS license needs to be properly configured or the
portlock should specify a value of 1.
The Multiple Arm option must be programmed in all port locks. This should be available
on all computers.
Label the participating arms in some way. Most users usually call them "ARM1" and
"ARM2".
2
Setting Up a Multiple Arm CMM
4. Use the X, Y, or Z list to reassign the axes of the connected CMM so that they
match the axes of Arm1. Usually, only the X and Y axes will need modification.
5. Click Apply to keep the changes.
6. Once the dialog box closes, exit PC-DMIS.
7. Restart PC-DMIS, and verify that the changes are correct by moving the axes for
both arms in the same directions. Make sure the axis counters increment
accordingly.
The numerical values in the counters will not match until you complete the
multiple arm calibration.
1. Select Edit | Preferences | Setup to display the Setup Options dialog box.
2. Select the Part/Machine tab.
3. Click the Probe Head Orientation button. The Probe Head Wrist Angle
Configuration dialog box appears.
3
Using Multiple Arm Mode
Use this dialog box to determine if the current computer is the primary computer and
drives the other arm or arms, or if the current computer is not the computer but relays
commands from the primary computer.
When you finish making changes to this dialog box and click OK, PC-DMIS displays a
warning message that says that you need to restart PC-DMIS for your changes to take
effect.
The This computer relays commands from the main computer option in the
Multiple Arm Setup dialog box (Edit | Preferences | Multiple Arm Setup) enables the
computer to be used with a non-primary arm (Arm2 or higher). In this case, it relays
commands from the primary computer. You can choose to connect to the primary
computer by defining the proper TCP/IP port and data port.
The This computer (primary) drives all arms option in the Multiple Arm Setup dialog
box (Edit | Preferences | Multiple Arm Setup) enables the computer to be the main
computer that drives all the arms. You can choose to connect the computer to the other
arms using either a direct connection or a remote connection.
5
Using Multiple Arm Mode
If you choose the Remote connection option, you need to fill out the available fields to
establish the connection:
1. Select the arm from the Connection settings for arm list.
2. Type the IP address in the TCP/IP Address box.
3. Type the IP address's port number in the TCP/IP Port box.
4. Type the data port number in the Data Port box.
5. Specify the TCP/IP connection delay in the Delay for TCPIP connection in
milliseconds box. This value is the number of milliseconds that PC-DMIS delays
before attempting a TCP/IP connection to the specified arm from the current
computer.
If the computer is not used in a multiple arm setup, select the This computer is not
used in a multiple arm setting option in the Multiple Arm Setup dialog box (Edit |
Preferences | Multiple Arm Setup).
1. Start up PC-DMIS on the Arm2 and higher systems. Do not create a new
measurement routine or activate a routine. These systems are now ready.
2. Start up PC-DMIS on the Arm1 (primary) system. Create a new measurement
routine (or activate one that is already available). If you are creating a new
measurement routine, PC-DMIS automatically opens the Probe Utilities dialog
box (Insert | Hardware Definition | Probe).
3. Either select or create a probe file that describes a probe on Arm1. Make sure
that you add an AB angle for the tip you plan to use to calibrate the relationship
between the two arms. Don't calibrate the probe at this time.
6
Setting Up a Multiple Arm CMM
PC-DMIS displays a check mark to the left of the Operation | Enter Multiple Arm
Mode option. PC-DMIS also displays the Active Arms toolbar.
When PC-DMIS enters multiple arm mode, it attempts to establish a link between the
multiple computer systems. This link coordinates the activities of all the arms.
Troubleshooting
If PC-DMIS cannot establish the link among the computers after it enters multiple arm
mode, an error message appears and informs you of the arm that isn't responding. The
following may cause this communication problem:
Once you have a link between the multiple computers, you can calibrate the relationship
between the arms.
Exiting the active measurement routine also removes PC-DMIS from multiple
arm mode.
Prior to calibration and after PC-DMIS has been started on the computer systems, you
must define any probes that will be used in the measurement process. PC-DMIS uses
the theoretical data from the probes to calibrate the multiple arm system.
7
Using Multiple Arm Mode
Do not calibrate the probes at this time. Only ensure they are properly defined
and that you add an AB angle for the tip you plan to use to calibrate the multiple arm
system.
In your measurement routine, you should have multiple LOADPROBE commands, one for
each arm.
8
Setting Up a Multiple Arm CMM
1. Select the Operation | Calibrate/Edit | Multiple Arm Mode menu option (only
available in Online mode). This displays the Multiple Arm Calibration dialog
box.
2. Ensure that the correct probe files and tips are selected from the arm lists in the
dialog box.
3. Ensure that the calibration tool you are using is available from the List of
available tools list. The tool is only needed if you selected the Both arms
measure tool option.
4. Define the Prehit / Retract, Move speed, and Touch speed values as desired.
During calibration, these values supersede the same values listed in the
Measure Probe dialog box (Insert | Hardware Definition | Probe | Measure
button). In addition, they are shared by both arms to ensure that they operate
using the same conditions during calibration:
• Prehit / Retract - This defines a distance value away from the part or
calibration tool. The speed of PC-DMIS decreases to the defined Touch
speed while within this distance. It remains at the Touch speed until the
hit is taken and the distance is reached again. At that point, PC-DMIS
returns to the defined Move speed.
• Move speed - This defines the speed that PC-DMIS uses to move the
probe into position to take hits during multiple arm calibration.
• Touch speed - This defines the speed that PC-DMIS uses to take hits
during multiple arm calibration.
5. Choose what you want to calibrate by selecting either the Orientation and
origin option or the Origin only option.
moved your tool. If you normally indicate to PC-DMIS that you haven't
moved the tool, then you don't have to adjust your arm to arm origin. If you
answer that you have moved the tool, then after calibrating your probe
tips, you should return to this dialog box and choose the Origin only type
of arm to arm calibration.
With Origin only, make sure you are using calibrated tips.
6. Choose how you want to perform the calibration by selecting either Manual
calibration or DCC calibration.
Click the Edit Positions button to change the location of each sphere
position by typing the X, Y, and Z coordinates. You may find it helpful to read
the position of the active arm to fill in these three values. Be aware that
clicking the Done button on your jog box can read the arm's current position.
10
Setting Up a Multiple Arm CMM
You must first do at least one origin arm to arm calibration in Manual mode
to establish the basic relationship between the two arms. When you complete an
arm to arm calibration, PC-DMIS generates an armarm.results file stored in the
directory defined through the Set Search Path menu option (see the "Specifying
Search Paths" topic in the "Setting your Preferences" chapter. This text file is
viewable using any text editor. It shows how beneficial the spheres are once you
have done the initial fit. In particular, it displays the "fitment error". This information
may help to show the overall accuracy of the calibration..
Ensure that the spheres aren't in the same position. Otherwise, the
calibration finishes with incorrect results.
8. Use the available options below to determine how the arms are used to measure
the tools.
11
Using Multiple Arm Mode
9. Click Calibrate once this button becomes enabled. It remains disabled until you
select all needed calibration parameters.
If you select Both arms measure tool, you must provide the following items
before the Calibrate button becomes available:
If you select First arm holds tool and second arm measures, you must provide
the following items before the Calibrate button becomes available:
If you select Second arm holds tool and first arm measures, you must provide
the following items before the Calibrate button becomes available:
10. Once you click this button, PC-DMIS begins the calibration that you have
requested. This creates an alignment between Arm1 and Arm2 by leveling,
rotating, and setting the origin.
• If you selected the Manual calibration option, you must begin by taking
one point on the top of the tool. PC-DMIS automatically measures the rest
of the points. Once you have measured the tool in the current position,
PC-DMIS prompts you to move it to a new location on the table.
• If you selected the DCC calibration option, PC-DMIS measures each of
the given calibration sphere positions. Make sure the tool locations on the
table are not co-linear (in a line). Position the tool locations as far as
possible from each other, with at least one of the positions being raised up
in the Z axis.
1. Click the Arm 1 Active button on the Active Arms toolbar (View | Toolbars |
Active Arms). Most users assign this button to the primary computer.
2. Access the Probe Utilities dialog box (Insert | Hardware Definition | Probe).
3. If PC-DMIS asks you if you want to load a new probe file, click No.
4. Calibrate the Arm1 probe (or do a wrist calibration if you are using a PHS). PC-
DMIS prompts if the tool has been moved.
13
Using Multiple Arm Mode
Once you have calibrated both probe files in multiple arm mode, you are done with the
calibration of the multiple arms. PC-DMIS copies the Arm2 file, the tool data, and the
arm-to-arm transformation data to the Arm2 computer. This allows you to run Arm2 on
its own as if it were an extension of the Arm1 coordinate system, or you can always run
them together in multiple arm mode.
If needed, you can access the calibration results by clicking on the Results button of
the Probe Utilities dialog box. This displays the Calibration Results dialog box, which
displays information about the calibrated tips of the related probe file. With version 4.3
and higher, you can view the Arm2 calibration results in this same way on your Arm2
computer.
14
Setting Up a Multiple Arm CMM
AUTOCALIBRATE/MULTIPLEARM, ARM_THAT_MEASURES=BOTH,
MEASURE_MODE=DCC , OPERATION TYPE=ORIGIN, QUALTOOL_ID=SPHERE3,
MEASURE_AT_CENTER 1=<0,0,0>
ARM 1=CMM1, ARM 2=CMM2
ARM_THAT_MEASURES=
Indicates which arm performs the measurement (not which arm holds the tool).
Choices are BOTH, ARM2 or ARM1.
MEASURE_MODE=
Indicates whether the calibration is in MANUAL or DCC mode.
OPERATION_TYPE=
Indicates if calibration is for ORIENTATION AND ORIGIN or ORIGIN only.
QUALTOOL_ID=
Specifies the name of the qualification tool used.
MEASURE_AT_CENTER 1=
The X, Y, Z location to be used for measurement when using
CALIBRATION_MODE=DCC. This is not present if the command is using
CALIBRATION_MODE=MANUAL.
15
Using Multiple Arm Mode
Most of the items in this dialog box are the same as those used in the Multiple Arm
Calibration dialog box (Operation | Calibrate/Edit | Multiple Arm Mode). The
differences are listed below:
You cannot specify the probe and tip for Arm1 or Arm2. They are shown in the
lists on this dialog box for information purposes only. The
AUTOCALIBRATE/MULTIPLEARM command gets them from the content of the
measurement routine in which the command is used.
16
Setting Up a Multiple Arm CMM
After this calibration, PC-DMIS synchronizes the probe files from the multiple computers
the next time you enter multiple arm mode on the Arm1 computer.
1. Select the Arm 1 Active icon from the Active Arms toolbar (View | Toolbars |
Active Arms).
2. Access the Probe Utilities dialog box (Insert | Hardware Definition | Probe).
3. Follow existing procedures in the "Calibrating Probe Tips" topic of the "PC-DMIS
CMM" documentation for information on how to calibrate probe files.
1. Select the Arm 2 Active icon from the Active Arms toolbar (View | Toolbars |
Active Arms).
2. Access the Probe Utilities dialog box (Insert | Hardware Definition | Probe).
17
Using Multiple Arm Mode
3. Follow the existing procedures in the "Calibrating Probe Tips" topic of the "PC-
DMIS CMM" documentation for information on how to calibrate probe files.
If you want to use a calibration tool different from the one used for the Arm1 probe file,
select the SPHERE(ARM 2) tool during Arm2 probe calibration.
18
Setting Up a Multiple Arm CMM
7. From the List of available tools, select a tool that defines the correct diameter
and orientation of the calibration tool to be measured.
8. Click the OK button.
Once you have calibrated all the probe files in multiple arm mode and set the arm to
arm origin, the calibration process is complete.
After you finish your multiple arm calibration and perform a wrist calibration (see
"Wrist Calibration" in the "Using a Wrist Device" chapter), you need to repeat the Origin
Only wrist operation as discussed early on in "Step 8: Calibrate the Multiple Arm
System".
PC-DMIS copies the Arm2 probe file, tool data, and arm to arm transformation data to
the Arm2 computer. Arm2 is then capable of running on its own as if it were an
extension of the Arm1 coordinate system. You also have the option of running them
together in multiple arm mode. Each time you enter multiple arm mode (by selecting
19
Using Multiple Arm Mode
Operation | Enter Multiple Arm Mode), PC-DMIS synchronizes the following between
the two computers:
The Active Arms toolbar contains multiple arm icons with corresponding color coded
check mark icons. Each arm icon corresponds to an arm on the machine.
Arm1
Arm2
Execute on Arm1
20
Creating a Measurement Routine Using Multiple Arm Mode
Execute on Arm2
The Arm(n) icons (those with numbers) switches the current active arm.
The Execute on Arm(n) icons (those with check marks) executes only those commands
associated with a specific arm.
The Move to Arm(n) Start Point icons move the cursor in the routine to the top of that
arm's starting position.
The Execute From Start Point icon executes the routine for both arms at the currently
defined start point.
Once Multiple Arm Mode is initiated, PC-DMIS inserts colored vertical lines into the left
margin of the Edit window's command mode. This is used to identify the commands that
are used for each arm. (In Summary Mode, PC-DMIS indicates commands assigned to
the Arm2 with bold text.)
Edit window with green (feature CIR1) and red (feature LIN1) lines designating Arm2
and Arm1 portions respectively
21
Using Multiple Arm Mode
Colored horizontal bars (instead of vertical) signify that the commands affect both arms
and neither arm is allowed to execute this command until both arms have executed all
prior commands. This type of command (usually a branching or alignment command) is
executed by both arms at the same time.
If you have commands assigned to a particular arm and you want to assign them to a
different arm, do the following.
When you select this option, PC-DMIS connects all of the highlighted commands to the
other arm.
• If you don't highlight any commands, PC-DMIS connects the command where the
cursor resides in the Edit window.
• You can assign most commands to be executed by Arm1, Arm2, or both arms.
For example, you could create a PREHIT or ALIGNMENT command that applies
to both Arm1 and Arm2, or to just one of the arms.
• You cannot assign certain commands to multiple arms. These include features,
hits, dimensions, and probe commands.
22
Creating a Measurement Routine Using Multiple Arm Mode
When you execute in multiple arm mode, Arm2 runs a little behind Arm1. This
type of delay is expected.
To set multiple start points, change the current learn arm before you click the Set Start
Point toolbar icon.
A special start point arrow will appear in the left margin of the Edit window in a
color that corresponds to the active arm color on the Active Arms toolbar (View |
Toolbars | Active Arms).
23
Using Multiple Arm Mode
The screen capture to the left shows that Arm1, in red, will begin execution at
CIR3 while Arm2, in green, will begin execution at CIR2.
If you cancel execution, PC-DMIS automatically moves the start points for each arm to
the command where the execution was cancelled for each arm.
Start points tell PC-DMIS to begin the routine's execution at that point when you select
the File | Partial Execution | Execute From Start Points menu option. For information
on using start points, see the "Setting Start Points" topic in the "Editing a Measurement
Routine" chapter.
Be aware that if the current tip for that location in the routine does not match the
current orientation of the probe head, PC-DMIS does not go back to execute the tip
command above it in order to change the tip orientation.
• The advantage of using this method is that PC-DMIS only makes one of the arms
wait if the other arm is in its zone.
• The disadvantage is that you need to put MOVE/EXCLUSIVE_ZONE commands
around all the blocks of commands that command an arm into the overlapped
area in the middle of the dual arm volume.
24
Creating a Measurement Routine Using Multiple Arm Mode
1. Find the sequence of commands that causes one of the arms to enter into an
overlapped portion of the CMM volume.
2. Place a MOVE/EXCLUSIVE_ZONE=ON command at the start of the sequence.
3. Place a MOVE/EXCLUSIVE_ZONE=OFF at the end of the sequence.
If you're compensating for temperature on the CMMs, you need to insert two
temperature compensation commands into the routine - one command for Arm1 and
another command for Arm2. Also, only the thermocouple for the part which is attached
to the Arm1 controller is used for recording the part temperature.
In addition to having the STP file (Serv1.stp) in the appropriate directory on the Arm2
computer, you must also ensure that another STP file for Arm2 (named Serv1s.stp)
resides in the corresponding directory on the Arm1 computer. To do this, copy Serv1.stp
from the Arm2 computer, rename it to Serv1s.stp and place it on the Arm1 computer.
Once you have the TEMPCOMP commands inserted, you need to ensure that the arms
are synchronized. To do this, insert two MOVE/SYNC commands, one before and one
after the TEMPCOMP command assigned to Arm2, as shown here:
25
Using Multiple Arm Mode
The highlighted items in this graphic show the two MOVE/SYNC commands around the
TEMPCOMP command for Arm2
• The first MOVE/SYNC command provides the correct sequence for writing
temperature values to the report. This ensures that temperature values are
displayed for Arm1 first.
• The second MOVE/SYNC command prevents Arm2 from measuring until Arm1
finishes obtaining the part's temperature.
For more information on MOVE/SYNC, see "Inserting a Move Sync Command" in the
"Inserting Move Commands" chapter.
All existing probe files, wrist maps, tool changers, and other calibration and error comp
files are usable in this mode without any change.
Calibrations done in either normal or Reverse Axes mode are correct and
usable in either mode.
26
Dialog and Message Boxes in Multiple Arm Mode
27
Using Multiple Arm Mode
This advanced topic assumes you have a solid working understanding of PC-
DMIS, including such concepts as probe angles, calibrations, the autocalibrate
command, move point commands, multiple arm mode, and other concepts.
This topic provides a typical calibration example to show the steps needed to calibrate a
dual-arm horizontal machine with different extensions on the wrist and with a probe
changer. After a full calibration, additional steps explain how to create two measurement
routines that will automate the calibration steps so you can more quickly perform the
28
Dual Arms with Wrists Calibration Example
calibration when needed. Some steps are described generally and assume that as an
advanced user, you are already familiar with the underlying principles needed.
This example uses CW43L_Multiwire wrists with short, medium, and long probe
extensions containing TP2/TP6 probes. Your actual procedure will differ.
Before you begin, make sure the following has taken place:
• The machine has been properly compensated. This compensation data must
reside in the Leitz controller for both the arms.
• You understand the importance of temperature compensation.
Be sure to take into account how temperature will affect your calibration,
and compensate as needed.
The coefficient of expansion of the part (or in this case the calibration sphere) is
zero. For more information, see "Compensating for Temperature" in the "Setting
Your Preferences" chapter.
Example showing some angular positions and the orientation values for each arm
29
Using Multiple Arm Mode
Long extensions are often useful on vertical machines and wrists. If you use a
very long extension, you'll need to create a map for that extension. These machine
types are highly accurate, and it takes several hours to finish a mapping on this type of
machine.
On your primary computer, modify the Multiple Arm Setup dialog box with these
options:
1. To access this dialog box, select Edit | Preferences | Multiple Arm Setup.
2. Mark the This computer (primary) drives all arms option.
3. Choose 2 from the Connection settings for arm list.
4. Choose Remote connection. Set the connection values to the secondary
machine: TCP/IP Port, Data Port, and Delay for TCPIP connection in
milliseconds.
5. Click OK to close the Multiple Arm Setup dialog box.
Also, modify the Probe Head Wrist Angle Configuration dialog box with these
options:
1. To access this dialog box, select Edit | Preferences | Setup, the Part/Machine
tab, and then the Probe Head Orientation button.
2. In the CMM1 area, set the wrist's A0B0 position to point in YPLUS direction. Set
the A90B180 position to point in ZPLUS.
3. In the CMM2 area, set the wrist's A0B0 position to point in the YMINUS direction.
Set the A90B180 position to point in ZMINUS.
4. Click OK to close the Probe Head Wrist Angle Configuration dialog box.
5. Click OK to close the Setup Options dialog box.
30
Dual Arms with Wrists Calibration Example
On the secondary computer, modify the Multiple Arm Setup dialog box, and click the
This computer relays commands from the primary computer option.
Modify the Axis tab of the Machine Options dialog box (Edit | Preferences | Machine
Interface Setup) with these options:
31
Using Multiple Arm Mode
32
Dual Arms with Wrists Calibration Example
If you're using a machine with DEA wrists, use the PC-DMIS Settings Editor to modify
these registry entries on both computers to the following values:
• DEAWrist = 1
• RotateWristFromController = TRUE
• FlipBAxis = TRUE
• AaxisMax = 181
• AaxisMin = -181
The AaxisMax and AaxisMin registry entries define the allowed amount of
angular rotation for the wrists. For very long extensions, you should not exceed +/- 124
degrees.
On the primary LEITZ computer (arm 1), set these registry entries:
• AxisX = 0
33
Using Multiple Arm Mode
• AxisY = 2
• AxisZ = 4
On the secondary LEITZ computer (arm 2), set these registry entries:
• AxisX = 1
• AxisY = 3
• AxisZ = 4
If you need to configure your machine differently from a conventional DEA machine; for
example, if you want to use the wrist convention used in the PHS Renishaw, you would
need to set the following parameters. They are then stored in the registry:
1. In the Machine Options dialog box for arm 1 (computer 1), set the B offset
value to -180.
2. In the Probe Head Wrist Angle Configuration dialog box, specify the proper
axes associated with the wrist rotations.
The figure below shows the values you should change along with some sample wrist
rotations at the noted angles:
34
Dual Arms with Wrists Calibration Example
The PC-DMIS Settings Editor provides the ability to back up registry entry settings and
user data files. See the "Working with Backup Files and User Data" topic in the PC-
DMIS Settings Editor documentation for information on backing up important files.
You may have to back up some files manually. See the "Understanding File Locations"
topic for information on where the above file types are stored in case you need to do
this.
35
Using Multiple Arm Mode
Now that you have backed up the above files, you should delete the original ones (keep
the backed-up ones as needed). This ensures that you're starting with a fresh setup and
that previous calibration data won't affect the current calibration.
The next step provides information on creating the basic arm to arm relationship.
(A) - Sphere 1
(B) - Sphere 2
(C) - Sphere 3
Create a new measurement routine and then load or create the two probes files,
PROBE1 and PROBE2, into your measurement routine.
36
Dual Arms with Wrists Calibration Example
(A) - Probe 1
(B) - Probe 2
37
Using Multiple Arm Mode
Load in a third probe file, name it PROBALL, and give it a 15 mm fixed rigid ball, like
this:
38
Dual Arms with Wrists Calibration Example
If your physical structure of the probe and arm are not displayed in the Probe
Utilities dialog box (Insert | Hardware Definition | Probe), be sure to edit the
USRPROBE.DAT so that the dialog box displays the necessary hardware. For
information on data files, see "Understanding Data Files" topic in the "Setting Your
Preferences" chapter.
Example usrprobe.dat file edited to contain a flange between the arm and wrist
39
Using Multiple Arm Mode
Do a Preliminary Calibration
When the calibration finishes, your Probe Readouts window for arm 1 and arm 2 should
contain nearly identical X and Z values.
40
Dual Arms with Wrists Calibration Example
(A) - PROBE 1
(B) - PROBE 2
(C) - Sphere 1
(D) - Sphere 2
(E) - Sphere 3
You've successfully calibrated SPHERE3 in order to temporarily map arms 1 and 2. The
calibration information is stored within an ArmArm.dat file.
41
Using Multiple Arm Mode
1. Swap out the TP2 tip on the arm 1 extension with a 15 mm tip.
2. In the Multiple Arm Calibration dialog box (Operation | Calibrate/Edit |
Multiple Arm Mode), make sure the following are set:
• For First arm probe, select the PROBALL probe.
• For Second arm probe, select the PROBE2 probe.
• For Number of spheres to measure, define how many spheres PC-DMIS
will measure with each arm. For this example we'll use a value of 6. But
for your machine, you may want to choose a different number based on
the dimensions of your machine. A value of 9 is good. 12 is the maximum.
The higher the number, the greater the accuracy, but you'll also
experience an increase in calibration time with more spheres during the
DCC calibration.
3. Calculate the orientation plane so that the sphere of arm 1 will move on a plane
lying on the Y center line of the machine. This will allow arm 2 to later reach the
ball in all positions. To do this:
• Manually move arm 1 to the six sphere positions specified in the Multiple
Arm Calibration dialog box.
• From the Multiple Arm Calibration dialog box, click Edit Positions and
correct each sphere position as needed to improve the distribution. This
may be needed since the positions are not perfectly aligned nor evenly
distributed on the vertical plane.
• You may find it helpful to read the position of the active arm to fill in the X,
Y, Z coordinates. The Read Position button automatically uses the
current X, Y, Z position of the arm.
4. Choose the Orientation and Origin option.
5. Choose the DCC calibration option.
6. Click Calibrate. The armarm.dat file is regenerated with a more accurate
mapping from this calibration.
42
Dual Arms with Wrists Calibration Example
Continue the calibration in DCC mode for arm 1 measuring SPHERE3. This is the
center sphere on the calibration fixture.
1. Swap out the 15 mm tip on the Arm 1 extension with the TP2 tip.
2. In the Measure Probe dialog box (Insert | Hardware Definition | Probe |
Measure button) for the PROBEALL probe, choose DCC.
3. In the List of available tools, choose SPHERE3.
4. Click Measure.
5. When PC-DMIS asks if the qualification tool has moved or the machine zero
point has changed, click Yes.
43
Using Multiple Arm Mode
1. In the Measure Probe dialog box, in the List of available tools, choose
SPHERE1.
2. Ensure that the IJK orientation of this calibration sphere is correctly set to 0, -1,
0.
3. Click Measure.
4. When PC-DMIS asks if the qualification tool has moved or the machine zero
point has changed, click Yes.
1. Access the Measure Probe dialog box for PROBE2, the probe on Arm 2.
2. In the Measure Probe dialog box, choose DCC.
3. In the List of available tools, choose SPHERE2.
4. Ensure that the IJK orientation of this calibration sphere is correctly set to 0, 1, 0.
5. Click Measure.
6. When PC-DMIS asks if the qualification tool has moved or the machine zero
point has changed, click Yes.
44
Dual Arms with Wrists Calibration Example
The next step provides information on mapping the wrists of Arm 1 using SPHERE1.
1. Check to see the ability to use wrist maps is already enabled. You can do this by
accessing the Probe Utilities dialog box for a probe that has a wrist. If you see
the Use wrist map if available check box, this functionality is enabled. If you
don't see it, check to ensure that the DeaWrist registry entry is 1.
2. Access the Measure Probe dialog box (Insert | Hardware Definition | Probe |
Measure button) for PROBE1 and set these options and values:
45
Using Multiple Arm Mode
Arm 1 starts to measure all the positions defined in the dialog box. Generally, this lasts
approximately an hour, but it depends on the speed of the machine and the size of your
probe's extension. A shorter extension is faster.
The next step provides information on mapping the wrists of Arm 2 using SPHERE2.
46
Dual Arms with Wrists Calibration Example
• *. PRB
• *. Results
• abcalib.dat and abcalib_CMM2.dat
• abcomps.dat and abcomps_CMM2.dat
• aboutput.dat and aboutput_CMM2.dat
• wrists.dat and wrists_CMM2.dat
• toolc.dat and toolc_CMM2.dat
• armarm.dat
• tool.dat
The next step provides information on mapping the origin between arms.
47
Using Multiple Arm Mode
2. Click Calibrate.
3. When PC-DMIS asks if the qualification tool has been moved or the machine
zero point changed, click No. Since the calibration spheres are almost always
located in the same position of the machine (it's screwed in place), you can
choose No. PC-DMIS doesn't care if the spheres are off by some tenth of a
millimeter.
48
Dual Arms with Wrists Calibration Example
49
Using Multiple Arm Mode
This step is needed before we can calibrate and use probe changers that will hold the
different extensions.
PC-DMIS supports multiple maps. You can potentially even have a separate
map for each probe. But having so many maps is very impractical, given the work and
attention needed for a single mapping procedure. So, when possible, try to group similar
probe lengths together so that they use a single map. However, you should create a
new map if the range between probe extensions is very large.
Two new maps are needed for the long extension. To do this, create a new map by
repeating Step 6, Step 7, and Step 8; this time however, use the probes with the long
probe extensions.
50
Dual Arms with Wrists Calibration Example
For the medium extensions, you can update the extensions to an existing map.
1. Access the Probe Utilities dialog box (Insert | Hardware Definition | Probe) for
the probes with the medium extensions, and using the Add New Angle dialog
box add at least 9 angular positions. This defines the calculation of the new
offset, due to variation in the extension. These are some good recommend
angles to use:
[0,0] [90,90] [90,-90] [-90,-90] [-90,90] [45,45] [45,-45] [-45,-45] [-45,45]
Example Add New Angle dialog box showing the suggested angles
51
Using Multiple Arm Mode
Before you calibrate the probe changer, make sure that all tips have been
calibrated and the relationships between the arms is also established.
Since you'll have multiple extensions (three for each arm is the minimum), you'll need to
do a probe changer calibration to support the loading and unloading of probe extensions
with the probe changer. It is assumed that you already know how to do the probe
changer calibration.
Follow your existing procedure to calibrate the probe changers. If you want to see how
some probe changers are calibrated, see the "Defining Probe Changers" topic here.
52
Dual Arms with Wrists Calibration Example
If you're planning to use a laser probe on your probe changer, you can devote
a slot on the probe changer rack to that particular component. To do this, use the
CW43LThirdAxisTCSlot registry entry in the PC-DMIS Settings Editor.
The next step provides information on setting up routine files for automatic use.
However, there are times when you'll need to adjust the calibration or correct the offset
(for example if you need to replace a damaged tip or if you want to substitute a different
tip). Repeating the previous manual steps would be very time consuming. For this
53
Using Multiple Arm Mode
reason, it makes sense to use an automated approach. All you'd have to do is run a
routine and PC-DMIS would automatically perform the procedures you did previously.
Before doing this, you should be very familiar with PC-DMIS operations.
For now, just create the routines. You'll add content to them in later steps.
54
Dual Arms with Wrists Calibration Example
6. Click Save. A parameter set is created for ARM1_1 probe. Click OK to close the
message box.
7. Repeat 2-6 for each probe, creating a parameter set for each.
8. When finished, you should have these six parameter sets:
ARM1_1_MAP - For the probe named ARM1_1 (the short extension on arm 1)
ARM1_2_MAP - For the probe named ARM1_2 (the medium extension on arm 1)
ARM1_3_MAP - For the probe named ARM1_3 (the long extension on arm 1)
ARM2_1_MAP - For the probe named ARM2_1 (the short extension on arm 2)
ARM2_2_MAP - For the probe named ARM2_2 (the medium extension on arm 2)
ARM2_3_MAP - For the probe named ARM2_3 (the long extension on arm 2)
55
Using Multiple Arm Mode
You only need to create parameter sets for the number of extensions you
have on each arm. For example, if you only had two extensions on each arm, you would
end up with a total of four parameter sets.
This means, you can now use an AUTOCALIBRATE command to calls one of these
parameter sets. When the AUTOCALIBRATE statement executes, PC-DMIS will
generate a new arm to arm mapping with all settings stored in the called parameter set.
1. Access AUTO_MAPS.PRG.
2. Add in a TEMPCOMP command (temperature compensation) for arm 1. If you're
calibrating inside of a climate-controlled environment, the temperature
compensation commands aren't needed. See "Compensating for Temperature"
and "Using Temperature Compensation with Multiple Arm Calibration".
3. Add a MOVE/SYNC command.
4. Add in a TEMPCOMP command for arm 2.
5. Type a MOVE/SYNC command after the TEMPCOMP command blocks.
6. Type a LOADPROBE/ARM1_1 command to load the probe with the short
extension on arm 1. Assign the command to arm 1.
7. Type a LOADPROBE/ARM2_1 command to load the probe with the short
extension on arm 2. Assign the command to arm 2.
8. Type a LOADPROBE/ARM1_3 command to load the probe with the long
extension on arm 1. Assign the command to arm 1.
9. Type a LOADPROBE/ARM2_3 command to load the probe with the long
extension on arm 2. Assign the command to arm 2.
1. Access AUTO_MAPS.PRG.
2. Place the cursor after the LOADPROBE commands for the short probes.
3. Insert an AUTOCALIBRATE command (choose Insert | Calibrate |
AutoCalibrate Probe).
4. Press F9 on the command. The Calibrate Probe dialog box appears.
5. In the Parameter set list, choose the parameter set for the short probe on arm 1.
This is ARM1_1_MAP.
6. Click OK. The command updates to use the selected parameter set.
7. Assign the command to arm 1.
56
Dual Arms with Wrists Calibration Example
8. Repeat 3-6 for the short probe on arm 2. This is ARM2_1_MAP. Assign the
command to arm 2.
9. Place the cursor after the LOADPROBE commands for the long probes.
10. Repeat 3-6 for the long probe on arm 1. This is ARM1_3_MAP. Assign the
command to arm 1.
11. Repeat 3-6 for the long probe on arm 2. This is ARM2_3_MAP. Assign the
command to arm 2.
12. Type a MOVE/SYNC command at the end of the routine.
1. After the AUTOCALIBRATE commands for the short probes and before the
LOADPROBE command for the long probes, type a MOVE/SYNC command.
2. After the MOVE/SYNC command, ensure that the tips' angles are adjusted
appropriately for drop off at their respective probe changers. You can do this by
inserting moves appropriate to your machine's dimensions and arm and probe
changer setup.
57
Using Multiple Arm Mode
Sample AUTO_MAPS.PRG Routine. Safety moves are inserted after the MOVE/SYNC,
indicated by green arrow (A).
You would run this routine to recreate the arm to arm mapping in these instances:
Whenever your normal maintenance schedule requires that your mappings should be
updated.
Whenever you need to use an entirely new probe. In that case, you would need to add
in the LOADPROBE statements for the new probe.
• Whenever you wrist is remounted (for example, after a technician adjusts its
electronic compensation).
• Whenever data is lost or corrupted or you're not sure if the mapping is correctly
generated.
• Whenever a room situation changes that alters the thermal compensation (for
example, if moving the machine out of a climate controlled room).
• Whenever the physical structure of the machine changes.
58
Dual Arms with Wrists Calibration Example
Before running this routine, you should delete old maps. Use the View | Delete maps
button located in the Wrist calibration area of the Measure Probe dialog box to do
this.
If you're using long extensions and you aren't running at maximum speeds, expect a
minimum of 3-4 hours to run the entire routine. This time is just an estimate, as it
depends on your individual machine dimensions, the length of the extensions, and
speed percentage used.
Example Add New Angle dialog box showing the suggested angles
59
Using Multiple Arm Mode
For increased precision, you can increase the angles to 17, but this
lengthens the execution time of the update.
The recommended 17 angles for this wrist are:
([0,0] [90,0] [90,-45] [90,-90] [90,-135] [90,45] [90,90] [90,135] [-90,0] [45,-20] [45,-
65] [45,-110] [45,-155] [45,25] [45,70] [45,115] [45,160])
5. Access the Measure Probe dialog box and define parameter sets for each
probe. Ensure that DCC + DCC and Calibrate tips are selected.
6. Name each parameter set by basing it off the probe name and adding on an
"_UPDATE" suffix. For example, ARM1_1 would have a parameter set named
ARM1_1_UPDATE.
1. Go to the end of the routine, add in a LOADPROBE command for ARM1_1 and
for ARM2_1.
2. Insert an AUTOCALIBRATE/MULTIPLEARM command and press F9. The
AutoCalibrate Multiple Arms dialog box appears.
3. For First arm, choose CMM1. For Second arm, choose CMM2.
4. Choose Both arms measure tool.
5. Choose DCC calibration.
6. Choose SPHERE3 from the Available Tools list.
This last piece causes the short extension on both arms to go and measure SPHERE3
in order to adjust the relationship one last time between arm 1 and arm 2. Generally,
you only need to use this final command after perhaps a month machine usage (or after
many measurements) to occasionally adjust the offset and improve accuracy.
61
Using Multiple Arm Mode
Before running this final portion of the routine, be sure to place calibration spheres
(SPHERE1, SPHERE2, and SPHERE3) back on the table.
You would run this measurement routine to update the mapping for a specific tip in
these instances:
62
Dual Arms with Wrists Calibration Example
Running the entire measurement routine for all probe extensions and using the
recommended nine angles takes about 30 minutes.
63