Siemens SIMATIC S7-1200 Function Manual page 509

Pid control
Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

Polyline data
The value pairs for the polyline are contained in the Static area of the instruction.
Note
• The minimum number of value pairs to be configured is 2.
• The maximum number of value pairs to be configured is 50.
• For a valid configuration, the x values must be specified in ascending order.
To allow the polyline data to be changed without the changes taking effect immediately, the
value pairs of the polyline are duplicated and contained in the following structures:
● UserData
The polyline data in this structure can be edited.
Make use of this structure to specify or change the polyline data. Changes in this
structure do not affect the interpolation calculation until the check and duplication of the
data to the WorkingData structure is initiated. This happens by setting Validate = TRUE
or automatically during the first processing of Polyline after the change of operating state
of the CPU from STOP to RUN.
The preassignment of values in this structure does not represent a valid configuration. To
use the values for the interpolation calculation, change the tags to valid values.
● WorkingData
The polyline data in this structure cannot be edited. This data is used for the interpolation
calculation. Do not manually change the data in this structure.
Both structures have the same data type and thus the same content:
● NumberOfUsedPoints
Number of points used for the interpolation calculation.
● Point
The array with 50 elements contains value pairs of points Point[i].x and Point[i].y with
index "i" from 1 to 50.
PID control
Function Manual, 03/2017, A5E35300227-AC
Instructions
9.5 Polyline
509

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500

Table of Contents