
Function Blocks
XOR Function Block
438
HC900 Hybrid Control Designer Function Block Reference Guide
Revision 11
2/07
XOR Function Block
Description
The
XOR
label stands for the
Exclusive OR
Boolean operation.
This block is part of the
Logic
and
Fast Logic
categories.
Function
Turns a digital output signal (OUT) ON if only one of two digital input signals (X, Y) is ON. Otherwise,
the output is OFF.
•
If X = OFF and Y = ON, then:
OUT = ON.
•
If X = ON and Y = OFF, then:
OUT = ON.
•
If X = ON and Y = ON, or X = OFF and Y = OFF, then
OUT = OFF.
Input
X
= First Digital Signal
Y
= Second Digital Signal
Output
OUT
= resultant digital signal
Block properties
Double click on the function block to access the function block properties dialog box.
Example
H
Figure 124 shows a Function Block Diagram using a XOR function block. In the example, if pressure input
1 or 2 is high or low, flow is disabled. If only one pressure input is ON, flow is enabled.
Figure 124
XOR function block example