FieldServer FS-8700-47 instruction manual Map Descriptor Example 1 Discrete Data

Page 19

FS-8700-47 DNP 3.0 Driver Manual

Page 19 of 51

 

 

5.3.4.Map Descriptor Example 1 – Discrete Data.

In this example the following Map Descriptor will be used allow a remote device to request discrete input data.

// Server Side Map Descriptors

 

 

 

 

 

 

 

 

Map_Descriptors

 

 

 

 

 

 

 

 

 

Map_Descriptor_Name

,Data_Array_Name

,Data_Array_Offset

,Function

,Node_Name

,Address

,Length

,Scada_Hold_Timeout

,dnpDataType

,dnpDataVari

A1

,DA_DI1

,0

,Passive

,Node_A

,0

,10

,5

,1

,1

 

 

 

 

 

 

 

 

 

 

The DNP 3.0 driver will use data from this array to form the response.

This Map Descriptor can respond to a read/write poll from a remote DNP device.

This Map Descriptor will be used to process any poll whose objects match and whose addresses fall inside the address and length range specified by this Map Descriptor.

This is Map Descriptor will process commands for a DNP Object Type 1 variation 1 Map Descriptor i.e. binary input.

5.3.5.Map Descriptor Example 2 – Class Data

Class data is a composite set of data comprising data points from different data types. In this example the Map Descriptors have been created to serve class 0 data. Map Descriptors associated with the Class 0 Map Descriptor tell the driver which data to serve as the class data. When a request is received it is matched against a Class Map Descriptor. If a matching Map Descriptor is found the driver builds a response using the data requested in the associated Map Descriptors. In this example 10 Digital Inputs and 2 Analog Inputs will be served as the response.

//Server Side Map Descriptors

Map_Descriptors

 

 

 

 

 

 

 

 

 

Map_Descriptor_Name

,Data_Array_Name

,Data_Array_Offset

,Function

,Node_Name

,Address

,Length

,DnpAssoc

,dnpDataType

,dnpDataVari

ServeClass0Data

,DA_Dummy

,0

,Server

,Node_A

,0

,1

,1

,60

,0

ServeClass0Data_DI

,DA_DI

,0

,Server

,Node_A

,0

,10

,1

,1

,1

ServeClass0Data_AI

,DA_AI

,0

,Server

,Node_A

,0

,2

,1

,30

,1

 

 

 

 

 

 

 

 

 

 

These are Server Map

The dnpAssoc field forms the association

Descriptors

between these Map Descriptors.

’ServeClass0Data’ defines the Map Descriptor used to respond to request for Class 0 Data. (Type=60 vari=0).

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

Image 19
Contents Driver Manual FS-8700-47 DNP Table of Contents FS-8700-47 DNP 3.0 Driver Manual Table of Contents DNP 3.0 Driver Description Page FS-8700-47 DNP 3.0 Driver Manual Connection Notes Hardware ConnectionsData Arrays Configuring the FieldServer as a DNP 3.0 Driver ClientClient Side Node Descriptors Client Side Connection DescriptorsDriver Specific Map Descriptor Parameters Timing Parameters Map Descriptor Example 1 Simple Read Map Descriptor Example 3 Simple Read Extract Value & Status Map Descriptor Example 4 Reading Class Data Map Descriptor Example 6 Read an unknown variation Server Side Connection Descriptors Configuring the FieldServer as a DNP 3.0 Driver ServerServer Side Node Descriptors Driver Specific Map Descriptor Parameters Map Descriptor Example 2 Class Data Map Descriptor Example 1 Discrete DataRTU Map Descriptor Example 3 Class Data another exampleMap Descriptor Example 4 Default Variation Variation zero Map Descriptor Example 5 ClassDataServingCtrl AnaInputs Map Descriptor Example 6 Unsolicited Messages Server Side Limitations Appendix A.4. Channel Idle, Master & Slave Idle Appendix A. Advanced Topics Appendix A.1. DNP 3.0 ProtocolAppendix A.2. DNP Driver Functionality Appendix A.3. DNP Objects mapped to FieldServer Data ArraysAppendix A.6. App Layer Functionality in the Master Appendix A.5. DLL Layer Functionality in the MasterIncoming Internal Indications Bytes Appendix A.7. Internal Indications, Object 80 and DnpiiPage ServerIIArray Internal Indications reported in ResponsesResponses to Polls for Object 80 Internal Indications Dnpstats Appendix A.8. DNPStatsAppendix A.9. DNP 3.0 Data Objects Counter Change Event All Variations See notes in Appendix A.10 for function code FS-8700-47 DNP 3.0 Driver Manual Appendix A.12. FieldServer DNP Node Number Appendix A.11. Controlling the DNP 3.0 Driver’s QualifierAppendix A.13. DnpSubType Appendix A.15. Link ResetAppendix A.14. Communication Stats Appendix A.17. dnpIndexStyle Appendix A.16. Controlling DA OffsetsDatime Appendix A.18. Real Time Clock SynchronizationPage Appendix A.19. Select and Operate Page Page Appendix A.20. Multiple requests in a single poll Appendix B. Driver Error Messages Page Page Page FYI