Control is executed according to the left part of the figure (
OO/CO = @OO) or according to the right part of the figure (
OO/CO = @CO).

Parameters:
DeadBand = AC (>0) - real valueHysteresis = BC (>0) - real value
Input variables:
IV (input value) - real valueRV (required value) - real value (constant or continuous signal)
Output variables:
OO (opening output) - value of Boolean typeCO (closing output) - value of Boolean type
Function:
- State1: IV <= RV - AD, then OO=1 and CO=0
- State2: RV - AD < IV < RV - AB, then OO is not changing and CO=0
- State3: RV - AB <= IV <= RV + AB, then OO=CO=0
- State4: RV + AB < IV < RV + AD, then OO=0 and CO is not changing
- State5: RV + AD <= IV, then OO=0 and CO=1