5 Model ToC Previous Next

5.5 Condition Model ToC Previous Next

5.5.5 Enable Method ToC Previous Next

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 may not 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 14 (defined in Call Service)

Table 14 – Enable result codes

Result Code Description
Bad_ConditionAlreadyEnabled See Table 135 for the description of this result code.

Table 15 specifies the AddressSpace representation for the Enable Method.

Table 15 – Enable Method AddressSpace definition

Attribute Value
BrowseName Enable
References NodeClass BrowseName DataType TypeDefinition ModellingRule
AlwaysGeneratesEvent ObjectType AuditConditionEnableEventType Defined 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.

Previous Next