Exclusive OR NOT Connection
The content of the accumulator is connected with the inverted operand defined in the operand field by a logical XOR operation. The result is transferred to the accumulator.
Operator only available in IL programming language.
All operands must be of the same data type.
Valid operands for this operator must be of one of the following data types: (BOOL, WORD, DWORD)
Input 1 |
Input 2 |
Output | |
---|---|---|---|
Signal | 0 |
0 |
1 |
1 |
0 |
0 |
|
0 |
1 |
0 |
|
1 |
1 |
1 |
LD |
var_1 |
(* Load var_1 in accu *) |
XORN |
var_2 |
(* Perform an XOR of accu with inverted var_2; store result in accu *) |
ST |
var_3 |
(* Store accu in var_3 *) |