Ascii module plc-2 family processors appendix a – Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 210

Advertising
background image

ASCII Module

PLC-2 Family Processors

Appendix A

AĆ42

Figure A.18

Example Read (Only) Program

I0001

00

WO005:0000

00

MOV
MOVE FROM A TO R
A : WO0001:0000
0000000000000000
R : WO0002:0000
0000000000000000

RUNG NUMBER RM0

Load zeros into command word 1 with

selector switch or on first scan

RUNG NUMBER RM1

WO003:0000

07

WO002:0000

07

Power-up/reset power-up initialization bit

WO003:0000

15

WO002:0000

15

WO003:0000

15

WO002:0000

15

WO005:0000

02

RUNG NUMBER RM2

Status word 1 - Command word 1
read data available

WO002:0000

15

WO005:0000

02

RUNG NUMBER RM3

WO003:0000

15

L

WO002:0000

15

WO005:0000

02

RUNG NUMBER RM4

WO003:0000

15

U

Status word 1 - Command word 1
read handshake

Status word 1 - Command word 1
Read handshake

WO003:0000

07

S0003

01

WO005:0000

01

L

RUNG NUMBER RM5

WO005:0000

RUNG NUMBER RM6

TON

TIMER ON

1.0 SECOND

TP =

TA =

T0001

2

0

T0001

17

TE

T0001

15

TD

01

Energize at power-up to load initialization words. Also energized on
on 1st scan after processor selection of run monitor mode

Energize timer on power-up

Advertising