OPC Unified Architecture – Part 110: Asset Management Basics
10.5.3 AddLink Method
This Method provides the capability to persistently add a link to an externally managed resource by adding a Variable according to the input arguments with a HasComponentReference to the Object the Method is called on. The server shall manage the added link persistently, i.e., if the Method was executed successful, the Variable representing the link shall be persistent and available after restart of the Server. It might disappear after resetting or reconfiguring the Server or after calling the RemoveLinkMethod. The ValueAttribute of the created Node should be writable, so the end-user can change the URI. In addition, the BrowseName, DisplayName, and Description might be writable. Servers might restrict the execution of this Method as well as writing the Attributes to specific users / roles.
The signature of this Method is specified below. Table 31 and Table 32 specify the Arguments and AddressSpace representation, respectively.
Link to an external source. The server might or might not check if a correct URI is provided, or if the URI is available/reachable.
BrowseName
The BrowseName of the new created Node. Method fails if a Variable with the same BrowseName already exists.
DisplayName
The DisplayName of the new created Node. If the server supports multiple locales, and the Client wants to provide more than one locale, the Write operation on the Variable shall be used.
Description
The Description of the new created Node. If the server supports multiple locales, and the Client wants to provide more than one locale, the Write operation on the Variable shall be used.