EasyManuals Logo
Home>Advantech>I/O Systems>ADAM-5017

Advantech ADAM-5017 User Manual

Advantech ADAM-5017
92 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #71 background imageLoading...
Page #71 background image
63 ADAM-5000 Series User Manual
Chapter 6 Counter
/
Frequency Modules
Setting Initial Counter Value
In order to utilize the alarm function, users have to set a high-alarm limit value and/or a
low alarm limit value, and an initial value to fulfill the requirements for a basic alarm
setting.
Figure 6.19 Sending Alarm Signal (Recommended Settings)
Figure 6.20 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:
Vtol = {|Vini - Vmin (or Vmax) |+ 1} x |Vvf| + |Vini - Vcur|
V
tol: totalizer value
Vini: initial counter value
Vmin: min. counter value = 0 (fixed value)
Vmax: max. counter value = 2
32
= 4,294,967,295 (fixed value)
Vvf: overflow value
Vcur: 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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Advantech ADAM-5017 and is the answer not in the manual?

Advantech ADAM-5017 Specifications

General IconGeneral
BrandAdvantech
ModelADAM-5017
CategoryI/O Systems
LanguageEnglish

Related product manuals