Configuration | Commisioning the Controller in Stages Setting the control mode Once the tuning has been completed successfully, the eCtrlState is set to eCTRL_STATE_TUNED . The controller enters standby mode. Closed-loop operation with the estimated parameters can only be activated by setting the control mode to eCTRL_MODE_ACTIVE. 9. Linking the internal control parameters with the external connections. The controller parameters determined in the tuning process can be supplied again to the controller as external parameters. This may be necessary if the tuning is only to be carried out once (e.g. only during the initial commissioning).
To do this, trace the structure sParaControllerInternal to the input of the controller sParaControllerExternal and set the flag bSelCtrlParameterSet to TRUE. 10. Perform fine-tuning manually. The control parameters determined in the tuning process are designed to produce fast settling, with about 10% overshoot. If only very little overshoot is permitted, or even none at all, then the following parameters from the ST_ControllerParameter structure can be used to perform fine tuning. These values are guide values. Requirements TF4110 18 Version:
2.0.3 Behavior fTuneKp fTuneTn fTuneTv fTuneTd Fast settling with overshoots of 10%-20% 1.2 2.0 0.42 0.25 Slower settling with low overshoot 1.0 2.5 0.42 0.25 Almost asymptotic settling with extremely small overshoot 0.5 3.0 1.0 0.25 Development environment Target platform PLC libraries to include TwinCAT 3.1.4016 PC or CX Tc2 TempController _