The DBAND parameter enables a dead zone to be specified, within which deviation between IN1 and Inputvalue2 will be regarded as zero. If the deviation IN1 - IN2 remains within this zone, the EQUAL output is set to 1.
Dead zone specification
The HYST parameter enables a hysteresis effect to be generated, if the deviation between IN1 and IN2 decreases: starting from a situation where the GREATER or LESS has the value 1, the EQUAL output will only take the value 1 when the deviation IN1 - IN2 is less than DBAND - HYST
Generating a hysteresis effect
In this case, the block behaves like a classic comparison function:
-
If IN1 is always greater than IN2, then GREATER = 1
-
If IN1 is equal to IN2, then EQUAL = 1
-
If IN1 is less than IN2, then LESS = 1
Classic comparison function (DBAND = 0 and HYST = 0)