beckhoff TF4100 — 4.2.1.3.9 FB_CTRL_PID

PLC API Inputs/ outputs VAR_IN_OUT stParams : ST_CTRL_PID_PARAMS; END_VAR stParams consists of the following elements: TYPE ST_CTRL_PID_PARAMS : STRUCT tCtrlCycleTime : TIME := T#0ms; tTaskCycleTime : TIME := T#0ms; fKp : FLOAT := 0; tTn : TIME := T#0ms; tTv : TIME := T#0ms; tTd : TIME := T#0ms; fOutMaxLimit : FLOAT := 1E38; fOutMinLimit : FLOAT := -1E38; bPInTheFeedbackPath : BOOL; bDInTheFeedbackPath : BOOL; bARWOnIPartOnly : BOOL; END_STRUCT END_TYPE TF4100 64 Version: 2.2.4 Name Type Description fOut FLOAT Output of the PID element bARWactive BOOL A TRUE at this output indicates that the PID-element is being restricted.

eState E CTRL STATE _ _ State of the function block eErrorId E CTRL ERROR _ _ CODES Supplies the error number [} 173] when the output bError is set. bError BOOL Becomes TRUE, as soon as an error occurs. Name Type Description stParams ST CTRL PID P _ _ _ ARAMS Parameter structure of the PID element