# Question about eventflags values

**URL:** <https://forum.inductiveautomation.com/t/question-about-eventflags-values/111503>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [October 16, 2025, 5:03am UTC](https://forum.inductiveautomation.com/t/question-about-eventflags-values/111503 "2025-10-16T05:03:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kim\_JinGeun1](https://avatars.discourse-cdn.com/v4/letter/k/5f9b8f/32.png) [@Kim\_JinGeun1](https://forum.inductiveautomation.com/u/Kim_JinGeun1)\
**Post date:** [October 16, 2025, 5:03am UTC](https://forum.inductiveautomation.com/t/question-about-eventflags-values/111503/1 "2025-10-16T05:03:31Z")

</div>

I’m using **Ignition Perspective version 8.1.43**.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/b/ab071596a0557bbe8e0751388136dc3508bfe83d.png)

According to the information above, I understand that **Bit 5** represents the **Alarm Enabled** state.  
However, when I disable and then enable an alarm on a tag, the **eventflags** value shows **24 or 28**.  
Based on the manual, shouldn’t the value be **32 or higher**?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [October 16, 2025, 6:00am UTC](https://forum.inductiveautomation.com/t/question-about-eventflags-values/111503/2 "2025-10-16T06:00:19Z")

</div>

Bit 5 = 2^4 = 16  
The event flag should never be above 2^5 - 1 = 31 (assuming there’s no other values encoded in higher bits)  
Your results look about right.  
You can use `{eventFlag} & 16` to check if that bit is on

Edit: wait, they start with bit 0, so bit 5 should actually be the 6th bit and be at 2^5…  
There’s something fishy, let me read the doc and do a few tests
