5.5.5 Enable Method

The Enable Method is used to change a Condition instance to the enabled state. Normally, the NodeId of the object instance as the ObjectId is passed to the Call Service. However, some Servers do not expose Condition instances in the AddressSpace. Therefore, all Servers shall allow Clients to call the Enable Method by specifying ConditionId as the ObjectId. The Method cannot be called with an ObjectId of the ConditionType Node. If the Condition instance is not exposed, then it may be difficult for a Client to determine the ConditionId for a disabled Condition. Since Condition instances are not required to be defined in the AddressSpace, the MethodId that is passed in the Call Service shall be the NodeId of the Enable Method on the ConditionType.

Signature

	Enable();

Method result codes in Table 13 (defined in Call Service)

Table 13 – Enable result codes
Result Code Description
Bad_ConditionAlreadyEnabledSee Table 137 for the description of this result code.

Table 14 specifies the AddressSpace representation for the Enable Method.

Table 14 – Enable Method AddressSpace definition
Attribute Value
BrowseNameEnable
References NodeClass BrowseName DataType TypeDefinition ModellingRule
AlwaysGeneratesEventObjectTypeAuditConditionEnableEventTypeDefined in 5.10.2
ConformanceUnits
A & C Enable

If Auditing is supported, this Method shall generate an Event of AuditConditionEnableEventType for all invocations of the Method.