Mode Entries - Campbell CR510 Operator's Manual

Datalogger
Hide thumbs Also See for CR510:
Table of Contents

Advertisement

SECTION 4. EXTERNAL STORAGE PERIPHERALS
Instruction 96 has a single parameter which
specifies the peripheral to send output to. Table
4.1-1 lists the output device codes.
TABLE 4.1-1. Output Device Codes for
Instruction 96 and 8 Mode
Code
Device
ADDRESSED PRINTER
1y
Printable ASCII
2y
Comma separated ASCII
3y
Binary
PIN ENABLED PRINTER
4y
Printable ASCII
5y
Comma separated ASCII
6y
Binary
y = BAUD RATE CODES
0
300
1
1200
2
9600
3
76,800
7N
Storage Module N (N=address, 1...8)
7N--
Output File Mark to Storage Module N
80
To the other Final Storage Area [Inst.
96 only], new data since last output
81
To the other Final Storage Area
[Inst. 96 only], entire active Final
Storage Area
The source of data for Instruction 96 is the
currently active Final Storage Area as set by
Instruction 80 (the default is Final Storage Area 1
at the beginning of each program table execution).
If the CR510 is using the 9-pin connector for
other I/O tasks when Instruction 96 is executed,
the output request is put in a queue and
program execution continues. As the 9-pin
Display
Key
ID:DATA
8
08:00
A
01:XX
A
02:XXXXX
A
03:XXXXX
A
04:00
4-2
TABLE 4.2-1.

8 Mode Entries

Description
Key 1 or 2 for Storage Area. (This window is skipped if no memory has
been allocated to Final Storage Area 2.)
Key in Output Device Option. See Table 4.1-1.
Start of dump location. Initially the SPTR or PPTR location; a different
location may be entered if desired.
End of dump location. Initially the DSP location; a different location may
be keyed in if desired.
Ready to dump. To initiate dump, key any number, then A. While
dumping, "04" will be displayed in the ID field and the location number
in the Data field. The location number will stop incrementing when the
dump is complete. (Any key aborts transmission after completion of the
current data block.)
connector becomes available, each device in
the queue gets its turn.
An output request is not put in the queue if the
same device is already in the queue. The data
contained in the queue (and which determine a
unique entry) are the device, baud rate (if
applicable), and the Final Storage Area.
When an entry reaches the top of the queue, the
CR510 sends all data accumulated since the last
transfer to the device up to the location of the
DSP at the time the device became active.
Printer output can be either pin-enabled or
addressed. However, there is not a pin
specifically dedicated to print enable. When a
pin-enabled print output is specified, the SDE
line, which is normally used in the addressing
sequence, is used as a print enable. This
allows some compatibility with the CR21, 21X,
and CR7 dataloggers which have a Print Enable
line. The pin-enabled print option will result in
garbage being sent to the print peripheral if an
addressed device is also connected to the
CR510 (i.e., CR10KD, SM192 or SM716 etc.).
The SDC99 Synchronous Device Interface can
convert a print device to an Addressed
peripheral (Section 6.2).
The STORAGE MODULE address is important
only when using more than one Storage
Module. One is a universal address which will
find the Storage Module with lowest number
address that is connected. If a Storage Module
is not connected, the CR510 will not advance
the SPTR (Section 2.1) and the Storage Module
drops out of the queue until the next time
Instruction 96 is executed. Section 4.4 contains
specifics on the Storage Modules.

Advertisement

Table of Contents
loading

Table of Contents