Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual

Page 270

Advertising
background image

Quick Reference

Appendix C

CĆ14

Table C.M

Jump/Subroutine Instructions

Key Symbol

Instruction Name

1770-T3 Display

Explanation and Rung Conditions

SBR

T.END

Subroutine Area

SUBROUTINE

AREA

Establishes the boundary between main program and

subroutine area. Subroutine area is not scanned unless

directed to do so by a JSR instruction.

-(LBL)-

Label

XX

-(LBL)-

This condition instruction is the target destination for JUMP

and JSR instructions.
XX-two digit octal identification number, 00-07

-(JMP)-

Jump

XX

-(JMP)-

When rung is true, processor jumps forward to the referenced

label in main program.
XX-two digit octal identification number. Same as LBL with

which it is used.

-(JSR)-

Jump To Subroutine

XX

-(JSR)-

When the rung is true, processor jumps to referenced label in

subroutine area.
XX-two digit octal identification number. Same as LBL with

witch it is used.

-(RET)-

Return

-(RET)-

No identification number. Can be used unconditionally .

Returns the processor to the instruction immediately following

the JSR in the main program that initiated the jump

to subroutine.

Advertising