Map Descriptor Example 2 - FieldServer FS-8700-59 Canatal Satchnet Driver Manual

Fs-8700-59 canatal satchnet
Hide thumbs Also See for FS-8700-59 Canatal Satchnet:
Table of Contents

Advertisement

FS-8700-59 Canatal Sachnet

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
// 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
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.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042
, rdbc
, DEV11 , 1
, rdbc
, DEV11 , 7
Visit our website: www.fieldserver.com
Driver Manual
, 6
, 9
, 5
, 1
, 9
, 5
This is the offset of the
Boiler Limit Time in Table 5.
E-mail: support@fieldserver.com
Page 7
, 1.0s
, swap_int , 1.0s
This parameter over-rides the
default data type. It is only
required if you need to over-
ride the driver's default.

Advertisement

Table of Contents
loading

Table of Contents