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 #317 background imageLoading...
Page #317 background image
315
WOR, WORP, DOR, DORP
1
2
3
4
4
6
7
8
7.1 Logical operation instructions
7.1.3 WOR, WORP, DOR, DORP
Program Example
(1) The following program performs a logical sum operation on the data from X10 to X1B, and the data at D33, and stores
the result at Y30 to Y3B when XA is ON.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program performs a logical sum operation on the 32-bit data at D0 and D1, and the 24-bit data from X20 to
X37, and stores the results at D23 and D24 when M8 is ON.
[Ladder Mode] [List Mode]
[Operation]
Step Instruction Device
11111
00
11
00
1
00
11
1
00
111
0
11
0
11
00
1 1
Y38 Y30Y37
b0
B7
b15 b8
OR
D33
Y3B to Y30
Regarded as 0s.
0000
11
0000
11
000
0
X10X17
X1B to X10
X13X18X1B
Y3B Y34Y33
X14
Not changed
Step Instruction Device
0000 000
1
00
1
00
1
X20X37
OR
1111
000
11
00
111
b0b23b31
b24
1111 000110 1111
b31 b16 b0b15
b28 b3
D1, D0
X37 to X20
D24, D23
Regarded as 0s.
0
0
0
X36X35 X23
X22X21
b27
b22b21 b2 b1
S
D
S
D
+1
+1

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