
Understanding Module Operation
3-10
High Speed Counter Encoder Module User Manual
3.5
Configuring Run Mode Setup Words
Table 3-9 shows that you can use WY19 and WY20 to choose specific counter
input or output options that are programmable when the module is in Run
Mode. These options can be selected only with bit WY20.01 cleared, which
puts the module in Run Mode.
Table 3-9
Bit Definitions for the Run Mode Setup Words
Word.Bit
Description of Bit Functions for RUN Mode
WY19.01
WY19.02
WY19.03
WY19.04
WY19.05
WY19.06
WY19.07
WY19.08
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.
Ch1, Counter 2: Reset Counter; count value is cleared to 0 when set. Reset and Go function.
Ch1, Counter 3: 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.
Ch2, Counter 5: Reset Counter; count value is cleared to 0 when set. Reset and Go function.
Ch2, Counter 6: Reset Counter; count value is cleared to 0 when set. Reset and Go function.
WY19.09
WY19.10
WY19.11
WY19.12
WY19.13
WY19.14
WY19.15
WY19.16
Force Output 8 ON
Force Output 7 ON
Force Output 6 ON
Force Output 5 ON
Force Output 4 ON
Force Output 3 ON
Force Output 2 ON
Force Output 1 ON
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.
WY20.09
WY20.10
WY20.11
WY20.12
WY20.13
WY20.14
WY20.15
WY20.16
Note Used in Run Mode
Reserved (0)
Reserved (0)
Reserved (0)
Reserved (0)
Reserved (0)
Reserved (0)
Reserved (0)
Reserved (0)
Setup Words:
Run Mode