Example read/write program, Ać19, 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 187

Advertising
background image

ASCII Module

PLC-2 Family Processors

Appendix A

AĆ19

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

Write CW1, CW2,
initialization words, and data

112

17

EN

COUNTER ADDR:

POSITION:

FILE LENGTH:

FILE A :

FILE R :

001

004

570 - 573

202 - 205

DN

FILE TO FILE MOVE

RATE PER SCAN 004

061

061

17

061

15

020

10

Load initialization words,

via switch or on power-up

112

17

020

10

200

17

CW1 initialization bit (module to expect

initialization words), via switch or on power-up

020

02

Initialization: Turns off rung 1 except for
first scan at power-up or via switch

END

A read/write program that you can use to transfer data to and/or from your
ASCII device is presented with rung descriptions (Figure A.8).

Example Read/Write Program

Advertising