AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Why an inductive proximity switch cannot sense motion itself

Sensors, encoders and machine vision on the machine Published 8 min read By AutomateDirectUSA engineering team

Short answer

An inductive proximity switch cannot sense motion: its output reports only whether a metal target is inside the sensing field. To detect a stopped or very slow mechanism, convert the switch's on/off transitions into events, measure the time between identical edges, and trip a slow-or-stopped fault when that interval exceeds a timeout set from the process. Verify first that the target switches the output decisively at both ends of travel.

On this page
  1. What an inductive switch reports, and what it does not
  2. Turn "stopped" into a time limit
  3. Example: timeout for a bolt head that passes once per cycle
  4. Symptoms and the confirming check for each
  5. The checking order, cheapest first
  6. The decision, case by case
  7. Questions asked

An inductive proximity switch will not sense motion for you: the output reports only whether metal is inside the sensing field at that instant, never how fast a target moves or whether it has stopped. You can still detect a stopped or very slow mechanism with one — time the output edges instead of reading position. Each pass of the target past the face produces one clean on/off transition pair; the controller measures the interval between identical edges and trips a slow-or-stopped fault when no edge arrives inside a timeout derived from the process. Before any timing logic, the switch has to operate and release decisively at both ends of the target's travel, and that verification is where most of these installations actually fail.

What an inductive switch reports, and what it does not #

The sensing face carries a coil driven by an oscillator that radiates a small electromagnetic field. A metal target entering that field dissipates energy through eddy currents, the oscillation collapses, and the output changes state. That is the entire measurement: metal present or absent, at short range. Manufacturer catalog literature puts typical inductive sensing of metal targets out to about 1.5 inches nominal, and everything else about the application bends around what that figure does and does not mean.

Two datasheet terms govern the rest. The nominal distance is measured against a standard steel target, so a bolt head's effective operating distance will be shorter — take the target-size and material correction data for the exact part from its datasheet. Hysteresis, which datasheets call differential travel, is the distance between the operating point and the release point; it keeps the output from chattering at one gap, but it makes the approach and the retreat two separate events at two different distances.

What the output never carries: velocity, direction of travel, or how long a target has been parked. A target stopped inside the field and a target stopped outside it produce the same logic picture — no new edges. Everything below builds on that fact.

Turn "stopped" into a time limit #

Specify stopped in numbers before touching hardware. Zero speed cannot be sensed directly: differentiating a position signal to find a zero crossing amplifies noise, and exact zero is not a practical switching criterion. The workable definition for repetitive motion is a timeout. Define the slowest rate the process still accepts, convert it to the longest acceptable interval between identical target events, multiply by a margin, and trip the fault when a valid edge fails to arrive inside that limit.

Choose one edge type and keep it. Rising edge to rising edge represents one complete cycle when the target passes the face once per cycle, and that is the robust measure. Pulse width — the time the output spends on per pass — changes with gap, lateral path and hysteresis, so it makes a weaker speed signal.

State the single-switch limits plainly: one switch cannot tell direction, cannot distinguish a target parked inside the field from one held there by background metal, and cannot see a target parked beyond the field. The timeout handles all three the same way, because none of them produces a new edge.

Example: timeout for a bolt head that passes once per cycle #

Inputs, and where each comes from:

  • Target and travel: a bolt head that comes as close as 1/8 inch and no farther than 1/4 inch at the near end, retreating to about 1 inch — the mechanical travel this example works from.
  • Event definition: one pass per machine cycle, so exactly one rising edge per cycle. Verify that on the real machine before trusting any timer.
  • Process limit: the slowest rate the process still accepts, taken here as one pass every 5 seconds. Your own number comes from the process requirement, not from the sensor.
  • Margin: 2 times the longest accepted interval, a rule of thumb that leaves room for normal speed jitter.

Geometry comes first. The rule: the switch must turn on decisively at the worst near gap and turn off decisively at the far gap, with the hysteresis band fitting between the two positions. The arithmetic: the worst near gap is 1/4 inch and the far gap is 1 inch, so the whole operate-to-release band must fit inside 1 - 0.25 = 0.75 inches of travel. A nominal range of up to about 1.5 inches against a standard target says nothing about this bolt head; the effective distance for this target comes from the part's correction data. The decision: if the effective operating distance for this bolt cannot sit inside that 0.75-inch window, fix the sensor selection or the target presentation first — no timer setting recovers an output that never toggles.

Then the timeout. The rule: timeout equals margin times the longest accepted interval. The arithmetic: the longest accepted interval is 5 seconds per pass, so the timeout is 2 × 5 s = 10 s, and the pass rate at the trip point is 60 s per minute ÷ 10 s = 6 passes per minute. The decision: set a timer that every valid rising edge resets to 10 s; a 10-second gap between edges means the mechanism is running below 6 passes per minute or has stopped, so the slow-or-stopped fault trips. This is a calculated example for these inputs, not a measured result.

Symptoms and the confirming check for each #

Log the trend before tuning anything: record the raw input state, the edge timestamps and the timer value through normal, slow and stopped runs, then compare against what the mechanism actually did. The table separates what each layer shows, the likely causes ordered from the cheapest check to the most expensive, and the check that confirms each one.

What you observe Likely causes, cheapest first Confirming check
Output never turns on as the target nears Gap beyond the effective distance for this target; target material or head size smaller than assumed; wiring or input-type mismatch; failed switch Gauge the real gap; read the part's target correction data; trigger the input with a loose steel piece; substitute a known-good switch
Output never turns off at the far position Target still inside the field at the far gap; background metal — bracket, shaft, an adjacent fastener — holding the field damped; switch mounted in surrounding metal it is not rated for Compare the far gap with the release point; temporarily shield the suspect background metal; verify the mounting style matches a flush or non-flush installation
Extra edges, chatter Target parked or transiting at the switching boundary; mechanical vibration; electrical noise on the cable Timestamp edges against known position; move the parked point out of the transition band; add controller debounce and check cable routing
Edges missing at speed Target not crossing both thresholds on every pass because of runout or path shift; input filter or scan time longer than the pulse width Slow the machine and confirm both transitions on every pass; compare the shortest pulse width against the input's response time
Nuisance slow-or-stopped trips Timeout shorter than the slowest accepted cycle; valid edges lost upstream Time the slowest accepted cycle and re-derive the timeout; count edges against a known number of passes
Fault never trips on a deliberate stop Spurious edges resetting the timer; timeout set far too long Stop the machine on purpose and watch the edge log for false edges; verify the timer preset

A motion fault produced from a clean input at the wrong threshold is a logic-setting problem. An unstable raw input is a sensing-chain problem, and adjusting the timer only hides it.

The checking order, cheapest first #

  1. Log the raw input and edge timestamps through normal, slow and stopped runs — this separates a sensing problem from a timing problem before any setting changes.
  2. Gauge both mechanical extremes and compare them with the operating point and the release point: decisive on at the near gap, decisive off at the far gap.
  3. Check the target and the background: head material and size — a small stainless socket head couples into the field far less than a larger steel hex head — plus adjacent fasteners, brackets and shafting inside the field, and whether the mounting style matches the installation.
  4. Check the electrical path: input type matched to the output, response time fast enough for the shortest pulse, cable routed away from noise sources.
  5. Only now set the timeout from the slowest cycle the process accepts — never tune a timer to hide an unstable input.

The decision, case by case #

  • Repetitive motion with one target pass per cycle: verify decisive switching at both mechanical ends, then run the edge-interval timeout from the worked example above. That is the entire design.
  • You need a live speed reading, not a stopped flag: use a sensor delivering many pulses per revolution and measure the rate — the method is the same one used when measuring RPM with a proximity switch on a pulley, and the mechanical side of reliable pulse generation follows where to mount a proximity switch for induction motor speed feedback.
  • Your logic needs one mark per revolution for position-registered events: that is a registration or homing problem, and homing an incremental encoder axis without a proximity switch applies the same one-edge-per-revolution discipline.
  • The stopped signal protects a person, not just a process: a standard proximity switch with controller logic is not a safety function; safety-related stop monitoring requires safety-rated components and circuits engineered to the required performance level under the machine's risk assessment and the applicable machine-safety standard, such as ISO 13849.

Questions asked

Can one inductive switch tell which direction the target is moving?

No. A single switch delivers one bit: metal present or absent. Direction needs two switches spaced along the path at known points so the controller sees which one switches first, or a quadrature pair. With one switch, direction is unknowable no matter how the logic is written.

How tight can the timeout margin be for a mechanism that creeps before it stops?

Take the margin from how fast you must catch the creep and how steady the normal speed is. A tight margin catches creep sooner but trips on ordinary speed jitter; a loose margin runs quietly but reports a stop late. Record the edge intervals across several normal cycles and set the trip point just above the worst of them.

Can the output chatter while the target sits parked near the switching point?

Yes. If the parked position lands inside the band between the operating point and the release point, vibration or electrical noise can toggle the output and repeatedly reset the stopped timer. Keep the parked position clearly on one side of that band, and debounce the input so a single spurious edge cannot restart the timeout.

What hardware gives a real speed reading instead of a stopped flag?

Use a sensor that produces many edges per revolution or per inch of travel, such as a gear-tooth pickup or an incremental encoder, read by an input that timestamps individual pulses. Many edges show speed falling long before a single-edge-per-cycle timeout would, and they give direction too when the pulses are arranged in quadrature.

Keep reading

  • Selection guide

    Where to Mount a Proximity Switch for Induction Motor Speed Feedback

    Mount the inductive proximity switch on the motor's own shaft, rear stub if there is one, otherwise the drive-end stretch, sensing a single metal flag whenever the number you need is motor RPM. One flag keeps the pulse rate near 29 Hz at 1750 RPM, far inside a 200 Hz sensor. Use the VFD's estimate when the drive already runs the motor and an estimate suffices; use an encoder when speed is critical to control.

    Sensors, encoders and machine vision on the machine

  • How-to

    Measuring RPM With a Proximity Switch on a Pulley

    One bolt pass per revolution at 6,000 RPM is a 100 Hz signal any standard inductive proximity switch can produce and a scanned PLC input cannot reliably count, so route it to a high-speed input and verify the ON pulse clears the input's documented minimum — 100 µs on the DL05's X0–X2 inputs — with a scope at full speed.

    Sensors, encoders and machine vision on the machine

  • How-to

    Replacing a mechanical limit switch with a proximity sensor

    Yes — an inductive proximity sensor on a 24 V DC supply, switching a mechanical interface relay whose contact reproduces the original circuit logic, replaces a worn mechanical limit switch. Verify first whether the normally closed contact is truly closed at rest or held open by the cam. Keep two-wire sensors away from solid-state relays: their off-state leakage can hold the relay on.

    Sensors, encoders and machine vision on the machine