DisplayLastAlarm, AlarmAck(1,-1) not functioning anymore in Citect 8R2.

Hi ,

In version Citect 7.2 I was using the cicode "DisplayLastAlarm" on top of each page of my project to indicate the latest active alarm to the operator.

With the command "AlarmAck(1,-1)" I was able to acknowledge this alarm but apparently this function is not applicable anymore in Citect 8R2.

See info from help file "1 - Acknowledge a page of alarms. An alarm page can contain more than one alarm list:
Set Value to the AN where the alarm list is displayed.
Set Value to 0 to acknowledge the (displayed) alarm list (on the active page) where the cursor is positioned.
Set Value to -1 to acknowledge all (displayed) alarm lists on the active page.This only applies to alarm lists created using AlarmDsp (and not those created using AlarmDspLast).

Any suggestions for a work around?

best regards,

Hans Dekker

Parents
  • Hi Hans, you mention using the DisplayLastAlarm at the top of each page. You are probably using a template for that. Can you check the AN number of the AlarmDspLast() function and use this AN as the first argument of the AlarmDspLst() function and as second argument of the AlarmAck() function?
Reply
  • Hi Hans, you mention using the DisplayLastAlarm at the top of each page. You are probably using a template for that. Can you check the AN number of the AlarmDspLast() function and use this AN as the first argument of the AlarmDspLst() function and as second argument of the AlarmAck() function?
Children
No Data