beautypg.com

Appendix e. fp2 data format – Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual

Page 535

background image

535 

 

Appendix E. FP2 Data Format

FP2 data are two-byte big-endian values. Representing bits in each byte pair as
ABCDEFGH IJKLMNOP, bits are described in table FP2 Data-Format Bit
Descriptions

(p. 535).

Table 122. FP2 Data-Format Bit Descriptions

Bit Description

A

Polarity, 0 = +, 1 = –

B, C

Decimal locaters as defined in the table FP2 Decimal Locater Bits.

D - P

13-bit binary value, D being the MSB (p. 205). Largest 13-bit magnitude is 8191, but
Campbell Scientific defines the largest-allowable magnitude as 7999

Decimal locaters can be viewed as a negative base-10 exponent with decimal
locations as shown in table FP2 Decimal-Locater Bits

(p. 535).

Table 123. FP2 Decimal-

Locater Bits

B C Decimal

Location

0 0

XXXX.

0 1

XXX.X

1 0

XX.XX

1 1

X.XXX