■
Format of ASCII data
● Data is processed for the number of data specified for [N], or considering a NULL character
as the end of the ASCII string data to be converted.
● If a comma (",") is included in the string data, it is processed as a separator for the data.
● The maximum number of digits for a single datum is 28.
Format ASCII data before conversion Binary data after conversion
Decimal integer
" ␣␣␣␣123456" U 123456
"123456␣␣␣ " U 123456
Hexadecimal
integer
"12AB" H 12AB
" ␣␣␣␣12AB " H 12AB
"00000012AB " H 12AB
"0x12AB", H 12AB
Floating point
real number
"1234.56789", f 1234.56
" 1234" f 1234.00
Exponential
notation
Real number
"1.234E+2" f 123.4
"1.23E-2 ", f 0.01234
"␣␣␣␣1.234e+2", f 123.4
■
Setting of control string [S1]
Control
charact
er
string
Format of data for conversion
Available
operation
units
Data range
ASCII data before
conversion
BIN data after conversion
"%nd"
Unsigned decimal ASCII
data
Unsigned 16-bit data US U0 to U65,535
Signed decimal ASCII
data
Signed 16-bit data SS K-32,768 to K32,767
Unsigned decimal ASCII
data
Unsigned 32-bit data UL U0 to U4,294,967,295
Signed decimal ASCII
data
Signed 32-bit data SL
K-2,147483,648 to
K2,147,483,647
"%nx"
Hexadecimal ASCII data
16-bit data (Forward/
reverse direction)
US H0 to HFFFF
Hexadecimal ASCII data
32-bit data (Forward/
reverse direction)
UL H0 to HFFFFFFFF
"%nb"
Decimal ASCII data
16-bit BCD data
(Forward/Reverse
direction)
US H0 to H9999
Decimal ASCII data
32-bit BCD data
(Forward/Reverse
direction)
UL H0 to H99999999
"%nf"
"%ne"
Floating point real
number (including
exponential notation)
ASCII data
32-bit single-precision
floating point real number
data
SF
3.402823E+38 to
1.175494E-38
-1.175494E-38 -3.402823E+38
14.11 ATOB (Conversion: ASCII → BIN)
WUME-FP7CPUPGR-12 14-47