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 184

Advertising
background image

ASCII Module

PLC-2 Family Processors

Appendix A

AĆ16

Figure A.6

Example Read (Only) Program

112

17

G

327

000

PUT

200

000

START

Loads zeros into command word one (CW1)

with switch, or first program scan

LADDER DIAGRAM DUMP

020

02

252

07

200

07

252

07

200

OFF 10

020

10

062

1.0

TON

PR 002

AC 000

062

15

020

OFF 10

U

200

15

252

15

035

00

252

15

200

15

035

00

252

15

200

ON 15

L

035

252

200

ON 15

U

00

15

SW1

SW1

Power-up initialization bit, reset

Energize on power-up to load initialization

power-up initialization bit CW1

words into write BT file

Energize timer on power-up

De-energize after time-out

(Initialization words sent)

Status word one (SW1) - Command Word one (CW1)

SW1-CW1 Read Handshake

read data available

EN

BLOCK XFER READ

DATA ADDR:
MODULE ADDR:
BLOCK LENGTH:
FILE:

050
371

14

252 - 267

DN

037

17

137

17

EN

BLOCK XFER WRITE

DATA ADDR:
MODULE ADDR:
BLOCK LENGTH:
FILE:

051
371

14

200 - 215

DN

037

16

137

16

Read SW1, SW2 and data (bar codes)

Write CW1, CW2 and
initialization words

L

Advertising