Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
11 Applied Instructions (Data Operation)
11.10 FLT / Conversion to Floating Point
251
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
Function and operation explanation
1. 16-bit operation (FLT, FLTP)
The binary integer data of the device specified by is converted into binary floating point (real number),
and stored to the device specified by .
2. 32-bit operation (DFLT, DFLTP)
The binary integer data of the device specified by is converted into binary floating point (real number),
and stored to the device specified by .
Related instruction
Related devices
For the method of the zero and borrow flags, refer to Section Section 1.3.4.
Cautions
1) The instruction is provided in the FX3G PLC Ver. 1.10 or later.
2) The instruction is provided in the FX
U PLC Ver. 3.07 or later.
3) Some restrictions to applicable devices
S1:The FX
3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
S2:The FX
3U and FX3UC PLCs only are applicable.
Instruction Description
INT It is inverse of FLT instruction, and converts binary floating point into binary integer.
Device Name Description
M8020 Zero flag Turns ON when the value is true "0".
M8021 Borrow flag Turns ON when the floating point is rounded down..
Command input
Device that stores
the binary integer data
Device that stores
the binary floating point data
Binary integer Binary floating point (real number)
FLT
EN
s
ENO
d
( +1, )
ds d
Command input
Device that stores
the binary integer data
Device that stores
the binary floating point data
DFLT
EN
s
ENO
d
( +1, ) ( +1, )
Binary integer Binary floating point (real number)
d
s
d
s