Hysteretic Relay

The function block has the following pins at the input - In, On Val, Off  Val, minOn, minOff and an output pin, Out. This function takes an analog input and sets the output TRUE at OnVal and FALSE at OffVal while honoring min on and off times. From iteration to iteration, the Function Block keeps track of the current minimum on or off time. On power up/reset this timer is cleared.

Analog Inputs

Range
Input Name Low High Input Value Description
in >=- infinity <+ infinity unconnected val = invalid
Output = FALSE
invalid val = invalid
Output = FALSE
onVal >=- infinity >=- infinity unconnected val = invalid
Output = FALSE
invalid val = invalid
Output = FALSE
offVal >=- infinity >=- infinity unconnected val = invalid
Output = FALSE
invalid val = invalid
Output = FALSE
minOn 0 65535 unconnected val = 0
(sec) invalid val = 0
minOff 0 65535 unconnected val = 0
(sec) invalid val = 0

Output

Output Name Range Description
OUTPUT Any floating point value The output is set TRUE at OnVal and FALSE at OffVal while honoring min on and off times.