Issue
InfinityInput configured as counter does not count any pulses.
Environment
i2 devices
B3 devices
IOU modules
Cause
Here are two common reasons why the counter input may not be counting as expected:
1. No accumulation logic used with input.
2. Signal from the count source does not conform to specifications.
Resolution
1. No accumulator logic used with input. The value of a counter input is reset to zero at every scan, in order to maintain the count value an accumulation strategy must be used, this can be accomplished via a conversion at the input or by using a PE program to accumulate the count in an InfinityNumeric object.
a) Enter the following conversion in the counter input’s conversion field:
Value + ElecValue
Or
b) Use the following logic in a PE program
CountAccumulator = CountAccumulator + WaterMeterCount
(Where CountAccumulator is an InfinityNumeric object and WaterMeterCount is the name of the counter input)
2. The signal from the count source (Water meter, Power meter etc) does not have the minimum pulse width required by the input.
For example, Infinet 2 devices (i.e. i2687) only support counter signal with a maximum frequency of 4 hertz and a minimum pulse width of 125 milliseconds.
The DI8 IOU module has 2 channels that support counts of up to 10Khz with a pulse width as short as 50 microseconds.
XPUi modules support counter inputs with a frequency up to 140 Hz and a minimum pulse width of 3.5 milliseconds.
Refer to the manual for your count source (Meter) and verify the signal generated by it complies with the requirements of the Continuum hardware.
For more information see the attached Infinity Technical Journal article. It describes several ways to reset the counter.
Note: Some meters will put out a pulse with a voltage equal to the supply voltage. In this case add a relay so the controller sees a dry contact per pulse.