FieldServer FS-8700-47 Map Descriptor Example 3 Simple Read Extract Value & Status

Page 13

FS-8700-47 DNP 3.0 Driver Manual

Page 13 of 51

 

 

4.4.5.Map Descriptor Example 2 – Simple Read – Extract the Quality/Status

In this example the status data rather than the input values are written to the data array specified.

//Client Side Map Descriptors

Map_Descriptors

 

 

 

 

 

 

 

 

 

 

Map_Descriptor_Name

,Data_Array_Name

,Data_Array_Offset

,Function

,Node_Name

,Address

,Length

,Scan_Interval

,dnpDataType

,dnpDataVari

,dnpSubType

A1

,DA_AI3STAT

,20

,Rdbc

,Node_A

,20

,10

,5

,30

,1

F,lags

The results of the

DNP Object Type is

DNP Object Variation is

read are placed in

Analog Input

16 Bit Analog Input

this data array.

 

 

Tells the driver to write the status byte to the data array, ignoring the value of the object being read. You can use value / time1 / time2 / flags / combo as legal values for this parameter. The default is value.

Not all objects have these sub-fields.

4.4.6.Map Descriptor Example 3 – Simple Read Extract Value & Status

In this example we extract both the value and the status using two Map Descriptors.

// Client Side Map Descriptors

 

 

 

 

 

 

 

 

 

 

Map_Descriptors

 

 

 

 

 

 

 

 

 

 

 

Map_Descriptor_Name

,Data_Array_Name

,Data_Array_Offset

,Function

,Node_Name

,Address

,Length

,Scan_Interval

,dnpDataType

,dnpDataVari

,dnpSubType

,dnpAsscoiate

A1

,DA_AI3

,20

,Rdbc

,Node_A

,20

,10

,5

,30

,1

,Value

,1

A2

,DA_AI3STAT

,20

,Passive

,Node_A

,20

,10

,5

,30

,1

,Flags

,1

 

 

 

 

 

 

 

 

 

 

 

 

The status data is placed into a different array from the value data.

Only one Map Descriptor need be active. The active Map Descriptor generates the poll. Both the active and passive Map Descriptors are used to process the response.

The common value for dnpAssociate ties these two Map Descriptors together and tells the driver to use them both to process the response data.

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 13
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.2. DNP Driver Functionality Appendix A. Advanced Topics Appendix A.1. DNP 3.0 ProtocolAppendix A.3. DNP Objects mapped to FieldServer Data Arrays Appendix A.4. Channel Idle, Master & Slave IdleAppendix 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