LESSON

Connecting to DNP3 Devices

Description

Learn how to connect to a DNP3 device, set the source and destination address, receive unsolicited messages, and show diagnostics.

Video recorded using: Ignition 8.3

Transcript

(open in window)

[00:00] The legacy DNP3 driver in Ignition supports two methods for data acquisition using the DNP3 protocol: explicit reads and unsolicited messaging. This legacy driver is used to connect to DNP3 devices that communicate over ethernet via a master station. To establish a connection, it's important to create a separate device connection for each outstation or remote device, specifying the correct source and destination addresses within the device connection settings. Let's take a look at how we can connect to a legacy DNP3 device in Ignition. First, since we're already logged in, we'll go to Connections, Devices, and Connections. Here, we can click Create Device Connection to see the list of device drivers available. We're looking for the Legacy DNP3 driver option. This option only shows up if you have the Legacy DNP3 module installed. I'll select that driver and hit Next. We can then give our device connection a name.

[01:03] I'll call mine DNP3Legacy. Next, let's enter the host name, which is the IP address of the device we want to connect to. If a local address property is left blank, then the driver will just pick the address of an available network adapter to connect from as needed. Now we can talk about the source address and the destination address. These two properties will actually be configured in the DNP3 device itself initially. Then in Ignition, they're reversed. If the source address in the DNP3 device is a four, that'll become our Ignition destination address. If the DNP3 destination address is a three, that'll become our Ignition source address. This swap will allow it to properly connect using the settings that appear here. Let's take a quick look at the Advanced Settings. These settings allow a more fine-tuned control over the handling of messages and interactions with the outstation, allowing for adjustments to timing, synchronization, polling, and other factors as needed. The most important property to highlight in this section is the Unsolicited Messages Enabled property.

[02:08] When this property is enabled, it'll allow Ignition to accept unsolicited messages. What this means is that Ignition will communicate with the device a single time when the connection is set up, and then it won't request any more data. Instead, Ignition will passively listen for any data that's being sent from the DNP3 device. Not all DNP3 devices support this functionality, so it's important to know whether or not your device is able to send unsolicited messages. Please refer to the documentation for the DNP3 device on how to set up this capability. There's an additional section of properties devoted to value types. These settings allow us to align the default value types with the actual data when reading different input and output points. For example, with the analog and counter points, these dropdowns allow us to choose the desired data type. For the binary points we can choose from this set of value types.

[03:02] I'll leave these at their defaults and we can close up the Advanced Settings. Once our configuration is complete, we can hit Create Device Connection and our DNP3 legacy device's status shows us it's connected successfully.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.