Ov4.5 Entering A Program; Ov5. Programming Examples - Campbell CR10 Operator's Manual

Measurement and control module
Hide thumbs Also See for CR10:
Table of Contents

Advertisement

CR10 OVERVIEW
temperature of the thermistor on channel 1
would be stored in input location 5, the
temperature from channel 2 in input location 6,
etc.
Detailed descriptions of the instructions are
given in Sections 9-12. Entering an instruction
into a program table is described in OV5.

OV4.5 ENTERING A PROGRAM

Programs are entered into the CR10 in one of
three ways:
1. Keyed in using the CR10 keyboard.
2. Loaded from a pre-recorded listing using
the *D Mode. There are 3 types of
storage/input:
a. Stored on disk/sent from computer
(PC208 software GraphTerm and
EDLOG).
b. Stored/loaded from SM192/716 Storage
Module.
3. Loaded from internal PROM (special soft-
ware) or Storage Module upon power-up.
A program is created by keying it directly into
the datalogger as described in Section OV5, or
on a PC using the PC208 Datalogger Support
Software.
EDLOG and GraphTerm are PC208 Software
programs used to develop and send programs to
Campbell Scientific dataloggers. EDLOG is an
editor for writing and documenting programs for
Campbell Scientific dataloggers. Program files
developed with EDLOG can be downloaded directly
to the CR10 using GraphTerm. GraphTerm
supports communication via direct wire, telephone,
or Radio Frequency (RF).
Programs on disk can be copied to a Storage
Module with SMCOM. Using the *D Mode to
save or load a program from a Storage Module
is described in Section 1.8.
It is possible (with special software) to create a
PROM (Programmable Read Only Memory) that
contains a datalogger program. With this
PROM installed in the datalogger, the program
will automatically be loaded and run when the
datalogger is powered-up, requiring only that
the clock be set.
The program on power up function can be
achieved by using a SM192/716 Storage
OV-12
Module. Up to 8 programs can be stored in the
Storage Module, the programs may be assigned
any of the numbers 1-8. If the Storage Module
is connected when the CR10 is powered-up the
CR10 will automatically load program number 8,
provided that a program 8 is loaded in the
Storage Module (Section 1.8).

OV5. PROGRAMMING EXAMPLES

We will start with a simple programming
example. There is a brief explanation of each
step to help you follow the logic. When the
example uses an instruction, find it on the
Prompt Sheet and follow through the description
of the parameters. Using the Prompt Sheet
while going through these examples will help
you become familiar with its format. Sections 9-
12 have more detailed descriptions of the
instructions.
Connect the CR10 to either a CR10KD
Keyboard/Display or a terminal (Section OV2).
With the Wiring Panel connected to the CR10,
hook up the power leads as described in
Section OV1.2. If using a terminal, use the 7H
command to get into the Remote Keyboard
State (Sections 5.2). The programming steps in
the following examples use the keystrokes
possible on the keyboard/display. With a
terminal, some responses will be slightly
different.
If the CR10KD is connected to the CR10 when
it is powered up, the display will show:
Display
Explanation
HELLO
On power-up, the CR10
displays "HELLO" while it
checks the memory (this
display occurs only with the
CR10KD).
after a few seconds delay
:96
The size of the machine's total
memory (RAM plus 32 K of
ROM), in this case 96K

Advertisement

Table of Contents
loading

Table of Contents