7.6.4 DisconnectAsset

The Method DisconnectAsset is used to disconnect or connect the asset.

Note: It is intended to be used for physical assets connected with physical cables where an asset can be disconnected using the method before removing the cable connection.

Examples: Cable Tool connected to a Controller or a gateway, Robot docking.

The Asset.Parameters.Connected variable shall be updated with the connection status and generate an event of JoiningSystemEventType with ConditionClass = SystemConditionClassType and ConditionSubClass = AssetConnectedConditionClassType or AssetDisconnectedConditionClassType..

The signature of this Method is specified below. Table 68 and Table 69 specify the Arguments and AddressSpace representation, respectively.

Signature

	DisconnectAsset (
		[in]	0:String		productInstanceUri,
		[in]	0:Boolean		disconnect,
		[out]	0:Int64		status,
		[out]	0:LocalizedText		statusMessage)
Table 68 – DisconnectAsset Method Arguments
Argument Description
productInstanceUri

With this argument the Client can provide the identifier of the asset on which this method is applicable.

It can be empty if the method is modelled directly under the required asset. If it is empty, the system can consider the identifier of the asset where the Server is running.

disconnectIf true, it will prepare the asset for disconnect. The default value is false.
statusIt provides the status of the Method execution. Refer 7.4 for details.
statusMessageIt provides the high-level status information in a user-friendly text.
Table 69 – DisconnectAsset Method AddressSpace Definition
Attribute Value
BrowseNameDisconnectAsset
References Node Class BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[]0:PropertyType0:Mandatory
0:HasPropertyVariable0:OutputArguments0:Argument[]0:PropertyType0:Mandatory