Logic

OR Block

Logical OR gate - at least one input must be 1 (true) for output to be 1

Open OR in BlockWerk →

# OR Gate Block

Description

The OR gate implements logical OR operation. Output is 1 (true) if ANY input is 1 (true).

Truth Table (2 inputs)

| Input 1 | Input 2 | Output | | ------- | ------- | ------ | | 0 | 0 | 0 | | 0 | 1 | 1 | | 1 | 0 | 1 | | 1 | 1 | 1 |

Parameters

Number of Inputs

Number of inputs to the OR gate (2-10).

Default: 2

numInputs

Type: number (Default: 2)

Number of Inputs parameter description placeholder.

operation

Type: string (Default: "OR")

Operation parameter description placeholder.

Logic

Typical Applications

Examples

Remarks

See Also