Mitsubishi Electric M800VW Series Programming Manual page 215

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.2 Arithmetic Operation Instructions
ED+, ED+P, ED-, ED-P: Floating-point data addition and subtraction operations (double precision) (De-
vice at storage destination: Independent type)
Setting
Bit devices
data
X
Y
M
L
F
S1
S2
D
△ : S1 and S2 cannot be specified as constant at the same time.
[Instruction symbol] [Execution condition]
ED+, ED-
ED+P, ED-P
 Setting data
Setting data
Addition or subtraction data, or the first number of the device storing addition or
S1
subtraction data.
Addition or subtraction data, or the number of the device storing addition or sub-
S2
traction data.
D
The head No. of the device which stores the results of addition or subtraction
 Functions
ED+
 Adds the 64-bit floating-point real number data designated by (S1) to the 64-bit floating-point real number data designated
by (S2) and stores the result of the addition at the device designated by (D).
S1+3 S1+2 S1+1 S1
64-bit floating-point real
number
 The following values can be designated and stored by (S1), (S2), or (D).
-1022
0, 2
≤ | Designated value (stored value) | < 2
 When setting input values from programming tools, rounding errors may occur.
For precautions when setting input values from programming tools, refer to "6.3.4 Single/Double-Precision Real Number
Data".
IB-1501667-B
Usable devices
B SB
T SM V
T
C
Command
Command
Meaning
S2+3 S2+2 S2+1 S2
+
64-bit floating-point real
number
1024
Con-
Word devices
stant
D
R/ZR W SW SD
Z
D+3 D+2 D+1 D
64-bit floating-point real
number
194
Digit
Pointer
designa-
Index
tion
E
P
indicates the signs "ED+"/"ED-".
S1 S2
D
P
S1 S2
D
Data type
Real number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents