beautypg.com

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

Page 131

background image

5.3 Numeric Operation Instructions

5.3.23 ASCII Conversion 3 (ASCBIN)

5-62

( 3 ) Programming Example

In the following programming example, the ASCBIN instruction is used to store the input data in MW00000 in the out-
put data in MW00002.

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

The output data in MW00000 is set to 10,811 (2A3B hex).

Address

ASCII Value

Character

MW00000 (lower byte)

32 hex

2

MW00000 (upper byte)

41 hex

A

MW00001 (lower byte)

33 hex

B

MW00001 (upper byte)

42 hex

3

This manual is related to the following products: