HaModTof (FB)
FUNCTION_BLOCK HaModTof
Function block HaModTof is a standard Off delay timer 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
InBOOLFALSE
1:Starts timer with falling edge, resets timer with rising edge
PtTIMETIME#0ms
2:Time to pass, before Q is set
Output
QBOOLFALSE
1:Is FALSE, Pt seconds after In had a falling edge
EtTIMETIME#0ms
2:Elapsed time