Yaskawa Ladder Works Programming Manual Uživatelský manuál Strana 53

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 220
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 52
2.22 ASCII CONVERSION 3 Instruction (ASCBIN)
2-36
2.23 ASCII CONVERSION 3 Instruction (ASCBIN)
[Outline]
The ASCBIN instruction converts four-digit hexadecimal ASCII character codes in the Source into
16-bit binary data and stores it in the Dest.
[Format]
Symbol : ASCBIN
Full Name : Convert ASCII to Binary
Category : MATH
Icon :
[Parameter]
Parameter Name Setting
Source · Any integer type register
· Any integer type register with subscript
Dest · Any integer type register (except for # and C register)
· Any integer type register with subscript (except for # and C register)
[Program Example]
The for-byte ASCII code stored in MW00100 to MW00101 is converted to two-byte binary data, and
the result is stored in MW00200.
MW00100
MW00101
MW00200
Source
12H
Upper
34H
LowerUpper Lower
32H ('2')
34H ('4')
31H ('1')
33H ('3')
Zobrazit stránku 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 219 220

Komentáře k této Příručce

Žádné komentáře