If you are searching for a high-speed counter, you usually need to count either electrical pulses or physical parts, and the right solution is different for each. A PLC high-speed counter input counts signal edges. A counting machine counts the parts themselves, including parts that touch, overlap or fall in clusters.
This guide helps you tell which one you need, shows how a PLC pulse counter works and where it runs out of road when the goal is counting parts, and explains what limits a high-speed counting machine. It supports our automated counting guide.
Which kind of high speed counter do you need?
| PLC pulse counter | Counting machine | |
|---|---|---|
| What it counts | Electrical edges on a digital input | Physical parts, using imaging or sensors |
| Typical examples | Encoder position, flow meter pulses, a part breaking a photoeye beam | Fasteners, pellets, seeds and electronic components counted into batches |
| Best when | The signal is a clean pulse train, or parts pass one at a time with clear gaps | Parts touch, overlap, vary or fall in a stream, and the count has to be right |
| What limits speed | Input frequency, from kHz to MHz | Parts per second: presentation, imaging and stopping the batch |
| Main risks | Missed pulses, noise, one pulse for several parts | Double counting, touching parts, batch overshoot |
How a PLC high-speed counter works
A PLC high-speed counter is dedicated hardware that counts edges on specific inputs independently of the program scan. A normal ladder-logic counter can only look at an input once per scan, so it misses pulses that arrive faster than that. Hardware counters also compare the count to a preset and switch an output at once. Common modes are single-phase counting and quadrature counting, where two channels (A and B) give direction as well as position.
Worked example: what a pulse counter has to handle
An encoder gives 1,000 pulses per revolution on each channel. With quadrature 4x decoding that is 4,000 counts per revolution. At 3,000 rpm the shaft turns 50 times a second, so the counter must handle 50 × 4,000 = 200,000 counts per second, or 200 kHz. An input rated for 100 kHz would lose counts, so choose an input with margin above the calculated rate.
Two more checks come from the same numbers. A signed 32-bit counter overflows at 2,147,483,647 counts, which at 200 kHz takes about 10,700 seconds, just under 3 hours, so plan for rollover. And a ladder program scanning every 5 ms sees a 10 kHz signal as 50 pulses per scan, which is why scan-based counting fails at these rates.
Counting parts with a pulse counter: where it works and where it stops
A photoeye feeding a PLC counter can count parts well when they pass one at a time and the gap between them is longer than the sensor response time and the input filter. The count is one pulse per interruption of the beam, not one per part, and that difference decides where it stops working.
| Situation | Photoeye and PLC counter | Vision counting machine |
|---|---|---|
| Parts pass single file with clear gaps | Works | Works |
| Parts touch or overlap | One pulse for several parts, so the count is low | Separates and counts each part |
| Parts fall in a stream or cluster | Undercounts as the rate rises | Counts from images at line speed |
| Small, irregular or shiny parts | Sensor must be tuned for each part | Imaging and software handle the variation |
| Changing part types | Re-tune and retest the sensor | Change the setup in software |
| Checking the count | A total with no way to see a miscount | Easier to audit against reference counts |
If your parts stay separated and your rate is modest, a PLC counter may be all you need. If they touch, clump or vary, or a miscount is expensive, that is where counting machines are used. See counting overlapping and touching parts, counting technologies compared and verifying count accuracy. Sciotex builds industrial automated counting machines and offers free testing of your sample parts.
High-speed part counting machines: what limits throughput
Counting machines are limited by how fast parts can be presented, imaged and processed, and by how precisely the batch can be stopped at the target count. The headline parts-per-second figure only means something when it is tied to a part type, an accuracy requirement and a way of handling the last few parts. Specifying a system correctly means calculating each limit for your parts.
The four limits
| Limit | Question | Typical remedy |
|---|---|---|
| Presentation | Can the parts be spread or separated at this rate? | Vibratory feeding, conveyors, free fall |
| Imaging | Can the camera freeze motion and capture every part? | Short exposure, strobe lighting, fast cameras |
| Processing | Can the software keep up with every frame? | Efficient algorithms, parallel or hardware acceleration |
| Batch control | Can the flow stop at the exact count? | Predictive gating, slow-down at the end of the batch |
Imaging: motion blur and frame rate
Blur equals part speed times exposure time. A part moving at 2 m/s with a 50 µs exposure moves 0.1 mm during the exposure. If your parts are 1 mm, that is 10% of their size. Shorter exposures need strong, often strobed, lighting.
Frame rate must match the part speed. After a free fall of 0.3 m, a part reaches v = √(2 × 9.81 × 0.3) ≈ 2.4 m/s. If the field of view is 50 mm long, a part crosses it in 50 / 2,430 ≈ 20.6 ms. Seeing each part at least once needs a frame period under 20.6 ms, about 49 frames per second or faster. Counting each part exactly once, rather than in several frames, requires tracking or a line-scan arrangement. Exact designs vary, and the interplay of frame rate, field of view and count logic is a core part of the design.
For perspective, drop-zone counters have counted round 1.25 mm pellets at 1,000 parts per second.
Batch end: the overshoot problem
At high rates, the speed of the stop mechanism matters as much as the count. Overshoot equals the part flow rate times the gate response time. At 1,000 parts per second, a 10 ms gate delay releases 10 extra parts. Remedies are slowing the feed as the target nears (a “dribble” stage), predicting the stop point or using a fast diverter. Decide how much overshoot is acceptable and whether the extra parts can be removed or are acceptable as giveaway.
Accuracy vs speed
Counting faster usually increases the chance of touching parts and lower image quality, as covered in counting overlapping parts. Accuracy should be specified at the intended speed, not at a gentle test speed. Ask for verification at full rate on your parts, and see count accuracy for how many parts to count to prove the claim.
What to specify
- Part size, shape, material and variation; the smallest and largest part.
- Target throughput in parts per second or per minute, and lot sizes.
- Required accuracy and how it will be verified.
- Batch end tolerance (overshoot) and the stop method.
- Number of part types and how quickly changeover must happen.
- Environment, dust, oil and cleaning requirements.
- Downstream handling: bagging, containers and traceability records.
Examples by part type
Small fasteners, electronic components and seeds each stress different parts of the design; see fastener counting machines, electronic component counting and seed counting. For a comparison of methods, read counting technologies compared.
Need to count parts at high speed?
Sciotex builds high-speed counting machines and offers free testing of your sample parts to confirm the speed and accuracy you can expect.
Explore automated counting machinesFrequently asked questions
It is either a hardware input on a PLC or data acquisition device that counts fast electrical pulses, or a machine that counts physical parts at high speed. They solve different problems.
Yes, when parts pass a sensor one at a time with clear gaps. It counts pulses, not parts, so touching, overlapping or clustered parts can be undercounted. A vision counting machine handles those.
When parts touch, overlap, are small or irregular, change often, or must be counted accurately at high rates and checked against a reference.
It depends on the controller or module, from tens of kilohertz on built-in inputs to megahertz on dedicated modules, so check the datasheet. Calculate your rate first: encoder pulses per revolution × 4 for quadrature × revolutions per second.
A normal program counter only reads the input once per scan. At 10 kHz and a 5 ms scan, 50 pulses arrive per scan. Use a hardware high-speed counter input instead.
Presentation of the parts, imaging speed and exposure, processing capacity and the ability to stop the batch at the exact count.
Extra parts released while the stop mechanism reacts. It equals flow rate times response time, so at 1,000 parts per second a 10 ms gate delay releases 10 parts.
It depends on the speed and field of view. After a 0.3 m fall, parts move at about 2.4 m/s, crossing a 50 mm view in about 20 ms, so you need roughly 49 fps or more, plus tracking to avoid double counting.