beautypg.com

Rockwell Automation 1772-LP3 PLC - 2/30 Programmable Controller Programming and Operations Manual User Manual

Page 203

background image

Jump Instructions and

Subroutine Programming

Chapter 11

11Ć2

Figure 11.1

JUMP Format

|ą|

( JMP )

XX

XX = Octal Identification Number

Figure 11.2

JUMP to LABEL Operation

(ą)

016

( JMP )

07

| / |

15

( TON )

200

200

|ą|

10

(ą)

117

016

LBL

(ą)

07

015

| / |

15

( TON )

200

200

0.1

PR 999

AC 000

13

|ą|

10

117

| / |

11

117

01

|ą|

13

117

02

0.1

PR 999

AC 000

|ą|

17

117

Whenąąąąis true,

program execution

jumps to label 07.

-|ą|-

13

117

Reprogram rungs that

require updates when

jump is active (rung 3

is reprogrammed).

Jumped sections of programs

are not scanned.

A Jump instruction can be programmed anywhere within the main
program, or within the subroutine area. However, a Jump instruction may
not be programmed to cross the boundary between the main program and
subroutine area or to jump backwards in memory.