FS-8700-47 DNP 3.0 Driver Manual

Page 12 of 51

 

 

4.4.4.Map Descriptor Example 1 – Simple Read.

In this example we read 10 Analog Inputs from a DNP device. The request is with respect to inputs 20 to 29 and we will place the results of the read in the data array called DA_AI3 in positions 20 to 29. In this example the dnpSubType is not specified so the driver will report the value of the object.

//Client Side Map Descriptors

Map_Descriptors

 

 

 

 

 

 

 

 

 

Map_Descriptor_Name

,Data_Array_Name ,Data_Array_Offset

,Function

,Node_Name

,Address

,Length

,Scan_Interval

,dnpDataType

,dnpDataVari

A1

,DA_AI3

,20

,Rdbc

,Node_A

,20

,10

,5

,30

,1

Any useful name. Duplicates are allowed but may make some of the validation messages less meaningful.

The results of the read are placed in this data array.

The value of the first analog input read will be placed in position 20 of the data table (the 21st element of the table.)

This Map

Read Analog Inputs in

Descriptor will

the slave device starting

perform a read of

at input index 20.

the DNP device

Vendor documentation

and the read will

will tell you the indices of

be performed

the inputs you are

continuously.

interested in.

This is the name of the node that we are reading. This name must connect to a node definition in the CSV file which will contain the address of the device being read and this in turn should connect to a port definition though which the FieldServer will communicate with the DNP device.

DNP Object Variation is 16 Bit Analog Input

DNP Object Type is Analog Input

Every 5 seconds.

Read 10 elements.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: support@fieldserver.com

Page 12
Image 12
FieldServer FS-8700-47 instruction manual Map Descriptor Example 1 Simple Read