Production Tracking with Sensor and Counter Data

Production Tracking with Sensor and Counter Data

Production tracking with sensor and counter data means turning pulses from cycle, part or length counters on a machine into actual production quantity, speed and OEE indicators in the context of work order, product and shift. It is the basic method of production tracking when data cannot be read from the machine controller.

In brief

  • Counter types: cycle counter, part counter, length/encoder, good/bad counter.
  • Conversion: quantity = pulses × multiplier (cavity count, pack quantity, mm/pulse).
  • Calculation: difference-based (Δ pulses), tolerant of overflow and reset.
  • Context: without work order, product, shift and operator, quantity is meaningless.
  • Derived indicators: actual cycle time, speed loss, micro stops, OEE performance component.

What Is Counter Data?

In its simplest form, a counter is a sensor that produces a pulse when a certain physical event occurs: the press head comes down, the mould closes, a part passes a photocell, the line advances 10 mm. This pulse accumulates in the PLC, in a separate counter module or in a wireless IoT node. Production tracking is the job of turning this raw count into meaningful indicators.

Counter Types and Their Use

CounterWhat it measuresTypical sectorWatch out for
Cycle counterMachine cycleInjection moulding, press, assemblyRequires a multiplier (cavity count)
Part counterProduct outputMachining, packagingPhotocell position, double counting
Length / encoderLengthCable, extrusion, textiles, papermm/pulse calibration, slip
Good / bad counterQuality separationAutomatic inspection stationSum of both channels = production
Weighing / fillingMass, volumeFood, chemicalsUnit conversion

From Pulses to Production Indicators

1. Difference calculation

At each reading, the absolute counter value is taken and the difference (Δ) from the previous reading is calculated. On reset or overflow, a negative difference is ignored and a new baseline is taken.

2. Applying the multiplier

Quantity = Δpulses × multiplier. The multiplier comes from the product/mould definition: 8 for an 8-cavity mould, 0.5 m for a 500 mm/pulse encoder. When the product changes, the multiplier should change automatically; manual tracking is the most common source of errors.

3. Putting it in context

The quantity is written to the work order and shift active on the machine at that moment. A work order change is detected from the terminal or from the recipe number in the PLC.

4. Derived indicators

  • Actual cycle time: the time between two pulses; speed loss is found by comparing it with the standard.
  • Micro stop: if no pulse arrives for a set time (for example 2× the standard cycle), a short stop is opened.
  • Performance (OEE): (quantity produced × standard cycle) / run time.
  • Work order progress: produced / planned; estimated remaining time.

Common Mistakes

  • Placing the photocell where vibration or the operator’s hand enters: false pulses.
  • Reading the counter too rarely: production at the shift boundary is written to the wrong shift.
  • Keeping the multiplier fixed: after a mould change, production appears doubled or halved.
  • Not deducting scrap from the counter: the counter counts “gross”, quality wants “net”.
  • Not calibrating encoder slip: length is systematically under-measured.

Frequently Asked Questions

What is a counter multiplier and why does it matter?
More than one product can come out of a cycle: a 4-cavity mould produces 4 parts per cycle, a press stroke may produce 2 pieces. The multiplier converts the number of pulses into the actual quantity. When the product or mould changes, the multiplier changes too; the MES should take it automatically from the product definition in the work order.
Can a counter distinguish scrap?
Usually not; the counter counts every part that comes out. Scrap is separated by operator input or by a second sensor at the quality inspection station (reject channel counter). On some machines the PLC keeps good/bad counters separately; in that case both values should be read.
What happens when the counter resets or overflows?
The MES should use the difference between two readings rather than the absolute value. If the counter resets (machine shutdown, overflow), the difference comes out negative; the system should detect this and take the new value as baseline. Otherwise a single reset shows the shift’s production as negative.

Production Tracking with Counter Data in EFFIX MES

EFFIX MES receives counter data via PLC/CNC protocols (OPC UA, Modbus, EtherNet/IP, MTConnect, etc.) or Inolink wireless IoT nodes; it converts pulses into quantities in the context of the active work order, product and shift and keeps quantity/metre/kg consistent through unit conversion. Deviations from the standard are seen instantly on actual cycle time screens, a stop is opened automatically when pulses stop, and the operator enters the reason and scrap quantity on the HMI terminal. This data feeds OEE, shift performance and the efficiency detectors of the Proactive Alert System. For details, see the EFFIX MES page or request a demo.