EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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 #323 background imageLoading...
Page #323 background image
321
WXOR, WXORP, DXOR, DXORP
1
2
3
4
4
6
7
8
7.1 Logical operation instructions
7.1.5 WXOR, WXORP, DXOR, DXORP
Program Example
(1) The following program conducts an exclusive OR operation on the data from X10 to X1B and the data at D33 when X10
is ON, and outputs the result to Y30 to Y3B.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program conducts an exclusive OR operation on the data at D20 and D21, and the data at D30 and D31
when X10 is turned ON, and stores the results at D40 and D41.
[Ladder Mode] [List Mode]
[Operation]
Step Instruction Device
1111
00
11
00
111
00
1
0110011001101100
Y38 Y30Y37
b0b7b15 b8
XOR
D33
Y3B to Y30
Regarded as 0s.
00000
1
0
1
0
1
0
1
0
1
0
1
X10X17
X1B to X10
X13X18X1B
Y3B Y34Y33
X14
Not changed
Step Instruction Device
0000 110001 0101
b0b15b31 b16
XOR
1100 101011 0011
b0b15b31 b16
11
00 0
11
0
1
00
11
0
b31 b16 b0b15
+ 1
+ 1
+ 1
D21,D20
D31,D30
D41,D40
D
S1 S1
S2 S2
D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals