Sıkça Sorulan Teknik Sorular

Soru Sorun

How to acknowledge alarms automatically in Vijeo Citect during runtime.

In order to acknowledge alarms automatically in the Vijeo Citect dring runtime put all the alarms that need to be automatically acknowledged in the same category. Then use the following Cicode script to acknowledge all the alarms of this category.

Note:
You could have this function run every 30seconds for example.

Cicode Script:

/* Acknowledge all unacknowledged (Type 1) alarms of the specified alarm category. */
 
FUNCTION AutoAccept(INT Category)
INT Current;
INT Next;
Current=AlarmFirstCatRec(Category,1);
WHILE Current<>-1 DO
   Next=AlarmNextCatRec(Current,Category,1);
   AlarmAckRec(Current);
   Current=Next;
   END
END

 

Bu bilgi size yardımcı oldu mu?
Bu bilgiyi geliştirebilmek için ne yapabiliriz?