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

Page 31

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

Image 31
Contents Effective for all systems manufactured after January 18 FS-8700-78 DartTable of Contents Driver Manual Dart Driver Description Performance IssuesProvided by user Hardware Connections Hardware Driver Manual Hardware Configuration Dart Present Example Driver Manual Basic ConfigurationData Arrays Section Title Column Title Function Legal ValuesNone Using a Dart ? Do not specifyDefault 1 second Driver Manual Client Side Connections Section TitleDriver Manual Client Side Nodes Section Title Timing Parameters Column Title Function Legal Values RDBC, WRBC, WrbxDriver Manual Page Page 5.1 Array Locations of ‘Everything’ Driver Manual Driver Manual Driver Manual Driver Manual Unit Types Driver Manual Reccomendation Driver Manual Map Descriptor Example 2 Writing a Set-PointPage Driver Manual Chapter Page Column Title Function Legal Values DAFunc Parameter Permitted values DAField Parameter Permitted values Func Description Driver ParameterSee .4.5.1 for all Other keywords Method Driver Manual DAMethod Parameter Values and NotesDriver Manual Advanced Example DADI1 Driver Manual AdvancedExampleApply method Extract 4 bytesStarting at ByteDAAI3 Unusedarray Driver Manual Ignored Messages Troubleshooting Tips Bad ValuesDriver Manual Related Documents Dead NodesDriver Manual Writing data to Dap Devices Rev1.06a-Rev0 Changes from previous releases Driver Manual Revision Change Notices