ADC01-DOC-146 - ADVC DNP3 Tech Manualv
ADC01-DOC-146 - ADVC DNP3 Tech Manualv
Technical Manual
For
ADVC Controller Range
Document Status
As Implemented
Subject to Change
Scope
80 Schneider Road
Queensland
Australia.
LIMITATIONS
This document is copyright and is provided solely for the use of the recipient. It is not to be copied in any
way, nor its contents divulged to any third party, nor to be used as the basis of a tender or specification
without the express written permission of Schneider Electric (Australia) Pty Limited.
This document discloses confidential intellectual property that belongs to Schneider Electric (Australia) Pty
Limited. This document does not invest any rights to Schneider Electric (Australia) Pty Limited intellectual
property in the recipient. Moreover the recipient is required not to disclose any of the intellectual property
contained in this document to any other party unless authorised in writing by Schneider Electric (Australia)
Pty Limited.
ADC01-DOC-146 R19 i
DNP3 Protocol Technical Manual
Source: common/ADVC/Technical_Manuals/ADC01-DOC-146.doc
Revision Control
R01 LM 01/03/04 Several changes including better wording, layout of Unsol and
Database pages
R07 RDM 20/02/06 Amend Unsolicited Response Retry Delay OCP field.
R11 NCD 08/07/09 Updated company name, address and phone numbers.
Contents
1. Introduction .......................................................................................................................................... 1
2. Overview ............................................................................................................................................... 1
3. Applicability .......................................................................................................................................... 4
4. Protocol Configuration.......................................................................................................................... 6
1. Introduction
This document describes the DNP3 implementation for 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.
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).
For example:
ADC01-DOC-146 R19 1
DNP3 Protocol Technical Manual
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 over-ridden 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.
The two styles of OI, setVUE and flexVUE provide access to the DNP3 configuration menus. For more
information on how to use the different operator interfaces refer to the Operation Manual.
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.
DNP3 MENU
MAIN MENU DNP COMMS
ENGINEERING MENU
↕
DNP COMM STATS
DNP UNSOLICITED
DNP3 MENU
DNP DIAGNOSTICS
For more information on operator control panel usage refer to the equipment manual.
3. Applicability
3.1. Control Cubicle Software
This manual applies to ADVC controllers with A41-03.xx and later software versions.
To determine the version of the firmware on the controller refer to the ADVC Controller Range Operations
Manual.
These documents are obtainable from the DNP3 users group, which can be contacted via
the web site http://www.dnp.org/.
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
Diagnostics
Data Configuration
All protocol configuration settings can be viewed, modified and stored on a personal computer with the
WSOS utility.
4.1. Communications
DNP COMMS
Port RS232-C
↕
RUNNING
Tx Count 0
↕
Rx Count 0
Rx CRC Err 0
Rx Length Err 0
Setting Description
Note 1 The communication port that the protocol handler is assigned to use.
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.
Range: INACTIVE/RUNNING
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
Setting Description
loaded map is corrupt then an “Invalid Map” message is shown. Reload the
required map if this is seen.
Note 2,3 The number of DNP3 datalink messages transmitted from this controller into the
DNP3 communication link.
Range: 0 to 32767
Note 2,3 The number of DNP3 datalink messages received by this controller from the DNP3
communication link.
Range: 0 to 32767
Note 2,3 The number of message packets received with a length error
Range: 0 to 32767
Note 2,3 The number of DNP3 datalink 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.
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.
DL Cf Rqd SOMETIMES
↕
DL Cf TO 4000ms
DL Max Retries 2
Apl Cf TO 108000ms
Select/Op 10000ms
DNP Address 5
Tx Delay 0ms
Setting Description
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 ALWAYS, the protocol handler will expect a data link acknowledgment message
from the master station to all data link frame transmissions.
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
Setting Description
retransmissions until DL Max Retries failures occur after which it informs the
application layer of the failure.
Range: 0 – 255.
Factory default is 2
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
with-in 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.
WSOS will offer this value to the user if entering a value outside these formulae.
Setting Description
Note 1 Defines the maximum size of the application layer fragment that can be sent at any
one time. Multiple application fragments will be created if the controller data to be
Note 2
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.
This setting is not configurable via WSOS if ‘DNP3 radio’ or ‘DNP3 Modem’
communications are used.
Range: 0 to 65519
Factory default is 5
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.
Setting Description
If this setting is set to 0 then the internal indication bit is never set and the master
station solely determines time synchronisation operation.
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
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).
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 from A43-03.00 onwards, V44 from A44-27.00 onwards
and future versions.
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
Setting Description
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.
When the controller is configured to transmit unsolicited response messages, it is recommended that only
the controller be configured to use of data link confirmations and retries. It is the controller’s responsibility
to ensure that data is successfully transmitted to the master station so it will attempt to retry sending a
message if it detects a failure. If the master station also performs integrity polls on the same
communications link then it should do so infrequently to limit collision problems.
Alternatively, if a master station polls the controller frequently and the controller’s unsolicited responses
are not enabled then it is recommended that the controller not be configured to use data link retries and
the data link confirmation mode be set to SOMETIMES. It is the master station’s responsibility to gather
data. If the master station detects a communication failure then it can choose to either move on and poll
the next device on a multi-drop communication link or perform a poll retry on the failed device. A
controller retry at this stage increases the probability of collisions.
For more information refer to the DNP3 User Group Technical Bulletin 9804-002 “DNP Confirmation and
Retry Guidelines.”
Events can be reported in three data classes. Typically the following priorities are applied:
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.
DNP UNSOLICITED
Unsolicited OFF
↕
Master Addr 3
Unsol REGENERATED
C1 Max Count 1
C1 Delay 1s
C2 Max Count 3
C2 Delay 5s
C3 Max Count 5
C3 Delay 10s
Setting Description
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.
When a class count is exceeded, or class notification delay timer expires, then
Setting Description
Note:
ON will mean that the controller DNP3 implementation is compliant with the
DNP3-1999+ specification.
Note 1 This is the DNP3 address to which the unsolicited responses are sent.
Range: 0 to 65519
Factory default is 3.
This limitation does not apply to an initial unsolicited ‘Null’ message. (A DNP3-
2000 requirement.)
Setting Description
are attempted.
Range: 0 to 255
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 ie
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.
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
Setting Description
Unsol Selects the Unsolicited Response retry type that is transmitted when an
(REGENERATED / unsolicited response is ‘Unconfirmed’ by the master station and a
retransmission is required by the out-station.
IDENTICAL)
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.
C2 -> Indicator of the class that applies to the rest of the data on the row.
C3 ->
Setting Description
Note 1 The total number of binary and analog events of this class that must occur or
be buffered before an unsolicited response message is triggered. Refer to “Cnt
Mode” setting below.
Note 1 The maximum time an event of this class will be held before an unsolicited
response message is triggered.
“Cnt Mode” is only effective when operator setting “Analog Event Buffer
Mode” is set to “One Event Per Point (Present-Value)”.
Range: OCCURRED,BUFFERED
Note
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.
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 an 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 retransmitted 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,
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.
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.: -
C1 -> DISABLED
↕
C1 -> Events 0
C1 -> Timer 0s
C2 -> DISABLED
C2 -> Events 0
C2 -> Timer 0s
C3 -> DISABLED
C3 -> Events 0
C3 -> Timer 0s
DL Timer 0s
DL Retry Count 0
Apl Cf Timer 0s
Select Timer 0s
Setting Description
C2-> Indicator of the class that applies to the rest of the data on the row.
C3->
ENABLED if:
DISABLED if
Range: 0 to DL Cf TO seconds
Number of times a datalink message has been sent. This count includes the
initial message.
The time in seconds since last unsolicited response message was transmitted.
Note
The accuracy of displayed timer values are subject to panel refresh time.
Determines whether or not a time tag is included with DNP3 binary change
of state events transmitted to a master station by the controller.
Determines whether or not a time tag is included with DNP3 analog change
of state events transmitted to a master station by the controller.
Setting Description
Determines the size of the controller DNP3 default analog objects. This size
is transmitted by the controller for all static and event data responses where
the master does not explicitly ask for data size.
A mandatory analogue input response with flag octet is sent, whether or not
any other flag other than ONLINE is set.
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.
Setting Description
Analog Evts Select the Analog event reporting mode for Analog class 1, 2 or 3 input
change events.
Note 1
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).
Note
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.
The rest of the default data objects used by the controller are:
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.
Binary Outputs – point selection, control type (Pulse, Latch, Trip/Close) and invert logic
For more information refer to the WSOS5 DNP3 Configuration Tool manual WSOS01-DOC-102.pdf
For a listing of all controller’s IO that can be mapped refer to the ADVC-PTCL-331.html points list
available in the help menu of the tool that is accessible via WSOS5.
ADC01-DOC-146 R19 Page 33
DNP3 Protocol Technical Manual
For a listing of the controller’s default IO map refer to the “DNP3 Standard ACR” map available with the
tool. A legacy “DNP3 Legacy 27-17 ACR” IO map is also available with the tool and can be loaded into the
controller to make its DNP3 IO behave like a PTCC V27-17 or newer.
Note:
The DNP3 Standard ACR map reflects points that are available with default settings in the controller. If a
feature is made available via configuration then the user is required to manually add any related points to
the IO list as required.
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”.
Layout if Transport Protocol is TCP Protocol and Unsolicited is OFF (Listening End Point).
Layout if Transport Protocol is TCP Protocol and Unsolicited is ON (Dual End Point).
Protocol TCP
↕
Check Master IP ON
IP 10.176. 18.156
Setting Description
IP Networking Mode
Note 1 This setting is used to improve the security of the DNP3 protocol.
Note 1 The station IP address. This is both used for authorizing, if Check Master IP is
ON, and for when unsolicited is turned on.
Note 1 The TCP port used by the controller to listen to DNP3 requests.
Range: 1 to 65534
Note 1 This is the TCP port where the controller will send all the responses.
This port shall be used by the master to listen and receive the incoming
requests from the controller.
Range: 1 to 65534
Note 1 The port number of the incoming message will be used as the destination port
number instead of the master port setting value.
Note 1 This is the UDP Port where the controller listens to broadcast requests.
Range: 1 to 65534
Note:
ADC01-DOC-146 R19 Page 38
DNP3 Protocol Technical Manual
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.
flexVUE DNP Network Stats pages displayed with an invalid connection attempt
DNP NETWORK STATS
Setting Description
This field displays the IP address of the last unauthorized 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.
This field displays the number of connection tries of the last unauthorized
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.
Range : 0 to 4294967296
Note
This feature is available on the ADVC controller range in version A45-19.00+ and WSOS 5.13.23+.
WSOS and a SCADA master both share a single communication link to the controller. The communication
link resolves collision by preventing access to the controller by the two entities at the same time. Point to
point communications is the recommended communication link format for using WSOS DNP VTO mode.
SCADA WSOS
Master
Station
ADVC
WSOS acts as a secondary master on the communication link. It has configurable online and offline timing
duty cycle parameters that limit its communication periods and thereby reduce the problems of it
consuming the communication link’s bandwidth at the user’s SCADA master station’s expense.
SCADA WSOS
Master (Secondary)
Station
(Primary)
DNP Communications
Whilst WSOS DNP VTO can share the same communication link as the master station the user shall be
aware of the Virtual Terminal Object mode usage considerations.
DNP3 Virtual Terminal Object communications should only be used on multidrop systems such as carrier
sensing radios where ‘normally silent’ communications are used ie systems that primarily use unsolicited
responses to send data from the controller to the master station.
When WSOS DNP VTO is in a multidrop arrangement care should be taken to ensure that it is only used
during periods of low master station communications activity. Heavy WSOS usage of the communication
link can result in low bandwidth for the master station and other any device on the communications link.
On a shared radio link WSOS DNP radio driver should be set up to have its maximum online and delay
period parameters such that the master can have a timeslot “window” to communicate with other devices.
Note 1
There is only one DNP driver in the controller. This means that whilst it can accept request messages from
two masters, it can only do so one at a time. If one master begins a long sequence of messages then the
other is locked out until the sequence is complete. On a shared 1200 baud radio link this can result in the
master station unable to communicate with the controller for many minutes. Note 2
Note
1. If the WSOS maximum online period expires during a DNP message sequence then the sequence will be
completed before WSOS becomes silent.
2. WSOS DNP does not operate as a true DNP SCADA master. It is merely a mechanism designed to allow
WSOS communications via a controller communication port that has been set up for DNP. It therefore
does not perform any DNP data polling nor send any DNP controls. It also does not accept any DNP
unsolicited responses from the controller.
The controller should be set up as it would to communicate with its SCADA master station. There are no
VTO specific settings in the controller. WSOS’s DNP3 radio/modem/serial communications settings should
be set match those in the controller. It should be noted that if the controller uses unsolicited responses
then care should be taken to ensure the controller’s DNP master address setting should not be set to the
address of WSOS. Also, it is recommended that the Application Layer Fragment size be set to 2048.
When ‘normal’ SOS messages are transmitted over DNP there is a large communications overhead and
hence poor response times.
To reduce the amount of data sent via the DNP protocol, multiple SOS messages are grouped together and
a compression algorithm is applied. This communication mode is identified as ‘long’ messages.
The type of communication message length, normal & long, is user selectable.
Refer to the WSOS help file for more information about setting up WSOS DNP3 radio, DNP3 modem and
DNP3 serial communications.
The DNP3 VTO settings are similar to the standard DNP3 settings. Refer to section 4.2.2 for a description of
the settings.
“Channel Timeout” is an extra parameter for VTO. A timer is started on a channel to wait for a response to
a request that has actually been transmitted. The value is in milliseconds (ms). This parameter is available
to ADVC2 and PTCC. Default value is 10000ms and range is [ 0 – 4294967296].
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.
The controller implementation complies with the DNP3 Subset Definitions document. Additional
implementation information is given in this section.
The DNP3 device profile defines the mapping of all data points used, in the standard format recommended
by the DNP3 users group.
This device profile is also available as an XML file generated by WSOS with ADVC Controller running Version
A44-11.00 or later. To get this file, open the DNP3 Point Configuration Window and click on Create in the
XML Profile box. It is then possible to save the file.
The following device profile summarizes the capability of the DNP3 functionality available on the controller.
In order to access to the complete device profile, it is necessary to use WSOS.
Brisbane, Australia
For Responses: 2
Conforms to DNP3 level 2 subset definition requirements with many additional level 3 features built
in. Refer to the shaded areas of Appendix C DNP3 Implementation Table, for additional level 3
features built in.
Maximum Data Link Frame Size (octets): Maximum Application Fragment Size (octets):
Configurable, 3 settings Never, Always, Sometimes (on multi frame fragments only)
Sometimes (only when reporting event data or when sending multifragment responses)
Need Time Delay: Configurable (on power up, an additional device start up delay applies. Refer to
appendix A).
SELECT/OPERATE: Always
Max number of controls that can operate Pulse Off: Always (Legacy support)
simultaneously: 1
Latch On: Always
Pattern control operations are not supported
Latch Off: Always
Trip/Close: Sometimes
Raise/Lower: Never
Queue: Never
WRITE Analog Outputs: Never
Clear Queue: Never
SELECT/OPERATE: Always
Configurable 1 .. 65535 ms
Reports Binary Input Change Events when no Reports time tagged Binary Input Change Events
specific variation requested: when no specific variation requested:
If V23 BUSY/DCD
Default Variation: 05
Obj Var Description Func Codes (dec) Qual Codes Func Qual Codes
(hex) Codes (hex)
17, 28 Note 4
17, 28 Note 4
Obj Var Description Func Codes (dec) Qual Codes Func Qual Codes
(hex) Codes (hex)
2 2 Binary Input Change with Time 1 06, 07, 08 129, 130 17, 28
17, 28 Note 4
20 1 32 Bit Binary Counter with flag 1, 7, 8, 9, 10 00, 01, 06, 129 00, 01
17, 28 Note 4
20 2 16 Bit Binary Counter with flag 1, 7, 8, 9, 10 00, 01, 06, 129 00, 01
17, 28 Note 4
17, 28 Note 4
17, 28 Note 4
Obj Var Description Func Codes (dec) Qual Codes Func Qual Codes
(hex) Codes (hex)
21 1 32 Bit Frozen Counter with flag 1 00, 01, 06, 129 00, 01
17, 28 Note 4
21 2 16 Bit Frozen Counter with flag 1 00, 01, 06. 129 00, 01
17, 28 Note 4
17, 28 Note 4
17, 28 Note 4
17, 28 Note 4
17, 28 Note 4
30 3 32 Bit Analog Input without Flag 1, 22 00, 01, 06, 129 00, 01
17, 28 Note 4
30 4 16 Bit Analog Input without Flag 1, 22 00, 01, 06, 129 00, 01
17, 28 Note 4
Obj Var Description Func Codes (dec) Qual Codes Func Qual Codes
(hex) Codes (hex)
34 1 16 bit Analog Input Deadband 1 00, 01, 06, 129, 130 17, 28
reporting
07, 08,
Note 6
17, 28
2 00, 01,
07, 08,
17, 28
34 2 32 bit Analog Input Deadband 1 00, 01, 06, 129, 130 17, 28
reporting
07, 08,
Note 6
17, 28
2 00, 01,
07, 08,
17, 28
Obj Var Description Func Codes (dec) Qual Codes Func Qual Codes
(hex) Codes (hex)
17, 28 Note 4
17, 28 Note 4
41 1 32 Bit Analog Output Block 3, 4, 5, 6 00, 01, 07, 08, 129 Echo of
17, 28 request
07 Note 4
(quantity = 1)
2 00, 01, 06
07
(quantity = 1)
Obj Var Description Func Codes (dec) Qual Codes Func Qual Codes
(hex) Codes (hex)
(quantity 1)
(quantity 1)
20, 21
20, 21 06
20, 21 06
20, 21 06
112 Strin Virtual Terminal Output 2 00, 01, 07, N/A N/A
g Block 08, 17, 28
Leng
Note 7
th
113 String Virtual Terminal Event Data 1 06, 07, 08 129 17, 28
Lengt Note 7
h
No Object 13 14 23 N/A N/A N/A
Note
1. All shaded areas are the additional level 3 or above function, objects, variations and/or qualifiers
supported by controller.
2. Bold italics response function codes represent controller default objects. These are the object variations
that the controller will issue as in its response to an event (class 1, 2, 3) poll, an integrity (class 1, 2, 3, 0)
poll, in a response to a variation 0 read request, or in an unsolicited response message. Where more than
one data object variation is highlighted then default object can be configured. Selection of default objects
is explained in section 4.5.2.
3. All Request and Response options marked N/A are Not Applicable.
4. For static (non-change-event) objects, qualifiers 17 or 28 are only responded when a request is
sent with qualifiers 17 or 28, respectively. Otherwise, static object requests sent with qualifiers 00,
01, 06, 07, or 08, will be responded with qualifiers 00 or 01. (For change-event objects, qualifiers
17 or 28 are always responded.)
5. A write with an analog input deadband value of zero will be rejected. The response will have the
‘setting in qualifier, range or data not valid or out of range’ internal indicator bit (IIN2-2) set.
6. A write with an analog input deadband value of zero will be rejected. The response will have the ‘setting in
qualifier, range or data not valid or out of range’ internal indicator bit (IIN2-2) set.
7. This object is used by WSOS DNP VTO and cannot be accessed by the DNP3 master.
Request Response
Function Description Function Description Function Description
Code Code Code
1 Read 9 Freeze and Clear 129 Response
2 Write 10 Freeze and Clear, No Ack 130 Unsolicited
3 Select 13 Cold Restart (Note 1) Response
Note
1. 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.
DNP3 Qualifiers
The success or failure of control operation is returned in the control response message. The controller
support for control success is shown below.
ADC01-DOC-146 R19 Page 58
DNP3 Protocol Technical Manual
Response
Controller Control Response Description
Status Value
0 Control request accepted
1 Control request denied. Select/Operate timed out. The time out setting is configurable.
2 Control request denied. Operate without select message OR operate/select application sequence
number mis-match.
3 Control request denied. Formatting error
4 Control request denied. Control operation not supported
Examples:
Trip control sent to a point that supports only Pulse or Latch operations. The supported
operations are indicated on a per point basis in the IO configuration tool.
The binary output (or analog output) point number is out of range.
The analog output value is out of range.
5 Control request denied. Already Active
6 Control request denied. Hardware Error.
7 Not Implemented.
8 Control request denied. Control rejected by controller because too many operations have been
requested.
9 Control request denied. Control rejected by controller because of an underlying condition
preventing the action. This includes local mode.
127 Control request denied. Control rejected by controller because of some other undefined reason.
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.
Notes:
Analog input floating point and analog output floating point 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).