8 APPLICATION INSTRUCTION
8.8 Character String Operation Instruction
457
8
Operation error
• If the number of digits in the decimal part is set to other than 0, "2EH" (.) is automatically stored at the position before the specified number of digits. If
the number of digits in the decimal part is 0, "2EH" (.) is not stored.
(1): Total number of digits
(2): Number of digits of decimal part
(3): Added automatically
• For the sign of the exponent part, "2BH (+)" is stored when the exponent is positive, and "2DH (-)" is stored when the exponent is negative.
• The exponent part is fixed to 2 digits. When the exponent part is 1 digit, "30H (0)" is stored after the sign of the exponent part.
(1): Total number of digits
(2): Fixed to 2 digit
(3): "30H (0)" is stored.
• The value "00H" is automatically stored at the end of the converted character string.
Error code
(SD0/SD3067)
Description
2820H
The device specified by (s2) exceeds the corresponding device range.
3401H
The number of total digits specified by (s1)+1 exceeds 24.
The format specified by (s2) is any value other than "0" or "1".
The total number of digits specified by (s2)+1 is not within the following range in the decimal point format.
When the number of digits of the decimal part is "0": Total number of digits
2
When the number of digits of the decimal part is any value other than "0": Total number of digits
(Number of digits of decimal part + 3)
The total number of digits specified by (s2)+1 is not within the following range in the exponent format.
When the number of digits of the decimal part is "0": Total number of digits
6
When the number of digits of the decimal part is any value other than "0": Total number of digits
(Number of digits of decimal part + +7)
The number of digits of the decimal part specified by (s2)+2 is not within the following range.
In the decimal part format
(Total number of digits - 3)
In the exponent format
(Total number of digits - 7)
When the conversion result exceeds the specified total number of digits
3402H
(s1) is not within the following range
0,
2
-126
(s1) <
2
128
The specified device value is denormalized number, NaN (not a number), or
.
3405H
The number of digits of the decimal part specified by (s2)+2 is not within the following range.
0 to 7
3406H
The device areas that store the character string specified by (d) exceed the corresponding device range.
12
4
1
1
-
2 . 3 4 5 6 7
(s2)+1
(s2)+2
(s2)
(s1)+1
(s1)
2 3 4 6 E + 0 1
1
-
.
(1)
(2)
(3)
12
4
1
2 3 4 6 E + 0 1
1
-
.
1
-
2 . 3 4 5 6 7
(s2)+1
(s2)+2
(s2)
(s1)+1
(s1)
(1)
(3)
(2)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......