Figure 6.9 Sending Alarm Signal (Recommended Settings) - Advantech ADAM-5013 User Manual

Hide thumbs Also See for ADAM-5013:
Table of Contents

Advertisement

Setting Initial Counter Value
In order to utilize the alarm, users have to set a high-alarm limit value and/or a low
alarm limit value, and a initial value to fulfill the requirements for a basic alarm setting.

Figure 6.9 Sending Alarm Signal (Recommended Settings)

Figure 6.10 Sending Alarm Signal (Not Recommended)
Overflow Value
Overflow value is the number of times the counter value exceeds the Max/Min val-
ues you specified. When the counter value exceeds Maxi- mum 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
use the "ReadOverflowFlag" library to gain readout of the over- flow 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
{|V
- V
V
tol =
ini
min (or
V
tol : totalizer value
V
ini : initial counter value
V
min : min. counter value = 0 (fixed value)
V
max : max. counter value = 2
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 Totalizer value = {|10 - 0| + 1} x| 4 |+ |10 -3| = 51
|+ 1} x |V
| + |V
max)
vf
ini
= 4,294,967,295 (fixed value)
32
57
- V
|
cur
ADAM-5000 Series User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents