Email Us at [email protected]

Download N3uron
Back to videos

OPC UA Client / Configuring OPC UA Client

Configuring OPC UA Client

Description

In this video of our N3uron Academy, we’re going to introduce you to N3uron’s OPC-UA Client module.

  • [03:38]  Configuring OPC UA Client

Transcription

[00:00] Hello everyone! In today’s video, I am excited to introduce you to N3uron’s OPC-UA Client module. It comes packed with some fantastic features, including the “OPC-UA Server Discovery” utility and an intuitive “OPC-Browser” for seamless exploration of OPC-UA endpoints and tags. In this demonstration, I’ll be establishing a connection to a Kepware OPC-UA Server, where I have two tanks, each with two tags, “Level” and “Temperature”. These tags are located within the paths “CHANNEL1/Device1/TANK01” and “CHANNEL1/Device1/TANK02”. The goal is to seamlessly integrate these tags into N3uron’s data model. To get started, let’s create a new instance of the OPC-UA Client module. Head over to the “Config” tab in the “System” section, click on “Modules”, and then select “New module”.

[01:00] Assign a suitable name to the module instance, like “OpcUaClient”, and set the Module type to OpcUaClient. I will keep the remaining parameters at their default values and save the changes. Once created, I’ll find my module instance in the Explorer Panel, click on it, and go to the menu in the Model header. I’ll select “New Client” to create my connection. Since I’m going to be connecting to Kepware’s OPC-UA server, I will name the connection “KepwareServer” for clarity. Now, let’s complete the settings for our client’s connection. Navigate to the “Connection” section, click on the icon next to “Endpoint URL”, which is the “OPC-UA Server Discovery” utility. In the “Pop-up” window, enter the IP address or URL of the endpoint, followed by a colon and the port number. Then, proceed by clicking the “Find endpoints” button. After successfully establishing a connection, select the security policy for the endpoint from the available list and click the ‘Select’ button. Notice that N3uron automatically fills in the “Security Mode” and “Security Policy” fields for me.

[02:00] In my case, “Security Mode” is set to “Sign & Encrypt” and “Security Policy” is set to “Basic256Sha256” for a secure connection. Now, I’ll set up user authentication by entering the username and password to establish a connection with the OPC-UA endpoint based on my scenario. I’ll navigate to the Explorer section and select the OPC-UA client module. Inside, I’ll click on the “OPC Browser,” and then choose the appropriate Client connection. Since this is my first connection to the OPC-UA server, an error message popup window will appear, indicating that certificate verification has failed due to the server’s untrusted certificate. Now, I’ll address the certificate verification. I’ll navigate to the “Certificates” tab within the OPC-UA module and trust the certificate. Next, I’ll move to the Kepware OPC-UA server and accept the client’s certificate in the OPC-UA configuration manager.

[03:04] I’ll locate my client’s certificate in the “Trusted Clients” tab, click “Trust,” and then close the window. Great! With the OPC-UA Client settings configured and certificates accepted, the next step will be to incorporate the tags from the OPC-UA Server into our data model. See you in the next video!

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from - Youtube
Vimeo
Consent to display content from - Vimeo
Google Maps
Consent to display content from - Google
Spotify
Consent to display content from - Spotify
Sound Cloud
Consent to display content from - Sound