Chapter 7 High-speed Counter Module AH02HC/AH04HC
7-27
1
2
3
*
1
*
*
*
Bit 0 in CR19/CR47/CR75/CR103
Comparison value
Bi t 0 i n C R0 /CR2 8/C R5 6/ CR 84
Number of sampled pulses
Number of accumulated pulses
Bit 3 in CR19/CR47/CR75/CR103
Bit 3 in CR0/CR28/CR56/CR84
OFF
OFF
OFF
OFF
ON
ON
ON
ON
1200
0
1100+203>1200
203686
686
1303
0+686
*1: If bit 0 in CR0/CR28/CR56/CR84 is turned ON, bit 0 in CR19/CR47/CR75/CR103 will be
turned ON, and the system will start the count.
*2: If the number of accumulated pulses is larger than or equal to the comparison value, bit 3 in
CR19/CR47/CR75/CR103 will be turned ON. If bit 3 in CR0/CR28/CR56/CR84 is turned ON,
bit 3 in CR19/CR47/CR75/CR103 will be turned OFF.
*3: If bit 3 in CR0/CR28/CR56/CR84 is turned ON, bit 3 in CR19/CR47/CR75/CR103 will be
reset to OFF. If bit 3 in CR19/CR47/CR75/CR103 is turned OFF, bit 3 in
CR0/CR28/CR56/CR84 will be turned OFF automatically.
The related parameters are described below.
Item Value/Setting value
Parameter
CH0 CH1 CH2 CH3
Counting
parameters
Bit 4: Setting the accumulation
register (OFF: The accumulation
register counts linearly. ON: The
accumulation register counts
circularly.)
Bit 6: Selecting a type of
comparison condition (OFF: ≧;
ON: ≦)
#4 #32 #60 #88
Number of
accumulated pulses
(Low word)
-999999999~999999999
#22 #50 #78 #106
Number of
accumulated pulses
(High word)
#23 #51 #79 #107
Comparison value
(Low word)
-999999999~999999999
#16 #44 #72 #100
Comparison value
(High word)
#17 #45 #73 #101
Operating state of a
counter
Bit 3: The number of
accumulated pulses meets the
comparison condition set.
#19 #47 #75 #103
Operation of a
counter
Bit 3: Resetting bit 3 in
CR19/CR47/CR75/CR103
#0 #28 #56 #84