454 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 11 Program Control Instructions (JMP, LBL, JSR, RET, SBR, JXR, TND, MCR, UID, UIE, AFI, NOP, EOT, SFP, SFR, EVENT)
Function Block
The operands are the same as those for the relay ladder JSR instruction.
SBR Operands: The SBR instruction must be the first instruction in a relay ladder or structured
text routine.
Relay Ladder
Structured Text
The operands are the same as those for the relay ladder SBR instruction.
Function Block
ATTENTION: For each parameter in a SBR or RET instruction, use
the same data type (including any array dimensions) as the
corresponding parameter in the JSR instruction. Using different
data types may produce unexpected results.
Input Parameters Return Parameters
❇ ❇
Operand Type Format Description
Input
parameter
BOOL
SINT
INT
DINT
REAL
Structure
Tag
Array tag
Tag in this routine into which you want to copy the
corresponding input parameter from the JSR
instruction