beckhoff TF4100 — 4.2.1.3.5 FB_CTRL_nPOINT

PLC API fManValue : BOOL; eMode : E_CTRL_MODE; END_VAR Outputs VAR_OUTPUT fOut : nPOINT_CTRL_TABLE_ELEMENT; eState : E_CTRL_STATE; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR VAR_IN_OUT stParams : ST_CTRL_nPOINT_PARAMS; END_VAR Inputs/ outputs stParams consists of the following elements: TYPE ST_CTRL_nPOINT_PARAMS : STRUCT tCtrlCycleTime : TIME := T#0ms; tTaskCycleTime : TIME := T#0ms; pDataTable_ADR : POINTER TO nPOINT_CTRL_TABLE_ELEMENT := 0; nDataTable_SIZEOF : UINT := 0; nDataTable_NumberOfRows : UINT := 0; fHysteresisRange : FLOAT; END_STRUCT END_TYPE TF4100 51 Version:

2.2.4 Name Type Description fSetpointValue FLOAT Setpoint of the controlled variable fActualValue FLOAT Actual value of the controlled variable fManValue BOOL Input whose value is output in manual mode. eMode E CTRL MODE _ _ Input that specifies the operation mode [} 173] of the function block. Name Type Description fOut nPOINT CTRL _ _ TABLE ELEMEN _ T Output of the n-point 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. Name Type Description stParams ST CTRL nPOIN _ _ T PARAMS _ Parameter structure of the n-point element