FieldServer FS-8700-47 Computer Drive User Manual


 
FS-8700-47 DNP 3.0 Driver Manual Page 12 of 51
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
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
Read 10 elements.
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.
The value of the
first analog input
read will be placed
in position 20 of
the data table (the
21
st
element of the
table.)
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.
This Map
Descriptor will
perform a read of
the DNP device
and the read will
be performed
continuously.
Every 5 seconds.
Read Analog Inputs in
the slave device starting
at input index 20.
Vendor documentation
will tell you the indices of
the inputs you are
interested in.
DNP Object Type is
Analog Input
DNP Object
Variation is 16
Bit Analog Input