FieldServer FS-8700-78 instruction manual Driver Manual DAMethod Parameter Values and Notes

Page 29

Driver Manual

6.1.3DA_Method Parameter Values and Notes

The DA_Method specifies a method for interpreting a range of bytes when the DA_Field=special.

Method 1:

Each byte is valid when its 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. The most significant digit is the left most byte.

Thus the four bytes

30 31 32 33 (hex) are interpreted by regarding the ASCII value of each byte as a hexadecimal digit. Thus we interpret the 4 bytes as the hexadecimal number 0123 and the decimal value is equal to 291.

Method 2

This method is the same as method one but is used for humidity's and temperatures which are transmitted as the number of tenths of a unit.

Thus in the example of method 1. 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). -> regard as the hexadecimal digit 'A' in ASCII format.

The method then converts the hex digit to a series of 8 bits. In this example the bits are 00001010 with the msb being the left most.

Method 4

Each byte is regarded as containing a hexadecimal digit in ASCII format.

Example: incoming byte contains 41(hex). -> regard as the hexadecimal digit 'A' in ASCII format. The decimal value of the 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. Method 1 is applied to each cluster of bytes.

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 27

Image 29
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 Data Arrays Section Title Driver Manual Basic ConfigurationColumn Title Function Legal Values ExampleDefault 1 second Using a Dart ? Do not specifyDriver Manual Client Side Connections Section Title NoneDriver 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 AdvancedExampleStarting at Extract 4 bytesByte Apply methodDAAI3 Unusedarray Driver Manual Driver Manual Related Documents Troubleshooting Tips Bad ValuesDead Nodes Ignored MessagesDriver Manual Writing data to Dap Devices Rev1.06a-Rev0 Changes from previous releases Driver Manual Revision Change Notices