
Chapter 10 Define a sequential function chart routine
194 Rockwell Automation Publication 1756-RM084S-EN-P - March 2015
The branch blocks in an SFC routine identify simultaneous or selection branches
in the routine.
L5X branch structure
<Branch [BranchAttributes]>
<Leg [LegAttributes]/>
</Branch>
L5K BRANCH structure
BRANCH (Branch_Attributes)
LEG (Leg_Attributes)
END_LEG
END_BRANCH
Branch attributes
L5X Item L5K Item Identifies
ID ID The branch identifier. This ID uniquely identifies this branch
from all other blocks. Type an unsigned, 32-bit integer value.
X X X-coordinate on internal grid. Type an unsigned, 32-bit integer
value.
Y Y Y-coordinate on internal grid. Type an unsigned, 32-bit integer
value.
BranchType BranchType
The type of branch. Type Simultaneous or Selection.
BranchFlow BranchFlow
The direction of the branch. Type Converge or Diverge.
Priority Priority Whether the priority of a divergent selection branch is defined
by the user. This attribute applies only to divergent selection
branches. Type Default or UserDefined.
Leg attributes
L5X Item L5K Item Identifies
ID ID The leg identifier. This ID uniquely identifies this leg from all
other blocks. Type an unsigned, 32-bit integer value.
Force Force Whether the leg is forced or not. You can force only a leg in a
simultaneous branch. Omit this attribute, for no forces, or type
false to force the leg false.
Branches