ECODRIVE03-FL*-04VRS Logic Task 7-5
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
XOR Logic:
Exclusive OR logic of the current value with the value of the operand
Exclusive OR logic of the current value with the negated value of the
operand
Exclusive OR logic of the current value with the logical value of the
following term
Exclusive OR logic of the current value with the negated logical value of
the term that follows.
Examples: XOR Logic
FBS AWL Type
=1
bool1
bool2 bool3
LD bool1
XOR bool2
ST bool3
bool1: BOOL
bool2: BOOL
bool1: BOOL
bool1 1 0 1 0
bool2 1 1 0 0
bool3 0 1 1 0
FBS AWL Type
=1
bool1
bool2 bool3
LD bool1
XORN bool2
ST bool3
bool1: BOOL
bool2: BOOL
bool1: BOOL
bool1 1 0 1 0
bool2 1 1 0 0
bool3 1 0 0 1
XOR
XORN
XOR(
XORN(