SFC Element Properties
You edit the properties of an SFC element in the Properties view. You use the command to open this view. The properties which are displayed depend on the currently selected element.
Note
The properties which are displayed next to the element in the SFC chart depend on the settings on the View tab of the SFC editor options.
Common
Property | Description of value |
|---|---|
Name | Element name By default, the pattern is <element><consecutive number> Example of step name: Example of branch name: |
Comment | Element comment (text) Example: Resetting a counter You can insert line breaks by pressing Ctrl+Enter. |
Symbol | An implicit variable with the same name is created for each SFC element. This is where you configure whether this flag variable will be exported to the symbol configuration and which access rights will apply to the symbol in the controller:
|
Specific
Property | Description of value |
|---|---|
Initial step |
Note: If you have enabled this property for another step, then it must be disabled for the step that previously had the property in order to avoid compile errors. |
Duplicate on copy | This option is available for steps which contain a step action (entry action, main action, or exit action) as well as for transitions that are linked to a transition object.
|
. Times
| Minimum time during which the step is active, even when the subsequent transition is Maximum time that the step can be active If this time is exceeded, then CODESYS sets the Times according to IEC syntax – for example Default: |
Note: Pay attention to the processing order. | |
Main action | The main action is executed while the step is active, after the optional entry action has been executed. |
Entry action | The entry action is executed before the main action is carried out, provided that the step is active. |
Exit action | When the step is deactivated, this action is executed in the next cycle. |
Tip
You can use the corresponding implicit SFC variables and flags to get information about the status of a step or action, or about timeouts.
For more information, see the following: Processing Order

