Campbell Scientific CSM1 Card Storage Module User Manual

Page 13

Advertising
background image

CSM1 Card Storage Module

7

TABLE 2. Sample CR10 Program Using P96 To Send Data To CSM1

*Table 1 Programs

01: 5

Sec. Execution Interval

01: Module Temperature (P17)

01: 1

Loc [:MOD TEMP ]

02: Thermocouple Temp (DIFF) (P14)

1:

1

Rep

2:

1

2.5 mV slow Range

3:

1

IN Chan

4:

1

Type T (Copper-Constantan)

5:

1

Ref Temp Loc MOD TEMP

6:

2

Loc [:TCTEMP ]

7:

1

Mult

8:

0

Offset

03: If time is (P92)

1:

0

minutes into a

2:

60

minute interval

3:

10

Set high Flag 0 (output)

04: Real Time (P77)

1:

110

Day,Hour-Minute

05: Average (P71)

1:

2

Reps

2:

1

Loc MOD TEMP

06: Serial Output (P96)

1:

71

SM192/SM716/CSM1

07: End Table 1

If the CR10 executes Instruction 96 when a CSM1 is not plugged into the
datalogger, the data is not lost. As long as the CR10's memory is not
overwritten, it remembers which data it last stored to the CSM1. Each time the
CR10 executes Instruction 96 it checks for the presence of the CSM1 and
outputs data if the CSM1 is connected and able to store data.

Using this feature you can use the CSM1 to collect data from a CR10
programmed with Instruction 96, without the need for a keyboard or any
knowledge of the operation of the datalogger. To collect data simply plug in
the CSM1. The 'Write' LED flashes briefly and the 'Status' LED flashes once to
indicate that the CSM1 is ready. You then wait until Instruction 96 is executed.
When this happens the CR10 detects the CSM1 and sends data to it; the 'Write'
LED illuminates as data is written to the card. The 'Write' LED only goes out
when the CR10 has finished writing all the data destined for the Storage
Module. When it does go out you can disconnect the module, having collected
all available data.

You can also initiate data transfers to the CSM1 manually using the *8 Mode
commands, again specifying the destination code as 71 (Storage Module with

Advertising