Lib.Mervis.v1_0.Hysteresis
A helper block used for comparing two values with hysteresis between transitions.
program test var hyst: lib.mervis.v1_0.Hysteresis; end_var hyst(Input := ..., SetPoint := ..., Hysteresis := 5); end_program
Name | Data Type | Retain | Mandatory Connection | Meaning |
Input | real | No | Yes | Input value |
SetPoint | real | No | Yes | Desired value |
Hysteresis | real | No | No | Hysteresis |
Name | Data Type | Meaning |
Output | bool | Output |
The block compares two variables - Input and SetPoint. The output is set as follows: