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

Page 130

Advertising
background image

5.3 Numeric Operation Instructions

5.3.23 ASCII Conversion 3 (ASCBIN)

5-61

Instructions

5

5.3.23 ASCII Conversion 3 (ASCBIN)

( 1 ) Operation

The value given in 4-digit hexadecimal ASCII and stored in the 2-word input data is converted to 16-bit binary data
and stored in 1-word output data.

„

Output Data When First Word of Input Data Is 4132 Hex (‘2’ ‘A’) and Second Word Is 4232 Hex

(‘3’ ‘B’)

( 2 ) Format

∗ C and # registers cannot be used.

Output data

Input data

ASCII converted

to binary data.

2A3B

1st word in

input data

2nd word in

input data

Hexadecimal notation

Output data (1 word)

Lower byte ‘A’

Upper byte ‘2’

Lower byte ‘B’

Upper byte ‘3’

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Input data (Src)

×

{

×

×

×

×

{

Output data (Dest)

×

{

*

×

×

×

×

×

Input data

Output data

Icon:

Key entry: ASCBIN

Advertising
This manual is related to the following products: