--- title: "DNP Client | Examples | N3uron KB V1.21" slug: "dnp-client-examples" description: "DNP Client is a N3uron module designed to provide a reliable way of connecting to any Distributed Network Protocol (DNP3) compliant device through…" updated: 2022-10-10T08:58:36Z published: 2022-10-10T08:58:36Z canonical: "docs.n3uron.com/dnp-client-examples" --- > ## 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 ## Connecting to a SEL RTAC using DNP3 In this example, **DNP Client** is used to connect to a SEL RTAC acting as **DNP3** **slave** over TCP. - **Step 1:** Obtain information about the **DNP3 slave** configuration. See below example of the **RTAC** configuration: ![](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%2010-SEL-RTAC-configuration.png)Figure 6: SEL RTAC configuration of a DNP slave - **Step 2:** First create the driver **DNP Client instance**, then **create the channel**. Once inside this channel, **create the device**. See below example of channel and device settings: ![](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%2011-%20Channel%20and%20device%20configuration%20settings%20when%20connecting%20to%20a%20RTAC%20DNP3%20slave(1).png)Figure 7: Channel and device configuration settings when connecting to a RTAC DNP3 slave - **Step 3:** Create and configure the tags. See below examples for how the tag sources should be configured in order to **read** the first analog input (index 0) and **write** to the first analog output (index:0): ![](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%2012-%20Source%20configuration%20settings%20for%20the%20first%20Analog%20input%20(Group%2030,%20Index%200).%20The%20variation%20is%20determined%20by%20the%20RTAC.png)Figure 8: Source configuration settings for the first Analog input (Group 30, Index 0). The variation is determined by the RTAC. ![](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/Figure%2013-%20Source%20Configuration%20settings%20for%20the%20first%20analog%20output%20(Group%2040,%20Index%200).png)Figure 9: Source configuration settings for the first Analog output (Group 40, Index 0)