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