Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%Integral function
Old name
%IntegralR
Function
The function returns a time integral of given variable. The result is a real number. Expression, that consists contains this function must be evaluated on a change.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
REAL %Integral( REAL in Arg, INT in TimeInt, UNIVAL in CalcTrigger, BOOL in ResetTrigger ) |
Parameters
Arg | Variable, which average is to be calculated. |
TimeInt | Variable time parameter [s]. (For example: if the variable pump capacity is given in m3/hour, then the time parameter will be hour and the interval is 3600, or it is expressed by the system constant @HodInt). |
CalcTrigger | Object, which change causes recalculation the function. Its type is optional. |
ResetTrigger | Change of the parameter into the TRUE state causes resetting the integral. |