INTEGRALΒΆ

Provided by util.lib.

This function block approximately determines the integral of the function.

In an analogue fashion to DERIVATIVE, the function value is delivered as a REAL variable by using IN. TM contains the time which has passed in msec in a DWORD and the input of RESET of the type BOOL allows the function block to start anew with the value TRUE.

The output OUT is of the type REAL. The integral is approximated by two step functions. The average of these is delivered as the approximated integral.

Example: Integration of a linear function:

../_images/01fea0270674b7d30a317f345202773e