7 APPLICATION INSTRUCTIONS
7.11 Character String Processing Instructions
563
7
• The converted character string data is stored at the area starting from the device number (D) as indicated below:
• The sign "20H" (space) will be stored if the 32-bit floating decimal point type real number is positive, and the sign "2DH" (minus sign) will be stored if it is
negative.
• If the decimal fraction part of a 32-bit floating point real number data is out of the range of the digits of decimal fraction part, the lower decimal values will be
rounded off.
• If the number of digits following the decimal point has been set at any value other than "0", "2EH" (.) will automatically be stored at the position before the first
of the specified number of digits. If the number of digits in the decimal fraction part of the number is "0", the ASCII code "2EH" (.) will not be stored.
• If the total number of digits, excluding the sign, the decimal point and the decimal fraction part, is greater than the integer part of the 32-bit floating point type
real number data, "20H (space)" will be stored between the sign and the integer part.
• The value "00H" is automatically stored at the end of the converted character string.
8 (Total number of digits)
2 (Number of digits in decimal fraction)
+2
Rounded off
Number of digits in
decimal fraction
0: Decimal point format
+1
+1
1-.23
-1. 2
3
4
56
Total number of digits
4 56
S2
S1
S2
S2
S1
8 (Total number of digits)
2 (Number of digits in decimal fraction)
+2
Automatically added
Number of digits
in decimal fraction
0: Decimal point format
+1
+1
1-.23
-1 . 2
3
4
56
Total number of digits
S2
S1
S2
S2
S1
8
2
+2
Number of digits
in decimal fraction
Filled with 20
H
(space) codes
0
+1
+1
1-.23
-1 .
2
3
4
56
Total number of digits
S2
S2
S2
S1 S1