Driver Manual

6.1.5AdvancedExample 2

The DAP-II Status query returns 14 bytes of errors & status information. The arrangement and meaning of these bytes is defined by the Data Aire Corporation and is also dependent on the type of DAPII module being polled.

Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, node_name, Address, Length, DA_Func, DA_Field,

Scan_Interval

A1,

DA_AI1,

0,

rdbc,

Node_A,

0,

1 ,

dap-stat,

errors

,5

A2,

DA_DI1,

1,

passive,

Node_A,

0,

1 ,

dap-stat,

bitErrors

,5

The 'errors' key word returns 14 bytes, thus we DA_AI1 should be a BYTE array. Each byte will have values 0-15 to represent the value of the bits in each byte.

The bitErrors extracts the same data from the DAP but presents it as a series of 14x8 bits. Thus make

Slave is a DAP and we are reading status information.

Data arrangement and meaning of each error is defined by Data Aire Corp.

Example: Bit 24 is a LOW TEMP

WARNING for DAPII-044/8/9 units.

Example: Bit 09 is a HUMIDITY SENSOR PROBLEM for a DAPII-080 unit.

BitErrors is a synonym for errors. The data is extracted using a different data format.

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

Visit our website: www.sierramonitor.com E-mail: sierra@sierramonitor.com Page 29

Page 31
Image 31
FieldServer FS-8700-78 instruction manual Driver Manual AdvancedExample, DADI1