497
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
18 Floating Point – FNC110 to FNC139
18.7 FNC119 – EBIN / Scientific Notation to Floating Point Conversion
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High-Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
Program example
By DEBIN instruction, a numeric value containing the decimal point can be directly converted into binary floating point.
Example: Converting "3.14" into binary floating point
3.14 = 314 × 10
−2
(scientific notation)
→ For program examples of floating point operations, refer to Section 12.10.
X002
FNC 12
MOVP
K314 D 0
K314 → D0
FNC 12
MOVP
K -2 D 1
FNC119
DEBIN
D 0 D 10
K -2 → D1
(D1,D0) → (D11,D10)
314 × 10
−2
Binary floating point
[D1]
[D0]
314 × 10
−2