beckhoff TF4100 — 4.2.1.3.3 FB_CTRL_3POINT

PLC API Inputs VAR_INPUT fSetpointValue : FLOAT; fActualValue : FLOAT; nManSyncValue : INT; bSync : BOOL; eMode : E_CTRL_MODE; END_VAR Outputs VAR_OUTPUT bPosOut : BOOL; bNegOut : BOOL; eState : E_CTRL_STATE; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR Inputs/ outputs VAR_IN_OUT stParams : ST_CTRL_3POINT_PARAMS; END_VAR stParams consists of the following elements: TYPE ST_CTRL_3POINT_PARAMS : STRUCT tCtrlCycleTime : TIME := T#0ms; tTaskCycleTime : TIME := T#0ms; fPosOutOn : FLOAT; fPosOutOff : FLOAT; fNegOutOn : FLOAT; TF4100 46 Version:

2.2.4 Name Type Description fSetpointValue FLOAT Setpoint of the controlled variable fActualValue FLOAT Actual value of the controlled variable nManSyncValue INT Input with which the 3-point link can be set to one of the three junctions. nManSyncValue >= 1 → bPosOut = TRUE, bNegOut = FALSE nManSyncValue bSync BOOL A rising edge at this input sets the 3-point element to the value "bManSyncValue". eMode E CTRL MODE _ _ Input that specifies the operation mode [} 173] of the function block. Name Type Description bPosOut BOOL This output from the 3-point element is TRUE if the upper junction of the characteristic curve is active.

bNegOut BOOL This output from the 3-point element is TRUE if the lower junction of the characteristic curve is active. 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 3POIN _ _ T PARAMS _ Parameter structure of the 3-point element