Comparator

job-comparator-icon.svg

 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

Outputs

  • OUT
    Sends true or false, depending on the result of the comparison. The comparison will be triggered with each input event.


Configuration

Comparisons

  • Greater than (>)
    The value from IN1 is greater than the value from IN2

  • Smaller than (<)
    The value from IN1 is smaller than the value from IN2

  • Greater or equal (>=)
    The value from IN1 is greater than or equal to the value from IN2

  • Smaller or equal (<=)
    The value from IN1 is smaller than or equal to the value from IN2

  • Equal (=)
    The value from IN1 is equal to the value from IN2

  • Unequal (<>)
    The value from IN1 is unequal to the value from IN2.

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.


///