Beruflich Dokumente
Kultur Dokumente
00
SSD0006 Revision 5 ©2004 General Electric Canada, All Rights Reserved
NOTICE OF COPYRIGHT & PROPRIETARY RIGHTS
The contents of this manual are the property of General Electric Canada. No part of this work
may be reproduced or transmitted in any form or by any means, except as permitted in written license
agreement with General Electric Canada.
General Electric Canada. has made every reasonable attempt to ensure the completeness and
accuracy of this document. However, the information contained in this manual is subject to change without
notice, and does not represent a commitment on the part of General Electric Canada.
Any attached hardware schematics and technical descriptions, or software listings that disclose
source code, are for information purposes only. Reproduction in whole or in part to create working hardware
or software for other than General Electric Canada. products is strictly prohibited, except as permitted by
written license agreement with General Electric Canada.
TRADEMARK NOTICES
WESDAC is a registered trademark of General Electric Company, General Electric Canada. All
other brand and product names mentioned in this document are trademarks or registered trademarks of their
respective companies.
Table of Contents
Day 1
Introduction to DNP V3.0
DNP vs. IEC 870-5
Using DNP / The GE Implementation
Configuring DNP
Introduction to DNP Message Structure
Day 2
Conclusion of DNP Message Structure
DNP Message Labs
Objectives:
1. State the origin of the DNP protocol.
2. Explain the basic application of DNP protocol.
Highlights
Distributed Network Protocol (DNP)
Open Systems Protocol Stack
WIN
Recommended by IEEE for RTU to
IED messages
Based on IEC 3-layer version of 7-
layer OSI model
Developed by Harris Energy Control
Systems (now GE Energy)
Controlled by DNP Users Group
DNP Features
Asynchronous, code transparent
Addresses over 65,000 devices
Addresses over 4,000,000,000
data points of each data type per WIN
device
Broadcast Messages
Configuration/File Transfer
Time of Day and Date
Synchronization
Time-Stamped Event Data
Data Priority Levels (classes)
DNP is Interoperable
Based on IEC 870-5 standards
Implemented by many vendors; list
growing daily
Specified by many customers
worldwide
Not owned by any one company
Users have choice of vendors
10
DNP is Robust
Intended for low-to-medium speed
media
16-Bit data link CRC every 16 octets
Hamming distance of 6
Optional data link confirmation
Optional application confirmation
Very efficient for a layered protocol
11
DNP is flexible:
Object-based application layer
Objects provided for most generic
data formats
Add new objects via DNP Users
Group
Devices can choose which objects
to support
Standard implementation subsets
defined
12
14
15
Objectives:
1. Describe the features of the IEC 870-5 standard.
2. State the differences between DNP and the IEC standard.
17
Application Layer
Determines the format and User
characteristics of the data
19
Physical Layer:
Converts media signaling
Provides isolation from media User
Synchronizes bits
Adds / removes frame synch Application
Detects media states
Data Link
Octet oriented (Byte)
Uses FT3 Format
Physical
1 Start
1 Stop
8 Data
No parity
20
23
24
25
Balanced Mode:
Used by combined systems, i.e.., where either station may initiate
data transfers:
is best suited for point-to-point, full duplex systems
the Master/Slave relationship is relatively unimportant, as
either station can assume the primary role at any time.
the station which initiates the transfer (primary) generates
<requests> and receives <confirmations>
the station which responds (secondary) receives
<indications> and responds with <responses>
27
28
APPLICATION LAYER
PHYSICAL LAYER
TRANSMISSION
MEDIA
29
30
Confirmed
App. Services
service.request
service.indication
31
32
35
36
37
38
39
40
41
SEGMENTS FRAGMENTS
HEADERS
FRAME Transport
USER DATA Function
CRCS
HEADER
DATA
HEADERS
FRAME
USER DATA
CRCS
DATA
HEADERS HEADER
43
Confirm
2. Send
Confirm
Garbled
2. Send
Confirm
multi-fragment responses
fragments containing event data
45
unsolicited responses
MASTER SLAVE
Request
NOT
(Confirm) RECOMMENDED
Response
ONLY WHEN
NEEDED
(Confirm) DON'T RETRY
Unsolicited Response
USUALLY NEEDED
(Confirm) RETRIES OK
46
Objectives:
1. Use DNP 3.0.
2. List the DNP Subsets.
3. Describe the GE implementation of DNP.
4. Explain how to configure a GE Automation Product to communicate
using DNP.
49
50
52
Subset Definitions:
DNP is a large protocol
No vendor currently implements it all
Customers need a simple way to specify compatibility
Vendors need guidelines on what to implement
General Rules:
Master cannot transmit any requests not defined for the level - may
accept additional responses.
Slave cannot transmit any responses not defined for the level - may
accept additional requests.
Vendor must record all differences in a Device Profile Document.
Any differences beyond these rules must be configurable.
53
55
56
58
60
61
Master/Host
Requests RTU
from Response
Master Report Data Events
Data Events to WIN
DPA WIN DCA
Requests Receive DPA
Requests Data
Poll, Output Response
Requests
Device
62
Bridge Manager
Data Link
Master/Host Device
63
Bridge Manager
Data Link
Master/Host Device
64
Bridge Manager
Data Link
Master/Host Device
65
66
Device #1 Device #2
Data Data Data Data
In Out In Out
Physical Layer
67
Data Link Layer A Data Link Layer A Data Link Layer B Data Link Layer B
Physical Layer A
Physical Layer B
68
10 B013 0 A 1 B013 0 1
100 B013 1 64 101 B013 1 65
10 B013 0 32 1 B013 0 5
100 B013 1 C8 101 B013 1 C9
73
74
Objective: L
The objective of this lab is to create and test an RTU
configuration that will allow a GE RTU to communicate
A
using DNP. B
Introduction:
In this lab, the student will create and test a DNP
Configuration. The following slides will outline the
1
configuration requirements.
This configuration will be used in subsequent labs.
75
Meter Requirements L
Configure the RTU to communicate with a meter using
A
the following specifications: B
DNP address of the meter = 1
DNP address of the RTU = 10
10 DI Points, 10 AI points, 10 DO Points
Poll for events every 2 seconds and the database 1
every minute
Use Com3, 9600 baud, no flow control
76
Master Requirements: L
Configure the RTU to communicate with a master
A
using the following specifications: B
DNP address of the Master = 10
DNP address of the RTU = 1
10 DI Points, 10 AI points, 10 DO Points
All data Class 1, no unsolicited responses 1
Use Com4, 9600 baud, no flow control
77
78
Objectives:
1. Describe the DNP Message Structure.
2. Parse DNP messages.
80
Required because some messages will not fit in the 255 octets of
user data allowed.
Breaks down large messages to be transported.
Assembles large messages that are received.
Uses a sequence number to track data.
82
(Pseudo) Transport Header
SSD0006 Revision5 © 2004 General Electric Canada, All Rights Reserved
Section 4 – Message Structure – cont.
Typical Message Layout
CRC BLOCK 0
DATA LINK HEADER - 8 octets BLOCK 1
APPLICATION LAYER CRC
BLOCK n
CRC
83
The data link header is used on the data link layer of the protocol to
ensure proper routing and error checking of a message.
05 64
05 64
X Y Z N
86
87
88
89
Transport Header
START LEN CTL DESTIN SOURCE CRC
05 64 0B C4 0C 00 64 00 CRC
C0 C7 01 1E 02 06 CRC
APPLICATION LAYER
TRANSPORT Header
90
Application
Object Header Data ... Object Header Data
Header
91
05 64 0B C4 0C 00 64 00 CRC
DATA LINK HEADER
TH AC FC OBJ VAR QUA
C0 C7 01 1E 02 06 CRC
DATA HEADER
92
APPLICATION LAYER HEADER
TH AC FC
C0 C7 01 1E 02 06
TH AC FC
C0 C7 01 1E 02 06
Function Code
0 0 0 0 0 0 0 1
94
C0 C7 01 1E 02 06 CRC
95
DATA HEADER
TH AC FC OB V Q
C0 C7 01 1E 02 06
C0 C7 01 1E 02 06 CRC
97
C0 C7 01 1E 02 01 00 00 06 00 CRC
98
C0 C7 01 1E 02 17 02 00 01 CRC
99
C0 E7 81 80 00 1E 02 01 00 00 07 00 11 FF 7F 01 CRC
Internal Indications
100
The internal indication field breaks into 16 flags each indicating a different
condition in the RTU.
Refer to the DNP Basic 4 for a full list of all internal indications.
C0 E7 81 80 00 1E 02 01 00 00 07 00 11 FF 7F 01 CRC
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
101
102
103
Objective: L
The objective of this lab is to identify and parse
several DNP messages.
A
B
Introduction:
This lab will consist of several sections:
1. Parse pre-captured DNP messages.
2. Use SA Com to locate a class 123 scan and
2
response and parse the messages.
3. Use SA Com to locate an integrity scan and
response and parse the messages.
104
105
106
107