Name :XOR operations

Symbol:XOR

Illustrate:

        XOR operands are performed. If the inputs are different, then the result bit is 1, otherwise it is 0.

Image:

Parameter:

Parameter | Statement | Type | Description
--- | --- | --- | ---
IN1 | Input | BOOL |
    The first input value
IN2 | Input | BOOL |
    The second input value
OUT | Output | BOOL |
    The result of the calculation

Example:

LD:

ST:

TagOut:=XOR(IN1:=TagIn1,IN2:=TagIn2);

Interpretation:

parameter | operand | value
--- | --- | ---
IN1 | TagIn1 | input：TRUE
IN2 | TagIn2 | input：FALSE
OUT | TagOut | output：TRUE

    	Enter a different 1 and the result is 1.