ProSoft Technology AN-X-MOD User Manual

Page 33

Advertising
background image

AN-X-MOD (Master) Page

29

Drop Error Table

The drop error table consists of 2 16-bit words, one bit per drop. Bit 0 of
the first word corresponds to drop 1, bit 1 corresponds to drop 2, and so
on.

If a configured drop is in error, the bit is 1. If a configured drop is
responding correctly, the bit is 0. The bit is 0 for an unconfigured drop.

To map the drop error table, include a line with the keyword DropErr.

Examples:

, DropErr

10, DropErr ; offset 10

TIP

Map the drop error table to the first two words of input data of each
connection. If the connection to the AN-X module is lost, the
ControlLogix sets the first 2 words of the connection to FFFF
hexadecimal. If your program is monitoring the drop error table, it will
see all the error bits set.

Module Health Bits

Each Modicon drop returns 5 words of module health data. Each word
corresponds to a rack – the first word corresponds to rack 1, the second
corresponds to rack 2, and so on. Bits in the word correspond to a slot.
The bit is 1 for a correctly functioning module and 0 otherwise.

To map the health bits for a given drop, include a line with the keyword
ModnHlth, where n is the drop number, from 1 to 32, in the input section
of a connection.

Example:

, Mod2Hlth

20, Mod2Hlth ; offset 20

Note: the module health bits do not update if the drop is offline or if the
connection to the AN-X module is lost.

Quantum Module Status Data

Quantum modules each return a byte of module status data. Refer to the
documentation for each module for details on what the module status
contains for a specific module.

There are 8 words of module status data for each drop. The status byte
for slot 1 is found in the low byte of the first word, the status byte for slot
1 is found in the high byte of the first word, and so on.

Advertising