<< Click to Display Table of Contents >> Navigation: »No topics above this level« User alarms |
mapp Services V5.16
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.
•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
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:
The ID of a user alarm can be configured in Automation Studio and must correspond to the index within the VC alarm group.
The alarm ID is used to identify the alarm when calling the MpAlarmSet function: