Alarm table Filtering and Acknowledge

marc-p
2023-06-28
2023-06-28
  • marc-p - 2023-06-28

    Hello,

    I have a problem on a project where I'm managing an Alarm Group with an Alarm Table.
    Currently, I tried to filter the different alarms with the Latch variables (just the number 1 for now).
    I followed the steps on Codesys online help and the project example, and it worked.

    But, now, I can't acknowledge any alarms even with the auto generated buttons ("Insert elements for acknowledging alarms").
    I also tried the "AcknowledgeAll" method from the interface AlarmConfiguration with a _QUERYINTERFACE method and it don't acknowledge anything.

    AlarmManager.IAlarmConfiguration7.AcknowledgeAll()

    But, I tried another project without the alarm filtering and it acknowledge alarms even when I want to acknowledge all.

    When I'm running the AlarmFilterWith LacthVar example project in simulation, it seems to work fine for both, acknowledging and filtering the alarm table. So, I don't see where or why it doesn't work.

    Infos:
    Codesys 3.5 SP18 Patch 4 64 bits
    AlarmManager Lib 4.4.0.0
    VisuElemsAlarm Lib 4.4.0.0

    Is there any option to configure that ? Am I using the right objects (AlarmManager, VisuElemsAlarm) ?

    Thank you in advance for your help !

    Marc

     
  • marc-p - 2023-06-28

    Nevermind, I find my mistake.

     

Log in to post a comment.