7-11
WOR(P),DOR(P)
1
2
3
4
6
6
7
8
7.1 Logical operation instructions
7.1.3 Logical sums of 16-bit and 32-bit data (WOR(P),DOR(P))
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 ( , ( +1, ) ( +1, ) ( +1, ))
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.
: 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)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
–– ––
Basic
Process
High
performance
Redundant
Universal
D
S
D D D
S S
D D
Command
Command
P
S D
S D
WOR, DOR
WORP, DORP
indicates an instruction symbol of WOR/DOR.
S
D
S
D
D
S
D
1001110011001100
11
0
1111111
00
1111
b15 b8 b0b7
b0b7b15 b8
OR
1 111110000 11
b0b7b15 b8
00 00
D
S
D