Halt program execution on error
- Last UpdatedJan 16, 2025
- 1 minute read
The step program can be configured to report an alarm when either an Output Error or a Condition Error occurs. You can configure the Sequencer object to either continue executing or to halt program execution when such errors occur.
Note: After an error occurs and the step program is configured to "Halt Program Execution on Error", the program execution is in StoppedError state. You must reset Sequencer or set the ExecutionStateCmd = Reset to start processing again.
You can configure the Program Halting on the Settings panel.

To halt program execution on Condition Error:
-
Select the Settings tab. The Settings panel appears.
-
In the Settings area, select the check box Halt On Condition Error.
To halt program execution on Output Error:
-
Select the Settings tab. The Settings panel appears.
-
In the Settings area, select the check box Halt on Output Error.
To ignore Condition Errors and Output Errors:
-
Select the Settings tab. The Settings panel appears.
-
In the Settings area, clear the check boxes Halt On Condition Error and Halt on Output Error.