Outputs Words; Input Status Word - AB Quality Allen-Bradley 1771-IJ User Manual

Encoder/counter modules
Table of Contents

Advertisement

4–2
Module/Processor Communication

Outputs Words

Input Status Word

Publication 1771 UM006B-EN-P - June 2002
The program controls encoder/counter module operation through the
output words. These words function as follows:
Control word – the control word, as its name implies, instructs the
module on its operation and on control of its own outputs. By
setting specific control word bits, you set up the module's initial
mode of operation and can subsequently alter module operation
as the application requires.
Preset words #1 and #2 – the optional preset words are values that
can be used for comparison by the module. When these words
are used, the module controls its own output based on comparison
between its accumulated count preset values. You can use these
words to direct module control of its own output terminals,
independent of the timing of the processor I/O and program
scans.
Stored in the data table, these output words are sent to the module as
controlled by the program. The storage and transmission of these
words to the module differ depending on whether single transfer or
block transfer programming is used. In addition, the bit–by–bit
significance of these words is dependent on the data transfer method
used. For this reason, specific information on the storage and
composition of these words is given separately in the following
chapters which describe each programming method.
The input status word is the single input word received from the
encoder/counter module. This word has the same format for both
block and single transfer programming. The input status word has
the format of Figure 4.2.
Figure 4.2
Input Status Word - Single Transfer and Block Transfer
Bit 17, home bit
Set to 1 when:
Marker input high
and
limit switch input TRUE
and
Home latch enable bit is
set ON in control word
Bit 16, carry bit
Bit 15, borrow bit
Bit 14, diagnostic bit
1 = module fault detected
0 = normal operation
1
Module switch selection dtermines whether bits 00 13 are of binary or BCD format
17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00
Most
Significant
BCD Digit
(0-9)
1
or, 12-bit binary value
Module
Accumulated
Count
Middle
Least
BCD Digit
Significant
(0-9)
BCD Digit
1
(0-9)
1
1
15951

Advertisement

Table of Contents
loading

This manual is also suitable for:

Allen-bradley 1771-ik

Table of Contents