23 ascii conversion 3 instruction (ascbin), Program example, Outline – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 63: Format „ parameter

Advertising
background image

1.2 Numeric Operation Instructions

1-53

1

„

Program Example

The "1234H" binary stored in MW00200 is converted to a for digit hexadecimal ASICII
code and stored in MW00100 to MW00101.

1.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

„

Parameter

BINASC

MW00200

MW00100

MW00100

MW00101

MW00100 = 3231H

MW00101 = 3433H

Upper

Lower

32H ('2')

34H ('4')

31H ('1')

33H ('3')

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 reg-

ister)

Symbol : ASCBIN
Full Name : Convert ASCII to Binary
Category : MATH
Icon :

Advertising
This manual is related to the following products: