7. APPLICATION INSTRUCTIONS
7
−
57
MELSEC-A
7.4.7 ASCII code conversion
(ASC)
Available Device
Bit device
Word (16-bit) device
Constant
Pointer
Level
Ca
rr
y
fla
g
Err
o
r
fla
g
X Y M L S B F T C D W R A0
A1
Z V K H P I N
D
igit specification
Inde
x
M9012 (M9010, M9011)
(D)
O
O
O
O
O
O
O
Function
Converts the specified alphanumeric characters into the ASCII code and stores the
result into devices of four points which begin with the device specified at (D).
Executed Conditions
Applicable
CPU
All CPUs
(D)
Head number of device
which will store ASCII
code
Setting data
Conversion command
(D)
ASC
ASCII characters
(8 characters)
Before execution
Conversion into ASCII code
After execution
Lower
8 bits
Upper
8 bits
ASCII code to be stored (hexadecimal)
OFF
ON
Conversion command
ASC
Executed
only once
Executed
only once
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......