Adding Double-Precision Real Numbers - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Adding double-precision real numbers

ED+(P) [when two operands are set]
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions add double-precision real numbers.
Ladder
(s)
(d)
FBD/LD
Not supported
( Page 727 ED+(P) [when three operands are set])
■Execution condition
Instruction
ED+
ED+P
Setting data
■Description, range, data type
Operand
Description
(s)
Second addend data or the start device where the second
addend data is stored
(d)
Start device where the first addend data is stored
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
Processing details
• These instructions add the double-precision real number in the device specified by (d) to the double-precision real number
in the device specified by (s), and store the result in the device specified by (d).
(d)+3
(d)+2
(d)+1
(d)
+
Double-precision real number
-1022
|specified value (stored value)| <2
• Value 0 or 2
• When an input value is set using the engineering tool, a rounding error may occur. Refer to the following for the precautions
on setting input values using the engineering tool.
Page 49 Precautions
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
(s)+3
(s)+2
(s)+1
(s)
Double-precision real number
1024
ST
Not supported
( Page 727 ED+(P) [when three operands are set])
Range
Data type
-1022
1024
|(s)|<2
0, 2
Double-precision real
number
-1022
1024
|(d)|<2
0, 2
Double-precision real
number
Double word Indirect
Z
LT, LST,
LZ
LC
(d)+3
(d)+2
(d)+1
(d)
Double-precision real number
can be specified or stored in the devices specified by (s) and (d).
Data type (label)
ANYREAL_64
ANYREAL_64
Constant
specification
K, H E
$
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
7
Others
725

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents