Hardware · Sensor state and runout

What can the filament runout sensor actually see?

An empty spool and a stationary strand can both leave a print without plastic. To a switch held closed by the last piece of filament, those two events look completely different.

Start at the sensing point on your machine

Follow the filament from the spool to the drive. Some printers sense material at the toolhead. Some sense it much earlier at a frame-mounted inlet. A multi-material system can have more than one sensing point between a feeder and a tool. Label them on a sketch in the order a new strand encounters them. Mark the position of the drive that actually pushes plastic into the hotend. The length of filament between the sensing point and that drive explains much of what happens at the end of a spool.

A presence sensor answers a local question. Its switch, optical flag or magnet-actuated mechanism changes state when a strand occupies the sensing position. A length of broken plastic can continue to hold that state after the upstream spool has emptied. A motion sensor asks another question, whether filament movement was detected over the distance expected during commanded extrusion. It may detect a stalled strand under conditions in which a presence switch stays triggered. Consult the actual configuration. A printer with a filament sensor in its specifications does not necessarily contain a motion encoder. Klipper’s switch and motion sensor configurations.

Different sensor designs also respond differently to material colour. Some optical arrangements read a mechanical flag moved by the filament, rather than trying to see through the filament itself. On those designs an opaque lever or ball mechanism can make the electronic reading largely independent of the strand’s transparency. A sticking flag can still make it fail. Avoid applying a fix for a bare optical beam to a sensor whose optical path never sees the filament. Compare the machine’s drawing and sensor-status display before attributing failures to clear or black spools.

Read the live state before asking for an automatic pause

Find the maker’s documented sensor status or diagnostic menu. Make a pair of observations during the supported unload and load routines. What state appears when the sensing path is genuinely empty? What state appears when undamaged filament passes the sensing point? Use the display’s named states or the maker’s documented numbering. A value of one has a specific meaning on that machine; transferring the meaning by memory from a different firmware invites a reversed diagnosis. Prusa documents an accessible status check for the MINI and a different mechanism and procedure in its Nextruder family. MINI infrared sensor troubleshooting and Nextruder filament sensor guidance.

If the state never changes, first confirm that the strand actually reaches the sensor. The tapered end can enter a guide without passing the sensing point. A small fragment from a previous unload can hold a mechanical lever on after the visible strand leaves. Conversely a soft or sharply bent tip can fold before pushing an actuator far enough. Carry out any approved inspection with the machine safely prepared as the maker directs. Do not insert metal probes into powered connectors or defeat the mechanism to force a reading.

If the displayed state changes consistently but the machine continues to print through a runout, a mechanical sensor adjustment is a poor first intervention. Check whether runout handling is enabled, whether the relevant tool and sensor are selected, and whether the firmware treats that transition as an event during an active print. A status screen showing “empty” establishes a reading. It does not establish that a pause, an automatic spool change or a load routine was configured to follow that reading.

If the state flickers only when the head moves

Record the head position and the direction of travel. A cable or connector can experience strain at one extreme even while it appears sound at rest. An external guide can tug on the filament, moving its tip back across the sensing point during loading. A buffer that is intended to move can produce a visible mechanical change without representing a runout at all. Watch the supported diagnostic state while the printer performs its normal safe movements, keeping hands and loose objects outside the mechanism.

Repeat the observation with a full uninterrupted length of a compatible filament. If a stable, fully inserted strand still produces an intermittent state at the same head position, consult the machine’s cable-routing, connector and service guidance. If the state changes only when using a short test piece near its end, the test itself may be letting that piece slide out of the sensing position. Do not lower the confidence of a functioning runout detector by configuring it to ignore a reproducible hardware fault. Resolve what physical or electrical change the menu is reporting.

The last usable centimetres belong to the feed path

Take a frame-mounted switch upstream of a drive as an example. When the tail leaves that switch, plastic remains between sensor and extruder. The observation does not mean that the nozzle stopped extruding at that instant. The printer may deliberately continue for a documented distance before pausing, or a feeder may already be preparing a replacement spool. A toolhead sensor placed near the drive has a different remaining length. Its normal response can appear earlier or later relative to the visible tail disappearing from the spool holder.

A spool end folded into a hole in the reel can complicate this sequence. The tail may be retained under tension while a presence switch still contains filament. The drive can grind or stall with no empty-state event. A sensor that only detects presence has just behaved in accordance with its design. If the strand is firmly anchored or tangled, stop the print safely and address the spool and drive path. Use the marks on the damaged strand to work out when feeding stopped. Forcing the drive to continue until an empty switch finally appears can create a second failure.

On a long external feed, a break between the spool and the sensor can be detected after the remaining tail passes that point. A break downstream of the sensor can leave the inlet occupied indefinitely. Sketch the break on each side of the sensing point and follow both loose ends. The outcome can often be predicted without replacing a single component. This exercise is particularly helpful when someone reports that a sensor worked yesterday on an empty spool and missed today’s broken strand. Those two events do not exercise the same state transition.

Read an event log in travel order

Three observations from an illustrative upstream switch installation
Observed eventWhat it establishesWhat remains to be checked
The tail clears the inlet switchThe supply is empty at that location.How much material remains between switch and drive?
The display registers runout and the head parksThe signal reached the enabled event handler.Was the intended tool or spare spool selected?
The first resumed perimeter is continuousThe new material reached the nozzle in time for this restart.Does the same sequence work on the normal route and slot?

Imagine two event logs beside that table. In the first, the inlet switch changes cleanly, the printer displays a runout message, and the head never parks. In the second, the head parks, the new material loads, and the resumed layer has a short gap before the perimeter fills. The first log directs attention to the configured action or pause sequence. The second identifies a transition between loading, priming and continuing the toolpath. Replacing the inlet switch in both cases because the failed layers appeared after a runout would ignore the successful observations already present.

A motion detector can produce a different sequence. It checks whether enough motion has been sensed in relation to commanded feed over its configured detection window. A small retract or a travel with no extrusion does not supply the same test as a long continuous perimeter. If the printer reports a motion fault, note which tool was selected, whether a gear actually advanced the strand and whether the feed path allowed that motion to reach the sensing wheel. Compare the printer’s own documented detection behaviour and record any changes since the last successful job.

Events that end between two tools

A machine with an external feeder, a selector and a sensing point near the nozzle may stop on loading the incoming spool rather than on running out of the outgoing one. Read the last successful transition for each tool. The old filament may have left its upstream sensor but still occupy a shared downstream section. The new filament can be present in its own feeder while never entering the common path. A single “filament present” indicator supplies only its own location. A labelled outline of the split and merge points can save a great deal of unplugging and reconnecting.

For a printer shared across a workshop, keep the ordinary single-tool test result as well as the multi-material one. If a slot starts failing, try a known-good compatible filament in that slot using the supported routine. If the same spool works on another route and the fault stays at the original slot, focus on that route’s guides, sensor state and assignment. If the fault follows a sharply bent or brittle length, correct the material and retest before condemning the sensor. Restore the normal mapping afterward so the next operator does not inherit a temporary troubleshooting arrangement.

Make a pause test disposable

Once both sensor states have been demonstrated, use a short noncritical print and the manufacturer’s supported runout test, if provided, to check the complete response. Stay with the printer. Do not cut filament in a place that can damage the spool path, backing hardware or moving head just to force an event. Test one tool and one sensor at a time. Note the visible message, whether the head parked normally, and what controlled heating or timing behaviour the printer documents during a pause.

A good event test ends after the resume, not at the first pause message. Load a compatible material following the prescribed routine, confirm that extrusion returned before resuming, and inspect the next few layers of the small part. An automatic pause can work perfectly while a poorly shaped new filament tip fails to load, or while an old short tail remains between a buffer and the tool. That is a successful sensor event followed by a loading failure. Record the two separately so a future investigation starts in the right place.

For an automatic backup-spool feature, verify which slot is eligible and how the machine decides the materials are compatible. Two rolls of similar colour may have different polymer types or prescribed temperatures. A printer pause or change that selects an unsuitable replacement is a configuration issue beyond detecting the empty path. Carry out this test with compatible spools and a short job. Save a photo of the slot mapping or the material assignments when that information exists only on the printer at the moment the job is sent.

A concise fault record that survives a firmware update

Keep four facts together: the physical sensing point, the displayed state with and without filament, the action configured for the active tool, and the result of resuming a disposable print. For a motion sensor include the documented detection distance or relevant firmware setting and whether the job actually commanded extrusion during the observation. A stationary strand during a travel move is normal. A bare statement that the filament did not move is meaningful only in relation to a commanded feed.

When changing firmware, a feeder or a toolhead, repeat the state check before relying on the system during a long print. If the new setup changes the sensor’s physical position, the amount of filament left downstream changes too. Mark that on the route drawing. If it changes only the event action, keep the same mechanical baseline and test the pause or automatic spool transition. You then have two independently testable pieces of evidence: the machine recognised a change at a known location, and the job responded appropriately when that change occurred.