
Define a sequential function chart routine Chapter 10
Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 195
The directed link blocks in an SFC routine identify the links between SFC
components.
L5X DirectedLink structure
<DirectedLink [DirectedLinkAttributes]/>
L5K DIRECTED_LINK structure
DIRECTED_LINK (Directed_Link_Attributes)
END_DIRECTED_LINK
Directed link attributes
L5X Item L5K Item Identifies
FromID FromElementID The ID of the object. Type an unsigned, 32-bit integer value.
ToID ToElementID The ID of the object that the FromID object is attached to. Type
an unsigned, 32-bit integer value.
Show ShowLink
Whether or not to show the link. Type TRUE or FALSE.
Directed link guidelines
Use these guidelines for directed links:
• All directed link blocks must come after all step, transition, stop, and branch
blocks.
• A directed link links only one element to one other element.
The text box blocks in an SFC routine hold descriptions about SFC components.
L5X TextBox structure
<TextBox [TextBoxAttributes]>
<![CDATA[ text ]] >
</TextBox>
L5K TEXTBOX structure
TEXT_BOX (Text_Box_Attributes,
Directed links
Text boxes