Operator - Performs a logical OR of all inputs.

Inputs

Input

Data type

Description

IN1

BOOL

First boolean input.

IN2

BOOL

Second boolean input.

Outputs

Output

Data type

Description

Q

BOOL

Boolean OR of all inputs.

Truth table

IN1

IN2

Q

0

0

0

0

1

1

1

0

1

1

1

1

Remarks

In FBD language, the block may have up to 16 inputs. The block is called >=1 in FBD language. In LD language, an OR operation is represented by contacts in parallel.

ST Language

Q := IN1 OR IN2;
Q := IN1 OR IN2 OR IN3;

FBD Language

The block may have up to 16 inputs:

Fixed_Image

LD Language

Parallel contacts:

Fixed_Image

Fixed_Image See also

AND  XOR  NOT


Created with the Personal Edition of HelpNDoc: Qt Help documentation made easy