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.
Содержание CR510
Страница 1: ...CR510 DATALOGGER OPERATOR S MANUAL REVISION 2 03 COPYRIGHT c 1986 2003 CAMPBELL SCIENTIFIC INC ...
Страница 2: ...This is a blank page ...
Страница 4: ...This is a blank page ...
Страница 10: ...This is a blank page ...
Страница 44: ...SECTION 1 FUNCTIONAL MODES 1 14 This is a blank page ...
Страница 56: ...SECTION 3 INSTRUCTION SET BASICS 3 8 ...
Страница 104: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 8 This is a blank page ...
Страница 128: ...SECTION 10 PROCESSING INSTRUCTIONS 10 8 This is a blank page ...
Страница 144: ...SECTION 12 PROGRAM CONTROL INSTRUCTIONS 12 10 This is a blank page ...
Страница 172: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 10 This is a blank page ...
Страница 176: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Страница 184: ...This is a blank page ...
Страница 188: ...APPENDIX D DATALOGGER INITIATED COMMUNICATIONS D 4 This is a blank page ...
Страница 196: ...APPENDIX F MODBUS ON THE CR10 X AND CR510 F 4 This is a blank page ...
Страница 197: ...APPENDIX G TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Страница 198: ...This is a blank page ...
Страница 200: ...This is a blank page ...
Страница 206: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Страница 222: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Страница 238: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Страница 240: ...This is a blank page ...