XOR of 2 Input Variables

Function name XORL_010
Function version 1.0
Function state stable
Compatibility with IEC61131-3 compatible

Graphic symbol :

Input / Output :

Name Belonging Group Access Types of data Description
EN Left Power Flow IEC1131-3 enable input
A Normal R , RW F , B , W , L , S Input variable A
B Normal R , RW F , B , W , L , S Input variable B
Q Normal W , RW F , B , W , L , S Logic result of the operation Q = (A) XOR (B)
ENO Right Power Flow IEC1131-3 enable output

Description :

The function XORL executes the logic XOR between the parameters A and B based on the following table:

A B Q
Equal to zero Equal to zero Zero
Equal to zero Different from zero One
Different from zero Equal to zero One
Different from zero Different from zero Zero