Xor (Exclusive Or) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

6.18 XOR (Exclusive OR)

6.18 XOR (Exclusive OR)

Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S1
Calculation target data 1 (device address or constant)
S2
Calculation target data 2 (device address or constant)
D
Calculation result data (device address)
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
S2
D
(Note 1)
Cannot be specified when the operation unit is 16-bit integer (SS, US).
(Note 2)
Index register (I0 to IE)
(Note 3)
Can be specified only when the operation unit is signed integer (SS, SL).
(Note 4)
Can be specified only when the operation unit is unsigned integer (US, UL).
Outline of operation
● This instruction calculates the exclusive OR for [S1] and [S2] by the operation unit [i].
● The calculation result is stored in the address starting with [D].
{ [S1] ˄ /[S2] } ˅ { /[S1] ˄ [S2] } → [D]
6-38
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
(Note 1)
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
IX
K
(N
(N
(N
H
SF
ote
ote
ote
2)
3)
4)
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
D
" "
F

Advertisement

Table of Contents
loading

Table of Contents