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 188

Advertising
background image

ASCII Module

PLC-2 Family Processors

Appendix A

AĆ20

Figure A.8

Example Read/Write 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

020

OFF 10

020

10

062

1.0

TON

PR 002

AC 000

062

15

020

OFF 10

U

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)

200

15

252

15

035

00

252

200

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

read data available

020

01

252

16

200

ON 16

L

020

252

200

ON 16

U

01

16

112

16

020

00

020

01

020

01

020

00

L

112

16

020

00

U

One-shot for Write BT

035

00

252

15

200

ON 15

L

035

252

200

ON 15

U

00

15

SW1-CW1 Read Handshake

15

15

L

SW1-CW1 Write Handshake

Advertising