User guide

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