beckhoff TS4110 — 11.3.1 FB_TempController

PLC-API All required alarms should be switched on again after initial commissioning! Starting the controller with tuning If the controller parameters are to be determined with the aid of the tuning system, the bOn and bTune inputs must both be TRUE. Firstly, a fixed waiting time of 20 s elapses. During this waiting time, the temperature of the section is monitored to ensure that it remains within a +-1°C band. If the temperature goes outside this band, the waiting time starts again. The section is then subjected to a step excitation with a control value of fYTune. The section then reacts with the step response.

As long as 80% of the setpoint has not been reached, the section parameters are determined using the inflectional tangent method. For safety reasons, control is switched over to closed control loop once 80% of the setpoint has been reached. If the temperature reaches the 80% mark too quickly (with no clear inflection) then the value of fYTune is to be reduced. The determined parameters are used for the PID controller, and are provided in a structure at the output of the controller. The section must perform a step of at least 40°C for the purposes of tuning. Smaller steps can re- sult in incorrect parameter determination!

Linking the internal control parameters with the external connections The controller parameters determined in the tuning process can be supplied to the controller again 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, the sParaControllerInternal structure is fed back to the controller's sParaControllerExternal input, and the bSelCtrlParameterSet flag set to TRUE. Fine tuning 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 should be considered only as a guide. 11.3.1 FB_TempController The temperature controller function block FB_TempController has a variety of inputs and outputs that are described below. All the controller's parameters are passed to it via structures. The structures and enums are defined here [ } 37] . Function block TS4110 33 Version:

1.1 Behavior fTuneKp fTuneTn fTuneTv fTuneTd Fast settling with an overshoot of 10% – 20% 1.2 2.0 0.42 0.25 Slower settling with less overshoot 1.0 2.5 0.42 0.25 Almost asymptotic settling with extremely low overshoot 0.5 3.0 1.0 0.25