Operator ‘NOT’¶
This IEC operator is used for the bitwise NOT of a bit operand.
When the respective input bit yields 0, the output bit also yields 1, and vice-versa.
Permitted data types: BOOL, BYTE, WORD, DWORD, LWORD
Examples
Result in var1: 2#0110_1100
ST:
var1 := NOT 2#1001_0011;
FBD: