Load NOT
The accumulator is loaded with the negated operand defined in the operand field.
Valid operands for this operator must be of one of the following data types: (BOOL)
Operator only available in IL programming language.
var_1, var_2 and var_3 must be of data type BOOL.
In the POU header, all input and output variables are declared that are used for programming this function.
LDN |
var_1 |
(* Load inverted var_1 in accu *) |
ST |
var_3 |
(* Store accu in var_3 *) |
LDN |
var_2 |
(* Load inverted var_2 in accu *) |
ST |
var_1 |
(* Store accu in var_1 *) |
LD |
var_3 |
(* Load var_3 in accu *) |
ST |
var_2 |
(* Store accu in var_2 *) |