beckhoff TS4100 — 5.4.10 FB_CTRL_PID_EXT_SPLITRANGE

PLC-API eErrorId : Supplies the error number [ } 16] when the bError output is set. bError : Becomes TRUE, as soon as an error occurs. VAR_IN_OUT VAR_IN_OUT stParams : ST_CTRL_PID_SPLITRANGE_PARAMS; END_VAR stParams : Parameter structure of the PID element. This consists of the following elements: TYPE ST_CTRL_PID_SPLITRANGE_PARAMS : STRUCT tCtrlCycleTime : TIME := T#0ms; (* controller cycle time [TIME] *) tTaskCycleTime : TIME := T#0ms; (* task cycle time [TIME] *) fKp_heating : FLOAT := 0; (* proportional gain *) tTn_heating : TIME := T#0ms; (* Tn *) tTv_heating : TIME := T#0ms; (* Tv *) tTd_heating : TIME := T#0ms; (* Td *) fKp_cooling : FLOAT := 0; (* proportional gain *) tTn_cooling :

TIME := T#0ms; (* Tn *) tTv_cooling : TIME := T#0ms; (* Tv *) tTd_cooling : TIME := T#0ms; (* Td *) nParameterChangeCycleTicks : INT; fDeadBandInput : REAL := 0.0; (* ctrl deviation dead band/neutral zone for const output *) fDeadBandOutput : REAL := 0.0; (* ctrl output dead band/neutral zone for zero output *) fInnerWindow : REAL := 0.0; (* inner window for reduced I-part (dE-window) *) fOuterWindow : REAL := 0.0; (* outer window for disabling I-part (dE-window) *) fOutMaxLimit : FLOAT := 1E38; (* maximum output limit *) fOutMinLimit : FLOAT := -1E38; (* minimum output limit *) bPInTheFeedbackPath : BOOL; bDInTheFeedbackPath : BOOL; bARWOnIPartOnly :

BOOL; END_STRUCT END_TYPE tCtrlCycleTime : 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 : 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. Area eCTRL_PARAMETER_RECORD_ HEATING : fKp_heating : Controller amplification / controller coefficient tTn_heating : Integral action time. The I-component is deactivated if this is parameterized as T#0s. tTv_heating :

Derivative action time. The D-component is deactivated if this is parameterized as T#0s. tTd_heating : Damping time Area eCTRL_PARAMETER_RECORD_ COOLING: fKp_cooling : Controller amplification / controller coefficient tTn_cooling : Integral action time. The I-component is deactivated if this is parameterized as T#0s. TS4100 65 Version: 1.1