Chapter
7
Publication 1771ĆUM006B-EN-P - June 2002
Special Programming
The input Status word stores a maximum count of 999 (BCD). If
using binary resolution, the maximum count is 1111 1111 1111 (4095
binary). To count beyond these full scale values, you may want to
use either of the following ladder programs for PLC–2 or PLC–3
family processors.
Both programs (Figure 7.1 and Figure 7.2) extend the count beyond
999 (4095 binary) in the same manner. Either program compares the
new count value with the value in the previous scan (old value). If
the difference of the new value less the old value is greater than a
constant (a constant less than 999/2 or 4095/2), the count passed
through zero. If the sign of the difference is negative, the up counter
is incremented by one; if positive the down counter is decremented
by one.
Extending the Count
Beyond 999
Summary of Contents for Allen-Bradley 1771-IJ
Page 1: ...User Manual Encoder Counter Modules Cat Nos 1771 IJ and 1771 IK Allen Bradley...
Page 6: ...Using This Manual P 4 Publication 1771 UM006B EN P June 2002...
Page 26: ...3 6 Installation Publication 1771 UM006B EN P June 2002...
Page 30: ...4 4 Module Processor Communication Publication 1771 UM006B EN P June 2002...
Page 44: ...5 14 Single Transfer Programming Publication 1771 UM006B EN P June 2002...
Page 62: ...Specifications A 4 Publication 1794 UM006B EN P June 2002...