User alarms

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

User alarms

mapp Services V5.16

Requirement

The temperature of a furnace should be monitored from the application. An alarm should be triggered as soon as the temperature exceeds a certain value.

This alarm should be displayed in the HMI application using VC4 alarm management for current and past alarms.

Solution

Component list

MpAlarmBasic (own MpLink): Alarm management of mapp and user alarms

MpAlarmBasicUI (MpLink from MpAlarmBasic): Connects to Visual Components using an alarm image. The MpLink from MpAlarmBasic is used so that the user alarms have their own alarm group in VC4.

MpAlarmSet (MpLink from MpAlarmBasic): Sets a user alarm

MpAlarmReset (MpLink from MpAlarmBasic): Resets a user alarm

Connection diagram

mpalarmusecase_5

 

 

Using the mapp components

User alarms can be set and reset using the MpAlarmSet and MpAlarmReset functions.

The MpAlarmBasic component collects all user alarms and makes them available to Visual Components as an alarm image using the interface from MpAlarmBasicUI. In mpALARM_UI_MODE_USER mode, only user alarms in the alarm image are transferred.

In Visual Components, an alarm group is created for all user alarms and connected with the UIConnect structure from MpAlarmBasicUI:

mpalarmusecase_5_useralarms_vcalarmgroups

 

 

The ID of a user alarm can be configured in Automation Studio and must correspond to the index within the VC alarm group.

mpalarmusecase_5_useralarms_configuration

 

 

The alarm ID is used to identify the alarm when calling the MpAlarmSet function:

mpalarmusecase_5_useralarms_ladder