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 Table 47(defined in Call Service)

Table 47– RemoveFromService result codes

Result Code

Description

Bad_MethodInvalid

The MethodIdprovided does not correspond to the ObjectIdprovided. See OPC 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 ConditionType Node.

See OPC 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 48specifies the AddressSpacerepresentation for the RemoveFromService Method.

Table 48– RemoveFromService Method AddressSpace definition

Attribute

Value

BrowseName

RemoveFromService

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

AlwaysGeneratesEvent

ObjectType

AuditConditionOutOfServiceEventType

Defined in 5.10.12