.AlarmType Dotfield
- Last UpdatedNov 07, 2016
- 1 minute read
Returns the alarm type for the tag associated with a selected alarm. The alarm has to be selected by clicking the Distributed Alarm Display object in summary mode.
Category
Alarms
Usage
[ErrorNumber=]GetPropertyM("ObjectName.AlarmType",TagName);
Parameters
ObjectName
Name of the Distributed Alarm Display object. For example, AlmObj_1.
TagName
Any message tag.
Data Type
String (read-only)
Example
If used in a Touch Pushbutton QuickScript, this statement returns the type of the selected alarm to the almType tag when the operator acknowledges the alarm.
GetPropertyM("AlmObj_1.AlarmType",almType);
Where AlmObj_1 is the name of the Distributed Alarm Display object and almType is a memory message tag containing the alarm type for the tag associated with the selected alarm.
See Also
GetPropertyM(), .AlarmAccess, .AlarmClass, .AlarmComment, .AlarmDate, .AlarmLimit, .AlarmName, .AlarmOprName, .AlarmOprNode, .AlarmPri, .AlarmProv, .AlarmState, .AlarmTime, .AlarmValue