APPENDIX C. BINARY TELECOMMUNICATIONS
C-3
As an example of a negative value, the
datalogger returns BF 82 0C 49 HEX.
Data byte 1 = BF HEX.
Data byte 2 to 4 = 82 0C 49 HEX (or 8522825
decimal).
Data byte 1 is converted to binary to find the
Sign. BF HEX = 10111111 BINARY.
The most significant bit is 1 so the Sign is
NEGATIVE.
The exponent is found by subtracting 40 HEX
from the remaining least significant bits.
Converting the binary to hexadecimal, 111111
BINARY = 3F HEX (or 63 decimal).
3F - 40 HEX = FF FF FF FF FF HEX. Or in
decimal: 63 - 64 = -1.
Exponent is -1 decimal.
The binary representation of Data bytes 2 to 4
is: 10000010 00001100 01001001.
Summing all the fractional values: 2
-1
+ 2
-7
+
2
-13
+ 2
-14
+ 2
-18
+ 2
-21
+ 2
-24
= 0.50800.
Using the estimate method to find the Mantissa =
82 0C 49 HEX / 1 00 00 00 HEX (or 8522825 /
16777216) which is 0.50800 decimal.
The value is then (-)0.508*2
-1
which equals
-0.254.
As an example of a positive value, the
datalogger returns 44 D9 99 9A HEX.
Data byte 1 = 44 HEX.
Data byte 2 to 4 = D9 99 9A HEX (or 891290
decimal).
Data byte 1 is converted to binary to find the
Sign. 44 HEX = 01000100 BINARY.
NOTE:
Don’t lose the leading zero!
The most significant bit is 0 so the Sign is
POSITIVE.
The exponent is found by subtracting 40 HEX
from the remaining least significant bits.
Converting the binary to hexadecimal, 1000100
BINARY = 44 HEX (or 68 decimal).
44 - 40 HEX = 4 HEX. Or in decimal:
68 - 64 = 4.
Exponent is 4 decimal.
The binary equivalent of Data bytes 2 to 4 is:
11011001 10011001 10011010.
Summing all the fractional values:
2
-1
+ 2
-2
+ 2
-4
+ 2
-5
+ 2
-8
+ 2
-9
+ 2
-12
+ 2
-13
+ 2
-16
+
2
-17
+ 2
-20
+ 2
-21
+ 2
-23
= 0.85000.
Using the estimate method to find the Mantissa =
D9 99 9A HEX / 1 00 00 00 HEX (or 14260634 /
16777216) which is 0.85000 decimal.
The value is then (+)0.85*2
4
which equals
13.60.
If appropriately requested by a J command,
Final Storage data, if any, will immediately
follow the input location data. Refer to the
datalogger manual for a description of how to
decode Final Storage data in CSI's binary data
format. Final Storage data will be limited to not
more than 1024 bytes per K command.
The K command data is terminated with 7F 00
HEX (a unique binary format code) followed by
two signature bytes. Refer to the datalogger
manual for the meaning and calculation of the
signature bytes. The signature in this case is a
function of the first time byte through the 7F 00
HEX bytes. Calculate the signature of the bytes
received and compare with the signature
received to determine the validity of the
transmission.
C.2 FINAL STORAGE FORMAT
CR10 data is formatted as either 2 byte LO
Resolution or 4 byte HI Resolution values. The
first two bytes of an Output Array contain a unique
code (FC Hex) noting the start of the Output Array
and the Output Array ID, followed by the 2 or 4
byte data values. At the end of the data sent in
response to the telecommunications F command a
2 byte signature is sent (see below).
Содержание CR10 PROM
Страница 2: ...This is a blank page ...
Страница 4: ...This is a blank page ...
Страница 9: ...CR10 TABLE OF CONTENTS v LIST OF TABLES LT 1 LIST OF FIGURES LF 1 INDEX I 1 ...
Страница 10: ...CR10 TABLE OF CONTENTS vi This is a blank page ...
Страница 14: ...CR10 OVERVIEW OV 2 ...
Страница 15: ...CR10 OVERVIEW OV 3 FIGURE OV1 1 1 CR10 and Wiring Panel ...
Страница 16: ...CR10 OVERVIEW OV 4 FIGURE OV1 1 2 CR10 Wiring Panel Instruction Access ...
Страница 17: ...CR10 OVERVIEW OV 5 ...
Страница 34: ...CR10 OVERVIEW OV 22 ...
Страница 35: ...CR10 OVERVIEW OV 23 FIGURE OV6 1 1 Data Retrieval Hardware Options ...
Страница 36: ...CR10 OVERVIEW OV 24 OV7 SPECIFICATIONS ...
Страница 37: ...CR10 OVERVIEW OV 25 ...
Страница 38: ...CR10 OVERVIEW OV 26 ...
Страница 51: ...SECTION 1 FUNCTIONAL MODES 1 13 This is a blank page ...
Страница 53: ...2 2 ...
Страница 62: ...SECTION 3 INSTRUCTION SET BASICS 3 6 ...
Страница 63: ...SECTION 3 INSTRUCTION SET BASICS 3 7 ...
Страница 68: ...SECTION 3 INSTRUCTION SET BASICS 3 12 This is a blank page ...
Страница 74: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 6 ...
Страница 79: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 11 10 0X X is current address enter address to change to 1 8 ...
Страница 88: ...6 5 FIGURE 6 6 1 Addressing Sequence for the RF Modem ...
Страница 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 17 FIGURE 7 16 2 Well Monitoring Example ...
Страница 132: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 13 This is a blank page ...
Страница 197: ...SECTION 13 CR10 MEASUREMENTS 13 18 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 203: ...SECTION 13 CR10 MEASUREMENTS 13 24 This is a blank page ...
Страница 215: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 12 This is a blank page ...
Страница 218: ...APPENDIX A GLOSSARY A 3 and computers in a terminal mode fall in this category ...
Страница 220: ...APPENDIX A GLOSSARY A 5 This is a blank page ...
Страница 228: ...APPENDIX C BINARY TELECOMMUNICATIONS C 6 This is a blank page ...
Страница 230: ...This is a blank page ...
Страница 232: ...This is a blank page ...
Страница 234: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 2 FIGURE G 1 Disassembling CR10 ...
Страница 235: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 3 FIGURE G 2 Jumper Settings for Different RAM Configurations in Early CR10s ...
Страница 236: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 4 FIGURE G 3 Jumper Settings and Locations ...
Страница 237: ...APPENDIX G CHANGING RAM OR PROM CHIPS G 5 This is a blank page ...
Страница 241: ...LIST OF TABLES LT 4 This is a blank page ...
Страница 253: ...CR10 INDEX I 10 This is a blank page ...