### Inserting Clearance Moves Automatically

PC-DMIS contains two menu options in the Operations | Graphics Display Window | Clearance Moves submenu that insert clearance moves as MOVE/POINT commands automatically to help avoid unintentional collisions with the part.

This diagram shows where PC-DMIS will calculate a MOVE/POINT command between two hits:

- Hit1 - The last hit

- P1 - Offset point from Hit1 in vector direction

- Hit2 - The new hit

- P2 - Offset point from Hit2 in vector direction. This is the created MOVE/POINT.

- Yellow Plane - The plane through P1

- Blue Plane - The plane through P2

- P1’ - Projected P1 in the vector direction of P2

- P2’ - Projected P2 in the vector direction of P1

- PS - Symmetry Point between P1’ and P2’: This is the new move point.

If the angle between the vector of Hit1 and the vector of Hit2 is bigger then 150° no move point is needed.

Auto Insert Moves

Auto Insert Moves... - This menu item opens up the Auto Create Clearance Moves dialog box allowing you to select starting and ending feature between which PC-DMS will insert defined clearance MOVE/POINT commands.

Note that the IP Measure option in your portlock must be enabled to use this functionality.

Move commands can be placed between the range of features specified, but not prior to the first feature. A clear path is assumed to the probe start position and the first feature.

1. Select the Auto Insert Moves menu option. The Automatically Create Clearance Moves dialog box appears.

Automatically create clearance moves

2. Select the first feature for the range of features from the Start list.

3. Select the last feature for the range of features from the End list.

4. Type a value in the Collision safety box. This value provides a buffer zone around the probe tip so that PC-DMIS considers close misses as collisions.

5. Type a value in the Insert clearance moves offset box. This value defines the distance that the probe moves away from the part when it detects a collision while trying to move the probe to the next feature. PC-DMIS attempts to go directly to the next feature, but compensates for collisions by inserting clearance move commands. It continues this process until it defines a collision free path to the next feature. More than one move command may be inserted between features. PC-DMIS stores this move offset value inside the CollisionMoveClearanceInMM registry entry located under the AutoInsertMoves section of the PC-DMIS Settings Editor.

6. Select the Delete existing moves check box if you want to delete any pre-existing move commands in the part program.

For Dual Arm programs, PC-DMIS will insert “Move Exclusive” commands as necessary to guard against the two arms colliding during execution.

With Feature Creation

With Feature Creation - This menu item toggles between inserting move points automatically or not when features are created inside the part program. If the menu item displays a check box then this mode is enabled and PC-DMIS will automatically insert MOVE/POINT commands whenever you add features to the part program. This menu item also uses the distance defined in the CollisionMoveClearanceInMM registry entry.

When inserting the move commands, it uses one feature above and below the newly inserted feature as the start and end points, operating mostly as if you had used the Auto Create Clearance Moves dialog box discussed above. However, one difference is this menu item does not detect and avoid collisions with your part as would the dialog box above. To detect collisions, you need to use the Collision Detection functionality.

Note: This only functions in offline mode. Also, the IP Measure option in your portlock must be enabled to use this functionality.