beckhoff TF4100 — 4.2.1.8.3 FB_CTRL_RAMP_GENERATOR

PLC API Behavior of the output value Inputs VAR_INPUT bEnable : BOOL; fStart : FLOAT; fTarget : FLOAT; END_VAR VAR_OUTPUT fOut : FLOAT; fVeloOut : FLOAT; bValueReached : BOOL; eState : E_CTRL_STATE; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR Outputs Inputs/ outputs VAR_IN_OUT stParams : ST_CTRL_RAMP_GENERATOR_PARAMS END_VAR TF4100 165 Version:

2.2.4 Name Type Description bEnable BOOL Start of ramp generation fStart FLOAT Start value of the ramp fTarget FLOAT Target value of the ramp Name Type Description fOut FLOAT Output of the ramp generator fVeloOut FLOAT Current velocity of the ramp generator bValueReached BOOL This output indicates by going TRUE that the output fOut has reached the value fTarget. eState E CTRL STATE _ _ State of the function block eErrorId E CTRL _ _ ERRORCODES Supplies the error number [} 173] when the output bError is set. bError BOOL Becomes TRUE as soon as an error situation occurs.