Control Basics

Proximity Sensor Basics: Non-Contact Metal Detection and PLC Inputs

A proximity sensor detects an object without physical contact. In factory control, it is often used to detect metal parts, machine positions, and workpiece presence before sending a signal to a PLC input.

  • Understand what proximity sensors detect and where they are commonly used.
  • Learn the difference between proximity sensors and limit switches.
  • Check mounting distance, target material, wiring, and PLC input status in order.

Good for

  • Beginners learning sensors used in electrical control.
  • People who want to understand non-contact metal detection.
  • Field workers checking why a PLC input does not turn on.

Not the first topic if

  • You have not learned basic PLC inputs yet.
  • You are looking for a brand-specific setting manual.
  • You only need to replace the exact same sensor model without checking the circuit.

Main conclusion

  • A proximity sensor is useful for non-contact detection, especially for metal targets.
  • Stable detection depends on target material, distance, mounting, wiring, and input type.
  • Check the sensor LED first, then compare it with the PLC input monitor.

Quick navigation

What is a proximity sensor?

A proximity sensor detects a target without touching it and sends an ON/OFF signal to a control circuit or PLC input.

In many machines, a proximity sensor is used to detect a metal target such as a dog plate, bracket, machine part, or workpiece. Unlike a mechanical switch, it does not need the object to physically press an actuator.

This makes it useful for repeated machine movement because there is less mechanical wear. However, the detection distance is short, and stable detection depends on the sensor type, target material, mounting position, and wiring.

Field idea: first separate the problem into “the sensor detects the target” and “the PLC receives the signal.” These are related, but they are not the same check.
Overview of a proximity sensor detecting a metal target without physical contact
A proximity sensor detects a nearby target without contact and changes its output signal.
Senior technician
Senior

A proximity sensor is simple to use, but it is not magic. The target material, distance, and mounting condition all affect detection.

Field check guide
Field note

So before replacing the sensor, I should check the LED, target distance, wiring, and PLC input monitor in order.

What does a proximity sensor detect?

Many common proximity sensors used in factory control are inductive sensors, which are mainly used for metal targets.

A beginner mistake is to think that every non-contact sensor detects every kind of material. In practice, an inductive proximity sensor is usually chosen for metal detection, and the stable distance depends on the sensor size, target size, material, and mounting method.

Iron, stainless steel, and aluminum may not behave exactly the same. If the target is small, thin, angled, or far from the sensor face, the detection margin can become unstable.

Item Practical point
Target material Many inductive proximity sensors are mainly used for metal targets.
Detection distance The distance is usually short and affected by sensor size and target material.
Mounting Flush and non-flush sensor types have different mounting requirements.
Output The sensor output is read by a PLC input as an ON/OFF signal.

Check the actual model

Detection distance and suitable target conditions vary by manufacturer and model. Use this article as a basic idea, and check the official manual for the actual sensor being used.

Proximity sensor vs limit switch

A limit switch detects by contact. A proximity sensor detects without contact.

A limit switch is mechanically easy to understand because the object physically presses the switch. A proximity sensor has less mechanical wear because there is no contact, but it needs the correct sensing distance and target condition.

Comparison between a proximity sensor and a limit switch
A proximity sensor reduces mechanical contact, while a limit switch makes the detection point easier to see mechanically.
Item Proximity sensor Limit switch
Detection method Detects without physical contact. Detects when an object presses the actuator.
Wear Less mechanical wear at the detection point. Mechanical parts can wear or bend over time.
Adjustment Requires distance and target condition checks. Requires mechanical position and actuator checks.
Typical use Machine position, metal dog plates, workpiece presence. End position detection, door position, mechanical contact points.

Signal flow from proximity sensor to PLC input

The PLC does not directly “see” the target. It reads the electrical output from the sensor.

The basic flow is simple: the target approaches the sensor, the sensor output changes, the PLC input turns ON or OFF, and the PLC program uses that input condition.

1. Target approaches

A metal target moves into the sensor detection range.

2. Sensor output changes

The sensor changes its output according to the detected state.

3. PLC input changes

The PLC input module reads the sensor output as an input signal.

Signal flow from proximity sensor detection to PLC input
If the sensor LED changes but the PLC input does not, focus on wiring, NPN/PNP type, common wiring, or the input module.

Important separation

Sensor LED changing means the sensor side may be detecting. PLC input changing means the electrical signal is reaching the PLC correctly. Always compare both.

Field checks before replacing the sensor

Do not replace the sensor immediately. First check whether the detection condition and the electrical signal are both correct.

1. Indicator LED

Move the target slowly and confirm whether the sensor LED changes at the expected position.

2. Detection distance

Check whether the target is inside the stable detection range, not just at the edge.

3. Target material

Confirm that the target material and size are suitable for the sensor type.

4. Mounting position

Look for loose brackets, vibration, angle changes, or surrounding metal near the sensor.

5. Cable and connector

Check for broken wires, loose connectors, oil damage, or intermittent cable movement.

6. PLC input monitor

Compare the sensor LED with the PLC input monitor to separate sensor detection from wiring issues.

Practical field checks for proximity sensors including LED, distance, target material, mounting, cable, and PLC input
Start with the visible sensor LED, then check wiring and PLC input status. This order prevents unnecessary replacement.

Good field habit

Take a photo of the sensor position before adjustment. If the bracket or sensor distance is changed without record, the original condition becomes harder to reproduce.

Common trouble patterns

Write down whether the sensor never turns ON, stays ON, changes but does not reach the PLC, or works only sometimes.

Symptom Likely area First check
Sensor does not turn ON Distance, target material, power supply, sensor type. Move the target slowly and watch the sensor LED.
Sensor stays ON Wrong position, surrounding metal, wiring issue. Remove the target and check whether the LED changes.
LED changes but PLC input does not Wiring, NPN/PNP mismatch, input common, broken cable. Check voltage at the PLC input terminal and compare with the input monitor.
Unstable detection Vibration, marginal distance, loose bracket, metal chips. Clean the area and secure the mounting position.

Do not change too many things at once

If you change distance, bracket angle, sensor type, and wiring at the same time, it becomes difficult to know what solved the problem. Change and confirm one point at a time.

Summary

Proximity sensors are common in electrical control because they detect without physical contact. They are especially useful for machine position and metal target detection.

The key is to separate physical detection from electrical signal checking. Start from the sensor LED, then compare it with the PLC input monitor. If the LED changes but the PLC input does not, look at wiring, NPN/PNP type, input common, cable condition, and the input module.

Final takeaway

A proximity sensor is easy to understand when you think in two steps: “Can the sensor detect the target?” and “Does that signal reach the PLC?”

Read these next to connect proximity sensors with PLC inputs and sensor output wiring.