Connect To OPC UA Server

Follow the guide Add Module to Apis Hive, but this time select a module of type Apis OpcUa from the Module type dropdown list.

  • After adding the module, select the new module named "ApisOPCUA1" from the Solution Explorer.
  • In the Properties Editor, enter values for:
    • ServerEndPoint: Endpoint URL of the OPC UA server. Syntax opc.tcp://{HostName or IP address}:{port number}
  • Press "Apply" when done.

Follow the guide Add Items to a Module, but this time add item of type "OPC Item".

  • Click the "Browse" button.

  • A dialog opens that lets you select items from the OPC UA Server.

  • When the dialog appears it is not populated with any items. In order to find the items you are looking for, you may enter your search criteria in the input box at the top of the dialog, By default it is the name of the leaf nodes you may filter on, but you can click the "Filter type" button to set other filter-types.

  • Click "Browse" to perform the search for items. When no search criteria is entered, the entire available namespace will be displayed.

  • Select the items you want to add and click "Ok" when done.

  • The item list will get new entries showing the added items.