The Integrator function block is useful for calculating total flow, total mass, or volume over time. You can also use it to calculate total power, given the total energy.
Application example: Flow integration
To totalize flow over a one-hour period, configure INTEG_TYPE = 0 to ? - periodic reset and configure CLOCK_PER to 3600. The following figure shows the function block diagram for this example: