Yaskawa Ladder Works Programming Manual Manuel d'utilisateur Page 52

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 220
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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')
Vue de la page 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 219 220

Commentaires sur ces manuels

Pas de commentaire