
Define a function block diagram routine Chapter 9
Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 173
Text box attributes
L5X Item L5K Item Identifies
ID ID The element identifier; uniqueness is important for wiring.
Type an unsigned, 32-bit integer value.
X X X-coordinates on internal grid.
Type an unsigned, 32-bit integer value.
Y Y Y-coordinates on internal grid.
Type an unsigned, 32-bit integer value.
Width Width This attribute is not currently used; it is there for future use.
Type 0.
Text Text The descriptive text.
Text box guidelines
Use these guidelines for text boxes:
• All text box blocks must come after all block sections.
• Text boxes can be free-standing or they can be attached to FBD elements.
The attachment blocks identify the attachments from text boxes to other function
block elements.
L5X attachment structure
<Attachment [Attachment_Attributes]/>
L5K ATTACHMENT structure
ATTACHMENT (Attachment_Attributes)
END_ATTACHMENT
Attachment attributes
L5X Item L5K Item Identifies
FromID FromElementID The ID of the attached 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.
Attachments