Lock the step program
- Last UpdatedJan 16, 2025
- 2 minute read
You can lock your step program so that
-
the step program cannot be edited in derived instances and templates.
-
changes are propagated from templates to instances.
-
users cannot change the step program configuration at run time.
The following settings are locked if the step program is locked:
-
Step Program Name
-
Initial Step Name
-
Final Step Name
-
Step Program Comment
-
Configuration of all steps
-
Output values of all steps
-
Importing Step Program
-
Clearing Step Program
-
Removing and renaming of Aliases that are used in the step program, even if the Alias configuration is not locked.
To lock the step program
-
Select the Step Program tab. The Step Program panel appears.
-
Select the Lock icon near the Step Program entry so that it is locked.
The step program for any derived templates or instances from the Sequencer object template are locked. Any attributes related to the step program cannot be changed.
To unlock the step program
-
Select the Step Program tab. The Step Program panel appears.
-
Select the Lock icon near the Step Program entry so that it is unlocked.

Note: When either the Step Program or the Alias configuration is locked, certain constraints apply. When the Step Program template is locked, an Alias referenced by the Step Program cannot be deleted or renamed and importing an Alias configuration that does not include all of the Aliases referenced by the Step Program will fail.
Caution: When the Step Program is locked, at run time, attempts to change it by the Selected.* attributes or the PrgSeqConfigCmd attribute are not allowed.