Configure the initial command
- Last UpdatedJan 16, 2025
- 2 minute read
You can control the way the step program is run after any of the following:
-
the Sequencer object is deployed
-
the attribute ExecutionStateCmd is set to Reset
-
the attribute PrgSeqConfigCmd is set to Load and completes successfully
-
the attribute PrgSeqConfigCmd is set to Upload and completes successfully
After deployment, resetting, loading or uploading, Sequencer can either
-
run the program: Start
-
not run the program: Stop
-
run the program in RunningSingleStep mode: Single Step
-
start the program but initially hold processing: Hold
Note: At run time, the Program flow can be stopped and controlled in other ways. For more information, see Set initial and final steps.
The Initial Command can be set on the Settings panel.

To configure the Step Program to start immediately after deployment, PrgSeqConfigCmd is set to Load or Unload and it is completed successfully or ExecutionStateCmd = Reset.
-
Select the Settings tab. The Settings panel appears.
-
From the Initial Command list, select Start.
To configure the Step Program to not start immediately after deployment, PrgSeqConfigCmd is set to Load or Unload and it is completed successfully or ExecutionStateCmd = Reset.
-
Select the Settings tab. The Settings panel appears.
-
From the Initial Command list, select Stop.
To configure the Step Program to run one step at a time after deployment, PrgSeqConfigCmd is set to Load or Unload and it is completed successfully or ExecutionStateCmd = Reset.
-
Select the Settings tab. The Settings panel appears.
-
From the Initial Command list, select SingleStep.
To configure the Step Program to hold step processing after deployment, PrgSeqConfigCmd is set to Load or Unload and it is completed successfully or ExecutionStateCmd = Reset.
-
Select the Settings tab. The Settings panel appears.
-
From the Initial Command list, select Hold.
Note: The Initial Command can be changed at run time by setting the PrgInitialCommand attribute.