Devices > Remote Devices > DNP3 EIE > Data Groups

Data Groups

With few exceptions, data groups must be defined in a device template file in order for them to be available for use on a remote device. Which data groups are defined by a device template file depends on protocol, device type, and unique configuration.

CygNet distributes sample device template files for its EIEs, each of which typically serves one or more hardware models along with applicable firmware. Therefore, the data groups described in the table below are only those data groups defined by CygNet in sample device template file(s). Your template(s) might not include some of the data groups described below. Device template files exist to enable users to customize device configurations; however, CygNet is not responsible for changes made by users.

For information about data group definitions and device template files, see Device Template Files.

Note: Point IDs must be unique within a data group (case insensitive).

Note: Data group elements for DNP3 data groups do not support a conversion function (cvtF).

Browse by letter:     A   D   E   I  S

Data Group Type Usage Notes

AllPoints

The "All Points (Class 0)" data group gets all Class 0 static data values. When this data group is polled, CygNet point updates are made to any mapped deids in instantiated data groups with a matching ptId.

DateTime

"Date and Time" retrieves the field device's current time and can be used to sync it to the host's current time.

Event

The "Events" data group gets events by class (1, 2, 3) or by point type. The point type option provides a drop-down menu listing variations available for the chosen point type. When this data group is polled, CygNet point updates are made to any mapped deids in instantiated data groups with a matching ptId.

IntInd

The "Internal Indications" data group displays the IIN values obtained when reading/writing other data groups. The data group is composed of 16 bits that indicate a combination of device status and success or failure of a specific request. The "Internal Indications" data group can also be used to clear the "Restart" bit.

SinglePt

"Single Point" reads from or writes to a point on demand. See Single Point Data Group.

Note: It is recommended that you use this data group to write analog output and binary output values.

User-Defined Data Group Types

The DNP3 protocol allows users to define data groups using point types in combination with another data group element. See Point Types for more information.

Point Type-based Data Group

A Point Type-based data group that has the attribute dgPtType="XX" in the device template file will get all values of that point type. It may optionally specify the group variation number. The default variation is 0, indicating that the device determines which variation to return. The dgElements element for this data group type includes a point index (ptIndex) attribute. The configuration for these data groups is dictated by a specific device and load and are read-only.

The following example data group displays data group PointAI and the values specified for each point index.

Generic Data Group

In a generic data group type, each data group element includes a Point ID consisting of point type and index. The point type and index are represented in a DNP3 device template file as ptId. These data groups can be read and/or written. The generic data group type is available to any remote device that is capable of handling requests for individual point IDs. In edit mode, a Send only edited items check box displays on the View Data dialog box, and when checked, only the edited values are written to the DDS transaction.

Note: For generic data groups using the String point type, string length ("Len") is required on a Send.

The following example data group displays the ptId for various point types.

Data Groups for File Processing

A data group that contains the attribute dgCat="File" reads data from a file. When the name of the file is known, it should be represented in the template file using the fileName data group attribute. A file name can contain these substitution strings: %ordinal%, %facilityid%, and %deviceid%. When the name of the file varies beyond the scope of the substitution strings, it must be provided using the FileName UIS command parameter.

A file data group is always read-only. It can be ordinalized, and can represent an array of records. When an array of records is represented in the file, the length attribute is used to specify the number of bytes in a single record.

Each dgElement element for this data group type includes the attribute off as an offset into the file. The data bytes that represent the contents of the file are interpreted based on the offset values. For example, an offset attribute of off="4" indicates the value is at byte 4.

The following are examples of data groups used for file processing. The FileSeq example is the simplest. It has a fixed file name, and contains three data elements. The FileHstCfg example is ordinalized and includes the wildcard %ordinal% in the fileName attribute. It also contains an array of records; each record is 91 bytes long. The FileSeqTm example has a variable file name, so the fileName is omitted from the template file, and a UIS command with the parameter FileName is required.

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.