3 ) programming example – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 127

Advertising
background image

5.3 Numeric Operation Instructions

5.3.21 ASCII Conversion 1 (ASCII)

5-58

( 3 ) Programming Example

In the following programming example, the input string “Hello” is converted to ASCII and stored in the output data in
MW00000.

The ASCII values are stored as given in the following table.

Address

ASCII Value

Character

MW00000 (lower byte)

48 hex

H

MW00000 (upper byte)

65 hex

e

MW00001 (lower byte)

6C hex

l

MW00001 (upper byte)

6C hex

l

MW00002 (lower byte)

6F hex

o

MW00002 (upper byte)

0

-

Advertising
This manual is related to the following products: