---
title: "Configure tracking for injection molding"
description: "Set up part counting on an injection molding machine, whose shot cycle repeats to the second. Mount the SenseAi on the injection unit or near the hydraulic power unit, time 10 to 20 shots by hand, create the part with one operation per mold, set the operation's algorithm to Continuous Analysis, set QTY/OP to the cavity count, and set the Downtime Filter so brief mold-open pauses do not read as stops. The filter takes 0 to 200%. The Continuous tab of the Auto-Detect modal is single choice, so the machine carries one operation at a time and you re-pick it at every mold change."
category: "Configure by machine type"
source_url: "https://www.iotflows.com/docs/production/injection-molding/"
---
# Configure tracking for injection molding

Count parts on a machine whose shot cycle repeats to the second.

An injection molding machine runs the same cycle over and over: clamp, inject, hold, cool, eject. [Continuous Analysis](/docs/production/choose-an-algorithm/#continuous) is the algorithm for that case: it divides running time by the cycle time you enter instead of hunting for one burst per part, which is what you want on a machine whose trace never falls back to the stopped level between shots. Allow 30 to 45 minutes for the first machine.

**Before you start**

- A SenseAi or SenseAi Embedded tied to the machine. Contact IoTFlows to tie your sensors to an asset, see [Get support](/docs/get-started/get-support/).
- Sign in as an Organization Owner or Organization Administrator, see [Roles reference](/docs/admin/roles-reference/).

## Why Continuous Analysis fits a molder
Four things about molding point at the same algorithm.

- **The cycle time is known and it repeats.** Every shot takes about the same time, so dividing running time by that number is accurate.
- **The pauses are short.** Mold open, ejection and mold close interrupt the trace for a second or two and should not read as stops.
- **The volume is high.** Hundreds or thousands of shots a day, so a detector that misreads one burst in fifty is wrong by hundreds of parts.
- **The rhythm is steady.** Once the machine is at temperature it holds the same cycle until something interrupts it.

**You do not need a second sensor to count parts.** SenseAi derives part counts and cycle times from the same vibration trace that produces the running and stopped state.

**Choose [Discrete Analysis](/docs/production/choose-an-algorithm/#discrete) instead when the machine waits between shots.** A molder where an operator loads inserts by hand, or takes parts off before the next cycle starts, looks more like a machining center than a molder to the sensor.

## Mount the sensor on the machine
![A horizontal injection molding machine, with the clamp unit and mold area on the left and the injection unit, hopper and hydraulic power unit on the right](/images/production/prod-mold-01.webp)

*A horizontal injection molding machine. The injection unit and the hydraulic power unit, on the right of the machine, both carry the cycle.*

1. Mount on flat ferrous metal close to the injection unit or the hydraulic pump. Both work through every shot, so both carry the cycle.
2. Do not mount on a guard, a cover or a sheet-metal panel. The magnet holds, and what the device reads is the panel's own ringing rather than the machine's, see [Choose a mounting location](/docs/hardware/install-senseai/#mounting).
3. Stay clear of the barrel and its heater bands. [SenseAi Embedded](/docs/hardware/senseai-embedded/) is rated to 60 °C (140 °F), and a barrel zone runs far past that.
4. Connect power and put the device on Wi-Fi, see [Connect a device to Wi-Fi](/docs/hardware/connect-to-wifi/).
5. Run 10 or more complete shots while you calibrate, so the thresholds are set against a molding cycle and not against a dry cycle or a warm-up, see [Calibrate SenseAi and SenseAi Embedded](/docs/hardware/calibrate-senseai/).

Verify the mount rather than judging it by eye. Run the machine molding, then stop it, and confirm the two read differently.

## Measure the shot cycle
Continuous Analysis divides running time by this number, so the accuracy of the number is the accuracy of the count. Measure it, do not take it off the machine's setup sheet.

1. Let the machine run normally until it settles at temperature.
2. Time 10 consecutive shots with a stopwatch, from shot start to shot start.
3. Average them. For example, 22, 21, 23, 22, 21, 22, 23, 22, 22 and 22 seconds average to 22 seconds.
4. Note the pauses between shots as well. In molding they usually run 1 to 5 seconds, and they are what the downtime filter is for.

**Time the shot, not the part.** On a multi-cavity mold one shot makes several parts, and the cavity count is set separately on the operation.

## Create the part and its operation
1. Open **Parts List** at `/production?select=parts_list`.
2. Click **+ Add Part**.
3. Enter a **Part Name**, for example `Automotive Clip`. **Part Description** is optional.
4. Under **Assign Operations**, name the operation after the mold, for example `MOLD-CLIP-4CAV`, and describe it, for example `4-cavity mold, black ABS`.
5. Enter **Operation Cycle Time** in the h, m and s boxes. For a 22-second shot, that is 22 in the s box.
6. Enter a standard deviation in the boxes beside it. Leaving either at zero blocks the part with **Cycle time and standard deviation must be greater than zero**.
7. Add the machines that run this operation, then click **Add Part**.
8. Back on the Parts List, expand the part, click the operation's **Algorithm** cell and choose **Continuous Analysis**. It saves as you pick it.
9. Set **QTY/OP** to the number of cavities in the mold. A four-cavity mold is 4.

*Quantity per cycle* is the parts one cycle makes, so on a molder it is the cavity count. A four-cavity mold running 100 shots made 400 parts, and the same mold left at 1 reports a quarter of its real output. Full field reference on [Create parts and operations](/docs/production/parts-and-operations/).

**Create one operation per mold, not one per part number.** If you run the same clip in a two-cavity and a four-cavity mold, the cavity count differs, so the two need separate operations: `MOLD-CLIP-2CAV` and `MOLD-CLIP-4CAV`.

## Set the downtime filter
A *downtime filter* converts any stop shorter than a set percentage of the cycle time into uptime, so brief in-cycle pauses stop reading as stops. It is the one field only Continuous Analysis has: the **Downtime Filter** column appears on the Parts List once the part carries a continuous operation, and nowhere else.

1. On the Parts List, expand the part.
2. Click the operation's **Downtime Filter** cell and type a percentage.
3. Press Enter or click away. It saves on blur.

The field takes **0 to 200%** and clamps anything higher. **200% is the recommended starting point for a molder.** On a 22-second cycle that converts every stop under 44 seconds into runtime, leaving the real interruptions in the downtime record: material shortages, mold problems, an operator stopping the machine.

Check that 44 seconds against your own stops before you accept it, because a 40-second material hiccup now reads as production. If stops in that range are worth seeing, come down. At the same cycle, 50% still covers an 11-second pause, which is twice the longest mold open.

**You do not need a filter on a machine whose pauses never reach the downtime record.** Leave the field empty, run a shift, and read the [Downtimes report](/docs/monitoring/downtimes/#pareto) first. A filter set on a machine that has no short pauses only hides its real ones.

## Assign the operation to the machine
1. Open **Assets** at `/assets` and click the machine.
2. Click **Auto-Detect** to open **Select Auto-Detect Operations**.
3. Open the **Continuous** tab. A SenseAi machine shows the **Discrete** and **Continuous** tabs only, because Counter is BeamTracker's algorithm.
4. Select the operation's radio button. This list is single choice, not checkboxes.

The dashboard saves as you pick, confirms with **Continuous Auto-Classification Set** and closes the modal. There is no submit button on this tab, only **Close**. To stop detection without choosing another operation, select **No Continuous Detection**.

Selecting a continuous operation clears any discrete operation the machine was set to, and the modal says so above the list. The full flow, including detected cycle times and the Parts List entry point, is on [Detect operations automatically](/docs/production/auto-detect-operations/).

## Handle mold and material changes
Because the **Continuous** tab is single choice, **a molder carries one operation at a time.** A mold change is two jobs: swap the mold, then re-pick the operation. Skipping the second counts the new mold's shots against the old mold's cycle time and cavity count, which is the most common reason a molder's numbers go wrong after a changeover.

A color or material change is different. Same mold, same operation, nothing to re-pick, and 15 to 30 minutes of downtime worth seeing rather than absorbing.

1. Create a **Material Change** category, see [Create a category](/docs/monitoring/downtime-categories/#create). Add **Mold Change** while you are there.
2. Have operators classify the stop when it happens, see [Classify a downtime event](/docs/monitoring/classify-downtime/).
3. If changeovers are frequent and always look the same, write a rule so they classify themselves, see [Classify downtime automatically](/docs/monitoring/auto-downtime-rules/).
4. After two to four weeks, read the total off the Pareto chart on the [Downtimes report](/docs/monitoring/downtimes/#pareto).

## Validate the count
1. Let the machine run normally for one to two hours.
2. Open **Shift Production** at `/production?select=part` and read the count for the operation.
3. Work out what it should be. One hour of running time is 3,600 seconds, so at 22 seconds a shot that is 163 shots, and a four-cavity mold makes 652 parts.
4. Compare the two. Within 5 to 10% is right.
5. Open **Downtimes** at `/assets?select=downtimes` and confirm real stops are recorded while mold-open pauses are not filling the list.

Accuracy bands and what to do at each one are on [Choose a production tracking algorithm](/docs/production/choose-an-algorithm/#validate).

## What to expect from a molder
*Uptime* is availability: the share of the window the machine spent running, see [Uptime](/docs/monitoring/metrics-reference/#uptime). How much of the cycle a person carries sets the ceiling, so a machine an operator tends and a lights-out cell are not comparable.

| How the machine runs | Uptime to expect |
|---|---|
| An operator loads inserts or takes parts off | 60 to 75% |
| Fully automatic, nobody in the cycle | 75 to 85% |
| Lights-out, running unattended around the clock | 85 to 90% |

Set the goal on [Set OEE and utilization goals](/docs/monitoring/oee-goals/). **Start from your own baseline plus 5 to 10%, not from the table.** A goal the machine has never met teaches operators to ignore the number.

If the process has a quality check, log rejects separately so the good count is the number you compare, see [Log scrap](/docs/production/log-scrap/).

## Troubleshoot a molder
| Symptom | Cause | Fix |
|---|---|---|
| Count runs high | The downtime filter is converting real stops into runtime | Lower **Downtime Filter**, then check the Downtimes report for the stops that reappear |
| Count runs low | Mold-open pauses are recorded as downtime, so running time is short | Raise **Downtime Filter**. At 200% you are at the ceiling, so set **Downtime Threshold** with **Treat short downtimes as uptime** instead, see [Handle short stops](/docs/hardware/calibrate-senseai/#short-stops) |
| Count is a fixed fraction of real output, and the fraction matches the mold | **QTY/OP** is still 1 on a multi-cavity mold | Set **QTY/OP** to the cavity count. The count corrects immediately |
| Count is off by the same ratio all shift, and changing the filter does nothing | The entered cycle time no longer matches the shot | Re-time 10 shots and update **Ideal Operation Cycle Time** on the Parts List. Continuous Analysis divides by it, so the count is only as good as that number |
| Numbers went wrong at a changeover and stayed wrong | The operation was not re-picked, so shots are counted against the previous mold | Re-pick the operation on the **Continuous** tab, see [Assign the operation to the machine](#assign) |
| Uptime reads low on a shift the machine ran through | The running threshold sits above the molding trace, so part of the cycle reads as stopped | Lower the **Running Threshold**, see [Set the running and stopping thresholds](/docs/hardware/calibrate-senseai/#thresholds) |
| The downtime list fills with one-minute stops | Pauses the operation's filter does not reach are still recorded | Set **Downtime Threshold** with **Treat short downtimes as uptime** on, see [Handle short stops](/docs/hardware/calibrate-senseai/#short-stops) |

Counts that stay wrong after the cycle time and the filter are both right are on [Troubleshoot inaccurate part counts](/docs/production/troubleshoot-part-counts/).

## See also
- [Choose a production tracking algorithm](/docs/production/choose-an-algorithm/)
- [Set cycle times and downtime filters](/docs/production/cycle-times-and-filters/)
- [Track production against shift goals](/docs/production/shift-production/)
- [Calibrate SenseAi and SenseAi Embedded](/docs/hardware/calibrate-senseai/)
- [Configure tracking for CNC mills and lathes](/docs/production/cnc-machines/)
