312
WOR, WORP, DOR, DORP
When two data are set ( , ( +1, ) ( +1, ) ( +1, ))
: Data for a logical sum operation or head number of the devices where the data is stored (BIN 16/32 bits)
: Head number of the devices where the logical sum operation result will be stored (BIN 16/32 bits)
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 , and stores the results at the device designated by .
(2) For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
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 , and stores the results at the device 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 is no operation error in the WOR(P) or DOR(P) instruction.
WOR, WORP
Logical sums of 16-bit data
DOR, DORP
Logical sums of 32-bit data
7.1.3
WOR, WORP, DOR, DORP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
Basic
Process
High
performance
Redundant Universal
LCPU
D
S
D
D
D
S
S
D
D
Command
Command
P
S
D
S
D
WOR, DOR
WORP, DORP
indicates an instruction s
y
mbol of
W
OR/DOR.
S
D
S
D
D
S
D
1
0
0
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
1
1
1
1
1
1
0
0
1
1
1
1
b15
b8
b0
b7
b0
b7
b15
b8
OR
1
1
1
1
1
1
0
0
0
0
1
1
b0
b7
b15
b8
0
0
0
0
D
S
D
D
S
D
1
0
0
1
0
0
0
1
1
1
0
0
1
1
b0
b15
b31
b16
OR
1
1
1
1
0
0
0
0
0
0
0
0
1
1
b0
b15
b31
b16
1
1
1
1
0
0
0
1
1
1
0
0
1
1
b31
b16
b0
b15
+ 1
+ 1
+ 1
D
D
S
D
D
D
D
S
S