beautypg.com

2 programming, Programming – Campbell Scientific P2546A-L Anemometer User Manual

Page 14

background image

P2546A-L Anemometer


TABLE 7-1. Connections to Campbell Scientific Dataloggers

Pulse Channels





Color





Wire Label

CR800
CR850
CR5000
CR3000
CR1000



CR510
CR500
CR10X



21X
CR7
CR23X

White Signal

Pulse Pulse Pulse

Brown Signal

Reference

G

Clear Shield

G

TABLE 7-2. Connections to Campbell Scientific Dataloggers

Control Ports





Color





Wire Label

CR800
CR850
CR5000
CR3000
CR1000





CR10X

White Signal

C1-C8 C6-C8

Brown Signal

Reference

5V

5V

Clear Shield

G

7.2 Programming

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

Wind speed is typically measured an a datalogger pulse channel. The P2546A
uses the CRBasic PulseCount() instruction configuring the pulse channel for
switch closure with frequency counting. For dataloggers programmed with
EDLOG, specify configuration code 22 to output frequency in Hertz.

The expression for wind speed (U) is:

U = MX + B

where

M = multiplier

X = number of pulses per second (Hertz)

B = offset

8