EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 238

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
236
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
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).
If an overflow occurs in the result, the carry bit is ignored. In this case, SM700 does not turn on.
Operation error
There is no operation error.
[+(P) instruction]
[+(P)_U instruction]
b15 b0
5678 (BIN)
(d) (s) (d)
1234 (BIN) 6912 (BIN)
+
···
b15 b0
···
b15 b0
···
b15 b0
-12345 (BIN)
(d) (s) (d)
-23456 (BIN) -3033 (BIN)
+
···
b15 b0
···
b15 b0
···
b15 b0
12345 (BIN)
(d) (s) (d)
23456 (BIN) 3034 (BIN)
+
···
b15 b0
···
b15 b0
···
b15 b0
56789 (BIN)
(d) (s) (d)
12345 (BIN) 3599 (BIN)
+
···
b15 b0
···
b15 b0
···

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals