Xl™ series – Xylem XL Series H-522 - Plus User Manual
Page 189

XL™ Series
Operation with the GOES Radio 16-33
relative position of the character in the three byte pseudo-binary value as transmitted by the
XL™. To obtain the original value, add the weights of all three characters. If the value is greater
than 131071, then subtract 131072 from the value and change the sign to negative. Finally, divide
the number by 100. The following is an example:
H^g = (32768 + 1920 + 39) = 34727
H in the left position = 32768
^ in the middle position = 1920
g in the right position = 39
---------
Total = 34727
This is less than 131071 so just divide by 100.
Divide by 100. 34727 / 100 = 347.27 = final value.
Example of a negative number, negative numbers are represented as signed values, in other
words values bigger than 131071 are actually negative and
rSx=(204800 + 1216 + 56) = 206072
r in the left position
= 204800
S in the middle position
= 1216
x in the right position
= 56
------------
Total = 206072
This is greater than 131071 so subtract it from 131072.
206072 - 131072 = 75000
Then divide by 100 and change the sign. (-1) * 75000 / 100 = -750.00 = final value.
Appended battery values are encoded using a single byte. To decode the appended battery
voltage use the weighted value for the character from the right hand column and multiply it by
0.3124, and then add 0.311.
Example the single character for the appended battery voltage is ‘h’. This is a weighted
value of 40. Now 40 * 0.3124 + 0.311 = 12.81 volts.
Date and time are transmitted as 3 bytes each, a byte for date, one for month, one for year and so
on. An example of date and time values in binary follows, again use the right hand column of the
look up table..
CLHWxs
C = 3 = month, March;
L = 12 = Date, the 12 ;
H = 8 = Year, 2008.
th
W = 23 = Hours;
x = 56 = minutes,
s = 51 = seconds.