Performing an XOR operation on 32-bit data
DXOR(P) [when two operands are set]
RnPCPU
RnCPU RnENCPU
(Process)
These instructions perform an XOR operation on the two sets of 32-bit binary data specified.
Ladder
(s)
FBD/LD
Not supported
( Page 326 DXOR(P) [when three operands are set])
■Execution condition
Instruction
DXOR
DXORP
Setting data
■Description, range, data type
Operand
Description
(s)
Exclusive OR data or the start device where exclusive OR
data is stored
(d)
Start device for storing the operation result
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
• In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
Operand
Bit
SA\X, SA\Y, SA\M, SA\SM, SA\B
(s)
(d)
6 BASIC INSTRUCTIONS
324
6.3 Logical Operation Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
Not supported
( Page 326 DXOR(P) [when three operands are set])
Range
-2147483648 to 2147483647
-2147483648 to 2147483647
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Word
SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD
Data type
Data type (label)
32-bit signed binary
ANY32
32-bit signed binary
ANY32
Constant
specification
LZ
K, H E
Constant
K, H
Others
$