OR (2)


OR (2)

ID                          2

 

 

Application:

PLC

SIM

 

Group: LOGIC

 

Short description:

The function performs the operation of a multi-input OR gate.

 

Inputs (1-10):

no.

type

impulse

mark

notes

1

B

no

IN1

Binary input no. 1

2

B

no

IN2

Binary input no. 2

10

B

no

IN10

Binary input no. 10

 

Outputs (1):

no.

type

Impulse

mark

notes

1

B

no

OUT

Function output value

 

Settings:

no.

type

name

notes

1

I

Inputs

Number of function inputs

 

Function operation:

Function performs the operation of a multi-input OR logic gate. The following is the truth table for the OR function for the two input signals X and Y. When creating a function block, specify the number of function inputs (in the range 2 to 10).
 

Truth table for the OR block

     Y

X

0          

1         

0

0

1

1

1

1

 

According to the presented truth table, the function returns high state on the OUT output only when at least one of its IN inputs is high. When a low state appears on each of the IN inputs, the function returns a low state.

 

R registers and M markers used: none