Pulse/DIR, With Reload, Count Once, DI Gate Enable, Rising Edge Start
Figure 3.39 shows pulse/direction mode, Ch0_A provides the counting function, one
pulse, one count. Ch0_B provides the clockwise and counter clockwise function.
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) but won't keep
counting. If the DI0 status is rising edge, the counter0 will starts to count and won't be
retriggered.
Ch0_A
Ch0_B
Counter0
Enable
DI0
Counter0
Value
Counter0
Overflow
Ch0_A
Ch0_B
Counter0
Enable
DI0
Counter0
Value
Counter0
Underflow
Figure 3.54 Pulse/DIR, With Reload, Count Once, DI Gate Enable, Rising Edge
APAX-5000 I/O Series User Manual
Down
0x33
0x32
0x31
0x32
Up
0x33
0x34
0x35
0x34
Up
.........
0x33
0x34
0xF..F
Down
.........
0x33
0x32
0x00
Start
98
0x33
0x33