Threshold Switch

The Threshold Switch analyzes an analog input value using two threshold values, and switches a digital output accordingly.
The two threshold values form a hysteresis, which prevents frequent toggling of the output when the analog value fluctuates around a threshold value.

Typical applications of the function block are fill level control, heating, ventilation and air conditioning technology, etc.

Table of Contents


Inputs

Abbreviation Summary Value Range
V Value




Outputs

Abbreviation Summary Description Value Range
O Output 0/1
Pon Pulse at rising edge Outputs a pulse at a rising edge. 0/1
Poff Pulse at falling edge Outputs a pulse at a falling edge. 0/1




Parameters

Abbreviation Summary Description Unit Value Range Default Value
Von Value output (O) turns on - 5
Voff Value output (O) turns off - 1
Pd Pulse duration Pulse duration at the outputs when an edge was detected. s 0...∞ 1
Rem Remanence input Remanence input: If active, the function block retains its previous state after a Miniserver reboot. - 0/1 0




Function

Von above Voff: The output (O) is activated as soon as the value of the input (V) exceeds the threshold (Von) and deactivated when (V) falls below the threshold (Voff):

Von below Voff: The output (O) is deactivated as soon as the value of the input (V) exceeds the threshold (Voff) and activated when (V) falls below the threshold (Von):