Operator - Performs an exclusive 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

Second boolean input.

Truth table

IN1

IN2

Q

0

0

0

0

1

1

1

0

1

1

1

0

Remarks

The block is called =1 in FBD and LD languages.

ST Language

Q := IN1 XOR IN2;
Q := IN1 XOR IN2 XOR IN3;

FBD Language

Fixed_Image

LD Language

First input is the rung. The rung is the output:

Fixed_Image

Fixed_Image See also

AND  OR  NOT


Created with the Personal Edition of HelpNDoc: Easily create HTML Help documents