Campbell Scientific CR510 Basic Datalogger User Manual

Page 68

Advertising
background image

SECTION 5. TELECOMMUNICATIONS

5-2

4.

An illegal character increments a counter
and zeros the command buffer, returning a

∗∗∗∗

.

5.

CR to datalogger means "execute".

6.

CRLF from datalogger means "executing
command".

7.

ANY character besides a CR sent to the
datalogger with a legal command in its buffer
causes the datalogger to abort the command
sequence with CRLF

∗∗∗∗

and to zero the

command buffer.

8.

All commands return a response code,
usually at least a checksum.

9.

The checksum includes all characters sent by
the datalogger since the last

∗∗∗∗

, including the

echoed command sequence, excluding only
the checksum itself. The checksum is
formed by summing the ASCII values, without
parity, of the transmitted characters. The
largest possible checksum value is 8191.
Each time 8191 is exceeded, the CR510
starts the count over; e.g., if the sum of the
ASCII values is 8192, the checksum is 0.

10. Commands that return Campbell Scientific

binary format data (i.e., F and K
commands) return a signature (see
Appendix B.3).

The CR510 sends ASCII data with 8 bits, no
parity, one start bit, and one stop bit.

After the CR510 answers a ring, or completes a
command, it waits about 40 seconds (127
seconds in the Remote Keyboard State) for a
valid character to arrive. It "hangs up" if it does
not receive a valid character in this time interval.
Some modems are quite noisy when not on line;
it is possible for valid characters to appear in
the noise pattern. To insure that this situation
does not keep the CR510 in
telecommunications, the CR510 counts all the
invalid characters it receives from the time it
answers a ring, and terminates communication
after receiving 150 invalid characters.

The CR510 continues to execute its
measurement and processing tasks while
servicing the telecommunication requests. If
the processing overhead is large (short
Execution Interval), the processing tasks will
slow the telecommunication functions. In a
worst case situation, the CR510 interrupts the
processing tasks to transmit a data point every
0.125 second.

The best way to become familiar with the
Telecommunication Commands is to try them
from a terminal connected to the CR510 via the
SC32A (Section 6.7.1) or other interface.
Commands used to interrogate the CR510 in
the Telecommunications Mode are described in
the following Table.

Advertising