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
InREAL0
1:Input variable
TmDINT0
2:Time since last call in msec
ResetBOOLFALSE
3:Reset: Out is set to zero and Overflow to false
Output
OutREAL0
1:Value of the integral
OverflowBOOLFALSE
2:Overflow