beckhoff TF4100 — 4.2.1.2.5 FB_CTRL_D

PLC API 4.2.1.2.5 FB_CTRL_D The function block provides a DT 1 transfer element (a real D-element) in a functional diagram. Transfer function (continuous) T s G s T s = + ( ) 1 v d Inputs VAR_INPUT fIn : FLOAT; fManSyncValue : FLOAT; bSync : BOOL; eMode : E_CTRL_MODE; END_VAR TF4100 33 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. tTi TIME Integration time of the I-element fOutMaxLimit FLOAT Upper limit at which integration is halted (ARW measure). Reaching this limit is indicated by a TRUE at the bARWActive output. fOutMinLimit FLOAT Lower limit at which integration is halted (ARW measure). Reaching this limit is indicated by a TRUE at the bARWActive output. fDampingCoeffici ent FLOAT Factor k in the functional diagram d tAveragingTime TIME Time across which the sliding mean value filter calculates the mean value.

pWorkArray AD _ R POINTER TO FLOAT Address of an Array of FLOAT with size tAveragingTime / tCtrlCycleTime (see description of the function block FB CTRL MOVING AVERAGE) _ _ _ nWorkArray SIZ _ EOF UINT Size of an Array of FLOAT with size tAveragingTime / tCtrlCycleTime (see description of the function block FB CTRL MOVING AVERAGE) _ _ _