Remote Processing CX-10 User Manual
Page 30
PULSE COUNTERS
SECTION 7
Page 7-5
INTRODUCTION
PULSE COUNTERS
SECTION 7
Two high speed (3000 pulses/second, 180,000
pulses/minute) counters are available at opto buffered
inputs IN7 and IN8.
While minimum input voltages are the same for the
counter as normal opto buffered lines, input filter
circuitry limits frequency response. To obtain a 3 Khz
counting capability, you should have 12V to ground (or
open) voltage swings at the opto input.
The pulse source will drive a 2.7K ohm load. This
means it must be able to supply 5 milli-amperes of
current.
Pulse counters are read in registers 7001 and 7002.
These registers are available over modbus and in Basic.
In Basic, this is done using the REGREAD function.
Maximum count is 16,777,215. The counter will then
roll over and start at 0 again.
Pulse counters reset to 0 when the board is first powered
up or reset. They do not have “memory”.
Counters may be set to 0 (or preset with any number up
to 65535) by writing to the register. In Basic, this is
done using the REGWRITE command.
Under special conditions, pulse rate may be as high as
17Khz. Consult factory for details.
APPLICATION PROGRAMS
The following program is in the Basic Demos directory.
Name
Function
7001 counter demo.bas
Shows use of register 7001