Delta-electronics DELTA DUP-B Manual de usuario Pagina 355

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 491
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 354
1 2 ... 350 351 352 353 354 355 356 357 358 359 360 ... 490 491

Comentarios a estos manuales

Sin comentarios