BAC_Hys_02
Functional description
The template represents a hysteresis function with dynamic switching points.
Interface
VAR_INPUT
bEn : BOOL;
rX : REAL;
bEn: Enable
rX: Actual value
rSp: Set value
VAR_OUTPUT
bQ : BOOL;
bQ: Output current state of the hysteresis-function
Program description
Instance | Type | Task |
---|---|---|
En | The BV object is used to display the hysteresis function enable | |
X | The AV object indicates the actual value, which is linked to the template via the input variable rX | |
Sp | The AV object indicates the set value, which is linked to the template via the input variable rSp | |
HysOn | AV object for input of the upper limit of the hysteresis function | |
HysOff | AV object for input of the lower limit of the hysteresis function | |
Hys | The function block Hys is the core of the hysteresis function | |
Q | The BV object indicates the current state of the hysteresis function |
Version history
Version number | Comments |
---|---|
1.0.1 | First release |