Mitsubishi FX3U Series Programming Manual page 477

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2) In the program shown below, a character string stored in D10 and later is converted into binary floating
point, and stored to D100 and D101 when X000 turns ON
X000
Operations at overflow, underflow and zero
Condition
The absolute value of the
conversion result is less than
−126
"2
".
The absolute value of the
conversion result is not less than
128
"2
".
The conversion result is true "0".
(The mantissa part is "0".)
FNC117
D10
D100
DEVALP
END
b15
b8 b7
20H(space)
D10
2EH(.)
D11
33H(3)
D12
35H(5)
D13
2DH(-)
D14
32H(2)
D15
00H
D16
1
2
3 4 5
Ignored.
The value of
the borrow flag M8021 turns ON.
The value of
the carry flag M8022 turns ON.
The zero flag M8020 turns ON.
18.5 FNC117 – EVAL / Character String to Floating Point Conversion
b0
20H(space)
31H(1)
32H(2)
34H(4)
45H(E)
30H(0)
E
0
2
Rounded.
Operation
is rounded to the minimum value (2
D
D
is rounded to the maximum value (2
18 Floating Point – FNC110 to FNC139
D101
D100
1.2345E−2
−126
) of 32-bit real numbers, and
128
) of 32-bit real numbers, and
11
12
13
14
15
16
17
18
19
20
475

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents