EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 242

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...
240
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
Processing details
These instructions subtract the 16-bit binary data in the device specified by (s) from the 16-bit binary data in the device
specified by (d), and store the operation result in the device specified by (d).
If an underflow occurs in the result, the borrow 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) 4444 (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