beautypg.com

Ov5.2 editing an existing program – Campbell Scientific CR510 Basic Datalogger User Manual

Page 26

background image

CR510 OVERVIEW

OV-14

OV5.2 EDITING AN EXISTING PROGRAM

When editing an existing program in the CR510,
entering a new instruction inserts the
instruction; entering a new parameter replaces
the previous value.

To insert an instruction, enter the program table
and advance to the position where the
instruction is to be inserted (i.e., P in the data
portion of the display) key in the instruction
number, and then key A. The new instruction
will be inserted at that point in the table,

advance through and enter the parameters.
The instruction that was at that point and all
instructions following it will be pushed down to
follow the inserted instruction.

An instruction is deleted by advancing to the
instruction number (P in display) and keying #D
(Table 4.2-1).

To change the value entered for a parameter,
advance to the parameter and key in the correct
value then press A. Note that the new value is
not entered until A is keyed.

SAMPLE PROGRAM 2

Instruction #

Parameter

(Loc:Entry)

(Par#:Entry)

Description

1

Enter Program Table 1

01:60

60 second (1 minute) execution interval

Key

#

D

until

01:P00

Erase previous Program before

is displayed

continuing.

01:P11

Measure reference temperature

01:1

Store temp in Location 1

02:5
03:3
04:1
05:1.0
06:0.0

02:P92

If Time instruction

01:0

0 minutes into the interval

02:60

60 minute interval

03:10

Set Output Flag 0

The CR510 is programmed to measure the datalogger internal temperature every sixty seconds.
The If Time instruction sets the Output Flag high at the beginning of every hour. Next, the
Output Instructions for time and average are added.

03:P77

Output Time instruction

01:110

Store Julian day, hour, and minute

04:P71

Average instruction

01:1

one repetition

02:1

Location 1 - source of temps. to be averaged

05:P92

If Time instruction

01:0

0 minutes into the interval

02:1440

1440 minute interval (24 hrs.)

03:10

Set Output Flag 0

06: P77

Output Time instruction

01:100

Store Julian day