HaModDIO (FB)
FUNCTION_BLOCK HaModDIO
This Function Block can add in a standardized way event handling, alarming and other functions as often available in DCS type environment for digital inputs and outputs. 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: Signal Input
SetObjErrBOOLFALSE
2: Signal Object Error
InvertBOOLFALSE
3: Signal Inversion
EnAlarmBOOLFALSE
4: Signal AlarmConfiguration enabled
AlarmValueBOOLFALSE
5: Signal AlarmConfig Alarm Value 0/1 activ
ResetBOOLFALSE
6: Reset Latched state
UseLatchBOOLFALSE
7: Automatically reset latched state
UseSyncBOOLTRUE
8: Use HA Sync
InTonDWORD0
9: Signal Input Switch On delay [ms]
InTofDWORD0
10: Signal Input Switch Off delay [ms]
Output
AlarmBOOLFALSE
1: Signal Alarm
ObjErrBOOLFALSE
2: Signal Object Error
OutBOOLFALSE
3: Signal Out
ForcedBOOLFALSE
4: Simulation ON
InvertedBOOLFALSE
5: Signal Inversion
LatchBOOLFALSE
6: Latched Output