The IEC operator is used for the bitwise NOT of a bit operand.
NOT
When the respective input bit yields 0, the output bit also yields 1, and the other way around.
Permitted data types: BOOL, BYTE, WORD, DWORD, LWORD
BOOL
BYTE
WORD
DWORD
LWORD
Example 113. Examples
Result in Var1: 2#0110_1100
Var1
2#0110_1100
ST
Var1 := NOT 2#1001_0011;
FBD
Imprint
Privacy policy
Terms of use
Safety Instructions