Instructions
9.5 Polyline
PID control
508 Function Manual, 03/2017, A5E35300227-AC
Compatibility with CPU and FW
The following table shows which version of Polyline can be used on which CPU:
S7-1500 V2.0 or higher V1.0
Description Polyline
Description
The Polyline instruction maps input value Input onto output value Output using a
characteristic curve. The characteristic curve is defined as a polyline with maximum 50
points. Linear interpolation is performed between the points. You can fit the polyline to the
desired characteristic curve using the number and configuration of the points.
The Polyline instruction can be used, for example, to linearize non-linear characteristics of
sensor or actuators.
Interpolation calculation
Polyline calculates the output value at the Output parameter for the input value at the Input
parameter that lies between point values x
i
and x
i+1
with a linear interpolation. The linear
interpolation is calculated according to the following formula:
With parameter Reset = TRUE, an alternative output value can also be specified using the
SubstituteOutput parameter.