beautypg.com

Rockwell Automation 1771-IE,D17716.5.7 ANAL.INPUT MOD. User Manual

Page 40

background image

Single Channel Transfer for PLC Processor

Appendix B

BĆ3

Figure B.1

Example Program for the PLC Processor

Rung

No.

02200

11111

CTU

200

PR 007

AC 000

20017

L

11111

/

20017

200

G

000

365

=

005

110

G

000

PUT

250

000

200

G

000

365

=

005

L

01007

200

G

000

367

=

007

L

37710

200

G

000

PUT

251

000

25100

25010

25101

25011

25102

25012

25103

25013

25104

25014

25105

25015

25106

25016

25107

25017

25017 25016 25015 25014

250

G

000

360

=

000

02002

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

Scan counter

Store low byte

Latch high byte

select
Begin

condiional

ignore zone

Store high byte

Reconstruct

channel

upper byte

bit-by-bit

Fault

diagnostic rung