Alarm Journal Event Flag Definitions

Hi,

Is there a full description of all possible eventflags in the alarm journal eventflags table?
The manual shows definitions for bits 0, 1 and 2 in https://docs.inductiveautomation.com/display/DOC79/Journal+Properties+and+Tables

I’m seeing eventflags of 28 in my alarm journal alarm_events table. This would be bits 2, 3 and 4.
It looks like these are generated on a gateway startup. Looks like all configured alarms that are not active when the gateway is started are logged to the alarm_events table with eventflags = 28 and eventtype=1.

This is in Ignition V7.9.4

Thank you,
John

Good catch – I’ll get the docs updated.

Bit 3 is IS_ACKED_FLAG and bit 4 is IS_CLEAR_FLAG. These were added in 7.8.5 to make the Alarm Journal behave more consistently.

Hi Kathy

You mean to say that 7.9.5? We are facing same problem, please confirm.

IS_ACKED_FLAG was added in 7.8.5. IS_CLEAR_FLAG was added in 7.9.3 or 7.9.4

Hi Kathy,

We are thinking that this is a bug in 7.9.4 and it was fixed in 7.9.5, hence i have asked that it is 7.8.5 or 7.9.5.
Is there any solution to fix this issue, as we are getting lot of false alarms on gateway restart and those are not cleared from alarm status table?

Thanks in advance.

Your best bet is to contact support with this.

Hi Kathy and Dhananjay,

If possible, can you post the results back to this thread? I am also still interested in the conditions and rules that drive the alarms to be re-triggered at gateway startup for all configured alarms.

Thank you,

John

Hello guys,
could I ask you, do we have some update regarding to this topic? We run into the same issue, when we are having value of 24 for eventflags...
Thanks,
Michal

2 = Automatically Acknowledged
4 = Cleared

24 = Acknowledged (by the system) and Cleared (alarm condition no longer present)

I have the same problem. The bits go up to 5, but I'm also getting '16' as a value.
Screenshot_1

Interesting. Either the documentation is incomplete, or I've interpreted it wrong.

I think the answer to that is this



It's basically the binary representation in decimal an from there you get your bits, but I'm not sure. I would love if someone can confirm it

The event flags are binary bit positions of the decimal integer.
Bit 0 has value of 1
Bit 1 has value of 2
Bit 2 has value of 4
Bit 3 has value of 8
Bit 4 has value of 16

Decimal value of 16 corresponds to binary 10000. Bit 4 is the only bit on, so it is a Cleared Event.
Decimal value of 24 corresponds to binary 11000. Bits 3 and 4 are on, so it is Acknowledged Event and Cleared Event.

2 Likes