Übersicht Interpolation

Dieser Funktionsbaustein führ eine Interpolation zwischen mehreren Punkten durch. Hierzu werden mindestens zwei Punkte an der X und Y Achse angegeben zwischen denen interpoliert wird. Der Input Actual value wird auf der X Achse aufgetragen, der entsprechende Value der Y Achse wird am Output ausgegeben.


Inputs

FG
Enable
Enable. With 1 the calculated value is sent to the output, otherwise 0. If the input is not connected, the calculation is always enabled.
IW
Actual value*
Actual value
X1
X axis 1
Point 1 on the X axis (horizontal)
Y1
Y-axis 1 Point 1 on the Y axis (vertical)

Outputs

A1
Setpoint
Calculated Value
ST
Step
Step from which the gradient was calculated, this output can be used for a step switch for example.

Parameter

Count Inputs
Number of X/Y pairs
Limit
Limitation. With this option the value is limited to the maximum XY values, i.e. the calculated value cannot be smaller or larger than maximum XY values. Without limitation, the value is calculated linearly downwards and upwards.



The following graphic illustrates the function:






See also general parameters of all function blocks.