SECTION 1. FUNCTIONAL MODES
1-9
LOAD PROGRAM FROM ASCII FILE
Command 2 sets up the CR7 to load a serial
ASCII program. The format is the same as sent
in response to command 1 (Table 1.8.4).
Except when in telecommunications, the baud
rate code must be entered after command 2.
A download file need not follow exactly the
same format that is used when listing a program
(i.e., some of the characters sent in the listing
are not really used when a program is loaded).
Some rules which must be followed are:
1.
"
M
" must be the first character other than a
carriage return (CR) or line feed (LF). The
"
M
" serves the same function as "
*
" does
from the keyboard. The order that the
Modes are sent in does not matter (i.e., the
information for Mode 4 could be sent before
that for Mode 1).
2.
"
S
" is necessary prior to the execution
interval (Scan rate).
3.
The colons (
:
) are used to mark the start of
actual data.
4.
A semicolon (
;
) tells the CR7 to ignore the
rest of the line and can be used after an
entry so that a comment can be added.
There are 4 two-character control codes which
may be used to verify that the CR7 receives a
file correctly:
^B ^B
(2hex, 2hex) Discard current buffer
and reset signature
^C ^C
(3hex, 3hex) Send signature for
current buffer
^D ^D
(4hex, 4hex) Load current buffer and
reset signature
^E ^E
(5hex, 5hex) Exit and compile program
As a download file is received, the CR7 buffers
the data in memory; the data is not loaded into
the editor or compiled until the CR7 receives a
command to do so. The minimum file that
could be sent is the program listing, then
^E^E
.
^C^C
tells the CR7 to send the signature
(Section C.3) for the current buffer of data. If
this signature does not match that calculated by
the sending device,
^B^B
can be sent to
discard the current buffer and reset the
signature. If the signature is correct,
^D^D
can
be sent to tell the CR7 to load the buffer into the
editor and reset the signature. Once the
complete file has been sent and verified, send
^E^E
to compile the program and exit the load
command.
1.8.2 PROGRAM TRANSFER WITH STORAGE
MODULE
The SM192/716 Storage Module must be
connected to the CR7. Key
*D
, then enter
command 71. The command to save, load, or
clear a program and the program number
(Table 1.8-2) is entered. After the operation is
finished, "13:0000" is displayed.
The datalogger can be programmed on power-
up using a Storage Module. Storage Modules
can store up to eight separate programs. If a
program is stored as program number 8, and if
the Storage Module is connected to the
datalogger serial port at power-up, program
number 8 is downloaded to the datalogger and
compiled.
Содержание CR7
Страница 2: ...This is a blank page ...
Страница 4: ...This is a blank page ...
Страница 28: ...CR7 MEASUREMENT AND CONTROL SYSTEM OVERVIEW OV 18 This is a blank page ...
Страница 38: ...SECTION 1 FUNCTIONAL MODES 1 10 This is a blank page ...
Страница 42: ...SECTION 2 INTERNAL DATA STORAGE 2 4 This is a blank page ...
Страница 52: ...SECTION 3 INSTRUCTION SET BASICS 3 10 This is a blank page ...
Страница 57: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 5 FIGURE 4 4 1 Example of CR7 Printable ASCII Output Format ...
Страница 58: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 6 This is a blank page ...
Страница 68: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 6 This is a blank page ...
Страница 140: ...SECTION 13 CR7 MEASUREMENTS 13 16 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 162: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Страница 164: ...B 2 This is a blank page ...
Страница 170: ...APPENDIX C BINARY TELECOMMUNICATIONS C 6 This is a blank page ...
Страница 173: ...APPENDIX D CALIBRATION PROCEDURES D 3 FIGURE D 2 1 Calibration Points for the Analog Interface Card ...
Страница 174: ...APPENDIX D CALIBRATION PROCEDURES D 4 FIGURE D 2 2 CR7X CPU Card ...
Страница 186: ...CR7 INDEX I 8 This is a blank page ...