Mitsubishi Electric FX3G SERIES Programming Manual page 504

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
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 "2
The absolute value of the conversion
result is not less than "2
The conversion result is true "0".
(The mantissa part is "0".)
502
FNC117
D10
DEVALP
b15
b8 b7
20H(space)
D10
2EH(.)
D11
33H(3)
D12
35H(5)
D13
2DH(-)
D14
D15
32H(2)
D16
1
2
3 4 5
Ignored.
The value of
−126
".
M8021 turns ON.
The value of
128
".
turns ON.
The zero flag M8020 turns ON.
18.5 FNC117 – EVAL / Character String to Floating Point Conversion
D100
END
b0
20H(space)
31H(1)
32H(2)
34H(4)
45H(E)
30H(0)
00H
E
0
2
Rounded.
Operation
D
is the minimum value (2
D
is the maximum value (2
18 Floating Point – FNC110 to FNC139
D101
D100
1.2345E − 2
−126
) of 32-bit real numbers and the borrow flag
128
) of 32-bit real numbers and the carry flag M8022

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents