DNP3 Tutorial Part 2: How DNP3 Elements Communicate

DNP3 uses 27 basic function codes to exchange information between Masters (think Control Center) and Remotes (think pump yard). Some of those function codes enable a Master to request and receive status information from a Remote. Other function codes enable a Master to determine or adjust the configuration of a Remote.

Several function codes are defined for a DNP3 Master to control the Remote itself or equipment co-located with the Remote. One function code is provided to enable the Remote to respond autonomously with an Unsolicited Message to particular events that occur in its installation space.

For example, function codes can enable a:

As you can see, most of the messages are issued by the DNP3 manager to the DNP3 remote. However, because the Unsolicited Message is capable of being initiated by a Remote, it is typically used to report alarms. This notifies the DNP3 Master as soon as an alarm condition occurs, instead of waiting for the next request.

DNP3 Unsolicited Response Limitations

Be sure you understand the key limitation of all unsolicited ("asynchronous") alerts: there's no "keep alive" function. For polled ("synchronous") protocols, the manager polls the agent. This guarantees that a disabled agent will be promptly identified at the next polling cycle.

Contrast this with what happens in an unsolicited-message protocol: a disabled agent remains silent. This silence is identical to an active agent reporting that "I have no problems right now." That's why, whenever possible, you should look for a DNP3 master that has some ability to routinely query agents for their status. This mitigates one of the major threats from using DNP3.

Learn More

DPS is here to help.


Have a specific question? Ask our team of expert engineers and get a specific answer!

Ask an Expert DPS Telecom Get a Fast Answer!

Click here for more information.

Get the DNP3 White Paper

Download our free DNP3 tutorial.

An introduction to DNP3 from your own perspective.

Download DNP3 White Paper Download White Paper

Click here for more information.

Having trouble finding the perfect solution?

Get Help

No other network on the planet is exactly like yours. We manufacture hundreds of product variations per year that are customized to our clients' exact spec, all while providing training, tech support, and upgrade availability.

Send us a quick online message about what you're trying to accomplish. We'll give you a call and work with you to design a perfect-fit solution for your network.

Hours: Monday - Friday
7:00 a.m. - 6:00 p.m. PST
Tech Support: (559) 454-1600 / support@dpstele.com
Sales: Domestic: (800) 693-0351
International: 1+ (559) 454-1600