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.
- 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