SFC elements step and transition

Step symbol: SFC elements step and transition 1:, Transition symbol: SFC elements step and transition 2:

TwinCAT always inserts steps and transitions as a combination. Inserting a step without a transition or a transition without a step results in a compile error. You can change the name by double-clicking on it.

SFC elements step and transition 3:
SFC elements step and transition 4:

Step names must be unique within the scope of the "father" function block. Keep this in mind when using actions that are also programmed in SFC.

Note that you can make a step an initial step with the Init step command or by setting the corresponding property in the SFC element Properties.

Each step is defined by the step properties, which you can view and edit depending on the options set in the Properties view.

You must add actions that you want to execute when the step is active. There are "IEC actions" and "Step actions“. For details, refer to the Action section for the SFC element.

SFC elements step and transition 5:

It is the user's responsibility to assign the desired expression to a transition variable if the transition contains multiple instructions.

Transitions consisting of a transition or property object are indicated by a small triangle in the upper right corner of the transition rectangle.

See also: