Adding Alarm Pages

To create separate alarm pages for each alarm type in the project:

  1. In Power Operation Studio, click Visualization > Menu Configuration.
  2. In the Menu Command line, add the Cicode method that will open the page: PLSDspShowAlarm(INT nType)
  3. Where:

    nType = the type of alarm (e.g., 1=unacknowledged, 3=disabled)

    Example (for disabled alarms): PLSDspShowAlarm(3)

For more information, on alarm types, see AlarmDsp in the Cicode Programming Reference help file.

TIP: The PLS_Example project also has several examples on how to add each alarm page to your project. With the PLS_Example project active in Power Operation Studio, click Visualization > Menu Configuration. You will see all active alarms in a page named "Alarm Log" with AlarmType=0.