Delta AS Series Programming Manual page 522

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0804
D
WXOR
Device
X
Y
M
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
Explanation
1.
This instruction applies the logical operator XOR to the binary representations in S
exclusive operation OR on each pair of corresponding bits, and stores the operation result in D.
2.
Only the DXOR instruction can use the 32-bit counter, but not the device E.
3.
The result in each position is 1 if the two bits are different, and 0 if they are the same.
Operand
P
S
, S
, D
1
2
S
T
C
HC
Pulse instruction
: Data source 1
S
1
: Data source 2
S
2
D : Operation result
Ch ap te r 6 Ap pl ie d Instruc ti ons
Logical exclusive OR operation
D
FR
SM
SR
16-bit instruction
AS
AS
1
Function
E
K
16#
"$"
F
32-bit instruction
AS
and S
. It performs the logical
2
6 - 2 4 3
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents