Set initial command at run time
- Last UpdatedJul 20, 2024
- 1 minute read
You can set the Initial Command at run time by writing the initial command to the attribute PrgInitialCommand. When the execution state is reset, Sequencer continues processing at the Initial Step, or first step if no Initial Step is defined, and changes its execution state to the value of the attribute PrgInitialCommand.
To set the Initial Command at run time
-
Write the execution state that Sequencer should go to when it is reset ("Start", "Stop", "Hold", "SingleStep") to the attribute PrgInitialCommand.
For more information on these attributes, see Sequencer object help