beckhoff TF4100 — 4.2.1.3.8 FB_CTRL_PI_PID

PLC API 4.2.1.3.8 FB_CTRL_PI_PID The function block provides a cascaded PI-PID controller in the functional diagram. Internally, this function block uses the FB_CTRL_PI, FB_CTRL_LIMITER and FB_CTRL_PID transfer elements. Transfer function of the PI element n G s K T s ж ц = + з ч и ш 1 ( ) 1 p Transfer function of the PID-element T s G s K T s T s ж ц = + + з ч + и ш 1 ( ) 1 1 v p n d TF4100 57 Version: 2.2.4 Name Type Description tCtrlCycleTime TIME Cycle time with which the control loop is processed. This must be greater than or equal to the TaskCycleTime.

The function block uses this input value to calculate internally whether the state and the output values have to be updated in the current cycle. tTaskCycleTime TIME Cycle time with which the function block is called. If the function block is called in every cycle this corresponds to the task cycle time of the calling task. tTn TIME Integral action time fKp FLOAT Controller amplification / transfer coefficient fOutMaxLimit FLOAT Upper limit at which integration is halted and to which the output is limited (ARW measure). Reaching this limit is indicated by a TRUE at the bARWActive output.

fOutMinLimit FLOAT Lower limit at which integration is halted and to which the output is limited (ARW measure). Reaching this limit is indicated by a TRUE at the bARWActive output. bARWOnIPartOn ly BOOL If this parameter is FALSE (the standard setting), the integration of the I-component is halted if the complete controller output reaches the upper or lower limit. If it is TRUE, the integration is halted if the I- component (the output of the integrator) reaches some limit. (Cf. functional diagram.)