Advantech APAX-5000 Series User Manual page 76

Table of Contents

Advertisement

Up/Down, With Reload, Count Repetitively
Figure 3.8 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
Ch0_B
Counter0
Enable
Counter0
Value
Counter0
Underflow
Ch0_A
Ch0_B
Counter0
Enable
Counter0
Value
Counter0
Overflow
APAX-5000 I/O Series User Manual
0x33
0x34
0x33
.........
0x33
0x32
0x33
.........
Figure 3.22 Up/Down, With Reload, Count Once
0x00
0x33
0x32
.........
0xF..F
0x33
0x34
.........
68
0x00
0x33
0xF..F
0x33

Advertisement

Table of Contents
loading

Table of Contents