TheRemoveFromService Methodis used to suppress a specific Alarminstance. It is only available on an instance of an AlarmConditionType that also exposes the OutOfServiceState. Normally, the NodeIdof the object instance is passed as the ObjectIdto the Call Service. However, some Serversdo not expose Conditioninstances in the AddressSpace. Therefore, Serversshall allow Clientsto call the RemoveFromService Methodby specifying ConditionIdas the ObjectId.The Methodcannot be called with an ObjectIdof the AlarmConditionType Node.
Signature
RemoveFromService();
Methodresult codes in Table61 (defined in Call Service).
Table 61– RemoveFromService result codes
Result Code |
Description |
Bad_MethodInvalid |
The MethodIdprovided does not correspond to the ObjectIdprovided. See 10000-4for the general description of this result code. |
Bad_NodeIdInvalid |
Used to indicate that the specified ObjectIdis not valid or that the Methodwas called on the AlarmConditionType Node. See 10000-4for the general description of this result code. |
Comments
Instances that do not expose the OutOfService Stateshall reject RemoveFromServicecalls. RemoveFromService Methodapplies to an Alarminstance, even if it is not currently in the Active State.
Table 62specifies the AddressSpacerepresentation for the RemoveFromService Method.
Table 62– RemoveFromService Method AddressSpace definition
Attribute |
Value |
||||||
BrowseName |
RemoveFromService |
||||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
||
AlwaysGeneratesEvent |
ObjectType |
AuditConditionOutOfServiceEventType |
Defined in 5.10.12 |
||||
ConformanceUnits |
|||||||
A & C OutOfService |
If Auditingis supported, this Methodshall generate an Eventof AuditConditionOutOfServiceEventTypefor all invocations of the Method.