Section 8. Operation
301
8.1.5.2 Pulse Input on Digital I/O Channels C1 - C4
Digital I/O channels
C1
–
C4
can be used to measure pulse inputs between -8.0
and +16 Vdc. Low frequency mode (<1 kHz) allows for edge timing and
measurement of period and frequency. High-frequency mode (up to 400 kHz)
allows for edge counting only. Switch-closure mode enables measurement of dry-
contact switch closures up to 150 Hz. Digital I/O channels can be programmed
with either
PulseCount()
or
TimerIO()
instructions.
When configured for input, signals connected to
C1
–
C4
are each directed into a
digital-CMOS input buffer that recognizes inputs
≥
3.8 V as being high and inputs
≤
1.2 V as being low.
Low-level ac signals cannot be measured directly by digital I/O channels. Refer
to the appendix
Pulse / Frequency Input-Expansion Modules
(p. 538)
for information
on peripheral modules available to convert low-level ac signals to square-wave
signals.
Read More!
Review digital I/O channel specifications in CR800 Specifications
.
Caution
Contact Campbell Scientific for signal conditioning information if a
pulse input < -8.0 or > +16 Vdc is to be measured. Under no circumstances
should voltages greater than
±
50 V be connected to channels
C1
–
C4
.
8.1.5.2.1 High Frequency Mode
Digital I/O channels have a small 25-ns input RC-filter time constant between the
terminal block and the CMOS input buffer, which allows for higher-frequency
pulse counting (up to 400 kHz) when compared with pulse-input channels
P1
–
P2
(250 kHz maximum).
Switch-closure mode is a special case edge-count function. Because of signal
conditioning for debounce, 150 Hz is the maximum input frequency at which
switch closures can be measured on digital I/O channels.
Edge Counting (C1 - C4)
Rising edges (transitions from <1.5 Vdc to >3.5 Vdc) or falling edges (transitions
from >3.5 Vdc to <1.5 Vdc) of a square-wave signal can be counted.
Switch Closure (C1 - C4)
Two schemes are available for connecting switch-closure sensors to the CR800.
If a switch is to close directly to ground, an external pull-up resistor is should be
used as shown in figure
Using a Pull-up Resistor on Digital I/O Channels C1 - C4
(p. 303).
Alternatively, if the switch is to close ground through a digital I/O port,
connect the sensor to the CR800 as diagrammed in figure
Connecting Switch
Closures to Digital I/O
(p. 303).
Mechanical switch closures have a tendency to bounce before solidly closing.
Bouncing can cause multiple counts. The CR800 incorporates software switch
debounce in switch-closure mode for channels
C1
– C4.
Note
Maximum switch-closure measurement frequency of
C1
–
C4
is 150 kHz.
Summary of Contents for CR850
Page 2: ......
Page 4: ......
Page 6: ......
Page 26: ...Table of Contents 26...
Page 30: ...Section 2 Cautionary Statements 30...
Page 32: ...Section 3 Initial Inspection 32...
Page 35: ...Section 4 Quickstart Tutorial 35 Figure 2 Wiring panel...
Page 55: ...Section 4 Quickstart Tutorial 55 Figure 24 PC200W View data utility...
Page 78: ...Section 5 System Overview 78...
Page 80: ...Section 6 CR800 Specifications 80...
Page 267: ...Section 7 Installation 267 Figure 84 Running average signal attenuation...
Page 268: ...Section 7 Installation 268...
Page 384: ...Section 8 Operation 384 Figure 113 Using the keyboard display...
Page 387: ...Section 8 Operation 387 Figure 116 Real time custom...
Page 388: ...Section 8 Operation 388 8 8 1 3 Final Storage Tables Figure 117 Final storage tables...
Page 389: ...Section 8 Operation 389 8 8 2 Run Stop Program Figure 118 Run Stop Program...
Page 390: ...Section 8 Operation 390 8 8 3 File Display Figure 119 File display...
Page 396: ...Section 8 Operation 396...
Page 402: ...Section 9 Maintenance 402...
Page 450: ...Section 11 Glossary 450...
Page 504: ...Appendix A CRBasic Programming Instructions 504...
Page 526: ...Appendix B Status Table and Settings 526...
Page 530: ...Appendix C Serial Port Pinouts 530...
Page 536: ...Appendix E FP2 Data Format 536...
Page 550: ...Appendix F Other Campbell Scientific Products 550...
Page 565: ......