Mini Routines

Mini routines enable you to measure a selected dimension or group of dimensions from a long measurement routine. Mini routines offer characteristic-based measurement and the ability to measure a part of a complete measurement routine (such as operation-based measurement).

Because mini routines can execute partial measurements in a measurement routine, you must ensure that there will be no collisions when you execute a partial measurement routine. You are responsible for creating such a measurement routine.

Modes

Two modes are available:

If you select this mode, mini routines work only with a clearance cube. If the measurement routine is not created with a clearance cube, the following message appears when you click the Execute button in the Mini Routines dialog box:

PC-DMIS

Mini Routine will work with clearance cube only.

This measurement routine is not using clearance cube.

With the ClearanceCube mode, to avoid collisions between the probe and the part, mini routines work only when ClearanceCube motion is activated. For help with using this feature, see "Using the ClearanceCube".

If you are licensed with the Portable option, then the clearance cube requirement is waived. In this case, the measurements are expected to be done in Manual mode, and there will be no collisions.

Using Mini Routines

To use mini routines, select File | Partial Execution | Mini Routines. The Mini Routines dialog box appears. For example:

Example of Mini Routines dialog box

The Dimension (left-most) pane displays the items (features, dimensions, and groups) that are available in the measurement routine. The Mini Routine (right-most) pane displays the mini routines.

PC-DMIS automatically creates these mini routines:

Finding the Items in the Dimension Pane

You can filter to find the items that you want to measure in your measurement routine. The filtered items will display in the Dimension pane.

  1. To filter, do one of the following:

Filter by

Filter by list

All Features and Dimensions - Displays the IDs of the features and dimensions.

Dimensions - Displays the IDs of the dimensions. This is the default.

Features - Displays the IDs of the features.

Marked - Displays the IDs of the features that are marked in the measurement routine.

Unmarked - Displays the IDs of the features that are not marked in the measurement routine.

Out of Tolerance - Displays the IDs of the features that are out of tolerance.

Groups - Displays the names of the groups. All dimensions that belong to a group are included in a mini routine.

  1. Tooltips in the Dimension pane give detailed information about dimensions. To display a tooltip, hover your mouse pointer over an item. The tooltip will remain visible until you move the pointer off the item.

If you change the name of an item in the Edit window, PC-DMIS automatically changes its name in the filtered list as well as in the mini routine.

Creating a Mini Routine

To create your own mini routine:

  1. In the Mini Routines list, click New Mini Routine. Or, right-click in the Mini Routine pane, and select New Mini Routine on the shortcut menu:

Mini Routine shortcut menu

New Mini Routine - Creates a new mini routine.

New Sub Mini Routine - Creates a new sub mini routine.

Remove - Deletes the selected mini routine or sub mini routine.

Expand All - Displays all items in all mini routines and sub mini routines.

Collapse All - Hides all items in all mini routines and sub mini routines.

Select Group Property - Displays additional options:

Unselect Complete Group - Deselects the complete group and displays all of the dimensions in the group.

Export - Saves the tree structure for each mini routine in an .xml file, which you can use with automation. A dialog box appears and prompts you for the name and location of the file.

Show Execution Time - Displays the execution time in <hours>:<minutes>:<seconds> to the right of the Entire Routine option, the mini routine name, and the sub mini routine name.

Update Execution Time - This option is selected by default. If this option is selected, the execution time will be updated every time it is executed. This update function is available for the entire routine as well as for each separate mini routine. If you do not want the time to be updated after every execution, clear this option.

The Update Execution Time option is available when:

  1. Click on the default name that appears, and type a name of your choosing.

  2. To create another mini routine, click on the icon of any existing mini routine to select it, and then select New Mini Routine. This places the mini routine at the root level of the tree structure.

Creating a Sub Mini Routine

You can create a sub mini routine for a mini routine that has no items.

  1. Select the desired mini routine.

  2. In the Mini Routines list, click New Sub Mini Routine. Or, right-click in the Mini Routine pane, and select New Sub Mini Routine on the shortcut menu.

  1. Click on the default name that appears, and type a name of your choosing.

Adding Items to Mini Routines

  1. In the filtered list in the Dimension pane, select each item that you want to add to a mini routine or sub mini routine.

To display additional selection options, right-click in the pane. A shortcut menu appears:

Filtering shortcut menu

Select All - Selects all of the items in the filtered list.

Unselect All - Deselects all of the items in the filtered list.

Expand All - Displays all features and dimensions in all groups.

Collapse All - Hides all features and dimensions in all groups.

  1. With Filter by set to Groups, select Expand All and then click on each item in a group that you want to add to a mini routine or sub mini routine.

  2. In the Mini Routine pane, click on the icon for the desired mini routine or sub mini routine to select it.

  3. Click >> to move the selected items from the Dimension pane to the selected mini routine.

  4. To save your changes to mini routines at any time, click Close. To discard your changes to mini routines, click Cancel. The Mini Routines dialog box closes.

When you select the Close button to close the dialog box, PC-DMIS automatically saves the mini routines as an .xml file with this naming convention:

<name of measurement routine>.MiniRoutines.xml

This file is saved in the folder in which the measurement routine resides. When you open the measurement routine, the data in the .xml file will display in the Mini Routines dialog box.

If you send the measurement routine to another machine, you must include the <name of measurement routine>.MiniRoutines.xml file in order to see the mini routines on the other machine.

Executing a Mini Routine or Sub Mini Routine

  1. Click on the icon for the mini routine or sub mini routine to select it.

  2. If you want to measure the mini routine with alignment dependencies, select the With Alignment Dependencies check box. To measure them without alignment dependencies, clear the check box.

The availability of the With Alignment Dependencies check box depends on the setting for the MiniRoutineWithAlignDependencyEnabled registry entry in the Settings Editor application. If the registry entry is enabled, the With Alignment Dependencies check box is available. If the registry entry is disabled, the check box is dimmed and unavailable to prevent unauthorized or unintentional use.

"Alignment dependencies" means that the features required for creating an alignment of the selected items will be marked and measured. For example:

  1. To mark manual alignment features for measurement, click Mark Manual Alignment Features.

  2. To mark the features and dimensions that will be measured, select the desired mini routine or sub mini routine and click Show Marked. The features and dimensions will be marked in the Edit window.

  3. Select ClearanceCube or FBM in the Mode list. For descriptions, see "Modes".

  1. Click Execute. PC-DMIS closes the Mini Routines dialog box and displays the Execution dialog box.

Example of Creating Mini Routines and Sub Mini Routines

This example creates mini routines and sub mini routines for a part. The part is manufactured in two operations: Operation 10 and Operation 20. Operation 10 manufactures the part in Station 1 and Station 2. This example assumes that a measurement routine has been created to measure the entire part.

  1. In the Mini Routine pane, find the items to measure in the measurement routine.

  2. Create the mini routines and sub mini routines:

  1. Click New Mini Routine. MiniRoutine1 appears.

  2. Click New Mini Routine again. MiniRoutine2 appears.

  3. Rename MiniRoutine1 to Op10, and MiniRoutine2 to Op20.

  4. Select Op10 and then click New Sub Mini Routine. Op101 appears.

  5. Select Op10 again and then click New Sub Mini Routine. Op102 appears.

  6. Rename Op101 to Station 1, and Op102 to Station 2.

  1. In the Dimension pane, select the items to measure.

  2. Move the selected items to the Station 1 and Station 2 sub mini routines, and the Op20 mini routine. For example:

Example of mini routines and sub mini routines

Station 1 has the dimensions of the features manufactured by Station 1. Station 2 has the dimensions of the features manufactured by Station 2.

Click Close. PC-DMIS saves the data as an .xml file in the folder in which the measurement routine resides.

Example of Executing Mini Routines and Sub Mini Routines

  1. To execute the Op10 mini routine, select it and then click Execute. It will measure the dimensions of the features manufactured in Operation 10.

  2. To execute the Op20 mini routine, select it and then click Execute. It will measure the dimensions of the features manufactured in Operation 20.