Description
Original instructions
Function description
This procedure linearizes characteristic curves using interpolation. The procedure works with variable support point widths.
The number of X/Y_Coord_SupportPoint_n inputs can be increased from 2 to a maximum of 30 by vertically resizing the block frame. This corresponds to a maximum of 15 support points.
The number of inputs must be even.
The InputVariable values must be in ascending order.
EN and ENO can be configured as additional parameters. It is recommended to use the ENO output parameter as an error indicator.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD InputVariable
LOOKUP_TABLE1 X_Coord_SupportPoint_1,
              Y_Coord_SupportPoint_1, OutputVariable,
              IndicatorX_GT_Xm, IndicatorX_LT_X1
Representation in ST
Representation:
LOOKUP_TABLE1 (InputVariable, X_Coord_SupportPoint_1,
               Y_Coord_SupportPoint_1, OutputVariable,
               IndicatorX_GT_Xm, IndicatorX_LT_X1);
Parameter description
Description of input parameters:
Parameter
Data type
Description
InputVariable
REAL
Input variable
X_Coord_SupportPoint_1
X coordinate 1. Support point
Y_Coord_SupportPoint_1
REAL
Y coordinate 1. Support point
X_Coord_SupportPoint_1(n-1)
REAL
X coordinate . Support point n=max 30
Y_Coord_SupportPoint_(n)
REAL
Y coordinate . Support point n=max 30
Description of output parameters:
Parameter
Data type
Description
OutputVariable
REAL
Output variable
IndicatorX_GT_Xm
Display: X > Xm
IndicatorX_LT_X1
BOOL
Indicate X < X1
Runtime error
NOTE: For a list of all block error codes and values, see Tables of Error Codes for the CONT_CLC Library.