OR

The IEC operator is used for bitwise OR of bit operands.

If at least one of the input bits is 1, the output bit is 1, otherwise 0.

Permitted data types: BOOL, BYTE, WORD, DWORD, LWORD

Examples:

Result: nVar is 2#1001_1011.

ST:

nVar := 2#1001_0011 OR 2#1000_1010 

FBD:

OR 1: