| Page 28 of 48 |
Appendix B.3. DA_Field Parameter - Permitted values4.
DA_Field Legal |
| Description |
|
Values |
|
| |
|
|
| |
|
| DA_Func | # Bytes |
|
| 231 | |
|
| 41 | |
|
| 4 | |
|
| 240 | |
| The whole data record | 1 | |
| returned by the Server | 68 | |
| is stored in the Data | 124 | |
All | Array byte for byte. | 103 | |
| The number of bytes | 54 | |
| written is dependent on | 104 | |
| the DA_Func. | 89 | |
|
| 138 | |
|
| 9 | |
|
| 36 | |
|
| 12 | |
| Indicates that a user defined extraction is specified in the Map Descriptor. | ||
Special | 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 | |
| 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 } | |
Method 1: | Each byte being parsed is considered to be a hexadecimal digit with the most | |
significant digit being the | ||
| ||
| 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/%. | ||
| ||
| Each byte is regarded as containing a hexadecimal digit in ASCII format. | |
| Example: incoming byte contains 41(hex). | |
Method 3 | 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 | |
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. | |
| Processes an array of elements using method 1 translation. The raw data being | |
Method 6 | parsed is considered to consist of DA_elecnt elements each consisting of DA_bytecnt | |
| bytes. |
4See Section Appendix A for all other keywords.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.FieldServer.com Tel: (408)