Using On Error Commands

On Error commands allow you to specify the actions taken for focus or edge detection errors. When errors are detected during measurement routine execution, the specified action is performed.

You must have the Vision option enabled on your portlock or LMS license for these error types to appear in the dialog box.

To use On Error commands:

  1. Open or create a measurement routine.

  2. Insert a Manual/DCC mode command and set it to DCC.

  3. Select the Insert | Flow Control Command | On Error menu item to insert an On Error command.

On Error dialog box

  1. In the Error Type list, select either Edge not detected or Focus not detected.

  2. In the Error Mode area, choose the action to perform:

For more information about the On Error functionality, see "Branching on an Error" in the "Branching by Using Flow Control" chapter in the PC-DMIS Core documentation.