DNP3.0 Server ConfigWiz 2.0 Addendum
2 Copyright © 2016 QEI
This is the DNP3.0 server addendum. This addendum describes the pop-up window tabs, fields, and ranges of valid parameters for entry in those fields.
NOTE The documentation and/or manuals provided by the IEDs vendors must be read and
understood thoroughly prior to configuration.
Revision Description Date A Release to Production July 2013 B Updated to link 80-10001A March 2014 C Formatting Update March 2016 D Updated Screenshots February 2018
About this Addendum Use of this addendum should be for reference purposes only; all parameters to be entered should be carefully planned prior to any configuration attempts. Any information about aspects of the DNP 3.0 Master Stations should be referenced from the vendor documentation.
NOTE Some parameters may vary from the displays in the illustrations that follow. This is because
the “Template.mdb” file currently used by your system may be different.
The user should be thoroughly familiar with the architecture of the DNP3.0 protocol as described in the “DISTRIBUTED NETWORK PROTOCOL DNP3.0 DOCUMENT SET”.
Introduction The following is a detailed Description of QEI’s implementation of the DNP 3.0 protocol as a server function. This documentation is in accordance with the recommended practice of the DNP 3.0 User’s Group and Technical Committee. It is very important to ensure that the capabilities of the DNP 3.0 Server and the Master Station are compatible. Otherwise, they may not inter-operate correctly.
Implementation Notes Maximum Data Link Frame Size (octets): Transmitted: 292 Received: 292 Maximum Fragment Size (octets): Transmitted: Configurable from 128 to 2048 Received: 2048 Maximum Data Link Retries: Configurable from 1 to 65535
Maximum Application Layer Retries: None.
Requires Data Link Layer Confirmation: Configurable.
Requires Application Layer Confirmation: When sending unsolicited responses.
ConfigWiz 2.0 Addendum DNP3.0 Server
Copyright © QEI 2016 3
When responding to reads of event data. For response to Function Codes 13 and 14, Cold and Warm Reset.
Timeouts while waiting for Data Link Confirm: Configurable
Complete Application Fragment: None
Application Confirm: Configurable
Complete Application Response: NT
Sends Control Operations WRITE Binary Outputs: Never
SELECT/OPERATE: Always. Only accepts requests for a single object header per message; i.e., range must be 1 for qualifier 17 hex or 28 hex.
DIRECT OPERATE: Never. Processes request and responds by setting control operation not supported in response.
DIRECT OPERATE - NO ACK: Never
Count > 1: Sometimes when supported by end device or process.
Pulse On: Always
Pulse Off: Never
Latch On: Always
Latch Off: Always
Queue: Never
Clear Queue: Never
Reports Binary Input Change Events when no specific variation requested: Yes, default variation is configurable.
Reports time-tagged Binary Input Change Events when no specific variation requested: Yes, default variation is configurable.
Sends Unsolicited Responses: Configurable with 4 separate parameters – each can be individually enabled or disabled.
DNP3.0 Server ConfigWiz 2.0 Addendum
4 Copyright © 2016 QEI
Class 1 events, Class 2 events, Class 3 events and When event buffer is half full. Enable – disable unsolicited message function codes support only enabling or disabling the class objects.
Sends Static Data in Unsolicited Responses: Never
Default Counter Object/Variation: Configurable.
NOTE
Delta counters are not supported, but freeze and clear counters are.
Counters Roll Over At: Unless otherwise specified by specific addendum, counters roll over based upon their natural size in the database at 16 or 32 bits.
Sends Multi-Fragment Responses: Yes
Additional Notes Read Request Limitations: Only certain combinations of object groups are accepted in a single read request as follows: A. Static and/or event data from object groups 1, 10, 20, 21, 30, 40, 60 var 0 and/or 2, 22, 23, 32, 60 var 1-3. B. Time and Date object group 50. C. Internal Indications object group 80. D. The list of object headers in a read request may not exceed what can be packed into a single frame (247 bytes).
Event Quantity Limitations: If a request is received to read event objects, and this request specifies multiple event objects, and if any of these object requests have qualifier codes 07 hex or 08 hex, then the maximum number of all events of any kind returned in the response will be determined by the highest quantity specified in any 07 hex or 08 hex request.
In other words, it is technically possible, for example, to request 10 binary input changes, 20 analog input changes, and all class 3 events in a single request. The ePAQ-94xx will simplify this request and return a maximum of 20 events regardless of what type they are.
Implementation Table
Shading key: Grp is shaded every other group as a visual aid. Shaded Func and Qual codes indicate those that are supported by the ePAQ-94xx-processor board.
OBJECT Request (parsed by ePAQ-94xx)
Grp
Var
Description
Func Codes (dec)
Qual Codes (hex)
1
0
Binary input - all variations
1,22
00,01,06
ConfigWiz 2.0 Addendum DNP3.0 Server
Copyright © QEI 2016 5
OBJECT Request (parsed by ePAQ-94xx)
Grp
Var
Description
Func Codes (dec)
Qual Codes (hex)
1
1
Binary input
1
00,01,06
1
2
Binary input with status
1
00,01,06
2 0 Binary input change – all variations 1 06,07,08
2 1 Binary input change without time 1 06,07,08
2 2 Binary input change with time 1 06,07,08
10 0 Binary output - all variations 1 dummy response
00,01,06
10 1 Binary output
10 2 Binary output status 1 dummy response
00,01,06
12 0 Control block - all variations
12 1 Control relay output block 3,4 17,28
5,6 17,28
12 2 Pattern control block 5,6 06
12 3 Pattern mask 5,6 00,01
20 0 Binary counter - all variations 1,7,8,9,10 00,01,06
22 00,01,06
20 1 32-bit binary counter 1 00,01,06
20 2 16-bit binary counter 1 00,01,06
20 3 32-bit delta counter 1 00,01,06
20 4 16-bit delta counter 1 00,01,06
20 5 32-bit binary counter without flag 1 00,01,06
20 6 16-bit binary counter without flag 1 00,01,06
20 7 32-bit delta counter without flag 1 00,01,06
20 8 16-bit delta counter without flag 1 00,01,06
21 0 Frozen counters - all variations 1,22 00,01,06
21 1 32-bit frozen counter 1 00,01,06
21 2 16-bit frozen counter 1 00,01,06
21 3 32-bit frozen delta counter 1 00,01,06
21 4 16-bit frozen delta counter 1 00,01,06
21 5 32-bit frozen counter with time of freeze
21 6 16-bit frozen counter with time of freeze
21 7 32-bit frozen delta counter with time of
DNP3.0 Server ConfigWiz 2.0 Addendum
6 Copyright © 2016 QEI
OBJECT Request (parsed by ePAQ-94xx)
Grp
Var
Description
Func Codes (dec)
Qual Codes (hex)
freeze
21 8 16-bit frozen delta counter with time of freeze
21 9 32-bit frozen counter without flag 1 00,01,06
21 10 16-bit frozen counter without flag 1 00,01,06
21 11 32-bit frozen delta counter without flag
21 12 16-bit frozen delta counter without flag
22 0 counter change event –all variations 1 06,07,08
22 1 32-bit counter change event without time
1 06,07,08
22 2 16-bit counter change event without time
1 06,07,08
22 3 32-bit delta counter change event without time
1 06,07,08
22 4 16-bit delta counter change event without time
1 06,07,08
22 5 32-bit counter change event with time
22 6 16-bit counter change event with time
22 7 32-bit delta counter change event with time
22 8 16-bit delta counter change event with time
23 0 Frozen counter events – all variations 1 06,07,08
23 1 32-bit frozen counter event without time
1 06,07,08
23 2 16-bit frozen counter event without time
1 06,07,08
23 3 32-bit frozen delta counter event without time
1 06,07,08
23 4 16-bit frozen delta counter event without time
1 06,07,08
23 5 32-bit frozen counter event with time
23 6 16-bit frozen counter event with time
23 7 32-bit frozen delta counter event with time
23 8 16-bit frozen delta counter event with time
30 0 Analog input - all variations 1,22 00,01,06
30 1 32-bit analog input 1 00,01,06
ConfigWiz 2.0 Addendum DNP3.0 Server
Copyright © QEI 2016 7
OBJECT Request (parsed by ePAQ-94xx)
Grp
Var
Description
Func Codes (dec)
Qual Codes (hex)
30 2 16-bit analog input 1 00,01,06
30 3 32-bit analog input without flag 1 00,01,06
30 4 16-bit analog input without flag 1 00,01,06
31 0 Frozen analog input – all variations
31 1 32-bit frozen analog input
31 2 16-bit frozen analog input
31 3 32-bit frozen analog input with time of freeze
31 4 16-bit frozen analog input with time of freeze
31 5 32-bit frozen analog input without flag
31 6 16-bit frozen analog input without flag
32 0 Analog change event – all variations 1 06,07,08
32 1 32-bit analog change event without time
1 06,07,08
32 2 16-bit analog change event without time
1 06,07,08
32 3 32-bit analog change event with time
32 4 16-bit analog change event with time
33 0 Frozen analog event – all variations
33 1 32-bit frozen analog event without time
33 2 16-bit frozen analog event without time
33 3 32-bit frozen analog event with time
33 4 16-bit frozen analog event with time
40 0 Analog output status - all variations 1 dummy response
00,01,06
40 1 32-bit analog output status 1 dummy response
00,01,06
40 2 16-bit analog output status 1 dummy response
00,01,06
41 1 32-bit analog output block 3,4 17,28
5,6 17,28
41 2 16-bit analog output block 3,4 17,28
5,6 17,28
50 0 Time and date - all variations
DNP3.0 Server ConfigWiz 2.0 Addendum
8 Copyright © 2016 QEI
OBJECT Request (parsed by ePAQ-94xx)
Grp
Var
Description
Func Codes (dec)
Qual Codes (hex)
50 1 Time and date 1,2 07(qty 1)
50 2 Time and date with interval
51 0 Time and date CTO – all variations
51 1 Time and date CTO
51 2 Unsynchronized Time and date CTO
52 Time delay - all variations
52 1 Time delay coarse
52 2 Time delay fine
60 0 Not defined
60 1 Class 0 data 1 06
60 2 Class 1 data 1 06,07,08
20,21,22 06
60 3 Class 2 data 1 06,07,08
20,21,22 06
60 4 Class 3 data 1 06,07,08
20,21,22 06
70 1 File identifier
80 1 Internal indications 1 00,01
2 00 (idx 7)
81 1 Storage object
82 1 Device profile
83 1 Private registration object
83 2 Private registration object descriptor
90 1 Application identifier
100 1 Short floating point
100 2 Long floating point
100 3 Extended floating point
101 1 Small packed binary coded decimal
101 2 Medium packed binary coded decimal
101 3 Large packed binary coded decimal
No object 13
No object 23
ConfigWiz 2.0 Addendum DNP3.0 Server
Copyright © QEI 2016 9
Server Configuration The following is a Description of the DNP 3.0 Server configuration using ConfigWiz 2.0. DNP 3.0 is a multi-function, multi-layer protocol that involves complex client/server and inter-layer interactions. The user must possess a thorough understanding of the protocol features and their application prior to proceeding with the client configuration.
NOTE Before beginning the actual configuration of the DNP 3.0 Master Station, you must first map the points you want to communicate back to the Master Station. For more information on mapping, refer to the ConfigWiz 2.0 User’s Manual (UM-2018).
1. Click on the Master Station icon in the ConfigWiz main window.
The Master Station Options Configuration window displays.
DNP3.0 Server ConfigWiz 2.0 Addendum
10 Copyright © 2016 QEI
LinkLayer Tab Select the LinkLayer tab.
Select the appropriate parameters and make any changes according to the DNP 3.0 Server Link Layer Tab Parameters table.
Field Name
Description
Selectable Entries
Valid Entries
Default Values
Rtu
Address
Enter the RTU address. 0 and 65535 are broadcast addresses
1 – 65534
1
Master Station Address
Enter the Master Station address.
0 – 65535
1024
TX Fragment Size
Selects the maximum size of the fragment that can be transmitted. Use smaller fragments on noisy lines to reduce the amount of data that gets retransmitted if the data is corrupted in transit
128,256, 512,1024,
2048
Picklist 2048
AllowMultiFragResp
Enable to allow multiple fragment responses be sent if needed for large data
Yes/No Picklist No
MultiFragCnfm Require link layer confirmation for multiple fragments
Yes/No Picklist Yes
ValidateSourceAddr
Requires the source address from a master station request match the entry in “Master Station Address”. IF set to no, it will answer to any source.
Yes/NO Picklist Yes
DlyBtwnFrames Delay, in character time between frames in a multi-frame response
0-100 8
ConfigWiz 2.0 Addendum DNP3.0 Server
Copyright © QEI 2016 11
AppLayer Tab Select the AppLayer tab.
Select the appropriate parameters and make any changes according to the DNP 3.0 Server Application Layer Tab Parameters table.
Field Name
Description
Valid Entries
Default Value
Confirmation Timeout
Enter the Confirmation Timeout value. Enter the appropriate Application Layer Confirmation Timeout. It is the amount of time for the primary (initiating) station to receive confirmation from a secondary station before the transaction is timed out. See Confirmation Timeout by Channel Speed Table.
1-65000 10 sec.
SelectTimeout This is the control aperture window. It is the amount of time after the select message is received that the operate command can still execute the control.
0-256 20 sec
AllowMultiCROB
Allow multiple control objects in a single message
Yes/No No
DNP3.0 Server ConfigWiz 2.0 Addendum
12 Copyright © 2016 QEI
Class 0 Tab
Here it is possible to select which data types are returned in a class 0 poll. Selecting “Yes” will include that data type in response to a class 0 poll. Selecting “No” will omit that data type from the response.
Field Name
Description
Valid Entries
Default Value
StatusClass0 Include status points in a class 0 response
Yes/No Yes
OutStatusClass0 Include output status points in a class 0 response
Yes/No Yes
AccClass0 Include running counters in a class 0 response
Yes/No Yes
FrzAccClass0 Include frozen counters in a class 0 response
Yes/No Yes
AnaClass0 Include analog inputs in a class 0 response
Yes/No Yes
SPClass0 Include set points in a class 0 response Yes/No Yes
ConfigWiz 2.0 Addendum DNP3.0 Server
Copyright © QEI 2016 13
Events Tab
Field Name
Description
Valid Entries
Default Value
Delete Oldest Event
If the event buffer is full, delete the oldest upon receipt of a new one or drop new.
Yes/No Yes
MaxBinEvents Displays the Max Events value. Enter a value to set a memory buffer size to store events.
1-128 128
BinEventMode Keep all events or just the last All/Last All
MaxAnaEvents Enter a value to set memory buffer size to store analog events
0-100 64
AnaEventMode Set mode for analogs, all or last All/Last Last
MaxAccEvents Enter a value to set memory buffer size to store accumulator events
0-100 32
AccEventMode Set mode for accumulator, all or last All/Last Last
MaxFrzAcEvents Enter a value to set memory buffer size to store frozen accumulators
0-100 32
FrzAccEvtMode Set mode for buffer, all or last All/Last All
Acc Tab Select Acc tab. The DNP 3.0 Server configuration provides the user with the
ability to configure the static and frozen class type individually for each mapped accumulator point to the DNP 3.0 Master Station, as well as accumulator variations.
Select the parameter entry field and select the value as needed from the accompanying pull down menu on a per point basis.
DNP3.0 Server ConfigWiz 2.0 Addendum
14 Copyright © 2016 QEI
Field Name
Description
Valid Entries
Default Value
AccumFrzClass Select an event class to assign each frozen accumulator point to. The accumulator point will be reported when the master station polls for its designated class.
None
Class 1
Class 2
Class 3
None
AccumFrzStaticVar
Select the variation of the frozen static accumulator point. Chose the full scale value (32 bit or 16 bit) and if flags are to be included.
1,2,5,6 1
AccumFrzEventVar
Select the variation of the frozen event accumulator point. Chose the full scale value (32 bit or 16 bit) and if a time stamp is to be included.
1,2,9,10
ConfigWiz 2.0 Addendum DNP3.0 Server
Copyright © QEI 2016 15
Analogs Tab Select Analogs tab. The DNP 3.0 Server configuration provides the user with
the ability to configure the event class type individually for each mapped analog input point to the DNP 3.0 Master Station, as well as the analog deadband.
Select the parameter entry field and select the value as needed from the accompanying pull down menu on a per point basis.
Field Name
Description
Valid Entries
Default Value
AnalogEventClass Select an event class to assign each analog point to. The analog point will be reported when the master station polls for its designated class. Selecting an AnalogEventClass of none will cause the analog point to only be polled by class 0 static polls.
None
Class 1
Class 2
Class 3
None
AnalogStaticVar Select the variation of the static analog input point (object 30). Chose the full scale value (32 bit or 16 bit) and if flags are to be included. Flags provide additional status information about the point.
1,2,3,4,5,6
1
AnalogEventVar Select the variation of the analog change event point (object 32). Chose the full scale value (32 bit or 16 bit) and if flags are to be included. Flags provide additional status information about the point.
1,2,3,4,5,6,7,8
1
AnalogDeadband The deadband is the minimum amount of change for an analog input point in order for the new value to be reported, in response to a class data event poll or an analog event poll from the DNP 3.0 Master
0-32767 96
DNP3.0 Server ConfigWiz 2.0 Addendum
16 Copyright © 2016 QEI
Note: As the deadband value approaches 0, more analog changes will be sent. However, higher deadband values lead to reduced accuracy at the Master Station display. The DNP 3.0 Server configuration allows the deadband to be set individually for each mapped analog input point. Select the parameter entry field for the point to be changed and enter the appropriate deadband. Valid entries are 0 through 32767. The value selected represents the percentage change required for new analog value to be reported. For example, if a 2% change is required for an analog point to be reported, and the full-scale value of the point is 32767, then the dead band should be set to 655 (0.02 * 32767).
ConfigWiz 2.0 Addendum DNP3.0 Server
Copyright © QEI 2016 17
Status Tab Select the Status tab. Configure the parameters in accordance with your system
requirements. The DNP 3.0 Server configuration provides the user with the ability to configure SOE (Sequence of Events) type individually for each mapped status input point to the DNP 3.0 Master Station. As with accumulators/analogs, one can also set the event class (None, 1, 2, or 3) for each point. Selecting ‘None’ will prevent rapid updates of status. The status will only synchronize when an all-data (integrity) poll is made from the master.
Select the parameter entry field and select the value as needed from the accompanying pull down menu on a per point basis.
StatusStaticVar Description
Single-Bit Binary Input
The point contains the value of the binary input.
Binary Input with Status
The point contains the value of the binary input plus status information about the point.
StatusEventVar Description
Without Time Choosing this option indicates that no time tagging will be done, meaning that the status point will remain a regular status point. This is the default value for each mapped status point.
Absolute Time Choosing this option indicates that the selected status point will be time tagged with the actual time.
Relative Time Choosing Relative Time indicates that the selected status point will be time tagged with an incremental time based on the last Common Time Object (CTO) from the RTU.
DNP3.0 Server ConfigWiz 2.0 Addendum
18 Copyright © 2016 QEI
Unsol Tab
Select the Unsol tab. Configure the parameters in accordance with your system requirements. The DNP 3.0 Server configuration provides the user with the ability to configure Unsolicited responses..
Field Name
Description
Valid Entries
Default Value
UnsolAllowed Select “Yes” to allow unsolicited responses. Select “No” to not allow.
Yes/No No
UnsolClasses Specify the classes to be included in the unsolicited response. This is a bit mask, start with 0 and add the appropriate number corresponding to each class to determine the classes included.
Class 1: +1
Class 2: +2
Class 3: +4
For example: entering a value of 1 will include Class 1, a value of 3 will include
0-7 0
ConfigWiz 2.0 Addendum DNP3.0 Server
Copyright © QEI 2016 19
Field Name
Description
Valid Entries
Default Value
Class 1 and Class 2 and a value of 7 will include Class 1, 2 and 3.
UnsolRetries Number of retries for an unsolicited response. If the receipt of the unsolicited message is not confirmed by the secondary station, the unsolicited response will be retried.
0-7 3
UnsolRetryDly The delay in seconds between retries of an unsolicited response.
0-60,000
5
UnsolOffRetDly The delay in seconds between retries of an unsolicited response after the number of UnsolRetries has been reached.
0-60,000
30
UnsolClass1Dly Maximum delay in seconds before generating a class 1 unsolicited report
0-60,000
5
UnsolClass2Dly Maximum delay in seconds before generating a class 2 unsolicited report
0-60,000
5
UnsolClass3Dly Maximum delay in seconds before generating a class 3 unsolicited report
0-60,000
5
Unsol1MaxEvts Maximum number of class 1 events before generating an unsolicited report
0-100 1
Unsol2MaxEvts Maximum number of class 2 events before generating an unsolicited report
0-100 1
Unsol3MaxEvts Maximum number of class 3 events before generating an unsolicited report
0-100 1
DNP3.0 Server ConfigWiz 2.0 Addendum
20 Copyright © 2016 QEI
Variations Tab Select the Variations tab. Configure the parameters in accordance with your
system requirements. The DNP 3.0 Server configuration provides the user with the ability to configure different variations of binary outputs, analog dead bands and analog outputs.
Select the parameter entry field and select the value as needed from the accompanying pull down menu on a per point basis
Field Name
Description
Valid Entries
Default Value
BinOutVar Select the variation of the group 10 binary output objects. The following choices are available:
1(-Without Status): Binary Output Without Status
2(-With Status): Binary Output With Status
1,2 2
AnaDeadBandVar
Select the variation of the group 34 analog input objects. The following choices are available:
1(-16 Bit): 16-Bit Analog Input Reporting Dead Band Object
2(-32 Bit): 32-Bit Analog Input Reporting Dead Band Object
3(-Float): 32 Bit Floating Point Analog Input Reporting Dead Band Object
1,2,3 2
SPOutVar Select the variation of the group 40 analog output objects. The following choices are available:
1(-32 Bit): 32 Bit Integer Analog Output
1,2,3,4 2