The Xor function block has six input Xor function. Each input may be individually inverted (NOT). The Xor ootput becomes "true" if exactly one input is "true".
|
|
Figure 1: Xor Function Block |
Figure 2: Xor Property Sheet |
Figure 3: Xor Logic Diagram
Unconnected or invalid inputs default to "true", without negation, to have no effect on the result.
Figure 4: Xor with trueDelay and falseDelay
Input
Description |
|
In A - In F |
These are Boolean point 6 input slots. |
Table 1: Inputs of Xor Function
Output
Description |
|
Out |
Out=1 if an odd number of inputs is 1. |
Table 2: Output of Xor Function
Parameter
Description |
|
In Out Negations |
If this option (Nano Negate Control) is set to "true", it acts as Not function block input or output. It negates inputs and outputs. If it is "false", it acts as an Xor function block. |
Out Save |
Master Sync Enabled : If you set it to "true" the last output will be set as output for one cycle after the controller restarts. The application can use it to return to the same state before the controller restart. Out: To enable or disable the Out feature. |
Table 3: Parameter of Xor Function
Below Table shows the basic operation of Xor.
Input (B) |
Input (C) |
Output |
|
0 (false) |
0 (false) |
0 (false) |
0 (false) |
0 (false) |
0 (false) |
1 (true) |
1 (true) |
0 (false) |
1 (true) |
0 (false) |
1 (true) |
0 (false) |
1 (true) |
1 (true) |
0 (false) |
1 (true) |
0 (false) |
0 (false) |
1 (true) |
1 (true) |
0 (false) |
1 (true) |
0 (false) |
1 (true) |
1 (true) |
0 (false) |
0 (false) |
1 (true) |
1 (true) |
1 (true) |
0 (false) |
Table 4: Basic Operation of Xor
If only one of In A -In F is "true" the output is set to "true". Otherwise "false".
Figure 5: XOR Function Block |
|
With Not enable for In A and In D
Figure 6: XOR Function Block with Not Enable |
Figure 7: XOR Property Sheet with Not Enable |
Refer to General Description for general information about IRM N4 Function Blocks.