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

  • 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 354
Chapter 3 Creating and Editing Screens
BIN (Converts BCD Data into BIN Value)
Equation
Var1 = BIN (Var2)
Explanation
The BCD data in Var2 is converted into binary value and stored in Var1.
Remark
The calculation result can be stored as unsigned WORD or DWORD.
Var1 and Var2 can be internal memory only.
Example
After executing BIN command, the BCD data in $0 is converted to a binary value and
stored in $1 (this is an operation of unsigned 16-bit data).
TODWORD (Convert WORD to DWORD)
Equation
Var1 = TODWORD (Var2)
Explanation
The WORD value in Var2 is converted into DWORD value and stored in Var1.
Remark
The calculation result can be stored as unsigned WORD or DWORD.
Var1 and Var2 can be internal memory only.
3-334 Revision May, 2010
Vue de la page 354
1 2 ... 350 351 352 353 354 355 356 357 358 359 360 ... 490 491

Commentaires sur ces manuels

Pas de commentaire