A SERVICE OF

logo

Chapter 9 Define a function block diagram routine
170 Rockwell Automation Publication 1756-RM084S-EN-P - March 2015
SBR 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.
Routine Routine Specify the SBR routine name.
Ret Ret Specify the return parameters.
In an .L5X file, separate return parameter names with spaces.
In an .L5K file, separate return parameter names with
commas.
SBR guidelines
The X and Y grid locations are a relative position from the upper-left corner of the
sheet. X is the horizontal position; Y is the vertical position.
L5X RET structure
<RET [RET_Attributes]>
</RET>
L5K RET structure
RET (RET_Attributes)
END_RET
RET 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.
RET