Applies To:
  • CitectSCADA 5.5x, 6.xx
  • CitectHMI 5.5x, 6.xx

Summary:
Using the CSV Hardware Alarm template, the option 'Page Down the Alarm List' never becomes available, and is always 'Greyed Out' even though I know I have more than one page of Hardware Alarms.


 

Solution:
This is usually only noticeable when custom hardware alarms are used as usually there is less than one page of hardware alarms.

This is a known error in the CSV Templates.  It is because Hardware alarms do not respond to the same functions as normal Alarms, so the condition to make the 'Page Down the Alarm List' visible will never be true.

There are two ways to resolve this issue. The first one removes the 'Greying out' of this button all together which is very simple to do. The second one modifies the cicode on the controls directly to fix the problem completely using different cicode functions.

METHOD 1: Remove enabling/disabling of button

* Open the 'Hardware' template, located in the 'csv_include' project, 'XGA' resolution and 'xp_style' style in the Graphics Builder
* Navigate to the @(Page down the alarm list) button, click the grey text
* Press the 'Delete' key




* You will now see the blue text object that was below the grey object:



This is the actual button. Save, run a 'Update Pages' and you should now be able to press this button whenever you need to.

If there are no more than 1 page of hardware alarms, the button will have no effect, and no errors will occur.

This procedure can be repeated for any 'greyed out' button of this type that you wish to always have access to.

METHOD 2: Repair enable/disable

* Open the 'hardware' template, located in the 'csv_include' project, 'XGA” resolution and 'xp_style' style.
* Modify the following object AN controls on this template.

234 - Appearance tab, visibility tab, change “Hidden when” expression to
          NOT DspGetMouseOver(235) OR AlarmActive(5) <= (AlarmGetInfo(250,0) * 25)
235 - Fill tab, colour tab, change “ON color when” expression to
          AlarmActive(5) > (AlarmGetInfo(250,0) * 25)
236 - Appearance tab, visibility tab, change “Hidden when” expression to
          AlarmGetInfo(250,0) = 1 AND
          AlarmActive(5) <= (AlarmGetInfo(250,0) * 25)
237 - Appearance tab, visibility tab, change “Hidden when” expression to
          AlarmGetInfo(250,0) <> 1 OR
          AlarmActive(5) > (AlarmGetInfo(250,0) * 25)

* Save, run an 'Update Pages'

The next button and pages shown should now behave as expected.

Citect has confirmed this to be a problem in CitectHMI/SCADA version 5.5x to 6.xx.  We are researching this problem and will post new information here as it becomes available.

 

Keywords:
hardware alarm template PgDn greyed grey gray grayed csv  

Attachments