EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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
Page #395 background imageLoading...
Page #395 background image
7-21
WXOR(P),DXOR(P)
1
2
3
4
6
6
7
8
7.1 Logical operation instructions
7.1.5 16-bit and 32-bit exclusive OR operations (WXOR(P),DXOR(P))
(2) The following program compares the bit pattern of the 32-bit data from X20 to X3F with the
bit pattern of the data at D9 and D10 when X6 is ON, and stores the number of differing bits
at D16.
[Ladder Mode] [List Mode]
[Operation]
Remark
See Section 7.5.2 for more information on the DSUMP instruction.
Step Instruction Device
0D10,D9 1 1 11001110000011011110110101101
b31 b16
b0
b15
1D10,D9 1 1 01100100101001110100011111000
X3F X30 X20X2F
1
X3F to X20
00
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
X3C X3B X38 X37 X34 X33 X2C X2B X28 X27 X24 X23
XOR
b31 b16
b0
b15
17
+ 1
+ 1
+ 1
D16
D
S
D
D
S
D

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals