Initiate single step mode
- Last UpdatedJul 20, 2024
- 1 minute read
To initiate the program in Single Step mode write SingleStep to the attribute ExecutionStateCmd.
You can run the program in Single Step mode if the current program execution state is one of the following;
-
Running
-
RunningHeld
-
Stopped
-
StoppedError
If the command completes successfully the Execution State (attribute ExecutionState) changes to RunningSingleStep.
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 |
|---|---|---|
|
Running |
State: RunningSingleStep |
OnExit: No |
|
RunningHeld |
State: RunningSingleStep |
OnExit: No |
|
Stopped |
State: RunningSingleStep |
OnExit: No |
|
StoppedError |
State: RunningSingleStep |
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.