CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sat Sep 21, 2019 6:04 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Mon Jul 08, 2019 5:13 am 
Offline

Joined: Mon Nov 13, 2017 6:34 am
Posts: 9
I was wondering if there is any method in the AlarmManager class which allow clearing of all the stored alarms....
Thank you for the help :)


Top
   
PostPosted: Mon Jul 08, 2019 8:00 am 
Offline
Frequent User
Frequent User

Joined: Thu Aug 30, 2018 8:40 am
Posts: 119
Hello Claudio_Baldo,

no there is currently no method to remove a already stored alarm (apart from configuring a maximum number of recorded alarms).

You mind sharing why you would need such a method?

Best regards,
Marcel


Top
   
PostPosted: Mon Jul 08, 2019 8:11 am 
Offline
Frequent User
Frequent User

Joined: Thu Mar 17, 2016 1:24 pm
Posts: 187
m.prestel wrote:
Hello Claudio_Baldo,

no there is currently no method to remove a already stored alarm (apart from configuring a maximum number of recorded alarms).

You mind sharing why you would need such a method?

Best regards,
Marcel


Hi, Marcel.
I have same suggestion and I can tell about some cases:

1. 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.
2. New conditions are introduced (new workmode, new recipes, etc.) - so there is no longer any need for the "old" alarm history.

This feature also will be helpful for Trend element.

_________________
Make CODESYS great again


Top
   
PostPosted: Tue Jul 09, 2019 6:32 am 
Offline
Frequent User
Frequent User

Joined: Thu Aug 30, 2018 8:40 am
Posts: 119
Hello,

thank you for the input!

I voted for you on thsi issue.

Best regards,
Marcel


Top
   
PostPosted: Wed Sep 04, 2019 8:45 am 
Offline

Joined: Mon Nov 13, 2017 6:34 am
Posts: 9
hey, just got back to reply to this... :)
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.
So the user should be able to clear the list of all stored alarms if he has the rights to do so.


Top
   
PostPosted: Wed Sep 04, 2019 10:39 pm 
Offline

Joined: Thu Aug 04, 2016 4:21 pm
Posts: 40
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.


Top
   
PostPosted: Thu Sep 05, 2019 4:40 am 
Offline
Frequent User
Frequent User

Joined: Thu Mar 17, 2016 1:24 pm
Posts: 187
D. Kugler wrote:
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.


I use it same way too, but there is one trouble: you need to reboot PLC after "restore the empty db".

_________________
Make CODESYS great again


Top
   
 Post subject: restart ALARM MANAGER??
PostPosted: Thu Sep 05, 2019 8:48 pm 
Offline

Joined: Thu Aug 04, 2016 4:21 pm
Posts: 40
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited