
Define a function block diagram routine Chapter 9
Rockwell Automation Publication 1756-RM084S-EN-P - March 2015 169
L5K JSR structure
JSR (JSR_Attributes)
END_JSR
JSR 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 JSR routine name.
In In Specify the input parameters.
In an .L5X file, separate input parameter names with spaces.
In an .L5K file, separate input parameter names with commas.
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.
JSR 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 SBR structure
<SBR [SBR_Attributes]>
</SBR>
L5K SBR structure
SBR (SBR_Attributes)
END_SBR
SBR