Mitsubishi FX3U Series Programming Manual page 471

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
- 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.
S
2
+1
S
2
+2
S
2
+1
S
1
−12.34567
- "00H" is automatically stored at the end of the converted character string.
Related instructions
Instruction
EVAL (FNC117)
STR (FNC200)
VAL (FNC201)
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is
stored in D8067.
• When
is not located within the following range (error code: K6706)
S
1
−126
0, ±2
≤ S1 < ±2
• When the format specified by
• When the total number of digits specified by
K6706)
In the case of 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)
In the case of 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)
• When the number of digits of the decimal part specified by
range (error code: K6706)
In the case of decimal point format: Number of digits of decimal part ≤ (Total number of digits - 3)
In the case of exponent format: Number of digits of decimal part ≤ (Total number of digits - 7)
• When the devices storing a character string specified by
code: K6706)
• When the conversion result exceeds the specified total number of digits (error code: K6706)
18.4 FNC116 – ESTR / Floating Point to Character String Conversion
Total number of digits (12)
1
12
4
1
S
1
Converts a character string (ASCII codes) into binary floating point data.
Converts binary data into a character string (ASCII codes).
Converts a character string (ASCII codes) into binary data.
128
S
is any value other than "0" or "1" (error code: K6706)
2
18 Floating Point – FNC110 to FNC139
Fixed to 2 digits.
2 3 4 6 E +
0
1
"30H (0)" is stored.
Description
+1 is not located within the following range (error code:
S
2
+2 is not located within the following
S
2
exceeds the allowable device range (error
D
11
12
13
14
15
16
17
18
19
20
469

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents