Mitsubishi Electric M800VW Series Programming Manual page 211

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
E+, E+P, E-, E-P: Floating-point data addition and subtraction operations (single precision) (Device 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]
E+, E-
E+P, E-P
 Setting data
Setting data
Data to be added to or subtracted from, or the first number of the device storing the
S1
data to be added to or subtracted from.
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
E+
 Adds the 32-bit floating-point real number data designated by (S1) to the 32-bit floating-point real number data designated
by (S2) and stores the result of the addition at the device designated by (D).
S1+1
S1
32-bit floating-point real
number
 The following values can be designated and stored by (S1), (S2), or (D).
-126
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+1
S
2
+
32-bit floating-point real
number
128
Con-
Word devices
stant
D
R/ZR W SW SD
Z
D+1
D
32-bit floating-point real
number
190
Digit
Pointer
designa-
Index
tion
E
P
indicates the signs "E+"/"E-".
S1 S2
D
P
S1 S2
D
Data type
Real number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents