Appendix a. useful features, Appendix a.1.1, Map descriptor example – FieldServer Canatal Satchnet Driver FS-8700-59 User Manual

Page 15

Advertising
background image

FS-8700-59 Canatal Driver Manual

Page 15 of 19

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: [email protected]

Appendix A. Useful Features

Appendix A.1. Retrieving Data from Tables with Mixed Data Formats

The driver uses the Data Format listed in Appendix C.1 as the default. If this format is used to store all the data, unexpected results will occur. Read the Canatal product
literature, to determine the table storage format of the point(s) of interest and over-ride the default format using the Cana_Format Parameter.

A separate Map Descriptor is required to poll data of each Data Type where mixed formats are stored in a table.

Appendix A.1.1.

Map Descriptor Example .

In this example two Map Descriptors are provided. They both read table 5 of a series 9 device. The default format used by the Driver is Byte, but the data is stored in
mixed formats. Thus it is necessary to consult the Canatal literature to determine the format of the required data and specify the Cana_Format keyword to override the
default data format. Refer to Appendix C.1

Map_Descriptor_Name

, Data_Array_Name

, Data_Array_Offset

, Function

, Node_Name

, Address

, Length

, Cana_Series

, Cana_Table

Scan_Interval

Cana_Format

TABLE05_1

, TBL05_DATA

, 0

, Rdbc

, DEV11

, 1

, 7

, 9

, 5

, 1.0s

, -

TABLE05_2

, TBL05_DATA

, 0

, Rdbc

, DEV11

,, 10

, 1

, 9

, 5

, 1.0s

, Swap_Int



This parameter over-rides the default data
type. According to the product specification
the Boiler Limit Time is stored as a Swapped
Integer

With the offset equal to zero the data is
placed in the array element equal to the
address. The offset is added to the address
when determining the element of the data
array to be used for storage.

This is the offset of the Boiler
Limit Time in Table 5.

Reads elements 1 through 7 from table 5 in a series 9 device. According to
the product specification the 8th element is stored using a different format
and thus using this Map Descriptor to read mixed data type will produce
unexpected results.

Advertising