| Page 21 of 51 |
|
|
5.3.7.Map Descriptor Example 4 – Default Variation (Variation zero)
If a remote Client polls for data of a particular type and the variation is set to zero then the request is for the Server’s default variation. For the FieldServer, the default variation is always 1. This means that requests for variation zero will fail unless the Server contains a Map Descriptor where the variation is 1.
//Server Side Map Descriptors
Map_Descriptors |
|
|
|
|
|
|
|
|
|
Map_Descriptor_Name | ,Data_Array_Name | ,Data_Array_Offset | ,Function | ,Node_Name | ,Address | ,Length | ,DnpAssoc | ,dnpDataType | ,dnpDataVari |
ServeData_DI | ,DA_DI | ,0 | ,Server | ,Node_A | ,0 | ,10 | ,1 | ,1 | ,1 |
ServeData_AI | ,DA_AI | ,0 | ,Server | ,Node_A | ,0 | ,2 | ,1 | ,30 | ,1 |
|
|
|
|
|
|
|
|
|
|
With Data Objects of variation 1 defined the Server can respond to requests for variation zero.
Such requests are polls for the default variation. The default is 1 for this driver.
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