Mitsubishi MELSEC Q Series Programming Manual page 388

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

Advertisement

WOR(P),DOR(P)
When three data are set (
WOR, DOR
WORP, DORP
Setting
Data
S1
S2
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
S1
designated by
(2) For bit devices, the bit devices after the points designated by digit specification are regarded
as "0" in the operation. (See Program Example (1))
7-14
S1
Command
Command
,
: Data for a logical sum operation or head number of the devices where the data is stored (BIN 16/32 bits)
S1
S2
: 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
S1
1
1
0
0
0
0
0
b15
S2
0
0
0
0
1
1
0
b15
D
1
1
0
0
1
1
0
, (
+1,
)
(
S2
D
S1
S1
S2
indicates an instruction symbol of WOR/DOR.
P
J
\
U
\G
Bit
Word
, and stores the results at the device
S2
b8
b7
0
1
1
1
1
0
0
0
OR
b8
b7
0
1
1
0
0
0
0
1
b8
b7
0
1
1
1
1
0
0
1
+1,
)
(
+1,
))
S2
D
D
S 1
S2
D
S 1
S2
D
Constants
Zn
K, H
––
b0
0
b0
1
b0
1
Other
––
––
––

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents