EasyManuals Logo

Campbell CR1000 User Manual

Campbell CR1000
678 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #355 background imageLoading...
Page #355 background image
Section 8. Operation
A: In the background, a 32-bit-timer counter is saved each time the signal
transitions as programmed (rising or falling). This counter is running at a fixed
high frequency. A count is also incremented for each transition. When the
TimerIO() instruction executes, it uses the difference of time between the edge
prior to the last execution and the edge prior to this execution as the time
difference. The number of transitions that occur between these two times divided
by the time difference gives the calculated frequency. For multiple edges
occurring between execution intervals, this calculation does assume that the
frequency is not varying over the execution interval. The calculation returns the
average regardless of how the signal is changing.
8.1.3.4 Switch-Closure and Open-Collector Measurements
Switch-closure and open-collector signals can be measured on P or C terminals.
Mechanical-switch closures have a tendency to bounce before solidly closing.
Unless filtered, bounces can cause multiple counts per event. The CR1000
automatically filters bounce. Because of the filtering, the maximum switch-
closure frequency is less than the maximum high-frequency measurement
frequency. Sensors that commonly output a switch-closure or open-collector
signal include:
Tipping-bucket rain gages
Switch-closure anemometers
Flow meters
Data output options include counts, frequency (Hz), and running average.
P Terminals
An internal 100 k pull-up resistor pulls an input to 5 Vdc with the switch open,
whereas a switch closure to ground pulls the input to 0 V. An internal hardware
debounce filter has a 3.3 ms time-constant. Connection configurations are
illustrated in table Switch Closures and Open Collectors on P Terminals
(p. 356).
Maximum input frequency = 90 Hz
CRBasic instruction: PulseCount()
C Terminals
Switch-closure mode is a special case edge-count function that measures dry-
contact-switch closures or open collectors. The operating system filters bounces.
Connection configurations are illustrated in table Switch Closures and Open
Collectors on C Terminals
(p. 357).
Maximum input frequency = 150 Hz
CRBasic instruction: PulseCount()
8.1.3.5 Edge Timing
Edge time and period can be measured on P or C terminals. Applications for edge
timing include:
Measurements for feedback control using pulse-width or pulse-duration
modulation (PWM/PDM).
Measurements include time between edges expressed as frequency (Hz) or period
(µs).
355

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Campbell CR1000 and is the answer not in the manual?

Campbell CR1000 Specifications

General IconGeneral
Power Requirements9.6 to 16 VDC
Data Logger Operating SystemCRBasic
Memory4 MB
Analog Inputs16 single-ended or 8 differential
Analog Input Resolution13 bits
Analog Input Range+/-2.5V
Digital I/O8
Pulse Counters2
Communication PortsRS-232
Operating Temperature-25°C to +50°C
Pulse Channels4

Related product manuals