User guide

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