Siemens SIMATIC S7-1200 Function Manual page 519

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

Advertisement

ErrorBits
Description

 ( DW#16#...)
0000_0000
No error is pending.
0000_0001
The Output parameter was limited to -3.402823e+38 or +3.402823e+38.
If the interpolation value is output at the output (Reset = FALSE and ErrorBits < 16#0001_0000), check
the following tags used in the interpolation calculation:
Input
WorkingData.Point[i].x
WorkingData.Point[i].y
If a substitute output value is output at the Output parameter when Reset = FALSE and ErrorBits ≥
16#0001_0000, check the Input or SubstituteOutput parameter, depending on the value set at the Er-
rorMode tag.
If Reset = TRUE, check the SubstituteOutput parameter.
If the Output parameter is no longer limited, the error that is stored at the Error parameter is cleared.
0000_0002
One or more tags in the UserData structure have invalid values but valid polyline data is available in the
WorkingData structure.
The polyline data in the UserData structure was checked because the Validate parameter is set to
TRUE while the Reset parameter is simultaneously set to FALSE.
The polyline data in the UserData structure is not transferred to the WorkingData structure so that the
changes made in the UserData structure will not become effective.
The FB Polyline continues the interpolation calculation with the unchanged values in the WorkingData
structure.
Ensure that the following conditions are met when the Validate parameter is set to TRUE:
1. 2 ≤ UserData.NumberOfUsedPoints ≤ 50
2. UserData.Point[j].x < UserData.Point[j+1].x with index j = 1..(UserData.NumberOfUsedPoints - 1)
3. -3.402823e+38 ≤ UserData.Point[i].x ≤ 3.402823e+38 with index i =
1..UserData.NumberOfUsedPoints
4. -3.402823e+38 ≤ UserData.Point[i].y ≤ 3.402823e+38 with index i =
1..UserData.NumberOfUsedPoints
5. UserData.Point[i].x and UserData.Point[i].y are valid REAL values (≠ NaN) with index i =
1..UserData.NumberOfUsedPoints
The error bit at the Error parameter is deleted when
The Validate parameter is set to FALSE.
or
The Reset parameter is set to TRUE
or
The Validate parameter is set to TRUE while the Reset parameter is set to FALSE and the five con-
ditions for UserData named above are met.
PID control
Function Manual, 03/2017, A5E35300227-AC
Instructions
9.5 Polyline
519

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500

Table of Contents