Resume program execution
- Last UpdatedJul 20, 2024
- 1 minute read
To resume program execution write Resume to the attribute ExecutionStateCmd.
You can resume program execution only if the current program execution state is RunningHeld. If the command completes successfully the Execution State (attribute ExecutionState) changes to the same state as before the hold command was written.
Note: If the execution state was Stopped (or StoppedError) before holding program execution, resuming program execution puts the execution state back in Stopped (or StoppedError) state again, and not Running state. Resuming always puts the Sequencer Object into the state it was before its execution was held.
The following table shows you how the target state and target state timer change depending on the current execution state. It also shows you whether the On Exit and On Entry values are written:
|
Current State |
Target state |
Execute OnExit Execute OnEntry |
|---|---|---|
|
RunningHeld |
State: State before Hold command |
OnExit: No |
For a detailed overview of the execution state attribute and its properties, see Sequencer object help.
For a detailed overview of the state transition and information on quality, timers and target steps that are effected by this execution command, see Sequencer state transition tables.