background image

6

2. DNP3 Protocol Primer

PXM 4/6/8K DNP3 Ethernet Communications User Manual

   MN150005EN   January 2017   www.eaton.com

2.3 Static and Event Data

The application layer works together with the transport and 

link layers to enable reliable communications.  It provides 

standardized functions and data formatting with which 

the user layer above can interact.  Before functions, data 

groups, and variations can be discussed, the terms static, 

events, and classes need to be covered.
In DNP3, the term

 static

 is used with data and refers to the 

present value.  Thus static binary input data refers to the 

present On or Off state of a bi-state device.  Static analog 

input data contains the value of an analog at the instant it 

is transmitted.  One possibility DNP3 allows is requesting 

some or all of the static data in an outstation device.
DNP3 

events

 are associated with something significant 

happening.  Examples are state changes, values exceeding 

some threshold, snapshots of varying data, transient data, 

and newly available information.  An event occurs when a 

binary input changes from an On to an Off state or when 

an analog value changes by more than its configured dead-

band limit.  DNP3 provides the ability to report events with 

and without time stamps so that, if desired, the master will 

have the information to generate a time sequence report.
The master’s user layer can direct DNP3 to request events.  

Usually, a master is updated more rapidly if it spends most 

of its time polling for events from the outstation and only 

occasionally asks for static data as an integrity measure.  

The reason updates are faster is because the number of 

events generated between outstation interrogations is small 

and, therefore, less data must be returned to the master.
DNP3 goes a step further by classifying events into three 

classes.  When DNP3 was conceived, class 1 events were 

considered as having higher priority than class 2 events, 

and class 2 were higher than class 3 events.  While that 

scheme can be still be configured, some DNP3 Users have 

developed other strategies more favorable to their opera-

tion for assigning events into the classes.  The user layer 

can request the application layer to poll for class 1, 2, or 3 

events or any combination of them.

2.3.1 Variations

DNP3 has provisions for representing data in different 

formats.  Examination of analog data formats is helpful to 

understand the flexibility of DNP3.  Static, present value, 

analog data can be represented by variation numbers as fol-

lows:
1.  A 32-bit integer value with flag;
2.  A 16-bit integer value with flag;
3.  A 32-bit integer value;
4.  A 16-bit integer value;
5.  A 32-bit floating point value with flag; and
6.  A 64-bit floating point value with flag.

otee:

N

The flag referred to is a single octet with bit fields 

indicating whether the source is on-line, the data 

source restarted, communications are lost with a 

downstream source, the data is forced and the value 

is over range.

Not all DNP3 devices can transmit or interpret all six varia-

tions.  Later, DNP3 levels are discussed, but for now, suffice 

it to say that DNP3 devices must be able to transmit the 

simplest variations so that any receiver can interpret the 

contents.
Event analog data can be represented by these variations:
1.  A 32-bit integer value with flag;
2.  A 16-bit integer value with flag;
3.  A 32-bit integer value with flag and event time;
4.  A 16-bit integer value with flag and event time;
5.  A 32-bit floating point value with flag;
6.  A 64-bit floating point value with flag;
7.  A 32-bit floating point value with flag and event time; 

and

8.  A 64-bit floating point value with flag and event time.
The flag has the same bit fields as for the static variations.

2.3.2 Group

It appears by looking at the above variations that variation 1 

and 2 analog events cannot be differentiated from variation 

1 and 2 static analog values.  DNP3 solves this predica-

ment by assigning group numbers.  Static analog values are 

assigned as group 30, and event analog values are assigned 

as group 32.  Static analog values, group 30, can be format-

ted in one of 6 variations, and event analog values, group 

32, can be formatted in one of 8 variations.

When a DNP3 outstation transmits a message containing 

response data, the message identifies the group number 

and variation of every value within the message.  Group and 

variation numbers are also assigned for counters, binary 

inputs, controls and analog outputs.  In fact, all valid data 

types and formats in DNP3 are identified by group and 

variation numbers.  Defining the allowable groups and varia-

tions helps DNP3 assure interoperability between devices.  

DNP3’s basic documentation contains a library of valid 

groups and their variations.

2.3.3 Objects

When data from an index is transmitted across the wire, 

the sender must suitably encode the information to enable 

a receiving device to parse and properly interpret this data.  

The bits and bytes for each index appearing in the mes-

sage are called an 

object

.  That is, objects in the message 

are the encoded representation of the data from a point, or 

other structure, and the object format depends upon which 

group and variation number are chosen.

Summary of Contents for PXM4K Series

Page 1: ...PXM 4 6 8K DNP3 Ethernet Communications User Manual PXM 4 6 8K DNP3...

Page 2: ...Event Data 6 2 4 Unsolicited Responses 7 2 5 Implementation Levels 7 2 6 Summary 7 3 DNP DEVICE PROFILE 8 4 IMPLEMENTATION TABLE 12 5 DNP3 ETHERNET COMMUNICATION SETUP CONFIGURATION UTILITY 16 5 1 DN...

Page 3: ...e the breakers and voltage regulators DNP3 uses the term outstation to denote remote comput ers as are found in the field The term master is used for the computers in the control centers DNP3 provides...

Page 4: ...ical analog quantities such as those used for set points Figure 1 Master and Outstation Relationship The elements of the arrays are labeled 0 through N 1 where N is the number of blocks shown for the...

Page 5: ...matching DNP3 User s code at the other end More will be said about data types and software lay ers later but first we want to examine a few typical system architectures where DNP3 is used Figure 2 Com...

Page 6: ...database where it is retrievable by a master station on the left side of the figure This design is often seen in substations where the data concentrator col lects information from local intelligent de...

Page 7: ...ame contains a pair of CRC octets for every 16 data octets This provides a high degree of assurance that communication errors can be detected The maximum number of octets in the data payload is 250 no...

Page 8: ...on numbers as fol lows 1 A 32 bit integer value with flag 2 A 16 bit integer value with flag 3 A 32 bit integer value 4 A 16 bit integer value 5 A 32 bit floating point value with flag and 6 A 64 bit...

Page 9: ...ly transmits a response without having received a specific request for the data Not all out stations have this capability This mode is useful when the system has many outstations and the master requir...

Page 10: ...ave Notable objects functions and or quali ers supported in addition to the Highest DNP Levels Supported For static non change event object requests request quali er codes 07 and 08 limited quantity a...

Page 11: ...messages Timeouts while waiting for Data Link Con rm None Fixed at ____ Variable Con gurable Complete Appl Fragment None Fixed at ____ Variable Con gurable Application Con rm None Fixed at 10 Sec Vari...

Page 12: ...e or the other Reports time tagged Binary Input Change Events when no speci c variation requested Never Binary Input Change With Time Binary Input Change With Relative Time Con gurable to Binary Input...

Page 13: ...Over at No Counters Reported Con gurable 16 Bits 32 Bits Other Value _____ Point by point list attached Sends Multi Fragment Responses Yes No Con gurable as Always or When reporting Event Data Sequen...

Page 14: ...ited qty 17 28 index 129 response 00 01 start stop 17 28 index see note 2 1 2 Binary Input with Status 1 read 00 01 start stop 06 no range or all 07 08 limited qty 17 28 index 129 response 00 01 start...

Page 15: ...l 07 08 limited qty 17 28 index 129 response 00 01 start stop 17 28 index see note 2 21 2 16 Bit Frozen Counter with Flag 1 read 00 01 start stop 06 no range or all 07 08 limited qty 17 28 index 129 r...

Page 16: ...p 06 no range or all 07 08 limited qty 17 28 index 129 response 00 01 start stop 17 28 index see note 2 30 3 default see note 1 32 Bit Analog Input without Flag 1 read 00 01 start stop 06 no range or...

Page 17: ...ut Status 1 read 00 01 start stop 06 no range or all 07 08 limited qty 17 28 index 129 response 00 01 start stop 17 28 index see note 2 40 3 Short floating point Analog Output Status 1 read 00 01 star...

Page 18: ...asy to use web based interface is provided to configure DNP parameters and database as per user requirement Installer can get connected to meter by enter ing IP address of meter in a web browser No se...

Page 19: ...2017 www eaton com 5 1 DNP3 Node Identification Figure 6 DNP3 Node Identification Page If the User wishes to change parameters then the User first needs to press Edit option and Authenticate self to...

Page 20: ...0 as port number 5 2 Global Settings When this page is selected the User can configure the fol lowing parameters 1 DNP Select Operation Timeout This parameter is used for Select Before Operate SBO ope...

Page 21: ...Ethernet Communications User Manual MN150005EN January 2017 www eaton com Figure 8 DNP3 Global Settings Setup Edit Page 5 3 Communication The User can set the DNP3 stack communication related paramete...

Page 22: ...application layer frame sent by the PXM meter 2 Application Layer Multiple Fragment Responses Allowed This parameter indicates weather the PXM meter is allowed to send multiple application fragments...

Page 23: ...the PXM meter shall expect a data link confirmation from the DNP master If the data link frame contains static information then the PXM meter shall not expect a data link con firmation from the DNP m...

Page 24: ...There will be no time synchronization between the DNP master and PXM meter The PXM meter shall never set the time sync flag in IIN bytes Figure 11 Time Synchronization Type Page Interval The PXM mete...

Page 25: ...f PXM meter parameters vari ables which can be added to the PXM DNP slave database Using the DNP Input Output web page the User can select and configure the required meter parameters for the spe cific...

Page 26: ...ssword these buttons will not be operational The User needs to press the Edit button and enter credentials to access these options 1 Load Config The User can load a pre configured DNP database configu...

Page 27: ...to Meter option the newly configured database will not be effective After using this option the web interface will prompt the User if the PXM meter needs to be rebooted or not The User may choose to...

Page 28: ...selection list are deleted 3 Delete Deletes selected parameters in the selection list on particular a tab For example if the Delete button is pressed on Binary Counter tab then a particular select ed...

Page 29: ...27 5 DNP3 Ethernet Communication Setup Configuration Utility PXM 4 6 8K DNP3 Ethernet Communications User Manual MN150005EN January 2017 www eaton com Figure 18 Delete Button...

Page 30: ...Amps or greater than 510 Amps When this particular event is triggered the value of IA which caused the event becomes reference for next event comparison For binary counters if the difference delta be...

Page 31: ...nalog Input 32 Bit 18 VCN Volts Analog Input 32 Bit 19 VLNavg Volts Analog Input 32 Bit 20 VNG Volts Analog Input 32 Bit 21 Real Power Watts Watts Analog Input 32 Bit 22 Reactive Power VAr VAr Analog...

Page 32: ...Bit 57 Reverse Wh kWh Counter 32 Bit 58 Reverse Wh Roll Over Counter kWh Counter 16 Bit 59 Sum Total Wh kWh Counter 32 Bit 60 Sum Total Wh Roll Over Counter kWh Counter 16 Bit 61 Delivered Leading VAr...

Page 33: ...r kWh Counter 16 Bit 101 Real Reverse Energy Rate A kWh Counter 32 Bit 102 Real Reverse Energy Rate A Roll Over Counter kWh Counter 16 Bit 103 Real Reverse Energy RTP kWh Counter 32 Bit 104 Real Rever...

Page 34: ...nergy RTP kvarh Counter 32 Bit 140 Reactive Net Energy RTP Roll Over Counter kvarh Counter 16 Bit 141 Total Reactive Net Energy kvarh Counter 32 Bit 142 Total Reactive Net Energy Roll Over Counter kva...

Page 35: ...it 183 Even Harmonic Distortion Magnitude Phase C Current Amps Analog Input 32 Bit 184 Even Harmonic Distortion Magnitude VCA Volts Analog Input 32 Bit 185 Even Harmonic Distortion Magnitude VCN Volts...

Page 36: ...nitude Phase B Current Amps Analog Input 32 Bit 220 Total Harmonic Distortion Magnitude VBC Volts Analog Input 32 Bit 221 Total Harmonic Distortion Magnitude VBN Volts Analog Input 32 Bit 222 Total Ha...

Page 37: ...log Input 32 Bit 266 Voltage Phasor VCN Quadrature Volts Analog Input 32 Bit 267 Voltage Phasor VAB Direct Volts Analog Input 32 Bit 268 Voltage Phasor VAB Quadrature Volts Analog Input 32 Bit 269 Vol...

Page 38: ...active Demand Power Peak Dmd Rate RTP var Analog Input 32 Bit 305 Last Month Net Reactive Demand Power Peak Dmd Rate A var Analog Input 32 Bit 306 Last Month Net Reactive Demand Power Peak Dmd Rate RT...

Page 39: ...nd Current Peak Dmd Rate A Amps Analog Input 32 Bit 348 Last Reset Demand Current Peak Dmd Rate RTP Amps Analog Input 32 Bit 349 Last Reset Fwd Real Demand Power Peak Dmd Rate A Watts Analog Input 32...

Page 40: ...386 Last Reset Net Reactive Demand Power Peak Dmd Rate RTP var Analog Input 32 Bit 387 Last Reset Net Reactive Power Accum Rate A kvarh Counter 32 Bit 388 Last Reset Net Reactive Power Accum Rate A R...

Page 41: ...Month Demand Q Fwd Rate A Peak Vars Analog Input 32 Bit 426 Current Month Demand Q Fwd Rate RTP Peak Vars Analog Input 32 Bit 427 Current Month Demand Q Net Rate A Peak Vars Analog Input 32 Bit 428 Cu...

Page 42: ...Form C Relay 2 Status 0 Digital Output 16 Bit 458 Form C Relay 3 Status 0 Digital Output 16 Bit 459 Discrete Input 1 Count 0 Counter 16 Bit 460 Discrete Input 2 Count 0 Counter 16 Bit 461 Discrete Inp...

Page 43: ...41 Appendix A Points List PXM 4 6 8K DNP3 Ethernet Communications User Manual MN150005EN January 2017 www eaton com Notes...

Page 44: ...such contract The sole source governing the rights and remedies of any purchaser of this equipment is the contract between the purchaser and Eaton NO WARRANTIES EXPRESSED OR IMPLIED INCLUDING WARRANTI...

Reviews: