Delta-electronics DELTA DUP-B Manuel d'utilisateur Page 360

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 491
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 359
Chapter 3 Creating and Editing Screens
MIN (Get Minimum Value of a Range of Data)
Equation
Var1 = MIN (Var2, Var3)
Explanation
Get the minimum value from Var2 and Var3 and store the result in Var1.
Remark
The calculation result can be stored as signed or unsigned WORD and DWORD.
Var1 can be internal memory only. Var2 and Var3 can be internal memory or
constant.
Example
Get the maximum value from $0 and $1 and store the result in $2 (this is an
operation of unsigned 16-bit data).
If $0 = 2 and $1 = 10, $2 = 2 after executing MAX command.
Revision May, 2010 3-339
Vue de la page 359
1 2 ... 355 356 357 358 359 360 361 362 363 364 365 ... 490 491

Commentaires sur ces manuels

Pas de commentaire