PLC API Outputs VAR_OUTPUT fOut : SETPOINT_TABLE_ELEMENT; bValueReached : BOOL; eState : E_CTRL_STATE; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR Inputs/ outputs VAR_IN_OUT stParams : ST_CTRL_SETPOINT_GENERATOR_PARAMS; END_VAR stParams consists of the following elements: TYPE ST_CTRL_SETPOINT_GENERATOR_PARAMS: STRUCT tCtrlCycleTime : TIME := T#0ms; tTaskCycleTime : TIME := T#0ms; pDataTable_ADR : POINTER TO INTERPOLATION_TABLE_ELEMENT := 0; nDataTable_SIZEOF : UINT := 0; nDataTable_NumberOfRows : UINT := 0; fVeloPos : FLOAT; fVeloNeg : FLOAT; bDisableRamping : BOOL := FALSE; END_STRUCT END_TYPE TF4100 170 Version:
2.2.4 Name Type Description fOut SETPOINT _ TABLE ELEMEN _ T Output of the setpoint generator bValueReached BOOL The output is TRUE when the selected setpoint has been reached, i.e. the ramp leading to the selected value has finished. 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 SETP _ _ OINT _ GENERATOR _ PARAMS Parameter structure of the ramp generator