21 ascii conversion 1 (ascii), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 126

Advertising
background image

5.3 Numeric Operation Instructions

5.3.21 ASCII Conversion 1 (ASCII)

5-57

Instructions

5

5.3.21 ASCII Conversion 1 (ASCII)

( 1 ) Operation

The input text string is converted to ASCII and stored in the output data. The text string is case sensitive.
The input text string can contain up to 32 characters (16 words).

„

Storage Location of ASCII Values for Input Text String

Œ

If the text string contains an odd number of characters, the upper byte of the last word is set to zeros.

( 2 ) Format

∗ 1. ASCII text
∗ 2. C and # registers cannot be used.

Output data

Input text string

Converted to ASCII.

C

B

A

Lower byte

Upper byte

Lower byte

Upper byte

1st word in

output data

2nd word in

output data

1st

character

2nd

character

3rd

character

'A'

0

'B'

'C'

Input text string

Output data

Icon:

Key entry: ASCII

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Input text string (Src)

×

*1

Output data (Dest)

×

{

*2

×

×

×

×

×

Advertising
This manual is related to the following products: