2 2
UNO-2050 User's Manual
Counter gate source
The gate sources you select determine what kind of gate input signal
to enable your counter/timer when receiving clock input. There are two
gate sources available for the user counters by setting gate source
control bits - CTR0GateSet and CTR1GateSet.
Table 2-12 Counter gate source control bit
Counter output destination
You can choose the output destination of counter 0 and counter 1 by
setting “Output Destination control bits” - CTR0OutSet and TR1OutSet.
Table 2-13 Counter output destination
Gate Source control bit
CTR0GateSet
0
Gate source from “CTR0Gate” control bit (Default)
1
Gate source from digital input 4 (DI4) channel
CTR1GateSet
0
Gate source from “CTR1Gate” control bit (Default)
1
Gate source from digital input 5 (DI5) channel
Output Destination control bit
CTR0OutSet
0
Output destination to “CTR0Out” status bit (Default)
1
Output destination to “CTR0Out” status bit and digital
output 6 (DO6) channel
CTR1OutSet
0
Gate destination to “CTR1Out” status bit. (Default)
1
Output destination to “CTR1Out” status bit and digital
output 7 (DO7) channel