beckhoff TF4100 — 4.2.1.4.13 FB_CTRL_PTn

PLC API Step response with n=10 VAR_INPUT fIn : FLOAT; fManValue : FLOAT; eMode : E_CTRL_MODE; bHold : BOOL; END_VAR Inputs Outputs VAR_OUTPUT fOut : FLOAT; eState : E_CTRL_STATE; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR Inputs/ outputs VAR_IN_OUT stParams : ST_CTRL_PTn_PARAMS; END_VAR TF4100 109 Version: 2.2.4 Name Type Description fIn FLOAT Input value of the PTn element fManValue FLOAT Input value that is output in manual mode. eMode E CTRL MODE _ _ Input that specifies the operation mode [} 173] of the function block. bHold BOOL A TRUE at this input will hold the internal state (and therefore also the output) constant at its current value, independently of the input value.

Name Type Description fOut FLOAT Output of the PTn element 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.