--- title: "Quick User Guide | OPC UA Client Config | N3uron KB V.1.20" slug: "quick-user-guide-opc-ua-client-configuration" description: "Welcome to N3uron, the modern and highly customizable Industrial IoT and SCADA software solution to accomplish any data collection project." updated: 2022-02-28T10:04:00Z published: 2022-02-28T10:04:03Z canonical: "docs.n3uron.com/quick-user-guide-opc-ua-client-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.n3uron.com/llms.txt > Use this file to discover all available pages before exploring further. # OPC UA Client Configuration ## Example connection for KEPServerEX and TOPServer The following steps show how to connect to KEPServerEX and TOPServer using the OPC UA client. **Step 1:** Create the module: *(Config => Modules => button to the left of Modules => New module)* ![33-new-module-creation](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/33-new-module-creation.png)Figure 33.New module creation **Step 2:** Provide a name for the module (in this case OPCUAClient01), assign the module type (in this case OpcUaClient) and save the new configuration. ![34-configuring-new-module-as-OpcUaClient](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/34-configuring-new-module-as-OpcUaClient.jpg)Figure 34. Configuring the new module as OpcUaClient **Step 3:** Configure the log (usually the default values are sufficient). Save the log configuration. ![35-default-log-configuration](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/35-default-log-configuration.jpg)Figure 35. Default log configuration **Step 4:** Create the OPC UA connections. Each connection is an independent OPC UA client. ![36-creation-new-OPCUA-connection-to-server](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/36-creation-new-OPCUA-connection-to-server.jpg)Figure 36. Creation of a new OPC UA connection to a server **Step 5:** Configure the OPC UA client to connect to KEPServerEX or TOPServer. - **Connection:** The “Endpoint URL” is the Hostname/IP address of the target OPC server and the “port” with the format opc.tcp://endpointURL:port. Default OPC UA port for KEPServer is 49320 and for TOPServer is 49380. - **Authentication:** Permits user and password authentications to be enabled for server connections. If authentication is not enabled, the OPC UA server must permit anonymous login. - **Subscription:** Permits configuration of the tag subscriptions in the OPC UA server. Save the configuration and select restart the module. ![37-OPCUA-client-configuration-connecting-to-TOPServer](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/37-OPCUA-client-configuration-connecting-to-TOPServer.jpg)Figure 37. OPC UA client configuration for connecting to TOPServer in the same host **Step 6:** Create a tag to connect to the OPC sever: Config => Tags => New Tag ![38-new-tag-creation](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/38-new-tag-creation.png)Figure 38. New tag creation **Step 7:** Configure the tag. All details regarding the communication should be configured in Source entry: - **Source.Enabled:** True - **Source.Module Type:** OpcUaClient - **Source.Module name:** OPCUAClient01 (the module created in previous steps) - **Source.Config.OPC UA Client:** TOPServer_local (the connection created in previous steps) - **Source.Config.Node ID:** The Node ID in the OPC server including the Name Space Index (ns) and the Identifier separated by semi-colon. In this example, the ns would be 2 and a valid tag Identifier would be “Simulation Examples.Functions.Ramp1” so the Node ID is: ```shell ns=2;s=Simulation Examples.Functions.Ramp1 ``` ![39-new-tag-configuration](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/39-new-tag-configuration.jpg)Figure 39. New tag configuration Save the tag configuration. **Step 8:** Trust **N3uron** OpcUaClient certificate in KEPServer/TOPServer OPC UA Configuration Manager. ![40-digital-certificate-trust-process](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/40-digital-certificate-trust-process.jpg)Figure 40. Digital Certificate trust process **Step 9:** The tag should now be available, displaying as good quality in the Real-Time display. ![41-tag-value-in-real-time-display](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/41-tag-value-in-real-time-display.jpg)Figure 41. Tag value in real-time display Note:Log files for troubleshooting can be downloaded from the WebUI in Diagnostics => This node => Export logs button.