14.11 ATOB (Conversion: ASCII → BIN)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
i ● ● ● ● ● ●
■
List of operands
Operand Description
S1 Control string (2 to 16 characters)
S2 Starting number of the area that stores the ASCII data targeted for conversion
N Conversion method
D Starting number of the area for storing the binary data of the converted result
■
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
S1 ● ● ● ● ● ● ●
S2 ● ● ● ● ● ● ● ● ●
N
(Note 1)
● ● ● ● ● ● ● ● ●
D ● ● ● ● ● ● ●
(Note 1) To be handled as a 32-bit unsigned integer, regardless of operation unit.
■
Outline of operation
● This instruction converts the ASCII code string data stored in the area starting with [S2] into
binary data.
● Specify the conversion method for [S1] and [N].
● The conversion result is stored in the area starting with [D].
14.11 ATOB (Conversion: ASCII → BIN)
14-46 WUME-FP7CPUPGR-12