Skip to content

Function (FC): 8 Alarm Bit IDs - v2.0

This function is used to load the triggered alarm ID into abstractAlarmLevel. This function is part of a set of functions that allow managing multiple alarm bits, each with a different number of alarm IDs.

See the following functions to manage different numbers of alarms:

If you need to manage a different number of alarms, you can chain multiple of these functions. For example, to manage 9 alarms you can use:

_objectContainer
└─ alarm
├─ level # USINT
│
├─ a?? # STRUCT
│ ├─ triggered # UINT → _alarmBit08Id() reads this variable
│ ├─ id # UINT ← _alarmBit08Id() updates this variable
│ ├─ map # Array[n] of INT
│ ├─ a00_name # BOOL → _alarmBit08Id() reads this variable
│ ├─ a01_name # BOOL → _alarmBit08Id() reads this variable
│ ├─ ...
│ └─ aNN_name # BOOL → _alarmBit08Id() reads this variable
...
  • When the system needs to manage alarm IDs.
ParameterDeclarationTypeDescription
triggeredInputUInt0=No alarm
1..N=Number of triggered alarms
a00InputBool1=Alarm bit triggered
a00_idInputInt0= No alarm ID; Other=Alarm ID
a01InputBool1=Alarm bit triggered
a01_idInputInt0= No alarm ID; Other=Alarm ID
a02InputBool1=Alarm bit triggered
a02_idInputInt0= No alarm ID; Other=Alarm ID
a03InputBool1=Alarm bit triggered
a03_idInputInt0= No alarm ID; Other=Alarm ID
a04InputBool1=Alarm bit triggered
a04_idInputInt0= No alarm ID; Other=Alarm ID
a05InputBool1=Alarm bit triggered
a05_idInputInt0= No alarm ID; Other=Alarm ID
a06InputBool1=Alarm bit triggered
a06_idInputInt0= No alarm ID; Other=Alarm ID
a07InputBool1=Alarm bit triggered
a07_idInputInt0= No alarm ID; Other=Alarm ID
idInOutInt0= No alarm ID; Other=Alarm ID