446
18 Applied Instructions (Floating Point)
18.3 DEMOV / Floating Point Move
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 32-bit operation (DEMOV/DEMOVP)
The content (binary floating decimal point data) of transfer source of device specified by is transferred to
the device specified by . Real number (E) can be directly specified in the device specified by .
Program example
1. This is a program for storing the real number of D11, D10 in D1, D0 when X007 is turned ON.
2. This is a program for storing the real number -1.23 in D11, D10 when X007 is turned ON.
Cautions
1. The instruction is provided in the FX3G PLC Ver. 1.10 or later.
2. Some restrictions to applicable devices.
S1: The FX3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
S2: The FX3U and FX3UC PLCs only are applicable.
4.23542
Binary floating decimal point
(real number)
4.23542
Binary floating decimal point
(real number)
Transfer
+1 +1
Command input
DEMOV
EN ENO
d
s
ds s d
Device storing
the transfer source data
Transfer
destination
device
36.475 36.475
D1 D0D11 D10
X007
DEMOVP
EN ENO
d
s
D10 D0
[Structured ladder/FBD]
[ST]
DEMOVP(X007,D10,D0);
-1.23 -1.23
D11 D10
X007
DEMOVP
EN ENO
d
s
E-1.23 D10
[Structured ladder/FBD]
[ST]
DEMOVP(X007,E-1.23 ,D10);