6 BASIC INSTRUCTIONS
6.4 Data Transfer Instructions
301
6
Floating-point data transfer (double precision)
EDMOV(P)
• Transfers 64-bit floating decimal point type real number data being stored at the device designated by (S) to a device
designated by (D).
• When an input value is set using a programming tool, a rounding error may occur. For precautions, refer to Page 89
Precautions.
• There is no operation error in the EDMOV(P) instruction.
• The following program stores the 64-bit floating decimal point type real number at D10 to D13 at D0 to D3.
• The following program stores the real number -1.23 at D10 to D13 when X8 is ON.
(S): Data to be transferred or number of the device to which the data to be transferred is stored (real number)
(D): The number of the device to which the transferred data will be stored (real number)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
E
Others
Bit Word Bit Word
(S)
(D)
[Ladder Mode] [List Mode]
[Operation]
[Ladder Mode] [List Mode]
[Operation]
Universal
LCPU
Basic
High
performance
Process
Redundant
Command
Command
EDMOV
EDMOVP
S D
S D
EDMOV
EDMOVP
Transfer
+3
64-bit floating-point real number
S
+2
S
S
+1
S
4.23542
+3
64-bit floating-point real number
D
+2
D
D
+1
D
4.23542
Step
Instruction
Device
D11
36.475
D10D13 D12
D1
36.475
D0D3 D2
Step
Instruction
Device