beckhoff TF4100 — 4.2.1.3.2 FB_CTRL_2POINT_PWM_ADAPTIVE

PLC API 4.2.1.3.2 FB_CTRL_2POINT_PWM_ADAPTIVE The function block provides an adaptive two-position controller. It is particularly suitable for single-area controllers in which high inlet temperatures are present and which make use of a thermal actuator. Behavior of the output Description of the function Internally, the controller uses a PWM function block that is used to control the thermal actuator. The mark-to- space ratio of the PWM function block is adaptively adjusted to the behavior of the controlled system. The PWM output is switched on when the control deviation "fE = setpoint – actual value" is greater than "0" and switched off when the control deviation is less than "0".

The mark-to-space ratio is not changed as long as the control deviation remains within the range "[-fOkRange ... fOkRange]". If "fE > fOkRange", the mark-to- space ratio is increased by "fStepSize". After such an increase, time tWaitTime must elapse before the mark-to-space ratio can be changed again. If fE falls below "-fOkRange", the mark-to-space ratio is reduced by "fStepSize". The mark-to-space ratio is only modified over the range "[fMinLimit ... fMaxLimit]". The period of the PWM signal is specified by the parameter tPWMPeriod . VAR_INPUT fSetpointValue : FLOAT; fActualValue : FLOAT; Inputs TF4100 43 Version: 2.2.4