![Advantech ADAM-5000 Series Скачать руководство пользователя страница 16](http://html1.mh-extra.com/html/advantech/adam-5000-series/adam-5000-series_user-manual_2856827016.webp)
8
ADAM-5080 Counter/Frequency Module
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
ini
-
V
min (or
V
max)
|+
1} x |V
vf
|
+ |V
ini
- V
cur
|
V
tol : totalizer value
V
ini : initial counter value
V
min : min. couner value = 0 (fixed value)
V
max : max. counter value = 2
32
= 4,294,967,295 (fixed value)
V
vf : overflow value
V
cur : current counter value
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
Содержание ADAM-5000 Series
Страница 1: ...ADAM 5000 Series ADAM 5080 4 channel Counter Frequency Module User s Manual...
Страница 8: ......