Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 238

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

Advertisement

Processing details
• These instructions add the 16-bit binary data in the device specified by (d) and the 16-bit binary data in the device specified
by (s), and store the operation result in the device specified by (d).
(d)
b15
b0
···
5678 (BIN)
+
• If an overflow occurs in the result, the carry bit is ignored. In this case, SM700 does not turn on.
[+(P) instruction]
(d)
b15
b0
···
-12345 (BIN)
+
(d)
b15
b0
···
12345 (BIN)
+
[+(P)_U instruction]
(d)
b15
b0
···
56789 (BIN)
+
Operation error
There is no operation error.
6 BASIC INSTRUCTIONS
236
6.2 Arithmetic Operation Instructions
(s)
b15
b0
b15
···
1234 (BIN)
(s)
b15
b0
b15
···
-23456 (BIN)
(s)
b15
b0
b15
···
23456 (BIN)
(s)
b15
b0
b15
···
12345 (BIN)
(d)
b0
···
6912 (BIN)
(d)
b0
···
-3033 (BIN)
(d)
b0
···
3034 (BIN)
(d)
b0
···
3599 (BIN)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents