Instructions
9.5 Polyline
9.5
Polyline
9.5.1
Compatibility with CPU and FW
The following table shows which version of Polyline can be used on which CPU:
CPU
S7-1200
S7-1500
9.5.2
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
interpolation is calculated according to the following formula:
With parameter Reset = TRUE, an alternative output value can also be specified using the
SubstituteOutput parameter.
508
FW
V4.2 or higher
V2.0 or higher
and x
with a linear interpolation. The linear
i
i+1
Polyline
V1.0
V1.0
Function Manual, 03/2017, A5E35300227-AC
PID control