The function returns the increment of a the given specified integer variable for the time period elapsed. The result is an integer value.
Declaration
Blok kódu
language
esl
theme
Confluence
INT %MaxImp(
INT in Arg,
BOOL in ResetTrigger
)
Parameters
Arg
Variable whose increment is to be calculated. The function assumes that the value of the variable Arg increases within the calculation interval. (For example : electrometer status).
ResetTrigger
Change of the parameter into the TRUE state causes resetting the calculation.