<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Alarm Table Issues</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/</id><updated>2025-11-17T08:06:05.985000Z</updated><subtitle>Recent posts to Alarm Table Issues</subtitle><entry><title>Alarm Table Issues</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/?limit=25#3955" rel="alternate"/><published>2025-11-17T08:06:05.985000Z</published><updated>2025-11-17T08:06:05.985000Z</updated><author><name>larboardinner</name><uri>https://forge.codesys.com/u/larboardinner/</uri></author><id>https://forge.codesys.comed7072edb3805cee7e3f482d7ebf8533bd651c2f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Variable for Selected Alarm ID only updates when the visualization is actually configured to send the alarm’s ID back to the control. On some devices/visualization profiles this isn’t enabled by default. Make sure your Alarm Table element has “Send Selected Alarm ID” activated in the visualization properties. you could check this example:&lt;br/&gt;
&lt;a href="https://store.codesys.com/alarm-manager.html" rel="nofollow"&gt;https://store.codesys.com/alarm-manager.html&lt;/a&gt; &lt;a href="https://geometrylite.io" rel="nofollow"&gt;Geometry Dash Lite&lt;/a&gt;&lt;br/&gt;
If that option isn’t available in your version, then unfortunately the “Selected Alarm Group” is the only one that updates reliably in older 3.5.x builds. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Alarm Table Issues</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/?limit=25#0bb2" rel="alternate"/><published>2024-06-06T19:26:09.383000Z</published><updated>2024-06-06T19:26:09.383000Z</updated><author><name>talhaali</name><uri>https://forge.codesys.com/u/talhaali/</uri></author><id>https://forge.codesys.com64d1f72c919aa422c69b44a381b5e2a69bbbed64</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I am trying to access active alarms in code(As alarm count variable updates only when we go to to alarm table frame in visualization). I wrote following code but it is not working:&lt;/p&gt;
&lt;p&gt;VAR &lt;br/&gt;
    iCountActiveAlarms : INT;&lt;br/&gt;
    parritfActiveAlarms : POINTER TO ARRAY&lt;span&gt;[0..0]&lt;/span&gt; OF IAlarm;&lt;br/&gt;
    itfAlarmManagerClientAll    : IAlarmManagerClient;&lt;br/&gt;
END_VAR&lt;/p&gt;
&lt;p&gt;AlarmManager.g_AlarmHandler.GetActiveAlarms(&lt;br/&gt;
    itfAlarmManagerClient   :=itfAlarmManagerClientAll,&lt;br/&gt;
    iCountActiveAlarms      =&amp;gt; iCountActiveAlarms,&lt;br/&gt;
    parritfActiveAlarms     =&amp;gt; parritfActiveAlarms);&lt;/p&gt;
&lt;p&gt;The Value is always 0.&lt;br/&gt;
Please help.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Alarm Table Issues</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/?limit=25#93cc" rel="alternate"/><published>2022-11-01T10:40:51.483000Z</published><updated>2022-11-01T10:40:51.483000Z</updated><author><name>jonbonbon</name><uri>https://forge.codesys.com/u/jonbonbon/</uri></author><id>https://forge.codesys.comdbd3f3c05620ce0be396d73ec0bcf477b593a0a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Brilliant thanks, seems counter intuitive to have to have some 'code behind' just to get the selected ID number, but that's working now anyway.&lt;br/&gt;
Another one for you then... Once an alarm has been selected, is there any way of deselecting it to essentially reset the ID number back to 0? &lt;br/&gt;
At the moment, once I select an alarm in the window, if that alarm is removed the selection will jump to the next alarm down, and therefore automatically update the ID number.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Alarm Table Issues</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/?limit=25#afcd" rel="alternate"/><published>2022-11-01T07:19:18.990000Z</published><updated>2022-11-01T07:19:18.990000Z</updated><author><name>paro</name><uri>https://forge.codesys.com/u/paro/</uri></author><id>https://forge.codesys.com8ff494e08152af6c9b7c38a1e3c93d6f3874538d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
you can use the function GetAlarmIDName from the AlarmManager libary. There you have to pass the variable for selected alarm ID from the alarm table and get back the string from the text list.&lt;/p&gt;
&lt;p&gt;&lt;img src="./attachment/attachment.png" width="50%"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Alarm Table Issues</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/?limit=25#7f64" rel="alternate"/><published>2022-10-31T09:46:21.733000Z</published><updated>2022-10-31T09:46:21.733000Z</updated><author><name>jonbonbon</name><uri>https://forge.codesys.com/u/jonbonbon/</uri></author><id>https://forge.codesys.com8990a5458a65629684c04b0d64f7e1a48755f5ca</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Was this ever solved? We have a need to display the current Alarm ID in a separate column on the Alarm Vis, as well as populate a tag with the 'selected' alarm ID number. Neither of which seems to work. &lt;br/&gt;
When we put a tag in the 'Selection --&amp;gt; Variable for the selected alarm ID' variable it does not update the tag on selection, it also doesn't work if we use an Alarm-Info structure tag in the 'Variable for alarm information' variable. It does however update the alarm group number, so we can see that it is doing something... just not what we need.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Alarm Table Issues</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/?limit=25#2d95" rel="alternate"/><published>2020-02-27T13:50:55.912000Z</published><updated>2020-02-27T13:50:55.912000Z</updated><author><name>betatest</name><uri>https://forge.codesys.com/u/betatest/</uri></author><id>https://forge.codesys.comc35f93c2c5e861614f78cff0651bd9402f2211fe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi plcmax,&lt;/p&gt;
&lt;p&gt;Thank you for your comment, it solved issue nº 2. However, issue nº1 is still ON. I don´t fully understand why it does not update this value if this is an option of the "Alarm Table".&lt;/p&gt;
&lt;p&gt;Thank you again.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Alarm Table Issues</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/?limit=25#2909" rel="alternate"/><published>2020-02-27T13:50:55.747000Z</published><updated>2020-02-27T13:50:55.747000Z</updated><author><name>plcmax</name><uri>https://forge.codesys.com/u/plcmax/</uri></author><id>https://forge.codesys.com3a1cef54a636de6b76c49b031399b283e120b1cc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you could check this example:&lt;br/&gt;
&lt;a class="" href="https://store.codesys.com/alarm-manager.html" rel="nofollow"&gt;https://store.codesys.com/alarm-manager.html&lt;/a&gt;&lt;br/&gt;
If you change to Control Win - login to the real device (on your pc) do not use it in simulation.&lt;/p&gt;
&lt;p&gt;Regards&lt;br/&gt;
plcmax&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Alarm Table Issues</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/66554c39ba/?limit=25#1454" rel="alternate"/><published>2020-02-27T13:50:55.545000Z</published><updated>2020-02-27T13:50:55.545000Z</updated><author><name>betatest</name><uri>https://forge.codesys.com/u/betatest/</uri></author><id>https://forge.codesys.com6582e7f120f31db1b05af51f6da461eaa211dcab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;I just started using codesys and I am currently struggling with the AlarmManager / Alarm table feature (Codesys V3.5.11.4).&lt;/p&gt;
&lt;p&gt;1.- Alarm Table / Properties / Variable For Selected Alarm ID: it does not update its value when an alarm is selected. I have tried with "Variable For Selected Alarm Group" and it works, however, it does not work with the Alarm ID. I am trying to create an action when an alarm is selected on the alarm table and this would allow me to do it. Do I have to enable any feature &lt;br/&gt;
2.- Alarm Configuration / Alarm Group / Message: I am trying to use "Latch Var 1" within the alarm message (e.g. &amp;lt;latch1&amp;gt; Low) but it does not includes the Latch1 value into the message. This was working when I was using  Codesys Control for Raspberry Pi SL but it stopped working since I update the device to Win V3.  Is this feature not enabled when using Win V3 ? Is it other way to update the alarm message?&amp;lt;/latch1&amp;gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance  &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>