ADC01-DOC-146 ADVC Protocol Manual DNP3 R15 WEB PDF
ADC01-DOC-146 ADVC Protocol Manual DNP3 R15 WEB PDF
Disclaimer
The advisory procedures and information
contained within this document have been
compiled as a guide to the safe and
effective operation of products supplied by
Schneider Electric.
2 | Schneider Electric
Revision history: List of figures
R00 Draft. Created from N00-324 R48 21/02/04 Figure 1: WSOS DNP3 Configuration tool 24
R01 Several changes including better wording, layout 01/03/04
of Unsol and Database pages
R02 Updated to reflect some implementation issues, 24/05/04
added VTO
Information, removed alarming as DNP3 feature
R03 General update of descriptions, added 18/06/04
Configurable IO section.
R04 Added the AI Deadband section 11/07/04
R05 Minor corrections. Added Tx Delay 17/10/04
R06 Minor corrections as per document review 25/11/04
R07 Amend Unsolicited Response Retry Delay 20/02/06
OCP field.
Add applicability note regarding GMT Offset.
Add note regarding V42 1ms time
stamp resolution.
R08 RFC12769 enhancements:- for V43 release 29/05/09
A43-03.00
4.3.2 Unsolicited Response Settings
(REGENERATED/IDENTICAL)
4.2.2 Transmission Services Settings
(Operate Seq Chk)
4.5.1 Database Settings (Analog Evts)
R09 RFC14221 ADVC:String Amendments 02/06/09
R10 Add setting table notes for:- 22/06/09
4.3.2 Unsolicited Response Settings
(REGENERATED/IDENTICAL)
4.5.1 Database Settings (Analog Evts)
R11 Updated company name, address and 08/07/09
phone numbers.
R12 RFC11922 added for V44 release A44-11.00 18/08/09
4.6 DNP3 over IP
R13 Removed older controller references 10/09/09
R14 Updated references and implementation table 05/10/09
according to latest DNP3 specs.
R15 Unsolicited max retries update 09/02/10
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 3
Contents
1. Introduction 5
2. Overview 5
2.1. Status Points 5
2.2. Controls 6
2.3. Operator interfaces 6
2.4. Password Protection 6
3. Applicability 7
3.1. Control Cubicle Software 7
3.2. GMT Offset 7
3.3. DNP3 Protocol 7
3.4. Terminology 7
4. Protocol Configuration 7
4.1. Communications 8
4.2. Transmission Services
Configuration 10
4.3. Unsolicited Response
Configuration 14
4.4. Diagnostics 19
4.5. Data Configuration 21
4.6. DNP3 over IP 26
4 | Schneider Electric
1. Introduction
This document describes the DNP3 implementation for the ADVC Controller Range. It describes the
DNP3 implementation within the controller and its panel interface.
For more information about DNP3 input/output point map, point descriptions and attributes per
point refer to the WSOS5 DNP IO configuration tool and its documentation.
2 Overview
The controller combines the functions of protection relay and switchgear controller into a single
intelligent electronic device (IED). The controller provides a user friendly operator interface on a
LCD control panel that allows configuration and control of the switchgear. In addition the controller
generates time tagged “events” which are displayed on the operator control panel. These
events show the history of the switchgear operation for the benefit of the operator and for post
fault analysis.
Examples would be:
• Operator Actions such as trip or close
• Protection Pick up
• Protection Trips
• Fault Current Levels
• Auto-reclose actions.
These events are optimised to give the operator the most useful information. Electricity supply
utilities frequently link the controller into their SCADA systems as a Remote Terminal Unit (RTU).
To make this simple the controller provides:
• Mounting room for a radio or modem in the control cubicle
• Power supply for the radio or modem in the control cubicle
• Embedded protocol handler for the required SCADA protocol in the controller firmware.
The DNP3 protocol allows digital and analog data to be sent from the controller to the SCADA
system with time tags attached.
Time tags are optional. If enabled, these status points are returned with time tags. For firmware
version A42-01.xx and later time stamps have a one millisecond (1ms) resolution.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 5
2.2 Controls
A list of the controls supported by the controller is detailed in the IO configuration tool.
All controls have a corresponding binary status point. The master station must use these status
points to verify that the control action has been successful. Sometimes a control will be rejected
because of an underlying controller condition preventing the action. These conditions are detailed
in the DNP IO configuration tool’s ADVC-PTCL-331.html point list.
The DNP3 protocol handler can trigger two events to be recorded in the controller event log -
“DNP3 Trip Req” and “DNP3 Close Req”. This event log reporting indicates only that the
protocol handler has requested a trip or a close from the controller. It does not necessarily
mean that the action has been taken. As detailed above, the request may be overridden by
operational conditions.
The DNP3 protocol handler is designated as a remote user. Refer to the equipment manual for
more information.
Note: Some controls affect the currently active protection group. The change is put into effect
immediately and is permanent for that group. In other words, it is the equivalent to selecting that
protection group on the operator control panel, changing the setting and then putting the change
into service.
All binary/analog output points have a matching binary/analog input status point. It is recommended
that the master station use the control’s corresponding binary/analog input status to verify the
success of an action.
2.3.1 setVUE
The setVUE style OI is used on A44, and is the only interface available for A41, A42 and A43.
2.3.2 flexVUE
The flexVUE style OI is used on A44 only.
MAIN MENU
ENGINEERING MENU DNP3 MENU
TELEMETRY MENU
CONFIGURE COMMS
DNP3 MENU
DNP
DNP
COMMS
COMM STATS ↕
DNP TRANS SERVICES
DNP IP NETWORKING
DNP UNSOLICITED
DNP DIAGNOSTICS
6 | Schneider Electric
3. Applicability
3.4 Terminology
The terminology used in this document is that Earth Fault or Ground Fault is described as
Earth/Ground Fault and Sensitive Earth Fault (SEF) or Sensitive Ground Fault (SGF) is described
as SEF/SGF.
Also note that the phase terminology is ABC and refers always to the phase set by the Terminal
Designation or “Phasing” option, never to the physical bushing or terminal on the switchgear.
4. Protocol Configuration
When the DNP3 protocol handler is made available in the controller, a submenu is added to the
Communication menu. The DNP3 submenu pages fall into the following categories
• Communications
• Transmission Services Configuration
• Unsolicited Response Configuration
• Diagnostics
• Data Configuration
• IP Networking (Version A44-11.00 or later only).
All protocol configuration settings can be viewed, modified and stored on a personal computer with
the WSOS utility.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 7
4.1 Communications
↕
RS232-PORT-C RUNNING Port RS232-C
DNP3 Standard ACR RUNNING
DNP3 Standard ACR 2
Setting Description
Port Selection Port Selection
Note 1 The communication port that the protocol handler is assigned to use.
Note 4
Note 5 Range: Port NONE, RS232-PORT-A, RS232-PORT-B, RS232-PORT-C,
RS232-PORT-D, RS-485, V23, 10BaseT
Factory default is Port NONE
INACTIVE Protocol Handler Status
RUNNING Indication of the current status of the DNP3 protocol handler.
INACTIVE means that the protocol handler is either configured as Port
NONE or the protocol handler has been assigned to a port that has
already been assigned exclusive use by another application in the
controller or the protocol IO map is invalid.
RUNNING means that the protocol handler has a valid IO map, has
successfully attached itself to a port and is running normally.
Display only status.
Range: INACTIVE/RUNNING
Protocol Map DNP3 Input/Output Map
Note 4 Displays the name of the currently loaded DNP Input/Output map.
Different IO maps can be created using WSOS and loaded into the
controller. If the loaded map is corrupt then an “Invalid Map” message is
shown. Reload the required map if this is seen.
Display only status.
Factory default is DNP3 Standard ACR2
Tx Count Transmission Message Count
Note 2,3 The number of DNP3 data link messages transmitted from this
controller into the DNP3 communication link.
Range: 0 to 32767
8 | Schneider Electric
4.1 Communications (cont.)
Setting Description
Rx Count Receive Message Count
Note 2,3 The number of DNP3 data link messages received by this controller
from the DNP3 communication link.
Range: 0 to 32767
Rx Length Err Receive Message Length Error Count
Note 2,3 The number of message packets received with a length error
Range: 0 to 32767
Rx CRC Err Receive Message CRC Error Count
Note 2,3 The number of DNP3 data link messages received by this controller
from the DNP3 communication link with a CRC error
Range: 0 to 32767
Notes
1. The controller does not have all of its communications ports available at any one time. A port
selection feature in WSOS determines the ports available for the protocol handler to use. Refer
to the WSOS help file or the equipment operation manual for more information. Unavailable
ports are not displayed in this setting field.
2. Communication statistic counters are display status fields only.
3. All communication statistics counters are zeroed when:
• the controller is reset
• a DNP3 cold or warm restart message is received
• a configuration parameter is changed that triggers a protocol handler warm restart
• the ‘Reset All’ button is selected in WSOS.
• The OI select key is pressed twice (not password protected)
4. Changing this setting will cause the DNP3 handler task to perform a warm restart. This will
mean a re-initialisation of all communication settings such as FCB, sequence numbers,
restart internal indication etc. A temporary loss of communications with the master station
may occur. Also, any queued events will be deleted.
5. Selecting the port to 10BaseT is supported in Version A44-11.00 or later.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 9
4.2 Transmission Services Configuration
4.2.1 Overview
The DNP3 protocol has a number of data link and application layer settings that form transmission
service functions. The controller permits configuration of a number of these:
• Data link layer confirmation
• Data link time out
• Application layer confirmation time out
• Control select/operate time out period
• Time Synchronisation request operation.
setVUE DNP Transmission Services pages flexVUE DNP Transmission Services pages
↕
DL Cf Rqd SOMETIMES DL Cf TO 4000ms DL Cf Rqd SOMETIMES
DL Max Retries 2 Apl Cf TO 108000ms DL Cf TO 4000ms
Select/Op 10000ms Apl Frag Size 2048 DL Max Retries 2
Apl Cf TO 108000ms
Select/Op 10000ms
Apl Frag Size 2048
---- DNP Transmission Services 2 ----C DNP Address 5
DNP Address 5 Time Dly Rq 0min Time Dly Rq 0min
Tx Delay 0ms Operate Seq Chk ON Tx Delay 0ms
Keep-alive 20s Operate Seq Chk ON
Keep-alive 20s
Setting Description
DL Cf Rqd Data Link Confirm Required
On some communications links it is required to have extra
communications integrity to ensure that all data link frames are
successfully received by the master station.
If NEVER, the protocol handler will not request acknowledgment
messages from the master station for data link frame transmissions.
It assumes all data link frames are received by the master station and
relies solely on application layer message integrity checking.
If SOMETIMES, the protocol handler requests a data link acknowledge
response from the master station only on multi-frame DNP3 messages.
If ALWAYS, the protocol handler will expect a data link acknowledgment
message from the master station to all data link frame transmissions.
Range: NEVER, SOMETIMES, ALWAYS.
Factory default is SOMETIMES
DL Cf TO Data Link Confirm Timeout
When the controller DNP3 data link layer transmits a frame that requires
an acknowledge response from the master station, it starts a timer.
If an acknowledge frame is not received from the master station with-in
the data link confirm time out period, DL Cf TO, then the frame is resent.
If the communications link has failed then the controller will continue re-
transmissions until DL Max Retries failures occur after which it informs
the application layer of the failure.
Range: 50 to 65535 ms.
Factory default is 4000 ms
10 | Schneider Electric
4.2.2 Transmission Services Settings (cont.)
Setting Description
DL Max Retries Data Link Maximum Retries
Maximum number of times a frame is resent before communication
failure is identified.
Range: 0 – 255.
Factory default is 2
Apl Cf TO Application Layer Confirm Timeout
When the controller transmits some DNP3 messages, such as
application layer messages that contain change of state data, a DNP3
application layer confirm message is expected from the master station.
When the last byte of one these messages is transmitted by the
controller a timer is started.
If an application layer confirm message is not received from the master
station within the time out period, then the message is deemed failed.
Refer to section 4.3.3 for more information regarding failed application
layer message handling.
If the application layer message is too large for a single data link frame,
then the protocol handler segments the application message into
multiple data link frames. The application confirm timeout period must
therefore allow for multiple data link frames.
If DL Cf Rqd is set to either SOMETIMES or ALWAYS, then setting
the confirm timeout Apl Cf TO using the following formulae is
recommended:
If Apl Frag Size >= 249,
Apl Cf TO >= ((DL Max Retries + 1) x DL Cf TO x Apl Frag Size / 249)
If Apl Frag Size < 249,
Apl Cf TO >= ((DL Max Retries + 1) x DL Cf TO)
WSOS will offer this value to the user if entering a value outside
these formulae.
If DL Cf Rqd is set to NEVER then the minimum Apl Cf TO is 0ms.
Range: 0 or (Apl Cf TO Calculated ) to 3600000 ms.
Factory default is 108000 ms
Select/Op Select/Operate Timeout
Maximum time permitted, in milliseconds, between receiving a select
command message and an operate command message from the
master station for the control action to be deemed valid.
Range: 50 to 65535 ms.
Factory default is 10,000 ms
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 11
4.2.2 Transmission Services Settings (cont.)
Setting Description
Apl Frag Size Application Layer Maximum Fragment Size
Note 1 Defines the maximum size of the application layer fragment that can be
Note 2
sent at any one time. Multiple application fragments will be created if the
controller data to be transmitted exceeds this size.
For high noise environments, reducing the size of the transmitted
data link frame can result in improved communication reliability. This
can be done by setting the Apl Frag Size value to less than 249. It is
recommended that if the value is set this low then DL Cf Rqd should be
set to either SOMETIMES or ALWAYS. However, it should be noted that
this increased reliability will result in increased turn around time for large
controller data transmission.
For more information refer to the DNP3 User Group Technical Bulletin
9804-002 “DNP Confirmation and Retry Guidelines” Section 4.2.
If DNP VTO communications is to be used then it is recommended that
this value be set to 2048.
Range: 50 to 2048 bytes.
Factory default is 2048 bytes
DNP Address DNP3 Station Address
Note 2 The station address of the controller on the communication link.
This setting is not configurable via WSOS if ‘DNP3 radio’ or ‘DNP3
Modem’ communications are used.
Range: 0 to 65519
Factory default is 5
Time Dly Rq Time Synchronisation Request Delay
Note 2 The DNP3 protocol allows for the master station to send time
synchronisation messages independently or at the request of the
controller or both.
Time Dly Rq is the amount of time, in minutes, after the last master
station time synchronisation message that the controller will wait before
setting the ‘Time Synchronisation Required’ internal indication bit
(IIN1-4). This bit is sent to the master station in every controller
DNP3 message.
If this setting is set to 0 then the internal indication bit is never set and
the master station solely determines time synchronisation operation.
Range: 0 – 65535 minutes
Factory default is 0 minutes
Tx Delay Transmit Delay
Additional time, in milliseconds, between receiving a request and
sending a response.
This setting is used when the master station requires time to disable the
transmitter. If collision avoidance delay is being used by the controller
then this setting should be set to a value slightly greater than the master
station’s post-transmission period.
Range: 0 to 65535 ms
Factory default 0 ms
12 | Schneider Electric
4.2.2 Transmission Services Settings (cont.)
Setting Description
Operate Seq Chk ON: the controller requires DNP3 Select-Before-Operate (SBO)
requests to be contiguously sequenced, i.e. if the select sequence
number is N in the Application Layer sequence, then the operate
Application Layer message request sequence number must be N+1
(within the application layer sequence number range).
A setting of OFF allows the controller to accept out of sequence
‘Operate’ requests’.
Either way - the operate Application Layer request message must be
received within the “Select/Operate Timeout” period to activate the
selected control.
Range: ON/OFF
Factory default is ON
Applicable to version V43 only from A43-03.00 onwards.
Keep-Alive Keep-Alive Time
Note 2 The controllers issues periodical Request Link Status messages to
verify the integrity of the connection to the master.
Note 3
Range: 1 to 172800s
Factory default is 20s
Applicable to version V44 from A44-11.00 onwards.
Notes
1. The maximum number of DNP application sequence numbers permitted per report attempt
is limited to 16. It is therefore possible that if Apl Frag Size is set low and the number of
available events is large then not all available event data will be reported in a single message
sequence. If Unsolicited responses are not enabled then the master station must monitor
event availability in controller using the class data available internal indicators and perform
multiple poll attempts to read all data.
2. Changing this setting will cause the DNP3 handler task to perform a warm restart. This will
mean a re-initialisation of all communication settings such as FCB, sequence numbers, restart
internal indication etc. A temporary loss of communications with the master station may
occur. Also, any queued events will be deleted.
3. The Keep Alive time setting is only available for 10BaseT port and TCP mode selected.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 13
4.3 Unsolicited Response Configuration
4.3.1 Overview
The protocol handler’s DNP3 event processing informs the master station that a change in a binary
input has occurred, or an analog input has exceeded its deadband range.
The transmission of event data can be performed using two methods:
• Master initiated polling for event data.
• Controller initiated transmissions called Unsolicited Responses.
Events can be reported in three data classes. Typically the following priorities are applied:
• Class 1 - high priority event class
• Class 2 - medium priority event class
• Class 3 - low priority event class
The event class of DNP3 binary and analog points can be configured using a tool embedded
in WSOS.
Note: The fourth DNP3 data class, Class 0, is not an event class. It is used in the reporting of
current (static) value of data and not change of state events. Setting a point to class 0 via the WSOS
Configurable DNP3 tool will prevent the protocol handler from reporting change of state events for
that point to the master station. The point will remain accessible via static data polls.
The following controller display pages allow configuration of Unsolicited Response behaviour.
14 | Schneider Electric
4.3.2 Unsolicited Response Settings
↕
Unsolicited OFF Master Addr 3 Unsolicited OFF
Unsol Retries 255 Unsol Delay 109s Master Addr 3
Send Class READY Unsol REGENERATED Unsol Retries 255
Unsol Delay 109s
Send Class READY
C1 Max Count 1
--------- DNP Unsolicited 2 --------C C1 Delay 1s
C1 Max Count 1 C1 Delay 1s C2 Max Count 3
C2 Max Count 3 C2 Delay 5s C2 Delay 5s
C3 Max Count 5 C3 Delay 10s C3 Max Count 5
C3 Delay 10s
Setting Description
Unsolicited Enable/Disable Unsolicited Responses
Note 1 If OFF, change of state events are buffered but only sent as responses
to event polls from the master. Any Enable or Disable Unsolicited
Messages commands received by the controller will result in the
controller responding with its ‘Function Code Not Implemented’ internal
indication bit set.
If ON or FORCED, change of state events are buffered and are
transmitted when:
• a class count is exceeded
• a class notification delay timer expires
• as a response to a master station event poll.
When a class count is exceeded, or class notification delay timer
expires, then the number and type of events transmitted is determined
by Send Class.
If the master station issues a Disable Unsolicited Messages command
to the controller after the controller has sent its initial unsolicited ‘Null’
message, then the mode of the controller will be overridden regardless
of ON or FORCED setting.
Note:
1. If ON, the unsolicited reporting ability in the controller is enabled.
The controller will inform the master station of this ability via an
unsolicited ‘Null’ message and will only transmit unsolicited
response initial change of state events after it receives an ‘Enable
Unsolicited Messages’ command from the master station.
ON will mean that the controller DNP3 implementation is compliant with
the DNP3-1999+ specification.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 15
4.3.2 Unsolicited Response Settings (cont.)
Setting Description
Master Addr DNP3 Master Station Address
Note 1 This is the DNP3 address to which the unsolicited responses are sent.
If the controller is set up to communicate with WSOS using VTO
communications then it is recommended that this setting should not be
set to the WSOS DNP3 master address.
Range: 0 to 65519
Factory default is 3.
Unsol Retries Unsolicited Response Maximum Number of Retries
Note 1 Maximum number of attempts to re-transmit an unsolicited response
without getting a confirmation from the master.
Refer to section 4.3.3 below for more information.
This limitation does not apply to an initial unsolicited ‘Null’ message
(a DNP3-2000 requirement.).
A value of 0 means that only a single transmission is made and no re-
transmits are attempted.
A value of 255 means unlimited retries (i.e. maximum limit is disabled.
When the maximum number of retries is reached without getting a
confirmation from the master, the Unsol Dly timer is restarted with a
value of 86400s).
Range: 0 to 255
Factory default is 255
Unsol Delay Unsolicited Response Retry Delay
Note 1 If the controller has not received a confirmation from the master station
to an unsolicited response within Apl Cf TO period then this setting
determines when the next unsolicited response will be sent.
The Apl Cf TO timer and Unsol Dly timers are started at the same time
(i.e. started immediately after the transmission of the last byte of a
controller message that expects a response from the master).
If Unsol Dly is greater than Apl Cf TO then it will wait until Unsol Dly
seconds after transmission of last message before sending a retry.
Unsol Dly should never be set to less than Apl Cf TO.
Range: 1 to 86400 seconds
Factory default is 109s
16 | Schneider Electric
4.3.2 Unsolicited Response Settings (cont.)
Setting Description
Send Class Unsolicited Response Class Reporting
Used to control which classes are transmitted in the unsolicited
response message when a class count is exceeded or a class
notification delay timer expires.
If READY then only the events of that class are reported.
If ALL then all available events, irrespective of class, will be included in
the unsolicited message.
If PRIORITY then any events available of equal or higher priority are
sent. For example, if Class 2 events are ready to be sent and Class 1
events are available but not ready, then both classes will automatically
be sent. Any available Class 3 events will not be included.
Note that if set to READY or PRIORITY, then the reported unsolicited
message may have internal indicator bits (IINs) set to indicate data
available in other classes. Some master stations, upon seeing these bits
set will immediately send a poll for the unreported data. In this case ALL
is recommended for greater communication efficiency.
Range: READY, ALL, PRIORITY
Factory default is READY
Unsol Selects the Unsolicited Response retry type that is transmitted when
( REGENERATED/ an unsolicited response is ‘Unconfirmed’ by the master station and a
IDENTICAL) re-transmission is required by the out-station.
Note 1 The octets of a REGENERATED unsolicited response retry may contain
some or all of the data from the previous unsolicited response, and
may also include updated data, new data and changed IIN octets. The
sequence number in the application control octet is incremented from
the previously transmitted unsolicited response.
An IDENTICAL unsolicited response retry is a repeat, octet-for-octet, of
the previously transmitted unsolicited response. The sequence number
appearing in the application control octet of an identical retry and the
previous unsolicited messages are the same.
Range: Unsol REGENERATED/IDENTICAL
Factory default is REGENERATED
Applicable to version V43 only for Release A43-03.00 onwards.
Refer DNP3Spec-V2-Part1-ApplicationLayer-20071215.pdf Section 6.0
C1 -> Class Indicator
C2 ->
Indicator of the class that applies to the rest of the data on the row.
C3 ->
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 17
4.3.2 Unsolicited Response Settings (cont.)
Setting Description
Max Count Unsolicited Response Class Notification Max Count
Note 1 The total number of binary and analog events of this class that must
occur before an unsolicited response message is triggered.
Range: 1 to 450 events
Class 1 factory default is 1 event.
Class 2 factory default is 3 events
Class 3 factory default is 5 events
Delay Unsolicited Response Class Notification Delay
Note 1 The maximum time an event of this class will be held before an
unsolicited response message is triggered.
Range: 1 to 86400 seconds
Class 1 factory default is 1second.
Class 2 factory default is 5 seconds
Class 3 factory default is 10 seconds
Notes
1. Changing this setting will cause the protocol handler to perform a warm restart. This will mean
a re-initialisation of all communication settings such as FCB, sequence numbers, restart
internal indication etc. A temporary loss of communications with the master station may occur.
Also, any queued events prior to setting change will be lost.
Multiple DNP3 change of state events can be transmitted in the same message. When events are
transmitted, the software tags them as sent and retains them in the event buffer. All messages
containing events require an application layer confirm response from the master station.
If the application layer receives a confirm response within the application layer confirmation time out
period (Apl Cf TO), then the tagged events are removed from the buffer.
If a confirm message is not received within the application layer confirm time out period (Apl Cf TO)
then all tagged events are untagged and are retained in the event buffer and the protocol handler
behaves as follows:
• If unsolicited response messages are not enabled then the events are re-transmitted when next
requested by the master station.
• If unsolicited response messages are enabled, then the protocol handler waits for the retry delay
timer (Unsol Dly) to expire before attempting to send another unsolicited response. Selection
of Regenerated or Identical unsolicited retries is an operator setting, refer 4.3.2 Unsolicited
Response Settings – Unsol REGENRATED/IDENTICAL.
If the maximum unsolicited response retry limit is enabled and after Unsol Retries, the protocol
handler will cease attempting to send unsolicited responses until either:
• a successful application layer message of any function code addressed to it is received from
the master station
• a new event is queued in the buffer
• the default (non configurable) ‘Offline’ time-out expires.
If the 250 binary event buffer, or the 200 analog event buffer is full, then the oldest queued event will
be over-written by a new event. Both event buffers reside in volatile RAM.
18 | Schneider Electric
4.4 Diagnostics
4.4.1 Overview
Diagnostic pages are to enable the user to have visibility of the protocol handler’s internal statuses,
timer values and event buffer status for communications commissioning purposes.
DNP DIAGNOSTICS
↕
----- DNP Diagnostics 1 -------C C1 -> DISABLED
C1 -> ENABLED, Events 0, Timer 0s C1 -> Events 0
C2 -> ENABLED, Events 0, Timer 0s C1 -> Timer 0s
C3 -> ENABLED, Events 0, Timer 0s C2 -> DISABLED
C2 -> Events 0
C2 -> Timer 0s
C3 -> DISABLED
setVUE DNP Diagnostics page 2 C3 -> Events 0
C3 -> Timer 0s
DL Timer 0s
----- DNP Diagnositics 2 -------C DL Retry Count 0
DL Timer 0s DL Retry Count 0 Apl Cf Timer 0s
Apl Cf Timer 0s Select Timer 0s Select Timer 0s
Uns Retry Tmr 0s Uns Retry Cnt 0 Uns Retry Tmr 0s
Uns Retry Cnt 0
Setting Description
C1-> Class Indicator
C2->
Indicator of the class that applies to the rest of the data on the row.
C3->
Unsolicited Response Unsolicited Response Reporting Status
Status by Class
Shows whether transmission of unsolicited data for the class has been
enabled or disabled.
ENABLED if:
• Unsolicited is ON in protocol handler AND the protocol handler has
received an Enable Unsolicited Responses command (Function code
0x14) from the master station.
• Unsolicited is FORCED AND the protocol handler has NOT received a
Disable Unsolicited Responses command (Function code 0x15) from
the master station.
DISABLED if:
• Unsolicited is OFF in protocol handler.
• Unsolicited is ON in protocol handler AND the protocol handler has
never received an Enable Unsolicited Responses command (Function
code 0x14) from the master station.
• Unsolicited is ON or FORCED in protocol handler AND the protocol
handler has received a Disable Unsolicited Responses command
(Function code 0x15) from the master station.
Display only status.
Range: ENABLED, DISABLED.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 19
4.4.1 Overview (cont.)
Setting Description
Buffered events by Class Event count
Class
The number of binary and analog events currently buffered for the class.
Count is valid irrespective of whether the protocol handler is in solicited
response or unsolicited response mode.
Display only status.
Range: 0 to 450 events
Unsolicited Response Unsolicited Response Class Notification Timer
Timer
The current value of notification delay timer for the class.
by Class
Display only status.
Range: 0 to Unsolicted Delay seconds
DL Timer Datalink Confirm Timer
The time in milliseconds since last data link message was transmitted.
Display only status.
Range: 0 to DL Cf TO seconds
DL retry count Data link Retry Count
Number of times a data link message has been sent. This count
includes the initial message.
Display only status.
Range: 0 to DL Max Retries
Apl Cf Timer Application Confirm Timer
The time in milliseconds since start of transmission of current
application layer message.
Display only status.
Range: 0 to Apl Cf TO seconds
Select Timer Select / Operate Timer
The time in milliseconds since receipt of select command.
Display only status.
Range: 0 to Select/Op seconds
Uns Retry Tmr Unsolicited Response Retry Timer
The time in seconds since last unsolicited response message
was transmitted.
Display only status.
Range: 0 to Retry Dly seconds
Uns Retry Cnt Unsolicited Response Retry Count
Number of times an unsolicited response retry has been sent.
Display only status.
Range: 0 to Unsol Retries
Note: The accuracy of displayed timer values are subject to panel refresh time.
20 | Schneider Electric
4.5 Data Configuration
↕
----- DNP Database Configuration 1 ---C Binary Time ON
Binary Time ON Analog Time OFF Analog Time ON
Analog Size 16bit Analog Flag OFF Analog Size 16bit
Binary Output OFF Analog Evts:BUF ALL Analog Flag OFF
Binary Output OFF
Setting Description
Binary Time Binary Time Tag Usage
Determines whether or not a time tag is included with DNP3 binary
change of state events transmitted to a master station by the controller.
Range: ON, OFF
Factory default is ON.
Analog Time Analog Time Tag Usage
Determines whether or not a time tag is included with DNP3 analog
change of state events transmitted to a master station by the controller.
Range: ON, OFF
Factory default is OFF
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 21
4.5.1 Database Settings (cont.)
Setting Description
Binary Outputs Binary Output Status Reporting
Note 1 The protocol handler response to an integrity poll or a class 0 poll
includes binary inputs, counters and analog inputs. This setting
determines whether or not binary output status data is also included.
(Unmapped data types are excluded.)
If ON, the controller will always include binary output (object 10 variation
02) status data in the response.
Range: ON, OFF
Factory default is OFF
Analog Evts Select the Analog event reporting mode for Analog class 1, 2 or 3 input
Note 1
change events.
Class 1,2 or 3 Analog input change events can be reported in BUF ALL
mode (Buffer-All, every evented change is reported).
Or in PRESENT-value mode, one event per point (when a change is
detected, the report of the change contains the ‘present-value’ at the
time the event is reported - not when the change was detected).
Range: BUF ALL/PRESENT.
Factory default is BUF ALL
Applicable to version V43 only from A43-03.00 onwards.
Notes
1. Changing this setting will cause the protocol handler to perform a warm restart. This will mean
a re-initialisation of all communication settings such as FCB, sequence numbers, restart
internal indication etc. A temporary loss of communications with the master station may occur.
Also, any queued events prior to setting change will be lost.
22 | Schneider Electric
4.5.2 Default Database Data Objects
When master stations perform a static data (class 0), change of state event (class 1,2,3) or integrity
data (class 1,2,3,0) poll then the reported data object variation is typically not specified. The request
simply asks for any data for a specific DNP3 class type and it is left to the controller’s protocol
handler to determine which DNP3 object variation is to be transmitted. The controller determined
object variations are referred to in this manual as the ‘Default’ object variation. Some default data
object variations can be configured. The table below lists the selectable variations and identifies the
relevant configuration setting required.
The rest of the default data objects used by the controller are:
• Binary input status (Object 1 variation 01)
• Binary counter status (Object 20 variation 05)
• Frozen counter status (Object 21 variation 09)
• Binary output status (Object 10 variation 02)
• List of attribute variations (Object 0 variation 255) – Version A44-11.00 or later only.
Note: If the master station requests data with an explicit object variation then the controller
will respond with that variation. If an analog value is greater than 32767 then the controller will
respond to a request for a 16 bit analog input object with value 32767 and over-range bit set.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 23
4.5.3 Database IO Points Map
The controller has a default database of DNP3 IO points called “DNP3 Standard ACR” map.
If the user wishes to change the selection of points and/or attributes of a point there is a
configuration tool available.
24 | Schneider Electric
4.5.4 Analogue Deadband Configuration
All of the protocol handler’s analogue inputs have a deadband value stored in non-volatile
memory. The user, via the WSOS DNP Tool, can configure these values on a per point basis. Upon
controller start up, protocol handler restart, or a new IO map being loaded, the protocol handler
copies all deadband settings to volatile memory overriding any previous settings. The protocol
handler uses the volatile values in its deadband reporting logic.
The volatile analogue input deadbands are configurable from the DNP3 master station on a per
point basis using DNP3 analog input deadband object writes. If it is desired that the changes be
maintained after a controller or protocol handler restart then it is the master station’s responsibility
for re-sending any updated deadband values. The master station can detect the restart condition
via the DNP internal indicator restart status bit.
Deadband values are not reported in integrity or event polling. They are only available via reads
and writes of DNP3 analogue input deadband objects.
All deadbands supported by the protocol handler are fixed value format - ie the deadband value
represents an analogue input’s absolute value difference between the last reported value and the
threshold value that the current value must exceed in order to generate an analogue change of
state event.
For more information on DNP3 analogue input deadband objects and behaviour refer to the DNP3
User Group Technical Bulletin 9809-001 “Analogue Input Reporting Deadband”.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 25
4.6 DNP3 over IP
26 | Schneider Electric
4.6 DNP3 over IP (cont.)
Setting Description
IP Protocol Mode IP Protocol Mode
Note 1 The protocol used to proceed DNP3 requests.
TCP : Transmission Control Protocol
UDP : User Datagram Protocol
Depending on the DNP3 Unsolicited settings and the selected Transport
Protocol, the following end point mode options will be in service:
IP Networking Mode
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 27
4.6 DNP3 over IP (cont.)
Setting Description
Port in REQ Port In Request
Note 1 The port number of the incoming message will be used as the
destination port number instead of the master port setting value.
Only visible If the Transport Protocol is UDP
Range: ON, OFF
Factory Default is OFF
Broadcast UDP Broadcast UDP Port Number
Note 1 This is the UDP Port where the controller listens to broadcast requests.
Range: 1 to 65534
Factory Default is 20000
Notes:
1. Changing this setting will cause the DNP3 handler task to perform a warm restart. This will
mean a re-initialisation of all communication settings such as FCB, sequence numbers, restart
internal indication etc. A temporary loss of communications with the master station may occur.
Also, any queued events will be deleted.
setVUE DNP IP
Networking page three displayed with an invalid connection attempt
flexVUE DNP Network Stats pages
displayed with an invalid connection attempt
--------- DNP IP NETWORKING 3 ----------C
Last Invalid IP 10.196.88.156 DNP NETWORK STATS
↕
Invalid Packet Count 77 Last Invalid 10.1
Invalid Pckts 77
Setting Description
Last Invalid IP Last Invalid IP address
Note 1 Only visible when Check Master IP is ON
This field displays the IP address of the last unauthorised machine that tries
to connect to the controller DNP3 TCP port.
The user can press SELECT on this page to make a menu appear. Another
press of “SELECT” will reset the page and set this field to “NONE”, while
“Menu” key pressed will cancel the whole operation.
Display only status.
Range: NONE or an invalid IP address
Invalid Packet Invalid Packet Count
Count
Only visible when Check Master IP is ON
This field displays the number of connection tries of the last unauthorised
machine. If a new invalid connection is attempted from a different machine,
the Last Invalid IP is updated and the count is reset to 1.
The user can press SELECT on this page to make a menu appear. Another
press of “SELECT” will reset the page and set this field to “NONE”, while
“Menu” key pressed will cancel the whole operation.
Display only status.
Range: 0 to 4294967296
1. This field on the flexVUE scrolls to display the full text.
28 | Schneider Electric
Appendix A Protocol Timings
Initialisation Time
After power up, the protocol handler will not respond to master station requests whilst it waits for
the controller database to be initialised and for high priority boot up tasks to be completed.
Turnaround Time
The turnaround time for the protocol, from the end of receiving a message until the start of the
pre-transmission time, is typically < 30 milliseconds with a range of 4 to 100 milliseconds.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 29
DNP3 Device Profile (cont.)
30 | Schneider Electric
Appendix C DNP3 Implementation Table
12 1 Control Relay Output Block 3, 4, 5, 6 00, 01, 07, 08 129 Echo of request
17, 28
20 0 Binary counter – Default 1, 7, 8, 9, 10 00, 01 06 N/A N/A
07, 08, 17, 28
20 1 32 Bit Binary Counter with flag 1, 7, 8, 9, 10 00, 01, 06, 129 00, 01
07, 08,
17, 28
17, 28 Note 4
20 2 16 Bit Binary Counter with flag 1, 7, 8, 9, 10 00, 01, 06, 129 00, 01
07, 08,
17, 28
17, 28 Note 4
20 5 32 Bit Binary Counter without flag 1, 7, 8, 9, 10 00, 01, 06, 129 00, 01
07, 08,
17, 28
17, 28 Note 4
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 31
Controller DNP3 Implementation Table (cont.)
REQUEST RESPONSE
OBJECT
(slave must parse) (master must parse)
Obj Var Description Func Codes Qual Codes Func Qual Codes
(dec) (hex) Codes (hex)
20 6 16 Bit Binary Counter without flag 1, 7, 8, 9, 10 00, 01, 06, 129 00, 01
07, 08,
17, 28
17, 28 Note 4
21 2 16 Bit Frozen Counter with flag 1 00, 01, 06. 129 00, 01
07, 08,
17, 28 17, 28
Note 4
21 9 32 Bit Frozen Counter without flag 1 00, 01, 06. 129 00, 01
07, 08,
17, 28
17, 28 Note 4
21 10 16 Bit Frozen Counter without flag 1 00, 01, 06. 129 00, 01
07, 08,
17, 28
17, 28 Note 4
30 3 32 Bit Analog Input without Flag 1, 22 00, 01, 06, 129 00, 01
07, 08,
17, 28 17, 28
Note 4
30 4 16 Bit Analog Input without Flag 1, 22 00, 01, 06, 129 00, 01
07, 08,
17, 28 17, 28
Note 4
32 | Schneider Electric
Controller DNP3 Implementation Table (cont.)
REQUEST RESPONSE
OBJECT
(slave must parse) (master must parse)
Obj Var Description Func Codes Qual Codes Func Qual Codes
(dec) (hex) Codes (hex)
34 1 16 bit Analog Input Dead band reporting 1 00, 01, 06, 129, 130 17, 28
Note 6 07, 08,
17, 28
2 00, 01,
07, 08,
17, 28
34 2 32 bit Analog Input Dead band reporting 1 00, 01, 06, 129, 130 17, 28
Note 6 07, 08,
17, 28
2 00, 01,
07, 08,
17, 28
40 0 Analog Output Status - Default 1 00, 01 06 N/A N/A
07, 08, 17, 28
40 1 32 Bit Analog Output Status 1 00, 01, 06, 129 00, 01
07, 08, 17, 28
17, 28 Note 4
41 1 32 Bit Analog Output Block 3, 4, 5, 6 00, 01, 07, 129 Echo of request
08, 17, 28
41 2 16 Bit Analog Output Block 3, 4, 5, 6 00, 01, 07, 129 Echo of request
08,
17, 28
50 0 Time and Date 1 00, 01, 06 129 00, 01
07, 08, 17, 28
17, 28, Note 4
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 33
Controller DNP3 Implementation Table (cont.)
REQUEST RESPONSE
OBJECT
(slave must parse) (master must parse)
Obj Var Description Func Codes Qual Codes Func Qual Codes
(dec) (hex) Codes (hex)
60 1 Class 0 Data 1 06 N/A N/A
20, 21
60 2 Class 1 Data 1 06, 07, 08 N/A N/A
20, 21 06
60 3 Class 2 Data 1 06, 07, 08 N/A N/A
20, 21 06
60 4 Class 3 Data 1 06, 07, 08 N/A N/A
20, 21 06
112 Virtual Terminal Output Block 2 00, 01, 07, N/A N/A
Note 5
08, 17, 28
Note: When a cold or warm restart command is received by the controller it will restart the DNP3 protocol handler
only. The controller itself does not restart.
It is recommended by the DNP3 User Group that master stations do not ask for a data link acknowledgement nor
an application confirm on restart commands (refer to “Cold/Warm Restart Sequence”, Technical Bulletin 9701-003)
The controller reports a time object of 500 milliseconds for both restart types. The master station should not initiate
any message sequences for this period. However, if the controller has unsolicited messages configured ON then it
will automatically establish communications on restart. This may be within the 500 milliseconds period.
34 | Schneider Electric
DNP3 Qualifiers
Binary Inputs.
Only the online and status bits are supported. This means that, depending upon the point’s status,
the reported flag will always be either 0x01 or 0x81 since the controller always regards
its points as online.
Binary Outputs
Only the on-line and status bits are supported. The online/offline condition of a point is determined
by underlying conditions defined in the individual IO point definition. Refer to the IO configuration
tool for more details.
Analog Inputs
Only the online and over-range bits are supported. Since the controller always regards its points as
online, the flag will always be reported as either 0x01 or 0x21.
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 35
DNP3 Control Operation
The success or failure of control operation is returned in the control response message.
The controller support for control success is shown below.
All binary output points have a matching binary input status point. The master station must always
use the corresponding binary status for the control to verify the success of the action.
Note:
1. The following data types are not used by the controller:
• File transfer objects
• Analog input floating point and analog output floating point objects
• Variable arrays objects
• 8 bit unsigned integer objects
• Virtual terminal objects.
2. The “Reset User Process”(1) function code should not be used. If the “Reset User Process”(1)
function code is used in the Control byte, then the response function code will be “Link Not
Used”(15).
36 | Schneider Electric
Notes
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 37
Notes
38 | Schneider Electric
Notes
DNP3 Protocol Technical Manual for the ADVC Controller Range (ADC01-DOC-146) | 39
Make the most of your energy SM