Professional Documents
Culture Documents
DNP3 Tutorial:
Learn the Industry-Standard SCADA Protocol
This guide will teach you...
-The fundamentals of DNP3
-How to understand DNP3 communication
-8 Important Considerations in DNP3 SCADA Systems
Version 1.0
Released August 21, 2012
www.dpstelecom.com • 1-800-622-3314
“We protect your network like your business depends on it”TM
© Copyright 2012 DPS Telecom
All rights reserved, including the right to reproduce this white paper or portions thereof in any form without written
permission from DPS Telecom. For information, please write to DPS Telecom 4955 E. Yale Ave., Fresno, CA 93727-1523
1-800-622-3314 • info@dpstele.com
Printed in the U.S.A
2
DNP3
DNP3 •• DPS
DPS Telecom
Telecom •• 4955
4955 East
East Yale
Yale Avenue,
Avenue, Fresno,
Fresno, CA
CA 93727
93727 •• (800)
(800) 622-3314
622-3314 •• Fax
Fax (559)
(559) 454-1688
454-1688 •• www.dpstelecom.com
www.dpstelecom.com
Contents
Part 1: An Introduction to DNP3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
DNP3 Uses a Master/Remote Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Part 2: How DNP3 Elements Communicate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Part 3: Understanding the DNP3 Object Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Part 4: Understanding the DNP3 Message Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Part 5: Understanding Layered Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
A Critical Tool for Troubleshooting Communication Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Traversing the Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Part 6: 8 Important Considerations in DNP3 SCADA Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
DPS Telecom Guarantees Your Success - or Your Money Back. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
What to Do Next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3
DNP3 • DPS Telecom • 4955 East Yale Avenue, Fresno, CA 93727 • (800) 622-3314 • Fax (559) 454-1688 • www.dpstelecom.com
DNP3 Gear
When seeking out DNP3 equipment, it is im-
portant to find a unit that will give you the most
functionality for your money. DNP3 gear typical-
ly pays for itself several times over by preventing
lost revenues from outages by maximizing your
network uptime. Deploy a DNP3 RTU today,
and get superior visibility and control over your
network.
T/Mon LNX
This library makes it easy for the manufacturer to design This is just a small sample of the DPS Telecom
the DNP3 Remote responder to use these common objects SCADA Site Survey. The full SCADA Site
to report to upstream Masters. It also makes it easier for Survey is a complete 5-page guide to evalu-
Masters to integrate the data collected from Remotes and ating your network alarm monitoring needs.
present it for decision making. For your copy of the Remote Site Survey,
call DPS Telecom at 1-800-622-3314.
Without this framework of common objects, manufactur-
ers must develop their own model for reporting status and
providing control capability. These models, frequently quite
different one from another, must then be ‘compiled’ into the
Masters and usually converted into some kind of common
objects for efficient management. Another tool often found
in these more ‘open’ frameworks is a proprietary interface
5
DNP3 • DPS Telecom • 4955 East Yale Avenue, Fresno, CA 93727 • (800) 622-3314 • Fax (559) 454-1688 • www.dpstelecom.com
P
Application
3
L
a
y
e
r
s DNP3 packet structure illustrated.
6
DNP3 • DPS Telecom • 4955 East Yale Avenue, Fresno, CA 93727 • (800) 622-3314 • Fax (559) 454-1688 • www.dpstelecom.com
The application layer combines an application service data • 32 discretes, 32 pings, 8 analogs and 8
unit (ASDU), a packaged object in itself, with an applica- controls
tion protocol control info (APCI) block to make an applica- • SNMPv1, v2c and v3 compatible
tion protocol data unit (APDU). • 8 terminal server serial ports
• Dial-up backup
The transport layer breaks the APDU into segments with a • Web browser interface
maximum size of 16 bytes and packages them with an 8-bit • Pager and email notification
transport control header and 16-bit segment CRC separa- • Dual -48 VDC, -24 VDC or 110 AC
tors into a transportFrame. • 1 RU for 19” or 23” rack
The link layer adds a header the control and addressing
information to prepare the packet for delivery to a specific DNP3 RTU NetMediator 864A
destination.
These layers can be mapped to the four-layer model devel- • 64 discretes, 8 controls
oped by the Department of Defense (you may recall the • Reports alarms via DNP3 or SNMP over
DoD origins of the Internet) with the DoD Internet Layer LAN
omitted. • 1 RU for 19” or 23” rack
Economical NetGuardian 216
If the serial transport is used, the packet assembly is com-
pleted and placed on the transport media for delivery.
The fourth layer is the Network Interface layer where the http://www.dpstele.com/rtus
assembled packet is actually interfaced to some kind of
transport media (for example, twisted pair copper, RG58
co-axial or fiber). While this multi-layer model may seem a
bit confusing, it effectively isolates the tasks of communi-
cation and ultimately assists in designing and implementing
a network.
7
DNP3 • DPS Telecom • 4955 East Yale Avenue, Fresno, CA 93727 • (800) 622-3314 • Fax (559) 454-1688 • www.dpstelecom.com
8
DNP3 • DPS Telecom • 4955 East Yale Avenue, Fresno, CA 93727 • (800) 622-3314 • Fax (559) 454-1688 • www.dpstelecom.com
If you will be relying on Unsolicited Messages in your A DPS expert consultant can help you
system, make sure there is a clear event for each alarm. figure out what DNP3, SCADA, and
Creating this association can involve expensive custom monitoring products will most effec-
development on your Master system. tively meet your needs without over-
loading your budget. Our goal is to give
3. Masters should maintain a history of standing alarms you the tools you need to help keep
your network up and running. With
Avoid the allure of maintaining only an event log of an emphasis on maximizing ROI, we
newly reported Unsolicited Messages and a history log don’t pressure you to buy a particular
of acknowledged Unsolicited Messages. If an Unsolicited system.
Message represents an alarm condition, there should be
continuing visibility to the alarm even if the Unsolicited There’s no hard-sell sales tactics. No
Message is acknowledged. Imagine what might happen to harassing sales calls. No pressure to
your network if a system operator acknowledges an alarm buy. We won’t discuss specific equip-
message, and then, for whatever reason, fails to correct the ment options until we’ve helped you
alarm condition. Who would know the alarm is still stand- plan the right monitoring strategy for
ing? your network.
sales@dpstele.com or 1-800-693-0351
4. Masters should sort and filter alarms
are just a few possibilities that may make sense for orga-
Alarm Master Choice: nizing your alarms. The same alarm should be able to be
T/Mon LNX posted to multiple categories. The presentation of sorted
and filtered alarms should depend on the user logged on;
T/Mon LNX has many features to make the team responsible for generator maintenance doesn’t
your alarms more meaningful, including: need to wade through lists looking for generator events and
alarms.
1. Multi-protocol support, which
allows you to integrate many types of 5. Masters should support flexible and powerful notifi-
equipment under a single monitoring cation
umbrella.
2. Immediate notification of COS Make sure your master support the advanced features nec-
alarms, including new alarms and essary for premium status monitoring, such as notification
alarms that have cleared. escalation, nuisance alarm silencing, automatic control
3. Standing alarm list is continuously relay operation, and automatic notifications by e-mail, text
updated. or pager.
4. Text message windows displaying
6. Masters should not be limited to DNP3
specific instructions for the appropri-
ate action for an alarm.
If you’re like most companies, you have a variety of
5. Nuisance alarm filtering, allowing equipment of different ages and technologies. Integrating
your staff to focus its attention on seri- this diversity into a SCADA Master can sometimes involve
ous threats. surprisingly expensive customization or additional mod-
6. Pager and email notifications sent ules.
directly to maintenance personnel,
even if they’re away from the NOC. It is always difficult and uncomfortable to justify sig-
7. Derived alarms and controls that nificant development costs after purchasing an already
combine and correlate data from mul- expensive SCADA Master. Why take the time, trouble, and
tiple alarm inputs and automatically expense to recreate capabilities that are already present in a
control remote site equipment to cor- high-quality, multi-protocol Master that is DNP3-capable?
rect complex threats.
7. Remotes should support redundant power.
For more information, check out T/Mon If your remote is powered from a single source, then your
on the Web at critical monitoring is vulnerable to a single event. Losing
http://www.dpstele.com/products/em/ that single source of power effectively compromises the
tmon_lnx/ continuous monitoring of your revenue generating equip-
ment. If your installation does not have dual power sourc-
es, make sure the equipment is compatible with an external
uninterruptable power supply. Also insure that the primary
power is one of the points monitored at each location.
11
DNP3 • DPS Telecom • 4955 East Yale Avenue, Fresno, CA 93727 • (800) 622-3314 • Fax (559) 454-1688 • www.dpstelecom.com
Sincerely,
Eric Storm,
President
US $36.95
12