HaModCtd (FB)
FUNCTION_BLOCK HaModCtd
Function block HaModCtd is a standard down 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.
Note
It is not recommended to call utility blocks inside other function blocks in user application, this can impact the data synchronization between PLCs. For example, if HaModTon function block is used inside user’s function block, it will lead to data sync mismatch.
- InOut:
Scope
Name
Type
Initial
Comment
Input
CdBOOLFALSE
1:Count Down on rising edge
LoadBOOLFALSE
2:Load Start Value
PvWORD0
3:Start Value
Output
QBOOLFALSE
1:Counter reached 0
CvWORD0
2:Current Counter Value