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].
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 | |
X3 | The AV object is used to specify the value for interpolation point X3 | |
X4 | The AV object is used to specify the value for interpolation point X4 | |
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 | |
Y3 | The AV object is used to specify the value for interpolation point Y3 | |
Y4 | The AV object is used to specify the value for interpolation point Y4 | |
Scale | The function block FB_BA_Chrct04 represents a linear interpolation with four 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 |