---
title: "OPC XML Client | Examples | N3uron KB V1.22"
slug: "opc-xml-client-examples"
description: "OPC XML Client is a N3uron module designed to provide an easy way to connect to third-party OPC XML-DA servers and simplifies the management…"
updated: 2025-09-30T15:55:32Z
published: 2025-12-23T10:09:11Z
---

> ## 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.

# Examples

The following steps show how to access data coming from an OPC XML server using **N3uron's****OPC XML Client** module.

- **Step 1:** Create a module instance (Config => Modules => Model=> New module)

![Figure 8- Create a new module(2)](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%208-%20Create%20a%20new%20module(2).png)Figure 4. Create a new module

- **Step 2:** Provide a name for the module (in this case OpcXmlClient), assign the module type (in this case OpcXmlClient), and save the new configuration settings.

![Figure 9- Configure the module(1)](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%209-%20Configure%20the%20module(1).png)Figure 5. Configure the module

- **Step 3:** Configure the **Logger** and **API** sections (the default values are usually sufficient). Save these settings.

- **Step 4:** Create a new client (Config => Modules => OpcXmlClient => Model => New client).

![Figure 10- Create a new client](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%2010-%20Create%20a%20new%20client.png)Figure 6. Create a new client

- **Step 5:** Provide a name for the client (in this case OpcXmlClient01) and configure as appropriate. For this example. the following settings have been used:
  - **Connection**
    - **Host:**10.101.3.210****
    - **Port:**80****
  - **Authentication**
    - **Username:**user****
    - **Password:**n3uron

The rest of the parameters have been left as their default values.

![Figure 11- Configure the client](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%2011-%20Configure%20the%20client.png)Figure 7. Configure the client

- **Step 6:** Create a new tag (Config => Tags => Model=> New tag)

![Figure 12- Create a new tag(3)](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%2012-%20Create%20a%20new%20tag(3).png)Figure 8. Create a new tag

- **Step 7:** Provide a name for the tag (in this case Tag) and configure it as appropriate. All details regarding communication should be configured in the Source entry.

- **Source:**
  - **Enabled:**Yes****
  - **Module Type:**OpcXmlClient****
  - **Module Name:** OpcXmlClient ****
  - **Config:**
    - **Client:**OpcXmlClient01****
    - **Address:**Random.Item1****
    - **Array:**No****
    - **Index:**0****
    - **OPC scan rate:**5000

![Figure 13- Tag Configuration(1)](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%2013-%20Tag%20Configuration(1).png)Figure 9. Tag configuration

- **Step 8:** The tag should now be available and displaying as good quality in the **Real-Time** display.

![Figure 14- Values displayed in Real-Time](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%2014-%20Values%20displayed%20in%20Real-Time.png)Figure 10. Values displayed in Real-Time

Note:Log files for troubleshooting can be downloaded from the WebUI at Diagnostics => This node => Export logs button
