452
18 Applied Instructions (Floating Point)
18.4 DESTR / Floating Point to Character String Conversion
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Error
In the following cases, it is an operation error, and error flag (M8067) is turned ON, and error code is stored in
D8067.
• When is not within the following range. (Error code: K6706)
0, ±2
-126
≤ < ±2
128
• When the type specification specified by is other than 0, 1. (Error code: K6706)
• When the all digits specification specified by +1 is out of the following range. (Error code: K6706)
In the case of decimal point type
When the number of digits below decimal point is "0" . . . . . . . . . . . All digits ≥ 2
When the number of digits below decimal point is other than "0" . . All digits ≥ (decimal digits + 3)
In the case of exponential type
When the number of digits below decimal point is "0" . . . . . . . . . . . All digits ≥ 6
When the number of digits below decimal point is other than "0" . . All digits ≥ (decimal digits + 7)
• When the decimal digits specification specified by +2 is out of the following range. (Error code: K6706)
In the case of decimal point type: Decimal digits ≤ (all digits - 3)
In the case of index type: Decimal digits ≤ (all digits - 7)
• When the device range for storing the character string specified by is over the range of the
corresponding device.
(Error code: K6706)
• When the result of conversion exceeds the specified all digits. (Error code: K6706)