The IEC operator is used for the bitwise OR of bit operands.
OR
When at least one of the input bits yields 1, the output bit also yields 1; otherwise 0.
Permitted data types: BOOL, BYTE, WORD, DWORD, LWORD
BOOL
BYTE
WORD
DWORD
LWORD
Example 115. Examples
Result in Var1: 2#1001_1011
Var1
2#1001_1011
ST
Var1 := 2#1001_0011 OR 2#1000_1010;
FBD
Imprint
Privacy policy
Terms of use
Safety Instructions