• Not Answered

Method for resetting Alarm List filter setting twice a day

I have a need to reset the alarm list filter setting at when our console operators change shifts.

I suspect that I can set up something in the scheduler to handle the timed event hurdle.

Does anyone know if it is possible to access the alarm list filter properties via a script. Our operators typically set their alarm list to filter any alarm over 12 hours. At shift change, I would like to reset that to ensure that those are visible when they come on shift.

One option I considered is re-opening the alarm list display, as it defaults to no filter set.

Anyone have any ideas on how I might go about this?

3 Replies

  • I think you are referring to the Alarm Area filter settings, which the operator can enable/disable to adjust his default span of control.  There is also the adjustment of the priority filters that are initialized during launch of Operate or Live.

    The Alarm Area filters are set by writing to the 'THISUSE/AREAFILTSEQ[#].CV' where '#' is the index of the Plant Area

    In Live, the command defined in the AlarmFilt display is shown, where '#' is defined in Gem.Index which is concatenated into the path string:

     

    In Operate the syntax is "dvsys.THISUSER/AREAFILTSEQ[@index0@].F_CV", the @index0@ is the variable defined with the index number

    During Shift change, you would run a script that would adjust all the plant areas to be on or off (1 or 0) based on what you need them to be.  The AlarmFilt display has the All On and All Off buttons which write to the "THISUSER/ALLAREAFILT.CV".  To turn all areas On, you can use this path and write a 1.  Or use a combination starting with turning all on and then adjusting a few Areas to 0, rather than running through all areas.

    Typically, your logged on Operator has his assigned plant areas and by turning all AREAS on at shift change, they see their entire span of control by invoking the All On command.

    As for the Alarm Thresholds, the standard Alarm List priorities are tied to the Alarm Banner alarm thresholds which are defined in Global variables. In the settings file, these variables are passed into the console alarm environment with a function.  

           DeltaVAlarmThreshold.InitDefaultAlarmThresholds PROCESS_THRESHOLD_DEFAULT, _

                                                          DEVICE_THRESHOLD_DEFAULT, _

                                                          HARDWARE_THRESHOLD_DEFAULT, _

                                                          SIS_PROCESS_THRESHOLD_DEFAULT, _

                                                          SIS_DEVICE_THRESHOLD_DEFAULT, _

                                                          SIS_HARDWARE_THRESHOLD_DEFAULT

    You can adjust the global variables in Operate at run time and dynamically adjust the Alarm Banner and Alarm List to focus attention as needed.  

    In DeltaV Live, the Layout file of the console initializes the alarm Banner with the following:

    await ENV.RunAsync(GL.Library.S_SAT_path, thresholds)

    "thresholds" is a string array that is defined to the 6 Standards defining the alarm thresholds.  Note that in Live, Standards cannot be modified on line.  Modifying the Alarm Thresholds to values different than the standards will only affect the Alarm Banner and Alarm List.  The Alarms displayed in graphics on GEMs are referenced to the threshold Standards  and active alarms will continue to appear in the displays, even if the Threshold filters them from the Alarm Banner and Alarm list.

    Andre Dicaire

  • In reply to Andre Dicaire:

    Andre,

    I do/did have some questions on the Area Filter display, but those for another day....

    What I am presently referring to is in Operate alarm list display, the second from right tool bar button (next to the Excel export button) is used to access the Alarm Summary Filter Settings dialog box, and there is a feature to allow

    "Only Recent Alarms that have occurred within:" check box.

    This dialog seems to  be a runtime only feature, but I suspect that or hoped that I could reset the time specified via some scheduled vb script.

    As always, I do thank you for all the support you provide to the community!

    Mark

  • In reply to MPHymel:

    I am not aware of any exposed method on the alarm list control to manage these settings from a script.

    I'm thinking if you had two summaries with different settings, you could manage them via an animation, but that might create more problems if operators change the settings at runtime. Or if you used a different display/with summary for shift change. Or you block the operator from changing filter settings on this shift change summary, making it clear they are viewing the Shift change summary vs the "normal" summary.

    Sorry I don't have a better answer.

    Andre Dicaire