# Filtering Active Alarms by List

**URL:** <https://community.br-automation.com/t/filtering-active-alarms-by-list/11822>\
**Category:** Programming\
**Tags:** automation-studio, mapp-alarmx\
**Created:** [July 3, 2026, 3:06pm UTC](https://community.br-automation.com/t/filtering-active-alarms-by-list/11822 "2026-07-03T15:06:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![valerio.manenti](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/valerio.manenti/32/11712_2.png) [@valerio.manenti](https://community.br-automation.com/u/valerio.manenti)\
**Post date:** [July 5, 2026, 5:58pm UTC](https://community.br-automation.com/t/filtering-active-alarms-by-list/11822/2 "2026-07-05T17:58:21Z")

</div>

Hi @Jessy_Filgueira ,

No, there are no separate built-in counter variables within the MpAlarmXCore function block to track active alarms for individual lists

The ActiveAlarms output tracks the global sum of all active alarms registered to that specific core instance.

However, you can achieve list-specific counters by using the following options:

**Solution 1: Use Multiple `MpAlarmXCore` Blocks** [Creating Alarms with MpAlarmXConfigAlarm takes very long - #2 by patrick.tanner](https://community.br-automation.com/t/creating-alarms-with-mpalarmxconfigalarm-takes-very-long/2301/2)

You can split your alarm configuration into multiple `MpAlarmXCore` instances (e.g., one core for the engine, one for safety, one for logistics).

- **Separate Counters** : Each `MpAlarmXCore` function block will give you a dedicated ActiveAlarms count for its respective list.

- **Maintain One UI List** : If you still need a single, master alarm list on your HMI, you can link all the separate cores hierarchically using the `MpComLink()` function or `MpComGroup` components to escalate the individual alarms up to a master UI list.

**Solution 2: Query the Alarms via PLC Code**

If you must keep all alarms inside a single `MpAlarmXCore`, you can calculate the active count per group or category programmatically in your IEC code.

- **Map by Category/Severity** : Assign a specific category name or severity level to the alarms belonging to each distinct list.

- **Check Trigger Status** : Since alarms are triggered by PLC variables (such as an array of booleans), write a simple loop to count how many trigger bits within that specific category are currently TRUE.

Ciao  
Valerio

---

_[View the full topic](https://community.br-automation.com/t/filtering-active-alarms-by-list/11822)._
