Optional Configurations
5-14
High Speed Counter Encoder Module User Manual
24-Bit Counter Software Setup Options (continued)
T
able 5-5
and T
able 5-6 show that the MSByte of WY23 programs the preset
compare functions of the 24-bit counter
. The LSByte of WY23 and all of
WY24, shown shaded in the table, contain the 24-bit integer preset 2 value.
T
able 5-5 Channel 1, 24-Bit Counter: Pr
eset 2
Word MSByte LSByte
WY23 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
WY24 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
T
able 5-6 Channel 1, 24-Bit Counter: WY23 Pr
ogramming Bit V
alues
Bit Position Description
01 02 03 04 05 06 07 08
1 Current count updates on an INDEX or PERIOD
0 0 0 0 0 0 0 PLC controls Output 2
1 0 0 0 0 0 0 When Counter 1 value > Preset 2, set Output 2
0 1 0 0 0 0 0 When Counter 1 value < Preset 2, set Output 2
0 1 1 0 0 0 0
When Counter 1 value ≥ Preset 1 and
≤ Preset 2, set Output 2
0 0 1 0 When Counter 1 = Preset 2, set Output 2
0 0 0 1 When Counter 1 = Preset 2, toggle Output 2
1 0 When Counter 1 = Preset 2, clear Counter 1
0 1 When Counter 1 = Preset 2, reload Counter 1 with Preset 1
1 When Counter 1 = Preset 2, clear Output 1 latch