The Boolean folder in the control block palette contains blocks that perform Boolean functions on one or more inputs, producing a single output. The number of inputs to a Boolean logic block depends on the type of Boolean function. You cannot reduce the input count lower than the number of default connections. The Logic View allows you to add multiple connections from the output of the block.
Type |
Description |
Inputs 1 |
Outputs1 |
---|---|---|---|
AND |
Provides AND logic where all inputs defined must be True for the output to be True. |
I1 (Boolean) I2 (Boolean) |
Present Value (Boolean) |
NOT |
Provides NOT logic where the input must be False for the output to be True. |
I1 (Boolean) |
Present Value (Boolean) |
OR |
Provides OR logic where at least one input must be True for the output to be True. |
I1 (Boolean) I2 (Boolean) |
Present Value (Boolean) |
Reliability Check (Boolean) 2 |
Provides the ability to check reliability of the source value. The Present Value is set to True if the input reliability is Reliable; otherwise the Present Value is False. |
Input (Boolean) |
Present Value (Boolean) |
Reliability Check (Enum) |
Same as previous |
Input (Enum) |
Present Value (Boolean) |
Reliability Check (Float) |
Same as previous |
Input (Float) |
Present Value (Boolean) |
Reliability Merge (Boolean) 2 |
Provides the ability to set the reliability of the value being sent. When Input is Reliable is True, the Present Value is set to the current Input with a Reliability of Reliable. When Input is Reliable is False, the Present Value is held at its last value with a Reliability of Unreliable. |
Input (Boolean) Input is Reliable (Boolean) |
Present Value (Boolean) |
Reliability Merge (Enum) |
Same as previous |
Input (Enum) Input is Reliable (Boolean) |
Present Value (Enum) |
Reliability Merge (Float) |
Same as previous |
Input (Float) Input is Reliable (Boolean) |
Present Value (Float) |
Supervisor Status |
Provides the communication status of the Supervisory Controller to which the Controller is connected. For example, use this block to take a specific action if the communication status is False. When communications are active, this block sets its Boolean output to True. When communications are lost, this block sets its Boolean output to False after one minute. This block can only exist within a Control Sequence or a Control Activity within a Control Sequence. You can also add the Supervisor Status as a module by right-clicking the Setpoint/Miscellaneous and State Generation columns in the Control tab and clicking New. The timer duration of the Supervisor Status block is one minute. |
Present Value (Boolean) |
|
XOR |
Provides Exclusive OR logic where exactly one of the inputs (not both) must be True for the output to be True, otherwise the output is False. |
I1 (Boolean) I2 (Boolean) |
Present Value (Boolean) |