Advantech ADAM-5000 Series User Manual page 16

4-channel counter/frequency module
Hide thumbs Also See for ADAM-5000 Series:
Table of Contents

Advertisement

ADAM-5080 Counter/Frequency Module
Overflow Value
Overflow value is the number of times the counter value exceeds the
Max/Min values you specified. When the counter value exceeds
Maximum value, the overflow value increases; When the counter
value goes under Minimum value, the overflow value decreases.
Besides, when the counter value runs beyond the range of Max/Min
value, it will continue counting from the initial value. Furthermore, if
users want to check the counter value to see if it is higher or lower
than the Max/Min value, they can run the "$aaSi7" command to gain
a readout of the overflow value.
Getting the Totalizer Value
If users want to get the actual counter value, a formula such as
follows can facilitate an easy calculation from the initial counter
value, overflow value and current counter value:
V
tol =
V
tol : totalizer value
V
ini : initial counter value
V
min : min. couner value = 0 (fixed value)
V
max : max. counter value = 2
V
vf
V
cur
Example:
If the initial value =10, overflow value =4, min. value = 0, current
counter value = 3, the totalizer value could be calculated as
totalizer value = {|10 - 0| + 1} x| 4 |+ |10 -3| = 51
8
{|V
- V
ini
min (or
: overflow value
: current counter value
V
|+ 1} x |V
max)
32
= 4,294,967,295 (fixed value)
ADAM-5080 Counter/Frequency Module
| + |V
- V
vf
ini
|
cur

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5080

Table of Contents