BAC_Scale_02
Functional description
The template BAC_Scale_02 represents a linear interpolation with two interpolation points and can be used to generate a characteristic curve. The characteristic curve is determined by the interpolation points [X1/Y1] to [X2/Y2].

Interface
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 | The AV object is used to specify the value for interpolation point X1 | |
X2 | The AV object is used to specify the value for interpolation point X2 | |
Y1 | The AV object is used to specify the value for interpolation point Y1 | |
Y2 | The AV object is used to specify the value for interpolation point Y2 | |
Scale | The function block FB_BA_Chrct02 represents a linear interpolation with two interpolation points and can be used to generate a characteristic curve | |
Y | Output of the calculated output value of the characteristic curve |
Version history
Version number | Comments |
---|---|
1.0.1 | First release |