Professional Documents
Culture Documents
Version : 7.00
Date : 98.12.21
Name:
Date:
Classification: Restricted
Release: Full
NOTICE OF COPYRIGHT & PROPRIETARY RIGHTS
1998, GE HARRIS Energy Control Systems Canada, Inc. All rights reserved.
The contents of this manual are the property of GE HARRIS Energy Control Systems
Canada, Inc. No part of this work may be reproduced or transmitted in any form or by
any means, except as permitted by written license agreement with GE HARRIS Energy
Control Systems Canada, Inc.
GE HARRIS Energy Control Systems Canada, Inc. has made every reasonable attempt to
ensure the completeness and accuracy of this document, however, the information
contained in this manual is subject to change without notice, and does not represent a
commitment on the part of GE HARRIS Energy Control Systems Canada, Inc.
Any attached hardware schematics and technical descriptions, or software listings that
disclose source code, are for information purposes only. Reproduction in whole or in
part to create working hardware or software for other than GE HARRIS Energy Control
Systems Canada, Inc. products is strictly prohibited, except as permitted by written
license agreement with GE HARRIS Energy Control Systems Canada, Inc.
TRADEMARK NOTICES
2.01 94.11.15 GG 2.0, 2.2, 2.15, 2.17, 3.1.4, 4.1, 5.2 Added notes
about COS and SOE being sent when binary inputs
are Appendix B requested. Added storage objects.
Clarified discussions of IIN objects, READ function
code, and Silent Master mode. Extension now
.WES.
98.07.28 RJK Added SOE sorting, full analog 32 bit support, and
configuration download.
Integrated document B021-3FS with B021-0FS.
OVERVIEW xv
This document specifies the operation of the Distributed Network Protocol (DNP) Data
Processing Application (DPA). This software application runs on GE HARRIS D25, D20,
D200, and CPM hardware.
This document is for use by Programmers, Engineers and Quality Assurance personnel
who will review and use the DNP DPA. This document assumes that the reader is
reasonably familiar with the GE HARRIS software environment and the DNP V3.00
Protocol.
More detail on topics related to the application discussed in this document may be found
in the following sources:
! DNP V3.00 Application Layer Protocol Description (P009-0PD.APP)
! DNP V3.00 Data Object Library (P009-0BL)
! DNP V3.00 Data Link Layer Protocol Description (P009-0PD.DL)
! Introduction to the GE HARRIS D20 (GEN-0003)
There are a number of formatting conventions used in this specification to make it easier
to read and understand. They are as follows:
! New or special terms are highlighted in bold text.
! Chapter references are highlighted in bold text, with the chapter title in CAPITAL
LETTERS (for example, Chapter 2: SPECIAL REQUIREMENTS). Table
names are also bold (e.g. AXXX_CFG).
! References to main section titles are highlighted using italics, as are book and
document titles, and words used with special emphasis.
! Lists of procedural instructions are numbered in the order they should be performed.
Other lists of information are bulleted, like this list is.
! Specific keyboard keys are indicated in BOLD CAPITAL LETTERS like this:
<ENTER>, <ALT>, <BACK SPACE>.
! Words or instructions to be typed into your computer are indicated exactly as they
should be typed, in bold italics. (For example, type in the command diskcopy a: b:
and then press the <ENTER> key.)
! Specific function and field names are in CAPITAL LETTERS, but not bold.
(e.g. TRIP function, GROUP ADDRESS field).
The purpose of the Distributed Network Protocol (DNP) Data Processing Application
(DPA) is to allow a remote master station to retrieve and/or modify the information in the
database of GE HARRIS devices using the DNP V3.00 Application Layer Protocol. It
uses WIN to access the devices database.
The DNP DPA functionality includes the following:
! Responding to master requests.
! Automatically transmitting event data to the master when configured to do so
(unsolicited responses).
! Sending commands to WIN.
! Processing data events from WIN.
! Supporting binary inputs, binary outputs, counters (absolute and delta), frozen
counters, 16-bit analog inputs 16-bit analog outputs, 32-bit analog inputs, and 32-bit
analog output objects. The DNP DPA can report time-tagged (TT) analog inputs.
! Supporting Change-of-State (COS) or Sequence-of-Event (SOE) event objects on
binary inputs. All Sequence-of-Event objects are stored in order sorted
chronologically.
! Performing counter input processing and generating counter event objects.
! Performing analog deadband processing and generating analog event objects.
! Performing analog input and analog output scaling.
! Assigning event objects to a class of data (on a per point basis).
! Assigning online/offline status changes to a class of data.
Figure 1 illustrates the applications and interfaces for DNP. The DNP software in the
GE HARRIS device is layered to be consistent with the International Electrotechnical
Commission (IEC) Enhanced Protocol Architecture (EPA). The EPA consists of a
Physical, Data Link and Application Layer. The DNP DPA implements the Application
Layer.
More than one data link application can interface to BridgeMAN and more than one DPA
can interface to BridgeMAN. Figure 2 illustrates an example where several instances of
the DNP DPA interface to BridgeMAN. Each DPA requires a unique address and runs
independent of any other DPA. The BridgeMAN routes messages between one or more
data links to the DPAs. This functionality allows DNP DPAs to be redundantly ported (a
DPA may be accessed via more than one data link i.e. communication channel) and
multi-ported (more than one DNP master station can access the same data via multiple
DNP DPAs simultaneously and independently).
BridgeMAN
This chapter discusses the various data objects supported by this implementation of the
DNP DPA. It explains how the DNP DPA interprets objects and how data and commands
are converted from GE HARRIS device internal format to the DNP object format.
Reference should be made to the DNP V3.00 Data Object Library for detailed
descriptions of the objects.
A data object is an information element. It often contains data from the database of the
GE HARRIS device. Most data objects are read by the DNP master station while some
are written by the master station. For example, the 16-Bit Analog Input object is an object
read by the master station and the Control Relay Output Block object is an object written
to by the master station.
Each instance of the DNP DPA supports up to 65,536 (64K) points per data type. A DNP
DPA can reference system point numbers greater than 65,536.
The following data objects are supported by the DNP DPA. Refer to the DNP V3.00 Data
Object Library (P009-0BL) document for more information about the structure of the
objects.
Data Objects completely supported are:
! Binary Input with Status
! Single Bit Binary Input
! Binary Input Change without Time
! Binary Input Change with Time
! Binary Input Change with Relative Time
! Binary Output Status
! Control Relay Output Block
! Pattern Control Block
! Pattern Mask
! 32-Bit Binary Counter
! 16-Bit Binary Counter
! 32-Bit Binary Delta Counter
! 16-Bit Binary Delta Counter
! 32-Bit Binary Counter without Flag
! 16-Bit Binary Counter without Flag
! 32-Bit Delta Counter without Flag
! 16-Bit Delta Counter without Flag
! 32-Bit Frozen Counter
! 16-Bit Frozen Counter
! 32-Bit Frozen Counter without Flag
! 16-Bit Frozen Counter without Flag
! 32-Bit Counter Change Event without Time
! 16-Bit Counter Change Event without Time
! 16-Bit Counter Change Event with Time
! 32-Bit Delta Counter Change Event without Time
! 16-Bit Delta Counter Change Event without Time
! 16-Bit Analog Input
! 16-Bit Analog Input without Flag
! 16-Bit Analog Change Event without Time
! 16-Bit Analog Change Event with Time
! 16-Bit Analog Output Status
! 16-Bit Analog Output Block
! 32-Bit Analog Input
! 32-Bit Analog Input without Flag
The DNP protocol supports a data priority scheme where different Data Objects can be
assigned to different data Classes. The DNP DPA supports 4 Classes of data objects
(Class 0, 1, 2 and 3). Many data objects have an attribute enabling them to be assigned to
a particular class. The DNP master may poll for data from different Classes with different
frequencies. The 4 classes are therefore used to prioritize data.
A poll for Class 0 data always accesses non-event data. By definition, non-event data is
data which is always available for reading from the DNP DPA. For example, the current
value of an analog input is non-event data (e.g. 16-Bit Analog Input object). Conversely, a
time tagged digital input change (e.g. Binary Input Change with Time object) is event
data. By definition, event data is only available for reading after changes in the system
have caused change objects to be generated.
Class 1, 2 and 3 data is reserved for event data.
The configuration supports assigning online/offline status changes to class 1, 2 or 3 (i.e.
event data), or disabling online/offline change reporting altogether. However, because the
DNP protocol does not define an event object for online/offline status changes, the
information is reported using the corresponding static data objects.
The DNP DPA can operate in a mode where Unsolicited Responses are sent from the
DNP DPA to the DNP master. When the DNP DPA is in this Unsolicited Response
mode, it automatically transmits event data to the master station as it occurs. In this mode
the master station does not need to poll for this data. The event data is transmitted
whenever a specific number of events are collected or the events have been held for a
specific time.
Upon GE HARRIS device startup, the DNP DPA is configured in its Non-Volatile
Random Access Memory (NVRAM) configuration file to enable or disable Unsolicited
Responses for each of Class 1, 2 and 3 data. Afterwards the DNP master station may
enable and disable Unsolicited Responses via commands to the DNP DPA. A system
constraint is that Unsolicited Responses are enabled or disabled for an entire Class of
data. Enabling and disabling Unsolicited Responses for sub-sets of a data Class is not
allowed.
The binary input data objects supported by the DNP DPA are:
! Binary Input with Status (Obj.1 Var.2)
! Single Bit Binary Input (Obj.1 Var.1)
! Binary Input Change without Time (Obj.2 Var.1)
! Binary Input Change with Time (Obj.2 Var.2)
! Binary Input Change with Relative Time (Obj.2 Var.3)
These objects report data stored in the Digital Input database in the GE HARRIS device.
The objects Binary Input with Status and Single Bit Binary Input are reported to the
master station in response to a DNP READ request. These objects are used for dumping
data about the state of digital inputs in the GE HARRIS device. These objects are always
Class 0 data. The DNP master station can request these objects:
! Directly (by reading the Object and Variation directly)
! By a read of Class 0 data
! By a read of Object 1 Variation 0
Changes in the WIN digital input points may generate events. These events are saved as
Binary Input Change Objects in the GE HARRIS device. These objects are reported:
! In response to a READ request of the Object and Variation. If no events are available,
the DNP DPA response contains the two byte Internal Indication object. No other
object data is returned in the response.
! In response to a READ request of the appropriate Class data.
! Automatically to the master station if Unsolicited Responses are enabled for the
points.
The following NON FROZEN Binary Counter Objects are supported by the DNP DPA:
! 32-Bit Binary Counter (Obj.20 Var.1)
! 16-Bit Binary Counter (Obj.20 Var.2)
! 32-Bit Delta Counter (Obj.20 Var.3)
! 16-Bit Delta Counter (Obj.20 Var.4)
! 32-Bit Binary Counter without Flag (Obj.20 Var.5)
! 16-Bit Binary Counter without Flag (Obj.20 Var.6)
! 32-Bit Delta Counter without Flag (Obj.20 Var.7)
! 16-Bit Delta Counter without Flag (Obj.20 Var.8)
! 32-Bit Counter Change Event without Time (Obj.22 Var.1)
! 16-Bit Counter Change Event without Time (Obj.22 Var.2)
! 32-Bit Delta Counter Change Event without Time (Obj.22 Var.3)
! 16-Bit Delta Counter Change Event without Time (Obj.22 Var.4)
The 32- and 16-bit counters are functionally identical and only distinguished by the size
of the counter. The Delta Counter variations report the counts accumulated since the last
time the counter was reported to the master station. All other variation report the actual
value of the counter.
The Object 20 counters can be reported in 16- or 32-bit, absolute or delta format. These
objects contain STATIC data they are always read as Class 0 data. The DNP master
station can request these objects:
! Directly (by reading the Object and Variation directly)
! By a read of Class 0 data
! By a read of Object 20 Variation 0
The Object 22 counters report counter events. As with Object 20 counters, they can be
reported in 16- or 32-bit, absolute or delta format. These objects contain EVENT data -
they are read as Class 1, 2 and/or 3 data. These events are generated by the DNP DPA
when a counter exceeds its previously reported value by a certain amount (i.e. threshold).
These objects are sent to the DNP master station:
! In response to a READ request of the Object and Variation. If no events are available,
the DNP DPA response contains the two byte Internal Indication object. No other
object data is returned in the response.
! In response to a READ request of either Class 1, 2 or 3 data.
! Automatically if Unsolicited Responses are enabled for the points.
A response with Object 20 Variation 1 Range 2 contains the first of the 32-Bit Binary
Counter objects, namely the counter associated with RTU system Point 12.
A response with Object 20 Variation 2 Range 1 contains the second of the 16-Bit Binary
Counter objects, namely the counter associated with RTU system point 11.
The following FROZEN Binary Counter Objects are supported by the DNP DPA:
! 32-Bit Frozen Counter (Obj.21 Var.1)
! 16-Bit Frozen Counter (Obj.21 Var.2)
! 32-Bit Frozen Counter Without Flag (Obj.21 Var.9)
! 16-Bit Frozen Counter Without Flag (Obj.21 Var.10)
Frozen Counters are processed completely independently of the non-frozen (running)
counters. Frozen and running counters are different data categories and are not related
according to the DNP implementation.
The functionality of frozen counters and running counters are identical. The configuration
table format for frozen counters is the same as running counters. There is a separate
configuration table for frozen counters.
The following analog input data objects are supported by the DNP DPA:
! 16-Bit Analog Input (Obj.30 Var.2)
! 16-Bit Analog Input Without Flag (Obj.30 Var.4)
! 16-Bit Analog Input Change Event Without Time (Obj.32 Var.2)
! 16-Bit Analog Input Change Event With Time (Obj.32 Var.4)
! 32-Bit Analog Input (Obj.30 Var.1)
! 32-Bit Analog Input Without Flag (Obj.30 Var.3)
! 32-Bit Analog Input Change Event Without Time (Obj.32 Var.1)
! 32-Bit Analog Input Change Event With Time (Obj.32 Var.3)
At present the internal WIN database only supports 16-bit analog values. When a 32-bit
value is sent to the DNP master station, the 32-bit value is assembled from two 16-bit
words stored in the WIN database. The 32-bit value is represented internally in the WIN
database with the most significant 16-bit word stored first followed immediately by the
least significant 16-bit word. The DNP DPA sends 32-bit values with the most significant
16-bit word first followed by the least significant 16-bit word.
The 16-Bit Analog Input and 32-Bit Analog Input objects are always Class 0 data. The
DNP master station can request these objects:
! Directly (by reading the Object and Variation directly).
! By reading Class 0 data.
! By reading Object 30 Variation 0 data.
The 16-Bit Analog Input Change Event Without Time and 32-Bit Analog Input Change
Event Without Time objects are used for reporting analog events when an analog point
exceeds a configured DEADBAND (See Section 4.1). These objects are reported:
! In response to a READ request of the Object and Variation.
! In response to a READ request of either Class 1, 2 or 3 data.
! Automatically to the master station if Unsolicited Responses are enabled for the
points.
A response with Object 30 Variation 1 Index 2 contains the first of the 32-Bit Analog
Input objects, namely the analog associated with RTU system point 19.
A response with Object 30 Variation 2 Index 1 contains the second of the 16-Bit Analog
Input objects, namely the analog associated with RTU system point 23.
If the DNP master reads Class 0 or Object 30 Variation 0 data, each analog is transmitted
as either (but not both) a 16- or 32-bit analog input (the default size is specified by the
configuration). The Analog Input Event objects are not transmitted. Regardless of the
variation specified (Class 0, variation 0, with flag, or without flag), if an analog input is
online (i.e. the analog input point flag equals 1) the DPA returns the analog input
variation corresponding to the one requested by the master which does not include the
flag (e.g. Object 30, variations 3-4). If the flag does not equal one, the DPA transmits the
analog input using the corresponding variation which includes the flag. The DPA may be
configured to not report any analog inputs or other STATIC objects which are
simultaneously in the off-line and remote forced state.
Spare points are created by setting element Point Number to -1.
Setting Deadband = -1 disables deadband processing, i.e. the point never generates
Analog Input Event Without Time objects. Refer to Section 4.1 Analog Input Deadbands
for a detailed discussion of analog deadband processing.
Analog input events can be configured to report as time tagged or non-time tagged events.
If time tagged events are to be reported, the time object reported can be selected to
include the current time or the time of the first event. Refer to Section 4.11 Analog Input
Time Tag for a detailed discussion of how time-tagged analogs are reported.
The DNP DPA will scale analog input values before transmitting them to the DNP master
station. Refer to Section 4.9 Analog Input Scaling for a detailed discussion of analog
input scaling processing.
The following Analog Output Data objects are supported by the DNP DPA:
! 16-Bit Analog Output Status (Obj. 40 Var. 2)
! 16-Bit Analog Output Block (Obj. 41 Var. 2)
! 32-Bit Analog Output Status (Obj.40 Var.1)
! 32-Bit Analog Output Block (Obj.41 Var.1)
The DNP master uses the SELECT and OPERATE or DIRECT OPERATE requests,
containing the 16-Bit Analog Output Block object, to the DNP DPA in order to set the
value of an analog output. The master can read the actual value of the analog output by
reading the 16-Bit Analog Output Status object:
! Directly (by reading the Object and Variation directly).
! Via a read of Class 0 data.
! Via a read of Object 10 Variation 0.
L NOTE: The DPA may be configured to not report any analog output status or
other STATIC objects which are simultaneously in the off-line and
remote forced state.
At present the internal WIN database only supports 16-bit analog values. When a 32-bit
status is requested by the DNP master station, the DPA assembles the 32-bit value from
two 16-bit words stored consecutively in the WIN database. The 32-bit value is
represented internally in the WIN database with the most significant 16-bit word stored
first followed immediately by the least significant 16-bit word. The DNP DPA sends 32-
bit values with the most significant 16-bit word first followed by the least significant 16-
bit word.
The Analog Output Status objects are always Class 0 objects.
The following data objects are supported by the DNP DPA in the GE HARRIS device:
! Control Relay Output Block (Obj. 12, Var. 1)
! Pattern Control Block (Obj. 12, Var. 2)
! Pattern Mask (Obj. 12, Var. 3)
! Binary Output Status (Obj. 10, Var. 2)
The master can read the current value of the binary output by reading the Binary Output
Status object:
! Directly (by reading the Object and Variation directly).
! Via a read of Class 0 data.
! Via a read of Object 10 Variation 0.
L NOTE: The DPA may be configured to not report any binary output status or
other STATIC objects which are simultaneously in the off-line and
remote forced state.
If the DNP master sends the Control Relay Output Block to Range 0, the control will go
to RTU System point 12. Sending the block to range 2 will cause a control to be sent to
RTU System point 18 and any currently executing control for RTU system point 19 is
reset. Sending the block to range 3 will cause a control to be sent to RTU system point 19
and any currently executing control for RTU system point 18 is reset. For this
configuration RTU system points 18 and 19 are a Raise/Lower pair.
L NOTE: Because this feature contradicts the rule that static data objects must be
in Class 0 only, some master stations may require this feature to be
turned off.
The Time and Date object is written to the DNP DPA in order to set the time in the GE
HARRIS device. The DNP master station can also READ this object directly. It is not
implemented as Class data (i.e. cannot be read by issuing a Class Data request).
The Time and Date Common Time of Occurrence object represents the absolute time of
day. This object will be sent to the DNP master station before a group of Binary Input
Change with Relative Time objects, given that the GE HARRIS device is currently time
synchronized and was synchronized when the events occurred. The DNP DPA does not
use this object for any other purpose. Refer to Section 4.2 Digital Input Events for more
details.
The Unsynchronized Common Time and Date object represents the absolute time of day.
This object will be sent to the DNP master station before a group of Binary Input Change
with Relative Time objects, given that the GE HARRIS device is currently not time
synchronized or was not synchronized when the events occurred. The DNP DPA does not
use this object for any other purpose.
The Time Delay Fine object is returned by the DNP DPA to the master station in
responses to a number of requests. Its main use is in time synchronization. Refer to
section the document "DNP V3.00 Application Layer Protocol Description (P009-
0PD.APP)" for details.
The four Class Data Objects are Class 0, 1, 2, and 3 Data Objects. These objects are sent
in the READ request commands from the DNP master station. They instruct the DNP
DPA to respond with all data of the specified class.
Each Internal Indications object is 1 bit in size by definition. The DNP DPA supports up
to 48 bits of Internal Indications. The first 16 bits are defined in the DNP protocol to
communicate specific information to the DNP master station. These first 16 bits of IIN
follow the function code in all responses. When a request cannot be processed due to
formatting errors or the requested data is not available, the IIN is always returned with the
appropriate bits set.
Bits 16 to 47 of the Internal Indication objects are available to communicate special
system and GE HARRIS device specific information to the DNP master station. These
are OPTIONAL bits which may be used to customize a system. If any of these extra IIN
objects are enabled, they are not returned as part of the header of responses. The master
station may read these objects by making a READ request for Class 0 data or for the IIN
objects specifically.
The first 16 IIN objects are defined in the document "DNP V3.00 Application Layer
Protocol Description (P009-0PD.APP)".
The 17th to 48th Internal Indications objects are used to communicate special
information about the GE HARRIS device and its applications to the DNP master station.
Any number of bits (i.e. objects) in these four bytes of IIN objects, from 1 to 32 bits, can
be used. The assignment of the bits used is specified in the GE HARRIS device's
NVRAM configuration.
The NVRAM configuration for the DNP DPA enables the setting/resetting of individual
bits as the result of the following conditions:
! Digital Inputs in the GE HARRIS device being set and reset.
This feature may be used to report "software" or "pseudo" digital inputs which flag
some condition in the GE HARRIS device. Pseudo digital inputs are owned by DCAs
in the GE HARRIS device. The use and interpretation of each "pseudo" digital input
is completely specific to the DCA owning it.
As an example, a particular DCA may set a GE HARRIS device digital input (pseudo)
when it detects a buffer overflow at a remote device. Another DCA may use another
pseudo digital input to indicate a remote device restart. These pseudo digital inputs
may be configured in the DNP DPA to set/reset bits in the third to sixth bytes of the
Internal Indications object. When this object is sent to the DNP master station, the
master station can process bits to realize specific conditions have occurred in the GE
HARRIS device or devices connected downstream of the GE HARRIS device. The
master station may write to a bit in order to toggle its state.
The File Identifier Object represents and/or contains information about a file in a
Network File System. This object is intended to be used for transferring large blocks of
data that do not follow the format of an existing data object. In particular, this object is
suitable for uploading and downloading configuration files to remote devices or data
concentrators.
The DNP DPA partially supports the File Identifier Object and its related functionality.
The DNP DPA allows configurations to be passed between a DNP master and a DNP
device either directly, or via one or more intermediate DNP devices.
The software application residing in the data concentrator that communicates with the
master station via DNP is referred to as an Outstation Application. This software is an
outstation with respect to the master. Similarly, the software application residing in the
data concentrator that communicates to an outstation is referred to as a Master
Application. This software is a master with respect to the outstation.
In the context of GE HARRIS devices, the DNP DPA is an Outstation Application, and
the DNP DCA is a Master Application.
Following are protocol descriptions of how the File Identifier Object is used by a master
and one or more data concentrators to perform file upload and file download, and
descriptions of specific processing requirements internal to GE HARRIS DNP devices.
Application Confirm
Application Message Header
Application
Control Funciton
Internal
FIR = 1 Code =
Indication
FIN = 1 CONFIRM
CFM = 0
Application Confirm
Application Message Header
Application
Control Funciton
Internal
FIR = 1 Code =
Indication
FIN = 1 CONFIRM
CFM = 0
START_RECORD 0 based index of first file Will be 0 for the first File Identifier Object sent in file
record in remote file to download.
begin writing to.
FILE_FUNCTION 3 = WRITE WRITE is required for first File Identifier Object sent
in file download. Thereafter, either WRITE File
Identifier Objects or APPEND File Identifier Objects
may be sent.
STATUS 0 = OK The last File Identifier Object should set its STATUS
5 = EOF, End of File to EOF instead of OK, and all others should set their
STATUS to OK.
FILE_NAME /volume1:/devicename1 Means forward the WRITE file record(s) to the local
/volume2:/devicename2 file storage volume named volume1'. The local
/volume3:/directory1 volume in turn will forward the WRITE file record(s)
/directory2/filename to a remote device named devicename1'. The local
volume in turn forwards the file record(s) to a remote
device named devicename2', which then writes the file
record(s) to its local volume named volume3'.
Specifying the volume names are optional: volume1'
and volume2' default to DNP:, and volume3'
defaults to DBMR:. Specifying directory names are
optional.
STATUS 0 = OK The last File Identifier Object should set its STATUS
5 = EOF, End of File to EOF instead of OK (or optionally OK if the FIN bit
is being used by the DNP DPA to detect the end of
the file transfer). All other FIOs should have their
STATUS set to OK.
L NOTE: The DNP master station must have detailed routing information in
order to construct the FILE_NAME field.
Figure 1-3 is a simple illustration of how the first File Identifier Object is passed
through the system from a master station to an end device via two intermediate DNP
devices.
FILE_NAME = /deviceB/config1
FILE_NAME = /config1
deviceB:
End DNP device
DNP DPA has Address 8
FILE_SIZE Memory address to store file Used only when downloading configuration from
record on destination DNP a master station directly to a data concentrators
device. operating system. In this case, the FILE_NAME
field will equal VOLUMEx.
FILE_FUNCTION 3 = WRITE
STATUS 0 = OK
RECORD_SIZE 0
DATA N/A
Application Confirm
Application Message Header
Application
Control Funciton
Internal
FIR = 1 Code =
Indication
FIN = 1 CONFIRM
CFM = 0
Application Confirm
Application Message Header
Application
Control Funciton
Internal
FIR = 1 Code =
Indication
FIN = 1 CONFIRM
CFM = 0
Application Confirm
Application Message Header
Application
Control Funciton
Internal
FIR = 1 Code =
Indication
FIN = 1 CONFIRM
CFM = 0
FILE_FUNCTION 9 = READ
STATUS 0 = OK
FILE_NAME /volume1:/devicename1 Means forward the READ request to the local file
/volume2:/devicename2 storage volume named volume1'. The local volume in
/volume3:/directory1 turn will forward the READ request to a remote device
/directory2/filename named devicename1'. The local volume in turn forwards
the read request to a remote device named
devicename2', which then reads the requested file
record(s) from its local volume named volume3'.
Specifying the volume names are optional: volume1'
and volume2' default to DNP:, and volume3' defaults
to DBMR:. Specifying directory names are optional.
/volume1:/directory1 Means READ the file record(s) from the local file
/directory2/filename storage volume named volume1'. The local volume will
in turn read the file record(s) from the file identified by
filename. Specifying the volume1:' name is optional,
and defaults to DBMR:. Specifying directory names are
optional.
RECORD_SIZE 0
DATA N/A
STATUS 0= OK, success. For a successful file upload, STATUS must be OK,
1= File name does not exist. except for the File Identifier Object containing the
2= Unable to store file. last record of the file upload which should set its
3= Invalid or disallowed STATUS to EOF (or optionally OK if the FIN bit is
FILE_FUNCTION. being used to detect the end of the file transfer).
4 = Device offline, or device
busy.
5 = EOF, End of file.
The protocol communication expects a single File Identifier Object in response, and does
not use the EOF status to indicate end of file. Rather, on success, the STATUS is always
set to OK.
START_RECORD 0
FILE_FUNCTION 9 = READ
STATUS 0 = OK
/filename Means read the file record from a local file named
filename.
RECORD_SIZE 0
DATA N/A
The DNP DPA allows a master station to read two Storage Objects indicating the amount
of memory currently used by the DNP DPA to store Binary Input Change objects.
The Master must send a request using the READ function code and containing the
following object header:
81 Either 1 or 0 6
Storage Objects Permitted No Range Field
(request all objects)
If the Master uses any qualifier other than 6, the DNP DPA does not respond with Storage
Objects, but sets the OUT OF RANGE Internal Indication in its response (Bit 2 of the
second octet).
L NOTE: The DNP DPA does not return the Storage Objects in response to a
poll for Class Data (Group 60, Variations 1 to 4). It only does so in
response to a specific request for Storage Objects, as described above.
Group Var. Qualifier Range Status Group Var. Status Group Var.
81 1 7 2 % Full, 2 1 % Full, 2 2
Storage Range is an Two Overflow Binary Change Overflow Binary Change
Objects 8-Bit objects Bit Input Without Bit Input With
Quantity follow Change Time Change Time
(COS) (SOE)
One object describes the amount of memory currently used for storing Binary Input
Change with Time events, also known as Sequence of Events (SOE) indications. The
other object describes the amount of memory currently used for storing Binary Input
Change Without Time events, also known as Change of State (COS) indications.
L NOTE: The DNP DPA returns both storage objects even if no memory was
configured for either type of event. If no memory was configured, the
PERCENTAGE field of the appropriate storage object is returned as 0
and the OVERFLOW bit is clear (0).
When running on the CCU Base System, the DNP DPA supports returning a custom time
adjustment object as analog input points 65534 and 65535. The points do not contain an
absolute time, but the time adjustment which occurred when the WESDAC device last
received a time synchronization. Both are signed values and are calculated by subtracting
the old time from the new time. Both points contain signed values and are returned in the
following format:
! Date (Analog Input point 65535) Bit 31 - 16: year, A.D.
Bit 15 - 8: month (1-12).
Bit 7 - 0: day (1-31).
! Time (Analog Input point 65534) Bit 31 - 0: millisecond ticks.
These objects are never included in response to a class 0 data poll, or in response to a read
request for all analog inputs. They can always be read by a master request for points
65534 and 65535 of the 32-Bit Analog Input Without Flag object (Object 30, Variation
3). In addition, the objects can be assigned to class 1, 2 or 3 in the configuration.
Then, whenever the WESDAC device is time synchronized, the objects become an event
available to be read in a class data poll, or included in an unsolicited response. The DPA
reports the event using the 32-Bit Analog Input Without Flag object.
The above described functionality and configuration imposes some restrictions on the
system. These restrictions simplify the software and make configuration easier. The
inherent restrictions are:
! The objects and variations always start at RANGE equals 0. In order to start at a non
zero range, configuration tables needs to be padded with SPARE records (i.e. records
where the System Point number is set to -1). This is wasteful of NVRAM. Wasting
NVRAM in this way is not advised as it reduces the NVRAM available for buffering
DNP change events and usage by other applications installed in the GE HARRIS
device.
! Unsolicited Responses can be enabled on a class basis - not a point basis.
! Class 0 is reserved for non-event or non-change data. Event data cannot be returned as
Class 0 data. Non-event data cannot be returned as anything other than Class 0 data.
! Multi-fragment requests are not supported.
! The analog input and counter input events are not buffered. When these events are
read, they report the current value of the data point.
This chapter discusses the limitations and assumptions of the DNP V3.00 protocol
implementation for the DNP DPA. A detailed discussion of the protocol transactions is
not included in this document. Refer to the DNP V3.00 Application Layer Protocol
Description for more information. The DNP DPA follows the implementation described
in the protocol description document except for the limitations discussed in this chapter.
In the case of contention between these documents, the DNP DPA functions as specified
in this document.
L NOTE: The CON bit is always set in responses from the DNP DPA that
contain data event objects. That is, the DNP DPA expects a
CONFIRMation response from the DNP master station for any DPA
READ response or Unsolicited Response containing event objects. The
only exception to this rule is explained in Chapter 3: SILENT
MASTER MODE. The DNP DPA can be configured to perform
retries if it times out waiting for the CONFIRMation response (refer to
Section 2.2 Communication Flow Control and Reliability).
L NOTE: Although the DPA accepts a request to freeze frozen counter objects,
the recommended procedure is to issue a request to freeze counter
objects.
The frozen counters are available for reading via the 32-Bit Frozen Binary Counter, 32-
Bit Frozen Binary Counter without Flag, 16-Bit Frozen Binary Counter, and 16-Bit
Frozen Binary Counter without Flag objects.
The DNP DPA response to a IMMEDIATE FREEZE request uses the RESPONSE
Function Code.
The IMMEDIATE FREEZE - NO ACKNOWLEDGEMENT request is identical in
format and function to the IMMEDIATE FREEZE request. The DNP DPA does not
respond to this request.
L NOTE: FREEZE requests cannot be routed through the DNP DPA to a DCA to
pass to a downstream device. FREEZE requests are local to the GE
HARRIS device only.
The flow of requests and responses between the DNP master station and the DNP DPA is
specified in the document "DNP V3.00 Application Layer Protocol Description (P009-
0PD.APP)".
The DNP DPA supports message retries at the application layer. A configurable
parameter allows the user to set the maximum number of times the DPA attempts to send
a message. The DPA performs retries when:
! A requested CONFIRMation Response is not received before a timeout interval
expires.
! The data link returns a transmit status failure indicating the message could not be
successfully sent.
These cases apply to both solicited and unsolicited responses.
The DNP DPA also has a configurable parameter for determining whether or not it
requests the data link to transmit messages using the data link confirm service.
When the DNP DPA configuration parameter called SILENT MASTER is set to
ENABLED, Unsolicited Responses are automatically enabled for all Class 1, 2 and 3
Data and the DNP DPA will not expect CONFIRMation Responses from the DNP master
station for anything it sends to it.
When the configuration parameter AUTO DATA DUMP is also ENABLED, the DNP
DPA will additionally perform the following actions:
! Upon RTU startup and when the RTU database is initialized, it will automatically
transmit data objects to the DNP Master as part of an Unsolicited Response. These
objects will initialize the DNP master station's database. Typically, objects such as the
Single-Bit Binary Input (if the point flag equals 1) or Binary Input with Status (if the
point flag does not equal 1) and 16-Bit Analog Input Without Flag (if the point flag
equals 1) or 16-Bit Analog Input (if the point flag does not equal 1) objects are
transmitted. The DPA may be configured to not report static objects which are
simultaneously in the off-line and remote forced state.
! When Binary Input event objects (e.g. Binary Input Change without Time objects) are
sent in an Unsolicited Response to the DNP master station, a Single-Bit Binary Input
or Binary Input with Status object is included in the Unsolicited Response for each
binary input point mapped to the DNP DPA.
! When Analog Input event objects (e.g. 16-Bit Analog Change Event without Time
objects) are sent in an Unsolicited Response to the DNP master station, a 16-Bit
Analog Input, 16-Bit Analog Input Without Flag, 32-Bit Analog Input or 32-Bit
Analog Input Without Flag object is included in the Unsolicited Response for each
analog input point mapped to the DNP DPA.
! When Counter Input event objects (e.g. 16-Bit Counter Change Event Without Time
objects) are sent in an Unsolicited Response to the DNP master station, a 16-Bit
Binary Counter, 16-Bit Binary Counter Without Flag, 32-Bit Binary Counter or 16-
Bit Binary Counter Without Flag object is included in the Unsolicited Response for
each counter input point mapped to the DNP DPA.
Analog inputs are processed at a configured frequency to detect variations in their values.
When the variations for a given point exceed its configured deadband the DPA generates
an event.
The DNP DPA implements two analog deadband schemes for generating analog events.
The user configures the type of deadband scheme used.
Using the absolute change deadband scheme, the DPA scans the current values of the
analog inputs in the WESDAC database at the configured interval. If the difference
between the current value of an analog input and the last value reported to the master
exceeds the configured deadband, the DPA generates an event (16-Bit Analog Change
Event Without Time or 32-Bit Analog Change Event Without Time object).
Using the absolute integrating deadband scheme, the DPA scans the current values of
the analog inputs in the WESDAC database at the configured interval. The difference
between the current value of an analog input and the last value reported to the master is
added to the current delta_value for the input. If the delta_value exceeds the configured
deadband, the DPA generates an event. Figure 4-1 illustrates the absolute integrating
deadband scheme.
In Figure 4-1, the DPA is configured to check its analogs every second. The analog is
reported to the master at time t = 0. Given that the deadband for the analog input is 40
counts, it will exceed the deadband at time t = 5 seconds. At this point, an Analog Input
Event object is generated.
50
40
ANALOG
VALUE 30
20
10
40
INTEGRATED 30
DELTA 20
10
0
L NOTE: Configuring the analog scan frequency to zero means the DPA
performs its analog deadband algorithm on an analog input point when
it receives notification of a change in value from WIN. However, in
this case the absolute integrating deadband does not perform an
integration over time.
Configuring the analog scan frequency to -1 disables the DPA from
generating analog events.
The DNP DPA transmits either Binary Input with Time or Binary Input with Relative
Time objects when RTU digital input points change state and binary input change with
time events are enabled for the points. When the DPA receives a binary input event from
the WIN, it buffers the event. If unsolicited responses are enabled, the DPA starts a timer
after receiving its first event. Often binary input events continue to arrive from the WIN.
When either a specific number of events (configured) have arrived or the timer reaches a
specific value (configured), all buffered events (including binary input events) are
formatted into objects for transmitting to the master.
A configuration parameter specifies whether binary input events are stored in RAM or
NVRAM (Non-Volatile RAM). When stored in NVRAM, these objects are preserved in
the case of a power failure. They are reported to the DNP master station after system
restart.
Binary input change with time events are transmitted in different formats depending on
different conditions.
1. RTU Time Synchronized, one event object to send. The object is transmitted as a
Binary Input with Time object.
2. RTU Time Synchronized, several event objects to send. The Time and Date
Common Time of Occurrence object is transmitted followed by several Binary Input
with Relative Time objects. The time in the Time and Date Common Time of
Occurrence object is the time of the oldest object. The relative times start at 0 (for the
oldest object) and range upwards relative to the Date and Time object.
3. RTU Time NOT Synchronized, one or more event objects to send. The
Unsynchronized Common Time and Date object is transmitted followed by one or
more Binary Input with Relative Time objects. The time in the Time and Date
Common Time of Occurrence object is the time of the oldest object. The relative
times start at 0 (for the oldest object) and range upwards relative to the Time and Date
object.
Binary Input event objects are transmitted at the following times:
! In response to a poll for the specific Binary Input Change objects.
! In response to a Class data poll for the class that the binary input events are
configured for.
! In Unsolicited Responses, if enabled for the appropriate Class of data.
On the CCU Base System, the DNP DPA supports multiple modes of operation:
ACTIVE, SERVICE, STANDBY, and DISABLE. Normally, it operates in ACTIVE
mode. In ACTIVE mode the DPA supports all the functionality described in this
document.
Before a DNP DPA can process SELECT or OPERATE requests containing Control
Relay Output Block objects, the master station must ENABLE the DPA to process these
requests. This ENABLE request is implemented in the DNP DPA using a special
DIRECT OPERATE request to a particular pseudo binary output point.
There may be several binary output groups in a GE HARRIS device - only one
application may be ENABLED to operate binary outputs within a single group at any one
time. All the binary output points mapped to a single DNP DPA must be in the same
binary output group (as configured in the WIN configuration).
The point number of the pseudo binary output point is 0x7FFFFFFF (hexadecimal). The
data in the Control Relay Output Block object is not processed by the DNP DPA. The
DPA responds by echoing the request with the status field in the Control Relay Output
Block object equal to 0 if the ENABLE request is successful. If the request fails, the DPA
sets the status field equal to 7. This is a custom status not defined in the DNP V3.00
protocol definition.
Whenever a SELECT, OPERATE, DIRECT OPERATE or DIRECT OPERATE - NO
ACK request is processed by the DPA, it checks parameters in the WIN database to
ensure its binary outputs are enabled. If enabled, the DPA processes the request. If not
enabled, the DPA responds by echoing the request with the status field in the Control
Relay Output Block object equal to 7.
Another software application resident in the GE HARRIS device may ENABLE a group
of binary outputs at any time. This will automatically disable binary outputs for all other
software applications using this same group. Only one application in the GE HARRIS
device may have binary output requests enabled in a single group at any time.
L NOTE: The DNP DPA binary output points may be configured in the WIN to
be in group 0. If this is the case, binary output requests are always
enabled.
When the DPA is not running on the CCU Base System, the DPA
binary output points are by default in group 0.
The DNP DPA can alter some of its parameters dynamically while the GE HARRIS
device is running. The following parameters can be altered:
! Change the Class of an event object (refer to Section 2.1.16 Assign Classes Function
Code).
! Enable or disable Unsolicited Responses on a Class by Class basis (refer to Section
2.1.15 Enable/Disable Spontaneous Message Function Codes).
These parameters are not altered in the NVRAM configuration of the GE HARRIS device
(or in the redundant GE HARRIS device if it exists). If the GE HARRIS device restarts,
the parameters initialize to the defaults specified in the NVRAM configuration.
The DNP DPA supports configuring a binary output point which is LATCHED ON when
the DPA detects a communications failure, and LATCHED OFF once communication is
restored.
The output point is LATCHED OFF on startup by the DPA. A communications failure is
detected under the following conditions:
! The DPA fails to transmit a response (either solicited or unsolicited). The underlying
data link could not deliver the response to the requested destination. Both the data
link and the DPA have exhausted all configured retries.
! The DPA fails to receive a requested application confirm to either a solicited or
unsolicited response within the configured timeout interval. It has exhausted all
configured retries.
! The DPA has not received any message from the master station within a configurable
period of time.
Communication is considered to be restored after the DPA receives a message, or after
the DPA successfully transmits an unsolicited response.
The DNP DPA allows the user to configure a Local/Remote Input feature. When the DNP
DPA is operating in Local mode, all output operations requested by the DNP master
station will not be performed. The DNP DPA will set its Internal Indication (IIN) local bit
to one (1) and respond to the DNP master indicating failure of the output request. The
Local/Remote Input feature can be enabled or disabled through configuration using the
following user defined parameters:
! Local/Remote Status Input
! Local Mode State
The combination of these two parameter defines the mode (Local or Remote) the DNP
DPA is currently operating. Outputs are not allowed when the DNP DPA is operating in
the local mode. Outputs are allowed when the DNP DPA is operating in the remote
mode. The Local/Remote Input feature can be disabled through configuration. When the
Local/Remote Input feature is disabled, the DNP DPA is always assumed to be operating
in the remote mode.
While DPA is operating in local mode, the DNP DPA will perform the DNP master
requests as follow:
! Any select requests received will be responded with the IIN local indication bit set
and the status field of the output object set to indicate hardware problem.
! Any operate or direct operate requests received will not operate any outputs, the DNP
DPA will respond to the DNP master with the IIN local indication bit set and the
status field of the output object set to indicate hardware problem.
! The on-line bits of all binary output status or analog output status read will be cleared
to zero (0) to indicate off-line condition.
! All other requests (not listed) will be performed normally as described in Chapter 2
Protocol Implementation.
If outputs are not inhibited, all output requests received by the DNP DPA will be
performed normally as described in Section 2.1.6 Select and Operate Function Codes and
Section 2.1.7 Direct Operate and Direct Operate - No ACK Function Codes.
The DNP DPA allows the user to choose a scheme for reporting events as they occur.
One manner in which events are reported by the DNP DPA is through the use of
unsolicited responses. When the unsolicited responses are initiated will be determined by
the following user defined parameters:
! maximum hold time
! maximum hold count
! idle report period
The maximum hold time defines the maximum period the DNP DPA will be allowed to
hold its events (since the first event) before reporting them to the DNP master station.
Whenever the maximum hold time has elapsed since the first event occurred, the DNP
DPA will report to the DNP master station all events accumulated up to then. This
parameter is defined in terms of milliseconds.
The maximum hold count defines the maximum number of events (since the first event)
the DNP DPA will be allowed to hold before reporting them to the DNP master station.
Whenever the maximum hold count threshold is reached, the DNP DPA will report to the
DNP master station, all events accumulated up to that point.
The idle report period is a performance enhancement parameter. It is used to provide
efficient reporting of events to the DNP master station. When events occur, the DNP
DPA determines a time gap between any two events. If the time gap between two events
exceeds the configured idle report period, the DNP DPA will initiate an unsolicited
response to the DNP master station containing all events accumulated prior to expiration
of the idle report period. The idle report period is defined in terms of milliseconds, and it
is typically much shorter than the maximum hold time period.
If unsolicited response is enabled, the DNP DPA will initiate an unsolicited response to
report events whenever any of the following three conditions is satisfied. The priority of
these conditions are exactly equal. Figure 4-2 illustrates when events are reported for all
three cases.
! When the idle report period has expired.
! When the maximum hold time is reached.
! When the maximum hold count threshold is reached.
TIME
t0 t1 t2 t3 t4 t5
The DNP DPA provides the flexibility for the users to scale analog input values before
reporting them to the DNP master station. The DNP DPA supports either 16-bit or 32-bit
analog values. The WESDAC system analog inputs are formatted as 16-bit twos
complement values. Therefore, WESDAC analogs will be scaled to either 16-bit or 32-bit
DNP protocol values according to the following configurable scaling factors:
! Analog Scaling Range
! Analog Scaling Divisor
! Analog Value Offset
Analog scaling is configurable on a per-point basis. The Analog Scaling Range defines
the maximum DNP protocol value that will be reported when the WESDAC analog input
reaches its full-scale value. The Analog Scaling Divisor defines the WESDAC analog
input full scale value. The analog scaling factor is determined by the combination of the
Analog Scaling Range and the Analog Scaling Divisor. The Analog Value Offset is a
compensation factor which can be added to the resultant scaled value. This value is
typically zero. The DNP protocol value that the DPA will report is determined by the
following equation:
L NOTE: Resolution does not improve when scaling a 16-bit WESDAC analog
input value to a 32-bit DNP protocol value. The resolution of analog
input values is dictated by the WESDAC input value.
When the resulting scaled value exceeds the value range defined by the analog input size
or the DNP master request, the DPA will set the over-range flag bit of the analog input
object and set the value to either positive or negative maximum, as appropriate.
The DNP DPA provides the flexibility for the users to scale analog output values received
from the DNP master station. The DNP DPA supports both 16-bit or 32-bit analog
values. The WESDAC system analog output values are formatted as 16-bit twos
complement values. Therefore, WESDAC analog output values will be scaled from either
16-bit or 32-bit DNP protocol values according to the following configurable scaling
factors:
! Analog Scaling Range
! Analog Scaling Divisor
! Analog Value Offset
Analog output scaling is configurable on a per-point basis. The Analog Scaling Range
defines the maximum WESDAC analog output value that will be performed with when
the DNP protocol value reaches its full-scale value. The Analog Scaling Divisor defines
the DNP protocol analog output full scale value. The analog scaling factor is determined
by the combination of the Analog Scaling Range and the Analog Scaling Divisor. The
Analog Value Offset is a compensation factor which can be added to the resultant scaled
analog output value. This value is typically zero. The WESDAC analog output value is
determined by the following equation.
L NOTE: Analog output resolution will be lost when scaling a 32-bit DNP
protocol value to a 16-bit WESDAC analog output value.
If the resulting scaled value exceeds the limit of the maximum WESDAC analog output
values, the DNP DPA will reject the output request and set the status field of the output
object to indicate hardware problem.
The DNP DPA provides the flexibility for the users to report time tagged or non-time
tagged analog input events on a per point basis. When time tag is enabled for the analog
input point, the DNP DPA will report both the analog input value and the associated time
tag to the DNP master station. The particular value and time reported will be dependent
on whether the DNP DPA is configured to report analogs with the Current Value and
Time or the First Event Value and Time. When time tag is disabled for the analog input
point, the DNP DPA will report only the analog input value (without time tag) to the
DNP master station. Also, the particular value reported will be dependent on whether the
DNP DPA is configured to report analogs with the Current Value and Time or the First
Event Value and Time. Table 4-1 tabulates the various methods for reporting analog
events.
Time
Analog Reporting Method Description of Analog Events Reported
Tag
Current Value and Time The current analog value and time for those analogs exceeding the
Enable deadband will be returned to the master station at the time of
reporting.
The current analog value (without time) for those analogs exceeding
Disable the deadband will be returned to the master station at the time of
reporting.
First Event Value and Time The analog value and time associated with the first event for those
Enable
analogs exceeding the deadband will be reported.
The analog value (without time) associated with the first event for
Disable
those analogs exceeding the deadband will be reported.
L NOTE: When unsolicited reporting is used for analog input events, the
behavior of the two different analog reporting methods will be very
similar because the unsolicited reports are generated very soon after
the event occurred, hence the first event time and current time may be
very close to the same.
This section describes the WIN events and commands that the DNP DPA processes and
sends. Refer to Tables A-1 and A-2 for WIN supported Events and Commands.
SINGLE_PNT
TIME_ Affected WIN
WIN Event Type or Usage
TAGGED Data Type(s)
MULTI_PNT
DATA_UPDATE Both single and Don't Care BINARY_INPUT Sent to DPA after DCA has
multi pnt BINARY_OUTPUT initialized the database. The
COUNTER DPA will not attach to
ANALOG_INPUT BridgeMAN until
ANALOG_OUTPUT DATA_UPDATE events
are received for all DNP
points.
OFF_LINE Both single and Don't Care BINARY_INPUT Sent for all types on power
multi pnt BINARY_OUTPUT up or when the device goes
COUNTER offline. Sent for specific
ANALOG_INPUT data points when they
ANALOG_OUTPUT cannot be successfully
DEVICE_STATUS scanned or controlled. If
configured, they generate
offline events.
ON_LINE Both single and Don't Care BINARY_INPUT Sent for all types when the
multi pnt BINARY_OUTPUT device goes online. Sent for
COUNTER specific data points when
ANALOG_INPUT an offline point can be
ANALOG_OUTPUT successfully scanned or
DEVICE_STATUS controlled. If configured,
they generate online events.
FREEZE_DATA_CMD Multi pnt Don't Care COUNTER Sent to the DPA when
counters are frozen.
Prompts DPA to process
for frozen counter events.
CLEAR_DATA_CMD Multi pnt Don't Care COUNTER Sent to the DPA when
counters are cleared. May
cause Unsolicited reporting
of counters.
FORCE_DATA Single pnt Don't Care BINARY_INPUT Remote Force Data and
BINARY_OUTPUT Off-Line can disable
COUNTER reporting if configured;
ANALOG_INPUT Otherwise, just updates flag
ANALOG_OUTPUT bits.
UNFORCE_DATA Single pnt Don't Care BINARY_INPUT Remote Unforce Data can
BINARY_OUTPUT enable reporting if
COUNTER configured; Otherwise, just
ANALOG_INPUT updates flag bits.
ANALOG_OUTPUT
The DNP DPA also uses the win_read function call to read positive and negative
acknowledgements (ACKs and NACKs) from the WIN. These are returned to the DPA in
response to OUTPUT_REQUEST, PUT_CONFIG and GET_CONFIG WIN commands.
Note that the DNP DPA has a configurable parameter which specifies whether event data
handling should be optimized for processing speed or memory usage. This parameter
applies to all data change events, including binary input, analog input, and counter input
change events.
This appendix details the HARRIS DNP DPA implementation of the DNP V3.00
protocol. The tables in this appendix precisely describe the interaction of the function
codes, objects and qualifier codes used by the DPA.
0 CONFIRM YES
1 READ YES
2 WRITE YES
3 SELECT YES
4 OPERATE YES
15 INITIALIZE DATA NO
16 INITIALIZE APPLICATION NO
L NOTE: Just because a Function Code is supported does not mean that all
possible objects are accessible using that Function Code. Table B-1
Function Codes Supported by the DNP DPA must be read in
combination with all other tables in this appendix in order to
understand the implementation.
Table B-3 explains which objects/variations are used with which Function Codes and
Qualifier Codes by the HARRIS DNP DPA implementations.
To understand the tables, consider the second row of Table B-3. This row specifies how
object 1, variation 2 (Binary Input With Status) is accessed. To access this type of object,
the DPA will process a request using Function Code 1 (READ) with a Qualifier Code in
the range of 00 to 09 inclusive. The DPA will respond with Function Code 129
(RESPONSE), Qualifier Code 01. The DPA will also produce responses using Function
Code 130 (UNSOLICITED RESPONSE), Qualifier Code 01.
Device Name: D25, D20, D200 or CPM GE HARRIS device, using DNP V3.00 Data Link
Notable objects, functions, and/or qualifiers supported in addition to the Highest DNP Levels Supported
(the complete list is described in the attached table):
Optionally preventing static objects, which are simultaneously in the off-line and
Optionally running in silent master mode in which static data is returned in unsolicited
responses.
Maximum Data Link Frame Size (octets): Maximum Application Fragment Size (octets):
G None G None
G Fixed at ______________________ O Configurable, range __0_ to __32767___
O Configurable, range __0_ to _255__ (Fixed is not permitted)
G Never
G Always
G Sometimes If 'Sometimes', when? ____________________________________________
G Never
G Always (not recommended)
O When reporting Event Data (Slave devices only)
O When sending multi-fragment responses (Slave devices only)
O Sometimes If 'Sometimes', when? When reporting Static Data such as delta counters.
O Configurable If 'Configurable', how? Enabling silent master mode means the DPA never requests
a confirmation
Others __________________________________________________________________________
Reports Binary Input Change Events when no Reports time-tagged Binary Input Change Events when
specific variation requested: no specific variation requested:
G Never G Never
G Only time-tagged O Binary Input Change With Time
G Only non-time-tagged O Binary Input Change With Relative Time
O Configurable to send both, one or the other G Configurable (attach explanation)
(attach explanation)
G Never G Never
O Configurable (attach explanation) O When Device Restarts
G Only certain objects O When Status Flags Change
G Sometimes (attach explanation)
No other options are permitted.
O ENABLE/DISABLE UNSOLICITED
Function codes supported
source code A piece of code that has not yet been compiled or
assembled (that is, it is still in the language it was
programmed in) and so cannot yet run on a
machine.
ACK acknowledgement
ASCII American Standard Code for Information Interchange
I/O input/output
ID identification number
IEC International Electrotechnical Commission
IIN internal indication
OS operating system
T/C trip/close
TT time-tagged