The comparator checks whether both input values match the set comparison. If comparison is possible, the result is sent in the form of a Boolean on the output.
A default value can be specified for input IN2. In this case, it is sufficient to send input values on IN1.
Inputs and Outputs
Inputs
-
GATE (see Logic Elements | Datapoint Gate)
-
IN 1
-
IN 2
Can have a default value.
Outputs
-
OUT
Sendstrueorfalse, depending on the result of the comparison. The comparison will be triggered with each input event.
Configuration
Comparisons
-
Greater than (>)
The value fromIN1is greater than the value fromIN2. -
Smaller than (<)
The value fromIN1is smaller than the value fromIN2. -
Greater or equal (>=)
The value fromIN1is greater than or equal to the value fromIN2. -
Smaller or equal (<=)
The value fromIN1is smaller than or equal to the value fromIN2. -
Equal (=)
The value fromIN1is equal to the value fromIN2. -
Unequal (<>)
The value fromIN1is unequal to the value fromIN2.
Default Value for Input 2
Provide a static value for when either the second input is not connected or has no value yet.
For the logic element to work properly, it is a minimum requirement that the input IN1 is linked and a default value is specified for IN2.
///