Logical Sums Of 16-Bit And 32-Bit Data (Wor(P),Dor(P)) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

7.1.3

Logical sums of 16-bit and 32-bit data (WOR(P),DOR(P))

WOR(P),DOR(P)
When two data are set (
WOR, DOR
WORP, DORP
Setting
Data
S
D
Function
WOR
(1) Conducts a logical sum operation on each bit of the 16-bit data of the device designated by
and the 16-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.
D
S
D
Command
Command
: Data for a logical sum operation or head number of the devices where the data is stored (BIN 16/32 bits)
S
: Head number of the devices where the logical sum operation result will be stored (BIN 16/32 bits)
D
Internal Devices
R, ZR
Bit
Word
.
D
b15
b8
b7
D
0
1
0
1
1
1
1
1
0
OR
b15
b8
b7
S
1
0
0
1
1
1
0
0
1
b15
b8
b7
1
1
0
1
1
1
1
1
1
D
High
Basic
performance
, (
+1,
)
(
+1,
D
D
S
S
indicates an instruction symbol of WOR/DOR.
P
J
\
U
\G
Bit
Word
, and stores the results at the device
S
b0
0
0
0
0
0
1
1
b0
1
0
0
1
1
0
0
b0
1
0
0
1
1
1
1
WOR(P),DOR(P)
Process
Redundant Universal
LCPU
)
(
+1,
))
D
D
S
D
S
D
Constants
Zn
Other
K, H
––
––
––
7-11
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents