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

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