FieldServer FS-8700-47 instruction manual Map Descriptor Example 3 Class Data another example, Rtu

Page 20

FS-8700-47 DNP 3.0 Driver Manual

Page 20 of 51

 

 

5.3.6.Map Descriptor Example 3 – Class Data (another example)

In this example the Server responds with a number of non-consecutive binary points. All will work fine except when the Client polls for this data with qualifier 7. The default response will be qualifier 7 with implied index style 0. The problem is that qualifier 7 tells the Client the number of objects in the packet, but they are all assumed to be addressed sequentially from address 0. When the data is served, the Client will unpack each portion, thinking that the address is zero for each portion and hence the data will be overwritten. To prevent this add the dnpIndexStyle parameter with a value of 1 to force the Server to prefix each point of data with the address of the point and thus allow the Client to unpack the data correctly. All this can be avoided by having the Client poll for data with a qualifier of 1.

//Server Side Map Descriptors

Map_Descriptors

 

 

 

 

 

 

 

 

 

 

Map_Descriptor_Name

,Data_Array_Name

,Data_Array_Location

,Function

,Node_Name

,Address

,Length

,DNPDataType

,DNPDataVari

,DNPAssociate

 

Class_0_Data

,DA_DUMMY

,0

,Server

,RTU

,0

,1

,60

,0

 

 

Map_Descriptors

 

 

 

 

 

 

 

 

 

 

Map_Descriptor_Name

,Data_Array_Name

,Data_Array_Location

,Function

,Node_Name

,Address

,Length

,DNPDataType

,DNPDataVari

,DNPAssociate

,dnpIndexStyle

Class_0_Analogs

,DA_AI_01

,0

,Server

,RTU

,1

,16

,32

,1

,1

,1

Class_0_Discs_1

,DA_DI_01

,0

,Server

,RTU

,1

,3

,2

,1

,1

,1

Class_0_Discs_2

,DA_PB_01

,5

,Server

,RTU

,4

,1

,2

,1

,1

,1

Class_0_Discs_3

,DA_PB_01

,7

,Server

,RTU

,5

,1

,2

,1

,1

,1

Class_0_Discs_4

,DA_PB_01

,9

,Server

,RTU

,6

,1

,2

,1

,1

,1

Class_0_Discs_5

,DA_PB_01

,11

,Passive

,RTU

,7

,1

,2

,1

,1

,1

Class_0_Discs_6

,DA_PB_01

,13

,Passive

,RTU

,8

,1

,2

,1

,1

,1

Class_0_Discs_7

,DA_PB_01

,15

,Passive

,RTU

,9

,1

,2

,1

,1

,1

Class_0_Discs_8

,DA_PB_01

,17

,Passive

,RTU

,10

,1

,2

,1

,1

,1

Class_0_Discs_9

,DA_PB_01

,27

,Passive

,RTU

,11

,1

,2

,1

,1

,1

Class_0_Discs_10

,DA_PB_01

,29

,Passive

,RTU

,12

,1

,2

,1

,1

,1

Class_0_Discs_11

,DA_PB_01

,41

,Passive

,RTU

,13

,1

,2

,1

,1

,1

Class_0_Discs_12

,DA_PB_01

,43

,Passive

,RTU

,14

,1

,2

,1

,1

,1

Class_0_Discs_13

,DA_PB_01

,45

,Passive

,RTU

,15

,1

,2

,1

,1

,1

Class_0_Discs_14

,DA_PB_01

,48

,Passive

,RTU

,16

,1

,2

,1

,1

,1

Class_0_Discs_15

,DA_PB_01

,49

,Passive

,RTU

,17

,1

,2

,1

,1

,1

Class_0_Discs_16

,DA_PB_01

,51

,Passive

,RTU

,18

,1

,2

,1

,1

,1

Class_0_Discs_17

,DA_PB_01

,53

,Passive

,RTU

,19

,1

,2

,1

,1

,1

Class_0_Discs_18

,DA_PB_01

,55

,Passive

,RTU

,20

,1

,2

,1

,1

,1

Class_0_Discs_19

,DA_PB_01

,61

,Passive

,RTU

,23

,1

,2

,1

,1

,1

Class_0_Discs_20

,DA_PB_01

,63

,Passive

,RTU

,24

,1

,2

,1

,1

,1

 

 

 

 

 

 

 

 

 

 

 

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 20
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 Hardware Connections Connection NotesConfiguring the FieldServer as a DNP 3.0 Driver Client Data ArraysClient Side Connection Descriptors Client Side Node 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 Configuring the FieldServer as a DNP 3.0 Driver Server Server Side Connection DescriptorsServer Side Node Descriptors Driver Specific Map Descriptor Parameters Map Descriptor Example 1 Discrete Data Map Descriptor Example 2 Class DataMap Descriptor Example 3 Class Data another example RTUMap Descriptor Example 4 Default Variation Variation zero Map Descriptor Example 5 ClassDataServingCtrl AnaInputs Map Descriptor Example 6 Unsolicited Messages Server Side Limitations Appendix A. Advanced Topics Appendix A.1. DNP 3.0 Protocol Appendix A.2. DNP Driver FunctionalityAppendix A.3. DNP Objects mapped to FieldServer Data Arrays Appendix A.4. Channel Idle, Master & Slave IdleAppendix A.5. DLL Layer Functionality in the Master Appendix A.6. App Layer Functionality in the MasterAppendix A.7. Internal Indications, Object 80 and Dnpii Incoming Internal Indications BytesPage Internal Indications reported in Responses ServerIIArrayResponses to Polls for Object 80 Internal Indications Appendix A.8. DNPStats 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.11. Controlling the DNP 3.0 Driver’s Qualifier Appendix A.12. FieldServer DNP Node NumberAppendix A.14. Communication Stats Appendix A.15. Link ResetAppendix A.13. DnpSubType Appendix A.16. Controlling DA Offsets Appendix A.17. dnpIndexStyleAppendix A.18. Real Time Clock Synchronization DatimePage 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