Counter rollover

Rollover occurs when a counter reaches its largest representable value and starts again at the lower end of its range.

Worked example

An unsigned 16-bit counter moves from 65534 to 3. With continuous forward counting, exactly one wrap and no reset, this represents five pulses. Timestamps help distinguish rollover from restart.

Interpreting the case
Condition or featureMeaning
Before65534
After3
Difference5

Follow the event through to the indicated value

Describe one physical event at the sensor and its expected input transition. Then determine how many transitions correspond to one engineering unit. Verify the chain with a known number of events and at a representative operating speed.

Compare short and long observation windows

Evaluate a rapid change separately from a stable run. A setting that produces a steady display may hide short events. Include filter settings in the record.

Equipment for the measurement task
ICS productSelection and intended use
Digital indicator IM2 Frequency 96 x 48 mmPanel-mounted frequency indicator. Compare signal level and timing with the sensor. Confirm any additional counting functions separately.
MODBUS / Profibus (IFC4R) – Interface Profibus communication 3 Module DIN 43880Interface option for a compatible indicator. Specify protocol, device version and required process data before ordering.
Explore the range in Frequency (ICS).

Frequently asked questions

How do I distinguish wrap from reset?

Check restart flags, elapsed time and maximum possible count. If several wraps are possible, two readings alone are ambiguous.

Which records help with intermittent errors?

Note the time, operating state and time resolution. A photograph of the final reading alone cannot show whether pulses were lost along the way.

What details help select the readout?

Specify the sensor signal, minimum and maximum rates and the required output. Direction detection requires additional channel details.

Why record the raw count?

It separates event capture from conversion. If the count is already wrong, changing the unit label cannot correct it.

What electrical signal must the sensor supply?

Levels, waveform and minimum pulse duration must suit the input. Also state the maximum event rate at the highest process speed.

How does this relate to pulse counter?

A pulse counter accumulates discrete input events over time. Pulse width, input threshold and maximum rate determine which events are registered.

See also Pulse counter, Data logger, Resolution.