﻿### Reference function

The comparator compares the value received (I) at the input with a configured reference value (R) and evaluates whether the comparison is correct (result = true) or not (result = false) according to the specified reference function here.

*equal (E = V)*: The comparator output is "ON" (true) if the input is equal to the reference value. Otherwise the output is "OFF" (false).

*unequal (E ≠ V)*: The comparator output is "ON" (true) if the input is unequal to the reference value. If the input value is equal to the reference value, the output is "OFF" (false).

*greater (E > V)*: The comparator output is "ON" (true) if the input is greater than the reference value. If the input value is less than or equal to the reference value, the output switches "OFF" (false).

*greater than or equal to (E > V)*: The comparator output is "ON" (true) if the input is greater than the reference value or equal to the reference value. If the input value is less than the reference value, the output switches "OFF" (false).

*less than (E < V)*: The comparator output is "ON" (true) if the input is less than the reference value. If the input value is greater than or equal to the reference value, the output switches "OFF" (false).

*less than or equal to (E ≤ V)*: The comparator output is "ON" (true) if the input is less than the reference value or equal to the reference value. If the input value is greater than the reference value, the output switches "OFF" (false).

*Range testing less than (V1 < E < V2)*: There are two reference values. The comparator output is "ON" (true) if the input is greater than the first reference value or less than the second reference value. If the input value is less than the first reference value or equal to the first reference value or greater than the second reference value or equal to the second reference value, the output switches "OFF" (wrong).

*Range testing less than or equal to (V1 ≤ E ≤ V2)*: There are two reference values. The comparator output is "ON" (true) if the input is greater than or equal to the first reference value and less than or equal to the second reference value. If the input value is less than the first reference value or greater than the second reference value, the output switches "OFF" (false).
