Section 4. external storage peripherals, 1 on-line data transfer - instruction 96 – Campbell Scientific CR23X Micrologger User Manual
Page 65

4-1
SECTION 4. EXTERNAL STORAGE PERIPHERALS
External data storage devices are used to provide a data transfer medium that the user can
carry from the test site to the lab and to supplement the internal storage capacity of the CR23X,
allowing longer periods between visits to the site. The standard data storage peripheral for the
CR23X is the Storage Module (Section 4.4). Output to a printer or related device is also
possible (Section 4.3).
Data output to a peripheral device can take place ON-LINE (automatically, as part of the
CR23X’s routine operation) or it can be MANUALLY INITIATED. On-line data transfer is
accomplished with Instruction 96 (Section 4.1). Manual initiation is done in the
8
Mode
(Section 4.2).
The CR23X can output data to multiple peripherals. The CR23X activates the peripheral it
sends data to in one of two ways (Section 6.2):
1.
A specific pin in the CS I/O connector is dedicated to that peripheral; when that pin goes
high, the peripheral is enabled. This is referred to as "PIN-ENABLED" or simply
"ENABLED".
2.
The peripheral is synchronously addressed by the CR23X. This is referred to as
"ADDRESSED".
Modems are pin-enabled. Only one modem device may be connected to the CR23X at any one
time.
The SM192, SM716, and CSM1 Storage Modules are addressed. The CR23X can tell when the
addressed device is present. The CR23X will not send data meant for the Storage module if the
Storage Module is not present (Section 4.4.2).
The
9
Mode (Section 4.5) allows the user to communicate directly with the Storage Module
and to perform several functions, including review of data, battery test, review of Storage Module
status, etc.
Cassette tape data storage is not supported by the CR23X.
4.1 ON-LINE DATA TRANSFER -
INSTRUCTION 96
All on-line data output to a peripheral device is
accomplished with Instruction 96. (Instruction
96 can also be used to transfer data from one
Final Storage Area to the other, Section 8.8,
12). This instruction must be included in the
datalogger program for on-line data transfer to
take place. Instruction 96 should follow the
Output Processing Instructions, but only needs
to be included once in the program table unless
both Final Storage areas are in use. The
suggested programming sequence is:
1.
Set the Output Flag.
2.
If both Final Storage Areas are in use or if
you wish to set the Output Array ID, enter
Instruction 80 (Section 11).
3.
Enter the appropriate Output Processing
Instructions.
4.
Enter Instruction 96 to enable the on-line
transfer of Final Storage data to the
specified device. If outputting to more than
one device, Instruction 96 must be entered
separately for each device.
5.
Repeat steps 2 through 4 if you wish to
output data to the other Final Storage Area
and the peripheral.