HaModCtu (FB)
FUNCTION_BLOCK HaModCtu
Function block HaModCtu is a standard up counter 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
CuBOOLFALSE
1:Count Up
ResetBOOLFALSE
2:Reset Counter to 0
PvWORD0
3:Counter Limit
Output
QBOOLFALSE
1:Counter reached the Limit
CvWORD0
2:Current Counter Value