APPENDIX C. BINARY TELECOMMUNICATIONS
C-4
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
CR23X 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).
Representing the bits in the first byte of each
two byte pair as ABCD EFGH (A is the most
significant bit, MSB), the byte pairs are
described here.
LO RESOLUTION FORMAT - D,E,F,
NOT ALL ONES
Bits
Description
A
Polarity, 0 = +, 1 = -.
B, C
Decimal locators as defined below.
D-H plus
13 bit binary value (D=MSB).
second
Largest possible number without D,
E, and F all 1 is 7167,
byte
but CSI defines the largest
allowable range as 6999.
The decimal locators can be viewed as a
negative base 10 exponent with decimal
locations as follows:
B
C
Decimal Location
0
0
XXXX.
0
1
XXX.X
1
0
XX.XX
1
1
X.XXX
DATA TYPE WHEN D,E,F, ALL EQUAL ONE
If D, E, and F are all ones, the data type is
determined by the other bits as shown below. X
implies a "don't care" condition; i.e., the bit can
be either 1 or 0 and is not used in the decode
decision.
Содержание CR23X
Страница 8: ...CR23X TABLE OF CONTENTS vi This is a blank page ...
Страница 12: ...CR23X MICROLOGGER OVERVIEW OV 2 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE OV1 1 CR23X Micrologger ...
Страница 34: ...CR23X MICROLOGGER OVERVIEW OV 24 This is a blank page ...
Страница 50: ...SECTION 1 FUNCTIONAL MODES 1 16 This is a blank page ...
Страница 72: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 8 This is a blank page ...
Страница 88: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 10 This is a blank page ...
Страница 103: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 15 CR23X AVW1 FIGURE 7 15 2 Well Monitoring Example ...
Страница 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 22 This is a blank page ...
Страница 134: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 24 This is a blank page ...
Страница 164: ...SECTION 9 INPUT OUTPUT INSTRUCTIONS 9 30 This is a blankpage ...
Страница 188: ...SECTION 11 OUTPUT PROCESSING INSTRUCTIONS 11 8 This is a blankp age ...
Страница 221: ...SECTION 13 CR23X MEASUREMENTS 13 21 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 229: ...14 3 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE 14 3 1 CR23X Battery Pack and Panel ...
Страница 239: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 13 S A N Y O FIGURE 14 11 6 Removal of band clamp and battery ...
Страница 240: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 14 This is a blank page ...
Страница 244: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Страница 268: ...APPENDIX B CONTROL PORT SERIAL I O INSTRUCTION 15 B 24 This is a blank page ...
Страница 276: ...APPENDIX C BINARY TELECOMMUNICATIONS C 8 This is a blank page ...
Страница 278: ...This is a blank page ...
Страница 282: ...APPENDIX F DYNAGAGE SAP FLOW P67 F 4 This is a blank page ...
Страница 299: ...APPENDIX I TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Страница 300: ...This is a blank page ...
Страница 302: ...This is a blank page ...
Страница 308: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Страница 324: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Страница 340: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Страница 342: ...This is a blank page ...
Страница 373: ...This is a blank page ...