Advantech I/O Module 5000 Series Manuel d'utilisateur Page 52

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 72
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 51
Chapter 4
4-29
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|
Vtol : totalizer value
Vini : initial counter value
Vmin : min. couner 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 calculated as
Totalizer value = {|10 - 0| + 1} x| 4 |+ |10 -3| = 51
Vue de la page 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 71 72

Commentaires sur ces manuels

Pas de commentaire