1 transfer to computer/printer – Campbell Scientific CR7 Measurement and Control System User Manual

Page 36

Advertising
background image

SECTION 1. FUNCTIONAL MODES

1-8

All data in Input, Intermediate and Final
Storage are erased when a command to load
a program is executed or when a program is
written to tape
.

If nothing is received within 30-40 seconds after
giving the command to load a program, the
command will be aborted and an error code
displayed (E99 for Storage Module or ASCII).
Commands 1, 2, and 71 are the only
commands that can be executed via
telecommunications (Section 5). For
commands 1 and 2, the CR7 will use the baud
rate already established in telecommunications
and will be ready to receive or send the file as
soon as the command is received.

TABLE 1.8-3. Program Load Error Codes

E 98

Uncorrectable errors detected

E 99

Wrong type of file or no data received

1.8.1 TRANSFER TO COMPUTER/PRINTER

This section describes commands 1 and 2
(Table 1.8-1). The PC208 Software
automatically uses these commands for
uploading and downloading programs.

SENDING ASCII PROGRAM INFORMATION

Command 1 is to send the program listing in
ASCII. At the end of the listing, the CR7 sends
control E (5 hex or decimal) twice. Except when
in telecommunications, the baud rate code must
be entered after command 1.

Table 1.8-4 is an example of the program listing
sent in response to command 1 (the actual
listing is in one column but is printed in two
columns to save space). Note that the listing
uses numbers for each mode: The numbers for
*A, *B, and *C modes are 10, 11, and 12,
respectively.

TABLE 1.8-4. Example Program Listing

From *D Command 1

MODE 1
SCAN RATE 2
1:P17
1:1
1:P0

2:P14
1:1
2:1
3:5
4:1
5:1
6:2
7:1
8:0

3:P92
1:0
2:5
3:10

MODE 1
SCAN RATE 2

4:P71
1:2
2:1

5:P0

MODE 2
SCAN RATE 0

MODE 3

MODE 4
1:0
2:0

MODE 10
1:28
2:64
3:19328
4:934

MODE 12
1:0
2:0

MODE 2
SCAN RATE 0

Advertising