The Insert | Flow Control Command | On Error option opens the On Error dialog box:
On Error dialog box
You can tell PC-DMIS to skip commands that generate certain laser sensor-related errors during execution by using the On Error command. The command only applies to the default Asynchronous Execution mode.
The information in this topic is specific to laser configurations. For more information on this dialog box and how it applies to tactile probes, see "Branching on an Error" in the "Branching by Using Flow Control" chapter in the PC-DMIS Core documentation.
Error type - PC-DMIS Laser tracks these error conditions:
Laser error
Temperature out of threshold - The Temperature Compensation command in the measurement routine raises this error if one or more of the temperatures for the X axis, Y axis, or Z axis scale or part are above the upper threshold limit or below the lower threshold limit that the Temperature Compensation command defines. For more information, see "Branching on an Error" in the "Branching by Using Flow Control" chapter in the PC-DMIS Core documentation.
The On Error command must be placed above the Temperature Compensation command in the measurement routine.
Error mode - PC-DMIS can take these possible actions depending on the error type:
Off - If PC-DMIS encounters an error in this mode, execution stops completely, instead of skipping the command.
GoTo label - The measurement routine flow moves to a defined label (see "Using Labels" in the "Branching by Using Flow Control" chapter in the PC-DMIS Core documentation). These options become available:
Label ID - In this box, type a reference to a label that doesn't exist yet.
Current labels - Lists all the labels in the measurement routine.
Set variable - Sets a variable's value to one.
Skip command - The execution continues, and PC-DMIS skips commands if they generate any of the following errors:
No laser stripes found for feature execution
No scan data
Feature calculation error
If PC-DMIS encounters any other laser errors, it stops execution and ignores the On Error command.
The command has the following syntax in the Edit window in Command mode:
ONERROR/LASER_ERROR,TOG1
TOG1 = This switches between SKIP or OFF.