This lesson is part of the OPC UA and Devices in Ignition course. You can browse the rest of the lessons below.

LESSON LIST

Autoplay Off

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

Transcript

(open in window)

[00:00] 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 the configure section of the Gateway webpage and scroll down to the OPC UA section. Here, we'll select Device Connections. A list of the existing device connections will appear. Next, I'll click Create New Device. We're looking for the Legacy DNP3 driver option. This option only shows up if you have the DNP 3 module installed. I'll select that driver and hit next. We can then give our device connection a name. I'll call mine DNP3Legacy. Now let's enter the host name, which is the IP address of the device we want to connect to. Mine is 10.20.1.108. As of Ignition 8.1.8, the Local Address property allows you to specify what local address to connect from when establishing a TCP connection.

[01:02] If this box is left blank, then the driver will simply pick the address of an available network adapter to connect from as needed. Next, let's talk about the source address and the destination address. These two properties will actually be configured in the DNP 3 device itself initially. Then in Ignition, they're reversed. If the source address in the DNP3 device is a four, that will become our Ignition destination address. If the DNP3 destination address is a three, that will become our Ignition source address. This swap will allow it to properly connect using the settings that appear here. Another important property to highlight is the Unsolicited Messages Enabled property. When that property is enabled, it will 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 doing this, so it's important to know whether or not your device is able to send unsolicited messages.

[02:09] Please refer to the documentation for the DNP3 device on how to set up this capability. Once our configuration is complete, we can hit Create New Device at the bottom. Depending on the settings we've used to create our DNP3 connection, our status will then either say idle or connected.

You are editing this transcript.

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