<< Click to Display Table of Contents >>
GetAlarm |
GetAlarm()
Returns an object that allows access to specific settings of each type of alarm. This object allows verifying or changing properties of a certain alarm at run time. Depending on the type of alarm, this method returns an object with the properties described on the next tables.
Properties of an Analog Alarm object
Property |
Description |
---|---|
Delay time for this alarm, in milliseconds, when entering and when leaving a condition |
|
Enables or disables a verification on this alarm with a High level of severity |
|
Indicates whether there is a need to acknowledge the High level of severity of this alarm |
|
Enables or disables a verification on this alarm with a Very High level of severity |
|
Indicates whether there is a need to acknowledge the Very High level of severity of this alarm |
|
Limit for the Very High level of severity of this alarm |
|
Text of the message for the Very High level of severity of this alarm |
|
Importance of the Very High level of severity of this alarm. Possible values for this property are -2: Critical, 0: High, 1: Medium, or 2: Low |
|
Limit for the High level of severity of this alarm |
|
Text of the message for the High level of severity of this alarm |
|
Importance of the High level of severity of this alarm. Possible values for this property are -2: Critical, 0: High, 1: Medium, or 2: Low |
|
Dead band for limits of this alarm's level |
|
Return message of this alarm |
|
Enables or disables a verification on this alarm with a Low level of severity |
|
Indicates whether there is a need to acknowledge the Low level of severity of this alarm |
|
Limit for the Low level of severity of this alarm |
|
Enables or disables a verification on this alarm with a Very Low level of severity |
|
Indicates whether there is a need to acknowledge the Very Low level of severity of this alarm |
|
Limit for the Very Low level of severity of this alarm |
|
Text of the message for the Very Low level of severity of this alarm |
|
Importance of the Very Low level of severity of this alarm. Possible values for this property are -2: Critical, 0: High, 1: Medium, or 2: Low |
|
Text of the message for the Low level of severity of this alarm |
|
Importance of the Low level of severity of this alarm. Possible values for this property are -2: Critical, 0: High, 1: Medium, or 2: Low |
|
Name of this alarm |
Properties of a Dead Band Alarm object
Property |
Description |
---|---|
Enables or disables a verification on this alarm |
|
Indicates whether there is a need to acknowledge this alarm |
|
Limit for this alarm |
|
Text of the message of this alarm |
|
Return message of this alarm |
|
Limit of dead band of this alarm. Each time an associated Tag's value exceeds this property's value above or below DeadBandLimit's value, this alarm occurs |
|
Importance of this alarm. Possible values for this property are -2: Critical, 0: High, 1: Medium, or 2: Low |
|
Delay time for this alarm, in milliseconds, when entering and when leaving a condition |
|
Name of this alarm |
Properties of a Digital Alarm object
Property |
Description |
---|---|
Delay time for this alarm, in milliseconds, when entering and when leaving a condition |
|
Enables or disables a verification on this alarm |
|
Indicates whether there is a need to acknowledge this alarm |
|
Limit for this alarm |
|
Text of the message of this alarm |
|
Return message of this alarm |
|
Severity of this alarm. Possible values for this property are -2: Critical, 0: High, 1: Medium, or 2: Low |
|
Name of this alarm |
Properties of a Discrete Alarm object
Property |
Description |
---|---|
Delay time for this alarm, in milliseconds, when entering and when leaving a condition |
|
Return message of this alarm |
|
Name of this alarm |
|
A collection of Subconditions of this alarm. Please check the next table for a description of all available properties on the Subcondition objects of that collection, which are accessible using its Item method |
Properties of a Subcondition object from a Discrete Alarm
Property |
Description |
---|---|
Indicates whether there is a need to acknowledge this Subcondition |
|
Description of this Subcondition |
|
Enables or disables this Subcondition |
|
Behavior of this Subcondition. Possible values for this property are 0: Alarm, 1: Event, or 2: Return |
|
Value of the alarm source to generate this Subcondition |
|
Event message when this Subcondition is active |
|
Name of this Subcondition |
|
Importance of this Subcondition. Possible values for this property are -2: Critical, 0: High, 1: Medium, or 2: Low |
Properties of a Rate of Change Alarm object
Property |
Description |
---|---|
Delay time for this alarm, in milliseconds, when entering and when leaving a condition |
|
Name of this alarm |
|
Enables or disables a verification on this alarm |
|
Indicates whether there is a need to acknowledge this alarm |
|
Limit for this alarm. For this alarm to occur, it is sufficient that the associated Tag's value exceeds this value in one second |
|
Text of the message of this alarm |
|
Return message of this alarm |
|
Importance of this alarm. Possible values for this property are -2: Critical, 0: High, 1: Medium, or 2: Low |
Usage example of this method:
Sub Button1_Click()
'Click this button to change the Low severity level
'of an analog alarm
Set alm = Application.GetObject("Conf1.Area1.Analog1")_
.GetAlarm()
alm.LoLimit = 10.2
End Sub
NOTE |
The properties relative to each type of alarm can be accessed directly by scripts and Links, as well as viewed on an object's Properties List, so their edition is no longer mandatory via GetAlarm method. |