Ov5.1 Sample Program 1 - Campbell CR510 Operator's Manual

Datalogger
Hide thumbs Also See for CR510:
Table of Contents

Advertisement

CR510 OVERVIEW
there will be a 128 second delay before
compiling and running the program. This can
be used to edit or change the program before it
starts running. To raise the ring line, press any
key on the CR10KD keyboard display or call the
CR510 with the computer during the power up
sequence (i.e., while "HELLO" is displayed on
the CR10KD).
In order to ensure that there is no active
program in the CR510, we will load an empty
program using the *D Mode:
Display Will Show:
Key (ID:Data)
00:00
D
13:00
7
13:7
A
07:00
0
07:0
A
13:0000

OV5.1 SAMPLE PROGRAM 1

EDLOG Listing Program 1:
*Table 1 Program
01:
5.0
1: Internal Temperature (P17)
1:
1
2: Do (P86)
1:
10
3: Sample (P70)
1:
1
2:
1
OV-12
Explanation
Enter mode
Enter *D Mode
7 is command to load
program from flash
Execute command 7,
CR510 is ready for
program number
Load Program 0 (empty
program)
Execute program load,
after a short wait, the
display will show
Indicating that the
command is complete.
Execution Interval (seconds)
Loc [ CR510Temp ]
Set Output Flag High
Reps
Loc [ CR510Temp ]
In this example the CR510 is programmed to
read its own internal temperature (using a built
in thermistor) every 5 seconds and to send the
results to Final Storage.
Display Will Show:
Key
(ID:Data)
00:00
Enter mode.
1
01:0000
Enter Program Table 1.
A
01:0.0000
Advance to execution
interval (In seconds)
5
01:5
Key in an execution
interval of 5 seconds.
A
01:P00
Enter the 5 second
execution interval and
advance to the first program
instruction location.
1
7
01:P17
Key in Instruction 17
which directs the CR510
to measure the internal
temperature in degrees
C. This is an
Input/Output Instruction.
A
01:0000
Enter Instruction 17 and
advance to the first
parameter.
1
01:1
The input location to
store the measurement,
location 1.
A
02:P00
Enter the location # and
advance to the second
program instruction.
The CR510 is now programmed to read the internal
temperature every 5 seconds and place the reading
in Input Storage Location 1. The program can be
compiled and the temperature displayed.
Display Will Show:
Key
(ID:Data)
Explanation
0
LOG 1
Exit Table 1, enter 0
Mode, compile table and
begin logging.
6
06:0000
Enter 6 Mode (to view
Input Storage).
A
01:21.234
Advance to first storage
location. Internal
datalogger temp. is
21.234
actual temperature so
exact value will vary).
Explanation
o
C (display shows

Advertisement

Table of Contents
loading

Table of Contents