Advantech APAX-5000 Series User Manual page 78

Table of Contents

Advertisement

Up, With Reload, Count Repetitively
Figure 3.11 shows up/down mode, Ch0_A provides the counting up function, one
pulse, one up count. Ch0_B provides the counting down function, one pulse, one
down count. When the counter0 is enabled, the couner0 starts to count. If the counter
value is overflow or underflow, it will reset to the defined value (e.g. 0x33) and keep
counting repetitively.
Ch0_A
Counter0
Enable
Counter0
Value
Counter0
Overflow
Ch0_B
Counter1
Enable
Counter1
Value
Counter1
Overflow
Frequency
Figure 3.12 shows the frequency function. Every counter channel can measure the
frequency of assigned time window and the range is from 0.1Hz~1MHz.
Ch0_A
Counter0
Enable
Counter0
Value
Ch0_B
Counter1
Enable
Counter1
Value
APAX-5000 I/O Series User Manual
0x33
0x34
0x35
.........
0x33
0x34
0x35
.........
Figure 3.25 Up, With Reload, Count Repetitively
Pulse Number in one acquisition time window
0x33
Pulse Number in one acquisition time window
0x33
Figure 3.26 Frequency
70
0xF..F
0x33
0x34
.........
0xF..F
0x33
0x34
.........
0xF..F
0x33
0xF..F
0x33

Advertisement

Table of Contents
loading

Table of Contents