Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 323

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

Advertisement

Processing details
• These instructions perform an XOR operation (bit-by-bit) on 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).
b15
∙∙∙
(d)
1
0
1
0
1
0
1
∙∙∙
b15
(s)
0
0
0
1
1
0
1
∙∙∙
b15
(d)
1
0
1
1
0
0
0
• When a bit device is specified, the instruction performs an operation by assuming that the ones after the number of digit-
specified points are 0.
Operation error
There is no operation error.
b8
b7
∙∙∙
0
1
0
1
0
1
0
1
XOR
∙∙∙
b8
b7
1
1
1
1
1
0
0
0
∙∙∙
b8
b7
1
0
1
0
1
1
0
1
b0
0
b0
0
b0
0
6 BASIC INSTRUCTIONS
6.3 Logical Operation Instructions
6
321

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents