Add an OPC UA server object

Add an OPC UA server object

Configure an OPC UA server by adding the OPC UA server object to the project and by editing its properties.
  1. In
    Project view
    , right-click
    OPC-UA
    and select
    New
    OPC UA server
    .
    For more information about the properties of the OPC UA server object, see Object and variable references.
  2. In
    Project view
    , select the OPC UA server object.
  3. In
    Properties
    , next to
    Nodes to publish
    , select
    Add
    .
    A configuration of nodes to be published appears under
    Nodes to publish
    .
    IMPORTANT: Every time the nodes are published, their children nodes are published as well.
  4. In
    Configuration
    :
    • Add a node. Next to
      Nodes
      , select
      Add
      and configure the node by editing its properties. Repeat if needed.
    • Add a user Next to
      Users
      , select
      Add
      and configure the user. Repeat if needed.
      IMPORTANT: If you expose specific nodes (and not the entire project), you must specify at least one user. The user can be the default
      Anonymous
      user.
    • To expose business logic nodes to OPC UA clients set
      PublishDynamicConfigurationNodes
      to
      True
      .
      Business logic nodes include: dynamic links (linked variables), converters, event handlers (methods associated to events).
  5. If needed, repeat 3 through 4.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.