Relay Ladder; Structured Text; Function Block - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Program Control Instructions (JMP, LBL, JSR, RET, SBR, JXR, TND, MCR, UID, UIE, AFI, NOP, EOT, SFP, SFR, EVENT)
RET Operands:
RET(ReturnPar);
Description:
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
The operands are the same as those for the relay ladder SBR instruction.

Relay Ladder

Operand
Type
Return
BOOL
parameter
SINT
INT
DINT
REAL
structure

Structured Text

The operands are the same as those for the relay ladder RET instruction.

Function Block

The operands are the same as those for the relay ladder RET instruction.
The JSR instruction initiates the execution of the specified routine, which is
referred to as a subroutine.
• The subroutine executes one time.
• After the subroutine executes, logic execution returns to the routine that
contains the JSR instruction.
Format
Description
Immediate
Data from this routine that you want to copy to the
corresponding return parameter in the JSR
Tag
instruction
Array tag
Parameters
Chapter 11
455

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents