Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 349

Advertising
background image

Selectable Timed Interrupt

Chapter 22

22-2

Figure 22.1

Sample Program Rungs

027

02

RTO

047

.01

110

01

047

15

PR 100

AC 000

L

010

07

CTU

057

PR 999

AC 000

110

00

RTO

047

PR 100

AC 000

110

00

CTR

057

PR 999

AC 000

110

00

U

027

02

1

2

3

4

5

6

User

Program

Sample Program

RUNG 1

RUNG 2

RUNG 3

RUNG 4

RUNG 5

RUNG 6

110

001

G

047 010

15

00

110

01

00

010

CTU

057

PR 999

AC 000

RUNG 8

RUNG 7

110

01

047

15

CTU

057

PR 999

AC 000

RET

RUNG 10

RUNG 9

7

8

9

10

Selectable

Timed

Interrupt

Subroutine

Subroutine Area

ATTENTION: The Get instruction in the above example
causes the subroutine to be scanned and the output to come on.

Advertising