How to Check an Inductive Sensor with and without a Multimeter
The machine has stopped and the controller shows "no signal from position sensor". The first instinct is to replace the sensor straight away. However, the fault is often not the sensor but the cable, the connector, the distance to the metal, or the power supply. An inductive sensor can be checked in 5–10 minutes – sometimes even without any tool. This article shows how to do it neatly and safely.
Before you start: safety and sensor type
- Safety. The sensor signal controls the machine's movements. When testing the sensor by hand or with a metal object, you may start a drive unexpectedly. Switch the machine to a safe (service) mode or disconnect the drives.
- Type. Note the code from the housing or cable. The data sheet will tell you: PNP or NPN, NO or NC, how many wires (2, 3 or 4), the supply voltage (usually 10–30 V DC) and whether it is a NAMUR sensor. This determines how you measure.
Wire colours and M12 connector pins
The wires of DC 3-wire and 4-wire sensors are marked the same way under EN 60947-5-2, regardless of manufacturer:
| Wire colour | M12 pin | Purpose |
|---|---|---|
| Brown (BN) | 1 | Supply + |
| White (WH) | 2 | Second output (e.g. NC) or IO-Link / diagnostics – see data sheet |
| Blue (BU) | 3 | Supply – (0 V) |
| Black (BK) | 4 | Output (signal) |
Checking without a multimeter
- LED indicator. Most inductive sensors have an indicator showing the output state. Hold a steel object (e.g. the tip of a screwdriver) close to the sensor face. If the indicator does not light up, the sensor is not receiving power or is faulty. Some models have two indicators (power and output) – which one shows what is stated in the data sheet.
- Controller (PLC) input indicator. If the sensor indicator lights up but the PLC input LED does not, the problem lies between the sensor and the controller: the cable, connector or terminals.
- Bench test. On the bench you can test the sensor with a 24 V DC power supply and a 24 V relay or signal lamp as the load. The load current must not exceed the sensor output current rating given in the data sheet.
Testing with a multimeter
Set the multimeter to measure DC voltage (V DC).
- Power supply: measure between the brown (+) and blue (0 V) wires. The voltage should be within the sensor's range, e.g. 10–30 V DC. If it reads 0 V, look for a fault in the supply circuit (fuse, power supply, broken wire).
- PNP output: measure between the black and blue wires. NO sensor: when metal is in front – voltage close to the supply voltage (a few volts lower due to output voltage drop); when no metal – about 0 V.
- NPN output: measure between the brown and black wires. When metal is in front – voltage close to the supply voltage; when no metal – about 0 V.
- NC sensors work the other way round – the signal is present when there is no metal.
Measure while the sensor is connected to the load (PLC input or relay). Without a load, readings from an output that is switched off can be misleading, because the multimeter's input impedance is very high.
| What you see | Likely cause |
|---|---|
| No supply voltage | Cable, connector, fuse, power supply |
| Power is present, indicator does not respond to metal | Faulty sensor |
| Indicator is on all the time | Too close to metal structure, swarf on the face, incorrect mounting or faulty sensor |
| Sensor works, PLC receives no signal | Cable, M12 connector, terminals, mixed-up PNP and NPN |
| Signal drops out and comes back | Operating distance is marginal, vibration, damaged cable, moisture in the connector |
2-wire and NAMUR sensors
- Never connect a 2-wire sensor directly to the supply without a load – it will be damaged. Such a sensor is always connected in series with the load (relay coil or PLC input), so that is the only way it should be tested.
- NAMUR sensor (e.g. Carlo Gavazzi IA12ESN04UC) has no conventional switching output. It changes the current and works with a NAMUR amplifier (nominal voltage 8.2 V). According to EN 60947-5-6, when metal approaches the current drops to no more than 1.2 mA, and when it moves away it rises to no less than 2.1 mA. For this type of sensor, the current is measured, not the voltage.
If the sensor works but the machine still stops
- Distance. The guaranteed operating distance is no more than 81% of the rated distance (Sn), and for non-ferrous objects (stainless steel, aluminium, brass) it is even less. For more, see the article on selecting inductive sensors.
- Mounting. A non-flush sensor, screwed into metal up to its face, will have its field "see" the mounting bracket itself.
- Adjacent sensors placed too close together can interfere with each other.
- Cable and connector. Check the wire continuity with a multimeter, and inspect the M12 connector pins for moisture and corrosion.
If the sensor needs replacing
Choose a replacement by housing size (M8, M12, M18, M30), operating distance, mounting (flush / non-flush), output (PNP/NPN, NO/NC), supply voltage and connection (cable or M12 connector). For more, see how to replace a discontinued sensor. Examples: Turck BI4-M12-AP6X-H1141, Turck BI8-M18-AP6X-H1141, Telemecanique XS618B1PAM12. If the cable is damaged, replace it, e.g. M12 cable with connector (5 m, PUR).
How to find them on inteq.lt
- You will find inductive, capacitive and optical sensors in the sensors category, and multimeters in the measuring instruments category (e.g. Fluke 117 ar UNI-T UT89X).
- Have an old sensor with a code? Use search by manufacturer's code or upload a 📷 photo and we will find an equivalent.
- Code unreadable or unsure of the type? Describe your situation via užklausos formą.
