Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

Hold program execution

  • Last UpdatedJul 20, 2024
  • 1 minute read

To hold program execution write Hold to the attribute ExecutionStateCmd.

You can hold program execution if the current program execution state is one of the following;

  • Running

  • RunningSingleStep

  • SingleStepTransitionReady

  • Stopped

  • StoppedError.

    If the command completes successfully the Execution State (attribute ExecutionState) changes to RunningHeld.

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
Target state timer
Target step

Execute OnExit

Execute OnEntry

Running

State: Running -> RunningHeld
Timer: Freeze at current value
Step: Current (or next step body)

OnExit: NO. (Yes, if target step is Next Step body)
OnEntry: NO. (Yes, if target step is Next Step body)

RunningSingleStep

State: Running -> RunningHeld
Timer: Freeze at current value
Step: Current (or next step body)

OnExit: NO. (Yes, if target step is Next Step body)
OnEntry: NO. (Yes, if target step is Next Step body)

SingleStepTransitionReady

State:Running -> RunningHeld
Timer: Restart and freeze when reaching RunningHeld
Step: Next step

OnExit: No
OnEntry: Yes

Stopped

State: Running -> RunningHeld
Timer: Restart and freeze when reaching RunningHeld
Step: Current

OnExit: No
OnEntry: Yes

StoppedError

State: Running -> RunningHeld
Timer: Restart and freeze when reaching RunningHeld
Step: Current

OnExit: No
OnEntry: Yes

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.

TitleResults for “How to create a CRG?”Also Available in