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

  • 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 332
Chapter 3 Creating and Editing Screens
Example
Multiply the value of $0 by 2.0 and store the value in $0 (this is a floating point
operation of signed 32-bit data).
Multiply the value of $2 by $4 and store the value in $6 (this is a floating point
operation of signed 32-bit data).
FDIV (Floating Division)
Equation
Var1 = FDIV (Var2, Var3)
Explanation
Perform the division of Var2 and Var3, and store the division result in Var1.
Remark
This is the operation of signed 32-bit data.
The calculation result can be stored as signed DWORD. When the data exceeds
the length of designated unit, the data out of range will be discarded.
Var1 can be internal memory only. Var2 and Var3 can be internal memory or
constant.
The value contained within Var3 cannot be equal to 0 (zero).
3-312 Revision May, 2010
Vue de la page 332
1 2 ... 328 329 330 331 332 333 334 335 336 337 338 ... 490 491

Commentaires sur ces manuels

Pas de commentaire