HaModIntegral (FB)

FUNCTION_BLOCK HaModIntegral

Function block HaModIntegral is a standard integral with automatic data synchronization in a high availability system Only internal variables and outputs are synchronized. Input variables and parameters are not synchronized. If needed, use HaModDataSync to achieve the same.

InOut:

Scope

Name

Type

Initial

Comment

Input

In

REAL

0

1:Input variable

Tm

DINT

0

2:Time since last call in msec

Reset

BOOL

FALSE

3:Reset: Out is set to zero and Overflow to false

Output

Out

REAL

0

1:Value of the integral

Overflow

BOOL

FALSE

2:Overflow