11 Applied Instructions (Data Operation)
11.10 FLT / Conversion to Floating Point
252
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Program examples
1. Arithmetic operations by binary floating point operations
The sequence program shown below is constructed as follows:
1) Calculation example
× K34.5
(D 0) (X017 to X010)
16-bit binary 2-digit BCD
(D 11, D 10) Binary floating point
operation
(D 21, D 20)
Binary floating point
operation
1) 2)
(D 22)
BIN
(D 25, D 24)
Binary floating point
operation
3)
(D 29, D 28)
Binary floating point
operation
5)
(D 27, D 26)
Binary floating point
operation
4)
6)
(D 13, D 12)
Decimal floating point
operation for monitoring
(D 15, D 14)
32-bit binary integer
7)
8)