<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/</id><updated>2025-02-21T19:24:06.944000Z</updated><subtitle>Recent posts to CLEARING STORED ALARMS FROM ALARM MANAGER</subtitle><entry><title>CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/?limit=25#9b04" rel="alternate"/><published>2025-02-21T19:24:06.944000Z</published><updated>2025-02-21T19:24:06.944000Z</updated><author><name>francois68</name><uri>https://forge.codesys.com/u/francois68/</uri></author><id>https://forge.codesys.com218b32d6784baec6c00b180e502ebc1f306f95af</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Solution:&lt;br/&gt;
VAR&lt;br/&gt;
    itfAlarmConfig: AlarmManager.IAlarmConfiguration;&lt;br/&gt;
    itfAlarmConfig7: AlarmManager.IAlarmConfiguration7;&lt;/p&gt;
&lt;p&gt;SCRIPT&lt;br/&gt;
    itfAlarmConfig := AlarmGlobals.g_AlarmHandler.GetAlarmConfiguration(0);&lt;br/&gt;
    IF __QUERYINTERFACE(itfAlarmConfig, itfAlarmConfig7) THEN itfAlarmConfig7.ClearHistory(FALSE); END_IF&lt;/p&gt;
&lt;p&gt;Works perfectly for me.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/?limit=25#4b43" rel="alternate"/><published>2020-02-27T14:02:32.066000Z</published><updated>2020-02-27T14:02:32.066000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.coma9cbc5111d25eeb97eeb09385be9a80e07d02014</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; D. Kugler&lt;/p&gt;
&lt;p&gt;That's right, you can't do that "on the fly". In my case it's no problem to reboot, because our systems are portable and they are shut down before delivery. Would be interesting, if it's possible to restart the alarm manager while the application ist running? I haven't searched for that in the past.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/?limit=25#ee82" rel="alternate"/><published>2020-02-27T14:02:31.808000Z</published><updated>2020-02-27T14:02:31.808000Z</updated><author><name>e.kislov</name><uri>https://forge.codesys.com/u/e-kislov/</uri></author><id>https://forge.codesys.com568260822d43fee82397828ae99c25477cb61a04</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;D. Kugler hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
I did a workaround by copying the empty sqlite database in the plclogic\alarms directory after the download of the project and before setting the PLC in run mode. To clean up the history, I restore the empty db to the actually used database. Works for the unsermanagement or trend db in the same way. Maybe it's an idea for you to do it in the same way.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I use it same way too, but there is one trouble: you need to reboot PLC after "restore the empty db".&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/?limit=25#5dfd" rel="alternate"/><published>2020-02-27T14:02:30.934000Z</published><updated>2020-02-27T14:02:30.934000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com0d8d48456bd64c5af41adab9bb5fb330d9448dd7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; D. Kugler&lt;/p&gt;
&lt;p&gt;I did a workaround by copying the empty sqlite database in the plclogic\alarms directory after the download of the project and before setting the PLC in run mode. To clean up the history, I restore the empty db to the actually used database. Works for the unsermanagement or trend db in the same way. Maybe it's an idea for you to do it in the same way.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/?limit=25#4a42" rel="alternate"/><published>2020-02-27T14:02:30.627000Z</published><updated>2020-02-27T14:02:30.627000Z</updated><author><name>Claudio-Baldo</name><uri>https://forge.codesys.com/u/claudio-baldo/</uri></author><id>https://forge.codesys.com10c52b69b8b70e5ffb55bf0b07bc50247d94c68e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hey, just got back to reply to this... &lt;br/&gt;
another very simple reason for implementing such a method is that having 1000 messages may be confusing for the operator whom may want to know a list (or counter) of alarms happened per day.&lt;br/&gt;
So the user should be able to clear the list of all stored alarms if he has the rights to do so.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/?limit=25#9c5e" rel="alternate"/><published>2020-02-27T14:02:30.290000Z</published><updated>2020-02-27T14:02:30.290000Z</updated><author><name>mprestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com6deca00f544606bdeab0955b3365f9aaf0f14283</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;thank you for the input!&lt;/p&gt;
&lt;p&gt;I voted for you on thsi issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/?limit=25#e362" rel="alternate"/><published>2020-02-27T14:02:29.372000Z</published><updated>2020-02-27T14:02:29.372000Z</updated><author><name>e.kislov</name><uri>https://forge.codesys.com/u/e-kislov/</uri></author><id>https://forge.codesys.com5b1bd0a7b4e60c5e30c5888591855d23855dd9e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;m.prestel hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hello Claudio_Baldo,&lt;br/&gt;
no there is currently no method to remove a already stored alarm (apart from configuring a maximum number of recorded alarms).&lt;br/&gt;
You mind sharing why you would need such a method?&lt;br/&gt;
Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi, Marcel.&lt;br/&gt;
I have same suggestion and I can tell about some cases:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;System goes over from test period to common work mode, so "test" information should be removed and it's not always possible to reload project.&lt;/li&gt;
&lt;li&gt;New conditions are introduced (new workmode, new recipes, etc.) - so there is no longer any need for the "old" alarm history.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This feature also will be helpful for Trend element.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/?limit=25#6071" rel="alternate"/><published>2020-02-27T14:02:28.939000Z</published><updated>2020-02-27T14:02:28.939000Z</updated><author><name>mprestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comc2b198b03229ee2c2eb604b8114809c60801f23b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Claudio_Baldo,&lt;/p&gt;
&lt;p&gt;no there is currently no method to remove a already stored alarm (apart from configuring a maximum number of recorded alarms).&lt;/p&gt;
&lt;p&gt;You mind sharing why you would need such a method?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CLEARING STORED ALARMS FROM ALARM MANAGER</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fbaa77bee5/?limit=25#7819" rel="alternate"/><published>2020-02-27T14:02:28.561000Z</published><updated>2020-02-27T14:02:28.561000Z</updated><author><name>Claudio-Baldo</name><uri>https://forge.codesys.com/u/claudio-baldo/</uri></author><id>https://forge.codesys.comc30cc5278fe2e1a5bfb9e921d9cee6a763c6b6ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I was wondering if there is any method in the AlarmManager class which allow clearing of all the stored alarms....&lt;br/&gt;
Thank you for the help &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>