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

AbbreviationSummaryValue Range
VValue




Outputs

AbbreviationSummaryDescriptionValue Range
OOutput0/1
OnPulse at rising edgeOutputs a pulse at a rising edge.0/1
OffPulse at falling edgeOutputs a pulse at a falling edge.0/1




Parameters

AbbreviationSummaryDescriptionUnitValue RangeDefault Value
VonValue output (O) turns on-5
VoffValue output (O) turns off-1
PdPulse durationPulse duration at the outputs when an edge was detected.s0...∞1
RemRemanence inputRemanence input: If active, the function block retains its previous state after a Miniserver reboot.
The state of the function block is saved:
– When saving to the Miniserver
– At a planned reboot
– Before a backup
– Once per hour
The data is saved on the SD card.
-0/10



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):

If Von and Voff are equal, the output activates only when the value exactly equals Von/Voff.