Delta-electronics DELTA DUP-B Instrukcja Użytkownika Strona 355

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 491
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 354
1 2 ... 350 351 352 353 354 355 356 357 358 359 360 ... 490 491

Komentarze do niniejszej Instrukcji

Brak uwag