Ascii module for plcć3 processor appendix b – Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 250

Advertising
background image

ASCII Module

For PLCĆ3 Processor

Appendix B

B-28

RUNG NUMBER RM18

EQU A = B

A : WO000:0254

0100011101001111

B : WO000:0400

0100011101001111

WO005:0000

03

B0020

15

B0020

RUNG NUMBER RM19

TON

TIMER ON

1.0 SECOND

TP =

TA =

T0002

5

0

T0002

17

TE

T0002

15

TD

15

Timer starts its 5-second write block transfer one-shot

MODE = ALL/SCAN

13

ER

MVF

FILES FROM A TO R

A : FO000:0600

R : FO000:0202
COUNTER : C0003
POS/LEN = 0/ 14

C0003

12

EN

C0003

15

DN

C0003

EQU A = B

A : WTACC:0002

0

B : WN000:0001

1

MODE = ALL/SCAN

13

ER

MVF

FILES FROM A TO R

A : FO000:0700

R : FO000:0202
COUNTER : C0004
POS/LEN = 0/ 14

C0004

12

EN

C0004

15

DN

C0004

RUNG NUMBER RM20

RUNG NUMBER RM21

RUNG NUMBER RM22

B0020

16

Keyboard entry GO and valid data test

start the write block transfer routine

to display message files 1 and 2

Moves first message file into

write block transfer file when timer

accumulated value is 1 second

routine

EQU A = B

A : WTACC:0002

0

B : WN000:0002

2

EQU A = B

A : WTACC:0002

0

B : WN000:0004

4

EQU A = B

A : WTACC:0002

0

B : WN000:0003

3

Initiates a write to the peripheral device when the timer

accumulated value is 2 seconds (message file 1) and

4 seconds (message file 2)

Moves second message file

into write block transfer file

when the timer accumulated

value is 3 seconds

L

Advertising