FieldServer FS-8700-82 instruction manual Dadump

Page 21

FS-8700-82 Carrier DataLink

Page 21 of 31

Appendix A.2. Using the Carrier Datalink Driver to Obtain Field Names

The Carrier Datalink driver can be used to obtain a list of variable names for a given table using the following Map Descriptors. It is recommended that these Map Descriptors are removed from the configuration after the variable names have been obtained as they will consume resource and processing time.

The following example illustrates a Map Descriptor which reads a table and dumps the response in ASCII format to a Data Array which can be browsed using RUINET (Refer to RuiNet Manual)

Data_Arrays

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data_Array_Name,

 

Data_Format,

Data_Array_Length

 

 

 

 

 

 

 

 

DA_DUMP

,

 

BYTE

,

2000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Map Descriptors

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

Length,

Scan_Interval,

Table_Name

Field_Name,

Storet_As

Md1

 

,

 

DA_DUMP

,

0

,

rdbc ,

FAN01 ,

1000 ,

5.0s,

DISPLAY ,

EVERYTHING,

Ascii

The s=data array DA_DUMP has been defined with format BYTE. When viewing this table with RUINET display the array in ‘STRING’ format so that you can read it.

This is what tells the driver to dump the table, its variables names and variable descriptions in ASCII format.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldserver.com

Image 21 Contents
FS-8700-82 Carrier DataLink Table of Contents FS-8700-82 Carrier DataLink Carrier DataLink DescriptionFieldServer Technologies Provided by Suppler of 3 rd Party EquipmentHardware Connections Data Arrays/Descriptors Configuring the FieldServer as a Carrier DataLink ClientSection Title Column Title Function Legal ValuesFS-8700-82 Carrier DataLink Example Client Side Connection DescriptionsNone SecondClient Side Node Descriptors Column Function Legal Values TitleRDBC, WRBC, Wrbx Timing Parameters Driver Related Map Descriptor ParametersTZONE1’ ‘EVERYTHING’Map Descriptor Example 1 Read a Table Map Descriptor Example 3 Write a Variable Map Descriptor Example 2 Read a VariableMap Descriptor Example 4 Write Day of Week DOW or Time Server Side Connection Descriptors Configuring the FieldServer as a Carrier DataLink ServerServer Side Nodes Driver Specific Map Descriptor Parameters Timing Parameters Map Descriptor Example As a client Driver Limitations and ExclusionsAs a server GeneralEquipment Type Table Name Appendix A. Advanced Topics Appendix A.1. Table NamesFS-8700-82 Carrier DataLink Equipment Type Table Name Dadump DEV 02 Display Appendix A.3.1. Client Reads a Table Appendix A.3. Map Descriptor Length ExplainedAppendix A.3.2. Client reads a variable Appendix A.3.3. Client writes a variableFS-8700-82 Carrier DataLinkPage 24 Appendix A.4.2. Extending the List of Discrete State WordsAppendix A.4.4. Numeric Values Appendix A.4.3. Time ValuesAppendix A.4.5. Occupancy Strings / Values Appendix A.5. Timing ConsiderationsAppendix B. Carrier DataLink Device Error Response Message Explanation ActionNack Dacarrierstats Appendix C. Driver Notes Appendix C.1. Driver StatsOffset Description Appendix D. Driver Error Messages Error Message ExplanationEverything FS-8700-82 Carrier DataLink Error Message Explanation This page Intentionally Left Blank