XOR (5)


XOR (5)

ID                          5

 

 

Application:

PLC

SIM

 

Group: LOGIC

 

Short description:

The function performs the operation of the XOR gate.

 

Inputs (2):

no.

type

impulse

mark

notes

1

B

no

IN1

Binary input no. 1

2

B

no

IN2

Binary input no. 2

 

Outputs (1):

no.

type

impulse

mark

notes

1

B

no

OUT

Function output value

 

Settings: none

Function operation:

The function performs the operation of the XOR logic gate. Below is the truth table for the XOR function for the two input signals X and Y.

 

Truth table for the XOR block

        Y

X          

0      

1      

0

0

1

1

1

0

 

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

 

R registers and M markers used: none