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
Cu
BOOL
FALSE
1:Count Up
Reset
BOOL
FALSE
2:Reset Counter to 0
Pv
WORD
0
3:Counter Limit
Output
Q
BOOL
FALSE
1:Counter reached the Limit
Cv
WORD
0
2:Current Counter Value