[OR] OR operation
Description
This instruction generates logic OR operations at the input values. The output value is 1 if at least one input value is 1.+ The output value is 0, if all input values are 0.
The number of IN input parameters can be changed.
Truth table (example of n = 2)
IN1 | IN2 | OUT |
|---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
Parameters
Parameters | Declaration | Data type | Description | Default |
|---|---|---|---|---|
IN1 | Input | BOOL | Input value 1 | 0 |
INn | Input | BOOL | Input value "n" | 0 |
OUT | Output | BOOL | Output value | 0 |