Skip to content

Function (FC): Alarm Bit Map - v2.0

This function is used to map alarm bits into an integer variable in abstractAlarmLevel.

_objectContainer
└─ alarm
├─ level # USINT
│
├─ a?? # STRUCT
│ ├─ triggered # UINT
│ ├─ id # UINT
│ ├─ map # Array[n] of INT ← _alarmBitMap() updates this variable
│ ├─ a00_name # BOOL → _alarmBitMap() reads this variable
│ ├─ a01_name # BOOL → _alarmBitMap() reads this variable
│ ├─ ...
│ └─ aNN_name # BOOL → _alarmBitMap() reads this variable
...
  • Used to map alarm bits into an integer. Useful for legacy HMI or SCADA that do not support bits.
ParameterDeclarationTypeDescription
a00InputBool1=Alarm bit triggered
a01InputBool1=Alarm bit triggered
a02InputBool1=Alarm bit triggered
a03InputBool1=Alarm bit triggered
a04InputBool1=Alarm bit triggered
a05InputBool1=Alarm bit triggered
a06InputBool1=Alarm bit triggered
a07InputBool1=Alarm bit triggered
a08InputBool1=Alarm bit triggered
a09InputBool1=Alarm bit triggered
a10InputBool1=Alarm bit triggered
a11InputBool1=Alarm bit triggered
a12InputBool1=Alarm bit triggered
a13InputBool1=Alarm bit triggered
a14InputBool1=Alarm bit triggered
a15InputBool1=Alarm bit triggered
-ReturnIntBit map of triggered alarms