Instructions
9.1 PID_Compact
PID control
258 Function Manual, 03/2017, A5E35300227-AC
Config.InputScaling.UpperPointIn REAL 27648.0 Scaling Input_PER high
Input_PER is converted to percent based on the two
value pairs UpperPointOut, UpperPointIn and Lower-
Config.InputScaling.LowerPointIn REAL 0.0 Scaling Input_PER low
Input_PER is converted to percent based on the two
value pairs UpperPointOut, UpperPointIn and Lower-
Config.InputScaling.UpperPointOut REAL 100.0 Scaled high process value
Input_PER is converted to percent based on the two
value pairs UpperPointOut, UpperPointIn and Lower-
Config.InputScaling.LowerPointOut REAL 0.0 Scaled low process value
Input_PER is converted to percent based on the two
value pairs UpperPointOut, UpperPointIn and Lower-
CycleTime.StartEstimation BOOL TRUE If CycleTime.StartEstimation = TRUE, the automatic
determination of the cycle time is started. Cy-
cleTime.StartEstimation = FALSE once measurement
CycleTime.EnEstimation BOOL TRUE 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
CycleTime.EnMonitoring BOOL TRUE 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.
CycleTime.Value REAL 0.1 PID_Compact sampling time in seconds
CycleTime.Value is determined automatically and is
usually equivalent to the cycle time of the calling OB.
CtrlParamsBackUp.Gain REAL 1.0 Saved proportional gain
You can reload values from the CtrlParamsBackUp
structure with LoadBackUp = TRUE.
Saved integral action time [s]
Saved derivative action time [s]
CtrlParamsBackUp.TdFiltRatio
Saved derivative delay coefficient
CtrlParamsBackUp.PWeighting
Saved proportional action weighting factor
CtrlParamsBackUp.DWeighting
Saved derivative action weighting factor
Saved sampling time of PID algorithm