Example read (only) program, Bć16 – Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 238

Advertising
background image

ASCII Module

For PLCĆ3 Processor

Appendix B

B-16

I/O Adapter Status, Status file 2, S2:0

This file records I/O faults occuring in each I/O chassis in your
system. It identifies the location by rack number to within a
quarter I/O rack (32 I/O points or four module slots). The file
length is application dependent: one word for assigned rack
numbers 0-3, two words for 0-7, three words for 0-11 and so forth.
Each displayed bit represents a fault detected within the quarter
rack. The display format is:

Bit Number

17 Ć 13

12 Ć 10

07 Ć 04

03 Ć 00

rack 3

rack 7

:

rack 2

rack 6

:

rack 1

rack 5

:

rack 0

rack 4

:

For example, bit 00 indicates a fault at rack 0, first quarter chassis; bit
01 at rack 0, second quarter chassis, and so forth.

Adapter Re-try, Status file, 3, S3:0

This file counts the number of transmissions attempted between the
scanner and each I/O chassis in the system. The file records the
re-tries occurring in each quarter rack. Frequent re-tries indicate I/O
communication problems. The file length is application dependent,
four words per assigned rack number. The display format is:

Bit Number

Word

Rack

17 Ć 13 12 Ć 10 07 Ć 04 03 Ć 00

0000

0001

0002

0003

0004

0005

:

0

0

0

0

1

1

:

binary count, first quarter rack

binary count, second quarterĆrack

binary count, third quarterĆrack

binary count, fourth quarterĆrack

binary count, first quarterĆrack

binary count, second quarterĆrack

:

A read (only) program for transferring data from your ASCII device
into the data table of your processor is presented with rung
descriptions in Figure A.18.

Example Read (Only) Program

Advertising