Skip to main content

i4scada Knowledge Base

i4scada OPC-UA Tutorials


To help you configure the OPC-UA Connector in the i4scada Studio application, check out this step-based tutorial accompanied by helpful screenshots.

Configuring the OPC-UA Connector in i4scada Studio

Get going with your OPC-UA Connector and follow the steps described in this tutorial, for a successful outcome.

To configure and test an OPC-UA Connector, follow the below described steps:

  1. Open the i4scada Studio application.

  2. The login dialog is opened. Fill in your credentials (if you are a new user and made no changes during i4scada installation, the default user name is "sa" and the password is "webfactory").

  3. Select the [New Database] option from the Database drop-down list.

  4. The New Database dialog is opened allowing the user to fill in the Database name.

  5. Press the button New to start generating the new Database.

  6. Once the Database is prepared, press the Login button.

  7. The i4scada Studio is opened. An information window pops-up asking the user to confirm if the new database should be set as Default or not.

  8. For the current use case, we shall set the New database as default, hence the button Yes will be selected.

  9. Under the Signals section click right on the Server List node.

  10. The Server contextual dialog is displayed. Select the option New Server.

  11. A new Server node is added, under Server List. We shall name the new Server ".", as for the current use case the Server runs on the same machine as the i4scada Studio.

  12. Select the Server node and click-right. Select the option New Connector / OPC-UA Connector from the contextual menu.

  13. The OPC-UA Connector node is added to the hierarchical view.

  14. Further configuration steps, will be organized in the Connector Configuration panel.

  15. Click the toolbar button New to add a new Session to the OPC-UA Connector.

  16. The OPC-UA Connector window pops-up. Type in Server Url and click the Connect button.

  17. The Enpoints grid-view is populated. Select the desired Session endpoint(s) and click the Create button.

  18. The Session is added to the below grid-view. Click the Import button to add the new Session to the OPC-UA Connector.

  19. Close the OPC-UA Connector window to return to the Signals panel of i4scada Studio. In the Connector Configuration panel, the hierarchy is updated with a node for the new Session.

  20. Select the Session node and click on the button New, to create a new Subscription.

  21. The new Subscription is added automatically to the hierarchical view.

  22. Select the new Subscription node and click on the button New, to add Items to the Subscription.

  23. The Server nodes window pops-up, displaying the list of monitored Items (variables).

  24. Select the desired server node(s) or expand the hierarchy. The items grid-view is populated with all the respective node variables.

  25. Select the desired listed items and click either Import All or Import button.

  26. Close the Server nodes window, to return to the Signals panel in i4scada Studio.

  27. The Subscription items grid-view is populated with the imported items. Press the Save button, in the Connector Configuration panel, to preserve the changes organized so far.

  28. Click right on the .\OPCUAConnector node and select the Browse Connector option in the contextual menu.

  29. The Browse Connector window pops-up, displaying the previously created hierarchy. Click on the Subscription node.

  30. Select the desired Item(s) from the list view and fill in a new Destination group.

  31. Click the button Add to enable the system to perform the mapping between Subscription Items and WEBfactory Signals.

  32. Close the Browse Connector window to return to the Signals panel in i4scada Studio.

  33. Click on the Group node. The list is populated with the Group Signals.

  34. Open the i4scada Service Manager Application and start the i4scada Server.

  35. Open the i4scada Activity Analyzer and click on the Start toolbar button.

  36. Activity for the OPC-UA Connector and its Groups are successful.