On alarm acknowledge

Hello,

 

our customer needs separate alarm acknowledging logger. Is there any function like OnEvent which can notify me about acknowledging alarm so I can run cicode function? I need to log acknowledge to .dbf file with this data Alarm name, start date time, stop date time, acknowledge date time, user name and content of string variable (internal I/O device). Project is tab style based.

  • Hi Ondrej,

    You should be able to do this using the Alarm Event Que. This will push a set of alarm fields into a queue when the alarm changes state.

    To use this you enable this you need to set the parameter [Alarm] EventQue to any alarms into the queue, and you need to set [Alarm] EventFmt to set the alarm fields that you you need.

    you can then write a cicode function to process the queue using QueOpen / QueRead. There is an example of this in the example project in the function 'ProcessEventQue'.

    Regards,
    Graeme.
  • I am the original customer that is the source of the question. The suggestion from Graeme is exactly what I ended up doing and it works very well. Thanks for the response. Your experience confirmed my own.