beckhoff TS4100 — 5.4.10 FB_CTRL_PID_EXT_SPLITRANGE

PLC-API ARW: VAR_INPUT VAR_INPUT fSetpointValue : FLOAT; fActualValue : FLOAT; eParameterRecord : E_CTRL_PARAMETER_RECORD; fManSyncValue : FLOAT; bSync : BOOL; eMode : E_CTRL_MODE; bHold : BOOL; END_VAR fSetpointValue : Setpoint of the controlled variable. fActualValue : Actual value of the controlled variable. eParameterRecord : Index of the active parameter set fManSyncValue : Input with which the PI element can be set. bSync : A rising edge at this input sets the PI element to the value fManSyncValue. eMode : Input that specifies the operation mode [ } 16] of the function block. bHold :

A TRUE at this input will hold the internal state (and therefore also the output) constant at its current value, independently of the control deviation. VAR_OUTPUT VAR_OUTPUT fOutPos : FLOAT; fOutNeg : FLOAT; fOut : FLOAT; bARWActive : BOOL := FALSE; (* ARW active ? [TRUE/FALSE] -> freeze I-part *) bParameterChangeActive : BOOL; bError : BOOL; (* error flag *) eErrorId : E_CTRL_ERRORCODES; (* error code *) END_VAR fOutPos : Output of the PID element when the control value is positive. A zero is output otherwise. fOutNeg : Output of the PID element when the control value is negative. A zero is output otherwise. fOut : Output of the PID element. bARWactive :

A TRUE at this output indicates that the PID element is being restricted. bParameterChangeActive : A TRUE at this output indicates that the change from one parameter record to the other is in progress. fCtrlDerivation : A TRUE at this output indicates that the PID element is being restricted. TS4100 64 Version: 1.1