Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-12
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 , 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 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] [List Mode]
[Operation]
D
S
D
1001 000111 0011
b0b15b31 b16
OR
1111 000000 0011
b0b15b31 b16
1111
000
111
00
11
b31 b16 b0b15
+ 1
+ 1
+ 1
D
D
S
D
D
D
D
S
S
Step Instruction
Device
0000101110010001
11
00
11111111
000
1
b15 b8 b0b7
b0b7b15 b8
OR
1100110011110000
b0b7
b15
b8
D10
D20
D10