Panasonic FP7 Series Command Reference Manual page 697

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

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
Decimal integer
Hexadecimal
integer
Floating point
real number
Exponential
notation
Real number
Setting of control string [S1]
Control
Format of data for conversion
charact
ASCII data before
er
conversion
string
Unsigned decimal ASCII
data
Signed decimal ASCII
data
"%nd"
Unsigned decimal ASCII
data
Signed decimal ASCII
data
Hexadecimal ASCII data
"%nx"
Hexadecimal ASCII data
Decimal ASCII data
"%nb"
Decimal ASCII data
Floating point real
"%nf"
number (including
exponential notation)
"%ne"
ASCII data
WUME-FP7CPUPGR-12
ASCII data before conversion
" ␣␣␣␣123456"
"123456␣␣␣ "
"12AB"
" ␣␣␣␣12AB "
"00000012AB "
"0x12AB",
"1234.56789",
" 1234"
"1.234E+2"
"1.23E-2 ",
"␣␣␣␣1.234e+2",
BIN data after conversion
Unsigned 16-bit data
Signed 16-bit data
Unsigned 32-bit data
Signed 32-bit data
16-bit data (Forward/
reverse direction)
32-bit data (Forward/
reverse direction)
16-bit BCD data
(Forward/Reverse
direction)
32-bit BCD data
(Forward/Reverse
direction)
32-bit single-precision
floating point real number
data
14.11 ATOB (Conversion: ASCII → BIN)
Binary data after conversion
U 123456
U 123456
H 12AB
H 12AB
H 12AB
H 12AB
f 1234.56
f 1234.00
f 123.4
f 0.01234
f 123.4
Available
operation
units
US
SS
UL
SL
US
UL
US
UL
SF
Data range
U0 to U65,535
K-32,768 to K32,767
U0 to U4,294,967,295
K-2,147483,648 to
K2,147,483,647
H0 to HFFFF
H0 to HFFFFFFFF
H0 to H9999
H0 to H99999999
3.402823E+38 to
1.175494E-38
-1.175494E-38 -3.402823E+38
14-47

Advertisement

Table of Contents
loading

Table of Contents