Advantech APAX-5013 User Manual page 109

Apax-5000 series
Hide thumbs Also See for APAX-5013:
Table of Contents

Advertisement

Pulse/DIR, With Reload, Count Repetitively, DI Gate Enable, Rising Edge Start
Figure 3.42 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) and keep counting.
If the DI0 status is rising edge, the counter0 will starts to count and won't be retrig-
gered.
Ch0_A
Down
Ch0_B
Counter 0
Enable
DI0
Counter 0
0x33
0x32
Value
Counter0
Overflow
Ch0_A
Up
Ch0_B
Counter 0
Enable
DI0
Counter 0
0x33
0x34
Value
Counter0
Underflow
Figure 3.57 Pulse/DIR , With Reload, Count Repetitively, DI Gate Enable, Rising
DO Alarm Function No Gate
High Pulse: the DO original status will be low and when the counter value
counts to defined alarm value, the DO status will change low to high.
Low Pulse: the DO original status will be high and when the counter value
counts to defined alarm value, the DO status will change high to low.
No Auto Reload: When the counter is overflow or underflow, the value will be
reset to the initial value but not count again.
Auto Reload: When the counter is overflow or underflow, the value will be reset
to the initial value and count again.
High Alarm: when the counter value is greater than the assigned counter alarm
value, the DO will be active.
Low Alarm: When the counter value is less than the assigned counter alarm
value, the DO will be active.
Because the DI gate is disabled, whatever the DI value is, the counter still continu-
ously counts. When the counter0 value is overflow, the value will be reset to the initial
value like 0x33. Count once means if the counter0 is overflow, it won't count again.
Up
.........
0x33
0xF..F
0x33
Down
.........
0x33
0x00
0x33
Edge Start
101
0x34
0x35
0x36
0x37
0x32
0x31
0x30
0x2F
APAX-5000 I/O Series User Manual
0x38
0x2E

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Apax-5028Apax-5017Apax-5017hApax-5018Apax-5017pe

Table of Contents