Map descriptor example – FieldServer Canatal Satchnet Driver FS-8700-59 User Manual

Page 10

Advertising
background image

FS-8700-59 Canatal Driver Manual

Page 10 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]

5.3.4 Map Descriptor Example

In this example two Map Descriptors are provided. The first reads Device 11 (a Series 2 device) and obtains the Alarm Table. The second Map Descriptor reads Device 23
(a series 9 device) and reads the Cooling analog output (2nd element of table 10).

Map_Descriptor_Name

, Data_Array_Name

, Data_Array_Offset

, Function

, Node_Name

, Address

, Length

, Cana_Series

, Cana_Table

, Scan_Interval

DEV11_ALMS

, ALARMS

, 220

, Rdbc

, DEV11

, 0

, 1

, 2

, 11

, 1.0s

DEV23_COOL

, ANA_OUT

, 0

, Rdbc

, DEV23

, 1

, 1

, 9

, 10

, 1.0s




You need to know the
series of the device you
are polling and table
number of the table that
contains the data of
interest. Refer to
Appendix C.1

Use any name
that is
meaningful. The
driver validates
Map Descriptors
and reports
errors referring
to the Map
Descriptor name.

The data arrays are defined in the
Data_Arrays part of the CSV. Based on
these exampled the array called ALARMS
should be a byte or integer array as
alarms have the value 0,1 or 2 (acked) and
it must be at least 239 (220+19) elements
in size. The array ANA_OUT is probably a
FLOAT and should have at least 1 element
in size.

These Map
Descriptors
generate read
polls on a
continuous
basis.

This is the offset into the
table being polled.
Refer to Canatal
International
Corporation Inc. Product
Literature to determine
the required offset.

The first element from
table 11 will be placed
in element 220 (the
221st element) of the
array ALARMS.

The number of items being
read. Not the number of
bytes being read.

The polls will
occur every
second.

Advertising