Import nodes at runtime

Importing nodes at runtime requires an initial configuration.

Prerequisites

Add an OPC UA client.

To import nodes at runtime
  1. In Project view, select an OPC UA client.
  2. In Properties, select Add next to Runtime configurations.

    RuntimeConfiguration# appears under Runtime configurations.

  3. Set the RuntimeConfiguration# properties:
    • Local destination node. Design node where the node of interest and all its children are imported.

    • Remote source node. Path of the node of interest in the server information model starting, expressed as the sequence of BrowseName separated by /. Selects all child nodes of the indicated node. You do not need to indicate the server root node.

    • Content synchronization mode:
      • No synchronization. Disable the import of nodes and variable values.

      • Import only. Import the nodes of interest but do not retain the node structure or the values of synchronized variables.

      • Import and synchronize values. Import the nodes of interest and keeps the variable values synchronized.

      • Full synchronization. Import the nodes of interest and keep their structure and the values of the variable synchronized.

    • Include remote source node:
      • False. Imports child nodes only.

      • True. Imports both the node indicated in the remote source node and the child nodes.

    • Enable event synchronization. In the OPC UA client node indicated in Local Destination Node, shows the events generated by the server node indicated in Remote Source Node.

    • Event type. Event type of interest among those generated by the server node indicated in Remote Source Node and shown in the OPC UA client node indicated in Local Destination Node.
      Tip: Select Add Dynamic Link and inside Types > EventTypes, select the event type.