Mitsubishi MELSEC Q Series Programming Manual page 386

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

WOR(P),DOR(P)
DOR
(1) Conducts a logical sum operation on each bit of the 32-bit data of the device designated by
and the 32-bit data of the device designated by
D
designated by
(2) For bit devices, the bit devices after the points designated by digit specification are regarded
as "0" in the operation.
Operation Error
(1) There are no operation errors associated with the WOR(P) or DOR(P) instructions.
Program Example
(1) The following program performs a logical sum operation on the data at D10 and D20 when
XA is turned ON, and stores the results at D10.
[Ladder Mode]
[Operation]
7-12
.
D
D
+ 1
b31
b16
1
1
1
1
0
0
D
S
+ 1
b31
b16
S
1
0
0
1
0
0
D
+ 1
b31
b16
D
1
1
1
1
0
0
b15
D10
1
1
0
0
1
1
0
b15
D20
0
0
0
0
1
0
1
b15
D10
1
1
0
0
1
1
1
, and stores the results at the device
S
D
b15
b0
0
0
0
0
0
0
1
1
OR
S
b15
b0
0
1
1
1
0
0
1
1
D
b15
b0
0
1
1
1
0
0
1
1
[List Mode]
Step
Instruction
b8
b7
0
1
1
1
1
0
0
0
OR
b8
b7
1
1
0
0
1
0
0
0
b8
b7
1
1
1
1
1
0
0
0
Device
b0
0
b0
1
b0
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents