FieldServer FS-8700-115 instruction manual Map Descriptor Example

Page 10

FS-8705-06 GPA (General Purpose ASCII) Manual

Page 10 of 15

4.5.Map Descriptor Example.

In this example, we provide a map descriptor to capture data from a scale and store it in a Data Array called ‘DA_Scale’. The 1st element converted from the ASCII steam will be store at offset zero in the Data Array. The driver will convert and store floating point numbers because the data_type is a floating point type. A maximum of 10 number fields can be processed and stored. The driver only converts and stores the data when the ASCII stream ends. Read appendix xxxxxx to learn how the driver knows when a stream has ended and it should process and strore data.

Map_Descriptors

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_name

Data_Type

Length

Store_Weights,

DA_Scale,

0,

Passive,

Node_A,

Float-Reg

10,

Map Descriptor Names do not need to be unique but making them so may facilitate trouble shooting.

The name of the Data Array where the incoming data should be stored.

Driver waits passively for incoming data. There is no polling.

The 1st element of converted data will be stored at this location in the DA. Subsequent data is stored in consecutive locations.

Connects this Map Descriptor to a Node Descriptor which in turn points to a connection descriptor.

A maximum of 10 value items will be stored.

When the driver processes the stream it should (in this case) treat the data as floating point data. Ensure that the format of the Data is suitable to store a floating point value

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 10
Contents FS-8700-115 General Purpose Ascii Table of Contents GPA General Purpose Ascii Driver Description Max Nodes Supported FieldServer Mode CommentsFS-8705-06 GPA General Purpose Ascii Manual Required 3rd Party Configuration FieldServer Technologies DescriptionHardware Connections Section Title Configuring the FieldServer as an GPA Driver ClientData Arrays/Descriptors Column Title Function Legal ValuesClient Side Connection Descriptions AsciiClient Side Node Descriptors Driver Related Map Descriptor Parameters Column Function Legal Values TitleMap Descriptor Example Configuring the FieldServer as a GPA Driver Server Appendix A.2. Interaction with the WebServer Driver Appendix B. Troubleshooting tips Appendix B.1. Timeouts Error Description and Corrective Action Appendix C. Driver Error MessagesFS-8705-06 GPA General Purpose Ascii ManualPage 14 This page Intentionally Left Blank