Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%MaxInteg function
Old name
%MaxIntegR
Function
The function returns a time integral of the given variable for the elapsed time period. The A result is a real number.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
REAL %MaxInteg( REAL in Arg, INT in Time, BOOL in ResetTrigger ) |
Parameters
Arg | Variable whose 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 an hour and the interval is 3600, or it is expressed by the system constant @HodInt). |
ResetTrigger | Change of the parameter into the TRUE state causes resetting the integral. |
Example
Blok kódu | ||||
---|---|---|---|---|
| ||||
%MaxInteg( M.Preselection03_Q, @HodInt, (U.Preselection03_Cyklus_Stop = 42)) |