Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

How to check if any alarms haven't been acknowledged?

DavidBo
2019-12-17
2019-12-18
  • DavidBo - 2019-12-17

    I have one window with alarm view created with alarm configuration and the Alarm Manager.
    I have another window in which i want a red lamp in case there are any unacknowledged alarms.
    Is it possible to get this status from the AlarmManager in an easy way?

     
  • dkugler - 2019-12-17

    Originally created by: D. Kugler

    in the Alarm Class you can set notification actions. Set and reset a bool variable, which control your lamp:

    IMG: ActiveAlarm.JPG

     
  • DavidBo - 2019-12-18

    Thanks. That was what I was looking for

     
  • dkugler - 2019-12-18

    Originally created by: D. Kugler

    I tested it this evening and got it only with the acknoledge methode "ACK" working as aspected:
    One or more alarms get active. The variable is set to TRUE. If one or more alarms are still active during acknolege, the variable should be still set or set again to TRUE. Works only with this settings:

    IMG: ActiveAlarm1.JPG

     

Log in to post a comment.