Ać12 – Rockwell Automation 1772-LV Mini-PLC - 2/15 Programmable Controller (Series B) Programming and Operations User Manual

Page 181

Advertising
background image

Quick Reference Section

Appendix A

AĆ12

Table A.I

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 JMP and

JSR instructions.

-(JMP)-

Jump

XX

-(JMP)-

XX - two digit octal identificatio nmber, 00-07.

-( JSR )-

Jump To Subroutine

XX

-( JSR )-

When rung is true, processor jumps to referenced label in

subroutine area.

Same as LBL with which 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