FieldServer FS-8700-59 instruction manual TBL05DATA ,0 Rdbc , DEV11

Page 9

FS-8700-59 Canatal Sachnet

Driver Manual

4.4.5 Map Descriptor Example 2

In this example two map descriptors are provided. They both read table 16 of a series 9 device. You will see though that the 2nd map descriptor has an extra keyword to override the default format. Read section 6.1 form more information on default data formats.

//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.

Map_Descriptors

Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, node_name, Address, Length, Cana_Series, Cana_table, Scan_Interval

TABLE05_1

,TBL05_DATA ,0

, rdbc , DEV11 , 1

, 6

, 9

, 5

, 1.0s

//Reads the Boiler Limit Time (Offset 10) from table 5 in a series 9 device According to the product specification the Boiler Limit Time is stored as a Swapped Integer. The Default format this driver uses for the table is Byte.

Map_Descriptors

Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, node_name, Address, Length, Cana_Series, Cana_table, Cana_format, Scan_Interval

TABLE05_2

,TBL05_DATA , 0

, rdbc , DEV11 , 7

, 1

, 9

, 5

, swap_int , 1.0s

Any name that is meaningful to you. The driver validates map descriptors and reports errors referring to the map

descriptor name.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.

This parameter over-rides the default data type. It is only required if you need to over- ride the driver's default.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042

Visit our website: www.fieldserver.com E-mail: support@fieldserver.com

Page 7

Image 9 Contents
FS-8700-59 Canatal Satchnet Driver Table of Contents RS-485 connection adapter Driver Manual Supplied by FieldServer Technologies for this driverProvided by user Canatal Device UTP or similar cable with RJ11 adapterHardware Connections Interconnecting Cable Characteristics Column Title Function Legal Values Data ArraysClient Side Nodes Client Side ConnectionsFieldServer Specific Map Descriptor Parameters Client Side Map DescriptorsDriver Specific Map Descriptor Parameters Timing ParametersDEV23COOL Anaout Map Descriptor ExampleTBL05DATA ,0 Rdbc , DEV11 Data Arrays Server Side Nodes Server Side ConnectionsServer Side Map Descriptors DEV11TBL5 Canatal Device Data Tables Driver NotesSeries Data Format Max Read Description Troubleshooting Error. Poll%d/Response%d Tables Not Equal Error. Poll%d/Response%d Stns Not EqualThat the device is not functioning correctly CANA#15