Mitsubishi Electric M800VW Series Programming Manual page 216

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-
 Subtracts the 64-bit floating-point real number designated by (S2) from the 64-bit floating-point real number designated by
(S1) and stores the result of the subtraction 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".
 Operation errors
 In the following cases, an arithmetic error occurs, the error flag (SM0) turns ON, and an error code is stored at SD0.
- The designated device value is not within the following range. (Error code: 35)
-1022
0, 2
≤ | Designated device value | < 2
- The operation result exceeds the following range. (When an overflow occurs) (Error code: 36)
| Operation result | < 2
S2+3 S2+2 S2+1 S2
-
64-bit floating-point real
number
1024
1024
1024
D+3 D+2 D+1 D
64-bit floating-point real
number
195
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents