Siemens SIMATIC S7-1200 Function Manual page 258

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

Advertisement

Instructions
9.1 PID_Compact
Tag
Config.InputScaling.UpperPointIn
Config.InputScaling.LowerPointIn
Config.InputScaling.UpperPointOut
Config.InputScaling.LowerPointOut
CycleTime.StartEstimation
CycleTime.EnEstimation
CycleTime.EnMonitoring
CycleTime.Value
CtrlParamsBackUp.Gain
CtrlParamsBackUp.Ti
CtrlParamsBackUp.Td
CtrlParamsBackUp.TdFiltRatio
CtrlParamsBackUp.PWeighting
CtrlParamsBackUp.DWeighting
CtrlParamsBackUp.Cycle
258
Data type
Default
REAL
27648.0
REAL
0.0
REAL
100.0
REAL
0.0
BOOL
TRUE
BOOL
TRUE
BOOL
TRUE
REAL
0.1
REAL
1.0
REAL
20.0
REAL
0.0
REAL
0.2
REAL
1.0
REAL
1.0
REAL
1.0
Description
Scaling Input_PER high
Input_PER is converted to percent based on the two
value pairs UpperPointOut, UpperPointIn and Lower-
PointOut, LowerPointIn.
Scaling Input_PER low
Input_PER is converted to percent based on the two
value pairs UpperPointOut, UpperPointIn and Lower-
PointOut, LowerPointIn.
Scaled high process value
Input_PER is converted to percent based on the two
value pairs UpperPointOut, UpperPointIn and Lower-
PointOut, LowerPointIn.
Scaled low process value
Input_PER is converted to percent based on the two
value pairs UpperPointOut, UpperPointIn and Lower-
PointOut, LowerPointIn.
If CycleTime.StartEstimation = TRUE, the automatic
determination of the cycle time is started. Cy-
cleTime.StartEstimation = FALSE once measurement
is complete.
If CycleTime.EnEstimation = TRUE, the PID_Compact
sampling time is calculated.
If CycleTime.EnEstimation = FALSE, the
PID_Compact sampling time is not calculated and you
need to correct the configuration of CycleTime.Value
manually.
If CycleTime.EnMonitoring = FALSE, the
PID_Compact sampling time is not monitored. If it is
not possible to execute PID_Compact within the sam-
pling time, no error (ErrorBits=0800h) is output and
PID_Compact does not switch to "Inactive" mode.
PID_Compact sampling time in seconds
CycleTime.Value is determined automatically and is
usually equivalent to the cycle time of the calling OB.
Saved proportional gain
You can reload values from the CtrlParamsBackUp
structure with LoadBackUp = TRUE.
Saved integral action time [s]
Saved derivative action time [s]
Saved derivative delay coefficient
Saved proportional action weighting factor
Saved derivative action weighting factor
Saved sampling time of PID algorithm
Function Manual, 03/2017, A5E35300227-AC
PID control

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500

Table of Contents