Sensors and field devices are the circuit’s senses — the proximity switches, photo sensors, and limit switches that tell the control system about the machine’s state — and understanding them, especially the common three-wire sensor, is essential to troubleshooting the many faults involving them. A sensor that gives no signal, or a wrong one, is a frequent cause of a machine not behaving correctly, and diagnosing it follows a clear pattern once you understand how the sensor works. This chapter covers sensors and field devices from the maintenance perspective.

The three-wire sensor
The most common sensor in modern control circuits is the three-wire sensor, and understanding its three wires is the foundation for diagnosing it. A three-wire sensor (a proximity or photo sensor) has three connections: a supply positive (typically brown, +24V), a supply zero (typically blue, 0V), and a signal output (typically black). The brown and blue provide the sensor’s power — it needs its 24-volt supply to operate — and the black carries the sensor’s output signal, which switches depending on whether the sensor detects its target. So the sensor is powered by two wires (brown and blue) and signals through the third (black). Understanding this three-wire arrangement is the foundation for diagnosis: it tells you the sensor needs its supply (brown-blue) to work at all, and that its output (black) is what carries the signal you care about. Each of the three wires is a thing to check. So understanding the three-wire sensor — two supply wires and one signal wire — is the basis for a clear diagnostic approach. Understanding the three-wire sensor — the brown (+24V) and blue (0V) supply wires and the black signal output — is the foundation for diagnosing it, so that you understand the sensor is powered by the brown and blue and signals through the black, which tells you it needs its supply to work at all and that its output is on the signal wire, giving you the three-wire structure that underlies the clear diagnostic approach of checking each wire in turn, the basis for troubleshooting the sensors that so often cause control faults.
PNP and the switched signal
To interpret a sensor’s signal, you need to understand PNP switching — the common way a sensor’s output behaves — because it tells you what to expect when you measure the signal wire. A PNP (sourcing) sensor, the common type in European panels, switches its signal output to +24V when triggered: at rest (no target detected), the signal wire is at 0 volts (or floating low); when the sensor detects its target, it switches the signal wire to +24V. So measuring the signal wire (black) with respect to 0V tells you the sensor’s state: about 24 volts means the sensor is triggered (detecting its target), about 0 volts means it is not. This is how you read a PNP sensor’s output: the switching of the signal between 0 and 24 volts is the signal, and it corresponds to the sensor detecting or not detecting its target. Understanding PNP switching — the signal going to +24V when triggered — tells you what to expect and how to interpret the signal wire measurement. So understanding PNP and the switched signal lets you interpret what the sensor’s output is telling you. Understanding PNP switching and the switched signal — the PNP sensor switching its signal to +24V when triggered, so the signal wire reads about 24 volts when detecting and about 0 volts when not — tells you what to expect when you measure the signal wire, so that you can interpret a sensor’s output by measuring the black wire to 0V and reading its state (24 volts triggered, 0 volts not), which lets you confirm whether the sensor is switching correctly as its target comes and goes, the key to diagnosing whether the sensor’s output is working.
The three-measurement sensor check
Bringing the sensor understanding together, the three-measurement check is a clear, practical method for diagnosing a sensor, and understanding it gives you a reliable routine. When a sensor is suspected, three measurements diagnose it in order. First, check the supply: measure brown-to-blue — is the sensor getting its 24-volt supply? If not, the sensor cannot work, and the fault is the supply to the sensor (trace it). Second, check the sensing: watch the sensor’s own indicator LED (most sensors have one) as you present and remove its target — does the LED respond, showing the sensor detects the target? This confirms the sensor’s sensing element works. Third, check the output: measure black-to-0V as the target comes and goes — does the signal switch (0V to 24V) correctly? This confirms the output. So the three measurements — supply (brown-blue), sensing (the LED), and output (black-0V) — diagnose the sensor step by step: no supply, and it cannot work; supply but no LED response, and the sensing has failed; LED responds but no output switching, and the output has failed. Understanding the three-measurement check gives you a reliable routine for diagnosing any sensor. Understanding the three-measurement sensor check — supply (brown-blue), sensing (the LED response to the target), and output (black-0V switching) — gives you a reliable routine for diagnosing a sensor, so that you work through the three measurements in order to localize the fault: no supply means the sensor is starved (trace its supply), supply but no LED response means the sensing element has failed, and LED response but no output switching means the output has failed, which turns sensor diagnosis from guesswork into a clear three-step check that pinpoints where a sensor fault lies among its supply, its sensing, and its output.
NPN sensors and the difference from PNP
A useful detail is the NPN sensor and how it differs from PNP, because you may meet either and confusing them causes diagnostic errors. Where a PNP (sourcing) sensor switches its signal output to +24V when triggered, an NPN (sinking) sensor does the opposite: it switches its signal output to 0V when triggered. So the signal behavior is reversed: measuring the signal wire of an NPN sensor to +24V (or watching it against 0V), a triggered NPN sensor pulls the signal toward 0V, while an untriggered one leaves it high. This matters for diagnosis: if you expect PNP behavior (signal going to 24V when triggered) but the sensor is NPN (signal going to 0V when triggered), you will misread it. So you must know which type a sensor is to interpret its signal correctly. PNP is common in European panels, but NPN exists, and the input it connects to must match the sensor type. Understanding NPN versus PNP — sinking to 0V versus sourcing to +24V — lets you interpret either sensor correctly. Understanding NPN sensors and their difference from PNP — the NPN sensor switching its signal to 0V when triggered, opposite to the PNP switching to +24V — lets you interpret either type correctly and avoid diagnostic errors, so that you determine which type a sensor is before reading its signal (a triggered NPN pulling the signal toward 0V, a triggered PNP toward 24V), which prevents the misreading that comes from expecting the wrong behavior and ensures you correctly diagnose a sensor’s output whether it is the common PNP or the less-common NPN, matching your interpretation to the sensor’s actual switching type.
Scenario: the three-measurement check in action
A scenario shows the three-measurement sensor check pinpointing a sensor fault. A machine step depended on a proximity sensor that seemed not to be working, and the technician ran the three-measurement check in order. First, supply: he measured brown-to-blue and found a solid 24 volts — the sensor was getting its supply, so that was fine. Second, sensing: he watched the sensor’s LED as he presented its target, and the LED did not respond — the sensor was not detecting the target. That localized the fault to the sensor’s sensing element (or its alignment/gap). On inspection, the sensor had drifted out of range of its target (a loosened mount). He restored the correct gap, the LED now responded, and the third measurement (black-to-0V) confirmed the output now switched correctly. The three-measurement check had pinpointed that the supply was fine but the sensing was failing, leading to the misalignment. This scenario shows the three-measurement check pinpointing a sensing/alignment fault. Understanding the three-measurement check let the technician confirm the supply, find the sensing not responding, and trace it to misalignment. It reinforces that the three-measurement check (supply, sensing/LED, output) localizes a sensor fault step by step. The scenario reinforces the three-measurement sensor check: the technician pinpointed a sensor fault by confirming the supply (brown-blue good), finding the sensing failing (LED not responding), and tracing it to a misaligned sensor, illustrating how the ordered three-measurement check — supply, sensing, output — localizes exactly where a sensor fault lies, here isolating it to the sensing/alignment rather than the supply or output.
Light, proximity, and mechanical sensing
A useful breadth of understanding is the different sensing types — photoelectric, inductive proximity, and mechanical — because knowing how each senses helps you diagnose why one is not detecting. A photoelectric (light) sensor detects by a light beam (reflected or broken), so it can fail to sense from a dirty lens, misalignment, or a target that does not reflect well. An inductive proximity sensor detects metal at close range by an electromagnetic field, so it can fail from too great a gap, a non-metallic or wrong-metal target, or interference. A mechanical limit switch detects by physical contact (an actuator pressed), so it can fail from a worn or bent actuator, a misadjusted position, or a stuck mechanism. Understanding these differences helps diagnose a sensor not detecting: for a photo sensor, check the lens and alignment; for a proximity sensor, check the gap and target; for a limit switch, check the mechanical actuation. So understanding the sensing types helps you diagnose why a particular sensor fails to detect. Understanding the different sensing types — photoelectric by a light beam, inductive proximity by an electromagnetic field, mechanical by physical contact — helps you diagnose why a sensor is not detecting, so that you check the relevant things for each type (lens and alignment for a photo sensor, gap and target for a proximity sensor, mechanical actuation for a limit switch), which lets you address the sensing failure specifically rather than generically, understanding how each sensor type senses and therefore how each can fail to detect its target, a useful breadth for troubleshooting the variety of sensors in a real machine.
The three checks as your routine
To close, it is worth crystallizing the routine for sensors: the three checks of supply, sensing, and output, because this routine reliably localizes any sensor fault. Faced with a suspected sensor, the routine is: check the supply (brown-blue), watch the sensing (the LED responding to the target), and check the output (black-0V switching). Working through these three in order localizes the fault to the supply, the sensing, or the output, every time. Making this your routine — supply, sensing, output — turns sensor troubleshooting from guesswork into a reliable three-step localization that pinpoints where the sensor fault lies. So the three-checks routine is how you reliably diagnose any sensor. Understanding the three checks as your routine — supply, sensing, output — reliably localizes any sensor fault. Understanding the three checks as your routine — always working through supply (brown-blue), sensing (the LED), and output (black-0V) in order — reliably localizes any sensor fault, so that you approach every suspected sensor with the three-step routine that pinpoints whether the fault is the supply, the sensing, or the output, which turns sensor troubleshooting from guesswork into a dependable localization and is the practical routine that flows from understanding the three-wire sensor and its supply, sensing, and switched output.
