EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 341

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...
6 BASIC INSTRUCTIONS
6.3 Logical Operation Instructions
339
6
Processing details
These instructions perform an exclusive NOR operation on the (n) points of data from the device specified by (s1) and the
(n) points of data from the device specified by (s2), and store the operation result in the device specified by (d) and later.
A constant from -32768 to 32767 (16-bit signed binary) can be specified for (s2).
Operation error
Error code
(SD0)
Description
2821H The device ranges starting from the ones specified by (s1) and (d) are partially overlapping (except when the same device is specified for
(s1) and (d)).
The device ranges starting from the ones specified by (s2) and (d) are partially overlapping (except when the same device is specified for
(s2) and (d)).
XNR
(s1)
b15 b8b7 b0
000 10 1111 1110000
(s1)+1
111 01 0001 1110000
(s1)+2
101 10 0101 1001010
(s1)+(n)-2
000 00 0001 1111111
(s1)+(n)-1
111 11 1110 0000000

(n)

(d)
b15 b8b7 b0
111 01 0001 11 1 111 1
(d)+1
000 00 0001 11 1 111 1
(d)+2
101 10 0100 01 1 010 1
(d)+(n)-2
000 00 0001 11 1 000 0
(d)+(n)-1
101 10 0100 01 1 010 1

(n)

(s2)
b15 b8b7 b0
000 00 0001 1110000
(s2)+1
000 10 1111 1110000
(s2)+2
111 11 1110 0000000
(s2)+(n)-2
111 11 1111 1110000
(s2)+(n)-1
101 10 0101 1001010

(n)

XNR
(s1)
b15 b8b7 b0
000 10 1111 1111111
(s1)+1
000 10 1111 1110000
(s1)+2
110 10 1000 1010011
(s1)+(n)-2
110 10 1001 0101100
(s1)+(n)-1
000 10 1111 1110000

(n)

(d)
b15 b8b7 b0
000 00 0 001 11
1
0 000
(d)+1
000 00 0 001 1111 111
(d)+2
110 00 0 110 1011 100
(d)+(n)-2
110 00 0 111 0100 011
(d)+(n)-1
000 00 0 001 1111 111

(n)

(s2)
b15 b8b7 b0
111 01 0001 1110000

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals