Campbell Scientific CR510 Basic Datalogger User Manual

Page 25

Advertising
background image

CR510 OVERVIEW

OV-13

Wait a few seconds:

01:21.423

The CR510 has read the

sensor and stored the
result again. The internal
temp is now 21.423

o

C.

The value is updated
every 5 seconds when
the table is executed. At
this point the CR510 is
measuring the
temperature every 5
seconds and sending the
value to Input Storage.
No data are being saved.
The next step is to have
the CR510 send each
reading to Final Storage.
(Remember, the Output
Flag must be set first.)

1

01:0000

Exit

6 Mode. Enter

program table 1.

2

A

02:P00

Advance to 2nd

instruction location (this
is where we left off).

8

6

02:P86

This is the DO instruction

(a Program Control
Instruction).

A

01:00

Enter 86 and advance to

the first parameter (which
will specify the command
to execute).

1

0

01:10

This command sets the

Output Flag. (Flag 0)

A

03:P00

Enter 10 and advance to

third program instruction.

7

0

03:P70

The SAMPLE instruction.

It directs the CR510 to
take a reading from an
Input Storage location
and send it to Final
Storage (an Output
Processing Instruction).

A

01:0000

Enter 70 and advance to

the first parameter
(repetitions).

1

01:1

There is only one input

location to sample;
repetitions = 1.

A

02:0000

Enter 1 and advance to

second parameter (Input

Storage location to
sample).

1

02:1

Input Storage Location 1,

where the temperature is
stored.

A

04:P00

Enter 1 and advance to

fourth program
instruction.

00:00

Exit Table 1.

0

LOG 1

Enter

0 Mode, compile

program, log data.

The CR510 is now programmed to measure the
internal temperature every 5 seconds and send
each reading to Final Storage. Values in Final
Storage can be viewed using the

7 Mode.

Display Will Show:

Key

(ID:Data)

Explanation

7

07: 13.000

Enter

7 Mode. The

Data Storage Pointer
(DSP) is at Location 13
(in this example).

A

01: 0102

Advance to the first

value, the Output Array
ID. 102 indicates the
Output Flag was set by
the second instruction in
Program Table 1.

A

02: 21.23

Advance to the first

stored temperature.

A

01: 0102

Advance to the next

output array. Same
Output Array ID.

A

02: 21.42

Advance to 2nd stored
temp, 21.42 deg. C.

There are no date and time tags on the data.
They must be put there with Output Instruction
77. Instruction 77 is used in the next example.

If a terminal is used to communicate with the
CR510, Telecommunications Commands
(Section 5) can be used to view entire Output
Arrays (in this case the ID and temperature) at
the same time.

Advertising