Optional Configurations
5-15
High Speed Counter Encoder Module User Manual
T
able 5-8
and T
able 5-7 show that module setup words WY19 and WY20
program additional functions of the 24-bit counter
.
The module setup words have two modes: Run and Program. In Run mode,
the definitions in T
able 5-7 apply; in Program, the definitions in T
able 5-8
apply
. During Program mode, the counters are inhibited and the outputs are
off. After setting up the module in Program mode, set the module to Run
mode as described in Section 5.10.
T
able 5-7
Bit Definitions for the Run Mode Setup W
ords
Word.Bit Description of Bit Functions for RUN Mode
WY19.01
WY19.02
WY19.05
WY19.06
Ch1, Counter 1: Inhibit; counting pauses while set.
Ch1, Counter 1: Reset Counter; count value is cleared to 0 when set. Reset and Go function.
Ch2, Counter 4: Inhibit; counting pauses while set.
Ch2, Counter 4: Reset Counter; count value is cleared to 0 when set. Reset and Go function.
WY20.01
WY20.02
WY20.03
WY20.04
WY20.05
WY20.06
WY20.07
WY20.08
Program module counters
Update PRESET values
Latch holding registers; prevents Index or Period from updating values in Holding Registers.
Disable outputs
Enable interrupt
Clear interrupt latch
Clear Output 1 latch, set by Preset 1.
Clear Output 5 latch, set by Preset 5.
T
able 5-8
Bit
Definitions for the Pr
ogram Mode Setup W
ords
Word.Bit Description of Bit Functions for PROGRAM Mode
WY20.01
WY20.02
WY20.03
WY20.04
WY20.05
WY20.06
Program module counters
User 24 V power supply fault fails module
Read and hold counter values on Reset and power-up
Counters 1 & 4: double 16-bit (0) or 32-bit (1) signed integer format
Ch1, 24-bit Counter 1: unipolar (0) or bipolar (1) count format
Ch2, 24-bit Counter 4: unipolar (0) or bipolar (1) count format