Differential Threshold Switch

The Differential Threshold Switch analyses an analogue input value using two threshold values, and switches a digital output accordingly.

The first threshold is specified with parameter V.
The second threshold is specified with parameter D as a differential value relative to V.
The functionality differs, depending on whether D is positive or negative.

Table of Contents


Inputs

Abbreviation Summary Description Value Range
AI Analogue input Input for the analogue value to be analysed.




Outputs

Abbreviation Description
Q The output switches depending on the set threshold values.
Qon Outputs a pulse when Q is turned on.
Qoff Outputs a pulse when Q is turned off.




Parameters

Abbreviation Summary Description Value Range Default Value
V Threshold value First threshold value V, absolute value 5
D Differential value Differential value (delta), relative to V 2
Rem Remanence input Remanence input: If active, the function block retains its previous state after a Miniserver reboot. - 0




Function

Function when differential value is positive:
The second threshold value is above V (V+D).
Output Q switches on when the input value is between the threshold values.
Example: V: 5, D: 2
The output is On when the input value is between 5 and 7.
The output remains off above and below these values:

Function when differential value is negative:
The second threshold value is below V (V-D).
Output Q is switched on when the input value exceeds V and switched off when the input value drops below V-D.
Example: V: 5, D: -2
When the input value exceeds 5, the output switches on. It remains on above this value.
If the input value drops below 3, the output switches off. Below that it remains off: