Compare

The compare function works by comparing the values present at the two inputs and switches the output accordingly.

You can change the following settings in the operator panel:

Type
Select the type of comparison

Hysteresis
If you require hysteresis, you can define it here.

Sample time
This is the time for which the comparison must be fulfilled for the output to be switched to true.