BAC_Hys_02

Functional description

The template represents a hysteresis function with dynamic switching points.

BAC_Hys_02 1:

Interface

BAC_Hys_02 2:

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

FB_BACnetBV1204

The BV object is used to display the hysteresis function enable

X

FB_BACnetAVDisplay

The AV object indicates the actual value, which is linked to the template via the input variable rX

Sp

FB_BACnetAVDisplay

The AV object indicates the set value, which is linked to the template via the input variable rSp

HysOn

FB_BACnetAVSetpoint

AV object for input of the upper limit of the hysteresis function

HysOff

FB_BACnetAVSetpoint

AV object for input of the lower limit of the hysteresis function

Hys

FB_BA_Swi2P

The function block Hys is the core of the hysteresis function

Q

FB_BACnetBVDisplay

The BV object indicates the current state of the hysteresis function

Version history

Version number

Comments

1.0.1

First release