XLINK 500/100 Operations & Maintenance Manual page # 146
First we convert all the characters to ASCII decimal codes:
ASCII @SW = 64, 83, 87
Now we subtract 64 from each piece and convert to 6-bit binary:
0, 19, 23 = 000000 010011 010111
Finally, we combine all the bits to form one 18-
bit two’s complement number and
convert to base 10:
000000010011010111 = 1239
15.5.
Pseudobinary over SMS
Some bytes that are normally used as a part of Pseudobinary transmissions are not allowed in
SMS. When the station sends Pseudobinary data over SMS, those bytes are replaced according
to the following table:
[
5B 1
\ 5C 2
]
5D 3
^ 5E 4
`
60 5
{
7B 6
| 7C 7
}
7D 8
~ 7E 9
[
5B 1
15.6.
SHEF and SHEFFIX Data Format
SHEF is a format that is commonly used by Sutron's satellite transmitters. It is an ASCII format
that is easy to read and contains some self-descriptive information.
The format of the transmission data is:
: <LABEL1> <OFFSET> #<INTERVAL> <DATA1> <DATA1> ... <DATA1)>
: <LABEL2> <OFFSET> #<INTERVAL> <DATA2> <DATA2> ... <DATA2>
...
: <LABEL(N)> <OFFSET> #<INTERVAL> <DATA(N)> <DATA(N)> ... <DATA(N)>
LABEL
This is the
Label
entered as a part of the setup for each
measurement. The label can be a SHEF two-character parameter
code such as HF for gauge height or PC for cumulative precipitation,
or it can be any string you enter. Refer to
http://noaasis.noaa.gov/DCS/htmfiles/schefcodes.html for a list of
SHEF codes commonly used.
OFFSET
This number indicates how long ago the sensor reading was made.
The number is in minutes, and it refers to the most recent data. It is
relative to transmission start.
INTERVAL
The interval indicates how often the measurement was made. It
corresponds to the setting
Meas Interval.