678
7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
*1 Indicates the number of digits in the integral part of the 32-bit floating point real number data in the device specified by (s1).
Error code
(SD0)
Description
3401H The value in the device specified by (s1) is not in the following range.
0, 2
-126
|(s1)|<2
128
Invalid data that cannot be converted is set to (s2).
• The format specification in the device specified by (s2) is a value other than 0 and 1.
• In the decimal point format, the total number of digits specified by (s2)+1 is outside the following range.
The number of digits in the decimal part is 0: Total number of digitsnumber of digits in the integral part
*1
+1
The number of digits in the decimal part is not 0: Total number of digitsnumber of digits in the integral part
*1
+ number of digits in the
decimal point + 2
• In the exponential format, the total number of digits specified by (s2)+1 is outside the following range.
The number of digits in the decimal part is 0: Total number of digits6
The number of digits in the decimal part is not 0: Total number of digits(number of digits in the decimal part+7)
• In the exponential point format, the decimal part digit specification in the device specified by (s2)+2 is outside the following range.
Decimal point format: Number of digits in the decimal part(total number of digits - 3)
Exponential format: Number of digits in the decimal part(Total number of digits - 7)
• In the decimal point format, the number of digits in the integral part of 32-bit floating point real number data in the device specified by
(s1) exceeds 16.
• The number of digits in the decimal part specified by (s2)+2 is out of the range from 0 to 7.
The specified value consists of more than 24 digits in total.
3402H The value input to (s1) is -0, a subnormal number, NaN (not a number), or .