Campbell 21X Operator's Manual page 171

Micrologger
Table of Contents

Advertisement

i
c.2
F|NAL STORAGE FORMAT
I
21X
data
is
fprmatted as either 2 byte LO
Resolution
oi 4
byte
Hl Resolution
values. The
first
two byteb of an output array contain
a
code
noting
the
stfrt
of
the output array and the
output array lD, 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 gent (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 bdlow.
LO
RESOLUTION
FORMAT.
D,E,F, NOT
ALL
BITS
DESCRIPTION
A
FolaritY,0=*, 1=-.
B,
C
pecimallocators
as defined below.
D-H
plus
t3
bit binary value (D=MSB).
APPENDIX
C.
BINARY TELECOMMUNICATIONS
second
Largest possible number
without
D,
E,
and
F
all
1
is 7167,
byte
but CAMPBELL SCIENTIFIC
delines the largest allowable range
as 6999.
The decimal locators can be viewed as a
negative
base
10
exponent with decimal
locations as follows:
C
Decimal Location
O
XXXX.
1
XXX.X
O
XX.XX
1
X.XXX
DATA TYPE WHEN D,E,F,
ALL EQUAL
ONE
lf 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.
B
0
0
1
1
ABCDEFGH
1111110X
XXO
111XX
0 01111XX
01111111
DATA TYPE AND SECOND BYTE FORMAT
A,B,C,
=
1
- Start of output array,
G=0. H
is
the most significant
bit
of
the output array
lD.
All
8 bits
of
the
2nd byte are also
included
in
the
lD.
C = 0
- First byte of
a
4 byte value.
A,B = 0; C
=
1
-
Third byte of
a
4 byte value
A =
0; remaining bits =
1
- First byte
of
a2byle
"dummy" word.
The CR10 always transmits a
0
for the 2nd byte, but the word
can be decoded on the basis
of
the 1st byte only.
c-3

Advertisement

Table of Contents
loading

Table of Contents