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 joining system can report a respective event when an asset is ready to be disconnected.
The signature of this Method is specified below. Table 64 and Table 65 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 64 – 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. |
disconnect |
If true, it will prepare the asset for disconnect. The default value is false. |
status |
It provides the status of the Method execution. Refer 7.2.3 for details. |
statusMessage |
It provides the high-level status information in a user-friendly text. |
Table 65 – DisconnectAsset Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
DisconnectAsset |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |
0:HasProperty |
Variable |
0:OutputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |