OR
PROGRAM OR_DEMO
VAR
BOOL1,BOOL2,BOOL3: BOOL;
END_VAR
BOOL3:= BOOL1 OR BOOL2;
END_PROGRAM
The function performs a logical OR of two or more inputs.
Input | Type | Description |
---|---|---|
IN1.. | ANY_BIT | Input value |
Output | Type | Description |
---|---|---|
=> | ANY_BIT | Output value |