![Sutron Xpert2 Скачать руководство пользователя страница 318](http://html1.mh-extra.com/html/sutron/xpert2/xpert2_operation-and-maintenance-manual_1407882318.webp)
Bringing the Benefits of Real-Time Data Collection to the World
Sutron Corporation, Tel: 703-406-2800,
http://www.sutron.com
308
Finally, we add 64 to each piece and convert to ASCII (since the second piece is 63 we leave it
alone):
124, 63, 71 = ASCII "|?G"
Example 4
. Decoding the 3 byte string "@SW":
This is just like encoding except we follow the steps backward.
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
SHEF and SHEFFIX
“SHEF” format conforms to NESDIS Standard Decimal format specifications. The format is
ASCII and readable by persons without the aid of a computer. Sensor data consists of label, age
of the data in minutes, the data interval in minutes, and data values listed most recent first (left in
example diagram). The label in the transmission comes from the Label property of the associated
telemetry setup block.
This message has three measurements, each with two readings, and battery voltage appended:
:HG 0 #15 10.20 10.15 :PC 0 #15 50 49 :TA 0 #15 -22.1 -22.0 :VB 0 12.2
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | +- VB Reading
| | | | | | | | | | | | | | | | + -- Offset time
| | | | | | | | | | | | | | | +------ Sensor Name, VB
| | | | | | | | | | | | | | +------------- TA #2
| | | | | | | | | | | | | +------------------- TA #1
| | | | | | | | | | | | +---------------------- Interval
| | | | | | | | | | | +------------------------- Offset time
| | | | | | | | | | +---------------------------- Sensor Name, TA
| | | | | | | | | +-------------------------------- PC #2
| | | | | | | | +----------------------------------- PC #1
| | | | | | | +-------------------------------------- Interval
| | | | | | +----------------------------------------- Offset time
| | | | | +-------------------------------------------- Sensor Name, PC
| | | | +--------------------------------------------------- HG #2
| | | +--------------------------------------------------------- HG #1
| | +------------------------------------------------------------ Interval
| +--------------------------------------------------------------- Offset time
+------------------------------------------------------------------ Sensor Name, HG
“SHEF Fixed” is a special version of the SHEF format where numbers are fixed to seven
character:
:HG 0 #15 -12345. 12345.1 :PC 0 #15 12345.1 1234.11
Содержание Xpert2
Страница 2: ......
Страница 11: ...Chapter 1 Introduction...
Страница 16: ......
Страница 17: ...Chapter 2 Getting Started...
Страница 86: ......
Страница 87: ...Chapter 4 Graphical Setup Diagrams...
Страница 104: ......
Страница 105: ...CHAPTER 5 EXAMPLE SETUPS...
Страница 128: ......
Страница 129: ......
Страница 130: ......
Страница 131: ...Chapter 7 Installation...
Страница 140: ......
Страница 141: ...Chapter 8 Maintenance and Troubleshooting...
Страница 145: ...Appendix A Setup Blocks...
Страница 266: ......
Страница 267: ...Appendix B Updating the Firmware...
Страница 290: ......
Страница 291: ...Appendix E Software Development Kit SDK...
Страница 293: ...Appendix F Creating Custom Voice Files...
Страница 330: ......