17
Chapter 2
Counter 0 Function Block
Figure 2.7: Counter 0 Function Block
Counter 1 Function Block
Figure 2.8: Counter 1 Function Block
DI4
CTR0Gate
CTR0GateSet
Gate
Out
Counter 0
CLK
CTR0OutSet
DO6
CTR0OUT
DI6
CTR0CLKSet
100KHz
10KHz
1KHz
100Hz
S1 S0
CTR0CLKSet=0
CTR0CLKSet=1
CTR0GateSet=0
CTR0GateSet=1
CTR0OutSet=0
Disable
CTR0OutSet=1
Output to DO6
CTR0IntSet
CTR0F
CTR0OutSet=0
Diable Interrupt
CTR0OutSet=1
Enable Interrupt
Interrupt Circuit
DI5
CTR1Gate
CTR1GateSet
Gate
Out
Counter 1
CLK
CTR1OutSet
DO7
CTR1OUT
DI7
CTR1CLKSet
100KHz
10KHz
1KHz
100Hz
S1 S0
CTR1CLKSet=0
CTR1CLKSet=1
CTR1GateSet=0
CTR1GateSet=1
CTR1OutSet=0
Disable
CTR1OutSet=1
Output to DO6
CTR1IntSet
CTR1F
CTR1OutSet=0
Diable Interrupt
CTR1OutSet=1
Enable Interrupt
Interrupt Circuit