FieldServer FS-8704-49 Computer Drive User Manual


 
FS-8700-49_Data_Aire_DAP Page 28 of 48
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: support@FieldServer.com
Appendix B.3. DA_Field Parameter - Permitted values
4
.
DA_Field Legal
Values
Description
DA_Func # Bytes
All
The whole data record
returned by the Server
is stored in the Data
Array byte for byte.
The number of bytes
written is dependent on
the DA_Func.
DA_Func=dart-password
DA_Func=dart-config
DA_Func=dap-config
DA_Func=dap-log
DA_Func=dap-unit
DA_Func=dap-stat
DA_Func=dap-xtra
DA_Func=dap-menu
DA_Func=chiller-stat
DA_Func=chiller-xtra
DA_Func=chiller-menu
DA_Func=dap80-menu
DA_Func=dart-status
DA_Func=dap80-analog
DA_Func=dap80-channels
231
41
4
240
1
68
124
103
54
104
89
138
9
36
12
Special
Indicates that a user defined extraction is specified in the Map Descriptor.
When this value is specified as the DA_Field value then DA_Method,
DA_Bytcnt, DA_Offset, DA_Elecnt must also be specfied.
Appendix B.4. DA_Method Parameter Values and Notes
The DA_Method specifies a method for interpreting a range of bytes when the DA_Field=special.
Method # Description
Method 1:
Each byte is valid when it contains only one of the following ASCII characters.
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F }
Each byte being parsed is considered to be a hexadecimal digit with the most
significant digit being the left-most byte.
The four bytes 30 31 32 33 (hex) are therefore interpreted as the hexadecimal
number 0123 and the decimal value is equal to 291.
Method 2
As method 1, but used for humidity's and temperatures which are transmitted as the
number of tenths of a unit – Thus the 4 bytes yield the decimal number 29.1 °F/%.
Method 3
Each byte is regarded as containing a hexadecimal digit in ASCII format.
Example: incoming byte contains 41(hex). -> regarded as the hexadecimal digit 'A' in
ASCII format.
The hex digit is converted to a series of 8 bits. In this example the bits are 00001010
with the msb being the left-most.
Method 4
As Method 3 except that the decimal value of this digit is written to the Data Array. In
this example the number 10 would be written to the Data Array.
Method 5 There is no translation - the raw bytes are written to the data array.
Method 6
Processes an array of elements using method 1 translation. The raw data being
parsed is considered to consist of DA_elecnt elements each consisting of DA_bytecnt
bytes.
4
See Section Appendix A for all other keywords.