Operator`s manual

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 21X, allowing longer
periods between visits to the site. The standard data storage peripherals for the 21X are the cassette
tape (Section 4.3) and the Storage Module (Section 4.4). Output to a printer or related device is also
possible (Section 4.5). These peripherals are connected to the 21X through the 9 pin serial connector.
Data output to a peripheral device can take place ON-LINE (automatically, as part of the 21X's routine
operation) or it can be MANUALLY INITIATED. On-line data transfer is accomplished with Instruction 96
or with the *4 Mode (Section 4.1). Manual initiation is done in the *8 or *9 Modes (Section 4.2).
Regardless of the method, the source of any data transferred is Final Storage.
A modem is another type of peripheral that can be connected to the 21X. Communication via a modem
(Telecommunications) is discussed in Section 5.
The 21X can output data to multiple peripherals (i.e., a tape recorder, modem, and Storage Module
could all be connected at the same time). However, only one cassette recorder and only one modem
may be connected to the 21X at any one time. It is possible to connect two Storage Modules, although it
is seldom necessary.
The 21X can tell whether or not a SM192 or SM716 Storage Module is present. When Instruction 96 or
*9 is used to send data to one of these Storage Modules, the 21X will not send data if the Storage
Module is not connected (Section 4.4.2).
4.1 ON-LINE DATA TRANSFER -
INSTRUCTION 96, *4 MODE
On-line data transfer is accomplished with
Instruction 96 entered in the datalogger
program. The *4 Mode is retained from earlier
software to maintain compatibility with existing
programs. Use only one method to enable
output. If using Instruction 96, do not enable
output in the *4 Mode.
4.1.1 INSTRUCTION 96
Instruction 96 enables output to external storage
peripherals under program control. This
instruction must be included in the datalogger
program for on-line data transfer to take place.
Instruction 96 needs to be included only once in
the program tables, and should follow the Output
Processing Instructions. The suggested
programming sequence is:
1. Set the Output Flag.
2. 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 both tape
and a Storage Module or printer option,
Instruction 96 must be entered twice.
Instruction 96 has a single parameter which
specifies the peripheral to enable. Table 4.1-1
lists the output device codes.
TABLE 4.1-1. Output Device Codes for
Instruction 96
CODE DEVICE
00 Tape. Data transferred in blocks
of 512 Final Storage Locations
1x Printer, Printable ASCII
2x Printer, Binary
30 SM192/716 Storage Module
31 Send filemark to SM192/716
x = BAUD RATE CODE
0 300
1 1200
2 9600
3 76,800