BAC_Scale_04

Functional description

The template BAC_Scale_04 represents a linear interpolation with 4 interpolation points and can be used to generate a characteristic curve. The characteristic curve is determined by the interpolation points [X1/Y1] to [X4/Y4].

BAC_Scale_04 1:

Interface

BAC_Scale_04 2:

VAR_INPUT

rX     : REAL;   

rX: Input value of the characteristic curve

VAR_OUTPUT

rY     : REAL; 

rY: Calculated output value of the characteristic curve

Program description

Instance

Type

Task

X1

FB_BACnetAVSetpoint

The AV object is used to specify the value for interpolation point X1

X2

FB_BACnetAVSetpoint

The AV object is used to specify the value for interpolation point X2

X3

FB_BACnetAVSetpoint

The AV object is used to specify the value for interpolation point X3

X4

FB_BACnetAVSetpoint

The AV object is used to specify the value for interpolation point X4

Y1

FB_BACnetAVSetpoint

The AV object is used to specify the value for interpolation point Y1

Y2

FB_BACnetAVSetpoint

The AV object is used to specify the value for interpolation point Y2

Y3

FB_BACnetAVSetpoint

The AV object is used to specify the value for interpolation point Y3

Y4

FB_BACnetAVSetpoint

The AV object is used to specify the value for interpolation point Y4

Scale

FB_BA_Chrct04

The function block FB_BA_Chrct04 represents a linear interpolation with four interpolation points and can be used to generate a characteristic curve

Y

FB_BACnetAVDisplay

Output of the calculated output value of the characteristic curve

Version history

Version number

Comments

1.0.1

First release