Yaskawa Ladder Works Programming Manual Instrukcja Użytkownika Strona 52

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 220
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 51
2.22 ASCII CONVERSION 2 Instruction (BINASC)
2-35
2.22 ASCII CONVERSION 2 Instruction (BINASC)
[Outline]
The BINASC instruction converts the 16-bit binary data stored in the Source into four-digit
hexadecimal ASCII character codes and stores them in the designated Dest (two words).
[Format]
Symbol : BINASC
Full Name : Convert Binary to ASCII
Category : MATH
Icon :
[Parameter]
Parameter Name Setting
Source · Any integer type register
· Any integer type register with subscript
· Constant
Dest · Any integer type register (except for # and C register)
· Any integer type register with subscript (except for # and C register)
[Program Example]
The "1234H" binary is converted to a for digit hexadecimal ASICII code and stored in MW00100 to
MW00101.
MW00100
MW00101
MW00100 = 3231H
MW00101 = 3433H
Upper Lower
32H ('2')
34H ('4')
31H ('1')
33H ('3')
Przeglądanie stron 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 219 220

Komentarze do niniejszej Instrukcji

Brak uwag