User guide

GEL100340
Lim-Integrator
Description
It calculates the limited summation of the input
[xl.
It is possible to specify the Initial value
of the summation
[x]
(IniCond), Reset
the summation,
Disable
the calculation or set the summation to a
PresetValue [xl.
C-style description
static float LimSummation=O;
if (Reset != 0)
LimSummation=O;
else if (Disable != 0)
(
I*
Nothing is performed
*/}
else if (Preset != 0)
LimSummation=PresetVal;
else if (FirstRun != 0)
LimSummation=IniCond+In;
else
LimSummation=LimSummation+In;
I*
LimSummation is limited
*/
if (LimSummation
c
LowerLim)
LimSummation=LowerLim;
else if (LimSummation > LowerLim)
LimSummation=UpperLim
Out=LimSummation;
Input logical variables
None
Output logical variables
None
178