Skip to main content
InSource Solutions

TN Appsvr222 Disabling the ItemErrorCntAlarm

InSource_Logo_Transparent.png

Description

This article from InSource Solutions shows you how to disable the ItemErrorCntAlarm in Application Server.

  • Author: Daniel London
  • Published: 01/17/2017
  • Applies to: Application Server

Details

Sometimes you will witness the ItemErrorCntAlarm message flooding the Wonderware logger and alarm banners. It is important to note that it is working as designed. You should investigate what issue is causing it to trigger. It is typically related to something with the DA/IO server. However, if you have determined that the issue is not critical and want to prevent these alarms from showing, there is a script that allows you to do this.

This script must be assigned to the DDESuiteLink Client or RDI object that is being referenced in the alarm. You can either assign it to each object individually or propagate it through an inherited script from a template.

The example we are using is going to be generated as an OnScan script. Below is the sample script that we used. Please use this at your own direction. InSource is not responsible for any issues that may arise from trying to use it. It would be a good idea to test this on a small scale before mass distribution in a galaxy.

SCRIPT:

Dim ItemAlarmInhibit as Indirect;
Dim i as integer;
Dim RowCtr as integer;
RowCtr = 0;
For each i in me.ScanGroupList[]
RowCtr = rowCtr +1;
ItemAlarmInhibit.bindto(me.tagname + "." + me.ScanGroupList[RowCtr] + ".ItemErrorCntAlarm.AlarmInhibit");
ItemAlarmInhibit = true;
logmessage(me.tagname + "." + me.ScanGroupList[RowCtr] + ".ItemErrorCntAlarm.AlarmInhibit");
Next;

 

EXAMPLE:

Capture.jpeg