beautypg.com

3 wiring to a control port, Datalogger programming, 1 pulse channel example programs – Campbell Scientific 52202 Electrically Heated Rain and Snow Gage User Manual

Page 9

background image

52202 Electrically Heated Rain and Snow Gage

4.3 Wiring to a Control Port

Dataloggers listed in Table 4-2 have the capability of counting switch closures
on some of their control ports. When a control port is used, the return from the
rain gage switch must be connected to +5 volts on the datalogger.

TABLE 4-2. Wiring for Control Port Input



Color



Description

CR800
CR1000
CR3000


CR500
CR510



CR10X



CR23X

Black Signal

Control Port

C2/P3

Control
Port

Control
Port

White Signal

Return

5 V

5 V

5 V

5 V

Clear Shield

G


The CR10 does not support the use of control port inputs with the Pulse Count
instruction.

5. Datalogger Programming

This section is for users who write their own programs. A
datalogger program to measure this sensor can be generated
using Campbell Scientific’s Short Cut Program Builder software.
You do not need to read this section to use Short Cut.

NOTE

Precipitation is measured using a Pulse Count with a switch closure
configuration code. The multiplier used in the Pulse Count instruction
determines the units in which rainfall is reported (see Table 5-1).

TABLE 5-1. Multipliers

Rain Gage

0.01 in. 1 in.

0.1 mm 1 mm

52202

0.394

0.00394 1.0

0.1

5.1 Pulse Channel Example Programs

The following example programs use a pulse channel to read the output from
the precipitation gage. The CR1000 example will also work with the CR800,
CR850, CR3000, and CR5000. CR9000(X) programming is similar to the
CR1000 except it has an additional parameter in the PulseCount instruction to
specify the pulse module’s slot.

The CR10X program will also work with the CR500, CR510, CR10, 21X or
CR23X. CR7 programming is similar to the CR10X but has an additional
parameter in the PulseCount instruction to specify the slot that the Pulse Card
is in.

5