Instructions
9.1 PID_Compact
PID control
Function Manual, 03/2017, A5E35300227-AC
289
sPid_Calc.b_RunIn BOOL FALSE
• b_RunIn = FALSE
Pretuning is started when fine tuning is started
from inactive or
manual mode. If the requirements
for pretuning are not met, PID_Compact reacts as
if b_RunIn = TRUE.
If fine tuning is started from automatic mode, the
system uses the existing PID parameters to con-
trol to the setpoint.
Only then will fine tuning start. If pretuning is not
possible, PID_Compact switches to "Inactive"
mode.
• b_RunIn = TRUE
The pretuning is skipped. PID_3Compact tries to
reach the setpoint with minimum or maximum
output value. This can produce increased over-
shoot. Fine tuning then starts automatically.
b_RunIn is set to FALSE after fine tuning.
sPid_Calc.b_CalcParamSUT BOOL FALSE The parameters for pretuning will be recalculated if
b_CalcParamSUT = TRUE. This enables you to
change the parameter calculation method without
having to repeat controller tuning.
b_CalcParamSUT is set to FALSE after the calcula-
sPid_Calc.b_CalcParamTIR BOOL FALSE The parameters for fine tuning will be recalculated if
b_CalcParamTIR = TRUE. This enables you to
change the parameter calculation method without
having to repeat controller tuning.
b_CalcParamTIR will be set to FALSE after calcula-
sPid_Calc.i_CtrlTypeSUT INT 0 Methods used to calculate parameters during pretun-
ing:
• i_CtrlTypeSUT = 0: PID according to Chien,
Hrones and Reswick
• i_CtrlTypeSUT = 1: PI
according to Chien, Hrones
and Reswick
sPid_Calc.i_CtrlTypeTIR INT 0 Methods used to calculate parameters during fine
tuning:
• i_CtrlTypeTIR = 0: PID automatic
• i_CtrlTypeTIR = 1: PID fast
• i_CtrlTypeTIR = 2: PID slow
• i_CtrlTypeTIR = 3: Ziegler-Nichols PID
• i_CtrlTypeTIR = 4: Ziegler-Nichols PI
• i_CtrlTypeTIR = 5: Ziegler-Nichols P
Progress of tuning as a percentage (0.0 - 100.0)